@flowselections/logistiek-engine 1.0.94 → 1.0.98

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 (45) hide show
  1. package/dist-lib/components/MisluktVerzendbrievenCard.d.ts +2 -0
  2. package/dist-lib/components/MisluktVerzendbrievenCard.d.ts.map +1 -0
  3. package/dist-lib/components/MisluktVerzendbrievenCard.js +50 -0
  4. package/dist-lib/components/RegiePage.d.ts.map +1 -1
  5. package/dist-lib/components/RegiePage.js +2 -1
  6. package/dist-lib/components/RuleEnginePage.d.ts.map +1 -1
  7. package/dist-lib/components/RuleEnginePage.js +3 -1
  8. package/dist-lib/integrations/supabase/auth-middleware.d.ts +59 -0
  9. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  10. package/dist-lib/integrations/supabase/client.server.d.ts +59 -0
  11. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  12. package/dist-lib/integrations/supabase/moduleClient.d.ts +59 -0
  13. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  14. package/dist-lib/integrations/supabase/types.d.ts +59 -0
  15. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  16. package/dist-lib/lib/cartCoverage.functions.d.ts +59 -0
  17. package/dist-lib/lib/cartCoverage.functions.d.ts.map +1 -1
  18. package/dist-lib/lib/controlScan.server.d.ts +2 -0
  19. package/dist-lib/lib/controlScan.server.d.ts.map +1 -1
  20. package/dist-lib/lib/controlScan.server.js +59 -53
  21. package/dist-lib/lib/floridayDocuments.functions.d.ts +177 -0
  22. package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
  23. package/dist-lib/lib/floridayPush.functions.d.ts +59 -0
  24. package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/layoutPrint.server.d.ts +27 -0
  26. package/dist-lib/lib/layoutPrint.server.d.ts.map +1 -0
  27. package/dist-lib/lib/layoutPrint.server.js +48 -0
  28. package/dist-lib/lib/layoutPrint.test.d.ts +2 -0
  29. package/dist-lib/lib/layoutPrint.test.d.ts.map +1 -0
  30. package/dist-lib/lib/layoutPrint.test.js +47 -0
  31. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +295 -0
  32. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
  34. package/dist-lib/lib/loadCarrierPlanning.server.js +52 -8
  35. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +118 -0
  36. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/logisticsRecalculate.functions.d.ts +59 -0
  38. package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
  39. package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
  40. package/dist-lib/lib/modulePrompts.js +54 -0
  41. package/dist-lib/lib/plannerDiff.functions.d.ts +59 -0
  42. package/dist-lib/lib/plannerDiff.functions.d.ts.map +1 -1
  43. package/dist-lib/lib/shippingNoteQueue.server.d.ts.map +1 -1
  44. package/dist-lib/lib/shippingNoteQueue.server.js +40 -49
  45. package/package.json +1 -1
@@ -6,6 +6,8 @@ export interface ControlScanRun {
6
6
  failed: number;
7
7
  errors: string[];
8
8
  }
9
+ /** Maximaal aantal wachtrondes op Floriday voordat de controle als mislukt stopt. */
10
+ export declare const CONTROL_SCAN_MAX_ATTEMPTS = 60;
9
11
  export declare function runControlScanQueue(sb: SupabaseClient, options?: {
10
12
  limit?: number;
11
13
  }): Promise<ControlScanRun>;
