@flowselections/logistiek-engine 1.0.3 → 1.0.5
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 +24 -24
- package/dist-lib/components/FloridayPushCard.d.ts +2 -0
- package/dist-lib/components/FloridayPushCard.d.ts.map +1 -0
- package/dist-lib/components/FloridayPushCard.js +32 -0
- package/dist-lib/components/PrintjobsCard.d.ts +2 -0
- package/dist-lib/components/PrintjobsCard.d.ts.map +1 -0
- package/dist-lib/components/PrintjobsCard.js +35 -0
- package/dist-lib/components/RegiePage.d.ts.map +1 -1
- package/dist-lib/components/RegiePage.js +3 -1
- package/dist-lib/hooks/useFloridayPushes.d.ts +20 -0
- package/dist-lib/hooks/useFloridayPushes.d.ts.map +1 -0
- package/dist-lib/hooks/useFloridayPushes.js +55 -0
- package/dist-lib/hooks/usePrintjobs.d.ts +19 -0
- package/dist-lib/hooks/usePrintjobs.d.ts.map +1 -0
- package/dist-lib/hooks/usePrintjobs.js +60 -0
- package/dist-lib/index.d.ts +3 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +3 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +387 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +387 -1
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +387 -1
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +388 -2
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +12 -1
- package/dist-lib/lib/bulkLoadCarrierPlanning.server.d.ts +4 -3
- package/dist-lib/lib/bulkLoadCarrierPlanning.server.d.ts.map +1 -1
- package/dist-lib/lib/bulkLoadCarrierPlanning.server.js +13 -15
- package/dist-lib/lib/floridayDocuments.functions.d.ts +1161 -3
- package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.functions.d.ts +20689 -0
- package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -0
- package/dist-lib/lib/floridayPush.functions.js +20 -0
- package/dist-lib/lib/floridayPush.server.d.ts +45 -0
- package/dist-lib/lib/floridayPush.server.d.ts.map +1 -0
- package/dist-lib/lib/floridayPush.server.js +219 -0
- package/dist-lib/lib/handlers/logistics-tick.server.d.ts +2 -1
- package/dist-lib/lib/handlers/logistics-tick.server.d.ts.map +1 -1
- package/dist-lib/lib/handlers/logistics-tick.server.js +14 -2
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +1935 -5
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanning.functions.js +13 -8
- package/dist-lib/lib/loadCarrierPlanning.server.d.ts +7 -6
- package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanning.server.js +31 -33
- package/dist-lib/lib/loadCarrierTaskSync.server.d.ts +2 -1
- package/dist-lib/lib/loadCarrierTaskSync.server.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierTaskSync.server.js +13 -6
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +774 -2
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalcJob.functions.js +4 -2
- package/dist-lib/lib/logisticsRecalcJob.server.d.ts +6 -5
- package/dist-lib/lib/logisticsRecalcJob.server.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalcJob.server.js +17 -19
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts +387 -1
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.js +949 -911
- package/package.json +2 -2
|
@@ -5694,12 +5694,17 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
5694
5694
|
attempts: number;
|
|
5695
5695
|
connection_id: string;
|
|
5696
5696
|
created_at: string;
|
|
5697
|
+
desired_available: boolean | null;
|
|
5697
5698
|
gateway_attempt_id: string | null;
|
|
5698
5699
|
id: string;
|
|
5699
5700
|
last_error: string | null;
|
|
5701
|
+
locked_at: string | null;
|
|
5702
|
+
locked_by: string | null;
|
|
5703
|
+
next_attempt_at: string;
|
|
5700
5704
|
number_of_pieces: number;
|
|
5701
5705
|
sent_at: string | null;
|
|
5702
5706
|
status: string;
|
|
5707
|
+
superseded_by: string | null;
|
|
5703
5708
|
trade_item_id: string;
|
|
5704
5709
|
updated_at: string;
|
|
5705
5710
|
user_id: string;
|
|
@@ -5708,12 +5713,17 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
5708
5713
|
attempts?: number;
|
|
5709
5714
|
connection_id: string;
|
|
5710
5715
|
created_at?: string;
|
|
5716
|
+
desired_available?: boolean | null;
|
|
5711
5717
|
gateway_attempt_id?: string | null;
|
|
5712
5718
|
id?: string;
|
|
5713
5719
|
last_error?: string | null;
|
|
5720
|
+
locked_at?: string | null;
|
|
5721
|
+
locked_by?: string | null;
|
|
5722
|
+
next_attempt_at?: string;
|
|
5714
5723
|
number_of_pieces?: number;
|
|
5715
5724
|
sent_at?: string | null;
|
|
5716
5725
|
status?: string;
|
|
5726
|
+
superseded_by?: string | null;
|
|
5717
5727
|
trade_item_id: string;
|
|
5718
5728
|
updated_at?: string;
|
|
5719
5729
|
user_id: string;
|
|
@@ -5722,12 +5732,17 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
5722
5732
|
attempts?: number;
|
|
5723
5733
|
connection_id?: string;
|
|
5724
5734
|
created_at?: string;
|
|
5735
|
+
desired_available?: boolean | null;
|
|
5725
5736
|
gateway_attempt_id?: string | null;
|
|
5726
5737
|
id?: string;
|
|
5727
5738
|
last_error?: string | null;
|
|
5739
|
+
locked_at?: string | null;
|
|
5740
|
+
locked_by?: string | null;
|
|
5741
|
+
next_attempt_at?: string;
|
|
5728
5742
|
number_of_pieces?: number;
|
|
5729
5743
|
sent_at?: string | null;
|
|
5730
5744
|
status?: string;
|
|
5745
|
+
superseded_by?: string | null;
|
|
5731
5746
|
trade_item_id?: string;
|
|
5732
5747
|
updated_at?: string;
|
|
5733
5748
|
user_id?: string;
|
|
@@ -8476,6 +8491,69 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
8476
8491
|
};
|
|
8477
8492
|
Relationships: [];
|
|
8478
8493
|
};
|
|
8494
|
+
logistics_floriday_pushes: {
|
|
8495
|
+
Row: {
|
|
8496
|
+
attempts: number;
|
|
8497
|
+
created_at: string;
|
|
8498
|
+
first_queued_at: string;
|
|
8499
|
+
fulfillment_order_id: string | null;
|
|
8500
|
+
id: string;
|
|
8501
|
+
last_error: string | null;
|
|
8502
|
+
last_error_at: string | null;
|
|
8503
|
+
last_sent_hash: string | null;
|
|
8504
|
+
locked_by: string | null;
|
|
8505
|
+
locked_until: string | null;
|
|
8506
|
+
next_attempt_at: string;
|
|
8507
|
+
order_ref: string;
|
|
8508
|
+
payload: import("../integrations/supabase/types").Json;
|
|
8509
|
+
payload_hash: string | null;
|
|
8510
|
+
revision: number;
|
|
8511
|
+
sent_at: string | null;
|
|
8512
|
+
status: string;
|
|
8513
|
+
updated_at: string;
|
|
8514
|
+
};
|
|
8515
|
+
Insert: {
|
|
8516
|
+
attempts?: number;
|
|
8517
|
+
created_at?: string;
|
|
8518
|
+
first_queued_at?: string;
|
|
8519
|
+
fulfillment_order_id?: string | null;
|
|
8520
|
+
id?: string;
|
|
8521
|
+
last_error?: string | null;
|
|
8522
|
+
last_error_at?: string | null;
|
|
8523
|
+
last_sent_hash?: string | null;
|
|
8524
|
+
locked_by?: string | null;
|
|
8525
|
+
locked_until?: string | null;
|
|
8526
|
+
next_attempt_at?: string;
|
|
8527
|
+
order_ref: string;
|
|
8528
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8529
|
+
payload_hash?: string | null;
|
|
8530
|
+
revision?: number;
|
|
8531
|
+
sent_at?: string | null;
|
|
8532
|
+
status?: string;
|
|
8533
|
+
updated_at?: string;
|
|
8534
|
+
};
|
|
8535
|
+
Update: {
|
|
8536
|
+
attempts?: number;
|
|
8537
|
+
created_at?: string;
|
|
8538
|
+
first_queued_at?: string;
|
|
8539
|
+
fulfillment_order_id?: string | null;
|
|
8540
|
+
id?: string;
|
|
8541
|
+
last_error?: string | null;
|
|
8542
|
+
last_error_at?: string | null;
|
|
8543
|
+
last_sent_hash?: string | null;
|
|
8544
|
+
locked_by?: string | null;
|
|
8545
|
+
locked_until?: string | null;
|
|
8546
|
+
next_attempt_at?: string;
|
|
8547
|
+
order_ref?: string;
|
|
8548
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8549
|
+
payload_hash?: string | null;
|
|
8550
|
+
revision?: number;
|
|
8551
|
+
sent_at?: string | null;
|
|
8552
|
+
status?: string;
|
|
8553
|
+
updated_at?: string;
|
|
8554
|
+
};
|
|
8555
|
+
Relationships: [];
|
|
8556
|
+
};
|
|
8479
8557
|
logistics_formulas: {
|
|
8480
8558
|
Row: {
|
|
8481
8559
|
created_at: string;
|
|
@@ -9087,6 +9165,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
9087
9165
|
};
|
|
9088
9166
|
logistics_tasks: {
|
|
9089
9167
|
Row: {
|
|
9168
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
9169
|
+
attempts: number;
|
|
9090
9170
|
buffer_ref: string | null;
|
|
9091
9171
|
claimed_at: string | null;
|
|
9092
9172
|
claimed_by: string | null;
|
|
@@ -9096,6 +9176,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
9096
9176
|
due_at: string | null;
|
|
9097
9177
|
error: string | null;
|
|
9098
9178
|
id: string;
|
|
9179
|
+
last_error: string | null;
|
|
9180
|
+
next_attempt_at: string | null;
|
|
9099
9181
|
order_ref: string;
|
|
9100
9182
|
owner_module: string;
|
|
9101
9183
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -9116,6 +9198,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
9116
9198
|
user_id: string;
|
|
9117
9199
|
};
|
|
9118
9200
|
Insert: {
|
|
9201
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
9202
|
+
attempts?: number;
|
|
9119
9203
|
buffer_ref?: string | null;
|
|
9120
9204
|
claimed_at?: string | null;
|
|
9121
9205
|
claimed_by?: string | null;
|
|
@@ -9125,6 +9209,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
9125
9209
|
due_at?: string | null;
|
|
9126
9210
|
error?: string | null;
|
|
9127
9211
|
id?: string;
|
|
9212
|
+
last_error?: string | null;
|
|
9213
|
+
next_attempt_at?: string | null;
|
|
9128
9214
|
order_ref: string;
|
|
9129
9215
|
owner_module: string;
|
|
9130
9216
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -9145,6 +9231,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
9145
9231
|
user_id?: string;
|
|
9146
9232
|
};
|
|
9147
9233
|
Update: {
|
|
9234
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
9235
|
+
attempts?: number;
|
|
9148
9236
|
buffer_ref?: string | null;
|
|
9149
9237
|
claimed_at?: string | null;
|
|
9150
9238
|
claimed_by?: string | null;
|
|
@@ -9154,6 +9242,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
9154
9242
|
due_at?: string | null;
|
|
9155
9243
|
error?: string | null;
|
|
9156
9244
|
id?: string;
|
|
9245
|
+
last_error?: string | null;
|
|
9246
|
+
next_attempt_at?: string | null;
|
|
9157
9247
|
order_ref?: string;
|
|
9158
9248
|
owner_module?: string;
|
|
9159
9249
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -10503,6 +10593,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
10503
10593
|
};
|
|
10504
10594
|
offer_settings: {
|
|
10505
10595
|
Row: {
|
|
10596
|
+
brand_name: string | null;
|
|
10506
10597
|
button_color: string;
|
|
10507
10598
|
created_at: string;
|
|
10508
10599
|
default_countries: string[];
|
|
@@ -10524,6 +10615,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
10524
10615
|
updated_at: string;
|
|
10525
10616
|
};
|
|
10526
10617
|
Insert: {
|
|
10618
|
+
brand_name?: string | null;
|
|
10527
10619
|
button_color?: string;
|
|
10528
10620
|
created_at?: string;
|
|
10529
10621
|
default_countries?: string[];
|
|
@@ -10545,6 +10637,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
10545
10637
|
updated_at?: string;
|
|
10546
10638
|
};
|
|
10547
10639
|
Update: {
|
|
10640
|
+
brand_name?: string | null;
|
|
10548
10641
|
button_color?: string;
|
|
10549
10642
|
created_at?: string;
|
|
10550
10643
|
default_countries?: string[];
|
|
@@ -12263,22 +12356,27 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
12263
12356
|
created_at: string;
|
|
12264
12357
|
documentnaam: string;
|
|
12265
12358
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12359
|
+
extern_job_id: string | null;
|
|
12266
12360
|
foutmelding: string | null;
|
|
12267
12361
|
gebruiker_id: string | null;
|
|
12268
12362
|
gebruiker_naam: string;
|
|
12269
12363
|
gestart_op: string | null;
|
|
12270
12364
|
id: string;
|
|
12365
|
+
idempotentie_sleutel: string | null;
|
|
12271
12366
|
is_herprint: boolean;
|
|
12272
12367
|
kopieen: number;
|
|
12273
12368
|
layout_id: string | null;
|
|
12274
12369
|
opgepakt_op: string | null;
|
|
12275
12370
|
paginas: number;
|
|
12276
12371
|
payload: import("../integrations/supabase/types").Json;
|
|
12372
|
+
pdf_base64: string | null;
|
|
12373
|
+
pdf_url: string | null;
|
|
12277
12374
|
pogingen: number;
|
|
12278
12375
|
printer_id: string | null;
|
|
12279
12376
|
render_html: string | null;
|
|
12280
12377
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12281
12378
|
updated_at: string;
|
|
12379
|
+
volgende_poging: string | null;
|
|
12282
12380
|
voltooid_op: string | null;
|
|
12283
12381
|
};
|
|
12284
12382
|
Insert: {
|
|
@@ -12287,22 +12385,27 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
12287
12385
|
created_at?: string;
|
|
12288
12386
|
documentnaam?: string;
|
|
12289
12387
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12388
|
+
extern_job_id?: string | null;
|
|
12290
12389
|
foutmelding?: string | null;
|
|
12291
12390
|
gebruiker_id?: string | null;
|
|
12292
12391
|
gebruiker_naam?: string;
|
|
12293
12392
|
gestart_op?: string | null;
|
|
12294
12393
|
id?: string;
|
|
12394
|
+
idempotentie_sleutel?: string | null;
|
|
12295
12395
|
is_herprint?: boolean;
|
|
12296
12396
|
kopieen?: number;
|
|
12297
12397
|
layout_id?: string | null;
|
|
12298
12398
|
opgepakt_op?: string | null;
|
|
12299
12399
|
paginas?: number;
|
|
12300
12400
|
payload?: import("../integrations/supabase/types").Json;
|
|
12401
|
+
pdf_base64?: string | null;
|
|
12402
|
+
pdf_url?: string | null;
|
|
12301
12403
|
pogingen?: number;
|
|
12302
12404
|
printer_id?: string | null;
|
|
12303
12405
|
render_html?: string | null;
|
|
12304
12406
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12305
12407
|
updated_at?: string;
|
|
12408
|
+
volgende_poging?: string | null;
|
|
12306
12409
|
voltooid_op?: string | null;
|
|
12307
12410
|
};
|
|
12308
12411
|
Update: {
|
|
@@ -12311,22 +12414,27 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
12311
12414
|
created_at?: string;
|
|
12312
12415
|
documentnaam?: string;
|
|
12313
12416
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12417
|
+
extern_job_id?: string | null;
|
|
12314
12418
|
foutmelding?: string | null;
|
|
12315
12419
|
gebruiker_id?: string | null;
|
|
12316
12420
|
gebruiker_naam?: string;
|
|
12317
12421
|
gestart_op?: string | null;
|
|
12318
12422
|
id?: string;
|
|
12423
|
+
idempotentie_sleutel?: string | null;
|
|
12319
12424
|
is_herprint?: boolean;
|
|
12320
12425
|
kopieen?: number;
|
|
12321
12426
|
layout_id?: string | null;
|
|
12322
12427
|
opgepakt_op?: string | null;
|
|
12323
12428
|
paginas?: number;
|
|
12324
12429
|
payload?: import("../integrations/supabase/types").Json;
|
|
12430
|
+
pdf_base64?: string | null;
|
|
12431
|
+
pdf_url?: string | null;
|
|
12325
12432
|
pogingen?: number;
|
|
12326
12433
|
printer_id?: string | null;
|
|
12327
12434
|
render_html?: string | null;
|
|
12328
12435
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12329
12436
|
updated_at?: string;
|
|
12437
|
+
volgende_poging?: string | null;
|
|
12330
12438
|
voltooid_op?: string | null;
|
|
12331
12439
|
};
|
|
12332
12440
|
Relationships: [{
|
|
@@ -12509,6 +12617,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
12509
12617
|
agent_id: string | null;
|
|
12510
12618
|
created_at: string;
|
|
12511
12619
|
driver: string;
|
|
12620
|
+
extern_printer_id: string | null;
|
|
12512
12621
|
id: string;
|
|
12513
12622
|
ip_adres: string | null;
|
|
12514
12623
|
laatst_gezien: string | null;
|
|
@@ -12530,6 +12639,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
12530
12639
|
agent_id?: string | null;
|
|
12531
12640
|
created_at?: string;
|
|
12532
12641
|
driver?: string;
|
|
12642
|
+
extern_printer_id?: string | null;
|
|
12533
12643
|
id?: string;
|
|
12534
12644
|
ip_adres?: string | null;
|
|
12535
12645
|
laatst_gezien?: string | null;
|
|
@@ -12551,6 +12661,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
12551
12661
|
agent_id?: string | null;
|
|
12552
12662
|
created_at?: string;
|
|
12553
12663
|
driver?: string;
|
|
12664
|
+
extern_printer_id?: string | null;
|
|
12554
12665
|
id?: string;
|
|
12555
12666
|
ip_adres?: string | null;
|
|
12556
12667
|
laatst_gezien?: string | null;
|
|
@@ -18155,6 +18266,125 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
18155
18266
|
};
|
|
18156
18267
|
Returns: import("../integrations/supabase/types").Json;
|
|
18157
18268
|
};
|
|
18269
|
+
claim_cloud_print_jobs: {
|
|
18270
|
+
Args: {
|
|
18271
|
+
_max?: number;
|
|
18272
|
+
};
|
|
18273
|
+
Returns: {
|
|
18274
|
+
agent_id: string | null;
|
|
18275
|
+
bron_job_id: string | null;
|
|
18276
|
+
created_at: string;
|
|
18277
|
+
documentnaam: string;
|
|
18278
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
18279
|
+
extern_job_id: string | null;
|
|
18280
|
+
foutmelding: string | null;
|
|
18281
|
+
gebruiker_id: string | null;
|
|
18282
|
+
gebruiker_naam: string;
|
|
18283
|
+
gestart_op: string | null;
|
|
18284
|
+
id: string;
|
|
18285
|
+
idempotentie_sleutel: string | null;
|
|
18286
|
+
is_herprint: boolean;
|
|
18287
|
+
kopieen: number;
|
|
18288
|
+
layout_id: string | null;
|
|
18289
|
+
opgepakt_op: string | null;
|
|
18290
|
+
paginas: number;
|
|
18291
|
+
payload: import("../integrations/supabase/types").Json;
|
|
18292
|
+
pdf_base64: string | null;
|
|
18293
|
+
pdf_url: string | null;
|
|
18294
|
+
pogingen: number;
|
|
18295
|
+
printer_id: string | null;
|
|
18296
|
+
render_html: string | null;
|
|
18297
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
18298
|
+
updated_at: string;
|
|
18299
|
+
volgende_poging: string | null;
|
|
18300
|
+
voltooid_op: string | null;
|
|
18301
|
+
}[];
|
|
18302
|
+
SetofOptions: {
|
|
18303
|
+
from: "*";
|
|
18304
|
+
to: "print_jobs";
|
|
18305
|
+
isOneToOne: false;
|
|
18306
|
+
isSetofReturn: true;
|
|
18307
|
+
};
|
|
18308
|
+
};
|
|
18309
|
+
claim_floriday_stock_queue: {
|
|
18310
|
+
Args: {
|
|
18311
|
+
p_limit?: number;
|
|
18312
|
+
p_worker?: string;
|
|
18313
|
+
};
|
|
18314
|
+
Returns: {
|
|
18315
|
+
attempts: number;
|
|
18316
|
+
connection_id: string;
|
|
18317
|
+
created_at: string;
|
|
18318
|
+
desired_available: boolean | null;
|
|
18319
|
+
gateway_attempt_id: string | null;
|
|
18320
|
+
id: string;
|
|
18321
|
+
last_error: string | null;
|
|
18322
|
+
locked_at: string | null;
|
|
18323
|
+
locked_by: string | null;
|
|
18324
|
+
next_attempt_at: string;
|
|
18325
|
+
number_of_pieces: number;
|
|
18326
|
+
sent_at: string | null;
|
|
18327
|
+
status: string;
|
|
18328
|
+
superseded_by: string | null;
|
|
18329
|
+
trade_item_id: string;
|
|
18330
|
+
updated_at: string;
|
|
18331
|
+
user_id: string;
|
|
18332
|
+
}[];
|
|
18333
|
+
SetofOptions: {
|
|
18334
|
+
from: "*";
|
|
18335
|
+
to: "floriday_continuous_stock_queue";
|
|
18336
|
+
isOneToOne: false;
|
|
18337
|
+
isSetofReturn: true;
|
|
18338
|
+
};
|
|
18339
|
+
};
|
|
18340
|
+
claim_logistics_tasks: {
|
|
18341
|
+
Args: {
|
|
18342
|
+
_limit?: number;
|
|
18343
|
+
_owner_module: string;
|
|
18344
|
+
_stale_minutes?: number;
|
|
18345
|
+
_task_type: string;
|
|
18346
|
+
_worker: string;
|
|
18347
|
+
};
|
|
18348
|
+
Returns: {
|
|
18349
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
18350
|
+
attempts: number;
|
|
18351
|
+
buffer_ref: string | null;
|
|
18352
|
+
claimed_at: string | null;
|
|
18353
|
+
claimed_by: string | null;
|
|
18354
|
+
completed_at: string | null;
|
|
18355
|
+
created_at: string;
|
|
18356
|
+
depends_on: string[];
|
|
18357
|
+
due_at: string | null;
|
|
18358
|
+
error: string | null;
|
|
18359
|
+
id: string;
|
|
18360
|
+
last_error: string | null;
|
|
18361
|
+
next_attempt_at: string | null;
|
|
18362
|
+
order_ref: string;
|
|
18363
|
+
owner_module: string;
|
|
18364
|
+
payload: import("../integrations/supabase/types").Json;
|
|
18365
|
+
plan_run_id: string | null;
|
|
18366
|
+
planned_end: string | null;
|
|
18367
|
+
planned_start: string | null;
|
|
18368
|
+
priority: number;
|
|
18369
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
18370
|
+
rule_config_id: string | null;
|
|
18371
|
+
rule_version: number | null;
|
|
18372
|
+
sequence: number;
|
|
18373
|
+
shadow: boolean;
|
|
18374
|
+
started_at: string | null;
|
|
18375
|
+
status: string;
|
|
18376
|
+
strategy_id: string | null;
|
|
18377
|
+
task_type: string;
|
|
18378
|
+
updated_at: string;
|
|
18379
|
+
user_id: string;
|
|
18380
|
+
}[];
|
|
18381
|
+
SetofOptions: {
|
|
18382
|
+
from: "*";
|
|
18383
|
+
to: "logistics_tasks";
|
|
18384
|
+
isOneToOne: false;
|
|
18385
|
+
isSetofReturn: true;
|
|
18386
|
+
};
|
|
18387
|
+
};
|
|
18158
18388
|
claim_print_jobs: {
|
|
18159
18389
|
Args: {
|
|
18160
18390
|
_agent_id: string;
|
|
@@ -18166,22 +18396,27 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
18166
18396
|
created_at: string;
|
|
18167
18397
|
documentnaam: string;
|
|
18168
18398
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
18399
|
+
extern_job_id: string | null;
|
|
18169
18400
|
foutmelding: string | null;
|
|
18170
18401
|
gebruiker_id: string | null;
|
|
18171
18402
|
gebruiker_naam: string;
|
|
18172
18403
|
gestart_op: string | null;
|
|
18173
18404
|
id: string;
|
|
18405
|
+
idempotentie_sleutel: string | null;
|
|
18174
18406
|
is_herprint: boolean;
|
|
18175
18407
|
kopieen: number;
|
|
18176
18408
|
layout_id: string | null;
|
|
18177
18409
|
opgepakt_op: string | null;
|
|
18178
18410
|
paginas: number;
|
|
18179
18411
|
payload: import("../integrations/supabase/types").Json;
|
|
18412
|
+
pdf_base64: string | null;
|
|
18413
|
+
pdf_url: string | null;
|
|
18180
18414
|
pogingen: number;
|
|
18181
18415
|
printer_id: string | null;
|
|
18182
18416
|
render_html: string | null;
|
|
18183
18417
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
18184
18418
|
updated_at: string;
|
|
18419
|
+
volgende_poging: string | null;
|
|
18185
18420
|
voltooid_op: string | null;
|
|
18186
18421
|
}[];
|
|
18187
18422
|
SetofOptions: {
|
|
@@ -18219,10 +18454,24 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
18219
18454
|
isSetofReturn: true;
|
|
18220
18455
|
};
|
|
18221
18456
|
};
|
|
18457
|
+
cleanup_floriday_stock_queue: {
|
|
18458
|
+
Args: never;
|
|
18459
|
+
Returns: undefined;
|
|
18460
|
+
};
|
|
18222
18461
|
cleanup_old_bookings: {
|
|
18223
18462
|
Args: never;
|
|
18224
18463
|
Returns: undefined;
|
|
18225
18464
|
};
|
|
18465
|
+
complete_floriday_stock_queue: {
|
|
18466
|
+
Args: {
|
|
18467
|
+
p_attempt_id?: string;
|
|
18468
|
+
p_error?: string;
|
|
18469
|
+
p_id: string;
|
|
18470
|
+
p_ok: boolean;
|
|
18471
|
+
p_permanent?: boolean;
|
|
18472
|
+
};
|
|
18473
|
+
Returns: undefined;
|
|
18474
|
+
};
|
|
18226
18475
|
consume_bom_for_production: {
|
|
18227
18476
|
Args: {
|
|
18228
18477
|
p_connection_id: string;
|
|
@@ -18619,6 +18868,10 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
18619
18868
|
};
|
|
18620
18869
|
Returns: number;
|
|
18621
18870
|
};
|
|
18871
|
+
get_offer_branding: {
|
|
18872
|
+
Args: never;
|
|
18873
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
18874
|
+
};
|
|
18622
18875
|
get_offer_by_link_code: {
|
|
18623
18876
|
Args: {
|
|
18624
18877
|
p_code: string;
|
|
@@ -18910,6 +19163,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
18910
19163
|
p_worker?: string;
|
|
18911
19164
|
};
|
|
18912
19165
|
Returns: {
|
|
19166
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19167
|
+
attempts: number;
|
|
18913
19168
|
buffer_ref: string | null;
|
|
18914
19169
|
claimed_at: string | null;
|
|
18915
19170
|
claimed_by: string | null;
|
|
@@ -18919,6 +19174,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
18919
19174
|
due_at: string | null;
|
|
18920
19175
|
error: string | null;
|
|
18921
19176
|
id: string;
|
|
19177
|
+
last_error: string | null;
|
|
19178
|
+
next_attempt_at: string | null;
|
|
18922
19179
|
order_ref: string;
|
|
18923
19180
|
owner_module: string;
|
|
18924
19181
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18951,6 +19208,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
18951
19208
|
p_worker?: string;
|
|
18952
19209
|
};
|
|
18953
19210
|
Returns: {
|
|
19211
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19212
|
+
attempts: number;
|
|
18954
19213
|
buffer_ref: string | null;
|
|
18955
19214
|
claimed_at: string | null;
|
|
18956
19215
|
claimed_by: string | null;
|
|
@@ -18960,6 +19219,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
18960
19219
|
due_at: string | null;
|
|
18961
19220
|
error: string | null;
|
|
18962
19221
|
id: string;
|
|
19222
|
+
last_error: string | null;
|
|
19223
|
+
next_attempt_at: string | null;
|
|
18963
19224
|
order_ref: string;
|
|
18964
19225
|
owner_module: string;
|
|
18965
19226
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18992,6 +19253,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
18992
19253
|
p_task_id: string;
|
|
18993
19254
|
};
|
|
18994
19255
|
Returns: {
|
|
19256
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19257
|
+
attempts: number;
|
|
18995
19258
|
buffer_ref: string | null;
|
|
18996
19259
|
claimed_at: string | null;
|
|
18997
19260
|
claimed_by: string | null;
|
|
@@ -19001,6 +19264,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
19001
19264
|
due_at: string | null;
|
|
19002
19265
|
error: string | null;
|
|
19003
19266
|
id: string;
|
|
19267
|
+
last_error: string | null;
|
|
19268
|
+
next_attempt_at: string | null;
|
|
19004
19269
|
order_ref: string;
|
|
19005
19270
|
owner_module: string;
|
|
19006
19271
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -19082,6 +19347,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
19082
19347
|
p_task_id: string;
|
|
19083
19348
|
};
|
|
19084
19349
|
Returns: {
|
|
19350
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19351
|
+
attempts: number;
|
|
19085
19352
|
buffer_ref: string | null;
|
|
19086
19353
|
claimed_at: string | null;
|
|
19087
19354
|
claimed_by: string | null;
|
|
@@ -19091,6 +19358,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
19091
19358
|
due_at: string | null;
|
|
19092
19359
|
error: string | null;
|
|
19093
19360
|
id: string;
|
|
19361
|
+
last_error: string | null;
|
|
19362
|
+
next_attempt_at: string | null;
|
|
19094
19363
|
order_ref: string;
|
|
19095
19364
|
owner_module: string;
|
|
19096
19365
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -19117,6 +19386,51 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
19117
19386
|
isSetofReturn: false;
|
|
19118
19387
|
};
|
|
19119
19388
|
};
|
|
19389
|
+
logistics_floriday_claim_pushes: {
|
|
19390
|
+
Args: {
|
|
19391
|
+
_lease_seconds?: number;
|
|
19392
|
+
_limit?: number;
|
|
19393
|
+
_worker?: string;
|
|
19394
|
+
};
|
|
19395
|
+
Returns: {
|
|
19396
|
+
attempts: number;
|
|
19397
|
+
fulfillment_order_id: string;
|
|
19398
|
+
id: string;
|
|
19399
|
+
last_sent_hash: string;
|
|
19400
|
+
order_ref: string;
|
|
19401
|
+
payload: import("../integrations/supabase/types").Json;
|
|
19402
|
+
payload_hash: string;
|
|
19403
|
+
revision: number;
|
|
19404
|
+
}[];
|
|
19405
|
+
};
|
|
19406
|
+
logistics_floriday_finish_push: {
|
|
19407
|
+
Args: {
|
|
19408
|
+
_error?: string;
|
|
19409
|
+
_fulfillment_order_id?: string;
|
|
19410
|
+
_id: string;
|
|
19411
|
+
_max_age_hours?: number;
|
|
19412
|
+
_max_attempts?: number;
|
|
19413
|
+
_ok: boolean;
|
|
19414
|
+
_permanent?: boolean;
|
|
19415
|
+
_revision: number;
|
|
19416
|
+
_sent_hash?: string;
|
|
19417
|
+
};
|
|
19418
|
+
Returns: string;
|
|
19419
|
+
};
|
|
19420
|
+
logistics_floriday_prune_pushes: {
|
|
19421
|
+
Args: {
|
|
19422
|
+
_days?: number;
|
|
19423
|
+
};
|
|
19424
|
+
Returns: number;
|
|
19425
|
+
};
|
|
19426
|
+
logistics_floriday_queue_push: {
|
|
19427
|
+
Args: {
|
|
19428
|
+
_order_ref: string;
|
|
19429
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
19430
|
+
_payload_hash?: string;
|
|
19431
|
+
};
|
|
19432
|
+
Returns: string;
|
|
19433
|
+
};
|
|
19120
19434
|
logistics_live_carriers: {
|
|
19121
19435
|
Args: {
|
|
19122
19436
|
p_order_ref: string;
|
|
@@ -19464,6 +19778,15 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
19464
19778
|
};
|
|
19465
19779
|
Returns: string;
|
|
19466
19780
|
};
|
|
19781
|
+
pick_active_printers: {
|
|
19782
|
+
Args: never;
|
|
19783
|
+
Returns: {
|
|
19784
|
+
id: string;
|
|
19785
|
+
locatie: string;
|
|
19786
|
+
naam: string;
|
|
19787
|
+
online: boolean;
|
|
19788
|
+
}[];
|
|
19789
|
+
};
|
|
19467
19790
|
pick_claim_document: {
|
|
19468
19791
|
Args: {
|
|
19469
19792
|
_queue_item_id: string;
|
|
@@ -19650,6 +19973,52 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
19650
19973
|
};
|
|
19651
19974
|
Returns: undefined;
|
|
19652
19975
|
};
|
|
19976
|
+
pick_reset_print: {
|
|
19977
|
+
Args: {
|
|
19978
|
+
_queue_item_id: string;
|
|
19979
|
+
_session_id: string;
|
|
19980
|
+
};
|
|
19981
|
+
Returns: {
|
|
19982
|
+
announced_at: string;
|
|
19983
|
+
assigned_user_id: string | null;
|
|
19984
|
+
barcode: string | null;
|
|
19985
|
+
cancelled_at: string | null;
|
|
19986
|
+
cart_count: number;
|
|
19987
|
+
completed_at: string | null;
|
|
19988
|
+
country_code: string | null;
|
|
19989
|
+
created_at: string;
|
|
19990
|
+
customer_name: string | null;
|
|
19991
|
+
delivery_address: string | null;
|
|
19992
|
+
document_number: string | null;
|
|
19993
|
+
document_type_id: string | null;
|
|
19994
|
+
due_at: string | null;
|
|
19995
|
+
id: string;
|
|
19996
|
+
is_urgent: boolean;
|
|
19997
|
+
line_count: number;
|
|
19998
|
+
order_number: string | null;
|
|
19999
|
+
order_type: string | null;
|
|
20000
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20001
|
+
print_count: number;
|
|
20002
|
+
print_job_id: string | null;
|
|
20003
|
+
printed_at: string | null;
|
|
20004
|
+
printed_by: string | null;
|
|
20005
|
+
printer_id: string | null;
|
|
20006
|
+
priority: number;
|
|
20007
|
+
reference: string | null;
|
|
20008
|
+
route: string | null;
|
|
20009
|
+
screen_id: string | null;
|
|
20010
|
+
station_id: string | null;
|
|
20011
|
+
status_id: string | null;
|
|
20012
|
+
updated_at: string;
|
|
20013
|
+
warnings: import("../integrations/supabase/types").Json;
|
|
20014
|
+
};
|
|
20015
|
+
SetofOptions: {
|
|
20016
|
+
from: "*";
|
|
20017
|
+
to: "pick_queue";
|
|
20018
|
+
isOneToOne: true;
|
|
20019
|
+
isSetofReturn: false;
|
|
20020
|
+
};
|
|
20021
|
+
};
|
|
19653
20022
|
pick_station_dashboard: {
|
|
19654
20023
|
Args: never;
|
|
19655
20024
|
Returns: {
|
|
@@ -19840,10 +20209,20 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
19840
20209
|
};
|
|
19841
20210
|
Returns: import("../integrations/supabase/types").Json;
|
|
19842
20211
|
};
|
|
20212
|
+
ruim_print_jobs_op: {
|
|
20213
|
+
Args: {
|
|
20214
|
+
_bewaar_dagen?: number;
|
|
20215
|
+
};
|
|
20216
|
+
Returns: number;
|
|
20217
|
+
};
|
|
19843
20218
|
run_floriday_continuous_stock_sync: {
|
|
19844
20219
|
Args: never;
|
|
19845
20220
|
Returns: undefined;
|
|
19846
20221
|
};
|
|
20222
|
+
run_logistics_tasks_dispatch: {
|
|
20223
|
+
Args: never;
|
|
20224
|
+
Returns: undefined;
|
|
20225
|
+
};
|
|
19847
20226
|
run_twinfield_queue_tick: {
|
|
19848
20227
|
Args: never;
|
|
19849
20228
|
Returns: undefined;
|
|
@@ -20084,6 +20463,13 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
20084
20463
|
};
|
|
20085
20464
|
Returns: number;
|
|
20086
20465
|
};
|
|
20466
|
+
schedule_floriday_stock_queue_process: {
|
|
20467
|
+
Args: {
|
|
20468
|
+
p_apikey: string;
|
|
20469
|
+
p_url: string;
|
|
20470
|
+
};
|
|
20471
|
+
Returns: number;
|
|
20472
|
+
};
|
|
20087
20473
|
schedule_floriday_token_refresh: {
|
|
20088
20474
|
Args: {
|
|
20089
20475
|
p_apikey: string;
|
|
@@ -20273,7 +20659,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
20273
20659
|
};
|
|
20274
20660
|
Enums: {
|
|
20275
20661
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
20276
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
20662
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
20277
20663
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
20278
20664
|
doc_orientation: "portrait" | "landscape";
|
|
20279
20665
|
exact_env: "staging" | "live";
|
|
@@ -25997,12 +26383,17 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
25997
26383
|
attempts: number;
|
|
25998
26384
|
connection_id: string;
|
|
25999
26385
|
created_at: string;
|
|
26386
|
+
desired_available: boolean | null;
|
|
26000
26387
|
gateway_attempt_id: string | null;
|
|
26001
26388
|
id: string;
|
|
26002
26389
|
last_error: string | null;
|
|
26390
|
+
locked_at: string | null;
|
|
26391
|
+
locked_by: string | null;
|
|
26392
|
+
next_attempt_at: string;
|
|
26003
26393
|
number_of_pieces: number;
|
|
26004
26394
|
sent_at: string | null;
|
|
26005
26395
|
status: string;
|
|
26396
|
+
superseded_by: string | null;
|
|
26006
26397
|
trade_item_id: string;
|
|
26007
26398
|
updated_at: string;
|
|
26008
26399
|
user_id: string;
|
|
@@ -26011,12 +26402,17 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
26011
26402
|
attempts?: number;
|
|
26012
26403
|
connection_id: string;
|
|
26013
26404
|
created_at?: string;
|
|
26405
|
+
desired_available?: boolean | null;
|
|
26014
26406
|
gateway_attempt_id?: string | null;
|
|
26015
26407
|
id?: string;
|
|
26016
26408
|
last_error?: string | null;
|
|
26409
|
+
locked_at?: string | null;
|
|
26410
|
+
locked_by?: string | null;
|
|
26411
|
+
next_attempt_at?: string;
|
|
26017
26412
|
number_of_pieces?: number;
|
|
26018
26413
|
sent_at?: string | null;
|
|
26019
26414
|
status?: string;
|
|
26415
|
+
superseded_by?: string | null;
|
|
26020
26416
|
trade_item_id: string;
|
|
26021
26417
|
updated_at?: string;
|
|
26022
26418
|
user_id: string;
|
|
@@ -26025,12 +26421,17 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
26025
26421
|
attempts?: number;
|
|
26026
26422
|
connection_id?: string;
|
|
26027
26423
|
created_at?: string;
|
|
26424
|
+
desired_available?: boolean | null;
|
|
26028
26425
|
gateway_attempt_id?: string | null;
|
|
26029
26426
|
id?: string;
|
|
26030
26427
|
last_error?: string | null;
|
|
26428
|
+
locked_at?: string | null;
|
|
26429
|
+
locked_by?: string | null;
|
|
26430
|
+
next_attempt_at?: string;
|
|
26031
26431
|
number_of_pieces?: number;
|
|
26032
26432
|
sent_at?: string | null;
|
|
26033
26433
|
status?: string;
|
|
26434
|
+
superseded_by?: string | null;
|
|
26034
26435
|
trade_item_id?: string;
|
|
26035
26436
|
updated_at?: string;
|
|
26036
26437
|
user_id?: string;
|
|
@@ -28779,6 +29180,69 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
28779
29180
|
};
|
|
28780
29181
|
Relationships: [];
|
|
28781
29182
|
};
|
|
29183
|
+
logistics_floriday_pushes: {
|
|
29184
|
+
Row: {
|
|
29185
|
+
attempts: number;
|
|
29186
|
+
created_at: string;
|
|
29187
|
+
first_queued_at: string;
|
|
29188
|
+
fulfillment_order_id: string | null;
|
|
29189
|
+
id: string;
|
|
29190
|
+
last_error: string | null;
|
|
29191
|
+
last_error_at: string | null;
|
|
29192
|
+
last_sent_hash: string | null;
|
|
29193
|
+
locked_by: string | null;
|
|
29194
|
+
locked_until: string | null;
|
|
29195
|
+
next_attempt_at: string;
|
|
29196
|
+
order_ref: string;
|
|
29197
|
+
payload: import("../integrations/supabase/types").Json;
|
|
29198
|
+
payload_hash: string | null;
|
|
29199
|
+
revision: number;
|
|
29200
|
+
sent_at: string | null;
|
|
29201
|
+
status: string;
|
|
29202
|
+
updated_at: string;
|
|
29203
|
+
};
|
|
29204
|
+
Insert: {
|
|
29205
|
+
attempts?: number;
|
|
29206
|
+
created_at?: string;
|
|
29207
|
+
first_queued_at?: string;
|
|
29208
|
+
fulfillment_order_id?: string | null;
|
|
29209
|
+
id?: string;
|
|
29210
|
+
last_error?: string | null;
|
|
29211
|
+
last_error_at?: string | null;
|
|
29212
|
+
last_sent_hash?: string | null;
|
|
29213
|
+
locked_by?: string | null;
|
|
29214
|
+
locked_until?: string | null;
|
|
29215
|
+
next_attempt_at?: string;
|
|
29216
|
+
order_ref: string;
|
|
29217
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
29218
|
+
payload_hash?: string | null;
|
|
29219
|
+
revision?: number;
|
|
29220
|
+
sent_at?: string | null;
|
|
29221
|
+
status?: string;
|
|
29222
|
+
updated_at?: string;
|
|
29223
|
+
};
|
|
29224
|
+
Update: {
|
|
29225
|
+
attempts?: number;
|
|
29226
|
+
created_at?: string;
|
|
29227
|
+
first_queued_at?: string;
|
|
29228
|
+
fulfillment_order_id?: string | null;
|
|
29229
|
+
id?: string;
|
|
29230
|
+
last_error?: string | null;
|
|
29231
|
+
last_error_at?: string | null;
|
|
29232
|
+
last_sent_hash?: string | null;
|
|
29233
|
+
locked_by?: string | null;
|
|
29234
|
+
locked_until?: string | null;
|
|
29235
|
+
next_attempt_at?: string;
|
|
29236
|
+
order_ref?: string;
|
|
29237
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
29238
|
+
payload_hash?: string | null;
|
|
29239
|
+
revision?: number;
|
|
29240
|
+
sent_at?: string | null;
|
|
29241
|
+
status?: string;
|
|
29242
|
+
updated_at?: string;
|
|
29243
|
+
};
|
|
29244
|
+
Relationships: [];
|
|
29245
|
+
};
|
|
28782
29246
|
logistics_formulas: {
|
|
28783
29247
|
Row: {
|
|
28784
29248
|
created_at: string;
|
|
@@ -29390,6 +29854,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
29390
29854
|
};
|
|
29391
29855
|
logistics_tasks: {
|
|
29392
29856
|
Row: {
|
|
29857
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
29858
|
+
attempts: number;
|
|
29393
29859
|
buffer_ref: string | null;
|
|
29394
29860
|
claimed_at: string | null;
|
|
29395
29861
|
claimed_by: string | null;
|
|
@@ -29399,6 +29865,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
29399
29865
|
due_at: string | null;
|
|
29400
29866
|
error: string | null;
|
|
29401
29867
|
id: string;
|
|
29868
|
+
last_error: string | null;
|
|
29869
|
+
next_attempt_at: string | null;
|
|
29402
29870
|
order_ref: string;
|
|
29403
29871
|
owner_module: string;
|
|
29404
29872
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -29419,6 +29887,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
29419
29887
|
user_id: string;
|
|
29420
29888
|
};
|
|
29421
29889
|
Insert: {
|
|
29890
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
29891
|
+
attempts?: number;
|
|
29422
29892
|
buffer_ref?: string | null;
|
|
29423
29893
|
claimed_at?: string | null;
|
|
29424
29894
|
claimed_by?: string | null;
|
|
@@ -29428,6 +29898,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
29428
29898
|
due_at?: string | null;
|
|
29429
29899
|
error?: string | null;
|
|
29430
29900
|
id?: string;
|
|
29901
|
+
last_error?: string | null;
|
|
29902
|
+
next_attempt_at?: string | null;
|
|
29431
29903
|
order_ref: string;
|
|
29432
29904
|
owner_module: string;
|
|
29433
29905
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -29448,6 +29920,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
29448
29920
|
user_id?: string;
|
|
29449
29921
|
};
|
|
29450
29922
|
Update: {
|
|
29923
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
29924
|
+
attempts?: number;
|
|
29451
29925
|
buffer_ref?: string | null;
|
|
29452
29926
|
claimed_at?: string | null;
|
|
29453
29927
|
claimed_by?: string | null;
|
|
@@ -29457,6 +29931,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
29457
29931
|
due_at?: string | null;
|
|
29458
29932
|
error?: string | null;
|
|
29459
29933
|
id?: string;
|
|
29934
|
+
last_error?: string | null;
|
|
29935
|
+
next_attempt_at?: string | null;
|
|
29460
29936
|
order_ref?: string;
|
|
29461
29937
|
owner_module?: string;
|
|
29462
29938
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -30806,6 +31282,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
30806
31282
|
};
|
|
30807
31283
|
offer_settings: {
|
|
30808
31284
|
Row: {
|
|
31285
|
+
brand_name: string | null;
|
|
30809
31286
|
button_color: string;
|
|
30810
31287
|
created_at: string;
|
|
30811
31288
|
default_countries: string[];
|
|
@@ -30827,6 +31304,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
30827
31304
|
updated_at: string;
|
|
30828
31305
|
};
|
|
30829
31306
|
Insert: {
|
|
31307
|
+
brand_name?: string | null;
|
|
30830
31308
|
button_color?: string;
|
|
30831
31309
|
created_at?: string;
|
|
30832
31310
|
default_countries?: string[];
|
|
@@ -30848,6 +31326,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
30848
31326
|
updated_at?: string;
|
|
30849
31327
|
};
|
|
30850
31328
|
Update: {
|
|
31329
|
+
brand_name?: string | null;
|
|
30851
31330
|
button_color?: string;
|
|
30852
31331
|
created_at?: string;
|
|
30853
31332
|
default_countries?: string[];
|
|
@@ -32566,22 +33045,27 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
32566
33045
|
created_at: string;
|
|
32567
33046
|
documentnaam: string;
|
|
32568
33047
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
33048
|
+
extern_job_id: string | null;
|
|
32569
33049
|
foutmelding: string | null;
|
|
32570
33050
|
gebruiker_id: string | null;
|
|
32571
33051
|
gebruiker_naam: string;
|
|
32572
33052
|
gestart_op: string | null;
|
|
32573
33053
|
id: string;
|
|
33054
|
+
idempotentie_sleutel: string | null;
|
|
32574
33055
|
is_herprint: boolean;
|
|
32575
33056
|
kopieen: number;
|
|
32576
33057
|
layout_id: string | null;
|
|
32577
33058
|
opgepakt_op: string | null;
|
|
32578
33059
|
paginas: number;
|
|
32579
33060
|
payload: import("../integrations/supabase/types").Json;
|
|
33061
|
+
pdf_base64: string | null;
|
|
33062
|
+
pdf_url: string | null;
|
|
32580
33063
|
pogingen: number;
|
|
32581
33064
|
printer_id: string | null;
|
|
32582
33065
|
render_html: string | null;
|
|
32583
33066
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
32584
33067
|
updated_at: string;
|
|
33068
|
+
volgende_poging: string | null;
|
|
32585
33069
|
voltooid_op: string | null;
|
|
32586
33070
|
};
|
|
32587
33071
|
Insert: {
|
|
@@ -32590,22 +33074,27 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
32590
33074
|
created_at?: string;
|
|
32591
33075
|
documentnaam?: string;
|
|
32592
33076
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
33077
|
+
extern_job_id?: string | null;
|
|
32593
33078
|
foutmelding?: string | null;
|
|
32594
33079
|
gebruiker_id?: string | null;
|
|
32595
33080
|
gebruiker_naam?: string;
|
|
32596
33081
|
gestart_op?: string | null;
|
|
32597
33082
|
id?: string;
|
|
33083
|
+
idempotentie_sleutel?: string | null;
|
|
32598
33084
|
is_herprint?: boolean;
|
|
32599
33085
|
kopieen?: number;
|
|
32600
33086
|
layout_id?: string | null;
|
|
32601
33087
|
opgepakt_op?: string | null;
|
|
32602
33088
|
paginas?: number;
|
|
32603
33089
|
payload?: import("../integrations/supabase/types").Json;
|
|
33090
|
+
pdf_base64?: string | null;
|
|
33091
|
+
pdf_url?: string | null;
|
|
32604
33092
|
pogingen?: number;
|
|
32605
33093
|
printer_id?: string | null;
|
|
32606
33094
|
render_html?: string | null;
|
|
32607
33095
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
32608
33096
|
updated_at?: string;
|
|
33097
|
+
volgende_poging?: string | null;
|
|
32609
33098
|
voltooid_op?: string | null;
|
|
32610
33099
|
};
|
|
32611
33100
|
Update: {
|
|
@@ -32614,22 +33103,27 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
32614
33103
|
created_at?: string;
|
|
32615
33104
|
documentnaam?: string;
|
|
32616
33105
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
33106
|
+
extern_job_id?: string | null;
|
|
32617
33107
|
foutmelding?: string | null;
|
|
32618
33108
|
gebruiker_id?: string | null;
|
|
32619
33109
|
gebruiker_naam?: string;
|
|
32620
33110
|
gestart_op?: string | null;
|
|
32621
33111
|
id?: string;
|
|
33112
|
+
idempotentie_sleutel?: string | null;
|
|
32622
33113
|
is_herprint?: boolean;
|
|
32623
33114
|
kopieen?: number;
|
|
32624
33115
|
layout_id?: string | null;
|
|
32625
33116
|
opgepakt_op?: string | null;
|
|
32626
33117
|
paginas?: number;
|
|
32627
33118
|
payload?: import("../integrations/supabase/types").Json;
|
|
33119
|
+
pdf_base64?: string | null;
|
|
33120
|
+
pdf_url?: string | null;
|
|
32628
33121
|
pogingen?: number;
|
|
32629
33122
|
printer_id?: string | null;
|
|
32630
33123
|
render_html?: string | null;
|
|
32631
33124
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
32632
33125
|
updated_at?: string;
|
|
33126
|
+
volgende_poging?: string | null;
|
|
32633
33127
|
voltooid_op?: string | null;
|
|
32634
33128
|
};
|
|
32635
33129
|
Relationships: [{
|
|
@@ -32812,6 +33306,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
32812
33306
|
agent_id: string | null;
|
|
32813
33307
|
created_at: string;
|
|
32814
33308
|
driver: string;
|
|
33309
|
+
extern_printer_id: string | null;
|
|
32815
33310
|
id: string;
|
|
32816
33311
|
ip_adres: string | null;
|
|
32817
33312
|
laatst_gezien: string | null;
|
|
@@ -32833,6 +33328,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
32833
33328
|
agent_id?: string | null;
|
|
32834
33329
|
created_at?: string;
|
|
32835
33330
|
driver?: string;
|
|
33331
|
+
extern_printer_id?: string | null;
|
|
32836
33332
|
id?: string;
|
|
32837
33333
|
ip_adres?: string | null;
|
|
32838
33334
|
laatst_gezien?: string | null;
|
|
@@ -32854,6 +33350,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
32854
33350
|
agent_id?: string | null;
|
|
32855
33351
|
created_at?: string;
|
|
32856
33352
|
driver?: string;
|
|
33353
|
+
extern_printer_id?: string | null;
|
|
32857
33354
|
id?: string;
|
|
32858
33355
|
ip_adres?: string | null;
|
|
32859
33356
|
laatst_gezien?: string | null;
|
|
@@ -38458,6 +38955,125 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
38458
38955
|
};
|
|
38459
38956
|
Returns: import("../integrations/supabase/types").Json;
|
|
38460
38957
|
};
|
|
38958
|
+
claim_cloud_print_jobs: {
|
|
38959
|
+
Args: {
|
|
38960
|
+
_max?: number;
|
|
38961
|
+
};
|
|
38962
|
+
Returns: {
|
|
38963
|
+
agent_id: string | null;
|
|
38964
|
+
bron_job_id: string | null;
|
|
38965
|
+
created_at: string;
|
|
38966
|
+
documentnaam: string;
|
|
38967
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
38968
|
+
extern_job_id: string | null;
|
|
38969
|
+
foutmelding: string | null;
|
|
38970
|
+
gebruiker_id: string | null;
|
|
38971
|
+
gebruiker_naam: string;
|
|
38972
|
+
gestart_op: string | null;
|
|
38973
|
+
id: string;
|
|
38974
|
+
idempotentie_sleutel: string | null;
|
|
38975
|
+
is_herprint: boolean;
|
|
38976
|
+
kopieen: number;
|
|
38977
|
+
layout_id: string | null;
|
|
38978
|
+
opgepakt_op: string | null;
|
|
38979
|
+
paginas: number;
|
|
38980
|
+
payload: import("../integrations/supabase/types").Json;
|
|
38981
|
+
pdf_base64: string | null;
|
|
38982
|
+
pdf_url: string | null;
|
|
38983
|
+
pogingen: number;
|
|
38984
|
+
printer_id: string | null;
|
|
38985
|
+
render_html: string | null;
|
|
38986
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
38987
|
+
updated_at: string;
|
|
38988
|
+
volgende_poging: string | null;
|
|
38989
|
+
voltooid_op: string | null;
|
|
38990
|
+
}[];
|
|
38991
|
+
SetofOptions: {
|
|
38992
|
+
from: "*";
|
|
38993
|
+
to: "print_jobs";
|
|
38994
|
+
isOneToOne: false;
|
|
38995
|
+
isSetofReturn: true;
|
|
38996
|
+
};
|
|
38997
|
+
};
|
|
38998
|
+
claim_floriday_stock_queue: {
|
|
38999
|
+
Args: {
|
|
39000
|
+
p_limit?: number;
|
|
39001
|
+
p_worker?: string;
|
|
39002
|
+
};
|
|
39003
|
+
Returns: {
|
|
39004
|
+
attempts: number;
|
|
39005
|
+
connection_id: string;
|
|
39006
|
+
created_at: string;
|
|
39007
|
+
desired_available: boolean | null;
|
|
39008
|
+
gateway_attempt_id: string | null;
|
|
39009
|
+
id: string;
|
|
39010
|
+
last_error: string | null;
|
|
39011
|
+
locked_at: string | null;
|
|
39012
|
+
locked_by: string | null;
|
|
39013
|
+
next_attempt_at: string;
|
|
39014
|
+
number_of_pieces: number;
|
|
39015
|
+
sent_at: string | null;
|
|
39016
|
+
status: string;
|
|
39017
|
+
superseded_by: string | null;
|
|
39018
|
+
trade_item_id: string;
|
|
39019
|
+
updated_at: string;
|
|
39020
|
+
user_id: string;
|
|
39021
|
+
}[];
|
|
39022
|
+
SetofOptions: {
|
|
39023
|
+
from: "*";
|
|
39024
|
+
to: "floriday_continuous_stock_queue";
|
|
39025
|
+
isOneToOne: false;
|
|
39026
|
+
isSetofReturn: true;
|
|
39027
|
+
};
|
|
39028
|
+
};
|
|
39029
|
+
claim_logistics_tasks: {
|
|
39030
|
+
Args: {
|
|
39031
|
+
_limit?: number;
|
|
39032
|
+
_owner_module: string;
|
|
39033
|
+
_stale_minutes?: number;
|
|
39034
|
+
_task_type: string;
|
|
39035
|
+
_worker: string;
|
|
39036
|
+
};
|
|
39037
|
+
Returns: {
|
|
39038
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39039
|
+
attempts: number;
|
|
39040
|
+
buffer_ref: string | null;
|
|
39041
|
+
claimed_at: string | null;
|
|
39042
|
+
claimed_by: string | null;
|
|
39043
|
+
completed_at: string | null;
|
|
39044
|
+
created_at: string;
|
|
39045
|
+
depends_on: string[];
|
|
39046
|
+
due_at: string | null;
|
|
39047
|
+
error: string | null;
|
|
39048
|
+
id: string;
|
|
39049
|
+
last_error: string | null;
|
|
39050
|
+
next_attempt_at: string | null;
|
|
39051
|
+
order_ref: string;
|
|
39052
|
+
owner_module: string;
|
|
39053
|
+
payload: import("../integrations/supabase/types").Json;
|
|
39054
|
+
plan_run_id: string | null;
|
|
39055
|
+
planned_end: string | null;
|
|
39056
|
+
planned_start: string | null;
|
|
39057
|
+
priority: number;
|
|
39058
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
39059
|
+
rule_config_id: string | null;
|
|
39060
|
+
rule_version: number | null;
|
|
39061
|
+
sequence: number;
|
|
39062
|
+
shadow: boolean;
|
|
39063
|
+
started_at: string | null;
|
|
39064
|
+
status: string;
|
|
39065
|
+
strategy_id: string | null;
|
|
39066
|
+
task_type: string;
|
|
39067
|
+
updated_at: string;
|
|
39068
|
+
user_id: string;
|
|
39069
|
+
}[];
|
|
39070
|
+
SetofOptions: {
|
|
39071
|
+
from: "*";
|
|
39072
|
+
to: "logistics_tasks";
|
|
39073
|
+
isOneToOne: false;
|
|
39074
|
+
isSetofReturn: true;
|
|
39075
|
+
};
|
|
39076
|
+
};
|
|
38461
39077
|
claim_print_jobs: {
|
|
38462
39078
|
Args: {
|
|
38463
39079
|
_agent_id: string;
|
|
@@ -38469,22 +39085,27 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
38469
39085
|
created_at: string;
|
|
38470
39086
|
documentnaam: string;
|
|
38471
39087
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
39088
|
+
extern_job_id: string | null;
|
|
38472
39089
|
foutmelding: string | null;
|
|
38473
39090
|
gebruiker_id: string | null;
|
|
38474
39091
|
gebruiker_naam: string;
|
|
38475
39092
|
gestart_op: string | null;
|
|
38476
39093
|
id: string;
|
|
39094
|
+
idempotentie_sleutel: string | null;
|
|
38477
39095
|
is_herprint: boolean;
|
|
38478
39096
|
kopieen: number;
|
|
38479
39097
|
layout_id: string | null;
|
|
38480
39098
|
opgepakt_op: string | null;
|
|
38481
39099
|
paginas: number;
|
|
38482
39100
|
payload: import("../integrations/supabase/types").Json;
|
|
39101
|
+
pdf_base64: string | null;
|
|
39102
|
+
pdf_url: string | null;
|
|
38483
39103
|
pogingen: number;
|
|
38484
39104
|
printer_id: string | null;
|
|
38485
39105
|
render_html: string | null;
|
|
38486
39106
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
38487
39107
|
updated_at: string;
|
|
39108
|
+
volgende_poging: string | null;
|
|
38488
39109
|
voltooid_op: string | null;
|
|
38489
39110
|
}[];
|
|
38490
39111
|
SetofOptions: {
|
|
@@ -38522,10 +39143,24 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
38522
39143
|
isSetofReturn: true;
|
|
38523
39144
|
};
|
|
38524
39145
|
};
|
|
39146
|
+
cleanup_floriday_stock_queue: {
|
|
39147
|
+
Args: never;
|
|
39148
|
+
Returns: undefined;
|
|
39149
|
+
};
|
|
38525
39150
|
cleanup_old_bookings: {
|
|
38526
39151
|
Args: never;
|
|
38527
39152
|
Returns: undefined;
|
|
38528
39153
|
};
|
|
39154
|
+
complete_floriday_stock_queue: {
|
|
39155
|
+
Args: {
|
|
39156
|
+
p_attempt_id?: string;
|
|
39157
|
+
p_error?: string;
|
|
39158
|
+
p_id: string;
|
|
39159
|
+
p_ok: boolean;
|
|
39160
|
+
p_permanent?: boolean;
|
|
39161
|
+
};
|
|
39162
|
+
Returns: undefined;
|
|
39163
|
+
};
|
|
38529
39164
|
consume_bom_for_production: {
|
|
38530
39165
|
Args: {
|
|
38531
39166
|
p_connection_id: string;
|
|
@@ -38922,6 +39557,10 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
38922
39557
|
};
|
|
38923
39558
|
Returns: number;
|
|
38924
39559
|
};
|
|
39560
|
+
get_offer_branding: {
|
|
39561
|
+
Args: never;
|
|
39562
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
39563
|
+
};
|
|
38925
39564
|
get_offer_by_link_code: {
|
|
38926
39565
|
Args: {
|
|
38927
39566
|
p_code: string;
|
|
@@ -39213,6 +39852,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
39213
39852
|
p_worker?: string;
|
|
39214
39853
|
};
|
|
39215
39854
|
Returns: {
|
|
39855
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39856
|
+
attempts: number;
|
|
39216
39857
|
buffer_ref: string | null;
|
|
39217
39858
|
claimed_at: string | null;
|
|
39218
39859
|
claimed_by: string | null;
|
|
@@ -39222,6 +39863,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
39222
39863
|
due_at: string | null;
|
|
39223
39864
|
error: string | null;
|
|
39224
39865
|
id: string;
|
|
39866
|
+
last_error: string | null;
|
|
39867
|
+
next_attempt_at: string | null;
|
|
39225
39868
|
order_ref: string;
|
|
39226
39869
|
owner_module: string;
|
|
39227
39870
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -39254,6 +39897,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
39254
39897
|
p_worker?: string;
|
|
39255
39898
|
};
|
|
39256
39899
|
Returns: {
|
|
39900
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39901
|
+
attempts: number;
|
|
39257
39902
|
buffer_ref: string | null;
|
|
39258
39903
|
claimed_at: string | null;
|
|
39259
39904
|
claimed_by: string | null;
|
|
@@ -39263,6 +39908,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
39263
39908
|
due_at: string | null;
|
|
39264
39909
|
error: string | null;
|
|
39265
39910
|
id: string;
|
|
39911
|
+
last_error: string | null;
|
|
39912
|
+
next_attempt_at: string | null;
|
|
39266
39913
|
order_ref: string;
|
|
39267
39914
|
owner_module: string;
|
|
39268
39915
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -39295,6 +39942,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
39295
39942
|
p_task_id: string;
|
|
39296
39943
|
};
|
|
39297
39944
|
Returns: {
|
|
39945
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39946
|
+
attempts: number;
|
|
39298
39947
|
buffer_ref: string | null;
|
|
39299
39948
|
claimed_at: string | null;
|
|
39300
39949
|
claimed_by: string | null;
|
|
@@ -39304,6 +39953,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
39304
39953
|
due_at: string | null;
|
|
39305
39954
|
error: string | null;
|
|
39306
39955
|
id: string;
|
|
39956
|
+
last_error: string | null;
|
|
39957
|
+
next_attempt_at: string | null;
|
|
39307
39958
|
order_ref: string;
|
|
39308
39959
|
owner_module: string;
|
|
39309
39960
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -39385,6 +40036,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
39385
40036
|
p_task_id: string;
|
|
39386
40037
|
};
|
|
39387
40038
|
Returns: {
|
|
40039
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
40040
|
+
attempts: number;
|
|
39388
40041
|
buffer_ref: string | null;
|
|
39389
40042
|
claimed_at: string | null;
|
|
39390
40043
|
claimed_by: string | null;
|
|
@@ -39394,6 +40047,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
39394
40047
|
due_at: string | null;
|
|
39395
40048
|
error: string | null;
|
|
39396
40049
|
id: string;
|
|
40050
|
+
last_error: string | null;
|
|
40051
|
+
next_attempt_at: string | null;
|
|
39397
40052
|
order_ref: string;
|
|
39398
40053
|
owner_module: string;
|
|
39399
40054
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -39420,6 +40075,51 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
39420
40075
|
isSetofReturn: false;
|
|
39421
40076
|
};
|
|
39422
40077
|
};
|
|
40078
|
+
logistics_floriday_claim_pushes: {
|
|
40079
|
+
Args: {
|
|
40080
|
+
_lease_seconds?: number;
|
|
40081
|
+
_limit?: number;
|
|
40082
|
+
_worker?: string;
|
|
40083
|
+
};
|
|
40084
|
+
Returns: {
|
|
40085
|
+
attempts: number;
|
|
40086
|
+
fulfillment_order_id: string;
|
|
40087
|
+
id: string;
|
|
40088
|
+
last_sent_hash: string;
|
|
40089
|
+
order_ref: string;
|
|
40090
|
+
payload: import("../integrations/supabase/types").Json;
|
|
40091
|
+
payload_hash: string;
|
|
40092
|
+
revision: number;
|
|
40093
|
+
}[];
|
|
40094
|
+
};
|
|
40095
|
+
logistics_floriday_finish_push: {
|
|
40096
|
+
Args: {
|
|
40097
|
+
_error?: string;
|
|
40098
|
+
_fulfillment_order_id?: string;
|
|
40099
|
+
_id: string;
|
|
40100
|
+
_max_age_hours?: number;
|
|
40101
|
+
_max_attempts?: number;
|
|
40102
|
+
_ok: boolean;
|
|
40103
|
+
_permanent?: boolean;
|
|
40104
|
+
_revision: number;
|
|
40105
|
+
_sent_hash?: string;
|
|
40106
|
+
};
|
|
40107
|
+
Returns: string;
|
|
40108
|
+
};
|
|
40109
|
+
logistics_floriday_prune_pushes: {
|
|
40110
|
+
Args: {
|
|
40111
|
+
_days?: number;
|
|
40112
|
+
};
|
|
40113
|
+
Returns: number;
|
|
40114
|
+
};
|
|
40115
|
+
logistics_floriday_queue_push: {
|
|
40116
|
+
Args: {
|
|
40117
|
+
_order_ref: string;
|
|
40118
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
40119
|
+
_payload_hash?: string;
|
|
40120
|
+
};
|
|
40121
|
+
Returns: string;
|
|
40122
|
+
};
|
|
39423
40123
|
logistics_live_carriers: {
|
|
39424
40124
|
Args: {
|
|
39425
40125
|
p_order_ref: string;
|
|
@@ -39767,6 +40467,15 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
39767
40467
|
};
|
|
39768
40468
|
Returns: string;
|
|
39769
40469
|
};
|
|
40470
|
+
pick_active_printers: {
|
|
40471
|
+
Args: never;
|
|
40472
|
+
Returns: {
|
|
40473
|
+
id: string;
|
|
40474
|
+
locatie: string;
|
|
40475
|
+
naam: string;
|
|
40476
|
+
online: boolean;
|
|
40477
|
+
}[];
|
|
40478
|
+
};
|
|
39770
40479
|
pick_claim_document: {
|
|
39771
40480
|
Args: {
|
|
39772
40481
|
_queue_item_id: string;
|
|
@@ -39953,6 +40662,52 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
39953
40662
|
};
|
|
39954
40663
|
Returns: undefined;
|
|
39955
40664
|
};
|
|
40665
|
+
pick_reset_print: {
|
|
40666
|
+
Args: {
|
|
40667
|
+
_queue_item_id: string;
|
|
40668
|
+
_session_id: string;
|
|
40669
|
+
};
|
|
40670
|
+
Returns: {
|
|
40671
|
+
announced_at: string;
|
|
40672
|
+
assigned_user_id: string | null;
|
|
40673
|
+
barcode: string | null;
|
|
40674
|
+
cancelled_at: string | null;
|
|
40675
|
+
cart_count: number;
|
|
40676
|
+
completed_at: string | null;
|
|
40677
|
+
country_code: string | null;
|
|
40678
|
+
created_at: string;
|
|
40679
|
+
customer_name: string | null;
|
|
40680
|
+
delivery_address: string | null;
|
|
40681
|
+
document_number: string | null;
|
|
40682
|
+
document_type_id: string | null;
|
|
40683
|
+
due_at: string | null;
|
|
40684
|
+
id: string;
|
|
40685
|
+
is_urgent: boolean;
|
|
40686
|
+
line_count: number;
|
|
40687
|
+
order_number: string | null;
|
|
40688
|
+
order_type: string | null;
|
|
40689
|
+
payload: import("../integrations/supabase/types").Json;
|
|
40690
|
+
print_count: number;
|
|
40691
|
+
print_job_id: string | null;
|
|
40692
|
+
printed_at: string | null;
|
|
40693
|
+
printed_by: string | null;
|
|
40694
|
+
printer_id: string | null;
|
|
40695
|
+
priority: number;
|
|
40696
|
+
reference: string | null;
|
|
40697
|
+
route: string | null;
|
|
40698
|
+
screen_id: string | null;
|
|
40699
|
+
station_id: string | null;
|
|
40700
|
+
status_id: string | null;
|
|
40701
|
+
updated_at: string;
|
|
40702
|
+
warnings: import("../integrations/supabase/types").Json;
|
|
40703
|
+
};
|
|
40704
|
+
SetofOptions: {
|
|
40705
|
+
from: "*";
|
|
40706
|
+
to: "pick_queue";
|
|
40707
|
+
isOneToOne: true;
|
|
40708
|
+
isSetofReturn: false;
|
|
40709
|
+
};
|
|
40710
|
+
};
|
|
39956
40711
|
pick_station_dashboard: {
|
|
39957
40712
|
Args: never;
|
|
39958
40713
|
Returns: {
|
|
@@ -40143,10 +40898,20 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
40143
40898
|
};
|
|
40144
40899
|
Returns: import("../integrations/supabase/types").Json;
|
|
40145
40900
|
};
|
|
40901
|
+
ruim_print_jobs_op: {
|
|
40902
|
+
Args: {
|
|
40903
|
+
_bewaar_dagen?: number;
|
|
40904
|
+
};
|
|
40905
|
+
Returns: number;
|
|
40906
|
+
};
|
|
40146
40907
|
run_floriday_continuous_stock_sync: {
|
|
40147
40908
|
Args: never;
|
|
40148
40909
|
Returns: undefined;
|
|
40149
40910
|
};
|
|
40911
|
+
run_logistics_tasks_dispatch: {
|
|
40912
|
+
Args: never;
|
|
40913
|
+
Returns: undefined;
|
|
40914
|
+
};
|
|
40150
40915
|
run_twinfield_queue_tick: {
|
|
40151
40916
|
Args: never;
|
|
40152
40917
|
Returns: undefined;
|
|
@@ -40387,6 +41152,13 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
40387
41152
|
};
|
|
40388
41153
|
Returns: number;
|
|
40389
41154
|
};
|
|
41155
|
+
schedule_floriday_stock_queue_process: {
|
|
41156
|
+
Args: {
|
|
41157
|
+
p_apikey: string;
|
|
41158
|
+
p_url: string;
|
|
41159
|
+
};
|
|
41160
|
+
Returns: number;
|
|
41161
|
+
};
|
|
40390
41162
|
schedule_floriday_token_refresh: {
|
|
40391
41163
|
Args: {
|
|
40392
41164
|
p_apikey: string;
|
|
@@ -40576,7 +41348,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
40576
41348
|
};
|
|
40577
41349
|
Enums: {
|
|
40578
41350
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
40579
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
41351
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
40580
41352
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
40581
41353
|
doc_orientation: "portrait" | "landscape";
|
|
40582
41354
|
exact_env: "staging" | "live";
|
|
@@ -46304,12 +47076,17 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
46304
47076
|
attempts: number;
|
|
46305
47077
|
connection_id: string;
|
|
46306
47078
|
created_at: string;
|
|
47079
|
+
desired_available: boolean | null;
|
|
46307
47080
|
gateway_attempt_id: string | null;
|
|
46308
47081
|
id: string;
|
|
46309
47082
|
last_error: string | null;
|
|
47083
|
+
locked_at: string | null;
|
|
47084
|
+
locked_by: string | null;
|
|
47085
|
+
next_attempt_at: string;
|
|
46310
47086
|
number_of_pieces: number;
|
|
46311
47087
|
sent_at: string | null;
|
|
46312
47088
|
status: string;
|
|
47089
|
+
superseded_by: string | null;
|
|
46313
47090
|
trade_item_id: string;
|
|
46314
47091
|
updated_at: string;
|
|
46315
47092
|
user_id: string;
|
|
@@ -46318,12 +47095,17 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
46318
47095
|
attempts?: number;
|
|
46319
47096
|
connection_id: string;
|
|
46320
47097
|
created_at?: string;
|
|
47098
|
+
desired_available?: boolean | null;
|
|
46321
47099
|
gateway_attempt_id?: string | null;
|
|
46322
47100
|
id?: string;
|
|
46323
47101
|
last_error?: string | null;
|
|
47102
|
+
locked_at?: string | null;
|
|
47103
|
+
locked_by?: string | null;
|
|
47104
|
+
next_attempt_at?: string;
|
|
46324
47105
|
number_of_pieces?: number;
|
|
46325
47106
|
sent_at?: string | null;
|
|
46326
47107
|
status?: string;
|
|
47108
|
+
superseded_by?: string | null;
|
|
46327
47109
|
trade_item_id: string;
|
|
46328
47110
|
updated_at?: string;
|
|
46329
47111
|
user_id: string;
|
|
@@ -46332,12 +47114,17 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
46332
47114
|
attempts?: number;
|
|
46333
47115
|
connection_id?: string;
|
|
46334
47116
|
created_at?: string;
|
|
47117
|
+
desired_available?: boolean | null;
|
|
46335
47118
|
gateway_attempt_id?: string | null;
|
|
46336
47119
|
id?: string;
|
|
46337
47120
|
last_error?: string | null;
|
|
47121
|
+
locked_at?: string | null;
|
|
47122
|
+
locked_by?: string | null;
|
|
47123
|
+
next_attempt_at?: string;
|
|
46338
47124
|
number_of_pieces?: number;
|
|
46339
47125
|
sent_at?: string | null;
|
|
46340
47126
|
status?: string;
|
|
47127
|
+
superseded_by?: string | null;
|
|
46341
47128
|
trade_item_id?: string;
|
|
46342
47129
|
updated_at?: string;
|
|
46343
47130
|
user_id?: string;
|
|
@@ -49086,6 +49873,69 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
49086
49873
|
};
|
|
49087
49874
|
Relationships: [];
|
|
49088
49875
|
};
|
|
49876
|
+
logistics_floriday_pushes: {
|
|
49877
|
+
Row: {
|
|
49878
|
+
attempts: number;
|
|
49879
|
+
created_at: string;
|
|
49880
|
+
first_queued_at: string;
|
|
49881
|
+
fulfillment_order_id: string | null;
|
|
49882
|
+
id: string;
|
|
49883
|
+
last_error: string | null;
|
|
49884
|
+
last_error_at: string | null;
|
|
49885
|
+
last_sent_hash: string | null;
|
|
49886
|
+
locked_by: string | null;
|
|
49887
|
+
locked_until: string | null;
|
|
49888
|
+
next_attempt_at: string;
|
|
49889
|
+
order_ref: string;
|
|
49890
|
+
payload: import("../integrations/supabase/types").Json;
|
|
49891
|
+
payload_hash: string | null;
|
|
49892
|
+
revision: number;
|
|
49893
|
+
sent_at: string | null;
|
|
49894
|
+
status: string;
|
|
49895
|
+
updated_at: string;
|
|
49896
|
+
};
|
|
49897
|
+
Insert: {
|
|
49898
|
+
attempts?: number;
|
|
49899
|
+
created_at?: string;
|
|
49900
|
+
first_queued_at?: string;
|
|
49901
|
+
fulfillment_order_id?: string | null;
|
|
49902
|
+
id?: string;
|
|
49903
|
+
last_error?: string | null;
|
|
49904
|
+
last_error_at?: string | null;
|
|
49905
|
+
last_sent_hash?: string | null;
|
|
49906
|
+
locked_by?: string | null;
|
|
49907
|
+
locked_until?: string | null;
|
|
49908
|
+
next_attempt_at?: string;
|
|
49909
|
+
order_ref: string;
|
|
49910
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
49911
|
+
payload_hash?: string | null;
|
|
49912
|
+
revision?: number;
|
|
49913
|
+
sent_at?: string | null;
|
|
49914
|
+
status?: string;
|
|
49915
|
+
updated_at?: string;
|
|
49916
|
+
};
|
|
49917
|
+
Update: {
|
|
49918
|
+
attempts?: number;
|
|
49919
|
+
created_at?: string;
|
|
49920
|
+
first_queued_at?: string;
|
|
49921
|
+
fulfillment_order_id?: string | null;
|
|
49922
|
+
id?: string;
|
|
49923
|
+
last_error?: string | null;
|
|
49924
|
+
last_error_at?: string | null;
|
|
49925
|
+
last_sent_hash?: string | null;
|
|
49926
|
+
locked_by?: string | null;
|
|
49927
|
+
locked_until?: string | null;
|
|
49928
|
+
next_attempt_at?: string;
|
|
49929
|
+
order_ref?: string;
|
|
49930
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
49931
|
+
payload_hash?: string | null;
|
|
49932
|
+
revision?: number;
|
|
49933
|
+
sent_at?: string | null;
|
|
49934
|
+
status?: string;
|
|
49935
|
+
updated_at?: string;
|
|
49936
|
+
};
|
|
49937
|
+
Relationships: [];
|
|
49938
|
+
};
|
|
49089
49939
|
logistics_formulas: {
|
|
49090
49940
|
Row: {
|
|
49091
49941
|
created_at: string;
|
|
@@ -49697,6 +50547,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
49697
50547
|
};
|
|
49698
50548
|
logistics_tasks: {
|
|
49699
50549
|
Row: {
|
|
50550
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
50551
|
+
attempts: number;
|
|
49700
50552
|
buffer_ref: string | null;
|
|
49701
50553
|
claimed_at: string | null;
|
|
49702
50554
|
claimed_by: string | null;
|
|
@@ -49706,6 +50558,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
49706
50558
|
due_at: string | null;
|
|
49707
50559
|
error: string | null;
|
|
49708
50560
|
id: string;
|
|
50561
|
+
last_error: string | null;
|
|
50562
|
+
next_attempt_at: string | null;
|
|
49709
50563
|
order_ref: string;
|
|
49710
50564
|
owner_module: string;
|
|
49711
50565
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -49726,6 +50580,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
49726
50580
|
user_id: string;
|
|
49727
50581
|
};
|
|
49728
50582
|
Insert: {
|
|
50583
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
50584
|
+
attempts?: number;
|
|
49729
50585
|
buffer_ref?: string | null;
|
|
49730
50586
|
claimed_at?: string | null;
|
|
49731
50587
|
claimed_by?: string | null;
|
|
@@ -49735,6 +50591,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
49735
50591
|
due_at?: string | null;
|
|
49736
50592
|
error?: string | null;
|
|
49737
50593
|
id?: string;
|
|
50594
|
+
last_error?: string | null;
|
|
50595
|
+
next_attempt_at?: string | null;
|
|
49738
50596
|
order_ref: string;
|
|
49739
50597
|
owner_module: string;
|
|
49740
50598
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -49755,6 +50613,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
49755
50613
|
user_id?: string;
|
|
49756
50614
|
};
|
|
49757
50615
|
Update: {
|
|
50616
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
50617
|
+
attempts?: number;
|
|
49758
50618
|
buffer_ref?: string | null;
|
|
49759
50619
|
claimed_at?: string | null;
|
|
49760
50620
|
claimed_by?: string | null;
|
|
@@ -49764,6 +50624,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
49764
50624
|
due_at?: string | null;
|
|
49765
50625
|
error?: string | null;
|
|
49766
50626
|
id?: string;
|
|
50627
|
+
last_error?: string | null;
|
|
50628
|
+
next_attempt_at?: string | null;
|
|
49767
50629
|
order_ref?: string;
|
|
49768
50630
|
owner_module?: string;
|
|
49769
50631
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -51113,6 +51975,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
51113
51975
|
};
|
|
51114
51976
|
offer_settings: {
|
|
51115
51977
|
Row: {
|
|
51978
|
+
brand_name: string | null;
|
|
51116
51979
|
button_color: string;
|
|
51117
51980
|
created_at: string;
|
|
51118
51981
|
default_countries: string[];
|
|
@@ -51134,6 +51997,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
51134
51997
|
updated_at: string;
|
|
51135
51998
|
};
|
|
51136
51999
|
Insert: {
|
|
52000
|
+
brand_name?: string | null;
|
|
51137
52001
|
button_color?: string;
|
|
51138
52002
|
created_at?: string;
|
|
51139
52003
|
default_countries?: string[];
|
|
@@ -51155,6 +52019,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
51155
52019
|
updated_at?: string;
|
|
51156
52020
|
};
|
|
51157
52021
|
Update: {
|
|
52022
|
+
brand_name?: string | null;
|
|
51158
52023
|
button_color?: string;
|
|
51159
52024
|
created_at?: string;
|
|
51160
52025
|
default_countries?: string[];
|
|
@@ -52873,22 +53738,27 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
52873
53738
|
created_at: string;
|
|
52874
53739
|
documentnaam: string;
|
|
52875
53740
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
53741
|
+
extern_job_id: string | null;
|
|
52876
53742
|
foutmelding: string | null;
|
|
52877
53743
|
gebruiker_id: string | null;
|
|
52878
53744
|
gebruiker_naam: string;
|
|
52879
53745
|
gestart_op: string | null;
|
|
52880
53746
|
id: string;
|
|
53747
|
+
idempotentie_sleutel: string | null;
|
|
52881
53748
|
is_herprint: boolean;
|
|
52882
53749
|
kopieen: number;
|
|
52883
53750
|
layout_id: string | null;
|
|
52884
53751
|
opgepakt_op: string | null;
|
|
52885
53752
|
paginas: number;
|
|
52886
53753
|
payload: import("../integrations/supabase/types").Json;
|
|
53754
|
+
pdf_base64: string | null;
|
|
53755
|
+
pdf_url: string | null;
|
|
52887
53756
|
pogingen: number;
|
|
52888
53757
|
printer_id: string | null;
|
|
52889
53758
|
render_html: string | null;
|
|
52890
53759
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
52891
53760
|
updated_at: string;
|
|
53761
|
+
volgende_poging: string | null;
|
|
52892
53762
|
voltooid_op: string | null;
|
|
52893
53763
|
};
|
|
52894
53764
|
Insert: {
|
|
@@ -52897,22 +53767,27 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
52897
53767
|
created_at?: string;
|
|
52898
53768
|
documentnaam?: string;
|
|
52899
53769
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
53770
|
+
extern_job_id?: string | null;
|
|
52900
53771
|
foutmelding?: string | null;
|
|
52901
53772
|
gebruiker_id?: string | null;
|
|
52902
53773
|
gebruiker_naam?: string;
|
|
52903
53774
|
gestart_op?: string | null;
|
|
52904
53775
|
id?: string;
|
|
53776
|
+
idempotentie_sleutel?: string | null;
|
|
52905
53777
|
is_herprint?: boolean;
|
|
52906
53778
|
kopieen?: number;
|
|
52907
53779
|
layout_id?: string | null;
|
|
52908
53780
|
opgepakt_op?: string | null;
|
|
52909
53781
|
paginas?: number;
|
|
52910
53782
|
payload?: import("../integrations/supabase/types").Json;
|
|
53783
|
+
pdf_base64?: string | null;
|
|
53784
|
+
pdf_url?: string | null;
|
|
52911
53785
|
pogingen?: number;
|
|
52912
53786
|
printer_id?: string | null;
|
|
52913
53787
|
render_html?: string | null;
|
|
52914
53788
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
52915
53789
|
updated_at?: string;
|
|
53790
|
+
volgende_poging?: string | null;
|
|
52916
53791
|
voltooid_op?: string | null;
|
|
52917
53792
|
};
|
|
52918
53793
|
Update: {
|
|
@@ -52921,22 +53796,27 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
52921
53796
|
created_at?: string;
|
|
52922
53797
|
documentnaam?: string;
|
|
52923
53798
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
53799
|
+
extern_job_id?: string | null;
|
|
52924
53800
|
foutmelding?: string | null;
|
|
52925
53801
|
gebruiker_id?: string | null;
|
|
52926
53802
|
gebruiker_naam?: string;
|
|
52927
53803
|
gestart_op?: string | null;
|
|
52928
53804
|
id?: string;
|
|
53805
|
+
idempotentie_sleutel?: string | null;
|
|
52929
53806
|
is_herprint?: boolean;
|
|
52930
53807
|
kopieen?: number;
|
|
52931
53808
|
layout_id?: string | null;
|
|
52932
53809
|
opgepakt_op?: string | null;
|
|
52933
53810
|
paginas?: number;
|
|
52934
53811
|
payload?: import("../integrations/supabase/types").Json;
|
|
53812
|
+
pdf_base64?: string | null;
|
|
53813
|
+
pdf_url?: string | null;
|
|
52935
53814
|
pogingen?: number;
|
|
52936
53815
|
printer_id?: string | null;
|
|
52937
53816
|
render_html?: string | null;
|
|
52938
53817
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
52939
53818
|
updated_at?: string;
|
|
53819
|
+
volgende_poging?: string | null;
|
|
52940
53820
|
voltooid_op?: string | null;
|
|
52941
53821
|
};
|
|
52942
53822
|
Relationships: [{
|
|
@@ -53119,6 +53999,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
53119
53999
|
agent_id: string | null;
|
|
53120
54000
|
created_at: string;
|
|
53121
54001
|
driver: string;
|
|
54002
|
+
extern_printer_id: string | null;
|
|
53122
54003
|
id: string;
|
|
53123
54004
|
ip_adres: string | null;
|
|
53124
54005
|
laatst_gezien: string | null;
|
|
@@ -53140,6 +54021,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
53140
54021
|
agent_id?: string | null;
|
|
53141
54022
|
created_at?: string;
|
|
53142
54023
|
driver?: string;
|
|
54024
|
+
extern_printer_id?: string | null;
|
|
53143
54025
|
id?: string;
|
|
53144
54026
|
ip_adres?: string | null;
|
|
53145
54027
|
laatst_gezien?: string | null;
|
|
@@ -53161,6 +54043,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
53161
54043
|
agent_id?: string | null;
|
|
53162
54044
|
created_at?: string;
|
|
53163
54045
|
driver?: string;
|
|
54046
|
+
extern_printer_id?: string | null;
|
|
53164
54047
|
id?: string;
|
|
53165
54048
|
ip_adres?: string | null;
|
|
53166
54049
|
laatst_gezien?: string | null;
|
|
@@ -58765,6 +59648,125 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
58765
59648
|
};
|
|
58766
59649
|
Returns: import("../integrations/supabase/types").Json;
|
|
58767
59650
|
};
|
|
59651
|
+
claim_cloud_print_jobs: {
|
|
59652
|
+
Args: {
|
|
59653
|
+
_max?: number;
|
|
59654
|
+
};
|
|
59655
|
+
Returns: {
|
|
59656
|
+
agent_id: string | null;
|
|
59657
|
+
bron_job_id: string | null;
|
|
59658
|
+
created_at: string;
|
|
59659
|
+
documentnaam: string;
|
|
59660
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
59661
|
+
extern_job_id: string | null;
|
|
59662
|
+
foutmelding: string | null;
|
|
59663
|
+
gebruiker_id: string | null;
|
|
59664
|
+
gebruiker_naam: string;
|
|
59665
|
+
gestart_op: string | null;
|
|
59666
|
+
id: string;
|
|
59667
|
+
idempotentie_sleutel: string | null;
|
|
59668
|
+
is_herprint: boolean;
|
|
59669
|
+
kopieen: number;
|
|
59670
|
+
layout_id: string | null;
|
|
59671
|
+
opgepakt_op: string | null;
|
|
59672
|
+
paginas: number;
|
|
59673
|
+
payload: import("../integrations/supabase/types").Json;
|
|
59674
|
+
pdf_base64: string | null;
|
|
59675
|
+
pdf_url: string | null;
|
|
59676
|
+
pogingen: number;
|
|
59677
|
+
printer_id: string | null;
|
|
59678
|
+
render_html: string | null;
|
|
59679
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
59680
|
+
updated_at: string;
|
|
59681
|
+
volgende_poging: string | null;
|
|
59682
|
+
voltooid_op: string | null;
|
|
59683
|
+
}[];
|
|
59684
|
+
SetofOptions: {
|
|
59685
|
+
from: "*";
|
|
59686
|
+
to: "print_jobs";
|
|
59687
|
+
isOneToOne: false;
|
|
59688
|
+
isSetofReturn: true;
|
|
59689
|
+
};
|
|
59690
|
+
};
|
|
59691
|
+
claim_floriday_stock_queue: {
|
|
59692
|
+
Args: {
|
|
59693
|
+
p_limit?: number;
|
|
59694
|
+
p_worker?: string;
|
|
59695
|
+
};
|
|
59696
|
+
Returns: {
|
|
59697
|
+
attempts: number;
|
|
59698
|
+
connection_id: string;
|
|
59699
|
+
created_at: string;
|
|
59700
|
+
desired_available: boolean | null;
|
|
59701
|
+
gateway_attempt_id: string | null;
|
|
59702
|
+
id: string;
|
|
59703
|
+
last_error: string | null;
|
|
59704
|
+
locked_at: string | null;
|
|
59705
|
+
locked_by: string | null;
|
|
59706
|
+
next_attempt_at: string;
|
|
59707
|
+
number_of_pieces: number;
|
|
59708
|
+
sent_at: string | null;
|
|
59709
|
+
status: string;
|
|
59710
|
+
superseded_by: string | null;
|
|
59711
|
+
trade_item_id: string;
|
|
59712
|
+
updated_at: string;
|
|
59713
|
+
user_id: string;
|
|
59714
|
+
}[];
|
|
59715
|
+
SetofOptions: {
|
|
59716
|
+
from: "*";
|
|
59717
|
+
to: "floriday_continuous_stock_queue";
|
|
59718
|
+
isOneToOne: false;
|
|
59719
|
+
isSetofReturn: true;
|
|
59720
|
+
};
|
|
59721
|
+
};
|
|
59722
|
+
claim_logistics_tasks: {
|
|
59723
|
+
Args: {
|
|
59724
|
+
_limit?: number;
|
|
59725
|
+
_owner_module: string;
|
|
59726
|
+
_stale_minutes?: number;
|
|
59727
|
+
_task_type: string;
|
|
59728
|
+
_worker: string;
|
|
59729
|
+
};
|
|
59730
|
+
Returns: {
|
|
59731
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
59732
|
+
attempts: number;
|
|
59733
|
+
buffer_ref: string | null;
|
|
59734
|
+
claimed_at: string | null;
|
|
59735
|
+
claimed_by: string | null;
|
|
59736
|
+
completed_at: string | null;
|
|
59737
|
+
created_at: string;
|
|
59738
|
+
depends_on: string[];
|
|
59739
|
+
due_at: string | null;
|
|
59740
|
+
error: string | null;
|
|
59741
|
+
id: string;
|
|
59742
|
+
last_error: string | null;
|
|
59743
|
+
next_attempt_at: string | null;
|
|
59744
|
+
order_ref: string;
|
|
59745
|
+
owner_module: string;
|
|
59746
|
+
payload: import("../integrations/supabase/types").Json;
|
|
59747
|
+
plan_run_id: string | null;
|
|
59748
|
+
planned_end: string | null;
|
|
59749
|
+
planned_start: string | null;
|
|
59750
|
+
priority: number;
|
|
59751
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
59752
|
+
rule_config_id: string | null;
|
|
59753
|
+
rule_version: number | null;
|
|
59754
|
+
sequence: number;
|
|
59755
|
+
shadow: boolean;
|
|
59756
|
+
started_at: string | null;
|
|
59757
|
+
status: string;
|
|
59758
|
+
strategy_id: string | null;
|
|
59759
|
+
task_type: string;
|
|
59760
|
+
updated_at: string;
|
|
59761
|
+
user_id: string;
|
|
59762
|
+
}[];
|
|
59763
|
+
SetofOptions: {
|
|
59764
|
+
from: "*";
|
|
59765
|
+
to: "logistics_tasks";
|
|
59766
|
+
isOneToOne: false;
|
|
59767
|
+
isSetofReturn: true;
|
|
59768
|
+
};
|
|
59769
|
+
};
|
|
58768
59770
|
claim_print_jobs: {
|
|
58769
59771
|
Args: {
|
|
58770
59772
|
_agent_id: string;
|
|
@@ -58776,22 +59778,27 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
58776
59778
|
created_at: string;
|
|
58777
59779
|
documentnaam: string;
|
|
58778
59780
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
59781
|
+
extern_job_id: string | null;
|
|
58779
59782
|
foutmelding: string | null;
|
|
58780
59783
|
gebruiker_id: string | null;
|
|
58781
59784
|
gebruiker_naam: string;
|
|
58782
59785
|
gestart_op: string | null;
|
|
58783
59786
|
id: string;
|
|
59787
|
+
idempotentie_sleutel: string | null;
|
|
58784
59788
|
is_herprint: boolean;
|
|
58785
59789
|
kopieen: number;
|
|
58786
59790
|
layout_id: string | null;
|
|
58787
59791
|
opgepakt_op: string | null;
|
|
58788
59792
|
paginas: number;
|
|
58789
59793
|
payload: import("../integrations/supabase/types").Json;
|
|
59794
|
+
pdf_base64: string | null;
|
|
59795
|
+
pdf_url: string | null;
|
|
58790
59796
|
pogingen: number;
|
|
58791
59797
|
printer_id: string | null;
|
|
58792
59798
|
render_html: string | null;
|
|
58793
59799
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
58794
59800
|
updated_at: string;
|
|
59801
|
+
volgende_poging: string | null;
|
|
58795
59802
|
voltooid_op: string | null;
|
|
58796
59803
|
}[];
|
|
58797
59804
|
SetofOptions: {
|
|
@@ -58829,10 +59836,24 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
58829
59836
|
isSetofReturn: true;
|
|
58830
59837
|
};
|
|
58831
59838
|
};
|
|
59839
|
+
cleanup_floriday_stock_queue: {
|
|
59840
|
+
Args: never;
|
|
59841
|
+
Returns: undefined;
|
|
59842
|
+
};
|
|
58832
59843
|
cleanup_old_bookings: {
|
|
58833
59844
|
Args: never;
|
|
58834
59845
|
Returns: undefined;
|
|
58835
59846
|
};
|
|
59847
|
+
complete_floriday_stock_queue: {
|
|
59848
|
+
Args: {
|
|
59849
|
+
p_attempt_id?: string;
|
|
59850
|
+
p_error?: string;
|
|
59851
|
+
p_id: string;
|
|
59852
|
+
p_ok: boolean;
|
|
59853
|
+
p_permanent?: boolean;
|
|
59854
|
+
};
|
|
59855
|
+
Returns: undefined;
|
|
59856
|
+
};
|
|
58836
59857
|
consume_bom_for_production: {
|
|
58837
59858
|
Args: {
|
|
58838
59859
|
p_connection_id: string;
|
|
@@ -59229,6 +60250,10 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
59229
60250
|
};
|
|
59230
60251
|
Returns: number;
|
|
59231
60252
|
};
|
|
60253
|
+
get_offer_branding: {
|
|
60254
|
+
Args: never;
|
|
60255
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60256
|
+
};
|
|
59232
60257
|
get_offer_by_link_code: {
|
|
59233
60258
|
Args: {
|
|
59234
60259
|
p_code: string;
|
|
@@ -59520,6 +60545,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
59520
60545
|
p_worker?: string;
|
|
59521
60546
|
};
|
|
59522
60547
|
Returns: {
|
|
60548
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60549
|
+
attempts: number;
|
|
59523
60550
|
buffer_ref: string | null;
|
|
59524
60551
|
claimed_at: string | null;
|
|
59525
60552
|
claimed_by: string | null;
|
|
@@ -59529,6 +60556,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
59529
60556
|
due_at: string | null;
|
|
59530
60557
|
error: string | null;
|
|
59531
60558
|
id: string;
|
|
60559
|
+
last_error: string | null;
|
|
60560
|
+
next_attempt_at: string | null;
|
|
59532
60561
|
order_ref: string;
|
|
59533
60562
|
owner_module: string;
|
|
59534
60563
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -59561,6 +60590,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
59561
60590
|
p_worker?: string;
|
|
59562
60591
|
};
|
|
59563
60592
|
Returns: {
|
|
60593
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60594
|
+
attempts: number;
|
|
59564
60595
|
buffer_ref: string | null;
|
|
59565
60596
|
claimed_at: string | null;
|
|
59566
60597
|
claimed_by: string | null;
|
|
@@ -59570,6 +60601,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
59570
60601
|
due_at: string | null;
|
|
59571
60602
|
error: string | null;
|
|
59572
60603
|
id: string;
|
|
60604
|
+
last_error: string | null;
|
|
60605
|
+
next_attempt_at: string | null;
|
|
59573
60606
|
order_ref: string;
|
|
59574
60607
|
owner_module: string;
|
|
59575
60608
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -59602,6 +60635,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
59602
60635
|
p_task_id: string;
|
|
59603
60636
|
};
|
|
59604
60637
|
Returns: {
|
|
60638
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60639
|
+
attempts: number;
|
|
59605
60640
|
buffer_ref: string | null;
|
|
59606
60641
|
claimed_at: string | null;
|
|
59607
60642
|
claimed_by: string | null;
|
|
@@ -59611,6 +60646,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
59611
60646
|
due_at: string | null;
|
|
59612
60647
|
error: string | null;
|
|
59613
60648
|
id: string;
|
|
60649
|
+
last_error: string | null;
|
|
60650
|
+
next_attempt_at: string | null;
|
|
59614
60651
|
order_ref: string;
|
|
59615
60652
|
owner_module: string;
|
|
59616
60653
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -59692,6 +60729,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
59692
60729
|
p_task_id: string;
|
|
59693
60730
|
};
|
|
59694
60731
|
Returns: {
|
|
60732
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60733
|
+
attempts: number;
|
|
59695
60734
|
buffer_ref: string | null;
|
|
59696
60735
|
claimed_at: string | null;
|
|
59697
60736
|
claimed_by: string | null;
|
|
@@ -59701,6 +60740,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
59701
60740
|
due_at: string | null;
|
|
59702
60741
|
error: string | null;
|
|
59703
60742
|
id: string;
|
|
60743
|
+
last_error: string | null;
|
|
60744
|
+
next_attempt_at: string | null;
|
|
59704
60745
|
order_ref: string;
|
|
59705
60746
|
owner_module: string;
|
|
59706
60747
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -59727,6 +60768,51 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
59727
60768
|
isSetofReturn: false;
|
|
59728
60769
|
};
|
|
59729
60770
|
};
|
|
60771
|
+
logistics_floriday_claim_pushes: {
|
|
60772
|
+
Args: {
|
|
60773
|
+
_lease_seconds?: number;
|
|
60774
|
+
_limit?: number;
|
|
60775
|
+
_worker?: string;
|
|
60776
|
+
};
|
|
60777
|
+
Returns: {
|
|
60778
|
+
attempts: number;
|
|
60779
|
+
fulfillment_order_id: string;
|
|
60780
|
+
id: string;
|
|
60781
|
+
last_sent_hash: string;
|
|
60782
|
+
order_ref: string;
|
|
60783
|
+
payload: import("../integrations/supabase/types").Json;
|
|
60784
|
+
payload_hash: string;
|
|
60785
|
+
revision: number;
|
|
60786
|
+
}[];
|
|
60787
|
+
};
|
|
60788
|
+
logistics_floriday_finish_push: {
|
|
60789
|
+
Args: {
|
|
60790
|
+
_error?: string;
|
|
60791
|
+
_fulfillment_order_id?: string;
|
|
60792
|
+
_id: string;
|
|
60793
|
+
_max_age_hours?: number;
|
|
60794
|
+
_max_attempts?: number;
|
|
60795
|
+
_ok: boolean;
|
|
60796
|
+
_permanent?: boolean;
|
|
60797
|
+
_revision: number;
|
|
60798
|
+
_sent_hash?: string;
|
|
60799
|
+
};
|
|
60800
|
+
Returns: string;
|
|
60801
|
+
};
|
|
60802
|
+
logistics_floriday_prune_pushes: {
|
|
60803
|
+
Args: {
|
|
60804
|
+
_days?: number;
|
|
60805
|
+
};
|
|
60806
|
+
Returns: number;
|
|
60807
|
+
};
|
|
60808
|
+
logistics_floriday_queue_push: {
|
|
60809
|
+
Args: {
|
|
60810
|
+
_order_ref: string;
|
|
60811
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
60812
|
+
_payload_hash?: string;
|
|
60813
|
+
};
|
|
60814
|
+
Returns: string;
|
|
60815
|
+
};
|
|
59730
60816
|
logistics_live_carriers: {
|
|
59731
60817
|
Args: {
|
|
59732
60818
|
p_order_ref: string;
|
|
@@ -60074,6 +61160,15 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
60074
61160
|
};
|
|
60075
61161
|
Returns: string;
|
|
60076
61162
|
};
|
|
61163
|
+
pick_active_printers: {
|
|
61164
|
+
Args: never;
|
|
61165
|
+
Returns: {
|
|
61166
|
+
id: string;
|
|
61167
|
+
locatie: string;
|
|
61168
|
+
naam: string;
|
|
61169
|
+
online: boolean;
|
|
61170
|
+
}[];
|
|
61171
|
+
};
|
|
60077
61172
|
pick_claim_document: {
|
|
60078
61173
|
Args: {
|
|
60079
61174
|
_queue_item_id: string;
|
|
@@ -60260,6 +61355,52 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
60260
61355
|
};
|
|
60261
61356
|
Returns: undefined;
|
|
60262
61357
|
};
|
|
61358
|
+
pick_reset_print: {
|
|
61359
|
+
Args: {
|
|
61360
|
+
_queue_item_id: string;
|
|
61361
|
+
_session_id: string;
|
|
61362
|
+
};
|
|
61363
|
+
Returns: {
|
|
61364
|
+
announced_at: string;
|
|
61365
|
+
assigned_user_id: string | null;
|
|
61366
|
+
barcode: string | null;
|
|
61367
|
+
cancelled_at: string | null;
|
|
61368
|
+
cart_count: number;
|
|
61369
|
+
completed_at: string | null;
|
|
61370
|
+
country_code: string | null;
|
|
61371
|
+
created_at: string;
|
|
61372
|
+
customer_name: string | null;
|
|
61373
|
+
delivery_address: string | null;
|
|
61374
|
+
document_number: string | null;
|
|
61375
|
+
document_type_id: string | null;
|
|
61376
|
+
due_at: string | null;
|
|
61377
|
+
id: string;
|
|
61378
|
+
is_urgent: boolean;
|
|
61379
|
+
line_count: number;
|
|
61380
|
+
order_number: string | null;
|
|
61381
|
+
order_type: string | null;
|
|
61382
|
+
payload: import("../integrations/supabase/types").Json;
|
|
61383
|
+
print_count: number;
|
|
61384
|
+
print_job_id: string | null;
|
|
61385
|
+
printed_at: string | null;
|
|
61386
|
+
printed_by: string | null;
|
|
61387
|
+
printer_id: string | null;
|
|
61388
|
+
priority: number;
|
|
61389
|
+
reference: string | null;
|
|
61390
|
+
route: string | null;
|
|
61391
|
+
screen_id: string | null;
|
|
61392
|
+
station_id: string | null;
|
|
61393
|
+
status_id: string | null;
|
|
61394
|
+
updated_at: string;
|
|
61395
|
+
warnings: import("../integrations/supabase/types").Json;
|
|
61396
|
+
};
|
|
61397
|
+
SetofOptions: {
|
|
61398
|
+
from: "*";
|
|
61399
|
+
to: "pick_queue";
|
|
61400
|
+
isOneToOne: true;
|
|
61401
|
+
isSetofReturn: false;
|
|
61402
|
+
};
|
|
61403
|
+
};
|
|
60263
61404
|
pick_station_dashboard: {
|
|
60264
61405
|
Args: never;
|
|
60265
61406
|
Returns: {
|
|
@@ -60450,10 +61591,20 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
60450
61591
|
};
|
|
60451
61592
|
Returns: import("../integrations/supabase/types").Json;
|
|
60452
61593
|
};
|
|
61594
|
+
ruim_print_jobs_op: {
|
|
61595
|
+
Args: {
|
|
61596
|
+
_bewaar_dagen?: number;
|
|
61597
|
+
};
|
|
61598
|
+
Returns: number;
|
|
61599
|
+
};
|
|
60453
61600
|
run_floriday_continuous_stock_sync: {
|
|
60454
61601
|
Args: never;
|
|
60455
61602
|
Returns: undefined;
|
|
60456
61603
|
};
|
|
61604
|
+
run_logistics_tasks_dispatch: {
|
|
61605
|
+
Args: never;
|
|
61606
|
+
Returns: undefined;
|
|
61607
|
+
};
|
|
60457
61608
|
run_twinfield_queue_tick: {
|
|
60458
61609
|
Args: never;
|
|
60459
61610
|
Returns: undefined;
|
|
@@ -60694,6 +61845,13 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
60694
61845
|
};
|
|
60695
61846
|
Returns: number;
|
|
60696
61847
|
};
|
|
61848
|
+
schedule_floriday_stock_queue_process: {
|
|
61849
|
+
Args: {
|
|
61850
|
+
p_apikey: string;
|
|
61851
|
+
p_url: string;
|
|
61852
|
+
};
|
|
61853
|
+
Returns: number;
|
|
61854
|
+
};
|
|
60697
61855
|
schedule_floriday_token_refresh: {
|
|
60698
61856
|
Args: {
|
|
60699
61857
|
p_apikey: string;
|
|
@@ -60883,7 +62041,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
60883
62041
|
};
|
|
60884
62042
|
Enums: {
|
|
60885
62043
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
60886
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
62044
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
60887
62045
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
60888
62046
|
doc_orientation: "portrait" | "landscape";
|
|
60889
62047
|
exact_env: "staging" | "live";
|
|
@@ -66611,12 +67769,17 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
66611
67769
|
attempts: number;
|
|
66612
67770
|
connection_id: string;
|
|
66613
67771
|
created_at: string;
|
|
67772
|
+
desired_available: boolean | null;
|
|
66614
67773
|
gateway_attempt_id: string | null;
|
|
66615
67774
|
id: string;
|
|
66616
67775
|
last_error: string | null;
|
|
67776
|
+
locked_at: string | null;
|
|
67777
|
+
locked_by: string | null;
|
|
67778
|
+
next_attempt_at: string;
|
|
66617
67779
|
number_of_pieces: number;
|
|
66618
67780
|
sent_at: string | null;
|
|
66619
67781
|
status: string;
|
|
67782
|
+
superseded_by: string | null;
|
|
66620
67783
|
trade_item_id: string;
|
|
66621
67784
|
updated_at: string;
|
|
66622
67785
|
user_id: string;
|
|
@@ -66625,12 +67788,17 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
66625
67788
|
attempts?: number;
|
|
66626
67789
|
connection_id: string;
|
|
66627
67790
|
created_at?: string;
|
|
67791
|
+
desired_available?: boolean | null;
|
|
66628
67792
|
gateway_attempt_id?: string | null;
|
|
66629
67793
|
id?: string;
|
|
66630
67794
|
last_error?: string | null;
|
|
67795
|
+
locked_at?: string | null;
|
|
67796
|
+
locked_by?: string | null;
|
|
67797
|
+
next_attempt_at?: string;
|
|
66631
67798
|
number_of_pieces?: number;
|
|
66632
67799
|
sent_at?: string | null;
|
|
66633
67800
|
status?: string;
|
|
67801
|
+
superseded_by?: string | null;
|
|
66634
67802
|
trade_item_id: string;
|
|
66635
67803
|
updated_at?: string;
|
|
66636
67804
|
user_id: string;
|
|
@@ -66639,12 +67807,17 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
66639
67807
|
attempts?: number;
|
|
66640
67808
|
connection_id?: string;
|
|
66641
67809
|
created_at?: string;
|
|
67810
|
+
desired_available?: boolean | null;
|
|
66642
67811
|
gateway_attempt_id?: string | null;
|
|
66643
67812
|
id?: string;
|
|
66644
67813
|
last_error?: string | null;
|
|
67814
|
+
locked_at?: string | null;
|
|
67815
|
+
locked_by?: string | null;
|
|
67816
|
+
next_attempt_at?: string;
|
|
66645
67817
|
number_of_pieces?: number;
|
|
66646
67818
|
sent_at?: string | null;
|
|
66647
67819
|
status?: string;
|
|
67820
|
+
superseded_by?: string | null;
|
|
66648
67821
|
trade_item_id?: string;
|
|
66649
67822
|
updated_at?: string;
|
|
66650
67823
|
user_id?: string;
|
|
@@ -69393,6 +70566,69 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
69393
70566
|
};
|
|
69394
70567
|
Relationships: [];
|
|
69395
70568
|
};
|
|
70569
|
+
logistics_floriday_pushes: {
|
|
70570
|
+
Row: {
|
|
70571
|
+
attempts: number;
|
|
70572
|
+
created_at: string;
|
|
70573
|
+
first_queued_at: string;
|
|
70574
|
+
fulfillment_order_id: string | null;
|
|
70575
|
+
id: string;
|
|
70576
|
+
last_error: string | null;
|
|
70577
|
+
last_error_at: string | null;
|
|
70578
|
+
last_sent_hash: string | null;
|
|
70579
|
+
locked_by: string | null;
|
|
70580
|
+
locked_until: string | null;
|
|
70581
|
+
next_attempt_at: string;
|
|
70582
|
+
order_ref: string;
|
|
70583
|
+
payload: import("../integrations/supabase/types").Json;
|
|
70584
|
+
payload_hash: string | null;
|
|
70585
|
+
revision: number;
|
|
70586
|
+
sent_at: string | null;
|
|
70587
|
+
status: string;
|
|
70588
|
+
updated_at: string;
|
|
70589
|
+
};
|
|
70590
|
+
Insert: {
|
|
70591
|
+
attempts?: number;
|
|
70592
|
+
created_at?: string;
|
|
70593
|
+
first_queued_at?: string;
|
|
70594
|
+
fulfillment_order_id?: string | null;
|
|
70595
|
+
id?: string;
|
|
70596
|
+
last_error?: string | null;
|
|
70597
|
+
last_error_at?: string | null;
|
|
70598
|
+
last_sent_hash?: string | null;
|
|
70599
|
+
locked_by?: string | null;
|
|
70600
|
+
locked_until?: string | null;
|
|
70601
|
+
next_attempt_at?: string;
|
|
70602
|
+
order_ref: string;
|
|
70603
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
70604
|
+
payload_hash?: string | null;
|
|
70605
|
+
revision?: number;
|
|
70606
|
+
sent_at?: string | null;
|
|
70607
|
+
status?: string;
|
|
70608
|
+
updated_at?: string;
|
|
70609
|
+
};
|
|
70610
|
+
Update: {
|
|
70611
|
+
attempts?: number;
|
|
70612
|
+
created_at?: string;
|
|
70613
|
+
first_queued_at?: string;
|
|
70614
|
+
fulfillment_order_id?: string | null;
|
|
70615
|
+
id?: string;
|
|
70616
|
+
last_error?: string | null;
|
|
70617
|
+
last_error_at?: string | null;
|
|
70618
|
+
last_sent_hash?: string | null;
|
|
70619
|
+
locked_by?: string | null;
|
|
70620
|
+
locked_until?: string | null;
|
|
70621
|
+
next_attempt_at?: string;
|
|
70622
|
+
order_ref?: string;
|
|
70623
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
70624
|
+
payload_hash?: string | null;
|
|
70625
|
+
revision?: number;
|
|
70626
|
+
sent_at?: string | null;
|
|
70627
|
+
status?: string;
|
|
70628
|
+
updated_at?: string;
|
|
70629
|
+
};
|
|
70630
|
+
Relationships: [];
|
|
70631
|
+
};
|
|
69396
70632
|
logistics_formulas: {
|
|
69397
70633
|
Row: {
|
|
69398
70634
|
created_at: string;
|
|
@@ -70004,6 +71240,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
70004
71240
|
};
|
|
70005
71241
|
logistics_tasks: {
|
|
70006
71242
|
Row: {
|
|
71243
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
71244
|
+
attempts: number;
|
|
70007
71245
|
buffer_ref: string | null;
|
|
70008
71246
|
claimed_at: string | null;
|
|
70009
71247
|
claimed_by: string | null;
|
|
@@ -70013,6 +71251,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
70013
71251
|
due_at: string | null;
|
|
70014
71252
|
error: string | null;
|
|
70015
71253
|
id: string;
|
|
71254
|
+
last_error: string | null;
|
|
71255
|
+
next_attempt_at: string | null;
|
|
70016
71256
|
order_ref: string;
|
|
70017
71257
|
owner_module: string;
|
|
70018
71258
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -70033,6 +71273,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
70033
71273
|
user_id: string;
|
|
70034
71274
|
};
|
|
70035
71275
|
Insert: {
|
|
71276
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
71277
|
+
attempts?: number;
|
|
70036
71278
|
buffer_ref?: string | null;
|
|
70037
71279
|
claimed_at?: string | null;
|
|
70038
71280
|
claimed_by?: string | null;
|
|
@@ -70042,6 +71284,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
70042
71284
|
due_at?: string | null;
|
|
70043
71285
|
error?: string | null;
|
|
70044
71286
|
id?: string;
|
|
71287
|
+
last_error?: string | null;
|
|
71288
|
+
next_attempt_at?: string | null;
|
|
70045
71289
|
order_ref: string;
|
|
70046
71290
|
owner_module: string;
|
|
70047
71291
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -70062,6 +71306,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
70062
71306
|
user_id?: string;
|
|
70063
71307
|
};
|
|
70064
71308
|
Update: {
|
|
71309
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
71310
|
+
attempts?: number;
|
|
70065
71311
|
buffer_ref?: string | null;
|
|
70066
71312
|
claimed_at?: string | null;
|
|
70067
71313
|
claimed_by?: string | null;
|
|
@@ -70071,6 +71317,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
70071
71317
|
due_at?: string | null;
|
|
70072
71318
|
error?: string | null;
|
|
70073
71319
|
id?: string;
|
|
71320
|
+
last_error?: string | null;
|
|
71321
|
+
next_attempt_at?: string | null;
|
|
70074
71322
|
order_ref?: string;
|
|
70075
71323
|
owner_module?: string;
|
|
70076
71324
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -71420,6 +72668,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
71420
72668
|
};
|
|
71421
72669
|
offer_settings: {
|
|
71422
72670
|
Row: {
|
|
72671
|
+
brand_name: string | null;
|
|
71423
72672
|
button_color: string;
|
|
71424
72673
|
created_at: string;
|
|
71425
72674
|
default_countries: string[];
|
|
@@ -71441,6 +72690,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
71441
72690
|
updated_at: string;
|
|
71442
72691
|
};
|
|
71443
72692
|
Insert: {
|
|
72693
|
+
brand_name?: string | null;
|
|
71444
72694
|
button_color?: string;
|
|
71445
72695
|
created_at?: string;
|
|
71446
72696
|
default_countries?: string[];
|
|
@@ -71462,6 +72712,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
71462
72712
|
updated_at?: string;
|
|
71463
72713
|
};
|
|
71464
72714
|
Update: {
|
|
72715
|
+
brand_name?: string | null;
|
|
71465
72716
|
button_color?: string;
|
|
71466
72717
|
created_at?: string;
|
|
71467
72718
|
default_countries?: string[];
|
|
@@ -73180,22 +74431,27 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
73180
74431
|
created_at: string;
|
|
73181
74432
|
documentnaam: string;
|
|
73182
74433
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
74434
|
+
extern_job_id: string | null;
|
|
73183
74435
|
foutmelding: string | null;
|
|
73184
74436
|
gebruiker_id: string | null;
|
|
73185
74437
|
gebruiker_naam: string;
|
|
73186
74438
|
gestart_op: string | null;
|
|
73187
74439
|
id: string;
|
|
74440
|
+
idempotentie_sleutel: string | null;
|
|
73188
74441
|
is_herprint: boolean;
|
|
73189
74442
|
kopieen: number;
|
|
73190
74443
|
layout_id: string | null;
|
|
73191
74444
|
opgepakt_op: string | null;
|
|
73192
74445
|
paginas: number;
|
|
73193
74446
|
payload: import("../integrations/supabase/types").Json;
|
|
74447
|
+
pdf_base64: string | null;
|
|
74448
|
+
pdf_url: string | null;
|
|
73194
74449
|
pogingen: number;
|
|
73195
74450
|
printer_id: string | null;
|
|
73196
74451
|
render_html: string | null;
|
|
73197
74452
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
73198
74453
|
updated_at: string;
|
|
74454
|
+
volgende_poging: string | null;
|
|
73199
74455
|
voltooid_op: string | null;
|
|
73200
74456
|
};
|
|
73201
74457
|
Insert: {
|
|
@@ -73204,22 +74460,27 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
73204
74460
|
created_at?: string;
|
|
73205
74461
|
documentnaam?: string;
|
|
73206
74462
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
74463
|
+
extern_job_id?: string | null;
|
|
73207
74464
|
foutmelding?: string | null;
|
|
73208
74465
|
gebruiker_id?: string | null;
|
|
73209
74466
|
gebruiker_naam?: string;
|
|
73210
74467
|
gestart_op?: string | null;
|
|
73211
74468
|
id?: string;
|
|
74469
|
+
idempotentie_sleutel?: string | null;
|
|
73212
74470
|
is_herprint?: boolean;
|
|
73213
74471
|
kopieen?: number;
|
|
73214
74472
|
layout_id?: string | null;
|
|
73215
74473
|
opgepakt_op?: string | null;
|
|
73216
74474
|
paginas?: number;
|
|
73217
74475
|
payload?: import("../integrations/supabase/types").Json;
|
|
74476
|
+
pdf_base64?: string | null;
|
|
74477
|
+
pdf_url?: string | null;
|
|
73218
74478
|
pogingen?: number;
|
|
73219
74479
|
printer_id?: string | null;
|
|
73220
74480
|
render_html?: string | null;
|
|
73221
74481
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
73222
74482
|
updated_at?: string;
|
|
74483
|
+
volgende_poging?: string | null;
|
|
73223
74484
|
voltooid_op?: string | null;
|
|
73224
74485
|
};
|
|
73225
74486
|
Update: {
|
|
@@ -73228,22 +74489,27 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
73228
74489
|
created_at?: string;
|
|
73229
74490
|
documentnaam?: string;
|
|
73230
74491
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
74492
|
+
extern_job_id?: string | null;
|
|
73231
74493
|
foutmelding?: string | null;
|
|
73232
74494
|
gebruiker_id?: string | null;
|
|
73233
74495
|
gebruiker_naam?: string;
|
|
73234
74496
|
gestart_op?: string | null;
|
|
73235
74497
|
id?: string;
|
|
74498
|
+
idempotentie_sleutel?: string | null;
|
|
73236
74499
|
is_herprint?: boolean;
|
|
73237
74500
|
kopieen?: number;
|
|
73238
74501
|
layout_id?: string | null;
|
|
73239
74502
|
opgepakt_op?: string | null;
|
|
73240
74503
|
paginas?: number;
|
|
73241
74504
|
payload?: import("../integrations/supabase/types").Json;
|
|
74505
|
+
pdf_base64?: string | null;
|
|
74506
|
+
pdf_url?: string | null;
|
|
73242
74507
|
pogingen?: number;
|
|
73243
74508
|
printer_id?: string | null;
|
|
73244
74509
|
render_html?: string | null;
|
|
73245
74510
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
73246
74511
|
updated_at?: string;
|
|
74512
|
+
volgende_poging?: string | null;
|
|
73247
74513
|
voltooid_op?: string | null;
|
|
73248
74514
|
};
|
|
73249
74515
|
Relationships: [{
|
|
@@ -73426,6 +74692,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
73426
74692
|
agent_id: string | null;
|
|
73427
74693
|
created_at: string;
|
|
73428
74694
|
driver: string;
|
|
74695
|
+
extern_printer_id: string | null;
|
|
73429
74696
|
id: string;
|
|
73430
74697
|
ip_adres: string | null;
|
|
73431
74698
|
laatst_gezien: string | null;
|
|
@@ -73447,6 +74714,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
73447
74714
|
agent_id?: string | null;
|
|
73448
74715
|
created_at?: string;
|
|
73449
74716
|
driver?: string;
|
|
74717
|
+
extern_printer_id?: string | null;
|
|
73450
74718
|
id?: string;
|
|
73451
74719
|
ip_adres?: string | null;
|
|
73452
74720
|
laatst_gezien?: string | null;
|
|
@@ -73468,6 +74736,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
73468
74736
|
agent_id?: string | null;
|
|
73469
74737
|
created_at?: string;
|
|
73470
74738
|
driver?: string;
|
|
74739
|
+
extern_printer_id?: string | null;
|
|
73471
74740
|
id?: string;
|
|
73472
74741
|
ip_adres?: string | null;
|
|
73473
74742
|
laatst_gezien?: string | null;
|
|
@@ -79072,6 +80341,125 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
79072
80341
|
};
|
|
79073
80342
|
Returns: import("../integrations/supabase/types").Json;
|
|
79074
80343
|
};
|
|
80344
|
+
claim_cloud_print_jobs: {
|
|
80345
|
+
Args: {
|
|
80346
|
+
_max?: number;
|
|
80347
|
+
};
|
|
80348
|
+
Returns: {
|
|
80349
|
+
agent_id: string | null;
|
|
80350
|
+
bron_job_id: string | null;
|
|
80351
|
+
created_at: string;
|
|
80352
|
+
documentnaam: string;
|
|
80353
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
80354
|
+
extern_job_id: string | null;
|
|
80355
|
+
foutmelding: string | null;
|
|
80356
|
+
gebruiker_id: string | null;
|
|
80357
|
+
gebruiker_naam: string;
|
|
80358
|
+
gestart_op: string | null;
|
|
80359
|
+
id: string;
|
|
80360
|
+
idempotentie_sleutel: string | null;
|
|
80361
|
+
is_herprint: boolean;
|
|
80362
|
+
kopieen: number;
|
|
80363
|
+
layout_id: string | null;
|
|
80364
|
+
opgepakt_op: string | null;
|
|
80365
|
+
paginas: number;
|
|
80366
|
+
payload: import("../integrations/supabase/types").Json;
|
|
80367
|
+
pdf_base64: string | null;
|
|
80368
|
+
pdf_url: string | null;
|
|
80369
|
+
pogingen: number;
|
|
80370
|
+
printer_id: string | null;
|
|
80371
|
+
render_html: string | null;
|
|
80372
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
80373
|
+
updated_at: string;
|
|
80374
|
+
volgende_poging: string | null;
|
|
80375
|
+
voltooid_op: string | null;
|
|
80376
|
+
}[];
|
|
80377
|
+
SetofOptions: {
|
|
80378
|
+
from: "*";
|
|
80379
|
+
to: "print_jobs";
|
|
80380
|
+
isOneToOne: false;
|
|
80381
|
+
isSetofReturn: true;
|
|
80382
|
+
};
|
|
80383
|
+
};
|
|
80384
|
+
claim_floriday_stock_queue: {
|
|
80385
|
+
Args: {
|
|
80386
|
+
p_limit?: number;
|
|
80387
|
+
p_worker?: string;
|
|
80388
|
+
};
|
|
80389
|
+
Returns: {
|
|
80390
|
+
attempts: number;
|
|
80391
|
+
connection_id: string;
|
|
80392
|
+
created_at: string;
|
|
80393
|
+
desired_available: boolean | null;
|
|
80394
|
+
gateway_attempt_id: string | null;
|
|
80395
|
+
id: string;
|
|
80396
|
+
last_error: string | null;
|
|
80397
|
+
locked_at: string | null;
|
|
80398
|
+
locked_by: string | null;
|
|
80399
|
+
next_attempt_at: string;
|
|
80400
|
+
number_of_pieces: number;
|
|
80401
|
+
sent_at: string | null;
|
|
80402
|
+
status: string;
|
|
80403
|
+
superseded_by: string | null;
|
|
80404
|
+
trade_item_id: string;
|
|
80405
|
+
updated_at: string;
|
|
80406
|
+
user_id: string;
|
|
80407
|
+
}[];
|
|
80408
|
+
SetofOptions: {
|
|
80409
|
+
from: "*";
|
|
80410
|
+
to: "floriday_continuous_stock_queue";
|
|
80411
|
+
isOneToOne: false;
|
|
80412
|
+
isSetofReturn: true;
|
|
80413
|
+
};
|
|
80414
|
+
};
|
|
80415
|
+
claim_logistics_tasks: {
|
|
80416
|
+
Args: {
|
|
80417
|
+
_limit?: number;
|
|
80418
|
+
_owner_module: string;
|
|
80419
|
+
_stale_minutes?: number;
|
|
80420
|
+
_task_type: string;
|
|
80421
|
+
_worker: string;
|
|
80422
|
+
};
|
|
80423
|
+
Returns: {
|
|
80424
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
80425
|
+
attempts: number;
|
|
80426
|
+
buffer_ref: string | null;
|
|
80427
|
+
claimed_at: string | null;
|
|
80428
|
+
claimed_by: string | null;
|
|
80429
|
+
completed_at: string | null;
|
|
80430
|
+
created_at: string;
|
|
80431
|
+
depends_on: string[];
|
|
80432
|
+
due_at: string | null;
|
|
80433
|
+
error: string | null;
|
|
80434
|
+
id: string;
|
|
80435
|
+
last_error: string | null;
|
|
80436
|
+
next_attempt_at: string | null;
|
|
80437
|
+
order_ref: string;
|
|
80438
|
+
owner_module: string;
|
|
80439
|
+
payload: import("../integrations/supabase/types").Json;
|
|
80440
|
+
plan_run_id: string | null;
|
|
80441
|
+
planned_end: string | null;
|
|
80442
|
+
planned_start: string | null;
|
|
80443
|
+
priority: number;
|
|
80444
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
80445
|
+
rule_config_id: string | null;
|
|
80446
|
+
rule_version: number | null;
|
|
80447
|
+
sequence: number;
|
|
80448
|
+
shadow: boolean;
|
|
80449
|
+
started_at: string | null;
|
|
80450
|
+
status: string;
|
|
80451
|
+
strategy_id: string | null;
|
|
80452
|
+
task_type: string;
|
|
80453
|
+
updated_at: string;
|
|
80454
|
+
user_id: string;
|
|
80455
|
+
}[];
|
|
80456
|
+
SetofOptions: {
|
|
80457
|
+
from: "*";
|
|
80458
|
+
to: "logistics_tasks";
|
|
80459
|
+
isOneToOne: false;
|
|
80460
|
+
isSetofReturn: true;
|
|
80461
|
+
};
|
|
80462
|
+
};
|
|
79075
80463
|
claim_print_jobs: {
|
|
79076
80464
|
Args: {
|
|
79077
80465
|
_agent_id: string;
|
|
@@ -79083,22 +80471,27 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
79083
80471
|
created_at: string;
|
|
79084
80472
|
documentnaam: string;
|
|
79085
80473
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
80474
|
+
extern_job_id: string | null;
|
|
79086
80475
|
foutmelding: string | null;
|
|
79087
80476
|
gebruiker_id: string | null;
|
|
79088
80477
|
gebruiker_naam: string;
|
|
79089
80478
|
gestart_op: string | null;
|
|
79090
80479
|
id: string;
|
|
80480
|
+
idempotentie_sleutel: string | null;
|
|
79091
80481
|
is_herprint: boolean;
|
|
79092
80482
|
kopieen: number;
|
|
79093
80483
|
layout_id: string | null;
|
|
79094
80484
|
opgepakt_op: string | null;
|
|
79095
80485
|
paginas: number;
|
|
79096
80486
|
payload: import("../integrations/supabase/types").Json;
|
|
80487
|
+
pdf_base64: string | null;
|
|
80488
|
+
pdf_url: string | null;
|
|
79097
80489
|
pogingen: number;
|
|
79098
80490
|
printer_id: string | null;
|
|
79099
80491
|
render_html: string | null;
|
|
79100
80492
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
79101
80493
|
updated_at: string;
|
|
80494
|
+
volgende_poging: string | null;
|
|
79102
80495
|
voltooid_op: string | null;
|
|
79103
80496
|
}[];
|
|
79104
80497
|
SetofOptions: {
|
|
@@ -79136,10 +80529,24 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
79136
80529
|
isSetofReturn: true;
|
|
79137
80530
|
};
|
|
79138
80531
|
};
|
|
80532
|
+
cleanup_floriday_stock_queue: {
|
|
80533
|
+
Args: never;
|
|
80534
|
+
Returns: undefined;
|
|
80535
|
+
};
|
|
79139
80536
|
cleanup_old_bookings: {
|
|
79140
80537
|
Args: never;
|
|
79141
80538
|
Returns: undefined;
|
|
79142
80539
|
};
|
|
80540
|
+
complete_floriday_stock_queue: {
|
|
80541
|
+
Args: {
|
|
80542
|
+
p_attempt_id?: string;
|
|
80543
|
+
p_error?: string;
|
|
80544
|
+
p_id: string;
|
|
80545
|
+
p_ok: boolean;
|
|
80546
|
+
p_permanent?: boolean;
|
|
80547
|
+
};
|
|
80548
|
+
Returns: undefined;
|
|
80549
|
+
};
|
|
79143
80550
|
consume_bom_for_production: {
|
|
79144
80551
|
Args: {
|
|
79145
80552
|
p_connection_id: string;
|
|
@@ -79536,6 +80943,10 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
79536
80943
|
};
|
|
79537
80944
|
Returns: number;
|
|
79538
80945
|
};
|
|
80946
|
+
get_offer_branding: {
|
|
80947
|
+
Args: never;
|
|
80948
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
80949
|
+
};
|
|
79539
80950
|
get_offer_by_link_code: {
|
|
79540
80951
|
Args: {
|
|
79541
80952
|
p_code: string;
|
|
@@ -79827,6 +81238,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
79827
81238
|
p_worker?: string;
|
|
79828
81239
|
};
|
|
79829
81240
|
Returns: {
|
|
81241
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
81242
|
+
attempts: number;
|
|
79830
81243
|
buffer_ref: string | null;
|
|
79831
81244
|
claimed_at: string | null;
|
|
79832
81245
|
claimed_by: string | null;
|
|
@@ -79836,6 +81249,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
79836
81249
|
due_at: string | null;
|
|
79837
81250
|
error: string | null;
|
|
79838
81251
|
id: string;
|
|
81252
|
+
last_error: string | null;
|
|
81253
|
+
next_attempt_at: string | null;
|
|
79839
81254
|
order_ref: string;
|
|
79840
81255
|
owner_module: string;
|
|
79841
81256
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -79868,6 +81283,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
79868
81283
|
p_worker?: string;
|
|
79869
81284
|
};
|
|
79870
81285
|
Returns: {
|
|
81286
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
81287
|
+
attempts: number;
|
|
79871
81288
|
buffer_ref: string | null;
|
|
79872
81289
|
claimed_at: string | null;
|
|
79873
81290
|
claimed_by: string | null;
|
|
@@ -79877,6 +81294,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
79877
81294
|
due_at: string | null;
|
|
79878
81295
|
error: string | null;
|
|
79879
81296
|
id: string;
|
|
81297
|
+
last_error: string | null;
|
|
81298
|
+
next_attempt_at: string | null;
|
|
79880
81299
|
order_ref: string;
|
|
79881
81300
|
owner_module: string;
|
|
79882
81301
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -79909,6 +81328,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
79909
81328
|
p_task_id: string;
|
|
79910
81329
|
};
|
|
79911
81330
|
Returns: {
|
|
81331
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
81332
|
+
attempts: number;
|
|
79912
81333
|
buffer_ref: string | null;
|
|
79913
81334
|
claimed_at: string | null;
|
|
79914
81335
|
claimed_by: string | null;
|
|
@@ -79918,6 +81339,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
79918
81339
|
due_at: string | null;
|
|
79919
81340
|
error: string | null;
|
|
79920
81341
|
id: string;
|
|
81342
|
+
last_error: string | null;
|
|
81343
|
+
next_attempt_at: string | null;
|
|
79921
81344
|
order_ref: string;
|
|
79922
81345
|
owner_module: string;
|
|
79923
81346
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -79999,6 +81422,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
79999
81422
|
p_task_id: string;
|
|
80000
81423
|
};
|
|
80001
81424
|
Returns: {
|
|
81425
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
81426
|
+
attempts: number;
|
|
80002
81427
|
buffer_ref: string | null;
|
|
80003
81428
|
claimed_at: string | null;
|
|
80004
81429
|
claimed_by: string | null;
|
|
@@ -80008,6 +81433,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
80008
81433
|
due_at: string | null;
|
|
80009
81434
|
error: string | null;
|
|
80010
81435
|
id: string;
|
|
81436
|
+
last_error: string | null;
|
|
81437
|
+
next_attempt_at: string | null;
|
|
80011
81438
|
order_ref: string;
|
|
80012
81439
|
owner_module: string;
|
|
80013
81440
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -80034,6 +81461,51 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
80034
81461
|
isSetofReturn: false;
|
|
80035
81462
|
};
|
|
80036
81463
|
};
|
|
81464
|
+
logistics_floriday_claim_pushes: {
|
|
81465
|
+
Args: {
|
|
81466
|
+
_lease_seconds?: number;
|
|
81467
|
+
_limit?: number;
|
|
81468
|
+
_worker?: string;
|
|
81469
|
+
};
|
|
81470
|
+
Returns: {
|
|
81471
|
+
attempts: number;
|
|
81472
|
+
fulfillment_order_id: string;
|
|
81473
|
+
id: string;
|
|
81474
|
+
last_sent_hash: string;
|
|
81475
|
+
order_ref: string;
|
|
81476
|
+
payload: import("../integrations/supabase/types").Json;
|
|
81477
|
+
payload_hash: string;
|
|
81478
|
+
revision: number;
|
|
81479
|
+
}[];
|
|
81480
|
+
};
|
|
81481
|
+
logistics_floriday_finish_push: {
|
|
81482
|
+
Args: {
|
|
81483
|
+
_error?: string;
|
|
81484
|
+
_fulfillment_order_id?: string;
|
|
81485
|
+
_id: string;
|
|
81486
|
+
_max_age_hours?: number;
|
|
81487
|
+
_max_attempts?: number;
|
|
81488
|
+
_ok: boolean;
|
|
81489
|
+
_permanent?: boolean;
|
|
81490
|
+
_revision: number;
|
|
81491
|
+
_sent_hash?: string;
|
|
81492
|
+
};
|
|
81493
|
+
Returns: string;
|
|
81494
|
+
};
|
|
81495
|
+
logistics_floriday_prune_pushes: {
|
|
81496
|
+
Args: {
|
|
81497
|
+
_days?: number;
|
|
81498
|
+
};
|
|
81499
|
+
Returns: number;
|
|
81500
|
+
};
|
|
81501
|
+
logistics_floriday_queue_push: {
|
|
81502
|
+
Args: {
|
|
81503
|
+
_order_ref: string;
|
|
81504
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
81505
|
+
_payload_hash?: string;
|
|
81506
|
+
};
|
|
81507
|
+
Returns: string;
|
|
81508
|
+
};
|
|
80037
81509
|
logistics_live_carriers: {
|
|
80038
81510
|
Args: {
|
|
80039
81511
|
p_order_ref: string;
|
|
@@ -80381,6 +81853,15 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
80381
81853
|
};
|
|
80382
81854
|
Returns: string;
|
|
80383
81855
|
};
|
|
81856
|
+
pick_active_printers: {
|
|
81857
|
+
Args: never;
|
|
81858
|
+
Returns: {
|
|
81859
|
+
id: string;
|
|
81860
|
+
locatie: string;
|
|
81861
|
+
naam: string;
|
|
81862
|
+
online: boolean;
|
|
81863
|
+
}[];
|
|
81864
|
+
};
|
|
80384
81865
|
pick_claim_document: {
|
|
80385
81866
|
Args: {
|
|
80386
81867
|
_queue_item_id: string;
|
|
@@ -80567,6 +82048,52 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
80567
82048
|
};
|
|
80568
82049
|
Returns: undefined;
|
|
80569
82050
|
};
|
|
82051
|
+
pick_reset_print: {
|
|
82052
|
+
Args: {
|
|
82053
|
+
_queue_item_id: string;
|
|
82054
|
+
_session_id: string;
|
|
82055
|
+
};
|
|
82056
|
+
Returns: {
|
|
82057
|
+
announced_at: string;
|
|
82058
|
+
assigned_user_id: string | null;
|
|
82059
|
+
barcode: string | null;
|
|
82060
|
+
cancelled_at: string | null;
|
|
82061
|
+
cart_count: number;
|
|
82062
|
+
completed_at: string | null;
|
|
82063
|
+
country_code: string | null;
|
|
82064
|
+
created_at: string;
|
|
82065
|
+
customer_name: string | null;
|
|
82066
|
+
delivery_address: string | null;
|
|
82067
|
+
document_number: string | null;
|
|
82068
|
+
document_type_id: string | null;
|
|
82069
|
+
due_at: string | null;
|
|
82070
|
+
id: string;
|
|
82071
|
+
is_urgent: boolean;
|
|
82072
|
+
line_count: number;
|
|
82073
|
+
order_number: string | null;
|
|
82074
|
+
order_type: string | null;
|
|
82075
|
+
payload: import("../integrations/supabase/types").Json;
|
|
82076
|
+
print_count: number;
|
|
82077
|
+
print_job_id: string | null;
|
|
82078
|
+
printed_at: string | null;
|
|
82079
|
+
printed_by: string | null;
|
|
82080
|
+
printer_id: string | null;
|
|
82081
|
+
priority: number;
|
|
82082
|
+
reference: string | null;
|
|
82083
|
+
route: string | null;
|
|
82084
|
+
screen_id: string | null;
|
|
82085
|
+
station_id: string | null;
|
|
82086
|
+
status_id: string | null;
|
|
82087
|
+
updated_at: string;
|
|
82088
|
+
warnings: import("../integrations/supabase/types").Json;
|
|
82089
|
+
};
|
|
82090
|
+
SetofOptions: {
|
|
82091
|
+
from: "*";
|
|
82092
|
+
to: "pick_queue";
|
|
82093
|
+
isOneToOne: true;
|
|
82094
|
+
isSetofReturn: false;
|
|
82095
|
+
};
|
|
82096
|
+
};
|
|
80570
82097
|
pick_station_dashboard: {
|
|
80571
82098
|
Args: never;
|
|
80572
82099
|
Returns: {
|
|
@@ -80757,10 +82284,20 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
80757
82284
|
};
|
|
80758
82285
|
Returns: import("../integrations/supabase/types").Json;
|
|
80759
82286
|
};
|
|
82287
|
+
ruim_print_jobs_op: {
|
|
82288
|
+
Args: {
|
|
82289
|
+
_bewaar_dagen?: number;
|
|
82290
|
+
};
|
|
82291
|
+
Returns: number;
|
|
82292
|
+
};
|
|
80760
82293
|
run_floriday_continuous_stock_sync: {
|
|
80761
82294
|
Args: never;
|
|
80762
82295
|
Returns: undefined;
|
|
80763
82296
|
};
|
|
82297
|
+
run_logistics_tasks_dispatch: {
|
|
82298
|
+
Args: never;
|
|
82299
|
+
Returns: undefined;
|
|
82300
|
+
};
|
|
80764
82301
|
run_twinfield_queue_tick: {
|
|
80765
82302
|
Args: never;
|
|
80766
82303
|
Returns: undefined;
|
|
@@ -81001,6 +82538,13 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
81001
82538
|
};
|
|
81002
82539
|
Returns: number;
|
|
81003
82540
|
};
|
|
82541
|
+
schedule_floriday_stock_queue_process: {
|
|
82542
|
+
Args: {
|
|
82543
|
+
p_apikey: string;
|
|
82544
|
+
p_url: string;
|
|
82545
|
+
};
|
|
82546
|
+
Returns: number;
|
|
82547
|
+
};
|
|
81004
82548
|
schedule_floriday_token_refresh: {
|
|
81005
82549
|
Args: {
|
|
81006
82550
|
p_apikey: string;
|
|
@@ -81190,7 +82734,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
81190
82734
|
};
|
|
81191
82735
|
Enums: {
|
|
81192
82736
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
81193
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
82737
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
81194
82738
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
81195
82739
|
doc_orientation: "portrait" | "landscape";
|
|
81196
82740
|
exact_env: "staging" | "live";
|
|
@@ -86916,12 +88460,17 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
86916
88460
|
attempts: number;
|
|
86917
88461
|
connection_id: string;
|
|
86918
88462
|
created_at: string;
|
|
88463
|
+
desired_available: boolean | null;
|
|
86919
88464
|
gateway_attempt_id: string | null;
|
|
86920
88465
|
id: string;
|
|
86921
88466
|
last_error: string | null;
|
|
88467
|
+
locked_at: string | null;
|
|
88468
|
+
locked_by: string | null;
|
|
88469
|
+
next_attempt_at: string;
|
|
86922
88470
|
number_of_pieces: number;
|
|
86923
88471
|
sent_at: string | null;
|
|
86924
88472
|
status: string;
|
|
88473
|
+
superseded_by: string | null;
|
|
86925
88474
|
trade_item_id: string;
|
|
86926
88475
|
updated_at: string;
|
|
86927
88476
|
user_id: string;
|
|
@@ -86930,12 +88479,17 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
86930
88479
|
attempts?: number;
|
|
86931
88480
|
connection_id: string;
|
|
86932
88481
|
created_at?: string;
|
|
88482
|
+
desired_available?: boolean | null;
|
|
86933
88483
|
gateway_attempt_id?: string | null;
|
|
86934
88484
|
id?: string;
|
|
86935
88485
|
last_error?: string | null;
|
|
88486
|
+
locked_at?: string | null;
|
|
88487
|
+
locked_by?: string | null;
|
|
88488
|
+
next_attempt_at?: string;
|
|
86936
88489
|
number_of_pieces?: number;
|
|
86937
88490
|
sent_at?: string | null;
|
|
86938
88491
|
status?: string;
|
|
88492
|
+
superseded_by?: string | null;
|
|
86939
88493
|
trade_item_id: string;
|
|
86940
88494
|
updated_at?: string;
|
|
86941
88495
|
user_id: string;
|
|
@@ -86944,12 +88498,17 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
86944
88498
|
attempts?: number;
|
|
86945
88499
|
connection_id?: string;
|
|
86946
88500
|
created_at?: string;
|
|
88501
|
+
desired_available?: boolean | null;
|
|
86947
88502
|
gateway_attempt_id?: string | null;
|
|
86948
88503
|
id?: string;
|
|
86949
88504
|
last_error?: string | null;
|
|
88505
|
+
locked_at?: string | null;
|
|
88506
|
+
locked_by?: string | null;
|
|
88507
|
+
next_attempt_at?: string;
|
|
86950
88508
|
number_of_pieces?: number;
|
|
86951
88509
|
sent_at?: string | null;
|
|
86952
88510
|
status?: string;
|
|
88511
|
+
superseded_by?: string | null;
|
|
86953
88512
|
trade_item_id?: string;
|
|
86954
88513
|
updated_at?: string;
|
|
86955
88514
|
user_id?: string;
|
|
@@ -89698,6 +91257,69 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
89698
91257
|
};
|
|
89699
91258
|
Relationships: [];
|
|
89700
91259
|
};
|
|
91260
|
+
logistics_floriday_pushes: {
|
|
91261
|
+
Row: {
|
|
91262
|
+
attempts: number;
|
|
91263
|
+
created_at: string;
|
|
91264
|
+
first_queued_at: string;
|
|
91265
|
+
fulfillment_order_id: string | null;
|
|
91266
|
+
id: string;
|
|
91267
|
+
last_error: string | null;
|
|
91268
|
+
last_error_at: string | null;
|
|
91269
|
+
last_sent_hash: string | null;
|
|
91270
|
+
locked_by: string | null;
|
|
91271
|
+
locked_until: string | null;
|
|
91272
|
+
next_attempt_at: string;
|
|
91273
|
+
order_ref: string;
|
|
91274
|
+
payload: import("../integrations/supabase/types").Json;
|
|
91275
|
+
payload_hash: string | null;
|
|
91276
|
+
revision: number;
|
|
91277
|
+
sent_at: string | null;
|
|
91278
|
+
status: string;
|
|
91279
|
+
updated_at: string;
|
|
91280
|
+
};
|
|
91281
|
+
Insert: {
|
|
91282
|
+
attempts?: number;
|
|
91283
|
+
created_at?: string;
|
|
91284
|
+
first_queued_at?: string;
|
|
91285
|
+
fulfillment_order_id?: string | null;
|
|
91286
|
+
id?: string;
|
|
91287
|
+
last_error?: string | null;
|
|
91288
|
+
last_error_at?: string | null;
|
|
91289
|
+
last_sent_hash?: string | null;
|
|
91290
|
+
locked_by?: string | null;
|
|
91291
|
+
locked_until?: string | null;
|
|
91292
|
+
next_attempt_at?: string;
|
|
91293
|
+
order_ref: string;
|
|
91294
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
91295
|
+
payload_hash?: string | null;
|
|
91296
|
+
revision?: number;
|
|
91297
|
+
sent_at?: string | null;
|
|
91298
|
+
status?: string;
|
|
91299
|
+
updated_at?: string;
|
|
91300
|
+
};
|
|
91301
|
+
Update: {
|
|
91302
|
+
attempts?: number;
|
|
91303
|
+
created_at?: string;
|
|
91304
|
+
first_queued_at?: string;
|
|
91305
|
+
fulfillment_order_id?: string | null;
|
|
91306
|
+
id?: string;
|
|
91307
|
+
last_error?: string | null;
|
|
91308
|
+
last_error_at?: string | null;
|
|
91309
|
+
last_sent_hash?: string | null;
|
|
91310
|
+
locked_by?: string | null;
|
|
91311
|
+
locked_until?: string | null;
|
|
91312
|
+
next_attempt_at?: string;
|
|
91313
|
+
order_ref?: string;
|
|
91314
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
91315
|
+
payload_hash?: string | null;
|
|
91316
|
+
revision?: number;
|
|
91317
|
+
sent_at?: string | null;
|
|
91318
|
+
status?: string;
|
|
91319
|
+
updated_at?: string;
|
|
91320
|
+
};
|
|
91321
|
+
Relationships: [];
|
|
91322
|
+
};
|
|
89701
91323
|
logistics_formulas: {
|
|
89702
91324
|
Row: {
|
|
89703
91325
|
created_at: string;
|
|
@@ -90309,6 +91931,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
90309
91931
|
};
|
|
90310
91932
|
logistics_tasks: {
|
|
90311
91933
|
Row: {
|
|
91934
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
91935
|
+
attempts: number;
|
|
90312
91936
|
buffer_ref: string | null;
|
|
90313
91937
|
claimed_at: string | null;
|
|
90314
91938
|
claimed_by: string | null;
|
|
@@ -90318,6 +91942,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
90318
91942
|
due_at: string | null;
|
|
90319
91943
|
error: string | null;
|
|
90320
91944
|
id: string;
|
|
91945
|
+
last_error: string | null;
|
|
91946
|
+
next_attempt_at: string | null;
|
|
90321
91947
|
order_ref: string;
|
|
90322
91948
|
owner_module: string;
|
|
90323
91949
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -90338,6 +91964,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
90338
91964
|
user_id: string;
|
|
90339
91965
|
};
|
|
90340
91966
|
Insert: {
|
|
91967
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
91968
|
+
attempts?: number;
|
|
90341
91969
|
buffer_ref?: string | null;
|
|
90342
91970
|
claimed_at?: string | null;
|
|
90343
91971
|
claimed_by?: string | null;
|
|
@@ -90347,6 +91975,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
90347
91975
|
due_at?: string | null;
|
|
90348
91976
|
error?: string | null;
|
|
90349
91977
|
id?: string;
|
|
91978
|
+
last_error?: string | null;
|
|
91979
|
+
next_attempt_at?: string | null;
|
|
90350
91980
|
order_ref: string;
|
|
90351
91981
|
owner_module: string;
|
|
90352
91982
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -90367,6 +91997,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
90367
91997
|
user_id?: string;
|
|
90368
91998
|
};
|
|
90369
91999
|
Update: {
|
|
92000
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
92001
|
+
attempts?: number;
|
|
90370
92002
|
buffer_ref?: string | null;
|
|
90371
92003
|
claimed_at?: string | null;
|
|
90372
92004
|
claimed_by?: string | null;
|
|
@@ -90376,6 +92008,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
90376
92008
|
due_at?: string | null;
|
|
90377
92009
|
error?: string | null;
|
|
90378
92010
|
id?: string;
|
|
92011
|
+
last_error?: string | null;
|
|
92012
|
+
next_attempt_at?: string | null;
|
|
90379
92013
|
order_ref?: string;
|
|
90380
92014
|
owner_module?: string;
|
|
90381
92015
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -91725,6 +93359,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
91725
93359
|
};
|
|
91726
93360
|
offer_settings: {
|
|
91727
93361
|
Row: {
|
|
93362
|
+
brand_name: string | null;
|
|
91728
93363
|
button_color: string;
|
|
91729
93364
|
created_at: string;
|
|
91730
93365
|
default_countries: string[];
|
|
@@ -91746,6 +93381,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
91746
93381
|
updated_at: string;
|
|
91747
93382
|
};
|
|
91748
93383
|
Insert: {
|
|
93384
|
+
brand_name?: string | null;
|
|
91749
93385
|
button_color?: string;
|
|
91750
93386
|
created_at?: string;
|
|
91751
93387
|
default_countries?: string[];
|
|
@@ -91767,6 +93403,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
91767
93403
|
updated_at?: string;
|
|
91768
93404
|
};
|
|
91769
93405
|
Update: {
|
|
93406
|
+
brand_name?: string | null;
|
|
91770
93407
|
button_color?: string;
|
|
91771
93408
|
created_at?: string;
|
|
91772
93409
|
default_countries?: string[];
|
|
@@ -93485,22 +95122,27 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
93485
95122
|
created_at: string;
|
|
93486
95123
|
documentnaam: string;
|
|
93487
95124
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
95125
|
+
extern_job_id: string | null;
|
|
93488
95126
|
foutmelding: string | null;
|
|
93489
95127
|
gebruiker_id: string | null;
|
|
93490
95128
|
gebruiker_naam: string;
|
|
93491
95129
|
gestart_op: string | null;
|
|
93492
95130
|
id: string;
|
|
95131
|
+
idempotentie_sleutel: string | null;
|
|
93493
95132
|
is_herprint: boolean;
|
|
93494
95133
|
kopieen: number;
|
|
93495
95134
|
layout_id: string | null;
|
|
93496
95135
|
opgepakt_op: string | null;
|
|
93497
95136
|
paginas: number;
|
|
93498
95137
|
payload: import("../integrations/supabase/types").Json;
|
|
95138
|
+
pdf_base64: string | null;
|
|
95139
|
+
pdf_url: string | null;
|
|
93499
95140
|
pogingen: number;
|
|
93500
95141
|
printer_id: string | null;
|
|
93501
95142
|
render_html: string | null;
|
|
93502
95143
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
93503
95144
|
updated_at: string;
|
|
95145
|
+
volgende_poging: string | null;
|
|
93504
95146
|
voltooid_op: string | null;
|
|
93505
95147
|
};
|
|
93506
95148
|
Insert: {
|
|
@@ -93509,22 +95151,27 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
93509
95151
|
created_at?: string;
|
|
93510
95152
|
documentnaam?: string;
|
|
93511
95153
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
95154
|
+
extern_job_id?: string | null;
|
|
93512
95155
|
foutmelding?: string | null;
|
|
93513
95156
|
gebruiker_id?: string | null;
|
|
93514
95157
|
gebruiker_naam?: string;
|
|
93515
95158
|
gestart_op?: string | null;
|
|
93516
95159
|
id?: string;
|
|
95160
|
+
idempotentie_sleutel?: string | null;
|
|
93517
95161
|
is_herprint?: boolean;
|
|
93518
95162
|
kopieen?: number;
|
|
93519
95163
|
layout_id?: string | null;
|
|
93520
95164
|
opgepakt_op?: string | null;
|
|
93521
95165
|
paginas?: number;
|
|
93522
95166
|
payload?: import("../integrations/supabase/types").Json;
|
|
95167
|
+
pdf_base64?: string | null;
|
|
95168
|
+
pdf_url?: string | null;
|
|
93523
95169
|
pogingen?: number;
|
|
93524
95170
|
printer_id?: string | null;
|
|
93525
95171
|
render_html?: string | null;
|
|
93526
95172
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
93527
95173
|
updated_at?: string;
|
|
95174
|
+
volgende_poging?: string | null;
|
|
93528
95175
|
voltooid_op?: string | null;
|
|
93529
95176
|
};
|
|
93530
95177
|
Update: {
|
|
@@ -93533,22 +95180,27 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
93533
95180
|
created_at?: string;
|
|
93534
95181
|
documentnaam?: string;
|
|
93535
95182
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
95183
|
+
extern_job_id?: string | null;
|
|
93536
95184
|
foutmelding?: string | null;
|
|
93537
95185
|
gebruiker_id?: string | null;
|
|
93538
95186
|
gebruiker_naam?: string;
|
|
93539
95187
|
gestart_op?: string | null;
|
|
93540
95188
|
id?: string;
|
|
95189
|
+
idempotentie_sleutel?: string | null;
|
|
93541
95190
|
is_herprint?: boolean;
|
|
93542
95191
|
kopieen?: number;
|
|
93543
95192
|
layout_id?: string | null;
|
|
93544
95193
|
opgepakt_op?: string | null;
|
|
93545
95194
|
paginas?: number;
|
|
93546
95195
|
payload?: import("../integrations/supabase/types").Json;
|
|
95196
|
+
pdf_base64?: string | null;
|
|
95197
|
+
pdf_url?: string | null;
|
|
93547
95198
|
pogingen?: number;
|
|
93548
95199
|
printer_id?: string | null;
|
|
93549
95200
|
render_html?: string | null;
|
|
93550
95201
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
93551
95202
|
updated_at?: string;
|
|
95203
|
+
volgende_poging?: string | null;
|
|
93552
95204
|
voltooid_op?: string | null;
|
|
93553
95205
|
};
|
|
93554
95206
|
Relationships: [{
|
|
@@ -93731,6 +95383,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
93731
95383
|
agent_id: string | null;
|
|
93732
95384
|
created_at: string;
|
|
93733
95385
|
driver: string;
|
|
95386
|
+
extern_printer_id: string | null;
|
|
93734
95387
|
id: string;
|
|
93735
95388
|
ip_adres: string | null;
|
|
93736
95389
|
laatst_gezien: string | null;
|
|
@@ -93752,6 +95405,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
93752
95405
|
agent_id?: string | null;
|
|
93753
95406
|
created_at?: string;
|
|
93754
95407
|
driver?: string;
|
|
95408
|
+
extern_printer_id?: string | null;
|
|
93755
95409
|
id?: string;
|
|
93756
95410
|
ip_adres?: string | null;
|
|
93757
95411
|
laatst_gezien?: string | null;
|
|
@@ -93773,6 +95427,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
93773
95427
|
agent_id?: string | null;
|
|
93774
95428
|
created_at?: string;
|
|
93775
95429
|
driver?: string;
|
|
95430
|
+
extern_printer_id?: string | null;
|
|
93776
95431
|
id?: string;
|
|
93777
95432
|
ip_adres?: string | null;
|
|
93778
95433
|
laatst_gezien?: string | null;
|
|
@@ -99377,6 +101032,125 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
99377
101032
|
};
|
|
99378
101033
|
Returns: import("../integrations/supabase/types").Json;
|
|
99379
101034
|
};
|
|
101035
|
+
claim_cloud_print_jobs: {
|
|
101036
|
+
Args: {
|
|
101037
|
+
_max?: number;
|
|
101038
|
+
};
|
|
101039
|
+
Returns: {
|
|
101040
|
+
agent_id: string | null;
|
|
101041
|
+
bron_job_id: string | null;
|
|
101042
|
+
created_at: string;
|
|
101043
|
+
documentnaam: string;
|
|
101044
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
101045
|
+
extern_job_id: string | null;
|
|
101046
|
+
foutmelding: string | null;
|
|
101047
|
+
gebruiker_id: string | null;
|
|
101048
|
+
gebruiker_naam: string;
|
|
101049
|
+
gestart_op: string | null;
|
|
101050
|
+
id: string;
|
|
101051
|
+
idempotentie_sleutel: string | null;
|
|
101052
|
+
is_herprint: boolean;
|
|
101053
|
+
kopieen: number;
|
|
101054
|
+
layout_id: string | null;
|
|
101055
|
+
opgepakt_op: string | null;
|
|
101056
|
+
paginas: number;
|
|
101057
|
+
payload: import("../integrations/supabase/types").Json;
|
|
101058
|
+
pdf_base64: string | null;
|
|
101059
|
+
pdf_url: string | null;
|
|
101060
|
+
pogingen: number;
|
|
101061
|
+
printer_id: string | null;
|
|
101062
|
+
render_html: string | null;
|
|
101063
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
101064
|
+
updated_at: string;
|
|
101065
|
+
volgende_poging: string | null;
|
|
101066
|
+
voltooid_op: string | null;
|
|
101067
|
+
}[];
|
|
101068
|
+
SetofOptions: {
|
|
101069
|
+
from: "*";
|
|
101070
|
+
to: "print_jobs";
|
|
101071
|
+
isOneToOne: false;
|
|
101072
|
+
isSetofReturn: true;
|
|
101073
|
+
};
|
|
101074
|
+
};
|
|
101075
|
+
claim_floriday_stock_queue: {
|
|
101076
|
+
Args: {
|
|
101077
|
+
p_limit?: number;
|
|
101078
|
+
p_worker?: string;
|
|
101079
|
+
};
|
|
101080
|
+
Returns: {
|
|
101081
|
+
attempts: number;
|
|
101082
|
+
connection_id: string;
|
|
101083
|
+
created_at: string;
|
|
101084
|
+
desired_available: boolean | null;
|
|
101085
|
+
gateway_attempt_id: string | null;
|
|
101086
|
+
id: string;
|
|
101087
|
+
last_error: string | null;
|
|
101088
|
+
locked_at: string | null;
|
|
101089
|
+
locked_by: string | null;
|
|
101090
|
+
next_attempt_at: string;
|
|
101091
|
+
number_of_pieces: number;
|
|
101092
|
+
sent_at: string | null;
|
|
101093
|
+
status: string;
|
|
101094
|
+
superseded_by: string | null;
|
|
101095
|
+
trade_item_id: string;
|
|
101096
|
+
updated_at: string;
|
|
101097
|
+
user_id: string;
|
|
101098
|
+
}[];
|
|
101099
|
+
SetofOptions: {
|
|
101100
|
+
from: "*";
|
|
101101
|
+
to: "floriday_continuous_stock_queue";
|
|
101102
|
+
isOneToOne: false;
|
|
101103
|
+
isSetofReturn: true;
|
|
101104
|
+
};
|
|
101105
|
+
};
|
|
101106
|
+
claim_logistics_tasks: {
|
|
101107
|
+
Args: {
|
|
101108
|
+
_limit?: number;
|
|
101109
|
+
_owner_module: string;
|
|
101110
|
+
_stale_minutes?: number;
|
|
101111
|
+
_task_type: string;
|
|
101112
|
+
_worker: string;
|
|
101113
|
+
};
|
|
101114
|
+
Returns: {
|
|
101115
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
101116
|
+
attempts: number;
|
|
101117
|
+
buffer_ref: string | null;
|
|
101118
|
+
claimed_at: string | null;
|
|
101119
|
+
claimed_by: string | null;
|
|
101120
|
+
completed_at: string | null;
|
|
101121
|
+
created_at: string;
|
|
101122
|
+
depends_on: string[];
|
|
101123
|
+
due_at: string | null;
|
|
101124
|
+
error: string | null;
|
|
101125
|
+
id: string;
|
|
101126
|
+
last_error: string | null;
|
|
101127
|
+
next_attempt_at: string | null;
|
|
101128
|
+
order_ref: string;
|
|
101129
|
+
owner_module: string;
|
|
101130
|
+
payload: import("../integrations/supabase/types").Json;
|
|
101131
|
+
plan_run_id: string | null;
|
|
101132
|
+
planned_end: string | null;
|
|
101133
|
+
planned_start: string | null;
|
|
101134
|
+
priority: number;
|
|
101135
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
101136
|
+
rule_config_id: string | null;
|
|
101137
|
+
rule_version: number | null;
|
|
101138
|
+
sequence: number;
|
|
101139
|
+
shadow: boolean;
|
|
101140
|
+
started_at: string | null;
|
|
101141
|
+
status: string;
|
|
101142
|
+
strategy_id: string | null;
|
|
101143
|
+
task_type: string;
|
|
101144
|
+
updated_at: string;
|
|
101145
|
+
user_id: string;
|
|
101146
|
+
}[];
|
|
101147
|
+
SetofOptions: {
|
|
101148
|
+
from: "*";
|
|
101149
|
+
to: "logistics_tasks";
|
|
101150
|
+
isOneToOne: false;
|
|
101151
|
+
isSetofReturn: true;
|
|
101152
|
+
};
|
|
101153
|
+
};
|
|
99380
101154
|
claim_print_jobs: {
|
|
99381
101155
|
Args: {
|
|
99382
101156
|
_agent_id: string;
|
|
@@ -99388,22 +101162,27 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
99388
101162
|
created_at: string;
|
|
99389
101163
|
documentnaam: string;
|
|
99390
101164
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
101165
|
+
extern_job_id: string | null;
|
|
99391
101166
|
foutmelding: string | null;
|
|
99392
101167
|
gebruiker_id: string | null;
|
|
99393
101168
|
gebruiker_naam: string;
|
|
99394
101169
|
gestart_op: string | null;
|
|
99395
101170
|
id: string;
|
|
101171
|
+
idempotentie_sleutel: string | null;
|
|
99396
101172
|
is_herprint: boolean;
|
|
99397
101173
|
kopieen: number;
|
|
99398
101174
|
layout_id: string | null;
|
|
99399
101175
|
opgepakt_op: string | null;
|
|
99400
101176
|
paginas: number;
|
|
99401
101177
|
payload: import("../integrations/supabase/types").Json;
|
|
101178
|
+
pdf_base64: string | null;
|
|
101179
|
+
pdf_url: string | null;
|
|
99402
101180
|
pogingen: number;
|
|
99403
101181
|
printer_id: string | null;
|
|
99404
101182
|
render_html: string | null;
|
|
99405
101183
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
99406
101184
|
updated_at: string;
|
|
101185
|
+
volgende_poging: string | null;
|
|
99407
101186
|
voltooid_op: string | null;
|
|
99408
101187
|
}[];
|
|
99409
101188
|
SetofOptions: {
|
|
@@ -99441,10 +101220,24 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
99441
101220
|
isSetofReturn: true;
|
|
99442
101221
|
};
|
|
99443
101222
|
};
|
|
101223
|
+
cleanup_floriday_stock_queue: {
|
|
101224
|
+
Args: never;
|
|
101225
|
+
Returns: undefined;
|
|
101226
|
+
};
|
|
99444
101227
|
cleanup_old_bookings: {
|
|
99445
101228
|
Args: never;
|
|
99446
101229
|
Returns: undefined;
|
|
99447
101230
|
};
|
|
101231
|
+
complete_floriday_stock_queue: {
|
|
101232
|
+
Args: {
|
|
101233
|
+
p_attempt_id?: string;
|
|
101234
|
+
p_error?: string;
|
|
101235
|
+
p_id: string;
|
|
101236
|
+
p_ok: boolean;
|
|
101237
|
+
p_permanent?: boolean;
|
|
101238
|
+
};
|
|
101239
|
+
Returns: undefined;
|
|
101240
|
+
};
|
|
99448
101241
|
consume_bom_for_production: {
|
|
99449
101242
|
Args: {
|
|
99450
101243
|
p_connection_id: string;
|
|
@@ -99841,6 +101634,10 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
99841
101634
|
};
|
|
99842
101635
|
Returns: number;
|
|
99843
101636
|
};
|
|
101637
|
+
get_offer_branding: {
|
|
101638
|
+
Args: never;
|
|
101639
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
101640
|
+
};
|
|
99844
101641
|
get_offer_by_link_code: {
|
|
99845
101642
|
Args: {
|
|
99846
101643
|
p_code: string;
|
|
@@ -100132,6 +101929,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
100132
101929
|
p_worker?: string;
|
|
100133
101930
|
};
|
|
100134
101931
|
Returns: {
|
|
101932
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
101933
|
+
attempts: number;
|
|
100135
101934
|
buffer_ref: string | null;
|
|
100136
101935
|
claimed_at: string | null;
|
|
100137
101936
|
claimed_by: string | null;
|
|
@@ -100141,6 +101940,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
100141
101940
|
due_at: string | null;
|
|
100142
101941
|
error: string | null;
|
|
100143
101942
|
id: string;
|
|
101943
|
+
last_error: string | null;
|
|
101944
|
+
next_attempt_at: string | null;
|
|
100144
101945
|
order_ref: string;
|
|
100145
101946
|
owner_module: string;
|
|
100146
101947
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -100173,6 +101974,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
100173
101974
|
p_worker?: string;
|
|
100174
101975
|
};
|
|
100175
101976
|
Returns: {
|
|
101977
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
101978
|
+
attempts: number;
|
|
100176
101979
|
buffer_ref: string | null;
|
|
100177
101980
|
claimed_at: string | null;
|
|
100178
101981
|
claimed_by: string | null;
|
|
@@ -100182,6 +101985,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
100182
101985
|
due_at: string | null;
|
|
100183
101986
|
error: string | null;
|
|
100184
101987
|
id: string;
|
|
101988
|
+
last_error: string | null;
|
|
101989
|
+
next_attempt_at: string | null;
|
|
100185
101990
|
order_ref: string;
|
|
100186
101991
|
owner_module: string;
|
|
100187
101992
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -100214,6 +102019,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
100214
102019
|
p_task_id: string;
|
|
100215
102020
|
};
|
|
100216
102021
|
Returns: {
|
|
102022
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
102023
|
+
attempts: number;
|
|
100217
102024
|
buffer_ref: string | null;
|
|
100218
102025
|
claimed_at: string | null;
|
|
100219
102026
|
claimed_by: string | null;
|
|
@@ -100223,6 +102030,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
100223
102030
|
due_at: string | null;
|
|
100224
102031
|
error: string | null;
|
|
100225
102032
|
id: string;
|
|
102033
|
+
last_error: string | null;
|
|
102034
|
+
next_attempt_at: string | null;
|
|
100226
102035
|
order_ref: string;
|
|
100227
102036
|
owner_module: string;
|
|
100228
102037
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -100304,6 +102113,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
100304
102113
|
p_task_id: string;
|
|
100305
102114
|
};
|
|
100306
102115
|
Returns: {
|
|
102116
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
102117
|
+
attempts: number;
|
|
100307
102118
|
buffer_ref: string | null;
|
|
100308
102119
|
claimed_at: string | null;
|
|
100309
102120
|
claimed_by: string | null;
|
|
@@ -100313,6 +102124,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
100313
102124
|
due_at: string | null;
|
|
100314
102125
|
error: string | null;
|
|
100315
102126
|
id: string;
|
|
102127
|
+
last_error: string | null;
|
|
102128
|
+
next_attempt_at: string | null;
|
|
100316
102129
|
order_ref: string;
|
|
100317
102130
|
owner_module: string;
|
|
100318
102131
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -100339,6 +102152,51 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
100339
102152
|
isSetofReturn: false;
|
|
100340
102153
|
};
|
|
100341
102154
|
};
|
|
102155
|
+
logistics_floriday_claim_pushes: {
|
|
102156
|
+
Args: {
|
|
102157
|
+
_lease_seconds?: number;
|
|
102158
|
+
_limit?: number;
|
|
102159
|
+
_worker?: string;
|
|
102160
|
+
};
|
|
102161
|
+
Returns: {
|
|
102162
|
+
attempts: number;
|
|
102163
|
+
fulfillment_order_id: string;
|
|
102164
|
+
id: string;
|
|
102165
|
+
last_sent_hash: string;
|
|
102166
|
+
order_ref: string;
|
|
102167
|
+
payload: import("../integrations/supabase/types").Json;
|
|
102168
|
+
payload_hash: string;
|
|
102169
|
+
revision: number;
|
|
102170
|
+
}[];
|
|
102171
|
+
};
|
|
102172
|
+
logistics_floriday_finish_push: {
|
|
102173
|
+
Args: {
|
|
102174
|
+
_error?: string;
|
|
102175
|
+
_fulfillment_order_id?: string;
|
|
102176
|
+
_id: string;
|
|
102177
|
+
_max_age_hours?: number;
|
|
102178
|
+
_max_attempts?: number;
|
|
102179
|
+
_ok: boolean;
|
|
102180
|
+
_permanent?: boolean;
|
|
102181
|
+
_revision: number;
|
|
102182
|
+
_sent_hash?: string;
|
|
102183
|
+
};
|
|
102184
|
+
Returns: string;
|
|
102185
|
+
};
|
|
102186
|
+
logistics_floriday_prune_pushes: {
|
|
102187
|
+
Args: {
|
|
102188
|
+
_days?: number;
|
|
102189
|
+
};
|
|
102190
|
+
Returns: number;
|
|
102191
|
+
};
|
|
102192
|
+
logistics_floriday_queue_push: {
|
|
102193
|
+
Args: {
|
|
102194
|
+
_order_ref: string;
|
|
102195
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
102196
|
+
_payload_hash?: string;
|
|
102197
|
+
};
|
|
102198
|
+
Returns: string;
|
|
102199
|
+
};
|
|
100342
102200
|
logistics_live_carriers: {
|
|
100343
102201
|
Args: {
|
|
100344
102202
|
p_order_ref: string;
|
|
@@ -100686,6 +102544,15 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
100686
102544
|
};
|
|
100687
102545
|
Returns: string;
|
|
100688
102546
|
};
|
|
102547
|
+
pick_active_printers: {
|
|
102548
|
+
Args: never;
|
|
102549
|
+
Returns: {
|
|
102550
|
+
id: string;
|
|
102551
|
+
locatie: string;
|
|
102552
|
+
naam: string;
|
|
102553
|
+
online: boolean;
|
|
102554
|
+
}[];
|
|
102555
|
+
};
|
|
100689
102556
|
pick_claim_document: {
|
|
100690
102557
|
Args: {
|
|
100691
102558
|
_queue_item_id: string;
|
|
@@ -100872,6 +102739,52 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
100872
102739
|
};
|
|
100873
102740
|
Returns: undefined;
|
|
100874
102741
|
};
|
|
102742
|
+
pick_reset_print: {
|
|
102743
|
+
Args: {
|
|
102744
|
+
_queue_item_id: string;
|
|
102745
|
+
_session_id: string;
|
|
102746
|
+
};
|
|
102747
|
+
Returns: {
|
|
102748
|
+
announced_at: string;
|
|
102749
|
+
assigned_user_id: string | null;
|
|
102750
|
+
barcode: string | null;
|
|
102751
|
+
cancelled_at: string | null;
|
|
102752
|
+
cart_count: number;
|
|
102753
|
+
completed_at: string | null;
|
|
102754
|
+
country_code: string | null;
|
|
102755
|
+
created_at: string;
|
|
102756
|
+
customer_name: string | null;
|
|
102757
|
+
delivery_address: string | null;
|
|
102758
|
+
document_number: string | null;
|
|
102759
|
+
document_type_id: string | null;
|
|
102760
|
+
due_at: string | null;
|
|
102761
|
+
id: string;
|
|
102762
|
+
is_urgent: boolean;
|
|
102763
|
+
line_count: number;
|
|
102764
|
+
order_number: string | null;
|
|
102765
|
+
order_type: string | null;
|
|
102766
|
+
payload: import("../integrations/supabase/types").Json;
|
|
102767
|
+
print_count: number;
|
|
102768
|
+
print_job_id: string | null;
|
|
102769
|
+
printed_at: string | null;
|
|
102770
|
+
printed_by: string | null;
|
|
102771
|
+
printer_id: string | null;
|
|
102772
|
+
priority: number;
|
|
102773
|
+
reference: string | null;
|
|
102774
|
+
route: string | null;
|
|
102775
|
+
screen_id: string | null;
|
|
102776
|
+
station_id: string | null;
|
|
102777
|
+
status_id: string | null;
|
|
102778
|
+
updated_at: string;
|
|
102779
|
+
warnings: import("../integrations/supabase/types").Json;
|
|
102780
|
+
};
|
|
102781
|
+
SetofOptions: {
|
|
102782
|
+
from: "*";
|
|
102783
|
+
to: "pick_queue";
|
|
102784
|
+
isOneToOne: true;
|
|
102785
|
+
isSetofReturn: false;
|
|
102786
|
+
};
|
|
102787
|
+
};
|
|
100875
102788
|
pick_station_dashboard: {
|
|
100876
102789
|
Args: never;
|
|
100877
102790
|
Returns: {
|
|
@@ -101062,10 +102975,20 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
101062
102975
|
};
|
|
101063
102976
|
Returns: import("../integrations/supabase/types").Json;
|
|
101064
102977
|
};
|
|
102978
|
+
ruim_print_jobs_op: {
|
|
102979
|
+
Args: {
|
|
102980
|
+
_bewaar_dagen?: number;
|
|
102981
|
+
};
|
|
102982
|
+
Returns: number;
|
|
102983
|
+
};
|
|
101065
102984
|
run_floriday_continuous_stock_sync: {
|
|
101066
102985
|
Args: never;
|
|
101067
102986
|
Returns: undefined;
|
|
101068
102987
|
};
|
|
102988
|
+
run_logistics_tasks_dispatch: {
|
|
102989
|
+
Args: never;
|
|
102990
|
+
Returns: undefined;
|
|
102991
|
+
};
|
|
101069
102992
|
run_twinfield_queue_tick: {
|
|
101070
102993
|
Args: never;
|
|
101071
102994
|
Returns: undefined;
|
|
@@ -101306,6 +103229,13 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
101306
103229
|
};
|
|
101307
103230
|
Returns: number;
|
|
101308
103231
|
};
|
|
103232
|
+
schedule_floriday_stock_queue_process: {
|
|
103233
|
+
Args: {
|
|
103234
|
+
p_apikey: string;
|
|
103235
|
+
p_url: string;
|
|
103236
|
+
};
|
|
103237
|
+
Returns: number;
|
|
103238
|
+
};
|
|
101309
103239
|
schedule_floriday_token_refresh: {
|
|
101310
103240
|
Args: {
|
|
101311
103241
|
p_apikey: string;
|
|
@@ -101495,7 +103425,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
101495
103425
|
};
|
|
101496
103426
|
Enums: {
|
|
101497
103427
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
101498
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
103428
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
101499
103429
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
101500
103430
|
doc_orientation: "portrait" | "landscape";
|
|
101501
103431
|
exact_env: "staging" | "live";
|