@flowselections/logistiek-engine 1.0.4 → 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/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.map +1 -1
- package/dist-lib/lib/handlers/logistics-tick.server.js +11 -0
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +1940 -35
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierTaskSync.server.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierTaskSync.server.js +9 -0
- 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/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
|
@@ -5695,12 +5695,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
5695
5695
|
attempts: number;
|
|
5696
5696
|
connection_id: string;
|
|
5697
5697
|
created_at: string;
|
|
5698
|
+
desired_available: boolean | null;
|
|
5698
5699
|
gateway_attempt_id: string | null;
|
|
5699
5700
|
id: string;
|
|
5700
5701
|
last_error: string | null;
|
|
5702
|
+
locked_at: string | null;
|
|
5703
|
+
locked_by: string | null;
|
|
5704
|
+
next_attempt_at: string;
|
|
5701
5705
|
number_of_pieces: number;
|
|
5702
5706
|
sent_at: string | null;
|
|
5703
5707
|
status: string;
|
|
5708
|
+
superseded_by: string | null;
|
|
5704
5709
|
trade_item_id: string;
|
|
5705
5710
|
updated_at: string;
|
|
5706
5711
|
user_id: string;
|
|
@@ -5709,12 +5714,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
5709
5714
|
attempts?: number;
|
|
5710
5715
|
connection_id: string;
|
|
5711
5716
|
created_at?: string;
|
|
5717
|
+
desired_available?: boolean | null;
|
|
5712
5718
|
gateway_attempt_id?: string | null;
|
|
5713
5719
|
id?: string;
|
|
5714
5720
|
last_error?: string | null;
|
|
5721
|
+
locked_at?: string | null;
|
|
5722
|
+
locked_by?: string | null;
|
|
5723
|
+
next_attempt_at?: string;
|
|
5715
5724
|
number_of_pieces?: number;
|
|
5716
5725
|
sent_at?: string | null;
|
|
5717
5726
|
status?: string;
|
|
5727
|
+
superseded_by?: string | null;
|
|
5718
5728
|
trade_item_id: string;
|
|
5719
5729
|
updated_at?: string;
|
|
5720
5730
|
user_id: string;
|
|
@@ -5723,12 +5733,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
5723
5733
|
attempts?: number;
|
|
5724
5734
|
connection_id?: string;
|
|
5725
5735
|
created_at?: string;
|
|
5736
|
+
desired_available?: boolean | null;
|
|
5726
5737
|
gateway_attempt_id?: string | null;
|
|
5727
5738
|
id?: string;
|
|
5728
5739
|
last_error?: string | null;
|
|
5740
|
+
locked_at?: string | null;
|
|
5741
|
+
locked_by?: string | null;
|
|
5742
|
+
next_attempt_at?: string;
|
|
5729
5743
|
number_of_pieces?: number;
|
|
5730
5744
|
sent_at?: string | null;
|
|
5731
5745
|
status?: string;
|
|
5746
|
+
superseded_by?: string | null;
|
|
5732
5747
|
trade_item_id?: string;
|
|
5733
5748
|
updated_at?: string;
|
|
5734
5749
|
user_id?: string;
|
|
@@ -8477,6 +8492,69 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8477
8492
|
};
|
|
8478
8493
|
Relationships: [];
|
|
8479
8494
|
};
|
|
8495
|
+
logistics_floriday_pushes: {
|
|
8496
|
+
Row: {
|
|
8497
|
+
attempts: number;
|
|
8498
|
+
created_at: string;
|
|
8499
|
+
first_queued_at: string;
|
|
8500
|
+
fulfillment_order_id: string | null;
|
|
8501
|
+
id: string;
|
|
8502
|
+
last_error: string | null;
|
|
8503
|
+
last_error_at: string | null;
|
|
8504
|
+
last_sent_hash: string | null;
|
|
8505
|
+
locked_by: string | null;
|
|
8506
|
+
locked_until: string | null;
|
|
8507
|
+
next_attempt_at: string;
|
|
8508
|
+
order_ref: string;
|
|
8509
|
+
payload: import("./types").Json;
|
|
8510
|
+
payload_hash: string | null;
|
|
8511
|
+
revision: number;
|
|
8512
|
+
sent_at: string | null;
|
|
8513
|
+
status: string;
|
|
8514
|
+
updated_at: string;
|
|
8515
|
+
};
|
|
8516
|
+
Insert: {
|
|
8517
|
+
attempts?: number;
|
|
8518
|
+
created_at?: string;
|
|
8519
|
+
first_queued_at?: string;
|
|
8520
|
+
fulfillment_order_id?: string | null;
|
|
8521
|
+
id?: string;
|
|
8522
|
+
last_error?: string | null;
|
|
8523
|
+
last_error_at?: string | null;
|
|
8524
|
+
last_sent_hash?: string | null;
|
|
8525
|
+
locked_by?: string | null;
|
|
8526
|
+
locked_until?: string | null;
|
|
8527
|
+
next_attempt_at?: string;
|
|
8528
|
+
order_ref: string;
|
|
8529
|
+
payload?: import("./types").Json;
|
|
8530
|
+
payload_hash?: string | null;
|
|
8531
|
+
revision?: number;
|
|
8532
|
+
sent_at?: string | null;
|
|
8533
|
+
status?: string;
|
|
8534
|
+
updated_at?: string;
|
|
8535
|
+
};
|
|
8536
|
+
Update: {
|
|
8537
|
+
attempts?: number;
|
|
8538
|
+
created_at?: string;
|
|
8539
|
+
first_queued_at?: string;
|
|
8540
|
+
fulfillment_order_id?: string | null;
|
|
8541
|
+
id?: string;
|
|
8542
|
+
last_error?: string | null;
|
|
8543
|
+
last_error_at?: string | null;
|
|
8544
|
+
last_sent_hash?: string | null;
|
|
8545
|
+
locked_by?: string | null;
|
|
8546
|
+
locked_until?: string | null;
|
|
8547
|
+
next_attempt_at?: string;
|
|
8548
|
+
order_ref?: string;
|
|
8549
|
+
payload?: import("./types").Json;
|
|
8550
|
+
payload_hash?: string | null;
|
|
8551
|
+
revision?: number;
|
|
8552
|
+
sent_at?: string | null;
|
|
8553
|
+
status?: string;
|
|
8554
|
+
updated_at?: string;
|
|
8555
|
+
};
|
|
8556
|
+
Relationships: [];
|
|
8557
|
+
};
|
|
8480
8558
|
logistics_formulas: {
|
|
8481
8559
|
Row: {
|
|
8482
8560
|
created_at: string;
|
|
@@ -9088,6 +9166,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9088
9166
|
};
|
|
9089
9167
|
logistics_tasks: {
|
|
9090
9168
|
Row: {
|
|
9169
|
+
attempt_log: import("./types").Json;
|
|
9170
|
+
attempts: number;
|
|
9091
9171
|
buffer_ref: string | null;
|
|
9092
9172
|
claimed_at: string | null;
|
|
9093
9173
|
claimed_by: string | null;
|
|
@@ -9097,6 +9177,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9097
9177
|
due_at: string | null;
|
|
9098
9178
|
error: string | null;
|
|
9099
9179
|
id: string;
|
|
9180
|
+
last_error: string | null;
|
|
9181
|
+
next_attempt_at: string | null;
|
|
9100
9182
|
order_ref: string;
|
|
9101
9183
|
owner_module: string;
|
|
9102
9184
|
payload: import("./types").Json;
|
|
@@ -9117,6 +9199,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9117
9199
|
user_id: string;
|
|
9118
9200
|
};
|
|
9119
9201
|
Insert: {
|
|
9202
|
+
attempt_log?: import("./types").Json;
|
|
9203
|
+
attempts?: number;
|
|
9120
9204
|
buffer_ref?: string | null;
|
|
9121
9205
|
claimed_at?: string | null;
|
|
9122
9206
|
claimed_by?: string | null;
|
|
@@ -9126,6 +9210,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9126
9210
|
due_at?: string | null;
|
|
9127
9211
|
error?: string | null;
|
|
9128
9212
|
id?: string;
|
|
9213
|
+
last_error?: string | null;
|
|
9214
|
+
next_attempt_at?: string | null;
|
|
9129
9215
|
order_ref: string;
|
|
9130
9216
|
owner_module: string;
|
|
9131
9217
|
payload?: import("./types").Json;
|
|
@@ -9146,6 +9232,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9146
9232
|
user_id?: string;
|
|
9147
9233
|
};
|
|
9148
9234
|
Update: {
|
|
9235
|
+
attempt_log?: import("./types").Json;
|
|
9236
|
+
attempts?: number;
|
|
9149
9237
|
buffer_ref?: string | null;
|
|
9150
9238
|
claimed_at?: string | null;
|
|
9151
9239
|
claimed_by?: string | null;
|
|
@@ -9155,6 +9243,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9155
9243
|
due_at?: string | null;
|
|
9156
9244
|
error?: string | null;
|
|
9157
9245
|
id?: string;
|
|
9246
|
+
last_error?: string | null;
|
|
9247
|
+
next_attempt_at?: string | null;
|
|
9158
9248
|
order_ref?: string;
|
|
9159
9249
|
owner_module?: string;
|
|
9160
9250
|
payload?: import("./types").Json;
|
|
@@ -10504,6 +10594,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10504
10594
|
};
|
|
10505
10595
|
offer_settings: {
|
|
10506
10596
|
Row: {
|
|
10597
|
+
brand_name: string | null;
|
|
10507
10598
|
button_color: string;
|
|
10508
10599
|
created_at: string;
|
|
10509
10600
|
default_countries: string[];
|
|
@@ -10525,6 +10616,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10525
10616
|
updated_at: string;
|
|
10526
10617
|
};
|
|
10527
10618
|
Insert: {
|
|
10619
|
+
brand_name?: string | null;
|
|
10528
10620
|
button_color?: string;
|
|
10529
10621
|
created_at?: string;
|
|
10530
10622
|
default_countries?: string[];
|
|
@@ -10546,6 +10638,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10546
10638
|
updated_at?: string;
|
|
10547
10639
|
};
|
|
10548
10640
|
Update: {
|
|
10641
|
+
brand_name?: string | null;
|
|
10549
10642
|
button_color?: string;
|
|
10550
10643
|
created_at?: string;
|
|
10551
10644
|
default_countries?: string[];
|
|
@@ -12264,22 +12357,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12264
12357
|
created_at: string;
|
|
12265
12358
|
documentnaam: string;
|
|
12266
12359
|
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
12360
|
+
extern_job_id: string | null;
|
|
12267
12361
|
foutmelding: string | null;
|
|
12268
12362
|
gebruiker_id: string | null;
|
|
12269
12363
|
gebruiker_naam: string;
|
|
12270
12364
|
gestart_op: string | null;
|
|
12271
12365
|
id: string;
|
|
12366
|
+
idempotentie_sleutel: string | null;
|
|
12272
12367
|
is_herprint: boolean;
|
|
12273
12368
|
kopieen: number;
|
|
12274
12369
|
layout_id: string | null;
|
|
12275
12370
|
opgepakt_op: string | null;
|
|
12276
12371
|
paginas: number;
|
|
12277
12372
|
payload: import("./types").Json;
|
|
12373
|
+
pdf_base64: string | null;
|
|
12374
|
+
pdf_url: string | null;
|
|
12278
12375
|
pogingen: number;
|
|
12279
12376
|
printer_id: string | null;
|
|
12280
12377
|
render_html: string | null;
|
|
12281
12378
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
12282
12379
|
updated_at: string;
|
|
12380
|
+
volgende_poging: string | null;
|
|
12283
12381
|
voltooid_op: string | null;
|
|
12284
12382
|
};
|
|
12285
12383
|
Insert: {
|
|
@@ -12288,22 +12386,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12288
12386
|
created_at?: string;
|
|
12289
12387
|
documentnaam?: string;
|
|
12290
12388
|
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
12389
|
+
extern_job_id?: string | null;
|
|
12291
12390
|
foutmelding?: string | null;
|
|
12292
12391
|
gebruiker_id?: string | null;
|
|
12293
12392
|
gebruiker_naam?: string;
|
|
12294
12393
|
gestart_op?: string | null;
|
|
12295
12394
|
id?: string;
|
|
12395
|
+
idempotentie_sleutel?: string | null;
|
|
12296
12396
|
is_herprint?: boolean;
|
|
12297
12397
|
kopieen?: number;
|
|
12298
12398
|
layout_id?: string | null;
|
|
12299
12399
|
opgepakt_op?: string | null;
|
|
12300
12400
|
paginas?: number;
|
|
12301
12401
|
payload?: import("./types").Json;
|
|
12402
|
+
pdf_base64?: string | null;
|
|
12403
|
+
pdf_url?: string | null;
|
|
12302
12404
|
pogingen?: number;
|
|
12303
12405
|
printer_id?: string | null;
|
|
12304
12406
|
render_html?: string | null;
|
|
12305
12407
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
12306
12408
|
updated_at?: string;
|
|
12409
|
+
volgende_poging?: string | null;
|
|
12307
12410
|
voltooid_op?: string | null;
|
|
12308
12411
|
};
|
|
12309
12412
|
Update: {
|
|
@@ -12312,22 +12415,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12312
12415
|
created_at?: string;
|
|
12313
12416
|
documentnaam?: string;
|
|
12314
12417
|
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
12418
|
+
extern_job_id?: string | null;
|
|
12315
12419
|
foutmelding?: string | null;
|
|
12316
12420
|
gebruiker_id?: string | null;
|
|
12317
12421
|
gebruiker_naam?: string;
|
|
12318
12422
|
gestart_op?: string | null;
|
|
12319
12423
|
id?: string;
|
|
12424
|
+
idempotentie_sleutel?: string | null;
|
|
12320
12425
|
is_herprint?: boolean;
|
|
12321
12426
|
kopieen?: number;
|
|
12322
12427
|
layout_id?: string | null;
|
|
12323
12428
|
opgepakt_op?: string | null;
|
|
12324
12429
|
paginas?: number;
|
|
12325
12430
|
payload?: import("./types").Json;
|
|
12431
|
+
pdf_base64?: string | null;
|
|
12432
|
+
pdf_url?: string | null;
|
|
12326
12433
|
pogingen?: number;
|
|
12327
12434
|
printer_id?: string | null;
|
|
12328
12435
|
render_html?: string | null;
|
|
12329
12436
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
12330
12437
|
updated_at?: string;
|
|
12438
|
+
volgende_poging?: string | null;
|
|
12331
12439
|
voltooid_op?: string | null;
|
|
12332
12440
|
};
|
|
12333
12441
|
Relationships: [{
|
|
@@ -12510,6 +12618,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12510
12618
|
agent_id: string | null;
|
|
12511
12619
|
created_at: string;
|
|
12512
12620
|
driver: string;
|
|
12621
|
+
extern_printer_id: string | null;
|
|
12513
12622
|
id: string;
|
|
12514
12623
|
ip_adres: string | null;
|
|
12515
12624
|
laatst_gezien: string | null;
|
|
@@ -12531,6 +12640,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12531
12640
|
agent_id?: string | null;
|
|
12532
12641
|
created_at?: string;
|
|
12533
12642
|
driver?: string;
|
|
12643
|
+
extern_printer_id?: string | null;
|
|
12534
12644
|
id?: string;
|
|
12535
12645
|
ip_adres?: string | null;
|
|
12536
12646
|
laatst_gezien?: string | null;
|
|
@@ -12552,6 +12662,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12552
12662
|
agent_id?: string | null;
|
|
12553
12663
|
created_at?: string;
|
|
12554
12664
|
driver?: string;
|
|
12665
|
+
extern_printer_id?: string | null;
|
|
12555
12666
|
id?: string;
|
|
12556
12667
|
ip_adres?: string | null;
|
|
12557
12668
|
laatst_gezien?: string | null;
|
|
@@ -18156,6 +18267,125 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18156
18267
|
};
|
|
18157
18268
|
Returns: import("./types").Json;
|
|
18158
18269
|
};
|
|
18270
|
+
claim_cloud_print_jobs: {
|
|
18271
|
+
Args: {
|
|
18272
|
+
_max?: number;
|
|
18273
|
+
};
|
|
18274
|
+
Returns: {
|
|
18275
|
+
agent_id: string | null;
|
|
18276
|
+
bron_job_id: string | null;
|
|
18277
|
+
created_at: string;
|
|
18278
|
+
documentnaam: string;
|
|
18279
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
18280
|
+
extern_job_id: string | null;
|
|
18281
|
+
foutmelding: string | null;
|
|
18282
|
+
gebruiker_id: string | null;
|
|
18283
|
+
gebruiker_naam: string;
|
|
18284
|
+
gestart_op: string | null;
|
|
18285
|
+
id: string;
|
|
18286
|
+
idempotentie_sleutel: string | null;
|
|
18287
|
+
is_herprint: boolean;
|
|
18288
|
+
kopieen: number;
|
|
18289
|
+
layout_id: string | null;
|
|
18290
|
+
opgepakt_op: string | null;
|
|
18291
|
+
paginas: number;
|
|
18292
|
+
payload: import("./types").Json;
|
|
18293
|
+
pdf_base64: string | null;
|
|
18294
|
+
pdf_url: string | null;
|
|
18295
|
+
pogingen: number;
|
|
18296
|
+
printer_id: string | null;
|
|
18297
|
+
render_html: string | null;
|
|
18298
|
+
status: Database["public"]["Enums"]["print_job_status"];
|
|
18299
|
+
updated_at: string;
|
|
18300
|
+
volgende_poging: string | null;
|
|
18301
|
+
voltooid_op: string | null;
|
|
18302
|
+
}[];
|
|
18303
|
+
SetofOptions: {
|
|
18304
|
+
from: "*";
|
|
18305
|
+
to: "print_jobs";
|
|
18306
|
+
isOneToOne: false;
|
|
18307
|
+
isSetofReturn: true;
|
|
18308
|
+
};
|
|
18309
|
+
};
|
|
18310
|
+
claim_floriday_stock_queue: {
|
|
18311
|
+
Args: {
|
|
18312
|
+
p_limit?: number;
|
|
18313
|
+
p_worker?: string;
|
|
18314
|
+
};
|
|
18315
|
+
Returns: {
|
|
18316
|
+
attempts: number;
|
|
18317
|
+
connection_id: string;
|
|
18318
|
+
created_at: string;
|
|
18319
|
+
desired_available: boolean | null;
|
|
18320
|
+
gateway_attempt_id: string | null;
|
|
18321
|
+
id: string;
|
|
18322
|
+
last_error: string | null;
|
|
18323
|
+
locked_at: string | null;
|
|
18324
|
+
locked_by: string | null;
|
|
18325
|
+
next_attempt_at: string;
|
|
18326
|
+
number_of_pieces: number;
|
|
18327
|
+
sent_at: string | null;
|
|
18328
|
+
status: string;
|
|
18329
|
+
superseded_by: string | null;
|
|
18330
|
+
trade_item_id: string;
|
|
18331
|
+
updated_at: string;
|
|
18332
|
+
user_id: string;
|
|
18333
|
+
}[];
|
|
18334
|
+
SetofOptions: {
|
|
18335
|
+
from: "*";
|
|
18336
|
+
to: "floriday_continuous_stock_queue";
|
|
18337
|
+
isOneToOne: false;
|
|
18338
|
+
isSetofReturn: true;
|
|
18339
|
+
};
|
|
18340
|
+
};
|
|
18341
|
+
claim_logistics_tasks: {
|
|
18342
|
+
Args: {
|
|
18343
|
+
_limit?: number;
|
|
18344
|
+
_owner_module: string;
|
|
18345
|
+
_stale_minutes?: number;
|
|
18346
|
+
_task_type: string;
|
|
18347
|
+
_worker: string;
|
|
18348
|
+
};
|
|
18349
|
+
Returns: {
|
|
18350
|
+
attempt_log: import("./types").Json;
|
|
18351
|
+
attempts: number;
|
|
18352
|
+
buffer_ref: string | null;
|
|
18353
|
+
claimed_at: string | null;
|
|
18354
|
+
claimed_by: string | null;
|
|
18355
|
+
completed_at: string | null;
|
|
18356
|
+
created_at: string;
|
|
18357
|
+
depends_on: string[];
|
|
18358
|
+
due_at: string | null;
|
|
18359
|
+
error: string | null;
|
|
18360
|
+
id: string;
|
|
18361
|
+
last_error: string | null;
|
|
18362
|
+
next_attempt_at: string | null;
|
|
18363
|
+
order_ref: string;
|
|
18364
|
+
owner_module: string;
|
|
18365
|
+
payload: import("./types").Json;
|
|
18366
|
+
plan_run_id: string | null;
|
|
18367
|
+
planned_end: string | null;
|
|
18368
|
+
planned_start: string | null;
|
|
18369
|
+
priority: number;
|
|
18370
|
+
result: import("./types").Json | null;
|
|
18371
|
+
rule_config_id: string | null;
|
|
18372
|
+
rule_version: number | null;
|
|
18373
|
+
sequence: number;
|
|
18374
|
+
shadow: boolean;
|
|
18375
|
+
started_at: string | null;
|
|
18376
|
+
status: string;
|
|
18377
|
+
strategy_id: string | null;
|
|
18378
|
+
task_type: string;
|
|
18379
|
+
updated_at: string;
|
|
18380
|
+
user_id: string;
|
|
18381
|
+
}[];
|
|
18382
|
+
SetofOptions: {
|
|
18383
|
+
from: "*";
|
|
18384
|
+
to: "logistics_tasks";
|
|
18385
|
+
isOneToOne: false;
|
|
18386
|
+
isSetofReturn: true;
|
|
18387
|
+
};
|
|
18388
|
+
};
|
|
18159
18389
|
claim_print_jobs: {
|
|
18160
18390
|
Args: {
|
|
18161
18391
|
_agent_id: string;
|
|
@@ -18167,22 +18397,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18167
18397
|
created_at: string;
|
|
18168
18398
|
documentnaam: string;
|
|
18169
18399
|
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
18400
|
+
extern_job_id: string | null;
|
|
18170
18401
|
foutmelding: string | null;
|
|
18171
18402
|
gebruiker_id: string | null;
|
|
18172
18403
|
gebruiker_naam: string;
|
|
18173
18404
|
gestart_op: string | null;
|
|
18174
18405
|
id: string;
|
|
18406
|
+
idempotentie_sleutel: string | null;
|
|
18175
18407
|
is_herprint: boolean;
|
|
18176
18408
|
kopieen: number;
|
|
18177
18409
|
layout_id: string | null;
|
|
18178
18410
|
opgepakt_op: string | null;
|
|
18179
18411
|
paginas: number;
|
|
18180
18412
|
payload: import("./types").Json;
|
|
18413
|
+
pdf_base64: string | null;
|
|
18414
|
+
pdf_url: string | null;
|
|
18181
18415
|
pogingen: number;
|
|
18182
18416
|
printer_id: string | null;
|
|
18183
18417
|
render_html: string | null;
|
|
18184
18418
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
18185
18419
|
updated_at: string;
|
|
18420
|
+
volgende_poging: string | null;
|
|
18186
18421
|
voltooid_op: string | null;
|
|
18187
18422
|
}[];
|
|
18188
18423
|
SetofOptions: {
|
|
@@ -18220,10 +18455,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18220
18455
|
isSetofReturn: true;
|
|
18221
18456
|
};
|
|
18222
18457
|
};
|
|
18458
|
+
cleanup_floriday_stock_queue: {
|
|
18459
|
+
Args: never;
|
|
18460
|
+
Returns: undefined;
|
|
18461
|
+
};
|
|
18223
18462
|
cleanup_old_bookings: {
|
|
18224
18463
|
Args: never;
|
|
18225
18464
|
Returns: undefined;
|
|
18226
18465
|
};
|
|
18466
|
+
complete_floriday_stock_queue: {
|
|
18467
|
+
Args: {
|
|
18468
|
+
p_attempt_id?: string;
|
|
18469
|
+
p_error?: string;
|
|
18470
|
+
p_id: string;
|
|
18471
|
+
p_ok: boolean;
|
|
18472
|
+
p_permanent?: boolean;
|
|
18473
|
+
};
|
|
18474
|
+
Returns: undefined;
|
|
18475
|
+
};
|
|
18227
18476
|
consume_bom_for_production: {
|
|
18228
18477
|
Args: {
|
|
18229
18478
|
p_connection_id: string;
|
|
@@ -18620,6 +18869,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18620
18869
|
};
|
|
18621
18870
|
Returns: number;
|
|
18622
18871
|
};
|
|
18872
|
+
get_offer_branding: {
|
|
18873
|
+
Args: never;
|
|
18874
|
+
Returns: import("./types").Json;
|
|
18875
|
+
};
|
|
18623
18876
|
get_offer_by_link_code: {
|
|
18624
18877
|
Args: {
|
|
18625
18878
|
p_code: string;
|
|
@@ -18911,6 +19164,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18911
19164
|
p_worker?: string;
|
|
18912
19165
|
};
|
|
18913
19166
|
Returns: {
|
|
19167
|
+
attempt_log: import("./types").Json;
|
|
19168
|
+
attempts: number;
|
|
18914
19169
|
buffer_ref: string | null;
|
|
18915
19170
|
claimed_at: string | null;
|
|
18916
19171
|
claimed_by: string | null;
|
|
@@ -18920,6 +19175,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18920
19175
|
due_at: string | null;
|
|
18921
19176
|
error: string | null;
|
|
18922
19177
|
id: string;
|
|
19178
|
+
last_error: string | null;
|
|
19179
|
+
next_attempt_at: string | null;
|
|
18923
19180
|
order_ref: string;
|
|
18924
19181
|
owner_module: string;
|
|
18925
19182
|
payload: import("./types").Json;
|
|
@@ -18952,6 +19209,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18952
19209
|
p_worker?: string;
|
|
18953
19210
|
};
|
|
18954
19211
|
Returns: {
|
|
19212
|
+
attempt_log: import("./types").Json;
|
|
19213
|
+
attempts: number;
|
|
18955
19214
|
buffer_ref: string | null;
|
|
18956
19215
|
claimed_at: string | null;
|
|
18957
19216
|
claimed_by: string | null;
|
|
@@ -18961,6 +19220,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18961
19220
|
due_at: string | null;
|
|
18962
19221
|
error: string | null;
|
|
18963
19222
|
id: string;
|
|
19223
|
+
last_error: string | null;
|
|
19224
|
+
next_attempt_at: string | null;
|
|
18964
19225
|
order_ref: string;
|
|
18965
19226
|
owner_module: string;
|
|
18966
19227
|
payload: import("./types").Json;
|
|
@@ -18993,6 +19254,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18993
19254
|
p_task_id: string;
|
|
18994
19255
|
};
|
|
18995
19256
|
Returns: {
|
|
19257
|
+
attempt_log: import("./types").Json;
|
|
19258
|
+
attempts: number;
|
|
18996
19259
|
buffer_ref: string | null;
|
|
18997
19260
|
claimed_at: string | null;
|
|
18998
19261
|
claimed_by: string | null;
|
|
@@ -19002,6 +19265,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19002
19265
|
due_at: string | null;
|
|
19003
19266
|
error: string | null;
|
|
19004
19267
|
id: string;
|
|
19268
|
+
last_error: string | null;
|
|
19269
|
+
next_attempt_at: string | null;
|
|
19005
19270
|
order_ref: string;
|
|
19006
19271
|
owner_module: string;
|
|
19007
19272
|
payload: import("./types").Json;
|
|
@@ -19083,6 +19348,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19083
19348
|
p_task_id: string;
|
|
19084
19349
|
};
|
|
19085
19350
|
Returns: {
|
|
19351
|
+
attempt_log: import("./types").Json;
|
|
19352
|
+
attempts: number;
|
|
19086
19353
|
buffer_ref: string | null;
|
|
19087
19354
|
claimed_at: string | null;
|
|
19088
19355
|
claimed_by: string | null;
|
|
@@ -19092,6 +19359,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19092
19359
|
due_at: string | null;
|
|
19093
19360
|
error: string | null;
|
|
19094
19361
|
id: string;
|
|
19362
|
+
last_error: string | null;
|
|
19363
|
+
next_attempt_at: string | null;
|
|
19095
19364
|
order_ref: string;
|
|
19096
19365
|
owner_module: string;
|
|
19097
19366
|
payload: import("./types").Json;
|
|
@@ -19118,6 +19387,51 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19118
19387
|
isSetofReturn: false;
|
|
19119
19388
|
};
|
|
19120
19389
|
};
|
|
19390
|
+
logistics_floriday_claim_pushes: {
|
|
19391
|
+
Args: {
|
|
19392
|
+
_lease_seconds?: number;
|
|
19393
|
+
_limit?: number;
|
|
19394
|
+
_worker?: string;
|
|
19395
|
+
};
|
|
19396
|
+
Returns: {
|
|
19397
|
+
attempts: number;
|
|
19398
|
+
fulfillment_order_id: string;
|
|
19399
|
+
id: string;
|
|
19400
|
+
last_sent_hash: string;
|
|
19401
|
+
order_ref: string;
|
|
19402
|
+
payload: import("./types").Json;
|
|
19403
|
+
payload_hash: string;
|
|
19404
|
+
revision: number;
|
|
19405
|
+
}[];
|
|
19406
|
+
};
|
|
19407
|
+
logistics_floriday_finish_push: {
|
|
19408
|
+
Args: {
|
|
19409
|
+
_error?: string;
|
|
19410
|
+
_fulfillment_order_id?: string;
|
|
19411
|
+
_id: string;
|
|
19412
|
+
_max_age_hours?: number;
|
|
19413
|
+
_max_attempts?: number;
|
|
19414
|
+
_ok: boolean;
|
|
19415
|
+
_permanent?: boolean;
|
|
19416
|
+
_revision: number;
|
|
19417
|
+
_sent_hash?: string;
|
|
19418
|
+
};
|
|
19419
|
+
Returns: string;
|
|
19420
|
+
};
|
|
19421
|
+
logistics_floriday_prune_pushes: {
|
|
19422
|
+
Args: {
|
|
19423
|
+
_days?: number;
|
|
19424
|
+
};
|
|
19425
|
+
Returns: number;
|
|
19426
|
+
};
|
|
19427
|
+
logistics_floriday_queue_push: {
|
|
19428
|
+
Args: {
|
|
19429
|
+
_order_ref: string;
|
|
19430
|
+
_payload?: import("./types").Json;
|
|
19431
|
+
_payload_hash?: string;
|
|
19432
|
+
};
|
|
19433
|
+
Returns: string;
|
|
19434
|
+
};
|
|
19121
19435
|
logistics_live_carriers: {
|
|
19122
19436
|
Args: {
|
|
19123
19437
|
p_order_ref: string;
|
|
@@ -19465,6 +19779,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19465
19779
|
};
|
|
19466
19780
|
Returns: string;
|
|
19467
19781
|
};
|
|
19782
|
+
pick_active_printers: {
|
|
19783
|
+
Args: never;
|
|
19784
|
+
Returns: {
|
|
19785
|
+
id: string;
|
|
19786
|
+
locatie: string;
|
|
19787
|
+
naam: string;
|
|
19788
|
+
online: boolean;
|
|
19789
|
+
}[];
|
|
19790
|
+
};
|
|
19468
19791
|
pick_claim_document: {
|
|
19469
19792
|
Args: {
|
|
19470
19793
|
_queue_item_id: string;
|
|
@@ -19651,6 +19974,52 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19651
19974
|
};
|
|
19652
19975
|
Returns: undefined;
|
|
19653
19976
|
};
|
|
19977
|
+
pick_reset_print: {
|
|
19978
|
+
Args: {
|
|
19979
|
+
_queue_item_id: string;
|
|
19980
|
+
_session_id: string;
|
|
19981
|
+
};
|
|
19982
|
+
Returns: {
|
|
19983
|
+
announced_at: string;
|
|
19984
|
+
assigned_user_id: string | null;
|
|
19985
|
+
barcode: string | null;
|
|
19986
|
+
cancelled_at: string | null;
|
|
19987
|
+
cart_count: number;
|
|
19988
|
+
completed_at: string | null;
|
|
19989
|
+
country_code: string | null;
|
|
19990
|
+
created_at: string;
|
|
19991
|
+
customer_name: string | null;
|
|
19992
|
+
delivery_address: string | null;
|
|
19993
|
+
document_number: string | null;
|
|
19994
|
+
document_type_id: string | null;
|
|
19995
|
+
due_at: string | null;
|
|
19996
|
+
id: string;
|
|
19997
|
+
is_urgent: boolean;
|
|
19998
|
+
line_count: number;
|
|
19999
|
+
order_number: string | null;
|
|
20000
|
+
order_type: string | null;
|
|
20001
|
+
payload: import("./types").Json;
|
|
20002
|
+
print_count: number;
|
|
20003
|
+
print_job_id: string | null;
|
|
20004
|
+
printed_at: string | null;
|
|
20005
|
+
printed_by: string | null;
|
|
20006
|
+
printer_id: string | null;
|
|
20007
|
+
priority: number;
|
|
20008
|
+
reference: string | null;
|
|
20009
|
+
route: string | null;
|
|
20010
|
+
screen_id: string | null;
|
|
20011
|
+
station_id: string | null;
|
|
20012
|
+
status_id: string | null;
|
|
20013
|
+
updated_at: string;
|
|
20014
|
+
warnings: import("./types").Json;
|
|
20015
|
+
};
|
|
20016
|
+
SetofOptions: {
|
|
20017
|
+
from: "*";
|
|
20018
|
+
to: "pick_queue";
|
|
20019
|
+
isOneToOne: true;
|
|
20020
|
+
isSetofReturn: false;
|
|
20021
|
+
};
|
|
20022
|
+
};
|
|
19654
20023
|
pick_station_dashboard: {
|
|
19655
20024
|
Args: never;
|
|
19656
20025
|
Returns: {
|
|
@@ -19841,10 +20210,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19841
20210
|
};
|
|
19842
20211
|
Returns: import("./types").Json;
|
|
19843
20212
|
};
|
|
20213
|
+
ruim_print_jobs_op: {
|
|
20214
|
+
Args: {
|
|
20215
|
+
_bewaar_dagen?: number;
|
|
20216
|
+
};
|
|
20217
|
+
Returns: number;
|
|
20218
|
+
};
|
|
19844
20219
|
run_floriday_continuous_stock_sync: {
|
|
19845
20220
|
Args: never;
|
|
19846
20221
|
Returns: undefined;
|
|
19847
20222
|
};
|
|
20223
|
+
run_logistics_tasks_dispatch: {
|
|
20224
|
+
Args: never;
|
|
20225
|
+
Returns: undefined;
|
|
20226
|
+
};
|
|
19848
20227
|
run_twinfield_queue_tick: {
|
|
19849
20228
|
Args: never;
|
|
19850
20229
|
Returns: undefined;
|
|
@@ -20085,6 +20464,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20085
20464
|
};
|
|
20086
20465
|
Returns: number;
|
|
20087
20466
|
};
|
|
20467
|
+
schedule_floriday_stock_queue_process: {
|
|
20468
|
+
Args: {
|
|
20469
|
+
p_apikey: string;
|
|
20470
|
+
p_url: string;
|
|
20471
|
+
};
|
|
20472
|
+
Returns: number;
|
|
20473
|
+
};
|
|
20088
20474
|
schedule_floriday_token_refresh: {
|
|
20089
20475
|
Args: {
|
|
20090
20476
|
p_apikey: string;
|
|
@@ -20274,7 +20660,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20274
20660
|
};
|
|
20275
20661
|
Enums: {
|
|
20276
20662
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
20277
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
20663
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
20278
20664
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
20279
20665
|
doc_orientation: "portrait" | "landscape";
|
|
20280
20666
|
exact_env: "staging" | "live";
|