@flowselections/floriday-afhandeling-module 1.0.45 → 1.0.47
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/afhandeling/ControlePage.js +1 -1
- package/dist-lib/components/afhandeling/DagDetailDialog.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/DagDetailDialog.js +32 -9
- package/dist-lib/components/afhandeling/ScanControleView.js +1 -1
- package/dist-lib/components/afhandeling/VervoerdersPage.js +1 -1
- package/dist-lib/components/afhandeling/VerzetOrderDialog.js +1 -1
- package/dist-lib/components/afhandeling/WerkplekWaarschuwing.d.ts +9 -9
- package/dist-lib/components/afhandeling/WerkplekWaarschuwing.js +28 -28
- package/dist-lib/components/ui/responsive-dialog.js +1 -1
- package/dist-lib/hooks/usePickMode.d.ts +1 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +2422 -45
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +2422 -45
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.js +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +2422 -45
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/previewAuthStorage.d.ts +1 -1
- package/dist-lib/integrations/supabase/previewAuthStorage.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/previewAuthStorage.js +8 -1
- package/dist-lib/integrations/supabase/types.d.ts +2461 -42
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +4760 -6
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/carriers.functions.d.ts +11900 -15
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +43261 -42
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.js +69 -0
- package/dist-lib/lib/cartControl.functions.d.ts +26180 -33
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/deliveryNote.functions.d.ts +2422 -45
- package/dist-lib/lib/deliveryNote.functions.d.ts.map +1 -1
- package/dist-lib/lib/deliveryNotePrint.d.ts +33 -33
- package/dist-lib/lib/deliveryNotePrint.js +219 -219
- package/dist-lib/lib/engineLayouts.functions.d.ts +2422 -45
- package/dist-lib/lib/engineLayouts.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +4760 -6
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsEngine/capacity.js +1 -1
- package/dist-lib/lib/logisticsEngine/staffPlanning.js +1 -1
- package/dist-lib/lib/orderFulfilment.functions.d.ts +2422 -45
- package/dist-lib/lib/orderFulfilment.functions.d.ts.map +1 -1
- package/dist-lib/lib/pickDates.functions.d.ts +2422 -45
- package/dist-lib/lib/pickDates.functions.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -752,6 +752,27 @@ export type Database = {
|
|
|
752
752
|
};
|
|
753
753
|
Relationships: [];
|
|
754
754
|
};
|
|
755
|
+
artikelen_instellingen: {
|
|
756
|
+
Row: {
|
|
757
|
+
created_at: string;
|
|
758
|
+
id: number;
|
|
759
|
+
marge_procent: number;
|
|
760
|
+
updated_at: string;
|
|
761
|
+
};
|
|
762
|
+
Insert: {
|
|
763
|
+
created_at?: string;
|
|
764
|
+
id?: number;
|
|
765
|
+
marge_procent?: number;
|
|
766
|
+
updated_at?: string;
|
|
767
|
+
};
|
|
768
|
+
Update: {
|
|
769
|
+
created_at?: string;
|
|
770
|
+
id?: number;
|
|
771
|
+
marge_procent?: number;
|
|
772
|
+
updated_at?: string;
|
|
773
|
+
};
|
|
774
|
+
Relationships: [];
|
|
775
|
+
};
|
|
755
776
|
artikelen_veldconfig: {
|
|
756
777
|
Row: {
|
|
757
778
|
bron_pad: string;
|
|
@@ -8195,6 +8216,7 @@ export type Database = {
|
|
|
8195
8216
|
};
|
|
8196
8217
|
fust_types: {
|
|
8197
8218
|
Row: {
|
|
8219
|
+
capacity_units: number | null;
|
|
8198
8220
|
connection_id: string | null;
|
|
8199
8221
|
created_at: string;
|
|
8200
8222
|
custom_package_id: string | null;
|
|
@@ -8215,6 +8237,7 @@ export type Database = {
|
|
|
8215
8237
|
width_mm: number | null;
|
|
8216
8238
|
};
|
|
8217
8239
|
Insert: {
|
|
8240
|
+
capacity_units?: number | null;
|
|
8218
8241
|
connection_id?: string | null;
|
|
8219
8242
|
created_at?: string;
|
|
8220
8243
|
custom_package_id?: string | null;
|
|
@@ -8235,6 +8258,7 @@ export type Database = {
|
|
|
8235
8258
|
width_mm?: number | null;
|
|
8236
8259
|
};
|
|
8237
8260
|
Update: {
|
|
8261
|
+
capacity_units?: number | null;
|
|
8238
8262
|
connection_id?: string | null;
|
|
8239
8263
|
created_at?: string;
|
|
8240
8264
|
custom_package_id?: string | null;
|
|
@@ -8471,6 +8495,72 @@ export type Database = {
|
|
|
8471
8495
|
};
|
|
8472
8496
|
Relationships: [];
|
|
8473
8497
|
};
|
|
8498
|
+
invoice_branding_settings: {
|
|
8499
|
+
Row: {
|
|
8500
|
+
address: string;
|
|
8501
|
+
chamber_of_commerce_number: string;
|
|
8502
|
+
city: string;
|
|
8503
|
+
company_name: string;
|
|
8504
|
+
created_at: string;
|
|
8505
|
+
email: string;
|
|
8506
|
+
email_purpose: string | null;
|
|
8507
|
+
iban: string;
|
|
8508
|
+
logo_path: string | null;
|
|
8509
|
+
payment_term_days: number;
|
|
8510
|
+
phone: string;
|
|
8511
|
+
postal_code: string;
|
|
8512
|
+
primary_color: string;
|
|
8513
|
+
secondary_color: string;
|
|
8514
|
+
show_company_name: boolean;
|
|
8515
|
+
singleton_key: boolean;
|
|
8516
|
+
updated_at: string;
|
|
8517
|
+
vat_identification_number: string;
|
|
8518
|
+
website: string;
|
|
8519
|
+
};
|
|
8520
|
+
Insert: {
|
|
8521
|
+
address?: string;
|
|
8522
|
+
chamber_of_commerce_number?: string;
|
|
8523
|
+
city?: string;
|
|
8524
|
+
company_name?: string;
|
|
8525
|
+
created_at?: string;
|
|
8526
|
+
email?: string;
|
|
8527
|
+
email_purpose?: string | null;
|
|
8528
|
+
iban?: string;
|
|
8529
|
+
logo_path?: string | null;
|
|
8530
|
+
payment_term_days?: number;
|
|
8531
|
+
phone?: string;
|
|
8532
|
+
postal_code?: string;
|
|
8533
|
+
primary_color?: string;
|
|
8534
|
+
secondary_color?: string;
|
|
8535
|
+
show_company_name?: boolean;
|
|
8536
|
+
singleton_key?: boolean;
|
|
8537
|
+
updated_at?: string;
|
|
8538
|
+
vat_identification_number?: string;
|
|
8539
|
+
website?: string;
|
|
8540
|
+
};
|
|
8541
|
+
Update: {
|
|
8542
|
+
address?: string;
|
|
8543
|
+
chamber_of_commerce_number?: string;
|
|
8544
|
+
city?: string;
|
|
8545
|
+
company_name?: string;
|
|
8546
|
+
created_at?: string;
|
|
8547
|
+
email?: string;
|
|
8548
|
+
email_purpose?: string | null;
|
|
8549
|
+
iban?: string;
|
|
8550
|
+
logo_path?: string | null;
|
|
8551
|
+
payment_term_days?: number;
|
|
8552
|
+
phone?: string;
|
|
8553
|
+
postal_code?: string;
|
|
8554
|
+
primary_color?: string;
|
|
8555
|
+
secondary_color?: string;
|
|
8556
|
+
show_company_name?: boolean;
|
|
8557
|
+
singleton_key?: boolean;
|
|
8558
|
+
updated_at?: string;
|
|
8559
|
+
vat_identification_number?: string;
|
|
8560
|
+
website?: string;
|
|
8561
|
+
};
|
|
8562
|
+
Relationships: [];
|
|
8563
|
+
};
|
|
8474
8564
|
invoice_items: {
|
|
8475
8565
|
Row: {
|
|
8476
8566
|
created_at: string;
|
|
@@ -8484,6 +8574,7 @@ export type Database = {
|
|
|
8484
8574
|
total_cents: number;
|
|
8485
8575
|
unit: string;
|
|
8486
8576
|
unit_price_cents: number;
|
|
8577
|
+
vat_rate: number | null;
|
|
8487
8578
|
};
|
|
8488
8579
|
Insert: {
|
|
8489
8580
|
created_at?: string;
|
|
@@ -8497,6 +8588,7 @@ export type Database = {
|
|
|
8497
8588
|
total_cents?: number;
|
|
8498
8589
|
unit?: string;
|
|
8499
8590
|
unit_price_cents?: number;
|
|
8591
|
+
vat_rate?: number | null;
|
|
8500
8592
|
};
|
|
8501
8593
|
Update: {
|
|
8502
8594
|
created_at?: string;
|
|
@@ -8510,6 +8602,7 @@ export type Database = {
|
|
|
8510
8602
|
total_cents?: number;
|
|
8511
8603
|
unit?: string;
|
|
8512
8604
|
unit_price_cents?: number;
|
|
8605
|
+
vat_rate?: number | null;
|
|
8513
8606
|
};
|
|
8514
8607
|
Relationships: [
|
|
8515
8608
|
{
|
|
@@ -8763,15 +8856,27 @@ export type Database = {
|
|
|
8763
8856
|
};
|
|
8764
8857
|
invoices: {
|
|
8765
8858
|
Row: {
|
|
8859
|
+
branding_snapshot: Json | null;
|
|
8766
8860
|
created_at: string;
|
|
8767
8861
|
created_by: string | null;
|
|
8862
|
+
customer_address: string | null;
|
|
8863
|
+
customer_attention: string | null;
|
|
8864
|
+
customer_city: string | null;
|
|
8768
8865
|
customer_id: string | null;
|
|
8769
8866
|
customer_name: string | null;
|
|
8867
|
+
customer_postal_code: string | null;
|
|
8868
|
+
customer_vat_number: string | null;
|
|
8869
|
+
debtor_number: string | null;
|
|
8770
8870
|
due_date: string | null;
|
|
8871
|
+
execution_date: string | null;
|
|
8771
8872
|
id: string;
|
|
8772
8873
|
invoice_date: string;
|
|
8773
8874
|
invoice_number: string | null;
|
|
8774
8875
|
note: string | null;
|
|
8876
|
+
payment_term_days: number;
|
|
8877
|
+
reference: string | null;
|
|
8878
|
+
sent_at: string | null;
|
|
8879
|
+
sent_to: string | null;
|
|
8775
8880
|
source_number: string | null;
|
|
8776
8881
|
source_ref: string | null;
|
|
8777
8882
|
source_type: string;
|
|
@@ -8781,17 +8886,30 @@ export type Database = {
|
|
|
8781
8886
|
updated_at: string;
|
|
8782
8887
|
vat_cents: number;
|
|
8783
8888
|
vat_rate: number;
|
|
8889
|
+
work_address: string | null;
|
|
8784
8890
|
};
|
|
8785
8891
|
Insert: {
|
|
8892
|
+
branding_snapshot?: Json | null;
|
|
8786
8893
|
created_at?: string;
|
|
8787
8894
|
created_by?: string | null;
|
|
8895
|
+
customer_address?: string | null;
|
|
8896
|
+
customer_attention?: string | null;
|
|
8897
|
+
customer_city?: string | null;
|
|
8788
8898
|
customer_id?: string | null;
|
|
8789
8899
|
customer_name?: string | null;
|
|
8900
|
+
customer_postal_code?: string | null;
|
|
8901
|
+
customer_vat_number?: string | null;
|
|
8902
|
+
debtor_number?: string | null;
|
|
8790
8903
|
due_date?: string | null;
|
|
8904
|
+
execution_date?: string | null;
|
|
8791
8905
|
id?: string;
|
|
8792
8906
|
invoice_date?: string;
|
|
8793
8907
|
invoice_number?: string | null;
|
|
8794
8908
|
note?: string | null;
|
|
8909
|
+
payment_term_days?: number;
|
|
8910
|
+
reference?: string | null;
|
|
8911
|
+
sent_at?: string | null;
|
|
8912
|
+
sent_to?: string | null;
|
|
8795
8913
|
source_number?: string | null;
|
|
8796
8914
|
source_ref?: string | null;
|
|
8797
8915
|
source_type?: string;
|
|
@@ -8801,17 +8919,30 @@ export type Database = {
|
|
|
8801
8919
|
updated_at?: string;
|
|
8802
8920
|
vat_cents?: number;
|
|
8803
8921
|
vat_rate?: number;
|
|
8922
|
+
work_address?: string | null;
|
|
8804
8923
|
};
|
|
8805
8924
|
Update: {
|
|
8925
|
+
branding_snapshot?: Json | null;
|
|
8806
8926
|
created_at?: string;
|
|
8807
8927
|
created_by?: string | null;
|
|
8928
|
+
customer_address?: string | null;
|
|
8929
|
+
customer_attention?: string | null;
|
|
8930
|
+
customer_city?: string | null;
|
|
8808
8931
|
customer_id?: string | null;
|
|
8809
8932
|
customer_name?: string | null;
|
|
8933
|
+
customer_postal_code?: string | null;
|
|
8934
|
+
customer_vat_number?: string | null;
|
|
8935
|
+
debtor_number?: string | null;
|
|
8810
8936
|
due_date?: string | null;
|
|
8937
|
+
execution_date?: string | null;
|
|
8811
8938
|
id?: string;
|
|
8812
8939
|
invoice_date?: string;
|
|
8813
8940
|
invoice_number?: string | null;
|
|
8814
8941
|
note?: string | null;
|
|
8942
|
+
payment_term_days?: number;
|
|
8943
|
+
reference?: string | null;
|
|
8944
|
+
sent_at?: string | null;
|
|
8945
|
+
sent_to?: string | null;
|
|
8815
8946
|
source_number?: string | null;
|
|
8816
8947
|
source_ref?: string | null;
|
|
8817
8948
|
source_type?: string;
|
|
@@ -8821,6 +8952,7 @@ export type Database = {
|
|
|
8821
8952
|
updated_at?: string;
|
|
8822
8953
|
vat_cents?: number;
|
|
8823
8954
|
vat_rate?: number;
|
|
8955
|
+
work_address?: string | null;
|
|
8824
8956
|
};
|
|
8825
8957
|
Relationships: [
|
|
8826
8958
|
{
|
|
@@ -9532,6 +9664,7 @@ export type Database = {
|
|
|
9532
9664
|
quantity: number;
|
|
9533
9665
|
sort_order: number;
|
|
9534
9666
|
source: string;
|
|
9667
|
+
unit: string | null;
|
|
9535
9668
|
unit_price_cents: number;
|
|
9536
9669
|
updated_at: string;
|
|
9537
9670
|
};
|
|
@@ -9545,6 +9678,7 @@ export type Database = {
|
|
|
9545
9678
|
quantity?: number;
|
|
9546
9679
|
sort_order?: number;
|
|
9547
9680
|
source?: string;
|
|
9681
|
+
unit?: string | null;
|
|
9548
9682
|
unit_price_cents?: number;
|
|
9549
9683
|
updated_at?: string;
|
|
9550
9684
|
};
|
|
@@ -9558,6 +9692,7 @@ export type Database = {
|
|
|
9558
9692
|
quantity?: number;
|
|
9559
9693
|
sort_order?: number;
|
|
9560
9694
|
source?: string;
|
|
9695
|
+
unit?: string | null;
|
|
9561
9696
|
unit_price_cents?: number;
|
|
9562
9697
|
updated_at?: string;
|
|
9563
9698
|
};
|
|
@@ -9584,6 +9719,7 @@ export type Database = {
|
|
|
9584
9719
|
created_at: string;
|
|
9585
9720
|
default_geldigheid_dagen: number;
|
|
9586
9721
|
default_vat_rate: number;
|
|
9722
|
+
email_purpose: string | null;
|
|
9587
9723
|
id: string;
|
|
9588
9724
|
singleton: boolean;
|
|
9589
9725
|
updated_at: string;
|
|
@@ -9593,6 +9729,7 @@ export type Database = {
|
|
|
9593
9729
|
created_at?: string;
|
|
9594
9730
|
default_geldigheid_dagen?: number;
|
|
9595
9731
|
default_vat_rate?: number;
|
|
9732
|
+
email_purpose?: string | null;
|
|
9596
9733
|
id?: string;
|
|
9597
9734
|
singleton?: boolean;
|
|
9598
9735
|
updated_at?: string;
|
|
@@ -9602,12 +9739,51 @@ export type Database = {
|
|
|
9602
9739
|
created_at?: string;
|
|
9603
9740
|
default_geldigheid_dagen?: number;
|
|
9604
9741
|
default_vat_rate?: number;
|
|
9742
|
+
email_purpose?: string | null;
|
|
9605
9743
|
id?: string;
|
|
9606
9744
|
singleton?: boolean;
|
|
9607
9745
|
updated_at?: string;
|
|
9608
9746
|
};
|
|
9609
9747
|
Relationships: [];
|
|
9610
9748
|
};
|
|
9749
|
+
itk_offerte_voorstel_status: {
|
|
9750
|
+
Row: {
|
|
9751
|
+
ai_concept: Json | null;
|
|
9752
|
+
created_at: string;
|
|
9753
|
+
id: string;
|
|
9754
|
+
offerte_id: string | null;
|
|
9755
|
+
proposal_id: string;
|
|
9756
|
+
seen_at: string | null;
|
|
9757
|
+
updated_at: string;
|
|
9758
|
+
};
|
|
9759
|
+
Insert: {
|
|
9760
|
+
ai_concept?: Json | null;
|
|
9761
|
+
created_at?: string;
|
|
9762
|
+
id?: string;
|
|
9763
|
+
offerte_id?: string | null;
|
|
9764
|
+
proposal_id: string;
|
|
9765
|
+
seen_at?: string | null;
|
|
9766
|
+
updated_at?: string;
|
|
9767
|
+
};
|
|
9768
|
+
Update: {
|
|
9769
|
+
ai_concept?: Json | null;
|
|
9770
|
+
created_at?: string;
|
|
9771
|
+
id?: string;
|
|
9772
|
+
offerte_id?: string | null;
|
|
9773
|
+
proposal_id?: string;
|
|
9774
|
+
seen_at?: string | null;
|
|
9775
|
+
updated_at?: string;
|
|
9776
|
+
};
|
|
9777
|
+
Relationships: [
|
|
9778
|
+
{
|
|
9779
|
+
foreignKeyName: "itk_offerte_voorstel_status_offerte_id_fkey";
|
|
9780
|
+
columns: ["offerte_id"];
|
|
9781
|
+
isOneToOne: false;
|
|
9782
|
+
referencedRelation: "itk_offertes";
|
|
9783
|
+
referencedColumns: ["id"];
|
|
9784
|
+
}
|
|
9785
|
+
];
|
|
9786
|
+
};
|
|
9611
9787
|
itk_offerte_werkbon_queue: {
|
|
9612
9788
|
Row: {
|
|
9613
9789
|
bron_werkbon_id: string | null;
|
|
@@ -9660,6 +9836,7 @@ export type Database = {
|
|
|
9660
9836
|
};
|
|
9661
9837
|
itk_offertes: {
|
|
9662
9838
|
Row: {
|
|
9839
|
+
aandachtspunten: string | null;
|
|
9663
9840
|
ai_generated: boolean;
|
|
9664
9841
|
approved_at: string | null;
|
|
9665
9842
|
binnen_mandaat: boolean;
|
|
@@ -9675,6 +9852,7 @@ export type Database = {
|
|
|
9675
9852
|
notities: string | null;
|
|
9676
9853
|
offerte_number: string | null;
|
|
9677
9854
|
omschrijving: string;
|
|
9855
|
+
onderwerp: string | null;
|
|
9678
9856
|
rejected_at: string | null;
|
|
9679
9857
|
sent_at: string | null;
|
|
9680
9858
|
source_number: string | null;
|
|
@@ -9687,12 +9865,15 @@ export type Database = {
|
|
|
9687
9865
|
valid_until: string | null;
|
|
9688
9866
|
vat_cents: number;
|
|
9689
9867
|
vat_rate: number;
|
|
9868
|
+
verzonden_naar: string | null;
|
|
9690
9869
|
viewed_at: string | null;
|
|
9691
9870
|
volgnummer: number | null;
|
|
9871
|
+
voorwaarden: string | null;
|
|
9692
9872
|
werkbon_id: string | null;
|
|
9693
9873
|
work_location_id: string | null;
|
|
9694
9874
|
};
|
|
9695
9875
|
Insert: {
|
|
9876
|
+
aandachtspunten?: string | null;
|
|
9696
9877
|
ai_generated?: boolean;
|
|
9697
9878
|
approved_at?: string | null;
|
|
9698
9879
|
binnen_mandaat?: boolean;
|
|
@@ -9708,6 +9889,7 @@ export type Database = {
|
|
|
9708
9889
|
notities?: string | null;
|
|
9709
9890
|
offerte_number?: string | null;
|
|
9710
9891
|
omschrijving?: string;
|
|
9892
|
+
onderwerp?: string | null;
|
|
9711
9893
|
rejected_at?: string | null;
|
|
9712
9894
|
sent_at?: string | null;
|
|
9713
9895
|
source_number?: string | null;
|
|
@@ -9720,12 +9902,15 @@ export type Database = {
|
|
|
9720
9902
|
valid_until?: string | null;
|
|
9721
9903
|
vat_cents?: number;
|
|
9722
9904
|
vat_rate?: number;
|
|
9905
|
+
verzonden_naar?: string | null;
|
|
9723
9906
|
viewed_at?: string | null;
|
|
9724
9907
|
volgnummer?: number | null;
|
|
9908
|
+
voorwaarden?: string | null;
|
|
9725
9909
|
werkbon_id?: string | null;
|
|
9726
9910
|
work_location_id?: string | null;
|
|
9727
9911
|
};
|
|
9728
9912
|
Update: {
|
|
9913
|
+
aandachtspunten?: string | null;
|
|
9729
9914
|
ai_generated?: boolean;
|
|
9730
9915
|
approved_at?: string | null;
|
|
9731
9916
|
binnen_mandaat?: boolean;
|
|
@@ -9741,6 +9926,7 @@ export type Database = {
|
|
|
9741
9926
|
notities?: string | null;
|
|
9742
9927
|
offerte_number?: string | null;
|
|
9743
9928
|
omschrijving?: string;
|
|
9929
|
+
onderwerp?: string | null;
|
|
9744
9930
|
rejected_at?: string | null;
|
|
9745
9931
|
sent_at?: string | null;
|
|
9746
9932
|
source_number?: string | null;
|
|
@@ -9753,8 +9939,10 @@ export type Database = {
|
|
|
9753
9939
|
valid_until?: string | null;
|
|
9754
9940
|
vat_cents?: number;
|
|
9755
9941
|
vat_rate?: number;
|
|
9942
|
+
verzonden_naar?: string | null;
|
|
9756
9943
|
viewed_at?: string | null;
|
|
9757
9944
|
volgnummer?: number | null;
|
|
9945
|
+
voorwaarden?: string | null;
|
|
9758
9946
|
werkbon_id?: string | null;
|
|
9759
9947
|
work_location_id?: string | null;
|
|
9760
9948
|
};
|
|
@@ -9940,6 +10128,8 @@ export type Database = {
|
|
|
9940
10128
|
};
|
|
9941
10129
|
leave_requests: {
|
|
9942
10130
|
Row: {
|
|
10131
|
+
cancellation_requested_at: string | null;
|
|
10132
|
+
cancellation_status: string | null;
|
|
9943
10133
|
created_at: string;
|
|
9944
10134
|
decided_at: string | null;
|
|
9945
10135
|
decided_by: string | null;
|
|
@@ -9950,6 +10140,7 @@ export type Database = {
|
|
|
9950
10140
|
leave_type: string;
|
|
9951
10141
|
monteur_id: string | null;
|
|
9952
10142
|
reason: string | null;
|
|
10143
|
+
reden_afkeur: string | null;
|
|
9953
10144
|
start_date: string;
|
|
9954
10145
|
start_time: string | null;
|
|
9955
10146
|
status: string;
|
|
@@ -9957,6 +10148,8 @@ export type Database = {
|
|
|
9957
10148
|
user_id: string;
|
|
9958
10149
|
};
|
|
9959
10150
|
Insert: {
|
|
10151
|
+
cancellation_requested_at?: string | null;
|
|
10152
|
+
cancellation_status?: string | null;
|
|
9960
10153
|
created_at?: string;
|
|
9961
10154
|
decided_at?: string | null;
|
|
9962
10155
|
decided_by?: string | null;
|
|
@@ -9967,6 +10160,7 @@ export type Database = {
|
|
|
9967
10160
|
leave_type?: string;
|
|
9968
10161
|
monteur_id?: string | null;
|
|
9969
10162
|
reason?: string | null;
|
|
10163
|
+
reden_afkeur?: string | null;
|
|
9970
10164
|
start_date: string;
|
|
9971
10165
|
start_time?: string | null;
|
|
9972
10166
|
status?: string;
|
|
@@ -9974,6 +10168,8 @@ export type Database = {
|
|
|
9974
10168
|
user_id: string;
|
|
9975
10169
|
};
|
|
9976
10170
|
Update: {
|
|
10171
|
+
cancellation_requested_at?: string | null;
|
|
10172
|
+
cancellation_status?: string | null;
|
|
9977
10173
|
created_at?: string;
|
|
9978
10174
|
decided_at?: string | null;
|
|
9979
10175
|
decided_by?: string | null;
|
|
@@ -9984,6 +10180,7 @@ export type Database = {
|
|
|
9984
10180
|
leave_type?: string;
|
|
9985
10181
|
monteur_id?: string | null;
|
|
9986
10182
|
reason?: string | null;
|
|
10183
|
+
reden_afkeur?: string | null;
|
|
9987
10184
|
start_date?: string;
|
|
9988
10185
|
start_time?: string | null;
|
|
9989
10186
|
status?: string;
|
|
@@ -10501,6 +10698,30 @@ export type Database = {
|
|
|
10501
10698
|
};
|
|
10502
10699
|
Relationships: [];
|
|
10503
10700
|
};
|
|
10701
|
+
logistics_cart_barcode_archief: {
|
|
10702
|
+
Row: {
|
|
10703
|
+
barcode: string;
|
|
10704
|
+
cart_id: string;
|
|
10705
|
+
created_at: string | null;
|
|
10706
|
+
gearchiveerd_op: string;
|
|
10707
|
+
order_id: string | null;
|
|
10708
|
+
};
|
|
10709
|
+
Insert: {
|
|
10710
|
+
barcode: string;
|
|
10711
|
+
cart_id: string;
|
|
10712
|
+
created_at?: string | null;
|
|
10713
|
+
gearchiveerd_op?: string;
|
|
10714
|
+
order_id?: string | null;
|
|
10715
|
+
};
|
|
10716
|
+
Update: {
|
|
10717
|
+
barcode?: string;
|
|
10718
|
+
cart_id?: string;
|
|
10719
|
+
created_at?: string | null;
|
|
10720
|
+
gearchiveerd_op?: string;
|
|
10721
|
+
order_id?: string | null;
|
|
10722
|
+
};
|
|
10723
|
+
Relationships: [];
|
|
10724
|
+
};
|
|
10504
10725
|
logistics_control_scan: {
|
|
10505
10726
|
Row: {
|
|
10506
10727
|
approved_at: string | null;
|
|
@@ -11154,6 +11375,54 @@ export type Database = {
|
|
|
11154
11375
|
};
|
|
11155
11376
|
Relationships: [];
|
|
11156
11377
|
};
|
|
11378
|
+
logistics_order_finalize_queue: {
|
|
11379
|
+
Row: {
|
|
11380
|
+
attempts: number;
|
|
11381
|
+
claimed_at: string | null;
|
|
11382
|
+
created_at: string;
|
|
11383
|
+
finished_at: string | null;
|
|
11384
|
+
last_error: string | null;
|
|
11385
|
+
lease_until: string | null;
|
|
11386
|
+
max_attempts: number;
|
|
11387
|
+
next_attempt_at: string;
|
|
11388
|
+
order_id: string;
|
|
11389
|
+
reason: string | null;
|
|
11390
|
+
requested_at: string;
|
|
11391
|
+
status: string;
|
|
11392
|
+
updated_at: string;
|
|
11393
|
+
};
|
|
11394
|
+
Insert: {
|
|
11395
|
+
attempts?: number;
|
|
11396
|
+
claimed_at?: string | null;
|
|
11397
|
+
created_at?: string;
|
|
11398
|
+
finished_at?: string | null;
|
|
11399
|
+
last_error?: string | null;
|
|
11400
|
+
lease_until?: string | null;
|
|
11401
|
+
max_attempts?: number;
|
|
11402
|
+
next_attempt_at?: string;
|
|
11403
|
+
order_id: string;
|
|
11404
|
+
reason?: string | null;
|
|
11405
|
+
requested_at?: string;
|
|
11406
|
+
status?: string;
|
|
11407
|
+
updated_at?: string;
|
|
11408
|
+
};
|
|
11409
|
+
Update: {
|
|
11410
|
+
attempts?: number;
|
|
11411
|
+
claimed_at?: string | null;
|
|
11412
|
+
created_at?: string;
|
|
11413
|
+
finished_at?: string | null;
|
|
11414
|
+
last_error?: string | null;
|
|
11415
|
+
lease_until?: string | null;
|
|
11416
|
+
max_attempts?: number;
|
|
11417
|
+
next_attempt_at?: string;
|
|
11418
|
+
order_id?: string;
|
|
11419
|
+
reason?: string | null;
|
|
11420
|
+
requested_at?: string;
|
|
11421
|
+
status?: string;
|
|
11422
|
+
updated_at?: string;
|
|
11423
|
+
};
|
|
11424
|
+
Relationships: [];
|
|
11425
|
+
};
|
|
11157
11426
|
logistics_order_merges: {
|
|
11158
11427
|
Row: {
|
|
11159
11428
|
group_key: string;
|
|
@@ -11190,6 +11459,72 @@ export type Database = {
|
|
|
11190
11459
|
};
|
|
11191
11460
|
Relationships: [];
|
|
11192
11461
|
};
|
|
11462
|
+
logistics_packing_deviations: {
|
|
11463
|
+
Row: {
|
|
11464
|
+
auto_fixed_at: string | null;
|
|
11465
|
+
created_at: string;
|
|
11466
|
+
dev_key: string;
|
|
11467
|
+
first_seen_at: string;
|
|
11468
|
+
floriday_packing: Json;
|
|
11469
|
+
human_reason: string | null;
|
|
11470
|
+
id: string;
|
|
11471
|
+
last_seen_at: string;
|
|
11472
|
+
local_packing: Json;
|
|
11473
|
+
needs_human: boolean;
|
|
11474
|
+
order_id: string | null;
|
|
11475
|
+
order_item_id: string | null;
|
|
11476
|
+
order_number: string | null;
|
|
11477
|
+
product_id: string | null;
|
|
11478
|
+
product_name: string | null;
|
|
11479
|
+
resolved_at: string | null;
|
|
11480
|
+
scope: string;
|
|
11481
|
+
trade_item_id: string | null;
|
|
11482
|
+
updated_at: string;
|
|
11483
|
+
};
|
|
11484
|
+
Insert: {
|
|
11485
|
+
auto_fixed_at?: string | null;
|
|
11486
|
+
created_at?: string;
|
|
11487
|
+
dev_key: string;
|
|
11488
|
+
first_seen_at?: string;
|
|
11489
|
+
floriday_packing?: Json;
|
|
11490
|
+
human_reason?: string | null;
|
|
11491
|
+
id?: string;
|
|
11492
|
+
last_seen_at?: string;
|
|
11493
|
+
local_packing?: Json;
|
|
11494
|
+
needs_human?: boolean;
|
|
11495
|
+
order_id?: string | null;
|
|
11496
|
+
order_item_id?: string | null;
|
|
11497
|
+
order_number?: string | null;
|
|
11498
|
+
product_id?: string | null;
|
|
11499
|
+
product_name?: string | null;
|
|
11500
|
+
resolved_at?: string | null;
|
|
11501
|
+
scope: string;
|
|
11502
|
+
trade_item_id?: string | null;
|
|
11503
|
+
updated_at?: string;
|
|
11504
|
+
};
|
|
11505
|
+
Update: {
|
|
11506
|
+
auto_fixed_at?: string | null;
|
|
11507
|
+
created_at?: string;
|
|
11508
|
+
dev_key?: string;
|
|
11509
|
+
first_seen_at?: string;
|
|
11510
|
+
floriday_packing?: Json;
|
|
11511
|
+
human_reason?: string | null;
|
|
11512
|
+
id?: string;
|
|
11513
|
+
last_seen_at?: string;
|
|
11514
|
+
local_packing?: Json;
|
|
11515
|
+
needs_human?: boolean;
|
|
11516
|
+
order_id?: string | null;
|
|
11517
|
+
order_item_id?: string | null;
|
|
11518
|
+
order_number?: string | null;
|
|
11519
|
+
product_id?: string | null;
|
|
11520
|
+
product_name?: string | null;
|
|
11521
|
+
resolved_at?: string | null;
|
|
11522
|
+
scope?: string;
|
|
11523
|
+
trade_item_id?: string | null;
|
|
11524
|
+
updated_at?: string;
|
|
11525
|
+
};
|
|
11526
|
+
Relationships: [];
|
|
11527
|
+
};
|
|
11193
11528
|
logistics_pick_data_requests: {
|
|
11194
11529
|
Row: {
|
|
11195
11530
|
actions: Json;
|
|
@@ -11430,14 +11765,70 @@ export type Database = {
|
|
|
11430
11765
|
};
|
|
11431
11766
|
Relationships: [];
|
|
11432
11767
|
};
|
|
11768
|
+
logistics_planner_diff_runs: {
|
|
11769
|
+
Row: {
|
|
11770
|
+
after_snapshot: Json | null;
|
|
11771
|
+
before_snapshot: Json;
|
|
11772
|
+
buffer_id: string | null;
|
|
11773
|
+
carts_after: number | null;
|
|
11774
|
+
carts_before: number | null;
|
|
11775
|
+
compared_at: string | null;
|
|
11776
|
+
created_at: string;
|
|
11777
|
+
differences: Json | null;
|
|
11778
|
+
id: string;
|
|
11779
|
+
identical: boolean | null;
|
|
11780
|
+
mode: string;
|
|
11781
|
+
order_id: string;
|
|
11782
|
+
order_ref: string | null;
|
|
11783
|
+
reason: string | null;
|
|
11784
|
+
status: string;
|
|
11785
|
+
};
|
|
11786
|
+
Insert: {
|
|
11787
|
+
after_snapshot?: Json | null;
|
|
11788
|
+
before_snapshot?: Json;
|
|
11789
|
+
buffer_id?: string | null;
|
|
11790
|
+
carts_after?: number | null;
|
|
11791
|
+
carts_before?: number | null;
|
|
11792
|
+
compared_at?: string | null;
|
|
11793
|
+
created_at?: string;
|
|
11794
|
+
differences?: Json | null;
|
|
11795
|
+
id?: string;
|
|
11796
|
+
identical?: boolean | null;
|
|
11797
|
+
mode: string;
|
|
11798
|
+
order_id: string;
|
|
11799
|
+
order_ref?: string | null;
|
|
11800
|
+
reason?: string | null;
|
|
11801
|
+
status?: string;
|
|
11802
|
+
};
|
|
11803
|
+
Update: {
|
|
11804
|
+
after_snapshot?: Json | null;
|
|
11805
|
+
before_snapshot?: Json;
|
|
11806
|
+
buffer_id?: string | null;
|
|
11807
|
+
carts_after?: number | null;
|
|
11808
|
+
carts_before?: number | null;
|
|
11809
|
+
compared_at?: string | null;
|
|
11810
|
+
created_at?: string;
|
|
11811
|
+
differences?: Json | null;
|
|
11812
|
+
id?: string;
|
|
11813
|
+
identical?: boolean | null;
|
|
11814
|
+
mode?: string;
|
|
11815
|
+
order_id?: string;
|
|
11816
|
+
order_ref?: string | null;
|
|
11817
|
+
reason?: string | null;
|
|
11818
|
+
status?: string;
|
|
11819
|
+
};
|
|
11820
|
+
Relationships: [];
|
|
11821
|
+
};
|
|
11433
11822
|
logistics_rebuffer_state: {
|
|
11434
11823
|
Row: {
|
|
11435
11824
|
created_at: string;
|
|
11436
11825
|
id: boolean;
|
|
11437
11826
|
last_checked: number;
|
|
11438
11827
|
last_duration_ms: number;
|
|
11828
|
+
last_mode: string | null;
|
|
11439
11829
|
last_run_at: string | null;
|
|
11440
11830
|
last_updated: number;
|
|
11831
|
+
last_would_change: number | null;
|
|
11441
11832
|
pending: boolean;
|
|
11442
11833
|
requested_at: string | null;
|
|
11443
11834
|
updated_at: string;
|
|
@@ -11447,8 +11838,10 @@ export type Database = {
|
|
|
11447
11838
|
id?: boolean;
|
|
11448
11839
|
last_checked?: number;
|
|
11449
11840
|
last_duration_ms?: number;
|
|
11841
|
+
last_mode?: string | null;
|
|
11450
11842
|
last_run_at?: string | null;
|
|
11451
11843
|
last_updated?: number;
|
|
11844
|
+
last_would_change?: number | null;
|
|
11452
11845
|
pending?: boolean;
|
|
11453
11846
|
requested_at?: string | null;
|
|
11454
11847
|
updated_at?: string;
|
|
@@ -11458,8 +11851,10 @@ export type Database = {
|
|
|
11458
11851
|
id?: boolean;
|
|
11459
11852
|
last_checked?: number;
|
|
11460
11853
|
last_duration_ms?: number;
|
|
11854
|
+
last_mode?: string | null;
|
|
11461
11855
|
last_run_at?: string | null;
|
|
11462
11856
|
last_updated?: number;
|
|
11857
|
+
last_would_change?: number | null;
|
|
11463
11858
|
pending?: boolean;
|
|
11464
11859
|
requested_at?: string | null;
|
|
11465
11860
|
updated_at?: string;
|
|
@@ -13492,6 +13887,42 @@ export type Database = {
|
|
|
13492
13887
|
};
|
|
13493
13888
|
Relationships: [];
|
|
13494
13889
|
};
|
|
13890
|
+
monteur_contracten: {
|
|
13891
|
+
Row: {
|
|
13892
|
+
contract_type: string;
|
|
13893
|
+
created_at: string;
|
|
13894
|
+
days_per_week: number;
|
|
13895
|
+
hours_per_week: number;
|
|
13896
|
+
id: string;
|
|
13897
|
+
updated_at: string;
|
|
13898
|
+
user_id: string;
|
|
13899
|
+
vacation_day_hours: number;
|
|
13900
|
+
vacation_days_per_year: number;
|
|
13901
|
+
};
|
|
13902
|
+
Insert: {
|
|
13903
|
+
contract_type?: string;
|
|
13904
|
+
created_at?: string;
|
|
13905
|
+
days_per_week?: number;
|
|
13906
|
+
hours_per_week?: number;
|
|
13907
|
+
id?: string;
|
|
13908
|
+
updated_at?: string;
|
|
13909
|
+
user_id: string;
|
|
13910
|
+
vacation_day_hours?: number;
|
|
13911
|
+
vacation_days_per_year?: number;
|
|
13912
|
+
};
|
|
13913
|
+
Update: {
|
|
13914
|
+
contract_type?: string;
|
|
13915
|
+
created_at?: string;
|
|
13916
|
+
days_per_week?: number;
|
|
13917
|
+
hours_per_week?: number;
|
|
13918
|
+
id?: string;
|
|
13919
|
+
updated_at?: string;
|
|
13920
|
+
user_id?: string;
|
|
13921
|
+
vacation_day_hours?: number;
|
|
13922
|
+
vacation_days_per_year?: number;
|
|
13923
|
+
};
|
|
13924
|
+
Relationships: [];
|
|
13925
|
+
};
|
|
13495
13926
|
nmbrs_component_mapping: {
|
|
13496
13927
|
Row: {
|
|
13497
13928
|
created_at: string;
|
|
@@ -13983,6 +14414,9 @@ export type Database = {
|
|
|
13983
14414
|
id: string;
|
|
13984
14415
|
items: Json;
|
|
13985
14416
|
notes: string | null;
|
|
14417
|
+
order_creation_error: string | null;
|
|
14418
|
+
order_creation_failed_at: string | null;
|
|
14419
|
+
order_id: string | null;
|
|
13986
14420
|
order_number: string | null;
|
|
13987
14421
|
recipient_id: string;
|
|
13988
14422
|
total_amount: number;
|
|
@@ -13997,6 +14431,9 @@ export type Database = {
|
|
|
13997
14431
|
id?: string;
|
|
13998
14432
|
items?: Json;
|
|
13999
14433
|
notes?: string | null;
|
|
14434
|
+
order_creation_error?: string | null;
|
|
14435
|
+
order_creation_failed_at?: string | null;
|
|
14436
|
+
order_id?: string | null;
|
|
14000
14437
|
order_number?: string | null;
|
|
14001
14438
|
recipient_id: string;
|
|
14002
14439
|
total_amount?: number;
|
|
@@ -14011,6 +14448,9 @@ export type Database = {
|
|
|
14011
14448
|
id?: string;
|
|
14012
14449
|
items?: Json;
|
|
14013
14450
|
notes?: string | null;
|
|
14451
|
+
order_creation_error?: string | null;
|
|
14452
|
+
order_creation_failed_at?: string | null;
|
|
14453
|
+
order_id?: string | null;
|
|
14014
14454
|
order_number?: string | null;
|
|
14015
14455
|
recipient_id?: string;
|
|
14016
14456
|
total_amount?: number;
|
|
@@ -14031,8 +14471,15 @@ export type Database = {
|
|
|
14031
14471
|
referencedColumns: ["id"];
|
|
14032
14472
|
},
|
|
14033
14473
|
{
|
|
14034
|
-
foreignKeyName: "
|
|
14035
|
-
columns: ["
|
|
14474
|
+
foreignKeyName: "offer_orders_order_id_fkey";
|
|
14475
|
+
columns: ["order_id"];
|
|
14476
|
+
isOneToOne: false;
|
|
14477
|
+
referencedRelation: "orders";
|
|
14478
|
+
referencedColumns: ["id"];
|
|
14479
|
+
},
|
|
14480
|
+
{
|
|
14481
|
+
foreignKeyName: "offer_orders_recipient_id_fkey";
|
|
14482
|
+
columns: ["recipient_id"];
|
|
14036
14483
|
isOneToOne: false;
|
|
14037
14484
|
referencedRelation: "offer_recipients";
|
|
14038
14485
|
referencedColumns: ["id"];
|
|
@@ -14175,6 +14622,30 @@ export type Database = {
|
|
|
14175
14622
|
};
|
|
14176
14623
|
Relationships: [];
|
|
14177
14624
|
};
|
|
14625
|
+
order_block_notifications: {
|
|
14626
|
+
Row: {
|
|
14627
|
+
id: string;
|
|
14628
|
+
notified_at: string;
|
|
14629
|
+
order_id: string;
|
|
14630
|
+
reason: string | null;
|
|
14631
|
+
reason_key: string;
|
|
14632
|
+
};
|
|
14633
|
+
Insert: {
|
|
14634
|
+
id?: string;
|
|
14635
|
+
notified_at?: string;
|
|
14636
|
+
order_id: string;
|
|
14637
|
+
reason?: string | null;
|
|
14638
|
+
reason_key: string;
|
|
14639
|
+
};
|
|
14640
|
+
Update: {
|
|
14641
|
+
id?: string;
|
|
14642
|
+
notified_at?: string;
|
|
14643
|
+
order_id?: string;
|
|
14644
|
+
reason?: string | null;
|
|
14645
|
+
reason_key?: string;
|
|
14646
|
+
};
|
|
14647
|
+
Relationships: [];
|
|
14648
|
+
};
|
|
14178
14649
|
order_buffers: {
|
|
14179
14650
|
Row: {
|
|
14180
14651
|
buffer_key: string;
|
|
@@ -14623,6 +15094,7 @@ export type Database = {
|
|
|
14623
15094
|
next_attempt_at: string;
|
|
14624
15095
|
order_id: string;
|
|
14625
15096
|
processed_at: string | null;
|
|
15097
|
+
send_error: string | null;
|
|
14626
15098
|
status: string;
|
|
14627
15099
|
updated_at: string;
|
|
14628
15100
|
};
|
|
@@ -14636,6 +15108,7 @@ export type Database = {
|
|
|
14636
15108
|
next_attempt_at?: string;
|
|
14637
15109
|
order_id: string;
|
|
14638
15110
|
processed_at?: string | null;
|
|
15111
|
+
send_error?: string | null;
|
|
14639
15112
|
status?: string;
|
|
14640
15113
|
updated_at?: string;
|
|
14641
15114
|
};
|
|
@@ -14649,6 +15122,7 @@ export type Database = {
|
|
|
14649
15122
|
next_attempt_at?: string;
|
|
14650
15123
|
order_id?: string;
|
|
14651
15124
|
processed_at?: string | null;
|
|
15125
|
+
send_error?: string | null;
|
|
14652
15126
|
status?: string;
|
|
14653
15127
|
updated_at?: string;
|
|
14654
15128
|
};
|
|
@@ -14661,10 +15135,13 @@ export type Database = {
|
|
|
14661
15135
|
id: string;
|
|
14662
15136
|
layers_per_cart: number | null;
|
|
14663
15137
|
order_id: string;
|
|
15138
|
+
packing_locked_at: string | null;
|
|
15139
|
+
packing_locked_by: string | null;
|
|
14664
15140
|
plants_per_crate: number | null;
|
|
14665
15141
|
product_id: string | null;
|
|
14666
15142
|
product_name: string;
|
|
14667
15143
|
quantity: number;
|
|
15144
|
+
source_line_key: string | null;
|
|
14668
15145
|
unit: string;
|
|
14669
15146
|
unit_price: number | null;
|
|
14670
15147
|
};
|
|
@@ -14674,10 +15151,13 @@ export type Database = {
|
|
|
14674
15151
|
id?: string;
|
|
14675
15152
|
layers_per_cart?: number | null;
|
|
14676
15153
|
order_id: string;
|
|
15154
|
+
packing_locked_at?: string | null;
|
|
15155
|
+
packing_locked_by?: string | null;
|
|
14677
15156
|
plants_per_crate?: number | null;
|
|
14678
15157
|
product_id?: string | null;
|
|
14679
15158
|
product_name: string;
|
|
14680
15159
|
quantity?: number;
|
|
15160
|
+
source_line_key?: string | null;
|
|
14681
15161
|
unit?: string;
|
|
14682
15162
|
unit_price?: number | null;
|
|
14683
15163
|
};
|
|
@@ -14687,10 +15167,13 @@ export type Database = {
|
|
|
14687
15167
|
id?: string;
|
|
14688
15168
|
layers_per_cart?: number | null;
|
|
14689
15169
|
order_id?: string;
|
|
15170
|
+
packing_locked_at?: string | null;
|
|
15171
|
+
packing_locked_by?: string | null;
|
|
14690
15172
|
plants_per_crate?: number | null;
|
|
14691
15173
|
product_id?: string | null;
|
|
14692
15174
|
product_name?: string;
|
|
14693
15175
|
quantity?: number;
|
|
15176
|
+
source_line_key?: string | null;
|
|
14694
15177
|
unit?: string;
|
|
14695
15178
|
unit_price?: number | null;
|
|
14696
15179
|
};
|
|
@@ -16023,18 +16506,24 @@ export type Database = {
|
|
|
16023
16506
|
Row: {
|
|
16024
16507
|
id: boolean;
|
|
16025
16508
|
last_cleanup_at: string | null;
|
|
16509
|
+
last_error: string | null;
|
|
16510
|
+
last_error_at: string | null;
|
|
16026
16511
|
last_sync_at: string | null;
|
|
16027
16512
|
updated_at: string;
|
|
16028
16513
|
};
|
|
16029
16514
|
Insert: {
|
|
16030
16515
|
id?: boolean;
|
|
16031
16516
|
last_cleanup_at?: string | null;
|
|
16517
|
+
last_error?: string | null;
|
|
16518
|
+
last_error_at?: string | null;
|
|
16032
16519
|
last_sync_at?: string | null;
|
|
16033
16520
|
updated_at?: string;
|
|
16034
16521
|
};
|
|
16035
16522
|
Update: {
|
|
16036
16523
|
id?: boolean;
|
|
16037
16524
|
last_cleanup_at?: string | null;
|
|
16525
|
+
last_error?: string | null;
|
|
16526
|
+
last_error_at?: string | null;
|
|
16038
16527
|
last_sync_at?: string | null;
|
|
16039
16528
|
updated_at?: string;
|
|
16040
16529
|
};
|
|
@@ -16163,6 +16652,57 @@ export type Database = {
|
|
|
16163
16652
|
};
|
|
16164
16653
|
Relationships: [];
|
|
16165
16654
|
};
|
|
16655
|
+
planning_confirmation_log: {
|
|
16656
|
+
Row: {
|
|
16657
|
+
created_at: string;
|
|
16658
|
+
end_at: string;
|
|
16659
|
+
id: string;
|
|
16660
|
+
outbox_id: string | null;
|
|
16661
|
+
planning_item_id: string;
|
|
16662
|
+
reason: string | null;
|
|
16663
|
+
recipient: string | null;
|
|
16664
|
+
start_at: string;
|
|
16665
|
+
status: string;
|
|
16666
|
+
};
|
|
16667
|
+
Insert: {
|
|
16668
|
+
created_at?: string;
|
|
16669
|
+
end_at: string;
|
|
16670
|
+
id?: string;
|
|
16671
|
+
outbox_id?: string | null;
|
|
16672
|
+
planning_item_id: string;
|
|
16673
|
+
reason?: string | null;
|
|
16674
|
+
recipient?: string | null;
|
|
16675
|
+
start_at: string;
|
|
16676
|
+
status: string;
|
|
16677
|
+
};
|
|
16678
|
+
Update: {
|
|
16679
|
+
created_at?: string;
|
|
16680
|
+
end_at?: string;
|
|
16681
|
+
id?: string;
|
|
16682
|
+
outbox_id?: string | null;
|
|
16683
|
+
planning_item_id?: string;
|
|
16684
|
+
reason?: string | null;
|
|
16685
|
+
recipient?: string | null;
|
|
16686
|
+
start_at?: string;
|
|
16687
|
+
status?: string;
|
|
16688
|
+
};
|
|
16689
|
+
Relationships: [
|
|
16690
|
+
{
|
|
16691
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
16692
|
+
columns: ["planning_item_id"];
|
|
16693
|
+
isOneToOne: false;
|
|
16694
|
+
referencedRelation: "planning_items";
|
|
16695
|
+
referencedColumns: ["id"];
|
|
16696
|
+
},
|
|
16697
|
+
{
|
|
16698
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
16699
|
+
columns: ["planning_item_id"];
|
|
16700
|
+
isOneToOne: false;
|
|
16701
|
+
referencedRelation: "planning_overview";
|
|
16702
|
+
referencedColumns: ["id"];
|
|
16703
|
+
}
|
|
16704
|
+
];
|
|
16705
|
+
};
|
|
16166
16706
|
planning_item_assistants: {
|
|
16167
16707
|
Row: {
|
|
16168
16708
|
created_at: string;
|
|
@@ -16253,6 +16793,259 @@ export type Database = {
|
|
|
16253
16793
|
}
|
|
16254
16794
|
];
|
|
16255
16795
|
};
|
|
16796
|
+
planning_mail_settings: {
|
|
16797
|
+
Row: {
|
|
16798
|
+
body_template: string;
|
|
16799
|
+
cc: string[];
|
|
16800
|
+
connection_id: string | null;
|
|
16801
|
+
created_at: string;
|
|
16802
|
+
enabled: boolean;
|
|
16803
|
+
id: boolean;
|
|
16804
|
+
reply_to: string | null;
|
|
16805
|
+
subject_template: string;
|
|
16806
|
+
timezone: string;
|
|
16807
|
+
updated_at: string;
|
|
16808
|
+
updated_by: string | null;
|
|
16809
|
+
};
|
|
16810
|
+
Insert: {
|
|
16811
|
+
body_template?: string;
|
|
16812
|
+
cc?: string[];
|
|
16813
|
+
connection_id?: string | null;
|
|
16814
|
+
created_at?: string;
|
|
16815
|
+
enabled?: boolean;
|
|
16816
|
+
id?: boolean;
|
|
16817
|
+
reply_to?: string | null;
|
|
16818
|
+
subject_template?: string;
|
|
16819
|
+
timezone?: string;
|
|
16820
|
+
updated_at?: string;
|
|
16821
|
+
updated_by?: string | null;
|
|
16822
|
+
};
|
|
16823
|
+
Update: {
|
|
16824
|
+
body_template?: string;
|
|
16825
|
+
cc?: string[];
|
|
16826
|
+
connection_id?: string | null;
|
|
16827
|
+
created_at?: string;
|
|
16828
|
+
enabled?: boolean;
|
|
16829
|
+
id?: boolean;
|
|
16830
|
+
reply_to?: string | null;
|
|
16831
|
+
subject_template?: string;
|
|
16832
|
+
timezone?: string;
|
|
16833
|
+
updated_at?: string;
|
|
16834
|
+
updated_by?: string | null;
|
|
16835
|
+
};
|
|
16836
|
+
Relationships: [
|
|
16837
|
+
{
|
|
16838
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
16839
|
+
columns: ["connection_id"];
|
|
16840
|
+
isOneToOne: false;
|
|
16841
|
+
referencedRelation: "email_auth_connections";
|
|
16842
|
+
referencedColumns: ["id"];
|
|
16843
|
+
},
|
|
16844
|
+
{
|
|
16845
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
16846
|
+
columns: ["connection_id"];
|
|
16847
|
+
isOneToOne: false;
|
|
16848
|
+
referencedRelation: "email_auth_connections_safe";
|
|
16849
|
+
referencedColumns: ["id"];
|
|
16850
|
+
}
|
|
16851
|
+
];
|
|
16852
|
+
};
|
|
16853
|
+
planning_monteur_day_locations: {
|
|
16854
|
+
Row: {
|
|
16855
|
+
created_at: string;
|
|
16856
|
+
day: string;
|
|
16857
|
+
end_at: string;
|
|
16858
|
+
id: string;
|
|
16859
|
+
monteur_id: string;
|
|
16860
|
+
start_from: string;
|
|
16861
|
+
updated_at: string;
|
|
16862
|
+
};
|
|
16863
|
+
Insert: {
|
|
16864
|
+
created_at?: string;
|
|
16865
|
+
day: string;
|
|
16866
|
+
end_at?: string;
|
|
16867
|
+
id?: string;
|
|
16868
|
+
monteur_id: string;
|
|
16869
|
+
start_from?: string;
|
|
16870
|
+
updated_at?: string;
|
|
16871
|
+
};
|
|
16872
|
+
Update: {
|
|
16873
|
+
created_at?: string;
|
|
16874
|
+
day?: string;
|
|
16875
|
+
end_at?: string;
|
|
16876
|
+
id?: string;
|
|
16877
|
+
monteur_id?: string;
|
|
16878
|
+
start_from?: string;
|
|
16879
|
+
updated_at?: string;
|
|
16880
|
+
};
|
|
16881
|
+
Relationships: [];
|
|
16882
|
+
};
|
|
16883
|
+
planning_monteur_locations: {
|
|
16884
|
+
Row: {
|
|
16885
|
+
created_at: string;
|
|
16886
|
+
default_end: string;
|
|
16887
|
+
default_start: string;
|
|
16888
|
+
end_address: string | null;
|
|
16889
|
+
home_address: string | null;
|
|
16890
|
+
id: string;
|
|
16891
|
+
monteur_id: string;
|
|
16892
|
+
start_address: string | null;
|
|
16893
|
+
updated_at: string;
|
|
16894
|
+
};
|
|
16895
|
+
Insert: {
|
|
16896
|
+
created_at?: string;
|
|
16897
|
+
default_end?: string;
|
|
16898
|
+
default_start?: string;
|
|
16899
|
+
end_address?: string | null;
|
|
16900
|
+
home_address?: string | null;
|
|
16901
|
+
id?: string;
|
|
16902
|
+
monteur_id: string;
|
|
16903
|
+
start_address?: string | null;
|
|
16904
|
+
updated_at?: string;
|
|
16905
|
+
};
|
|
16906
|
+
Update: {
|
|
16907
|
+
created_at?: string;
|
|
16908
|
+
default_end?: string;
|
|
16909
|
+
default_start?: string;
|
|
16910
|
+
end_address?: string | null;
|
|
16911
|
+
home_address?: string | null;
|
|
16912
|
+
id?: string;
|
|
16913
|
+
monteur_id?: string;
|
|
16914
|
+
start_address?: string | null;
|
|
16915
|
+
updated_at?: string;
|
|
16916
|
+
};
|
|
16917
|
+
Relationships: [];
|
|
16918
|
+
};
|
|
16919
|
+
planning_settings: {
|
|
16920
|
+
Row: {
|
|
16921
|
+
company_address: string | null;
|
|
16922
|
+
created_at: string;
|
|
16923
|
+
id: string;
|
|
16924
|
+
singleton: boolean;
|
|
16925
|
+
updated_at: string;
|
|
16926
|
+
};
|
|
16927
|
+
Insert: {
|
|
16928
|
+
company_address?: string | null;
|
|
16929
|
+
created_at?: string;
|
|
16930
|
+
id?: string;
|
|
16931
|
+
singleton?: boolean;
|
|
16932
|
+
updated_at?: string;
|
|
16933
|
+
};
|
|
16934
|
+
Update: {
|
|
16935
|
+
company_address?: string | null;
|
|
16936
|
+
created_at?: string;
|
|
16937
|
+
id?: string;
|
|
16938
|
+
singleton?: boolean;
|
|
16939
|
+
updated_at?: string;
|
|
16940
|
+
};
|
|
16941
|
+
Relationships: [];
|
|
16942
|
+
};
|
|
16943
|
+
planning_travel_legs: {
|
|
16944
|
+
Row: {
|
|
16945
|
+
after_min: number;
|
|
16946
|
+
after_reason: string | null;
|
|
16947
|
+
after_status: string;
|
|
16948
|
+
after_to_address: string | null;
|
|
16949
|
+
before_from_address: string | null;
|
|
16950
|
+
before_min: number;
|
|
16951
|
+
before_reason: string | null;
|
|
16952
|
+
before_status: string;
|
|
16953
|
+
computed_at: string;
|
|
16954
|
+
computed_end_at: string | null;
|
|
16955
|
+
computed_start_at: string | null;
|
|
16956
|
+
created_at: string;
|
|
16957
|
+
id: string;
|
|
16958
|
+
monteur_id: string;
|
|
16959
|
+
planning_item_id: string;
|
|
16960
|
+
shared_after_item_id: string | null;
|
|
16961
|
+
shared_before_item_id: string | null;
|
|
16962
|
+
updated_at: string;
|
|
16963
|
+
};
|
|
16964
|
+
Insert: {
|
|
16965
|
+
after_min?: number;
|
|
16966
|
+
after_reason?: string | null;
|
|
16967
|
+
after_status?: string;
|
|
16968
|
+
after_to_address?: string | null;
|
|
16969
|
+
before_from_address?: string | null;
|
|
16970
|
+
before_min?: number;
|
|
16971
|
+
before_reason?: string | null;
|
|
16972
|
+
before_status?: string;
|
|
16973
|
+
computed_at?: string;
|
|
16974
|
+
computed_end_at?: string | null;
|
|
16975
|
+
computed_start_at?: string | null;
|
|
16976
|
+
created_at?: string;
|
|
16977
|
+
id?: string;
|
|
16978
|
+
monteur_id: string;
|
|
16979
|
+
planning_item_id: string;
|
|
16980
|
+
shared_after_item_id?: string | null;
|
|
16981
|
+
shared_before_item_id?: string | null;
|
|
16982
|
+
updated_at?: string;
|
|
16983
|
+
};
|
|
16984
|
+
Update: {
|
|
16985
|
+
after_min?: number;
|
|
16986
|
+
after_reason?: string | null;
|
|
16987
|
+
after_status?: string;
|
|
16988
|
+
after_to_address?: string | null;
|
|
16989
|
+
before_from_address?: string | null;
|
|
16990
|
+
before_min?: number;
|
|
16991
|
+
before_reason?: string | null;
|
|
16992
|
+
before_status?: string;
|
|
16993
|
+
computed_at?: string;
|
|
16994
|
+
computed_end_at?: string | null;
|
|
16995
|
+
computed_start_at?: string | null;
|
|
16996
|
+
created_at?: string;
|
|
16997
|
+
id?: string;
|
|
16998
|
+
monteur_id?: string;
|
|
16999
|
+
planning_item_id?: string;
|
|
17000
|
+
shared_after_item_id?: string | null;
|
|
17001
|
+
shared_before_item_id?: string | null;
|
|
17002
|
+
updated_at?: string;
|
|
17003
|
+
};
|
|
17004
|
+
Relationships: [
|
|
17005
|
+
{
|
|
17006
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
17007
|
+
columns: ["planning_item_id"];
|
|
17008
|
+
isOneToOne: false;
|
|
17009
|
+
referencedRelation: "planning_items";
|
|
17010
|
+
referencedColumns: ["id"];
|
|
17011
|
+
},
|
|
17012
|
+
{
|
|
17013
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
17014
|
+
columns: ["planning_item_id"];
|
|
17015
|
+
isOneToOne: false;
|
|
17016
|
+
referencedRelation: "planning_overview";
|
|
17017
|
+
referencedColumns: ["id"];
|
|
17018
|
+
},
|
|
17019
|
+
{
|
|
17020
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
17021
|
+
columns: ["shared_after_item_id"];
|
|
17022
|
+
isOneToOne: false;
|
|
17023
|
+
referencedRelation: "planning_items";
|
|
17024
|
+
referencedColumns: ["id"];
|
|
17025
|
+
},
|
|
17026
|
+
{
|
|
17027
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
17028
|
+
columns: ["shared_after_item_id"];
|
|
17029
|
+
isOneToOne: false;
|
|
17030
|
+
referencedRelation: "planning_overview";
|
|
17031
|
+
referencedColumns: ["id"];
|
|
17032
|
+
},
|
|
17033
|
+
{
|
|
17034
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
17035
|
+
columns: ["shared_before_item_id"];
|
|
17036
|
+
isOneToOne: false;
|
|
17037
|
+
referencedRelation: "planning_items";
|
|
17038
|
+
referencedColumns: ["id"];
|
|
17039
|
+
},
|
|
17040
|
+
{
|
|
17041
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
17042
|
+
columns: ["shared_before_item_id"];
|
|
17043
|
+
isOneToOne: false;
|
|
17044
|
+
referencedRelation: "planning_overview";
|
|
17045
|
+
referencedColumns: ["id"];
|
|
17046
|
+
}
|
|
17047
|
+
];
|
|
17048
|
+
};
|
|
16256
17049
|
price_list_rows: {
|
|
16257
17050
|
Row: {
|
|
16258
17051
|
action: string;
|
|
@@ -17466,6 +18259,8 @@ export type Database = {
|
|
|
17466
18259
|
};
|
|
17467
18260
|
product_load_settings: {
|
|
17468
18261
|
Row: {
|
|
18262
|
+
build: Json | null;
|
|
18263
|
+
build_status: string;
|
|
17469
18264
|
created_at: string;
|
|
17470
18265
|
id: string;
|
|
17471
18266
|
is_package: boolean;
|
|
@@ -17483,6 +18278,8 @@ export type Database = {
|
|
|
17483
18278
|
updated_at: string;
|
|
17484
18279
|
};
|
|
17485
18280
|
Insert: {
|
|
18281
|
+
build?: Json | null;
|
|
18282
|
+
build_status?: string;
|
|
17486
18283
|
created_at?: string;
|
|
17487
18284
|
id?: string;
|
|
17488
18285
|
is_package?: boolean;
|
|
@@ -17500,6 +18297,8 @@ export type Database = {
|
|
|
17500
18297
|
updated_at?: string;
|
|
17501
18298
|
};
|
|
17502
18299
|
Update: {
|
|
18300
|
+
build?: Json | null;
|
|
18301
|
+
build_status?: string;
|
|
17503
18302
|
created_at?: string;
|
|
17504
18303
|
id?: string;
|
|
17505
18304
|
is_package?: boolean;
|
|
@@ -17573,19 +18372,139 @@ export type Database = {
|
|
|
17573
18372
|
};
|
|
17574
18373
|
Relationships: [];
|
|
17575
18374
|
};
|
|
17576
|
-
|
|
18375
|
+
product_suppliers: {
|
|
17577
18376
|
Row: {
|
|
17578
|
-
article_number: string | null;
|
|
17579
|
-
barcode: string | null;
|
|
17580
|
-
batch: string;
|
|
17581
|
-
crates_per_layer: number;
|
|
17582
18377
|
created_at: string;
|
|
17583
|
-
custom_fields: Json;
|
|
17584
|
-
floriday_trade_item_id: string | null;
|
|
17585
|
-
fust_type_id: string | null;
|
|
17586
18378
|
id: string;
|
|
17587
|
-
|
|
17588
|
-
|
|
18379
|
+
is_preferred: boolean;
|
|
18380
|
+
lead_time_days: number | null;
|
|
18381
|
+
min_order_quantity: number | null;
|
|
18382
|
+
notes: string | null;
|
|
18383
|
+
previous_price_cents: number | null;
|
|
18384
|
+
price_source: string;
|
|
18385
|
+
price_updated_at: string | null;
|
|
18386
|
+
product_id: string;
|
|
18387
|
+
purchase_price_cents: number | null;
|
|
18388
|
+
supplier_article_number: string | null;
|
|
18389
|
+
supplier_id: string;
|
|
18390
|
+
updated_at: string;
|
|
18391
|
+
};
|
|
18392
|
+
Insert: {
|
|
18393
|
+
created_at?: string;
|
|
18394
|
+
id?: string;
|
|
18395
|
+
is_preferred?: boolean;
|
|
18396
|
+
lead_time_days?: number | null;
|
|
18397
|
+
min_order_quantity?: number | null;
|
|
18398
|
+
notes?: string | null;
|
|
18399
|
+
previous_price_cents?: number | null;
|
|
18400
|
+
price_source?: string;
|
|
18401
|
+
price_updated_at?: string | null;
|
|
18402
|
+
product_id: string;
|
|
18403
|
+
purchase_price_cents?: number | null;
|
|
18404
|
+
supplier_article_number?: string | null;
|
|
18405
|
+
supplier_id: string;
|
|
18406
|
+
updated_at?: string;
|
|
18407
|
+
};
|
|
18408
|
+
Update: {
|
|
18409
|
+
created_at?: string;
|
|
18410
|
+
id?: string;
|
|
18411
|
+
is_preferred?: boolean;
|
|
18412
|
+
lead_time_days?: number | null;
|
|
18413
|
+
min_order_quantity?: number | null;
|
|
18414
|
+
notes?: string | null;
|
|
18415
|
+
previous_price_cents?: number | null;
|
|
18416
|
+
price_source?: string;
|
|
18417
|
+
price_updated_at?: string | null;
|
|
18418
|
+
product_id?: string;
|
|
18419
|
+
purchase_price_cents?: number | null;
|
|
18420
|
+
supplier_article_number?: string | null;
|
|
18421
|
+
supplier_id?: string;
|
|
18422
|
+
updated_at?: string;
|
|
18423
|
+
};
|
|
18424
|
+
Relationships: [
|
|
18425
|
+
{
|
|
18426
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
18427
|
+
columns: ["product_id"];
|
|
18428
|
+
isOneToOne: false;
|
|
18429
|
+
referencedRelation: "logistics_product_dimensions";
|
|
18430
|
+
referencedColumns: ["product_id"];
|
|
18431
|
+
},
|
|
18432
|
+
{
|
|
18433
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
18434
|
+
columns: ["product_id"];
|
|
18435
|
+
isOneToOne: false;
|
|
18436
|
+
referencedRelation: "products";
|
|
18437
|
+
referencedColumns: ["id"];
|
|
18438
|
+
},
|
|
18439
|
+
{
|
|
18440
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
18441
|
+
columns: ["supplier_id"];
|
|
18442
|
+
isOneToOne: false;
|
|
18443
|
+
referencedRelation: "suppliers";
|
|
18444
|
+
referencedColumns: ["id"];
|
|
18445
|
+
}
|
|
18446
|
+
];
|
|
18447
|
+
};
|
|
18448
|
+
product_tray_stickers: {
|
|
18449
|
+
Row: {
|
|
18450
|
+
bestand_url: string;
|
|
18451
|
+
bestandsgrootte: number | null;
|
|
18452
|
+
bestandsnaam: string | null;
|
|
18453
|
+
bestandspad: string | null;
|
|
18454
|
+
created_at: string;
|
|
18455
|
+
product_id: string;
|
|
18456
|
+
updated_at: string;
|
|
18457
|
+
};
|
|
18458
|
+
Insert: {
|
|
18459
|
+
bestand_url: string;
|
|
18460
|
+
bestandsgrootte?: number | null;
|
|
18461
|
+
bestandsnaam?: string | null;
|
|
18462
|
+
bestandspad?: string | null;
|
|
18463
|
+
created_at?: string;
|
|
18464
|
+
product_id: string;
|
|
18465
|
+
updated_at?: string;
|
|
18466
|
+
};
|
|
18467
|
+
Update: {
|
|
18468
|
+
bestand_url?: string;
|
|
18469
|
+
bestandsgrootte?: number | null;
|
|
18470
|
+
bestandsnaam?: string | null;
|
|
18471
|
+
bestandspad?: string | null;
|
|
18472
|
+
created_at?: string;
|
|
18473
|
+
product_id?: string;
|
|
18474
|
+
updated_at?: string;
|
|
18475
|
+
};
|
|
18476
|
+
Relationships: [
|
|
18477
|
+
{
|
|
18478
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
18479
|
+
columns: ["product_id"];
|
|
18480
|
+
isOneToOne: true;
|
|
18481
|
+
referencedRelation: "logistics_product_dimensions";
|
|
18482
|
+
referencedColumns: ["product_id"];
|
|
18483
|
+
},
|
|
18484
|
+
{
|
|
18485
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
18486
|
+
columns: ["product_id"];
|
|
18487
|
+
isOneToOne: true;
|
|
18488
|
+
referencedRelation: "products";
|
|
18489
|
+
referencedColumns: ["id"];
|
|
18490
|
+
}
|
|
18491
|
+
];
|
|
18492
|
+
};
|
|
18493
|
+
products: {
|
|
18494
|
+
Row: {
|
|
18495
|
+
article_number: string | null;
|
|
18496
|
+
barcode: string | null;
|
|
18497
|
+
batch: string;
|
|
18498
|
+
crates_per_layer: number;
|
|
18499
|
+
created_at: string;
|
|
18500
|
+
custom_fields: Json;
|
|
18501
|
+
floriday_packing_confirmed_at: string | null;
|
|
18502
|
+
floriday_packing_source: string | null;
|
|
18503
|
+
floriday_trade_item_id: string | null;
|
|
18504
|
+
fust_type_id: string | null;
|
|
18505
|
+
id: string;
|
|
18506
|
+
image_url: string | null;
|
|
18507
|
+
incoming_quantity: number;
|
|
17589
18508
|
is_layer: boolean;
|
|
17590
18509
|
layers_per_cart: number;
|
|
17591
18510
|
location: string;
|
|
@@ -17609,6 +18528,8 @@ export type Database = {
|
|
|
17609
18528
|
crates_per_layer?: number;
|
|
17610
18529
|
created_at?: string;
|
|
17611
18530
|
custom_fields?: Json;
|
|
18531
|
+
floriday_packing_confirmed_at?: string | null;
|
|
18532
|
+
floriday_packing_source?: string | null;
|
|
17612
18533
|
floriday_trade_item_id?: string | null;
|
|
17613
18534
|
fust_type_id?: string | null;
|
|
17614
18535
|
id?: string;
|
|
@@ -17637,6 +18558,8 @@ export type Database = {
|
|
|
17637
18558
|
crates_per_layer?: number;
|
|
17638
18559
|
created_at?: string;
|
|
17639
18560
|
custom_fields?: Json;
|
|
18561
|
+
floriday_packing_confirmed_at?: string | null;
|
|
18562
|
+
floriday_packing_source?: string | null;
|
|
17640
18563
|
floriday_trade_item_id?: string | null;
|
|
17641
18564
|
fust_type_id?: string | null;
|
|
17642
18565
|
id?: string;
|
|
@@ -17743,6 +18666,7 @@ export type Database = {
|
|
|
17743
18666
|
id: string;
|
|
17744
18667
|
is_superadmin: boolean;
|
|
17745
18668
|
notification_preferences: Json;
|
|
18669
|
+
phone: string | null;
|
|
17746
18670
|
tenant_id: string | null;
|
|
17747
18671
|
updated_at: string;
|
|
17748
18672
|
};
|
|
@@ -17755,6 +18679,7 @@ export type Database = {
|
|
|
17755
18679
|
id: string;
|
|
17756
18680
|
is_superadmin?: boolean;
|
|
17757
18681
|
notification_preferences?: Json;
|
|
18682
|
+
phone?: string | null;
|
|
17758
18683
|
tenant_id?: string | null;
|
|
17759
18684
|
updated_at?: string;
|
|
17760
18685
|
};
|
|
@@ -17767,6 +18692,7 @@ export type Database = {
|
|
|
17767
18692
|
id?: string;
|
|
17768
18693
|
is_superadmin?: boolean;
|
|
17769
18694
|
notification_preferences?: Json;
|
|
18695
|
+
phone?: string | null;
|
|
17770
18696
|
tenant_id?: string | null;
|
|
17771
18697
|
updated_at?: string;
|
|
17772
18698
|
};
|
|
@@ -18046,9 +18972,13 @@ export type Database = {
|
|
|
18046
18972
|
purchase_order_items: {
|
|
18047
18973
|
Row: {
|
|
18048
18974
|
article_number: string | null;
|
|
18975
|
+
cancel_reason: string | null;
|
|
18976
|
+
cancelled_at: string | null;
|
|
18049
18977
|
created_at: string;
|
|
18050
18978
|
delivery_date: string | null;
|
|
18051
18979
|
id: string;
|
|
18980
|
+
incoming_booked: number;
|
|
18981
|
+
line_status: string;
|
|
18052
18982
|
name: string;
|
|
18053
18983
|
note: string | null;
|
|
18054
18984
|
pot_size: string | null;
|
|
@@ -18056,6 +18986,8 @@ export type Database = {
|
|
|
18056
18986
|
product_type: string;
|
|
18057
18987
|
purchase_order_id: string;
|
|
18058
18988
|
quantity: number;
|
|
18989
|
+
received_at: string | null;
|
|
18990
|
+
received_booked: number;
|
|
18059
18991
|
supplier_id: string | null;
|
|
18060
18992
|
supplier_product_id: string | null;
|
|
18061
18993
|
unit_price_cents: number;
|
|
@@ -18063,9 +18995,13 @@ export type Database = {
|
|
|
18063
18995
|
};
|
|
18064
18996
|
Insert: {
|
|
18065
18997
|
article_number?: string | null;
|
|
18998
|
+
cancel_reason?: string | null;
|
|
18999
|
+
cancelled_at?: string | null;
|
|
18066
19000
|
created_at?: string;
|
|
18067
19001
|
delivery_date?: string | null;
|
|
18068
19002
|
id?: string;
|
|
19003
|
+
incoming_booked?: number;
|
|
19004
|
+
line_status?: string;
|
|
18069
19005
|
name?: string;
|
|
18070
19006
|
note?: string | null;
|
|
18071
19007
|
pot_size?: string | null;
|
|
@@ -18073,6 +19009,8 @@ export type Database = {
|
|
|
18073
19009
|
product_type?: string;
|
|
18074
19010
|
purchase_order_id: string;
|
|
18075
19011
|
quantity?: number;
|
|
19012
|
+
received_at?: string | null;
|
|
19013
|
+
received_booked?: number;
|
|
18076
19014
|
supplier_id?: string | null;
|
|
18077
19015
|
supplier_product_id?: string | null;
|
|
18078
19016
|
unit_price_cents?: number;
|
|
@@ -18080,9 +19018,13 @@ export type Database = {
|
|
|
18080
19018
|
};
|
|
18081
19019
|
Update: {
|
|
18082
19020
|
article_number?: string | null;
|
|
19021
|
+
cancel_reason?: string | null;
|
|
19022
|
+
cancelled_at?: string | null;
|
|
18083
19023
|
created_at?: string;
|
|
18084
19024
|
delivery_date?: string | null;
|
|
18085
19025
|
id?: string;
|
|
19026
|
+
incoming_booked?: number;
|
|
19027
|
+
line_status?: string;
|
|
18086
19028
|
name?: string;
|
|
18087
19029
|
note?: string | null;
|
|
18088
19030
|
pot_size?: string | null;
|
|
@@ -18090,6 +19032,8 @@ export type Database = {
|
|
|
18090
19032
|
product_type?: string;
|
|
18091
19033
|
purchase_order_id?: string;
|
|
18092
19034
|
quantity?: number;
|
|
19035
|
+
received_at?: string | null;
|
|
19036
|
+
received_booked?: number;
|
|
18093
19037
|
supplier_id?: string | null;
|
|
18094
19038
|
supplier_product_id?: string | null;
|
|
18095
19039
|
unit_price_cents?: number;
|
|
@@ -18202,6 +19146,161 @@ export type Database = {
|
|
|
18202
19146
|
}
|
|
18203
19147
|
];
|
|
18204
19148
|
};
|
|
19149
|
+
purchase_request_events: {
|
|
19150
|
+
Row: {
|
|
19151
|
+
created_at: string;
|
|
19152
|
+
details: Json | null;
|
|
19153
|
+
event_type: string;
|
|
19154
|
+
id: string;
|
|
19155
|
+
request_id: string;
|
|
19156
|
+
};
|
|
19157
|
+
Insert: {
|
|
19158
|
+
created_at?: string;
|
|
19159
|
+
details?: Json | null;
|
|
19160
|
+
event_type: string;
|
|
19161
|
+
id?: string;
|
|
19162
|
+
request_id: string;
|
|
19163
|
+
};
|
|
19164
|
+
Update: {
|
|
19165
|
+
created_at?: string;
|
|
19166
|
+
details?: Json | null;
|
|
19167
|
+
event_type?: string;
|
|
19168
|
+
id?: string;
|
|
19169
|
+
request_id?: string;
|
|
19170
|
+
};
|
|
19171
|
+
Relationships: [
|
|
19172
|
+
{
|
|
19173
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
19174
|
+
columns: ["request_id"];
|
|
19175
|
+
isOneToOne: false;
|
|
19176
|
+
referencedRelation: "purchase_requests";
|
|
19177
|
+
referencedColumns: ["id"];
|
|
19178
|
+
}
|
|
19179
|
+
];
|
|
19180
|
+
};
|
|
19181
|
+
purchase_request_responses: {
|
|
19182
|
+
Row: {
|
|
19183
|
+
confirmed_date: string | null;
|
|
19184
|
+
confirmed_price_cents: number | null;
|
|
19185
|
+
confirmed_quantity: number;
|
|
19186
|
+
created_at: string;
|
|
19187
|
+
id: string;
|
|
19188
|
+
not_available: boolean;
|
|
19189
|
+
note: string | null;
|
|
19190
|
+
purchase_order_item_id: string;
|
|
19191
|
+
request_id: string;
|
|
19192
|
+
updated_at: string;
|
|
19193
|
+
};
|
|
19194
|
+
Insert: {
|
|
19195
|
+
confirmed_date?: string | null;
|
|
19196
|
+
confirmed_price_cents?: number | null;
|
|
19197
|
+
confirmed_quantity?: number;
|
|
19198
|
+
created_at?: string;
|
|
19199
|
+
id?: string;
|
|
19200
|
+
not_available?: boolean;
|
|
19201
|
+
note?: string | null;
|
|
19202
|
+
purchase_order_item_id: string;
|
|
19203
|
+
request_id: string;
|
|
19204
|
+
updated_at?: string;
|
|
19205
|
+
};
|
|
19206
|
+
Update: {
|
|
19207
|
+
confirmed_date?: string | null;
|
|
19208
|
+
confirmed_price_cents?: number | null;
|
|
19209
|
+
confirmed_quantity?: number;
|
|
19210
|
+
created_at?: string;
|
|
19211
|
+
id?: string;
|
|
19212
|
+
not_available?: boolean;
|
|
19213
|
+
note?: string | null;
|
|
19214
|
+
purchase_order_item_id?: string;
|
|
19215
|
+
request_id?: string;
|
|
19216
|
+
updated_at?: string;
|
|
19217
|
+
};
|
|
19218
|
+
Relationships: [
|
|
19219
|
+
{
|
|
19220
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
19221
|
+
columns: ["purchase_order_item_id"];
|
|
19222
|
+
isOneToOne: false;
|
|
19223
|
+
referencedRelation: "purchase_order_items";
|
|
19224
|
+
referencedColumns: ["id"];
|
|
19225
|
+
},
|
|
19226
|
+
{
|
|
19227
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
19228
|
+
columns: ["request_id"];
|
|
19229
|
+
isOneToOne: false;
|
|
19230
|
+
referencedRelation: "purchase_requests";
|
|
19231
|
+
referencedColumns: ["id"];
|
|
19232
|
+
}
|
|
19233
|
+
];
|
|
19234
|
+
};
|
|
19235
|
+
purchase_requests: {
|
|
19236
|
+
Row: {
|
|
19237
|
+
created_at: string;
|
|
19238
|
+
expires_at: string;
|
|
19239
|
+
first_viewed_at: string | null;
|
|
19240
|
+
id: string;
|
|
19241
|
+
processed_at: string | null;
|
|
19242
|
+
purchase_order_id: string;
|
|
19243
|
+
responded_at: string | null;
|
|
19244
|
+
sent_at: string;
|
|
19245
|
+
status: string;
|
|
19246
|
+
supplier_id: string | null;
|
|
19247
|
+
supplier_name: string;
|
|
19248
|
+
supplier_note: string | null;
|
|
19249
|
+
to_address: string | null;
|
|
19250
|
+
token_hash: string;
|
|
19251
|
+
updated_at: string;
|
|
19252
|
+
};
|
|
19253
|
+
Insert: {
|
|
19254
|
+
created_at?: string;
|
|
19255
|
+
expires_at?: string;
|
|
19256
|
+
first_viewed_at?: string | null;
|
|
19257
|
+
id?: string;
|
|
19258
|
+
processed_at?: string | null;
|
|
19259
|
+
purchase_order_id: string;
|
|
19260
|
+
responded_at?: string | null;
|
|
19261
|
+
sent_at?: string;
|
|
19262
|
+
status?: string;
|
|
19263
|
+
supplier_id?: string | null;
|
|
19264
|
+
supplier_name?: string;
|
|
19265
|
+
supplier_note?: string | null;
|
|
19266
|
+
to_address?: string | null;
|
|
19267
|
+
token_hash: string;
|
|
19268
|
+
updated_at?: string;
|
|
19269
|
+
};
|
|
19270
|
+
Update: {
|
|
19271
|
+
created_at?: string;
|
|
19272
|
+
expires_at?: string;
|
|
19273
|
+
first_viewed_at?: string | null;
|
|
19274
|
+
id?: string;
|
|
19275
|
+
processed_at?: string | null;
|
|
19276
|
+
purchase_order_id?: string;
|
|
19277
|
+
responded_at?: string | null;
|
|
19278
|
+
sent_at?: string;
|
|
19279
|
+
status?: string;
|
|
19280
|
+
supplier_id?: string | null;
|
|
19281
|
+
supplier_name?: string;
|
|
19282
|
+
supplier_note?: string | null;
|
|
19283
|
+
to_address?: string | null;
|
|
19284
|
+
token_hash?: string;
|
|
19285
|
+
updated_at?: string;
|
|
19286
|
+
};
|
|
19287
|
+
Relationships: [
|
|
19288
|
+
{
|
|
19289
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
19290
|
+
columns: ["purchase_order_id"];
|
|
19291
|
+
isOneToOne: false;
|
|
19292
|
+
referencedRelation: "purchase_orders";
|
|
19293
|
+
referencedColumns: ["id"];
|
|
19294
|
+
},
|
|
19295
|
+
{
|
|
19296
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
19297
|
+
columns: ["supplier_id"];
|
|
19298
|
+
isOneToOne: false;
|
|
19299
|
+
referencedRelation: "suppliers";
|
|
19300
|
+
referencedColumns: ["id"];
|
|
19301
|
+
}
|
|
19302
|
+
];
|
|
19303
|
+
};
|
|
18205
19304
|
reception_notifications: {
|
|
18206
19305
|
Row: {
|
|
18207
19306
|
booking_id: string | null;
|
|
@@ -19564,40 +20663,52 @@ export type Database = {
|
|
|
19564
20663
|
Row: {
|
|
19565
20664
|
approved_at: string | null;
|
|
19566
20665
|
approved_by: string | null;
|
|
20666
|
+
contract_hours: number;
|
|
19567
20667
|
created_at: string;
|
|
19568
20668
|
employee_id: string;
|
|
19569
20669
|
id: string;
|
|
19570
20670
|
locked: boolean;
|
|
20671
|
+
monteur_toelichting: string | null;
|
|
19571
20672
|
notes: string | null;
|
|
20673
|
+
planned_hours: number;
|
|
19572
20674
|
status: string;
|
|
19573
20675
|
submitted_at: string | null;
|
|
19574
20676
|
updated_at: string;
|
|
20677
|
+
variance_hours: number;
|
|
19575
20678
|
week_start: string;
|
|
19576
20679
|
};
|
|
19577
20680
|
Insert: {
|
|
19578
20681
|
approved_at?: string | null;
|
|
19579
20682
|
approved_by?: string | null;
|
|
20683
|
+
contract_hours?: number;
|
|
19580
20684
|
created_at?: string;
|
|
19581
20685
|
employee_id: string;
|
|
19582
20686
|
id?: string;
|
|
19583
20687
|
locked?: boolean;
|
|
20688
|
+
monteur_toelichting?: string | null;
|
|
19584
20689
|
notes?: string | null;
|
|
20690
|
+
planned_hours?: number;
|
|
19585
20691
|
status?: string;
|
|
19586
20692
|
submitted_at?: string | null;
|
|
19587
20693
|
updated_at?: string;
|
|
20694
|
+
variance_hours?: number;
|
|
19588
20695
|
week_start: string;
|
|
19589
20696
|
};
|
|
19590
20697
|
Update: {
|
|
19591
20698
|
approved_at?: string | null;
|
|
19592
20699
|
approved_by?: string | null;
|
|
20700
|
+
contract_hours?: number;
|
|
19593
20701
|
created_at?: string;
|
|
19594
20702
|
employee_id?: string;
|
|
19595
20703
|
id?: string;
|
|
19596
20704
|
locked?: boolean;
|
|
20705
|
+
monteur_toelichting?: string | null;
|
|
19597
20706
|
notes?: string | null;
|
|
20707
|
+
planned_hours?: number;
|
|
19598
20708
|
status?: string;
|
|
19599
20709
|
submitted_at?: string | null;
|
|
19600
20710
|
updated_at?: string;
|
|
20711
|
+
variance_hours?: number;
|
|
19601
20712
|
week_start?: string;
|
|
19602
20713
|
};
|
|
19603
20714
|
Relationships: [
|
|
@@ -20403,6 +21514,7 @@ export type Database = {
|
|
|
20403
21514
|
auto_invoice_enabled: boolean;
|
|
20404
21515
|
auto_invoice_start_date: string | null;
|
|
20405
21516
|
auto_invoice_trigger_statuses: string[];
|
|
21517
|
+
auto_send_mode: string | null;
|
|
20406
21518
|
created_at: string;
|
|
20407
21519
|
debtor_gl_account: string;
|
|
20408
21520
|
default_article_code: string | null;
|
|
@@ -20431,6 +21543,7 @@ export type Database = {
|
|
|
20431
21543
|
auto_invoice_enabled?: boolean;
|
|
20432
21544
|
auto_invoice_start_date?: string | null;
|
|
20433
21545
|
auto_invoice_trigger_statuses?: string[];
|
|
21546
|
+
auto_send_mode?: string | null;
|
|
20434
21547
|
created_at?: string;
|
|
20435
21548
|
debtor_gl_account?: string;
|
|
20436
21549
|
default_article_code?: string | null;
|
|
@@ -20459,6 +21572,7 @@ export type Database = {
|
|
|
20459
21572
|
auto_invoice_enabled?: boolean;
|
|
20460
21573
|
auto_invoice_start_date?: string | null;
|
|
20461
21574
|
auto_invoice_trigger_statuses?: string[];
|
|
21575
|
+
auto_send_mode?: string | null;
|
|
20462
21576
|
created_at?: string;
|
|
20463
21577
|
debtor_gl_account?: string;
|
|
20464
21578
|
default_article_code?: string | null;
|
|
@@ -20907,16 +22021,19 @@ export type Database = {
|
|
|
20907
22021
|
Row: {
|
|
20908
22022
|
active_environment: string;
|
|
20909
22023
|
id: number;
|
|
22024
|
+
public_base_url: string | null;
|
|
20910
22025
|
updated_at: string;
|
|
20911
22026
|
};
|
|
20912
22027
|
Insert: {
|
|
20913
22028
|
active_environment?: string;
|
|
20914
22029
|
id?: number;
|
|
22030
|
+
public_base_url?: string | null;
|
|
20915
22031
|
updated_at?: string;
|
|
20916
22032
|
};
|
|
20917
22033
|
Update: {
|
|
20918
22034
|
active_environment?: string;
|
|
20919
22035
|
id?: number;
|
|
22036
|
+
public_base_url?: string | null;
|
|
20920
22037
|
updated_at?: string;
|
|
20921
22038
|
};
|
|
20922
22039
|
Relationships: [];
|
|
@@ -20956,6 +22073,45 @@ export type Database = {
|
|
|
20956
22073
|
}
|
|
20957
22074
|
];
|
|
20958
22075
|
};
|
|
22076
|
+
uren_beschikbare_dagen: {
|
|
22077
|
+
Row: {
|
|
22078
|
+
bron: string;
|
|
22079
|
+
created_at: string;
|
|
22080
|
+
datum: string;
|
|
22081
|
+
eind_tijd: string | null;
|
|
22082
|
+
half_hour_slots: number[];
|
|
22083
|
+
id: string;
|
|
22084
|
+
monteur_id: string;
|
|
22085
|
+
start_tijd: string | null;
|
|
22086
|
+
updated_at: string;
|
|
22087
|
+
uren: number;
|
|
22088
|
+
};
|
|
22089
|
+
Insert: {
|
|
22090
|
+
bron?: string;
|
|
22091
|
+
created_at?: string;
|
|
22092
|
+
datum: string;
|
|
22093
|
+
eind_tijd?: string | null;
|
|
22094
|
+
half_hour_slots?: number[];
|
|
22095
|
+
id?: string;
|
|
22096
|
+
monteur_id: string;
|
|
22097
|
+
start_tijd?: string | null;
|
|
22098
|
+
updated_at?: string;
|
|
22099
|
+
uren?: number;
|
|
22100
|
+
};
|
|
22101
|
+
Update: {
|
|
22102
|
+
bron?: string;
|
|
22103
|
+
created_at?: string;
|
|
22104
|
+
datum?: string;
|
|
22105
|
+
eind_tijd?: string | null;
|
|
22106
|
+
half_hour_slots?: number[];
|
|
22107
|
+
id?: string;
|
|
22108
|
+
monteur_id?: string;
|
|
22109
|
+
start_tijd?: string | null;
|
|
22110
|
+
updated_at?: string;
|
|
22111
|
+
uren?: number;
|
|
22112
|
+
};
|
|
22113
|
+
Relationships: [];
|
|
22114
|
+
};
|
|
20959
22115
|
uren_cao_profiles: {
|
|
20960
22116
|
Row: {
|
|
20961
22117
|
break_minutes: number | null;
|
|
@@ -21097,25 +22253,154 @@ export type Database = {
|
|
|
21097
22253
|
};
|
|
21098
22254
|
Relationships: [];
|
|
21099
22255
|
};
|
|
21100
|
-
|
|
22256
|
+
uren_maandafsluitingen: {
|
|
21101
22257
|
Row: {
|
|
21102
|
-
|
|
22258
|
+
afgesloten_at: string | null;
|
|
22259
|
+
afgesloten_door: string | null;
|
|
22260
|
+
contract_minuten: number;
|
|
22261
|
+
correctie_reden: string | null;
|
|
21103
22262
|
created_at: string;
|
|
21104
|
-
|
|
21105
|
-
|
|
21106
|
-
|
|
21107
|
-
|
|
21108
|
-
|
|
21109
|
-
|
|
22263
|
+
gecorrigeerd_at: string | null;
|
|
22264
|
+
gecorrigeerd_door: string | null;
|
|
22265
|
+
gewerkte_minuten: number;
|
|
22266
|
+
id: string;
|
|
22267
|
+
maand: string;
|
|
22268
|
+
min_minuten: number;
|
|
22269
|
+
monteur_id: string;
|
|
22270
|
+
netto_verschil_minuten: number;
|
|
22271
|
+
normaal_uitbetaald_minuten: number;
|
|
22272
|
+
omgezet_vakantie_minuten: number;
|
|
22273
|
+
overdracht_vorige_minuten: number;
|
|
22274
|
+
overuren_minuten: number;
|
|
22275
|
+
plus_minuten: number;
|
|
22276
|
+
rest_overuren_minuten: number;
|
|
22277
|
+
status: string;
|
|
22278
|
+
totaal_uitbetaald_minuten: number;
|
|
21110
22279
|
updated_at: string;
|
|
21111
|
-
|
|
21112
|
-
workday_end: string;
|
|
21113
|
-
workday_start: string;
|
|
22280
|
+
vakantie_uren_bijgeschreven: number;
|
|
21114
22281
|
};
|
|
21115
22282
|
Insert: {
|
|
21116
|
-
|
|
22283
|
+
afgesloten_at?: string | null;
|
|
22284
|
+
afgesloten_door?: string | null;
|
|
22285
|
+
contract_minuten?: number;
|
|
22286
|
+
correctie_reden?: string | null;
|
|
21117
22287
|
created_at?: string;
|
|
21118
|
-
|
|
22288
|
+
gecorrigeerd_at?: string | null;
|
|
22289
|
+
gecorrigeerd_door?: string | null;
|
|
22290
|
+
gewerkte_minuten?: number;
|
|
22291
|
+
id?: string;
|
|
22292
|
+
maand: string;
|
|
22293
|
+
min_minuten?: number;
|
|
22294
|
+
monteur_id: string;
|
|
22295
|
+
netto_verschil_minuten?: number;
|
|
22296
|
+
normaal_uitbetaald_minuten?: number;
|
|
22297
|
+
omgezet_vakantie_minuten?: number;
|
|
22298
|
+
overdracht_vorige_minuten?: number;
|
|
22299
|
+
overuren_minuten?: number;
|
|
22300
|
+
plus_minuten?: number;
|
|
22301
|
+
rest_overuren_minuten?: number;
|
|
22302
|
+
status?: string;
|
|
22303
|
+
totaal_uitbetaald_minuten?: number;
|
|
22304
|
+
updated_at?: string;
|
|
22305
|
+
vakantie_uren_bijgeschreven?: number;
|
|
22306
|
+
};
|
|
22307
|
+
Update: {
|
|
22308
|
+
afgesloten_at?: string | null;
|
|
22309
|
+
afgesloten_door?: string | null;
|
|
22310
|
+
contract_minuten?: number;
|
|
22311
|
+
correctie_reden?: string | null;
|
|
22312
|
+
created_at?: string;
|
|
22313
|
+
gecorrigeerd_at?: string | null;
|
|
22314
|
+
gecorrigeerd_door?: string | null;
|
|
22315
|
+
gewerkte_minuten?: number;
|
|
22316
|
+
id?: string;
|
|
22317
|
+
maand?: string;
|
|
22318
|
+
min_minuten?: number;
|
|
22319
|
+
monteur_id?: string;
|
|
22320
|
+
netto_verschil_minuten?: number;
|
|
22321
|
+
normaal_uitbetaald_minuten?: number;
|
|
22322
|
+
omgezet_vakantie_minuten?: number;
|
|
22323
|
+
overdracht_vorige_minuten?: number;
|
|
22324
|
+
overuren_minuten?: number;
|
|
22325
|
+
plus_minuten?: number;
|
|
22326
|
+
rest_overuren_minuten?: number;
|
|
22327
|
+
status?: string;
|
|
22328
|
+
totaal_uitbetaald_minuten?: number;
|
|
22329
|
+
updated_at?: string;
|
|
22330
|
+
vakantie_uren_bijgeschreven?: number;
|
|
22331
|
+
};
|
|
22332
|
+
Relationships: [];
|
|
22333
|
+
};
|
|
22334
|
+
uren_overuren_verklaringen: {
|
|
22335
|
+
Row: {
|
|
22336
|
+
beoordeeld_door: string | null;
|
|
22337
|
+
beoordeeld_op: string | null;
|
|
22338
|
+
created_at: string;
|
|
22339
|
+
datum: string;
|
|
22340
|
+
eind_tijd: string | null;
|
|
22341
|
+
id: string;
|
|
22342
|
+
ingediend_at: string;
|
|
22343
|
+
monteur_id: string;
|
|
22344
|
+
overuren: number;
|
|
22345
|
+
reden_afkeur: string | null;
|
|
22346
|
+
start_tijd: string | null;
|
|
22347
|
+
status: string;
|
|
22348
|
+
toelichting: string;
|
|
22349
|
+
updated_at: string;
|
|
22350
|
+
};
|
|
22351
|
+
Insert: {
|
|
22352
|
+
beoordeeld_door?: string | null;
|
|
22353
|
+
beoordeeld_op?: string | null;
|
|
22354
|
+
created_at?: string;
|
|
22355
|
+
datum: string;
|
|
22356
|
+
eind_tijd?: string | null;
|
|
22357
|
+
id?: string;
|
|
22358
|
+
ingediend_at?: string;
|
|
22359
|
+
monteur_id: string;
|
|
22360
|
+
overuren: number;
|
|
22361
|
+
reden_afkeur?: string | null;
|
|
22362
|
+
start_tijd?: string | null;
|
|
22363
|
+
status?: string;
|
|
22364
|
+
toelichting: string;
|
|
22365
|
+
updated_at?: string;
|
|
22366
|
+
};
|
|
22367
|
+
Update: {
|
|
22368
|
+
beoordeeld_door?: string | null;
|
|
22369
|
+
beoordeeld_op?: string | null;
|
|
22370
|
+
created_at?: string;
|
|
22371
|
+
datum?: string;
|
|
22372
|
+
eind_tijd?: string | null;
|
|
22373
|
+
id?: string;
|
|
22374
|
+
ingediend_at?: string;
|
|
22375
|
+
monteur_id?: string;
|
|
22376
|
+
overuren?: number;
|
|
22377
|
+
reden_afkeur?: string | null;
|
|
22378
|
+
start_tijd?: string | null;
|
|
22379
|
+
status?: string;
|
|
22380
|
+
toelichting?: string;
|
|
22381
|
+
updated_at?: string;
|
|
22382
|
+
};
|
|
22383
|
+
Relationships: [];
|
|
22384
|
+
};
|
|
22385
|
+
uren_settings: {
|
|
22386
|
+
Row: {
|
|
22387
|
+
break_minutes: number;
|
|
22388
|
+
created_at: string;
|
|
22389
|
+
daily_threshold_hours: number;
|
|
22390
|
+
id: boolean;
|
|
22391
|
+
include_travel: boolean;
|
|
22392
|
+
min_occupancy_monteurs: number;
|
|
22393
|
+
ov02_percentage: number;
|
|
22394
|
+
ov03_percentage: number;
|
|
22395
|
+
updated_at: string;
|
|
22396
|
+
weekly_threshold_hours: number;
|
|
22397
|
+
workday_end: string;
|
|
22398
|
+
workday_start: string;
|
|
22399
|
+
};
|
|
22400
|
+
Insert: {
|
|
22401
|
+
break_minutes?: number;
|
|
22402
|
+
created_at?: string;
|
|
22403
|
+
daily_threshold_hours?: number;
|
|
21119
22404
|
id?: boolean;
|
|
21120
22405
|
include_travel?: boolean;
|
|
21121
22406
|
min_occupancy_monteurs?: number;
|
|
@@ -21142,6 +22427,75 @@ export type Database = {
|
|
|
21142
22427
|
};
|
|
21143
22428
|
Relationships: [];
|
|
21144
22429
|
};
|
|
22430
|
+
uren_standaardweek: {
|
|
22431
|
+
Row: {
|
|
22432
|
+
created_at: string;
|
|
22433
|
+
eind_slot: number;
|
|
22434
|
+
id: string;
|
|
22435
|
+
monteur_id: string;
|
|
22436
|
+
start_slot: number;
|
|
22437
|
+
updated_at: string;
|
|
22438
|
+
weekdag: number;
|
|
22439
|
+
};
|
|
22440
|
+
Insert: {
|
|
22441
|
+
created_at?: string;
|
|
22442
|
+
eind_slot: number;
|
|
22443
|
+
id?: string;
|
|
22444
|
+
monteur_id: string;
|
|
22445
|
+
start_slot: number;
|
|
22446
|
+
updated_at?: string;
|
|
22447
|
+
weekdag: number;
|
|
22448
|
+
};
|
|
22449
|
+
Update: {
|
|
22450
|
+
created_at?: string;
|
|
22451
|
+
eind_slot?: number;
|
|
22452
|
+
id?: string;
|
|
22453
|
+
monteur_id?: string;
|
|
22454
|
+
start_slot?: number;
|
|
22455
|
+
updated_at?: string;
|
|
22456
|
+
weekdag?: number;
|
|
22457
|
+
};
|
|
22458
|
+
Relationships: [];
|
|
22459
|
+
};
|
|
22460
|
+
uren_standaardweek_wijzigingen: {
|
|
22461
|
+
Row: {
|
|
22462
|
+
beoordeeld_door: string | null;
|
|
22463
|
+
beoordeeld_op: string | null;
|
|
22464
|
+
created_at: string;
|
|
22465
|
+
huidig: Json;
|
|
22466
|
+
id: string;
|
|
22467
|
+
monteur_id: string;
|
|
22468
|
+
reden_afkeur: string | null;
|
|
22469
|
+
status: string;
|
|
22470
|
+
updated_at: string;
|
|
22471
|
+
voorstel: Json;
|
|
22472
|
+
};
|
|
22473
|
+
Insert: {
|
|
22474
|
+
beoordeeld_door?: string | null;
|
|
22475
|
+
beoordeeld_op?: string | null;
|
|
22476
|
+
created_at?: string;
|
|
22477
|
+
huidig?: Json;
|
|
22478
|
+
id?: string;
|
|
22479
|
+
monteur_id: string;
|
|
22480
|
+
reden_afkeur?: string | null;
|
|
22481
|
+
status?: string;
|
|
22482
|
+
updated_at?: string;
|
|
22483
|
+
voorstel: Json;
|
|
22484
|
+
};
|
|
22485
|
+
Update: {
|
|
22486
|
+
beoordeeld_door?: string | null;
|
|
22487
|
+
beoordeeld_op?: string | null;
|
|
22488
|
+
created_at?: string;
|
|
22489
|
+
huidig?: Json;
|
|
22490
|
+
id?: string;
|
|
22491
|
+
monteur_id?: string;
|
|
22492
|
+
reden_afkeur?: string | null;
|
|
22493
|
+
status?: string;
|
|
22494
|
+
updated_at?: string;
|
|
22495
|
+
voorstel?: Json;
|
|
22496
|
+
};
|
|
22497
|
+
Relationships: [];
|
|
22498
|
+
};
|
|
21145
22499
|
uren_tarieven: {
|
|
21146
22500
|
Row: {
|
|
21147
22501
|
created_at: string;
|
|
@@ -21228,6 +22582,42 @@ export type Database = {
|
|
|
21228
22582
|
};
|
|
21229
22583
|
Relationships: [];
|
|
21230
22584
|
};
|
|
22585
|
+
uren_tijd_spiegel: {
|
|
22586
|
+
Row: {
|
|
22587
|
+
created_at: string;
|
|
22588
|
+
id: string;
|
|
22589
|
+
time_log_id: string;
|
|
22590
|
+
werkbon_time_log_id: string;
|
|
22591
|
+
};
|
|
22592
|
+
Insert: {
|
|
22593
|
+
created_at?: string;
|
|
22594
|
+
id?: string;
|
|
22595
|
+
time_log_id: string;
|
|
22596
|
+
werkbon_time_log_id: string;
|
|
22597
|
+
};
|
|
22598
|
+
Update: {
|
|
22599
|
+
created_at?: string;
|
|
22600
|
+
id?: string;
|
|
22601
|
+
time_log_id?: string;
|
|
22602
|
+
werkbon_time_log_id?: string;
|
|
22603
|
+
};
|
|
22604
|
+
Relationships: [
|
|
22605
|
+
{
|
|
22606
|
+
foreignKeyName: "uren_tijd_spiegel_time_log_id_fkey";
|
|
22607
|
+
columns: ["time_log_id"];
|
|
22608
|
+
isOneToOne: true;
|
|
22609
|
+
referencedRelation: "time_logs";
|
|
22610
|
+
referencedColumns: ["id"];
|
|
22611
|
+
},
|
|
22612
|
+
{
|
|
22613
|
+
foreignKeyName: "uren_tijd_spiegel_werkbon_time_log_id_fkey";
|
|
22614
|
+
columns: ["werkbon_time_log_id"];
|
|
22615
|
+
isOneToOne: true;
|
|
22616
|
+
referencedRelation: "werkbon_time_logs";
|
|
22617
|
+
referencedColumns: ["id"];
|
|
22618
|
+
}
|
|
22619
|
+
];
|
|
22620
|
+
};
|
|
21231
22621
|
uren_weekstaten: {
|
|
21232
22622
|
Row: {
|
|
21233
22623
|
approved_at: string | null;
|
|
@@ -21270,6 +22660,33 @@ export type Database = {
|
|
|
21270
22660
|
};
|
|
21271
22661
|
Relationships: [];
|
|
21272
22662
|
};
|
|
22663
|
+
uren_werktijd_voorkeuren: {
|
|
22664
|
+
Row: {
|
|
22665
|
+
created_at: string;
|
|
22666
|
+
eind_slot: number;
|
|
22667
|
+
id: string;
|
|
22668
|
+
monteur_id: string;
|
|
22669
|
+
start_slot: number;
|
|
22670
|
+
updated_at: string;
|
|
22671
|
+
};
|
|
22672
|
+
Insert: {
|
|
22673
|
+
created_at?: string;
|
|
22674
|
+
eind_slot?: number;
|
|
22675
|
+
id?: string;
|
|
22676
|
+
monteur_id: string;
|
|
22677
|
+
start_slot?: number;
|
|
22678
|
+
updated_at?: string;
|
|
22679
|
+
};
|
|
22680
|
+
Update: {
|
|
22681
|
+
created_at?: string;
|
|
22682
|
+
eind_slot?: number;
|
|
22683
|
+
id?: string;
|
|
22684
|
+
monteur_id?: string;
|
|
22685
|
+
start_slot?: number;
|
|
22686
|
+
updated_at?: string;
|
|
22687
|
+
};
|
|
22688
|
+
Relationships: [];
|
|
22689
|
+
};
|
|
21273
22690
|
user_module_permissions: {
|
|
21274
22691
|
Row: {
|
|
21275
22692
|
created_at: string;
|
|
@@ -21329,6 +22746,54 @@ export type Database = {
|
|
|
21329
22746
|
}
|
|
21330
22747
|
];
|
|
21331
22748
|
};
|
|
22749
|
+
vakantie_uitbetalingen: {
|
|
22750
|
+
Row: {
|
|
22751
|
+
created_at: string;
|
|
22752
|
+
created_by: string | null;
|
|
22753
|
+
days: number;
|
|
22754
|
+
id: string;
|
|
22755
|
+
note: string | null;
|
|
22756
|
+
updated_at: string;
|
|
22757
|
+
user_id: string;
|
|
22758
|
+
year: number;
|
|
22759
|
+
};
|
|
22760
|
+
Insert: {
|
|
22761
|
+
created_at?: string;
|
|
22762
|
+
created_by?: string | null;
|
|
22763
|
+
days: number;
|
|
22764
|
+
id?: string;
|
|
22765
|
+
note?: string | null;
|
|
22766
|
+
updated_at?: string;
|
|
22767
|
+
user_id: string;
|
|
22768
|
+
year?: number;
|
|
22769
|
+
};
|
|
22770
|
+
Update: {
|
|
22771
|
+
created_at?: string;
|
|
22772
|
+
created_by?: string | null;
|
|
22773
|
+
days?: number;
|
|
22774
|
+
id?: string;
|
|
22775
|
+
note?: string | null;
|
|
22776
|
+
updated_at?: string;
|
|
22777
|
+
user_id?: string;
|
|
22778
|
+
year?: number;
|
|
22779
|
+
};
|
|
22780
|
+
Relationships: [
|
|
22781
|
+
{
|
|
22782
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
22783
|
+
columns: ["created_by"];
|
|
22784
|
+
isOneToOne: false;
|
|
22785
|
+
referencedRelation: "profiles";
|
|
22786
|
+
referencedColumns: ["id"];
|
|
22787
|
+
},
|
|
22788
|
+
{
|
|
22789
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
22790
|
+
columns: ["user_id"];
|
|
22791
|
+
isOneToOne: false;
|
|
22792
|
+
referencedRelation: "profiles";
|
|
22793
|
+
referencedColumns: ["id"];
|
|
22794
|
+
}
|
|
22795
|
+
];
|
|
22796
|
+
};
|
|
21332
22797
|
van_inventories: {
|
|
21333
22798
|
Row: {
|
|
21334
22799
|
barcode: string | null;
|
|
@@ -22217,10 +23682,12 @@ export type Database = {
|
|
|
22217
23682
|
Row: {
|
|
22218
23683
|
article_number: string | null;
|
|
22219
23684
|
artikel_id: string | null;
|
|
23685
|
+
cost_price_cents: number;
|
|
22220
23686
|
created_at: string;
|
|
22221
23687
|
gtin: string | null;
|
|
22222
23688
|
id: string;
|
|
22223
23689
|
manufacturer: string | null;
|
|
23690
|
+
margin_percent: number | null;
|
|
22224
23691
|
omschrijving: string;
|
|
22225
23692
|
package_id: string;
|
|
22226
23693
|
price_synced_at: string | null;
|
|
@@ -22235,10 +23702,12 @@ export type Database = {
|
|
|
22235
23702
|
Insert: {
|
|
22236
23703
|
article_number?: string | null;
|
|
22237
23704
|
artikel_id?: string | null;
|
|
23705
|
+
cost_price_cents?: number;
|
|
22238
23706
|
created_at?: string;
|
|
22239
23707
|
gtin?: string | null;
|
|
22240
23708
|
id?: string;
|
|
22241
23709
|
manufacturer?: string | null;
|
|
23710
|
+
margin_percent?: number | null;
|
|
22242
23711
|
omschrijving: string;
|
|
22243
23712
|
package_id: string;
|
|
22244
23713
|
price_synced_at?: string | null;
|
|
@@ -22253,10 +23722,12 @@ export type Database = {
|
|
|
22253
23722
|
Update: {
|
|
22254
23723
|
article_number?: string | null;
|
|
22255
23724
|
artikel_id?: string | null;
|
|
23725
|
+
cost_price_cents?: number;
|
|
22256
23726
|
created_at?: string;
|
|
22257
23727
|
gtin?: string | null;
|
|
22258
23728
|
id?: string;
|
|
22259
23729
|
manufacturer?: string | null;
|
|
23730
|
+
margin_percent?: number | null;
|
|
22260
23731
|
omschrijving?: string;
|
|
22261
23732
|
package_id?: string;
|
|
22262
23733
|
price_synced_at?: string | null;
|
|
@@ -22346,7 +23817,7 @@ export type Database = {
|
|
|
22346
23817
|
created_at: string;
|
|
22347
23818
|
default_quantity: number;
|
|
22348
23819
|
description: string | null;
|
|
22349
|
-
duration_minutes: number
|
|
23820
|
+
duration_minutes: number;
|
|
22350
23821
|
id: string;
|
|
22351
23822
|
mandaat_type: string | null;
|
|
22352
23823
|
name: string;
|
|
@@ -22363,7 +23834,7 @@ export type Database = {
|
|
|
22363
23834
|
created_at?: string;
|
|
22364
23835
|
default_quantity?: number;
|
|
22365
23836
|
description?: string | null;
|
|
22366
|
-
duration_minutes?: number
|
|
23837
|
+
duration_minutes?: number;
|
|
22367
23838
|
id?: string;
|
|
22368
23839
|
mandaat_type?: string | null;
|
|
22369
23840
|
name: string;
|
|
@@ -22380,7 +23851,7 @@ export type Database = {
|
|
|
22380
23851
|
created_at?: string;
|
|
22381
23852
|
default_quantity?: number;
|
|
22382
23853
|
description?: string | null;
|
|
22383
|
-
duration_minutes?: number
|
|
23854
|
+
duration_minutes?: number;
|
|
22384
23855
|
id?: string;
|
|
22385
23856
|
mandaat_type?: string | null;
|
|
22386
23857
|
name?: string;
|
|
@@ -22638,6 +24109,83 @@ export type Database = {
|
|
|
22638
24109
|
}
|
|
22639
24110
|
];
|
|
22640
24111
|
};
|
|
24112
|
+
werkbon_voorstellen: {
|
|
24113
|
+
Row: {
|
|
24114
|
+
bron_werkbon_id: string;
|
|
24115
|
+
budget_mandate_cents: number;
|
|
24116
|
+
created_at: string;
|
|
24117
|
+
created_by: string;
|
|
24118
|
+
customer_id: string | null;
|
|
24119
|
+
id: string;
|
|
24120
|
+
payload: Json;
|
|
24121
|
+
reden: string | null;
|
|
24122
|
+
status: string;
|
|
24123
|
+
updated_at: string;
|
|
24124
|
+
verwerkt_door: string | null;
|
|
24125
|
+
verwerkt_op: string | null;
|
|
24126
|
+
werkbon_id: string | null;
|
|
24127
|
+
};
|
|
24128
|
+
Insert: {
|
|
24129
|
+
bron_werkbon_id: string;
|
|
24130
|
+
budget_mandate_cents?: number;
|
|
24131
|
+
created_at?: string;
|
|
24132
|
+
created_by?: string;
|
|
24133
|
+
customer_id?: string | null;
|
|
24134
|
+
id?: string;
|
|
24135
|
+
payload?: Json;
|
|
24136
|
+
reden?: string | null;
|
|
24137
|
+
status?: string;
|
|
24138
|
+
updated_at?: string;
|
|
24139
|
+
verwerkt_door?: string | null;
|
|
24140
|
+
verwerkt_op?: string | null;
|
|
24141
|
+
werkbon_id?: string | null;
|
|
24142
|
+
};
|
|
24143
|
+
Update: {
|
|
24144
|
+
bron_werkbon_id?: string;
|
|
24145
|
+
budget_mandate_cents?: number;
|
|
24146
|
+
created_at?: string;
|
|
24147
|
+
created_by?: string;
|
|
24148
|
+
customer_id?: string | null;
|
|
24149
|
+
id?: string;
|
|
24150
|
+
payload?: Json;
|
|
24151
|
+
reden?: string | null;
|
|
24152
|
+
status?: string;
|
|
24153
|
+
updated_at?: string;
|
|
24154
|
+
verwerkt_door?: string | null;
|
|
24155
|
+
verwerkt_op?: string | null;
|
|
24156
|
+
werkbon_id?: string | null;
|
|
24157
|
+
};
|
|
24158
|
+
Relationships: [
|
|
24159
|
+
{
|
|
24160
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
24161
|
+
columns: ["bron_werkbon_id"];
|
|
24162
|
+
isOneToOne: false;
|
|
24163
|
+
referencedRelation: "werkbonnen";
|
|
24164
|
+
referencedColumns: ["id"];
|
|
24165
|
+
},
|
|
24166
|
+
{
|
|
24167
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
24168
|
+
columns: ["bron_werkbon_id"];
|
|
24169
|
+
isOneToOne: false;
|
|
24170
|
+
referencedRelation: "wo_overview";
|
|
24171
|
+
referencedColumns: ["id"];
|
|
24172
|
+
},
|
|
24173
|
+
{
|
|
24174
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
24175
|
+
columns: ["werkbon_id"];
|
|
24176
|
+
isOneToOne: false;
|
|
24177
|
+
referencedRelation: "werkbonnen";
|
|
24178
|
+
referencedColumns: ["id"];
|
|
24179
|
+
},
|
|
24180
|
+
{
|
|
24181
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
24182
|
+
columns: ["werkbon_id"];
|
|
24183
|
+
isOneToOne: false;
|
|
24184
|
+
referencedRelation: "wo_overview";
|
|
24185
|
+
referencedColumns: ["id"];
|
|
24186
|
+
}
|
|
24187
|
+
];
|
|
24188
|
+
};
|
|
22641
24189
|
werkbonnen: {
|
|
22642
24190
|
Row: {
|
|
22643
24191
|
assigned_user_id: string | null;
|
|
@@ -23257,12 +24805,27 @@ export type Database = {
|
|
|
23257
24805
|
};
|
|
23258
24806
|
Relationships: [];
|
|
23259
24807
|
};
|
|
23260
|
-
|
|
24808
|
+
logistics_packing_diff: {
|
|
23261
24809
|
Row: {
|
|
23262
|
-
|
|
23263
|
-
|
|
23264
|
-
|
|
23265
|
-
|
|
24810
|
+
dev_key: string | null;
|
|
24811
|
+
floriday_packing: Json | null;
|
|
24812
|
+
local_packing: Json | null;
|
|
24813
|
+
order_id: string | null;
|
|
24814
|
+
order_item_id: string | null;
|
|
24815
|
+
order_number: string | null;
|
|
24816
|
+
product_id: string | null;
|
|
24817
|
+
product_name: string | null;
|
|
24818
|
+
scope: string | null;
|
|
24819
|
+
trade_item_id: string | null;
|
|
24820
|
+
};
|
|
24821
|
+
Relationships: [];
|
|
24822
|
+
};
|
|
24823
|
+
logistics_product_dimensions: {
|
|
24824
|
+
Row: {
|
|
24825
|
+
dimension_source: string | null;
|
|
24826
|
+
fust_height_mm: number | null;
|
|
24827
|
+
fust_length_mm: number | null;
|
|
24828
|
+
fust_name: string | null;
|
|
23266
24829
|
fust_source: string | null;
|
|
23267
24830
|
fust_type_id: string | null;
|
|
23268
24831
|
fust_width_mm: number | null;
|
|
@@ -23901,6 +25464,10 @@ export type Database = {
|
|
|
23901
25464
|
};
|
|
23902
25465
|
Returns: undefined;
|
|
23903
25466
|
};
|
|
25467
|
+
_wo_is_planner: {
|
|
25468
|
+
Args: never;
|
|
25469
|
+
Returns: boolean;
|
|
25470
|
+
};
|
|
23904
25471
|
afh_city_code: {
|
|
23905
25472
|
Args: {
|
|
23906
25473
|
_city: string;
|
|
@@ -24511,10 +26078,32 @@ export type Database = {
|
|
|
24511
26078
|
};
|
|
24512
26079
|
Returns: number;
|
|
24513
26080
|
};
|
|
26081
|
+
control_mark_carts_delivered_detail: {
|
|
26082
|
+
Args: {
|
|
26083
|
+
p_carts: Json;
|
|
26084
|
+
};
|
|
26085
|
+
Returns: {
|
|
26086
|
+
cart_index: number;
|
|
26087
|
+
frozen: boolean;
|
|
26088
|
+
message: string;
|
|
26089
|
+
order_id: string;
|
|
26090
|
+
order_source: string;
|
|
26091
|
+
outcome: string;
|
|
26092
|
+
}[];
|
|
26093
|
+
};
|
|
24514
26094
|
count_distinct_regulatory_products: {
|
|
24515
26095
|
Args: never;
|
|
24516
26096
|
Returns: number;
|
|
24517
26097
|
};
|
|
26098
|
+
create_order_from_public_offer: {
|
|
26099
|
+
Args: {
|
|
26100
|
+
p_carrier_id?: string;
|
|
26101
|
+
p_delivery_date?: string;
|
|
26102
|
+
p_delivery_garden_id?: string;
|
|
26103
|
+
p_offer_order_id: string;
|
|
26104
|
+
};
|
|
26105
|
+
Returns: Json;
|
|
26106
|
+
};
|
|
24518
26107
|
current_monteur_id: {
|
|
24519
26108
|
Args: never;
|
|
24520
26109
|
Returns: string;
|
|
@@ -24991,6 +26580,22 @@ export type Database = {
|
|
|
24991
26580
|
};
|
|
24992
26581
|
Returns: number;
|
|
24993
26582
|
};
|
|
26583
|
+
get_product_stock: {
|
|
26584
|
+
Args: {
|
|
26585
|
+
p_product_id: string;
|
|
26586
|
+
};
|
|
26587
|
+
Returns: {
|
|
26588
|
+
connection_id: string;
|
|
26589
|
+
incoming_stock: number;
|
|
26590
|
+
minimum_stock: number;
|
|
26591
|
+
notes: string;
|
|
26592
|
+
physical_stock: number;
|
|
26593
|
+
product_id: string;
|
|
26594
|
+
reserved_stock: number;
|
|
26595
|
+
trade_item_key: string;
|
|
26596
|
+
updated_at: string;
|
|
26597
|
+
}[];
|
|
26598
|
+
};
|
|
24994
26599
|
get_room_busy_windows: {
|
|
24995
26600
|
Args: {
|
|
24996
26601
|
p_from: string;
|
|
@@ -25295,13 +26900,66 @@ export type Database = {
|
|
|
25295
26900
|
};
|
|
25296
26901
|
Returns: Json;
|
|
25297
26902
|
};
|
|
26903
|
+
inkoop_cancel_line: {
|
|
26904
|
+
Args: {
|
|
26905
|
+
_item_id: string;
|
|
26906
|
+
_reason: string;
|
|
26907
|
+
};
|
|
26908
|
+
Returns: string;
|
|
26909
|
+
};
|
|
26910
|
+
inkoop_get_supplier_request: {
|
|
26911
|
+
Args: {
|
|
26912
|
+
_token: string;
|
|
26913
|
+
};
|
|
26914
|
+
Returns: Json;
|
|
26915
|
+
};
|
|
26916
|
+
inkoop_hash_token: {
|
|
26917
|
+
Args: {
|
|
26918
|
+
_token: string;
|
|
26919
|
+
};
|
|
26920
|
+
Returns: string;
|
|
26921
|
+
};
|
|
26922
|
+
inkoop_html_escape: {
|
|
26923
|
+
Args: {
|
|
26924
|
+
_t: string;
|
|
26925
|
+
};
|
|
26926
|
+
Returns: string;
|
|
26927
|
+
};
|
|
26928
|
+
inkoop_list_artikelen: {
|
|
26929
|
+
Args: never;
|
|
26930
|
+
Returns: {
|
|
26931
|
+
article_number: string;
|
|
26932
|
+
barcode: string;
|
|
26933
|
+
id: string;
|
|
26934
|
+
incoming_quantity: number;
|
|
26935
|
+
is_layer: boolean;
|
|
26936
|
+
location: string;
|
|
26937
|
+
min_quantity: number;
|
|
26938
|
+
preferred_supplier_name: string;
|
|
26939
|
+
product: string;
|
|
26940
|
+
product_type: string;
|
|
26941
|
+
purchase_price: number;
|
|
26942
|
+
quantity: number;
|
|
26943
|
+
sale_price: number;
|
|
26944
|
+
supplier_count: number;
|
|
26945
|
+
unit: string;
|
|
26946
|
+
}[];
|
|
26947
|
+
};
|
|
25298
26948
|
inkoop_next_order_number: {
|
|
25299
26949
|
Args: never;
|
|
25300
26950
|
Returns: string;
|
|
25301
26951
|
};
|
|
26952
|
+
inkoop_process_request: {
|
|
26953
|
+
Args: {
|
|
26954
|
+
_request_id: string;
|
|
26955
|
+
};
|
|
26956
|
+
Returns: undefined;
|
|
26957
|
+
};
|
|
25302
26958
|
inkoop_send_order: {
|
|
25303
26959
|
Args: {
|
|
26960
|
+
_base_url?: string;
|
|
25304
26961
|
_order_id: string;
|
|
26962
|
+
_resend?: boolean;
|
|
25305
26963
|
};
|
|
25306
26964
|
Returns: {
|
|
25307
26965
|
outbox_id: string;
|
|
@@ -25309,6 +26967,33 @@ export type Database = {
|
|
|
25309
26967
|
to_address: string;
|
|
25310
26968
|
}[];
|
|
25311
26969
|
};
|
|
26970
|
+
inkoop_set_preferred_supplier: {
|
|
26971
|
+
Args: {
|
|
26972
|
+
_product_id: string;
|
|
26973
|
+
_supplier_id: string;
|
|
26974
|
+
};
|
|
26975
|
+
Returns: undefined;
|
|
26976
|
+
};
|
|
26977
|
+
inkoop_stock_key: {
|
|
26978
|
+
Args: {
|
|
26979
|
+
p_product_id: string;
|
|
26980
|
+
};
|
|
26981
|
+
Returns: string;
|
|
26982
|
+
};
|
|
26983
|
+
inkoop_submit_supplier_response: {
|
|
26984
|
+
Args: {
|
|
26985
|
+
_lines: Json;
|
|
26986
|
+
_note?: string;
|
|
26987
|
+
_token: string;
|
|
26988
|
+
};
|
|
26989
|
+
Returns: Json;
|
|
26990
|
+
};
|
|
26991
|
+
inkoop_sync_item_stock: {
|
|
26992
|
+
Args: {
|
|
26993
|
+
p_item_id: string;
|
|
26994
|
+
};
|
|
26995
|
+
Returns: undefined;
|
|
26996
|
+
};
|
|
25312
26997
|
instructie_get: {
|
|
25313
26998
|
Args: {
|
|
25314
26999
|
_sleutel: string;
|
|
@@ -25328,6 +27013,10 @@ export type Database = {
|
|
|
25328
27013
|
};
|
|
25329
27014
|
Returns: number;
|
|
25330
27015
|
};
|
|
27016
|
+
invoice_branding_snapshot: {
|
|
27017
|
+
Args: never;
|
|
27018
|
+
Returns: Json;
|
|
27019
|
+
};
|
|
25331
27020
|
invoice_create_from_source: {
|
|
25332
27021
|
Args: {
|
|
25333
27022
|
_payload?: Json;
|
|
@@ -25362,12 +27051,41 @@ export type Database = {
|
|
|
25362
27051
|
};
|
|
25363
27052
|
Returns: Json;
|
|
25364
27053
|
};
|
|
27054
|
+
invoice_mark_sent: {
|
|
27055
|
+
Args: {
|
|
27056
|
+
_invoice_id: string;
|
|
27057
|
+
_to: string;
|
|
27058
|
+
};
|
|
27059
|
+
Returns: undefined;
|
|
27060
|
+
};
|
|
27061
|
+
invoice_peek_next_number: {
|
|
27062
|
+
Args: never;
|
|
27063
|
+
Returns: string;
|
|
27064
|
+
};
|
|
27065
|
+
invoice_ready_work_orders: {
|
|
27066
|
+
Args: {
|
|
27067
|
+
_limit?: number;
|
|
27068
|
+
};
|
|
27069
|
+
Returns: Json;
|
|
27070
|
+
};
|
|
25365
27071
|
invoice_recalc_totals: {
|
|
25366
27072
|
Args: {
|
|
25367
27073
|
_invoice_id: string;
|
|
25368
27074
|
};
|
|
25369
27075
|
Returns: Json;
|
|
25370
27076
|
};
|
|
27077
|
+
invoice_save_branding_settings: {
|
|
27078
|
+
Args: {
|
|
27079
|
+
_payload: Json;
|
|
27080
|
+
};
|
|
27081
|
+
Returns: Json;
|
|
27082
|
+
};
|
|
27083
|
+
invoice_set_email_purpose: {
|
|
27084
|
+
Args: {
|
|
27085
|
+
_purpose: string;
|
|
27086
|
+
};
|
|
27087
|
+
Returns: string;
|
|
27088
|
+
};
|
|
25371
27089
|
invoice_source_lines: {
|
|
25372
27090
|
Args: {
|
|
25373
27091
|
_source_id: string;
|
|
@@ -25375,6 +27093,19 @@ export type Database = {
|
|
|
25375
27093
|
};
|
|
25376
27094
|
Returns: Json;
|
|
25377
27095
|
};
|
|
27096
|
+
invoice_update_full: {
|
|
27097
|
+
Args: {
|
|
27098
|
+
_invoice_id: string;
|
|
27099
|
+
_payload: Json;
|
|
27100
|
+
};
|
|
27101
|
+
Returns: Json;
|
|
27102
|
+
};
|
|
27103
|
+
invoice_work_order_locked: {
|
|
27104
|
+
Args: {
|
|
27105
|
+
_werkbon_id: string;
|
|
27106
|
+
};
|
|
27107
|
+
Returns: Json;
|
|
27108
|
+
};
|
|
25378
27109
|
is_authenticated: {
|
|
25379
27110
|
Args: never;
|
|
25380
27111
|
Returns: boolean;
|
|
@@ -25423,6 +27154,27 @@ export type Database = {
|
|
|
25423
27154
|
};
|
|
25424
27155
|
Returns: boolean;
|
|
25425
27156
|
};
|
|
27157
|
+
layout_print_document: {
|
|
27158
|
+
Args: {
|
|
27159
|
+
_documentnaam: string;
|
|
27160
|
+
_documenttype: string;
|
|
27161
|
+
_herkomst?: string;
|
|
27162
|
+
_idempotentie_sleutel?: string;
|
|
27163
|
+
_is_herprint?: boolean;
|
|
27164
|
+
_kopieen?: number;
|
|
27165
|
+
_layout_id?: string;
|
|
27166
|
+
_payload?: Json;
|
|
27167
|
+
_pdf_base64?: string;
|
|
27168
|
+
_pdf_url?: string;
|
|
27169
|
+
_print_plek_id?: string;
|
|
27170
|
+
_werkplek?: string;
|
|
27171
|
+
};
|
|
27172
|
+
Returns: {
|
|
27173
|
+
bestaand: boolean;
|
|
27174
|
+
job_id: string;
|
|
27175
|
+
printer_id: string;
|
|
27176
|
+
}[];
|
|
27177
|
+
};
|
|
25426
27178
|
list_medewerkers: {
|
|
25427
27179
|
Args: never;
|
|
25428
27180
|
Returns: {
|
|
@@ -25607,6 +27359,14 @@ export type Database = {
|
|
|
25607
27359
|
};
|
|
25608
27360
|
Returns: Json;
|
|
25609
27361
|
};
|
|
27362
|
+
logistics_buffer_decision_for_settings: {
|
|
27363
|
+
Args: {
|
|
27364
|
+
p_order: Json;
|
|
27365
|
+
p_settings: Json;
|
|
27366
|
+
p_user_id?: string;
|
|
27367
|
+
};
|
|
27368
|
+
Returns: Json;
|
|
27369
|
+
};
|
|
25610
27370
|
logistics_buffer_detach_late_orders: {
|
|
25611
27371
|
Args: {
|
|
25612
27372
|
p_buffer?: string;
|
|
@@ -25640,6 +27400,12 @@ export type Database = {
|
|
|
25640
27400
|
};
|
|
25641
27401
|
Returns: string;
|
|
25642
27402
|
};
|
|
27403
|
+
logistics_buffer_payload: {
|
|
27404
|
+
Args: {
|
|
27405
|
+
p_order_id: string;
|
|
27406
|
+
};
|
|
27407
|
+
Returns: Json;
|
|
27408
|
+
};
|
|
25643
27409
|
logistics_buffer_simulate: {
|
|
25644
27410
|
Args: {
|
|
25645
27411
|
p_orders?: Json;
|
|
@@ -25686,6 +27452,12 @@ export type Database = {
|
|
|
25686
27452
|
};
|
|
25687
27453
|
Returns: number;
|
|
25688
27454
|
};
|
|
27455
|
+
logistics_cart_barcode_opschonen: {
|
|
27456
|
+
Args: {
|
|
27457
|
+
p_portie?: number;
|
|
27458
|
+
};
|
|
27459
|
+
Returns: Json;
|
|
27460
|
+
};
|
|
25689
27461
|
logistics_cart_barcode_value: {
|
|
25690
27462
|
Args: {
|
|
25691
27463
|
_cart_id: string;
|
|
@@ -25698,6 +27470,10 @@ export type Database = {
|
|
|
25698
27470
|
};
|
|
25699
27471
|
Returns: string;
|
|
25700
27472
|
};
|
|
27473
|
+
logistics_cart_coverage_check: {
|
|
27474
|
+
Args: never;
|
|
27475
|
+
Returns: Json;
|
|
27476
|
+
};
|
|
25701
27477
|
logistics_cart_handled: {
|
|
25702
27478
|
Args: {
|
|
25703
27479
|
p_cart_index: number;
|
|
@@ -25941,6 +27717,19 @@ export type Database = {
|
|
|
25941
27717
|
isSetofReturn: false;
|
|
25942
27718
|
};
|
|
25943
27719
|
};
|
|
27720
|
+
logistics_cleanup_duplicate_order_lines: {
|
|
27721
|
+
Args: {
|
|
27722
|
+
p_limit?: number;
|
|
27723
|
+
p_order_id: string;
|
|
27724
|
+
};
|
|
27725
|
+
Returns: Json;
|
|
27726
|
+
};
|
|
27727
|
+
logistics_cleanup_history: {
|
|
27728
|
+
Args: {
|
|
27729
|
+
p_limit?: number;
|
|
27730
|
+
};
|
|
27731
|
+
Returns: Json;
|
|
27732
|
+
};
|
|
25944
27733
|
logistics_cleanup_orphan_print_jobs: {
|
|
25945
27734
|
Args: never;
|
|
25946
27735
|
Returns: Json;
|
|
@@ -26088,6 +27877,13 @@ export type Database = {
|
|
|
26088
27877
|
};
|
|
26089
27878
|
Returns: Json;
|
|
26090
27879
|
};
|
|
27880
|
+
logistics_control_scan_print_own: {
|
|
27881
|
+
Args: {
|
|
27882
|
+
p_is_herprint?: boolean;
|
|
27883
|
+
p_scan_id: string;
|
|
27884
|
+
};
|
|
27885
|
+
Returns: Json;
|
|
27886
|
+
};
|
|
26091
27887
|
logistics_control_scan_retry: {
|
|
26092
27888
|
Args: {
|
|
26093
27889
|
_id: string;
|
|
@@ -26098,6 +27894,10 @@ export type Database = {
|
|
|
26098
27894
|
Args: never;
|
|
26099
27895
|
Returns: Json;
|
|
26100
27896
|
};
|
|
27897
|
+
logistics_cron_health: {
|
|
27898
|
+
Args: never;
|
|
27899
|
+
Returns: Json;
|
|
27900
|
+
};
|
|
26101
27901
|
logistics_day_windows: {
|
|
26102
27902
|
Args: {
|
|
26103
27903
|
p_day: string;
|
|
@@ -26447,6 +28247,12 @@ export type Database = {
|
|
|
26447
28247
|
};
|
|
26448
28248
|
Returns: number;
|
|
26449
28249
|
};
|
|
28250
|
+
logistics_merge_decision: {
|
|
28251
|
+
Args: {
|
|
28252
|
+
p_lines: Json;
|
|
28253
|
+
};
|
|
28254
|
+
Returns: Json;
|
|
28255
|
+
};
|
|
26450
28256
|
logistics_merge_floriday_lines: {
|
|
26451
28257
|
Args: {
|
|
26452
28258
|
p_order_id: string;
|
|
@@ -26493,6 +28299,12 @@ export type Database = {
|
|
|
26493
28299
|
Args: never;
|
|
26494
28300
|
Returns: string;
|
|
26495
28301
|
};
|
|
28302
|
+
logistics_order_backlog_info: {
|
|
28303
|
+
Args: {
|
|
28304
|
+
p_order_id: string;
|
|
28305
|
+
};
|
|
28306
|
+
Returns: Json;
|
|
28307
|
+
};
|
|
26496
28308
|
logistics_order_cart_approval: {
|
|
26497
28309
|
Args: {
|
|
26498
28310
|
_order_ref: string;
|
|
@@ -26527,6 +28339,50 @@ export type Database = {
|
|
|
26527
28339
|
};
|
|
26528
28340
|
Returns: boolean;
|
|
26529
28341
|
};
|
|
28342
|
+
logistics_order_finalize_enqueue: {
|
|
28343
|
+
Args: {
|
|
28344
|
+
p_order_id: string;
|
|
28345
|
+
p_reason?: string;
|
|
28346
|
+
};
|
|
28347
|
+
Returns: undefined;
|
|
28348
|
+
};
|
|
28349
|
+
logistics_order_finalize_overview: {
|
|
28350
|
+
Args: never;
|
|
28351
|
+
Returns: {
|
|
28352
|
+
bezig: number;
|
|
28353
|
+
laatst_afgerond: string;
|
|
28354
|
+
laatste_fout: string;
|
|
28355
|
+
mislukt: number;
|
|
28356
|
+
oudste_wachttijd_seconden: number;
|
|
28357
|
+
wachtend: number;
|
|
28358
|
+
}[];
|
|
28359
|
+
};
|
|
28360
|
+
logistics_order_finalize_prune: {
|
|
28361
|
+
Args: {
|
|
28362
|
+
p_days?: number;
|
|
28363
|
+
};
|
|
28364
|
+
Returns: number;
|
|
28365
|
+
};
|
|
28366
|
+
logistics_order_finalize_reconcile: {
|
|
28367
|
+
Args: {
|
|
28368
|
+
p_days?: number;
|
|
28369
|
+
p_limit?: number;
|
|
28370
|
+
};
|
|
28371
|
+
Returns: number;
|
|
28372
|
+
};
|
|
28373
|
+
logistics_order_finalize_retry: {
|
|
28374
|
+
Args: {
|
|
28375
|
+
p_order_id: string;
|
|
28376
|
+
};
|
|
28377
|
+
Returns: boolean;
|
|
28378
|
+
};
|
|
28379
|
+
logistics_order_finalize_run: {
|
|
28380
|
+
Args: {
|
|
28381
|
+
p_lease_seconds?: number;
|
|
28382
|
+
p_limit?: number;
|
|
28383
|
+
};
|
|
28384
|
+
Returns: number;
|
|
28385
|
+
};
|
|
26530
28386
|
logistics_order_frozen: {
|
|
26531
28387
|
Args: {
|
|
26532
28388
|
p_order_id: string;
|
|
@@ -26539,6 +28395,12 @@ export type Database = {
|
|
|
26539
28395
|
};
|
|
26540
28396
|
Returns: boolean;
|
|
26541
28397
|
};
|
|
28398
|
+
logistics_order_is_backlog: {
|
|
28399
|
+
Args: {
|
|
28400
|
+
p_order_id: string;
|
|
28401
|
+
};
|
|
28402
|
+
Returns: boolean;
|
|
28403
|
+
};
|
|
26542
28404
|
logistics_order_is_topick: {
|
|
26543
28405
|
Args: {
|
|
26544
28406
|
p_order_id: string;
|
|
@@ -26546,6 +28408,12 @@ export type Database = {
|
|
|
26546
28408
|
};
|
|
26547
28409
|
Returns: boolean;
|
|
26548
28410
|
};
|
|
28411
|
+
logistics_order_line_duplicates: {
|
|
28412
|
+
Args: {
|
|
28413
|
+
p_order_id: string;
|
|
28414
|
+
};
|
|
28415
|
+
Returns: Json;
|
|
28416
|
+
};
|
|
26549
28417
|
logistics_order_merge_key: {
|
|
26550
28418
|
Args: {
|
|
26551
28419
|
p_group_key: string;
|
|
@@ -26589,22 +28457,79 @@ export type Database = {
|
|
|
26589
28457
|
};
|
|
26590
28458
|
Returns: boolean;
|
|
26591
28459
|
};
|
|
26592
|
-
|
|
28460
|
+
logistics_packing_autofix: {
|
|
26593
28461
|
Args: {
|
|
26594
|
-
|
|
28462
|
+
p_limit?: number;
|
|
26595
28463
|
};
|
|
26596
|
-
Returns:
|
|
28464
|
+
Returns: number;
|
|
26597
28465
|
};
|
|
26598
|
-
|
|
28466
|
+
logistics_packing_block_reason: {
|
|
26599
28467
|
Args: {
|
|
26600
|
-
|
|
28468
|
+
p_order_id: string;
|
|
28469
|
+
p_order_item_id: string;
|
|
26601
28470
|
};
|
|
26602
|
-
Returns:
|
|
28471
|
+
Returns: string;
|
|
26603
28472
|
};
|
|
26604
|
-
|
|
28473
|
+
logistics_packing_dismiss: {
|
|
26605
28474
|
Args: {
|
|
26606
|
-
|
|
26607
|
-
|
|
28475
|
+
p_id: string;
|
|
28476
|
+
p_note?: string;
|
|
28477
|
+
};
|
|
28478
|
+
Returns: boolean;
|
|
28479
|
+
};
|
|
28480
|
+
logistics_packing_overview: {
|
|
28481
|
+
Args: never;
|
|
28482
|
+
Returns: {
|
|
28483
|
+
beoordelen: number;
|
|
28484
|
+
herstelbaar: number;
|
|
28485
|
+
laatst_gemeten: string;
|
|
28486
|
+
laatst_hersteld: string;
|
|
28487
|
+
open_totaal: number;
|
|
28488
|
+
orders: number;
|
|
28489
|
+
oudste_seconden: number;
|
|
28490
|
+
producten: number;
|
|
28491
|
+
}[];
|
|
28492
|
+
};
|
|
28493
|
+
logistics_packing_reconcile: {
|
|
28494
|
+
Args: {
|
|
28495
|
+
p_fix_limit?: number;
|
|
28496
|
+
p_scan_limit?: number;
|
|
28497
|
+
};
|
|
28498
|
+
Returns: {
|
|
28499
|
+
beoordelen: number;
|
|
28500
|
+
gevonden: number;
|
|
28501
|
+
hersteld: number;
|
|
28502
|
+
}[];
|
|
28503
|
+
};
|
|
28504
|
+
logistics_packing_scan: {
|
|
28505
|
+
Args: {
|
|
28506
|
+
p_limit?: number;
|
|
28507
|
+
};
|
|
28508
|
+
Returns: number;
|
|
28509
|
+
};
|
|
28510
|
+
logistics_packing_set_manual: {
|
|
28511
|
+
Args: {
|
|
28512
|
+
p_manual?: boolean;
|
|
28513
|
+
p_order_item_id: string;
|
|
28514
|
+
};
|
|
28515
|
+
Returns: boolean;
|
|
28516
|
+
};
|
|
28517
|
+
logistics_parse_pickup: {
|
|
28518
|
+
Args: {
|
|
28519
|
+
p_value: string;
|
|
28520
|
+
};
|
|
28521
|
+
Returns: string;
|
|
28522
|
+
};
|
|
28523
|
+
logistics_payload_is_floriday: {
|
|
28524
|
+
Args: {
|
|
28525
|
+
_payload: Json;
|
|
28526
|
+
};
|
|
28527
|
+
Returns: boolean;
|
|
28528
|
+
};
|
|
28529
|
+
logistics_pick_agenda: {
|
|
28530
|
+
Args: {
|
|
28531
|
+
p_from?: string;
|
|
28532
|
+
p_to?: string;
|
|
26608
28533
|
};
|
|
26609
28534
|
Returns: {
|
|
26610
28535
|
cart_count: number;
|
|
@@ -26617,6 +28542,10 @@ export type Database = {
|
|
|
26617
28542
|
shifted_count: number;
|
|
26618
28543
|
}[];
|
|
26619
28544
|
};
|
|
28545
|
+
logistics_pick_backlog_max_days: {
|
|
28546
|
+
Args: never;
|
|
28547
|
+
Returns: number;
|
|
28548
|
+
};
|
|
26620
28549
|
logistics_pick_barcode_enabled: {
|
|
26621
28550
|
Args: never;
|
|
26622
28551
|
Returns: boolean;
|
|
@@ -26838,16 +28767,52 @@ export type Database = {
|
|
|
26838
28767
|
Args: never;
|
|
26839
28768
|
Returns: number;
|
|
26840
28769
|
};
|
|
28770
|
+
logistics_planner_cart_snapshot: {
|
|
28771
|
+
Args: {
|
|
28772
|
+
p_buffer_id: string;
|
|
28773
|
+
p_order_id: string;
|
|
28774
|
+
};
|
|
28775
|
+
Returns: Json;
|
|
28776
|
+
};
|
|
28777
|
+
logistics_planner_diff_mode: {
|
|
28778
|
+
Args: never;
|
|
28779
|
+
Returns: string;
|
|
28780
|
+
};
|
|
28781
|
+
logistics_planner_diff_prune: {
|
|
28782
|
+
Args: never;
|
|
28783
|
+
Returns: number;
|
|
28784
|
+
};
|
|
26841
28785
|
logistics_prepare_pick_documents: {
|
|
26842
28786
|
Args: {
|
|
26843
28787
|
p_limit?: number;
|
|
26844
28788
|
};
|
|
26845
28789
|
Returns: Json;
|
|
26846
28790
|
};
|
|
28791
|
+
logistics_print_via_layout: {
|
|
28792
|
+
Args: {
|
|
28793
|
+
_documentnaam: string;
|
|
28794
|
+
_documenttype: string;
|
|
28795
|
+
_herkomst: string;
|
|
28796
|
+
_idempotentie_sleutel: string;
|
|
28797
|
+
_is_herprint: boolean;
|
|
28798
|
+
_layout_id: string;
|
|
28799
|
+
_payload: Json;
|
|
28800
|
+
_pdf_base64: string;
|
|
28801
|
+
_pdf_url: string;
|
|
28802
|
+
_print_plek_id: string;
|
|
28803
|
+
};
|
|
28804
|
+
Returns: Json;
|
|
28805
|
+
};
|
|
26847
28806
|
logistics_prune_buffer_member_queue: {
|
|
26848
28807
|
Args: never;
|
|
26849
28808
|
Returns: number;
|
|
26850
28809
|
};
|
|
28810
|
+
logistics_prune_cron_history: {
|
|
28811
|
+
Args: {
|
|
28812
|
+
p_days?: number;
|
|
28813
|
+
};
|
|
28814
|
+
Returns: number;
|
|
28815
|
+
};
|
|
26851
28816
|
logistics_prune_handled_pick_queue: {
|
|
26852
28817
|
Args: never;
|
|
26853
28818
|
Returns: number;
|
|
@@ -26884,6 +28849,14 @@ export type Database = {
|
|
|
26884
28849
|
Args: never;
|
|
26885
28850
|
Returns: Json;
|
|
26886
28851
|
};
|
|
28852
|
+
logistics_recalc_tick_kick: {
|
|
28853
|
+
Args: never;
|
|
28854
|
+
Returns: number;
|
|
28855
|
+
};
|
|
28856
|
+
logistics_reconcile_missing_plan_queue: {
|
|
28857
|
+
Args: never;
|
|
28858
|
+
Returns: number;
|
|
28859
|
+
};
|
|
26887
28860
|
logistics_refresh_pick_queue_status: {
|
|
26888
28861
|
Args: {
|
|
26889
28862
|
p_ref: string;
|
|
@@ -26914,11 +28887,24 @@ export type Database = {
|
|
|
26914
28887
|
};
|
|
26915
28888
|
Returns: Json;
|
|
26916
28889
|
};
|
|
28890
|
+
logistics_replan_clear_foreign_cart_items: {
|
|
28891
|
+
Args: {
|
|
28892
|
+
p_order_id: string;
|
|
28893
|
+
p_reason: string;
|
|
28894
|
+
};
|
|
28895
|
+
Returns: Json;
|
|
28896
|
+
};
|
|
26917
28897
|
logistics_replan_order_journey: {
|
|
26918
28898
|
Args: {
|
|
26919
28899
|
p_order_ref: string;
|
|
26920
28900
|
};
|
|
26921
28901
|
Returns: Json;
|
|
28902
|
+
} | {
|
|
28903
|
+
Args: {
|
|
28904
|
+
p_order_ref: string;
|
|
28905
|
+
p_reason: string;
|
|
28906
|
+
};
|
|
28907
|
+
Returns: Json;
|
|
26922
28908
|
};
|
|
26923
28909
|
logistics_report_delay: {
|
|
26924
28910
|
Args: {
|
|
@@ -26964,6 +28950,10 @@ export type Database = {
|
|
|
26964
28950
|
};
|
|
26965
28951
|
Returns: Json;
|
|
26966
28952
|
};
|
|
28953
|
+
logistics_reserved_stock_nightly: {
|
|
28954
|
+
Args: never;
|
|
28955
|
+
Returns: undefined;
|
|
28956
|
+
};
|
|
26967
28957
|
logistics_resolve_pick_document: {
|
|
26968
28958
|
Args: {
|
|
26969
28959
|
_is_herprint: boolean;
|
|
@@ -26987,6 +28977,12 @@ export type Database = {
|
|
|
26987
28977
|
};
|
|
26988
28978
|
Returns: Json;
|
|
26989
28979
|
};
|
|
28980
|
+
logistics_retention_days: {
|
|
28981
|
+
Args: {
|
|
28982
|
+
p_key: string;
|
|
28983
|
+
};
|
|
28984
|
+
Returns: number;
|
|
28985
|
+
};
|
|
26990
28986
|
logistics_rule_bool: {
|
|
26991
28987
|
Args: {
|
|
26992
28988
|
p_default: boolean;
|
|
@@ -27093,6 +29089,13 @@ export type Database = {
|
|
|
27093
29089
|
};
|
|
27094
29090
|
Returns: string;
|
|
27095
29091
|
};
|
|
29092
|
+
logistics_shipping_note_status: {
|
|
29093
|
+
Args: {
|
|
29094
|
+
p_cart_id?: string;
|
|
29095
|
+
p_slip_job_id?: string;
|
|
29096
|
+
};
|
|
29097
|
+
Returns: Json;
|
|
29098
|
+
};
|
|
27096
29099
|
logistics_shipping_notes_wake_all: {
|
|
27097
29100
|
Args: never;
|
|
27098
29101
|
Returns: Json;
|
|
@@ -27155,6 +29158,12 @@ export type Database = {
|
|
|
27155
29158
|
};
|
|
27156
29159
|
Returns: undefined;
|
|
27157
29160
|
};
|
|
29161
|
+
logistics_slip_note_retry: {
|
|
29162
|
+
Args: {
|
|
29163
|
+
_id: string;
|
|
29164
|
+
};
|
|
29165
|
+
Returns: Json;
|
|
29166
|
+
};
|
|
27158
29167
|
logistics_sticker_follows_slip: {
|
|
27159
29168
|
Args: never;
|
|
27160
29169
|
Returns: boolean;
|
|
@@ -27180,12 +29189,27 @@ export type Database = {
|
|
|
27180
29189
|
Args: never;
|
|
27181
29190
|
Returns: Json;
|
|
27182
29191
|
};
|
|
29192
|
+
logistics_sync_pick_queue_backlog: {
|
|
29193
|
+
Args: never;
|
|
29194
|
+
Returns: Json;
|
|
29195
|
+
};
|
|
29196
|
+
logistics_sync_pick_queue_core: {
|
|
29197
|
+
Args: never;
|
|
29198
|
+
Returns: Json;
|
|
29199
|
+
};
|
|
27183
29200
|
logistics_sync_task_carriers: {
|
|
27184
29201
|
Args: {
|
|
27185
29202
|
p_order_ref?: string;
|
|
27186
29203
|
};
|
|
27187
29204
|
Returns: number;
|
|
27188
29205
|
};
|
|
29206
|
+
logistics_task_open_counts: {
|
|
29207
|
+
Args: never;
|
|
29208
|
+
Returns: {
|
|
29209
|
+
open_count: number;
|
|
29210
|
+
owner_module: string;
|
|
29211
|
+
}[];
|
|
29212
|
+
};
|
|
27189
29213
|
logistics_task_owner: {
|
|
27190
29214
|
Args: {
|
|
27191
29215
|
p_task_type: string;
|
|
@@ -27203,6 +29227,16 @@ export type Database = {
|
|
|
27203
29227
|
Args: never;
|
|
27204
29228
|
Returns: number;
|
|
27205
29229
|
};
|
|
29230
|
+
logistics_tasks_prune: {
|
|
29231
|
+
Args: {
|
|
29232
|
+
p_days?: number;
|
|
29233
|
+
};
|
|
29234
|
+
Returns: number;
|
|
29235
|
+
};
|
|
29236
|
+
logistics_tick: {
|
|
29237
|
+
Args: never;
|
|
29238
|
+
Returns: Json;
|
|
29239
|
+
};
|
|
27206
29240
|
logistics_tick_ping: {
|
|
27207
29241
|
Args: never;
|
|
27208
29242
|
Returns: string;
|
|
@@ -27543,6 +29577,17 @@ export type Database = {
|
|
|
27543
29577
|
};
|
|
27544
29578
|
Returns: boolean;
|
|
27545
29579
|
};
|
|
29580
|
+
order_items_duplicate_report: {
|
|
29581
|
+
Args: {
|
|
29582
|
+
_order_ref?: string;
|
|
29583
|
+
};
|
|
29584
|
+
Returns: {
|
|
29585
|
+
distinct_products: number;
|
|
29586
|
+
duplicate_factor: number;
|
|
29587
|
+
lines: number;
|
|
29588
|
+
order_number: string;
|
|
29589
|
+
}[];
|
|
29590
|
+
};
|
|
27546
29591
|
order_number_prefix: {
|
|
27547
29592
|
Args: {
|
|
27548
29593
|
p_custom_fields?: Json;
|
|
@@ -27863,6 +29908,10 @@ export type Database = {
|
|
|
27863
29908
|
};
|
|
27864
29909
|
Returns: string;
|
|
27865
29910
|
};
|
|
29911
|
+
pick_is_reference_admin: {
|
|
29912
|
+
Args: never;
|
|
29913
|
+
Returns: boolean;
|
|
29914
|
+
};
|
|
27866
29915
|
pick_mark_printed: {
|
|
27867
29916
|
Args: {
|
|
27868
29917
|
_queue_item_id: string;
|
|
@@ -28326,6 +30375,22 @@ export type Database = {
|
|
|
28326
30375
|
};
|
|
28327
30376
|
Returns: undefined;
|
|
28328
30377
|
};
|
|
30378
|
+
planning_apply_schedule_updates: {
|
|
30379
|
+
Args: {
|
|
30380
|
+
_updates: Json;
|
|
30381
|
+
};
|
|
30382
|
+
Returns: undefined;
|
|
30383
|
+
};
|
|
30384
|
+
planning_assert_no_overlaps: {
|
|
30385
|
+
Args: never;
|
|
30386
|
+
Returns: undefined;
|
|
30387
|
+
};
|
|
30388
|
+
planning_assert_no_overlaps_for_items: {
|
|
30389
|
+
Args: {
|
|
30390
|
+
_item_ids: string[];
|
|
30391
|
+
};
|
|
30392
|
+
Returns: undefined;
|
|
30393
|
+
};
|
|
28329
30394
|
planning_cancel_item: {
|
|
28330
30395
|
Args: {
|
|
28331
30396
|
_id: string;
|
|
@@ -28437,6 +30502,19 @@ export type Database = {
|
|
|
28437
30502
|
};
|
|
28438
30503
|
Returns: boolean;
|
|
28439
30504
|
};
|
|
30505
|
+
quote_assign_number: {
|
|
30506
|
+
Args: {
|
|
30507
|
+
_offerte_id: string;
|
|
30508
|
+
};
|
|
30509
|
+
Returns: string;
|
|
30510
|
+
};
|
|
30511
|
+
quote_create_follow_up_now: {
|
|
30512
|
+
Args: {
|
|
30513
|
+
_offerte_id: string;
|
|
30514
|
+
_payload?: Json;
|
|
30515
|
+
};
|
|
30516
|
+
Returns: Json;
|
|
30517
|
+
};
|
|
28440
30518
|
quote_create_from_source: {
|
|
28441
30519
|
Args: {
|
|
28442
30520
|
_payload?: Json;
|
|
@@ -28680,6 +30758,10 @@ export type Database = {
|
|
|
28680
30758
|
Args: never;
|
|
28681
30759
|
Returns: undefined;
|
|
28682
30760
|
};
|
|
30761
|
+
run_order_auto_invoice_tick: {
|
|
30762
|
+
Args: never;
|
|
30763
|
+
Returns: number;
|
|
30764
|
+
};
|
|
28683
30765
|
run_print_queue_ticks: {
|
|
28684
30766
|
Args: never;
|
|
28685
30767
|
Returns: number;
|
|
@@ -28703,6 +30785,13 @@ export type Database = {
|
|
|
28703
30785
|
};
|
|
28704
30786
|
Returns: Json;
|
|
28705
30787
|
};
|
|
30788
|
+
scan_controleer_pincode: {
|
|
30789
|
+
Args: {
|
|
30790
|
+
p_pin: string;
|
|
30791
|
+
p_scanner_id: string;
|
|
30792
|
+
};
|
|
30793
|
+
Returns: boolean;
|
|
30794
|
+
};
|
|
28706
30795
|
scan_dashboard_stats: {
|
|
28707
30796
|
Args: {
|
|
28708
30797
|
p_dagen?: number;
|
|
@@ -28722,6 +30811,12 @@ export type Database = {
|
|
|
28722
30811
|
};
|
|
28723
30812
|
Returns: Json;
|
|
28724
30813
|
};
|
|
30814
|
+
scan_heeft_pincode: {
|
|
30815
|
+
Args: {
|
|
30816
|
+
p_scanner_id: string;
|
|
30817
|
+
};
|
|
30818
|
+
Returns: boolean;
|
|
30819
|
+
};
|
|
28725
30820
|
scan_kar_compleet: {
|
|
28726
30821
|
Args: {
|
|
28727
30822
|
p_allow_reprint?: boolean;
|
|
@@ -28739,6 +30834,7 @@ export type Database = {
|
|
|
28739
30834
|
Args: {
|
|
28740
30835
|
p_code: string;
|
|
28741
30836
|
p_latency_ms?: number;
|
|
30837
|
+
p_medewerker?: string;
|
|
28742
30838
|
p_message?: string;
|
|
28743
30839
|
p_result: string;
|
|
28744
30840
|
p_scanner_key?: string;
|
|
@@ -28811,6 +30907,22 @@ export type Database = {
|
|
|
28811
30907
|
};
|
|
28812
30908
|
Returns: undefined;
|
|
28813
30909
|
};
|
|
30910
|
+
scan_scanner_info: {
|
|
30911
|
+
Args: {
|
|
30912
|
+
p_slug: string;
|
|
30913
|
+
};
|
|
30914
|
+
Returns: {
|
|
30915
|
+
actief: boolean;
|
|
30916
|
+
heeft_pincode: boolean;
|
|
30917
|
+
id: string;
|
|
30918
|
+
naam: string;
|
|
30919
|
+
omschrijving: string;
|
|
30920
|
+
printer_id: string;
|
|
30921
|
+
type: string;
|
|
30922
|
+
vereist_medewerker: boolean;
|
|
30923
|
+
werkplek: string;
|
|
30924
|
+
}[];
|
|
30925
|
+
};
|
|
28814
30926
|
scan_sessie_annuleren: {
|
|
28815
30927
|
Args: {
|
|
28816
30928
|
p_sessie_id: string;
|
|
@@ -29057,6 +31169,13 @@ export type Database = {
|
|
|
29057
31169
|
};
|
|
29058
31170
|
Returns: number;
|
|
29059
31171
|
};
|
|
31172
|
+
schedule_floriday_trade_items_reconcile: {
|
|
31173
|
+
Args: {
|
|
31174
|
+
p_apikey: string;
|
|
31175
|
+
p_url: string;
|
|
31176
|
+
};
|
|
31177
|
+
Returns: number;
|
|
31178
|
+
};
|
|
29060
31179
|
schedule_floriday_trade_items_sync: {
|
|
29061
31180
|
Args: {
|
|
29062
31181
|
p_apikey: string;
|
|
@@ -29139,6 +31258,26 @@ export type Database = {
|
|
|
29139
31258
|
};
|
|
29140
31259
|
Returns: undefined;
|
|
29141
31260
|
};
|
|
31261
|
+
set_product_stock: {
|
|
31262
|
+
Args: {
|
|
31263
|
+
p_incoming_stock?: number;
|
|
31264
|
+
p_minimum_stock?: number;
|
|
31265
|
+
p_notes?: string;
|
|
31266
|
+
p_physical_stock: number;
|
|
31267
|
+
p_product_id: string;
|
|
31268
|
+
};
|
|
31269
|
+
Returns: {
|
|
31270
|
+
connection_id: string;
|
|
31271
|
+
incoming_stock: number;
|
|
31272
|
+
minimum_stock: number;
|
|
31273
|
+
notes: string;
|
|
31274
|
+
physical_stock: number;
|
|
31275
|
+
product_id: string;
|
|
31276
|
+
reserved_stock: number;
|
|
31277
|
+
trade_item_key: string;
|
|
31278
|
+
updated_at: string;
|
|
31279
|
+
}[];
|
|
31280
|
+
};
|
|
29142
31281
|
show_limit: {
|
|
29143
31282
|
Args: never;
|
|
29144
31283
|
Returns: number;
|
|
@@ -29381,6 +31520,22 @@ export type Database = {
|
|
|
29381
31520
|
Args: never;
|
|
29382
31521
|
Returns: boolean;
|
|
29383
31522
|
};
|
|
31523
|
+
uren_is_werkdag: {
|
|
31524
|
+
Args: {
|
|
31525
|
+
_date: string;
|
|
31526
|
+
_monteur: string;
|
|
31527
|
+
};
|
|
31528
|
+
Returns: boolean;
|
|
31529
|
+
};
|
|
31530
|
+
uren_korte_afwezigheid_aanvragen: {
|
|
31531
|
+
Args: {
|
|
31532
|
+
_datum: string;
|
|
31533
|
+
_eind: string;
|
|
31534
|
+
_reden: string;
|
|
31535
|
+
_start: string;
|
|
31536
|
+
};
|
|
31537
|
+
Returns: string;
|
|
31538
|
+
};
|
|
29384
31539
|
uren_list_medewerkers: {
|
|
29385
31540
|
Args: never;
|
|
29386
31541
|
Returns: {
|
|
@@ -29401,6 +31556,45 @@ export type Database = {
|
|
|
29401
31556
|
roles: string[];
|
|
29402
31557
|
}[];
|
|
29403
31558
|
};
|
|
31559
|
+
uren_list_planner_contacten: {
|
|
31560
|
+
Args: never;
|
|
31561
|
+
Returns: {
|
|
31562
|
+
display_name: string;
|
|
31563
|
+
id: string;
|
|
31564
|
+
phone: string;
|
|
31565
|
+
}[];
|
|
31566
|
+
};
|
|
31567
|
+
uren_maand_afsluiten: {
|
|
31568
|
+
Args: {
|
|
31569
|
+
_maand: string;
|
|
31570
|
+
_monteur: string;
|
|
31571
|
+
};
|
|
31572
|
+
Returns: undefined;
|
|
31573
|
+
};
|
|
31574
|
+
uren_maand_berekenen: {
|
|
31575
|
+
Args: {
|
|
31576
|
+
_maand: string;
|
|
31577
|
+
_monteur: string;
|
|
31578
|
+
};
|
|
31579
|
+
Returns: Json;
|
|
31580
|
+
};
|
|
31581
|
+
uren_maand_corrigeren: {
|
|
31582
|
+
Args: {
|
|
31583
|
+
_maand: string;
|
|
31584
|
+
_monteur: string;
|
|
31585
|
+
_overuren_minuten: number;
|
|
31586
|
+
_reden: string;
|
|
31587
|
+
};
|
|
31588
|
+
Returns: undefined;
|
|
31589
|
+
};
|
|
31590
|
+
uren_mijn_contracturen: {
|
|
31591
|
+
Args: never;
|
|
31592
|
+
Returns: number;
|
|
31593
|
+
};
|
|
31594
|
+
uren_mijn_vakantiesaldo: {
|
|
31595
|
+
Args: never;
|
|
31596
|
+
Returns: number;
|
|
31597
|
+
};
|
|
29404
31598
|
uren_my_monteur_id: {
|
|
29405
31599
|
Args: never;
|
|
29406
31600
|
Returns: string;
|
|
@@ -29434,6 +31628,37 @@ export type Database = {
|
|
|
29434
31628
|
};
|
|
29435
31629
|
Returns: number;
|
|
29436
31630
|
};
|
|
31631
|
+
uren_spiegel_bezig: {
|
|
31632
|
+
Args: never;
|
|
31633
|
+
Returns: boolean;
|
|
31634
|
+
};
|
|
31635
|
+
uren_standaardweek_beoordelen: {
|
|
31636
|
+
Args: {
|
|
31637
|
+
_goedkeuren: boolean;
|
|
31638
|
+
_id: string;
|
|
31639
|
+
_reden?: string;
|
|
31640
|
+
};
|
|
31641
|
+
Returns: undefined;
|
|
31642
|
+
};
|
|
31643
|
+
uren_standaardweek_doorzetten: {
|
|
31644
|
+
Args: {
|
|
31645
|
+
_monteur: string;
|
|
31646
|
+
};
|
|
31647
|
+
Returns: undefined;
|
|
31648
|
+
};
|
|
31649
|
+
uren_standaardweek_instellen: {
|
|
31650
|
+
Args: {
|
|
31651
|
+
_dagen: Json;
|
|
31652
|
+
};
|
|
31653
|
+
Returns: string;
|
|
31654
|
+
};
|
|
31655
|
+
uren_standaardweek_toepassen: {
|
|
31656
|
+
Args: {
|
|
31657
|
+
_dagen: Json;
|
|
31658
|
+
_monteur: string;
|
|
31659
|
+
};
|
|
31660
|
+
Returns: undefined;
|
|
31661
|
+
};
|
|
29437
31662
|
uren_stop_time_log: {
|
|
29438
31663
|
Args: {
|
|
29439
31664
|
p_employee_id: string;
|
|
@@ -29459,6 +31684,165 @@ export type Database = {
|
|
|
29459
31684
|
};
|
|
29460
31685
|
Returns: number;
|
|
29461
31686
|
};
|
|
31687
|
+
uren_vakantie_aanvragen: {
|
|
31688
|
+
Args: {
|
|
31689
|
+
_end_date: string;
|
|
31690
|
+
_hours?: number;
|
|
31691
|
+
_start_date: string;
|
|
31692
|
+
};
|
|
31693
|
+
Returns: string;
|
|
31694
|
+
};
|
|
31695
|
+
uren_vakantiedag_wijzigen: {
|
|
31696
|
+
Args: {
|
|
31697
|
+
_date: string;
|
|
31698
|
+
};
|
|
31699
|
+
Returns: string;
|
|
31700
|
+
};
|
|
31701
|
+
uren_vakantiesaldo_uren: {
|
|
31702
|
+
Args: {
|
|
31703
|
+
_monteur: string;
|
|
31704
|
+
};
|
|
31705
|
+
Returns: number;
|
|
31706
|
+
};
|
|
31707
|
+
uren_week_start: {
|
|
31708
|
+
Args: {
|
|
31709
|
+
_datum: string;
|
|
31710
|
+
};
|
|
31711
|
+
Returns: string;
|
|
31712
|
+
};
|
|
31713
|
+
uren_werkweek_opsturen: {
|
|
31714
|
+
Args: {
|
|
31715
|
+
_week_start: string;
|
|
31716
|
+
};
|
|
31717
|
+
Returns: {
|
|
31718
|
+
approved_at: string | null;
|
|
31719
|
+
approved_by: string | null;
|
|
31720
|
+
contract_hours: number;
|
|
31721
|
+
created_at: string;
|
|
31722
|
+
employee_id: string;
|
|
31723
|
+
id: string;
|
|
31724
|
+
locked: boolean;
|
|
31725
|
+
monteur_toelichting: string | null;
|
|
31726
|
+
notes: string | null;
|
|
31727
|
+
planned_hours: number;
|
|
31728
|
+
status: string;
|
|
31729
|
+
submitted_at: string | null;
|
|
31730
|
+
updated_at: string;
|
|
31731
|
+
variance_hours: number;
|
|
31732
|
+
week_start: string;
|
|
31733
|
+
};
|
|
31734
|
+
SetofOptions: {
|
|
31735
|
+
from: "*";
|
|
31736
|
+
to: "time_log_week_approvals";
|
|
31737
|
+
isOneToOne: true;
|
|
31738
|
+
isSetofReturn: false;
|
|
31739
|
+
};
|
|
31740
|
+
} | {
|
|
31741
|
+
Args: {
|
|
31742
|
+
_vrije_dagen?: string[];
|
|
31743
|
+
_week_start: string;
|
|
31744
|
+
};
|
|
31745
|
+
Returns: {
|
|
31746
|
+
approved_at: string | null;
|
|
31747
|
+
approved_by: string | null;
|
|
31748
|
+
contract_hours: number;
|
|
31749
|
+
created_at: string;
|
|
31750
|
+
employee_id: string;
|
|
31751
|
+
id: string;
|
|
31752
|
+
locked: boolean;
|
|
31753
|
+
monteur_toelichting: string | null;
|
|
31754
|
+
notes: string | null;
|
|
31755
|
+
planned_hours: number;
|
|
31756
|
+
status: string;
|
|
31757
|
+
submitted_at: string | null;
|
|
31758
|
+
updated_at: string;
|
|
31759
|
+
variance_hours: number;
|
|
31760
|
+
week_start: string;
|
|
31761
|
+
};
|
|
31762
|
+
SetofOptions: {
|
|
31763
|
+
from: "*";
|
|
31764
|
+
to: "time_log_week_approvals";
|
|
31765
|
+
isOneToOne: true;
|
|
31766
|
+
isSetofReturn: false;
|
|
31767
|
+
};
|
|
31768
|
+
} | {
|
|
31769
|
+
Args: {
|
|
31770
|
+
_toelichting?: string;
|
|
31771
|
+
_vrije_dagen?: string[];
|
|
31772
|
+
_week_start: string;
|
|
31773
|
+
};
|
|
31774
|
+
Returns: {
|
|
31775
|
+
approved_at: string | null;
|
|
31776
|
+
approved_by: string | null;
|
|
31777
|
+
contract_hours: number;
|
|
31778
|
+
created_at: string;
|
|
31779
|
+
employee_id: string;
|
|
31780
|
+
id: string;
|
|
31781
|
+
locked: boolean;
|
|
31782
|
+
monteur_toelichting: string | null;
|
|
31783
|
+
notes: string | null;
|
|
31784
|
+
planned_hours: number;
|
|
31785
|
+
status: string;
|
|
31786
|
+
submitted_at: string | null;
|
|
31787
|
+
updated_at: string;
|
|
31788
|
+
variance_hours: number;
|
|
31789
|
+
week_start: string;
|
|
31790
|
+
};
|
|
31791
|
+
SetofOptions: {
|
|
31792
|
+
from: "*";
|
|
31793
|
+
to: "time_log_week_approvals";
|
|
31794
|
+
isOneToOne: true;
|
|
31795
|
+
isSetofReturn: false;
|
|
31796
|
+
};
|
|
31797
|
+
};
|
|
31798
|
+
vakantie_dagen_gebruikt: {
|
|
31799
|
+
Args: {
|
|
31800
|
+
_user_id: string;
|
|
31801
|
+
_year: number;
|
|
31802
|
+
};
|
|
31803
|
+
Returns: number;
|
|
31804
|
+
};
|
|
31805
|
+
vakantie_overuren: {
|
|
31806
|
+
Args: {
|
|
31807
|
+
_user_id: string;
|
|
31808
|
+
_year?: number;
|
|
31809
|
+
};
|
|
31810
|
+
Returns: number;
|
|
31811
|
+
};
|
|
31812
|
+
vakantie_saldo: {
|
|
31813
|
+
Args: {
|
|
31814
|
+
_user_id: string;
|
|
31815
|
+
_year?: number;
|
|
31816
|
+
};
|
|
31817
|
+
Returns: {
|
|
31818
|
+
day_hours: number;
|
|
31819
|
+
earned_from_overtime_days: number;
|
|
31820
|
+
entitlement_days: number;
|
|
31821
|
+
hours_to_next_day: number;
|
|
31822
|
+
overtime_hours: number;
|
|
31823
|
+
overtime_remainder_hours: number;
|
|
31824
|
+
paid_out_days: number;
|
|
31825
|
+
remaining_days: number;
|
|
31826
|
+
used_days: number;
|
|
31827
|
+
}[];
|
|
31828
|
+
};
|
|
31829
|
+
vakantie_saldo_overzicht: {
|
|
31830
|
+
Args: {
|
|
31831
|
+
_year?: number;
|
|
31832
|
+
};
|
|
31833
|
+
Returns: {
|
|
31834
|
+
day_hours: number;
|
|
31835
|
+
earned_from_overtime_days: number;
|
|
31836
|
+
entitlement_days: number;
|
|
31837
|
+
hours_to_next_day: number;
|
|
31838
|
+
overtime_hours: number;
|
|
31839
|
+
overtime_remainder_hours: number;
|
|
31840
|
+
paid_out_days: number;
|
|
31841
|
+
remaining_days: number;
|
|
31842
|
+
used_days: number;
|
|
31843
|
+
user_id: string;
|
|
31844
|
+
}[];
|
|
31845
|
+
};
|
|
29462
31846
|
voorraad_cleanup_old_rows: {
|
|
29463
31847
|
Args: never;
|
|
29464
31848
|
Returns: Json;
|
|
@@ -29501,18 +31885,46 @@ export type Database = {
|
|
|
29501
31885
|
};
|
|
29502
31886
|
Returns: Json;
|
|
29503
31887
|
};
|
|
31888
|
+
wo_list_colleague_planning: {
|
|
31889
|
+
Args: {
|
|
31890
|
+
_from: string;
|
|
31891
|
+
_monteur_id: string;
|
|
31892
|
+
_to: string;
|
|
31893
|
+
};
|
|
31894
|
+
Returns: {
|
|
31895
|
+
end_at: string;
|
|
31896
|
+
id: string;
|
|
31897
|
+
role: string;
|
|
31898
|
+
start_at: string;
|
|
31899
|
+
status: string;
|
|
31900
|
+
werkbon_id: string;
|
|
31901
|
+
}[];
|
|
31902
|
+
};
|
|
29504
31903
|
wo_list_offerte_requests: {
|
|
29505
31904
|
Args: {
|
|
29506
31905
|
_status?: string;
|
|
29507
31906
|
};
|
|
29508
31907
|
Returns: Json;
|
|
29509
31908
|
};
|
|
31909
|
+
wo_list_proposals: {
|
|
31910
|
+
Args: {
|
|
31911
|
+
_status?: string;
|
|
31912
|
+
};
|
|
31913
|
+
Returns: Json;
|
|
31914
|
+
};
|
|
29510
31915
|
wo_process_offerte_request: {
|
|
29511
31916
|
Args: {
|
|
29512
31917
|
_queue_id: string;
|
|
29513
31918
|
};
|
|
29514
31919
|
Returns: Json;
|
|
29515
31920
|
};
|
|
31921
|
+
wo_process_proposal: {
|
|
31922
|
+
Args: {
|
|
31923
|
+
_id: string;
|
|
31924
|
+
_overrides?: Json;
|
|
31925
|
+
};
|
|
31926
|
+
Returns: Json;
|
|
31927
|
+
};
|
|
29516
31928
|
wo_reject_offerte_request: {
|
|
29517
31929
|
Args: {
|
|
29518
31930
|
_queue_id: string;
|
|
@@ -29520,6 +31932,13 @@ export type Database = {
|
|
|
29520
31932
|
};
|
|
29521
31933
|
Returns: Json;
|
|
29522
31934
|
};
|
|
31935
|
+
wo_reject_proposal: {
|
|
31936
|
+
Args: {
|
|
31937
|
+
_id: string;
|
|
31938
|
+
_reden?: string;
|
|
31939
|
+
};
|
|
31940
|
+
Returns: Json;
|
|
31941
|
+
};
|
|
29523
31942
|
wo_set_status: {
|
|
29524
31943
|
Args: {
|
|
29525
31944
|
_reason?: string;
|