@flowselections/floriday-voorraad 1.0.32 → 1.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.js +11 -5
- package/dist-lib/components/voorraad/ModuleHealthCard.d.ts +2 -0
- package/dist-lib/components/voorraad/ModuleHealthCard.d.ts.map +1 -0
- package/dist-lib/components/voorraad/ModuleHealthCard.js +40 -0
- package/dist-lib/components/voorraad/StockBulkButtons.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockBulkButtons.js +5 -2
- package/dist-lib/components/voorraad/StockPushMonitor.d.ts +4 -0
- package/dist-lib/components/voorraad/StockPushMonitor.d.ts.map +1 -0
- package/dist-lib/components/voorraad/StockPushMonitor.js +110 -0
- package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadPage.js +2 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.js +10 -5
- package/dist-lib/hooks/useStockPushJobs.d.ts +23 -0
- package/dist-lib/hooks/useStockPushJobs.d.ts.map +1 -0
- package/dist-lib/hooks/useStockPushJobs.js +86 -0
- package/dist-lib/hooks/useTradeItemStock.d.ts +12 -0
- package/dist-lib/hooks/useTradeItemStock.d.ts.map +1 -1
- package/dist-lib/hooks/useTradeItemStock.js +22 -0
- package/dist-lib/hooks/useVoorraadData.d.ts.map +1 -1
- package/dist-lib/hooks/useVoorraadData.js +11 -3
- package/dist-lib/index.d.ts +1 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +6 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +410 -4
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +410 -4
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +410 -4
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +411 -5
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +12 -1
- package/dist-lib/lib/centralSecrets.server.js +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +410 -4
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +410 -4
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-env.functions.d.ts +820 -8
- package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +2460 -24
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.server.d.ts +14 -0
- package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.server.js +62 -10
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts +820 -8
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +1230 -12
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +820 -8
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/module-health.functions.d.ts +41725 -0
- package/dist-lib/lib/module-health.functions.d.ts.map +1 -0
- package/dist-lib/lib/module-health.functions.js +173 -0
- package/dist-lib/lib/module-runtime.server.d.ts +8 -1
- package/dist-lib/lib/module-runtime.server.d.ts.map +1 -1
- package/dist-lib/lib/module-runtime.server.js +103 -12
- package/dist-lib/lib/stock-sync.functions.d.ts +21302 -31
- package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
- package/dist-lib/lib/stock-sync.functions.js +46 -3
- package/package.json +2 -2
|
@@ -1683,7 +1683,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
1683
1683
|
city: string | null;
|
|
1684
1684
|
country: string | null;
|
|
1685
1685
|
created_at: string;
|
|
1686
|
-
customer_id: string
|
|
1686
|
+
customer_id: string;
|
|
1687
1687
|
external_key: string | null;
|
|
1688
1688
|
external_provider: string | null;
|
|
1689
1689
|
floriday_location_id: string | null;
|
|
@@ -1707,7 +1707,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
1707
1707
|
city?: string | null;
|
|
1708
1708
|
country?: string | null;
|
|
1709
1709
|
created_at?: string;
|
|
1710
|
-
customer_id
|
|
1710
|
+
customer_id: string;
|
|
1711
1711
|
external_key?: string | null;
|
|
1712
1712
|
external_provider?: string | null;
|
|
1713
1713
|
floriday_location_id?: string | null;
|
|
@@ -1731,7 +1731,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
1731
1731
|
city?: string | null;
|
|
1732
1732
|
country?: string | null;
|
|
1733
1733
|
created_at?: string;
|
|
1734
|
-
customer_id?: string
|
|
1734
|
+
customer_id?: string;
|
|
1735
1735
|
external_key?: string | null;
|
|
1736
1736
|
external_provider?: string | null;
|
|
1737
1737
|
floriday_location_id?: string | null;
|
|
@@ -8491,6 +8491,69 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8491
8491
|
};
|
|
8492
8492
|
Relationships: [];
|
|
8493
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("./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("./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("./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
|
+
};
|
|
8494
8557
|
logistics_formulas: {
|
|
8495
8558
|
Row: {
|
|
8496
8559
|
created_at: string;
|
|
@@ -9354,14 +9417,17 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
9354
9417
|
};
|
|
9355
9418
|
mailbox_messages: {
|
|
9356
9419
|
Row: {
|
|
9420
|
+
attachments: import("./types").Json;
|
|
9357
9421
|
body_html: string | null;
|
|
9358
9422
|
body_text: string | null;
|
|
9423
|
+
cc_recipients: import("./types").Json;
|
|
9359
9424
|
connection_id: string | null;
|
|
9360
9425
|
created_at: string;
|
|
9361
9426
|
error_message: string | null;
|
|
9362
9427
|
external_id: string | null;
|
|
9363
9428
|
from_email: string | null;
|
|
9364
9429
|
from_name: string | null;
|
|
9430
|
+
has_attachments: boolean;
|
|
9365
9431
|
id: string;
|
|
9366
9432
|
message_id: string | null;
|
|
9367
9433
|
profile_id: string | null;
|
|
@@ -9369,18 +9435,22 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
9369
9435
|
received_at: string | null;
|
|
9370
9436
|
status: string;
|
|
9371
9437
|
subject: string | null;
|
|
9438
|
+
to_recipients: import("./types").Json;
|
|
9372
9439
|
uid: number | null;
|
|
9373
9440
|
updated_at: string;
|
|
9374
9441
|
};
|
|
9375
9442
|
Insert: {
|
|
9443
|
+
attachments?: import("./types").Json;
|
|
9376
9444
|
body_html?: string | null;
|
|
9377
9445
|
body_text?: string | null;
|
|
9446
|
+
cc_recipients?: import("./types").Json;
|
|
9378
9447
|
connection_id?: string | null;
|
|
9379
9448
|
created_at?: string;
|
|
9380
9449
|
error_message?: string | null;
|
|
9381
9450
|
external_id?: string | null;
|
|
9382
9451
|
from_email?: string | null;
|
|
9383
9452
|
from_name?: string | null;
|
|
9453
|
+
has_attachments?: boolean;
|
|
9384
9454
|
id?: string;
|
|
9385
9455
|
message_id?: string | null;
|
|
9386
9456
|
profile_id?: string | null;
|
|
@@ -9388,18 +9458,22 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
9388
9458
|
received_at?: string | null;
|
|
9389
9459
|
status?: string;
|
|
9390
9460
|
subject?: string | null;
|
|
9461
|
+
to_recipients?: import("./types").Json;
|
|
9391
9462
|
uid?: number | null;
|
|
9392
9463
|
updated_at?: string;
|
|
9393
9464
|
};
|
|
9394
9465
|
Update: {
|
|
9466
|
+
attachments?: import("./types").Json;
|
|
9395
9467
|
body_html?: string | null;
|
|
9396
9468
|
body_text?: string | null;
|
|
9469
|
+
cc_recipients?: import("./types").Json;
|
|
9397
9470
|
connection_id?: string | null;
|
|
9398
9471
|
created_at?: string;
|
|
9399
9472
|
error_message?: string | null;
|
|
9400
9473
|
external_id?: string | null;
|
|
9401
9474
|
from_email?: string | null;
|
|
9402
9475
|
from_name?: string | null;
|
|
9476
|
+
has_attachments?: boolean;
|
|
9403
9477
|
id?: string;
|
|
9404
9478
|
message_id?: string | null;
|
|
9405
9479
|
profile_id?: string | null;
|
|
@@ -9407,6 +9481,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
9407
9481
|
received_at?: string | null;
|
|
9408
9482
|
status?: string;
|
|
9409
9483
|
subject?: string | null;
|
|
9484
|
+
to_recipients?: import("./types").Json;
|
|
9410
9485
|
uid?: number | null;
|
|
9411
9486
|
updated_at?: string;
|
|
9412
9487
|
};
|
|
@@ -9814,6 +9889,36 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
9814
9889
|
};
|
|
9815
9890
|
Relationships: [];
|
|
9816
9891
|
};
|
|
9892
|
+
module_registry: {
|
|
9893
|
+
Row: {
|
|
9894
|
+
created_at: string;
|
|
9895
|
+
is_active: boolean;
|
|
9896
|
+
last_seen_at: string;
|
|
9897
|
+
module_id: string;
|
|
9898
|
+
name: string;
|
|
9899
|
+
shell_id: string | null;
|
|
9900
|
+
sort_order: number | null;
|
|
9901
|
+
};
|
|
9902
|
+
Insert: {
|
|
9903
|
+
created_at?: string;
|
|
9904
|
+
is_active?: boolean;
|
|
9905
|
+
last_seen_at?: string;
|
|
9906
|
+
module_id: string;
|
|
9907
|
+
name: string;
|
|
9908
|
+
shell_id?: string | null;
|
|
9909
|
+
sort_order?: number | null;
|
|
9910
|
+
};
|
|
9911
|
+
Update: {
|
|
9912
|
+
created_at?: string;
|
|
9913
|
+
is_active?: boolean;
|
|
9914
|
+
last_seen_at?: string;
|
|
9915
|
+
module_id?: string;
|
|
9916
|
+
name?: string;
|
|
9917
|
+
shell_id?: string | null;
|
|
9918
|
+
sort_order?: number | null;
|
|
9919
|
+
};
|
|
9920
|
+
Relationships: [];
|
|
9921
|
+
};
|
|
9817
9922
|
module_runtime_config: {
|
|
9818
9923
|
Row: {
|
|
9819
9924
|
key: string;
|
|
@@ -12293,22 +12398,27 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
12293
12398
|
created_at: string;
|
|
12294
12399
|
documentnaam: string;
|
|
12295
12400
|
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
12401
|
+
extern_job_id: string | null;
|
|
12296
12402
|
foutmelding: string | null;
|
|
12297
12403
|
gebruiker_id: string | null;
|
|
12298
12404
|
gebruiker_naam: string;
|
|
12299
12405
|
gestart_op: string | null;
|
|
12300
12406
|
id: string;
|
|
12407
|
+
idempotentie_sleutel: string | null;
|
|
12301
12408
|
is_herprint: boolean;
|
|
12302
12409
|
kopieen: number;
|
|
12303
12410
|
layout_id: string | null;
|
|
12304
12411
|
opgepakt_op: string | null;
|
|
12305
12412
|
paginas: number;
|
|
12306
12413
|
payload: import("./types").Json;
|
|
12414
|
+
pdf_base64: string | null;
|
|
12415
|
+
pdf_url: string | null;
|
|
12307
12416
|
pogingen: number;
|
|
12308
12417
|
printer_id: string | null;
|
|
12309
12418
|
render_html: string | null;
|
|
12310
12419
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
12311
12420
|
updated_at: string;
|
|
12421
|
+
volgende_poging: string | null;
|
|
12312
12422
|
voltooid_op: string | null;
|
|
12313
12423
|
};
|
|
12314
12424
|
Insert: {
|
|
@@ -12317,22 +12427,27 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
12317
12427
|
created_at?: string;
|
|
12318
12428
|
documentnaam?: string;
|
|
12319
12429
|
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
12430
|
+
extern_job_id?: string | null;
|
|
12320
12431
|
foutmelding?: string | null;
|
|
12321
12432
|
gebruiker_id?: string | null;
|
|
12322
12433
|
gebruiker_naam?: string;
|
|
12323
12434
|
gestart_op?: string | null;
|
|
12324
12435
|
id?: string;
|
|
12436
|
+
idempotentie_sleutel?: string | null;
|
|
12325
12437
|
is_herprint?: boolean;
|
|
12326
12438
|
kopieen?: number;
|
|
12327
12439
|
layout_id?: string | null;
|
|
12328
12440
|
opgepakt_op?: string | null;
|
|
12329
12441
|
paginas?: number;
|
|
12330
12442
|
payload?: import("./types").Json;
|
|
12443
|
+
pdf_base64?: string | null;
|
|
12444
|
+
pdf_url?: string | null;
|
|
12331
12445
|
pogingen?: number;
|
|
12332
12446
|
printer_id?: string | null;
|
|
12333
12447
|
render_html?: string | null;
|
|
12334
12448
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
12335
12449
|
updated_at?: string;
|
|
12450
|
+
volgende_poging?: string | null;
|
|
12336
12451
|
voltooid_op?: string | null;
|
|
12337
12452
|
};
|
|
12338
12453
|
Update: {
|
|
@@ -12341,22 +12456,27 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
12341
12456
|
created_at?: string;
|
|
12342
12457
|
documentnaam?: string;
|
|
12343
12458
|
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
12459
|
+
extern_job_id?: string | null;
|
|
12344
12460
|
foutmelding?: string | null;
|
|
12345
12461
|
gebruiker_id?: string | null;
|
|
12346
12462
|
gebruiker_naam?: string;
|
|
12347
12463
|
gestart_op?: string | null;
|
|
12348
12464
|
id?: string;
|
|
12465
|
+
idempotentie_sleutel?: string | null;
|
|
12349
12466
|
is_herprint?: boolean;
|
|
12350
12467
|
kopieen?: number;
|
|
12351
12468
|
layout_id?: string | null;
|
|
12352
12469
|
opgepakt_op?: string | null;
|
|
12353
12470
|
paginas?: number;
|
|
12354
12471
|
payload?: import("./types").Json;
|
|
12472
|
+
pdf_base64?: string | null;
|
|
12473
|
+
pdf_url?: string | null;
|
|
12355
12474
|
pogingen?: number;
|
|
12356
12475
|
printer_id?: string | null;
|
|
12357
12476
|
render_html?: string | null;
|
|
12358
12477
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
12359
12478
|
updated_at?: string;
|
|
12479
|
+
volgende_poging?: string | null;
|
|
12360
12480
|
voltooid_op?: string | null;
|
|
12361
12481
|
};
|
|
12362
12482
|
Relationships: [{
|
|
@@ -12379,6 +12499,63 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
12379
12499
|
referencedColumns: ["id"];
|
|
12380
12500
|
}];
|
|
12381
12501
|
};
|
|
12502
|
+
print_queue_runners: {
|
|
12503
|
+
Row: {
|
|
12504
|
+
actief: boolean;
|
|
12505
|
+
basis_url: string;
|
|
12506
|
+
created_at: string;
|
|
12507
|
+
id: string;
|
|
12508
|
+
laatst_gezien: string;
|
|
12509
|
+
tick_sleutel: string;
|
|
12510
|
+
updated_at: string;
|
|
12511
|
+
};
|
|
12512
|
+
Insert: {
|
|
12513
|
+
actief?: boolean;
|
|
12514
|
+
basis_url: string;
|
|
12515
|
+
created_at?: string;
|
|
12516
|
+
id?: string;
|
|
12517
|
+
laatst_gezien?: string;
|
|
12518
|
+
tick_sleutel?: string;
|
|
12519
|
+
updated_at?: string;
|
|
12520
|
+
};
|
|
12521
|
+
Update: {
|
|
12522
|
+
actief?: boolean;
|
|
12523
|
+
basis_url?: string;
|
|
12524
|
+
created_at?: string;
|
|
12525
|
+
id?: string;
|
|
12526
|
+
laatst_gezien?: string;
|
|
12527
|
+
tick_sleutel?: string;
|
|
12528
|
+
updated_at?: string;
|
|
12529
|
+
};
|
|
12530
|
+
Relationships: [];
|
|
12531
|
+
};
|
|
12532
|
+
print_queue_settings: {
|
|
12533
|
+
Row: {
|
|
12534
|
+
bewaar_bestanden_dagen: number;
|
|
12535
|
+
bewaar_opdrachten_dagen: number;
|
|
12536
|
+
created_at: string;
|
|
12537
|
+
dubbel_venster_minuten: number;
|
|
12538
|
+
id: string;
|
|
12539
|
+
updated_at: string;
|
|
12540
|
+
};
|
|
12541
|
+
Insert: {
|
|
12542
|
+
bewaar_bestanden_dagen?: number;
|
|
12543
|
+
bewaar_opdrachten_dagen?: number;
|
|
12544
|
+
created_at?: string;
|
|
12545
|
+
dubbel_venster_minuten?: number;
|
|
12546
|
+
id?: string;
|
|
12547
|
+
updated_at?: string;
|
|
12548
|
+
};
|
|
12549
|
+
Update: {
|
|
12550
|
+
bewaar_bestanden_dagen?: number;
|
|
12551
|
+
bewaar_opdrachten_dagen?: number;
|
|
12552
|
+
created_at?: string;
|
|
12553
|
+
dubbel_venster_minuten?: number;
|
|
12554
|
+
id?: string;
|
|
12555
|
+
updated_at?: string;
|
|
12556
|
+
};
|
|
12557
|
+
Relationships: [];
|
|
12558
|
+
};
|
|
12382
12559
|
print_rules: {
|
|
12383
12560
|
Row: {
|
|
12384
12561
|
actief: boolean;
|
|
@@ -12539,6 +12716,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
12539
12716
|
agent_id: string | null;
|
|
12540
12717
|
created_at: string;
|
|
12541
12718
|
driver: string;
|
|
12719
|
+
extern_printer_id: string | null;
|
|
12542
12720
|
id: string;
|
|
12543
12721
|
ip_adres: string | null;
|
|
12544
12722
|
laatst_gezien: string | null;
|
|
@@ -12560,6 +12738,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
12560
12738
|
agent_id?: string | null;
|
|
12561
12739
|
created_at?: string;
|
|
12562
12740
|
driver?: string;
|
|
12741
|
+
extern_printer_id?: string | null;
|
|
12563
12742
|
id?: string;
|
|
12564
12743
|
ip_adres?: string | null;
|
|
12565
12744
|
laatst_gezien?: string | null;
|
|
@@ -12581,6 +12760,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
12581
12760
|
agent_id?: string | null;
|
|
12582
12761
|
created_at?: string;
|
|
12583
12762
|
driver?: string;
|
|
12763
|
+
extern_printer_id?: string | null;
|
|
12584
12764
|
id?: string;
|
|
12585
12765
|
ip_adres?: string | null;
|
|
12586
12766
|
laatst_gezien?: string | null;
|
|
@@ -16318,6 +16498,33 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
16318
16498
|
referencedColumns: ["id"];
|
|
16319
16499
|
}];
|
|
16320
16500
|
};
|
|
16501
|
+
user_module_permissions: {
|
|
16502
|
+
Row: {
|
|
16503
|
+
created_at: string;
|
|
16504
|
+
id: string;
|
|
16505
|
+
module_id: string;
|
|
16506
|
+
permission: string;
|
|
16507
|
+
updated_at: string;
|
|
16508
|
+
user_id: string;
|
|
16509
|
+
};
|
|
16510
|
+
Insert: {
|
|
16511
|
+
created_at?: string;
|
|
16512
|
+
id?: string;
|
|
16513
|
+
module_id: string;
|
|
16514
|
+
permission: string;
|
|
16515
|
+
updated_at?: string;
|
|
16516
|
+
user_id: string;
|
|
16517
|
+
};
|
|
16518
|
+
Update: {
|
|
16519
|
+
created_at?: string;
|
|
16520
|
+
id?: string;
|
|
16521
|
+
module_id?: string;
|
|
16522
|
+
permission?: string;
|
|
16523
|
+
updated_at?: string;
|
|
16524
|
+
user_id?: string;
|
|
16525
|
+
};
|
|
16526
|
+
Relationships: [];
|
|
16527
|
+
};
|
|
16321
16528
|
user_roles: {
|
|
16322
16529
|
Row: {
|
|
16323
16530
|
created_at: string;
|
|
@@ -18185,6 +18392,46 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18185
18392
|
};
|
|
18186
18393
|
Returns: import("./types").Json;
|
|
18187
18394
|
};
|
|
18395
|
+
claim_cloud_print_jobs: {
|
|
18396
|
+
Args: {
|
|
18397
|
+
_max?: number;
|
|
18398
|
+
};
|
|
18399
|
+
Returns: {
|
|
18400
|
+
agent_id: string | null;
|
|
18401
|
+
bron_job_id: string | null;
|
|
18402
|
+
created_at: string;
|
|
18403
|
+
documentnaam: string;
|
|
18404
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
18405
|
+
extern_job_id: string | null;
|
|
18406
|
+
foutmelding: string | null;
|
|
18407
|
+
gebruiker_id: string | null;
|
|
18408
|
+
gebruiker_naam: string;
|
|
18409
|
+
gestart_op: string | null;
|
|
18410
|
+
id: string;
|
|
18411
|
+
idempotentie_sleutel: string | null;
|
|
18412
|
+
is_herprint: boolean;
|
|
18413
|
+
kopieen: number;
|
|
18414
|
+
layout_id: string | null;
|
|
18415
|
+
opgepakt_op: string | null;
|
|
18416
|
+
paginas: number;
|
|
18417
|
+
payload: import("./types").Json;
|
|
18418
|
+
pdf_base64: string | null;
|
|
18419
|
+
pdf_url: string | null;
|
|
18420
|
+
pogingen: number;
|
|
18421
|
+
printer_id: string | null;
|
|
18422
|
+
render_html: string | null;
|
|
18423
|
+
status: Database["public"]["Enums"]["print_job_status"];
|
|
18424
|
+
updated_at: string;
|
|
18425
|
+
volgende_poging: string | null;
|
|
18426
|
+
voltooid_op: string | null;
|
|
18427
|
+
}[];
|
|
18428
|
+
SetofOptions: {
|
|
18429
|
+
from: "*";
|
|
18430
|
+
to: "print_jobs";
|
|
18431
|
+
isOneToOne: false;
|
|
18432
|
+
isSetofReturn: true;
|
|
18433
|
+
};
|
|
18434
|
+
};
|
|
18188
18435
|
claim_floriday_stock_queue: {
|
|
18189
18436
|
Args: {
|
|
18190
18437
|
p_limit?: number;
|
|
@@ -18275,22 +18522,27 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18275
18522
|
created_at: string;
|
|
18276
18523
|
documentnaam: string;
|
|
18277
18524
|
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
18525
|
+
extern_job_id: string | null;
|
|
18278
18526
|
foutmelding: string | null;
|
|
18279
18527
|
gebruiker_id: string | null;
|
|
18280
18528
|
gebruiker_naam: string;
|
|
18281
18529
|
gestart_op: string | null;
|
|
18282
18530
|
id: string;
|
|
18531
|
+
idempotentie_sleutel: string | null;
|
|
18283
18532
|
is_herprint: boolean;
|
|
18284
18533
|
kopieen: number;
|
|
18285
18534
|
layout_id: string | null;
|
|
18286
18535
|
opgepakt_op: string | null;
|
|
18287
18536
|
paginas: number;
|
|
18288
18537
|
payload: import("./types").Json;
|
|
18538
|
+
pdf_base64: string | null;
|
|
18539
|
+
pdf_url: string | null;
|
|
18289
18540
|
pogingen: number;
|
|
18290
18541
|
printer_id: string | null;
|
|
18291
18542
|
render_html: string | null;
|
|
18292
18543
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
18293
18544
|
updated_at: string;
|
|
18545
|
+
volgende_poging: string | null;
|
|
18294
18546
|
voltooid_op: string | null;
|
|
18295
18547
|
}[];
|
|
18296
18548
|
SetofOptions: {
|
|
@@ -18336,6 +18588,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18336
18588
|
Args: never;
|
|
18337
18589
|
Returns: undefined;
|
|
18338
18590
|
};
|
|
18591
|
+
cleanup_voorraad_module_history: {
|
|
18592
|
+
Args: never;
|
|
18593
|
+
Returns: undefined;
|
|
18594
|
+
};
|
|
18339
18595
|
complete_floriday_stock_queue: {
|
|
18340
18596
|
Args: {
|
|
18341
18597
|
p_attempt_id?: string;
|
|
@@ -18457,6 +18713,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18457
18713
|
};
|
|
18458
18714
|
Returns: import("./types").Json;
|
|
18459
18715
|
};
|
|
18716
|
+
effective_module_permission: {
|
|
18717
|
+
Args: {
|
|
18718
|
+
_module_id: string;
|
|
18719
|
+
_user_id: string;
|
|
18720
|
+
};
|
|
18721
|
+
Returns: string;
|
|
18722
|
+
};
|
|
18460
18723
|
email_auth_decrypt: {
|
|
18461
18724
|
Args: {
|
|
18462
18725
|
cipher: string;
|
|
@@ -19260,6 +19523,51 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19260
19523
|
isSetofReturn: false;
|
|
19261
19524
|
};
|
|
19262
19525
|
};
|
|
19526
|
+
logistics_floriday_claim_pushes: {
|
|
19527
|
+
Args: {
|
|
19528
|
+
_lease_seconds?: number;
|
|
19529
|
+
_limit?: number;
|
|
19530
|
+
_worker?: string;
|
|
19531
|
+
};
|
|
19532
|
+
Returns: {
|
|
19533
|
+
attempts: number;
|
|
19534
|
+
fulfillment_order_id: string;
|
|
19535
|
+
id: string;
|
|
19536
|
+
last_sent_hash: string;
|
|
19537
|
+
order_ref: string;
|
|
19538
|
+
payload: import("./types").Json;
|
|
19539
|
+
payload_hash: string;
|
|
19540
|
+
revision: number;
|
|
19541
|
+
}[];
|
|
19542
|
+
};
|
|
19543
|
+
logistics_floriday_finish_push: {
|
|
19544
|
+
Args: {
|
|
19545
|
+
_error?: string;
|
|
19546
|
+
_fulfillment_order_id?: string;
|
|
19547
|
+
_id: string;
|
|
19548
|
+
_max_age_hours?: number;
|
|
19549
|
+
_max_attempts?: number;
|
|
19550
|
+
_ok: boolean;
|
|
19551
|
+
_permanent?: boolean;
|
|
19552
|
+
_revision: number;
|
|
19553
|
+
_sent_hash?: string;
|
|
19554
|
+
};
|
|
19555
|
+
Returns: string;
|
|
19556
|
+
};
|
|
19557
|
+
logistics_floriday_prune_pushes: {
|
|
19558
|
+
Args: {
|
|
19559
|
+
_days?: number;
|
|
19560
|
+
};
|
|
19561
|
+
Returns: number;
|
|
19562
|
+
};
|
|
19563
|
+
logistics_floriday_queue_push: {
|
|
19564
|
+
Args: {
|
|
19565
|
+
_order_ref: string;
|
|
19566
|
+
_payload?: import("./types").Json;
|
|
19567
|
+
_payload_hash?: string;
|
|
19568
|
+
};
|
|
19569
|
+
Returns: string;
|
|
19570
|
+
};
|
|
19263
19571
|
logistics_live_carriers: {
|
|
19264
19572
|
Args: {
|
|
19265
19573
|
p_order_ref: string;
|
|
@@ -19550,6 +19858,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19550
19858
|
};
|
|
19551
19859
|
Returns: undefined;
|
|
19552
19860
|
};
|
|
19861
|
+
my_module_permissions: {
|
|
19862
|
+
Args: never;
|
|
19863
|
+
Returns: {
|
|
19864
|
+
module_id: string;
|
|
19865
|
+
permission: string;
|
|
19866
|
+
}[];
|
|
19867
|
+
};
|
|
19553
19868
|
next_manufacture_partij: {
|
|
19554
19869
|
Args: {
|
|
19555
19870
|
_tenant_id: string;
|
|
@@ -19600,6 +19915,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19600
19915
|
};
|
|
19601
19916
|
Returns: boolean;
|
|
19602
19917
|
};
|
|
19918
|
+
opruim_print_historie: {
|
|
19919
|
+
Args: never;
|
|
19920
|
+
Returns: {
|
|
19921
|
+
ontdaan: number;
|
|
19922
|
+
verwijderd: number;
|
|
19923
|
+
}[];
|
|
19924
|
+
};
|
|
19603
19925
|
order_number_prefix: {
|
|
19604
19926
|
Args: {
|
|
19605
19927
|
p_custom_fields?: import("./types").Json;
|
|
@@ -19607,6 +19929,15 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19607
19929
|
};
|
|
19608
19930
|
Returns: string;
|
|
19609
19931
|
};
|
|
19932
|
+
pick_active_printers: {
|
|
19933
|
+
Args: never;
|
|
19934
|
+
Returns: {
|
|
19935
|
+
id: string;
|
|
19936
|
+
locatie: string;
|
|
19937
|
+
naam: string;
|
|
19938
|
+
online: boolean;
|
|
19939
|
+
}[];
|
|
19940
|
+
};
|
|
19610
19941
|
pick_claim_document: {
|
|
19611
19942
|
Args: {
|
|
19612
19943
|
_queue_item_id: string;
|
|
@@ -19793,6 +20124,52 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19793
20124
|
};
|
|
19794
20125
|
Returns: undefined;
|
|
19795
20126
|
};
|
|
20127
|
+
pick_reset_print: {
|
|
20128
|
+
Args: {
|
|
20129
|
+
_queue_item_id: string;
|
|
20130
|
+
_session_id: string;
|
|
20131
|
+
};
|
|
20132
|
+
Returns: {
|
|
20133
|
+
announced_at: string;
|
|
20134
|
+
assigned_user_id: string | null;
|
|
20135
|
+
barcode: string | null;
|
|
20136
|
+
cancelled_at: string | null;
|
|
20137
|
+
cart_count: number;
|
|
20138
|
+
completed_at: string | null;
|
|
20139
|
+
country_code: string | null;
|
|
20140
|
+
created_at: string;
|
|
20141
|
+
customer_name: string | null;
|
|
20142
|
+
delivery_address: string | null;
|
|
20143
|
+
document_number: string | null;
|
|
20144
|
+
document_type_id: string | null;
|
|
20145
|
+
due_at: string | null;
|
|
20146
|
+
id: string;
|
|
20147
|
+
is_urgent: boolean;
|
|
20148
|
+
line_count: number;
|
|
20149
|
+
order_number: string | null;
|
|
20150
|
+
order_type: string | null;
|
|
20151
|
+
payload: import("./types").Json;
|
|
20152
|
+
print_count: number;
|
|
20153
|
+
print_job_id: string | null;
|
|
20154
|
+
printed_at: string | null;
|
|
20155
|
+
printed_by: string | null;
|
|
20156
|
+
printer_id: string | null;
|
|
20157
|
+
priority: number;
|
|
20158
|
+
reference: string | null;
|
|
20159
|
+
route: string | null;
|
|
20160
|
+
screen_id: string | null;
|
|
20161
|
+
station_id: string | null;
|
|
20162
|
+
status_id: string | null;
|
|
20163
|
+
updated_at: string;
|
|
20164
|
+
warnings: import("./types").Json;
|
|
20165
|
+
};
|
|
20166
|
+
SetofOptions: {
|
|
20167
|
+
from: "*";
|
|
20168
|
+
to: "pick_queue";
|
|
20169
|
+
isOneToOne: true;
|
|
20170
|
+
isSetofReturn: false;
|
|
20171
|
+
};
|
|
20172
|
+
};
|
|
19796
20173
|
pick_station_dashboard: {
|
|
19797
20174
|
Args: never;
|
|
19798
20175
|
Returns: {
|
|
@@ -19939,6 +20316,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19939
20316
|
};
|
|
19940
20317
|
Returns: undefined;
|
|
19941
20318
|
};
|
|
20319
|
+
reset_stalled_floriday_stock_queue: {
|
|
20320
|
+
Args: {
|
|
20321
|
+
p_include_failed?: boolean;
|
|
20322
|
+
};
|
|
20323
|
+
Returns: number;
|
|
20324
|
+
};
|
|
19942
20325
|
resolve_group_allocation: {
|
|
19943
20326
|
Args: {
|
|
19944
20327
|
_needed: number;
|
|
@@ -19983,14 +20366,28 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19983
20366
|
};
|
|
19984
20367
|
Returns: import("./types").Json;
|
|
19985
20368
|
};
|
|
20369
|
+
ruim_print_jobs_op: {
|
|
20370
|
+
Args: {
|
|
20371
|
+
_bewaar_dagen?: number;
|
|
20372
|
+
};
|
|
20373
|
+
Returns: number;
|
|
20374
|
+
};
|
|
19986
20375
|
run_floriday_continuous_stock_sync: {
|
|
19987
20376
|
Args: never;
|
|
19988
20377
|
Returns: undefined;
|
|
19989
20378
|
};
|
|
20379
|
+
run_floriday_stock_queue_process: {
|
|
20380
|
+
Args: never;
|
|
20381
|
+
Returns: undefined;
|
|
20382
|
+
};
|
|
19990
20383
|
run_logistics_tasks_dispatch: {
|
|
19991
20384
|
Args: never;
|
|
19992
20385
|
Returns: undefined;
|
|
19993
20386
|
};
|
|
20387
|
+
run_print_queue_ticks: {
|
|
20388
|
+
Args: never;
|
|
20389
|
+
Returns: number;
|
|
20390
|
+
};
|
|
19994
20391
|
run_twinfield_queue_tick: {
|
|
19995
20392
|
Args: never;
|
|
19996
20393
|
Returns: undefined;
|
|
@@ -20378,6 +20775,15 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20378
20775
|
};
|
|
20379
20776
|
Returns: undefined;
|
|
20380
20777
|
};
|
|
20778
|
+
trade_item_stock_duplicates: {
|
|
20779
|
+
Args: never;
|
|
20780
|
+
Returns: {
|
|
20781
|
+
keys: string[];
|
|
20782
|
+
product_id: string;
|
|
20783
|
+
product_name: string;
|
|
20784
|
+
row_count: number;
|
|
20785
|
+
}[];
|
|
20786
|
+
};
|
|
20381
20787
|
try_debtor_lock: {
|
|
20382
20788
|
Args: {
|
|
20383
20789
|
_group_key: string;
|
|
@@ -20427,7 +20833,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20427
20833
|
};
|
|
20428
20834
|
Enums: {
|
|
20429
20835
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
20430
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
20836
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
20431
20837
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
20432
20838
|
doc_orientation: "portrait" | "landscape";
|
|
20433
20839
|
exact_env: "staging" | "live";
|