@@ -1 +1 @@
1
- {"version":3,"file":"controlScan.server.d.ts","sourceRoot":"","sources":["../../src/lib/controlScan.server.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAmCD,wBAAsB,mBAAmB,CACvC,EAAE,EAAE,cAAc,EAClB,OAAO,GAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAO,GAC/B,OAAO,CAAC,cAAc,CAAC,CAoLzB"}
1
+ {"version":3,"file":"controlScan.server.d.ts","sourceRoot":"","sources":["../../src/lib/controlScan.server.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAG5D,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAcD,qFAAqF;AACrF,eAAO,MAAM,yBAAyB,KAAK,CAAC;AAwC5C,wBAAsB,mBAAmB,CACvC,EAAE,EAAE,cAAc,EAClB,OAAO,GAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAO,GAC/B,OAAO,CAAC,cAAc,CAAC,CAmKzB"}
@@ -14,6 +14,9 @@
14
14
  // en dubbele scans worden al in de database geblokkeerd. Geen omgevings- of
15
15
  // klantwaarden in deze code; de printer komt uit de werkwijze in de database.
16
16
  // ============================================================================
17
+ import { printViaLayout } from "./layoutPrint.server.js";
18
+ /** Maximaal aantal wachtrondes op Floriday voordat de controle als mislukt stopt. */
19
+ export const CONTROL_SCAN_MAX_ATTEMPTS = 60;
17
20
  function pickPdf(result) {
18
21
  const base64 = result["pdfBase64"] ??
19
22
  result["base64"] ??
@@ -25,12 +28,28 @@ function pickPdf(result) {
25
28
  null;
26
29
  return { base64: base64 ?? null, url: url ?? null };
27
30
  }
28
- /** Zet de wachtende controle terug in de wachtrij zonder pogingen op te tellen. */
29
- async function keepWaiting(sb, id) {
31
+ /**
32
+ * Laat de controle wachten op Floriday. Pogingen blijven meetellen; na het
33
+ * maximum eindigt de controle als mislukt in plaats van eeuwig te wachten.
34
+ * Geeft true terug als de controle nu terminaal is afgesloten.
35
+ */
36
+ async function keepWaiting(sb, row) {
37
+ const attempts = Number(row.attempts ?? 0);
38
+ if (attempts >= CONTROL_SCAN_MAX_ATTEMPTS) {
39
+ await sb.rpc("logistics_control_scan_finish", {
40
+ _id: row.id,
41
+ _ok: false,
42
+ _status: "mislukt",
43
+ _error_code: "wachtlimiet",
44
+ _error: `Na ${attempts} pogingen kende Floriday deze order nog steeds niet; de controle is gestopt. Controleer de order in Floriday en scan opnieuw.`,
45
+ });
46
+ return true;
47
+ }
30
48
  await sb
31
49
  .from("logistics_control_scan")
32
- .update({ locked_until: null, attempts: 0, updated_at: new Date().toISOString() })
33
- .eq("id", id);
50
+ .update({ locked_until: null, updated_at: new Date().toISOString() })
51
+ .eq("id", row.id);
52
+ return false;
34
53
  }
35
54
  export async function runControlScanQueue(sb, options = {}) {
36
55
  const run = { claimed: 0, printed: 0, waiting: 0, failed: 0, errors: [] };
@@ -88,8 +107,10 @@ export async function runControlScanQueue(sb, options = {}) {
88
107
  continue;
89
108
  }
90
109
  if (!fulfillmentOrderId) {
91
- await keepWaiting(sb, row.id);
92
- run.waiting++;
110
+ if (await keepWaiting(sb, row))
111
+ run.failed++;
112
+ else
113
+ run.waiting++;
93
114
  continue;
94
115
  }
95
116
  const doc = (await getFlorydayDocument(sb, {
@@ -122,54 +143,39 @@ export async function runControlScanQueue(sb, options = {}) {
122
143
  run.failed++;
123
144
  continue;
124
145
  }
125
- // Idempotent: per controle hooguit een printjob.
126
- const idempotentie = `controle-scan:${row.id}`;
127
- const { data: bestaand } = await sb
128
- .from("print_jobs")
129
- .select("id")
130
- .eq("idempotentie_sleutel", idempotentie)
131
- .maybeSingle();
132
- let jobId = bestaand?.["id"] ?? null;
133
- if (!jobId) {
134
- const { data: job, error: jobError } = await sb
135
- .from("print_jobs")
136
- .insert({
137
- printer_id: row.printer_id,
138
- documenttype: "afleverbrief",
139
- documentnaam: `Afleverbrief ${row.order_number}`,
140
- status: "wachtend",
141
- idempotentie_sleutel: idempotentie,
142
- pdf_base64: base64,
143
- pdf_url: url,
144
- herkomst: "logistiek-engine",
145
- gebruiker_naam: "Controle scan",
146
- payload: {
147
- source: "controle_scan",
148
- is_floriday: true,
149
- order_id: row.order_id,
150
- order_number: row.order_number,
151
- cart_id: row.cart_id,
152
- fulfillment_order_id: fulfillmentOrderId,
153
- printer_id: row.printer_id,
154
- control_scan_id: row.id,
155
- },
156
- })
157
- .select("id")
158
- .maybeSingle();
159
- if (jobError) {
160
- await sb.rpc("logistics_control_scan_finish", {
161
- _id: row.id,
162
- _ok: false,
163
- _status: "mislukt",
164
- _fulfillment_order_id: fulfillmentOrderId,
165
- _error_code: "printjob",
166
- _error: `De afleverbrief kon niet worden klaargezet om te printen: ${jobError.message}`,
167
- });
168
- run.failed++;
169
- continue;
170
- }
171
- jobId = job?.["id"] ?? null;
146
+ // Via de Layout maker; idempotent per controle.
147
+ const printed = await printViaLayout(sb, {
148
+ documenttype: "afleverbrief",
149
+ documentnaam: `Afleverbrief ${row.order_number}`,
150
+ pdfBase64: base64,
151
+ pdfUrl: url,
152
+ printPlekId: null,
153
+ herkomst: "floriday",
154
+ idempotentieSleutel: `controle-scan:${row.id}`,
155
+ payload: {
156
+ source: "controle_scan",
157
+ is_floriday: true,
158
+ order_id: row.order_id,
159
+ ordernummer: row.order_number,
160
+ order_number: row.order_number,
161
+ cart_id: row.cart_id,
162
+ fulfillment_order_id: fulfillmentOrderId,
163
+ control_scan_id: row.id,
164
+ },
165
+ });
166
+ if (!printed.ok) {
167
+ await sb.rpc("logistics_control_scan_finish", {
168
+ _id: row.id,
169
+ _ok: false,
170
+ _status: "mislukt",
171
+ _fulfillment_order_id: fulfillmentOrderId,
172
+ _error_code: printed.errorCode.toLowerCase(),
173
+ _error: printed.error,
174
+ });
175
+ run.failed++;
176
+ continue;
172
177
  }
178
+ const jobId = printed.jobId;
173
179
  await sb.rpc("logistics_control_scan_finish", {
174
180
  _id: row.id,
175
181
  _ok: true,
@@ -16107,18 +16107,24 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
16107
16107
  Row: {
16108
16108
  id: boolean;
16109
16109
  last_cleanup_at: string | null;
16110
+ last_error: string | null;
16111
+ last_error_at: string | null;
16110
16112
  last_sync_at: string | null;
16111
16113
  updated_at: string;
16112
16114
  };
16113
16115
  Insert: {
16114
16116
  id?: boolean;
16115
16117
  last_cleanup_at?: string | null;
16118
+ last_error?: string | null;
16119
+ last_error_at?: string | null;
16116
16120
  last_sync_at?: string | null;
16117
16121
  updated_at?: string;
16118
16122
  };
16119
16123
  Update: {
16120
16124
  id?: boolean;
16121
16125
  last_cleanup_at?: string | null;
16126
+ last_error?: string | null;
16127
+ last_error_at?: string | null;
16122
16128
  last_sync_at?: string | null;
16123
16129
  updated_at?: string;
16124
16130
  };
@@ -26392,6 +26398,27 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
26392
26398
  };
26393
26399
  Returns: boolean;
26394
26400
  };
26401
+ layout_print_document: {
26402
+ Args: {
26403
+ _documentnaam: string;
26404
+ _documenttype: string;
26405
+ _herkomst?: string;
26406
+ _idempotentie_sleutel?: string;
26407
+ _is_herprint?: boolean;
26408
+ _kopieen?: number;
26409
+ _layout_id?: string;
26410
+ _payload?: import("../integrations/supabase/types").Json;
26411
+ _pdf_base64?: string;
26412
+ _pdf_url?: string;
26413
+ _print_plek_id?: string;
26414
+ _werkplek?: string;
26415
+ };
26416
+ Returns: {
26417
+ bestaand: boolean;
26418
+ job_id: string;
26419
+ printer_id: string;
26420
+ }[];
26421
+ };
26395
26422
  list_medewerkers: {
26396
26423
  Args: never;
26397
26424
  Returns: {
@@ -27094,6 +27121,13 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
27094
27121
  };
27095
27122
  Returns: import("../integrations/supabase/types").Json;
27096
27123
  };
27124
+ logistics_control_scan_print_own: {
27125
+ Args: {
27126
+ p_is_herprint?: boolean;
27127
+ p_scan_id: string;
27128
+ };
27129
+ Returns: import("../integrations/supabase/types").Json;
27130
+ };
27097
27131
  logistics_control_scan_retry: {
27098
27132
  Args: {
27099
27133
  _id: string;
@@ -27998,6 +28032,21 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
27998
28032
  };
27999
28033
  Returns: import("../integrations/supabase/types").Json;
28000
28034
  };
28035
+ logistics_print_via_layout: {
28036
+ Args: {
28037
+ _documentnaam: string;
28038
+ _documenttype: string;
28039
+ _herkomst: string;
28040
+ _idempotentie_sleutel: string;
28041
+ _is_herprint: boolean;
28042
+ _layout_id: string;
28043
+ _payload: import("../integrations/supabase/types").Json;
28044
+ _pdf_base64: string;
28045
+ _pdf_url: string;
28046
+ _print_plek_id: string;
28047
+ };
28048
+ Returns: import("../integrations/supabase/types").Json;
28049
+ };
28001
28050
  logistics_prune_buffer_member_queue: {
28002
28051
  Args: never;
28003
28052
  Returns: number;
@@ -28353,6 +28402,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
28353
28402
  };
28354
28403
  Returns: undefined;
28355
28404
  };
28405
+ logistics_slip_note_retry: {
28406
+ Args: {
28407
+ _id: string;
28408
+ };
28409
+ Returns: import("../integrations/supabase/types").Json;
28410
+ };
28356
28411
  logistics_sticker_follows_slip: {
28357
28412
  Args: never;
28358
28413
  Returns: boolean;
@@ -29097,6 +29152,10 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
29097
29152
  };
29098
29153
  Returns: string;
29099
29154
  };
29155
+ pick_is_reference_admin: {
29156
+ Args: never;
29157
+ Returns: boolean;
29158
+ };
29100
29159
  pick_mark_printed: {
29101
29160
  Args: {
29102
29161
  _queue_item_id: string;
@@ -47264,18 +47323,24 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
47264
47323
  Row: {
47265
47324
  id: boolean;
47266
47325
  last_cleanup_at: string | null;
47326
+ last_error: string | null;
47327
+ last_error_at: string | null;
47267
47328
  last_sync_at: string | null;
47268
47329
  updated_at: string;
47269
47330
  };
47270
47331
  Insert: {
47271
47332
  id?: boolean;
47272
47333
  last_cleanup_at?: string | null;
47334
+ last_error?: string | null;
47335
+ last_error_at?: string | null;
47273
47336
  last_sync_at?: string | null;
47274
47337
  updated_at?: string;
47275
47338
  };
47276
47339
  Update: {
47277
47340
  id?: boolean;
47278
47341
  last_cleanup_at?: string | null;
47342
+ last_error?: string | null;
47343
+ last_error_at?: string | null;
47279
47344
  last_sync_at?: string | null;
47280
47345
  updated_at?: string;
47281
47346
  };
@@ -57549,6 +57614,27 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
57549
57614
  };
57550
57615
  Returns: boolean;
57551
57616
  };
57617
+ layout_print_document: {
57618
+ Args: {
57619
+ _documentnaam: string;
57620
+ _documenttype: string;
57621
+ _herkomst?: string;
57622
+ _idempotentie_sleutel?: string;
57623
+ _is_herprint?: boolean;
57624
+ _kopieen?: number;
57625
+ _layout_id?: string;
57626
+ _payload?: import("../integrations/supabase/types").Json;
57627
+ _pdf_base64?: string;
57628
+ _pdf_url?: string;
57629
+ _print_plek_id?: string;
57630
+ _werkplek?: string;
57631
+ };
57632
+ Returns: {
57633
+ bestaand: boolean;
57634
+ job_id: string;
57635
+ printer_id: string;
57636
+ }[];
57637
+ };
57552
57638
  list_medewerkers: {
57553
57639
  Args: never;
57554
57640
  Returns: {
@@ -58251,6 +58337,13 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
58251
58337
  };
58252
58338
  Returns: import("../integrations/supabase/types").Json;
58253
58339
  };
58340
+ logistics_control_scan_print_own: {
58341
+ Args: {
58342
+ p_is_herprint?: boolean;
58343
+ p_scan_id: string;
58344
+ };
58345
+ Returns: import("../integrations/supabase/types").Json;
58346
+ };
58254
58347
  logistics_control_scan_retry: {
58255
58348
  Args: {
58256
58349
  _id: string;
@@ -59155,6 +59248,21 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
59155
59248
  };
59156
59249
  Returns: import("../integrations/supabase/types").Json;
59157
59250
  };
59251
+ logistics_print_via_layout: {
59252
+ Args: {
59253
+ _documentnaam: string;
59254
+ _documenttype: string;
59255
+ _herkomst: string;
59256
+ _idempotentie_sleutel: string;
59257
+ _is_herprint: boolean;
59258
+ _layout_id: string;
59259
+ _payload: import("../integrations/supabase/types").Json;
59260
+ _pdf_base64: string;
59261
+ _pdf_url: string;
59262
+ _print_plek_id: string;
59263
+ };
59264
+ Returns: import("../integrations/supabase/types").Json;
59265
+ };
59158
59266
  logistics_prune_buffer_member_queue: {
59159
59267
  Args: never;
59160
59268
  Returns: number;
@@ -59510,6 +59618,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
59510
59618
  };
59511
59619
  Returns: undefined;
59512
59620
  };
59621
+ logistics_slip_note_retry: {
59622
+ Args: {
59623
+ _id: string;
59624
+ };
59625
+ Returns: import("../integrations/supabase/types").Json;
59626
+ };
59513
59627
  logistics_sticker_follows_slip: {
59514
59628
  Args: never;
59515
59629
  Returns: boolean;
@@ -60254,6 +60368,10 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
60254
60368
  };
60255
60369
  Returns: string;
60256
60370
  };
60371
+ pick_is_reference_admin: {
60372
+ Args: never;
60373
+ Returns: boolean;
60374
+ };
60257
60375
  pick_mark_printed: {
60258
60376
  Args: {
60259
60377
  _queue_item_id: string;
@@ -78454,18 +78572,24 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
78454
78572
  Row: {
78455
78573
  id: boolean;
78456
78574
  last_cleanup_at: string | null;
78575
+ last_error: string | null;
78576
+ last_error_at: string | null;
78457
78577
  last_sync_at: string | null;
78458
78578
  updated_at: string;
78459
78579
  };
78460
78580
  Insert: {
78461
78581
  id?: boolean;
78462
78582
  last_cleanup_at?: string | null;
78583
+ last_error?: string | null;
78584
+ last_error_at?: string | null;
78463
78585
  last_sync_at?: string | null;
78464
78586
  updated_at?: string;
78465
78587
  };
78466
78588
  Update: {
78467
78589
  id?: boolean;
78468
78590
  last_cleanup_at?: string | null;
78591
+ last_error?: string | null;
78592
+ last_error_at?: string | null;
78469
78593
  last_sync_at?: string | null;
78470
78594
  updated_at?: string;
78471
78595
  };
@@ -88739,6 +88863,27 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
88739
88863
  };
88740
88864
  Returns: boolean;
88741
88865
  };
88866
+ layout_print_document: {
88867
+ Args: {
88868
+ _documentnaam: string;
88869
+ _documenttype: string;
88870
+ _herkomst?: string;
88871
+ _idempotentie_sleutel?: string;
88872
+ _is_herprint?: boolean;
88873
+ _kopieen?: number;
88874
+ _layout_id?: string;
88875
+ _payload?: import("../integrations/supabase/types").Json;
88876
+ _pdf_base64?: string;
88877
+ _pdf_url?: string;
88878
+ _print_plek_id?: string;
88879
+ _werkplek?: string;
88880
+ };
88881
+ Returns: {
88882
+ bestaand: boolean;
88883
+ job_id: string;
88884
+ printer_id: string;
88885
+ }[];
88886
+ };
88742
88887
  list_medewerkers: {
88743
88888
  Args: never;
88744
88889
  Returns: {
@@ -89441,6 +89586,13 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
89441
89586
  };
89442
89587
  Returns: import("../integrations/supabase/types").Json;
89443
89588
  };
89589
+ logistics_control_scan_print_own: {
89590
+ Args: {
89591
+ p_is_herprint?: boolean;
89592
+ p_scan_id: string;
89593
+ };
89594
+ Returns: import("../integrations/supabase/types").Json;
89595
+ };
89444
89596
  logistics_control_scan_retry: {
89445
89597
  Args: {
89446
89598
  _id: string;
@@ -90345,6 +90497,21 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
90345
90497
  };
90346
90498
  Returns: import("../integrations/supabase/types").Json;
90347
90499
  };
90500
+ logistics_print_via_layout: {
90501
+ Args: {
90502
+ _documentnaam: string;
90503
+ _documenttype: string;
90504
+ _herkomst: string;
90505
+ _idempotentie_sleutel: string;
90506
+ _is_herprint: boolean;
90507
+ _layout_id: string;
90508
+ _payload: import("../integrations/supabase/types").Json;
90509
+ _pdf_base64: string;
90510
+ _pdf_url: string;
90511
+ _print_plek_id: string;
90512
+ };
90513
+ Returns: import("../integrations/supabase/types").Json;
90514
+ };
90348
90515
  logistics_prune_buffer_member_queue: {
90349
90516
  Args: never;
90350
90517
  Returns: number;
@@ -90700,6 +90867,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
90700
90867
  };
90701
90868
  Returns: undefined;
90702
90869
  };
90870
+ logistics_slip_note_retry: {
90871
+ Args: {
90872
+ _id: string;
90873
+ };
90874
+ Returns: import("../integrations/supabase/types").Json;
90875
+ };
90703
90876
  logistics_sticker_follows_slip: {
90704
90877
  Args: never;
90705
90878
  Returns: boolean;
@@ -91444,6 +91617,10 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
91444
91617
  };
91445
91618
  Returns: string;
91446
91619
  };
91620
+ pick_is_reference_admin: {
91621
+ Args: never;
91622
+ Returns: boolean;
91623
+ };
91447
91624
  pick_mark_printed: {
91448
91625
  Args: {
91449
91626
  _queue_item_id: string;