@flowselections/layout-maker 1.45.19 → 1.46.1
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/DocumentenPage.d.ts.map +1 -1
- package/dist-lib/components/DocumentenPage.js +2 -3
- package/dist-lib/components/PrintQueuePage.d.ts.map +1 -1
- package/dist-lib/components/PrintQueuePage.js +5 -71
- package/dist-lib/components/PrintenPage.d.ts.map +1 -1
- package/dist-lib/components/PrintenPage.js +2 -3
- package/dist-lib/components/PrinterSetupWizard.d.ts.map +1 -1
- package/dist-lib/components/PrinterSetupWizard.js +2 -25
- package/dist-lib/components/PrintplekDetailPage.d.ts.map +1 -1
- package/dist-lib/components/PrintplekDetailPage.js +3 -25
- package/dist-lib/components/PrintplekWizard.d.ts.map +1 -1
- package/dist-lib/components/PrintplekWizard.js +3 -85
- package/dist-lib/index.d.ts +0 -8
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +0 -10
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +931 -46
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +931 -46
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +931 -46
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +955 -47
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/aiLayout.functions.d.ts +931 -46
- package/dist-lib/lib/aiLayout.functions.d.ts.map +1 -1
- package/dist-lib/lib/printApi.d.ts +0 -2
- package/dist-lib/lib/printApi.d.ts.map +1 -1
- package/dist-lib/lib/printApi.js +0 -21
- package/dist-lib/lib/printQueue.server.d.ts +8 -0
- package/dist-lib/lib/printQueue.server.d.ts.map +1 -1
- package/dist-lib/lib/printQueue.server.js +36 -67
- package/dist-lib/lib/printService.functions.d.ts +4425 -0
- package/dist-lib/lib/printService.functions.d.ts.map +1 -1
- package/dist-lib/lib/voorbeeldPrint.d.ts.map +1 -1
- package/dist-lib/lib/voorbeeldPrint.js +7 -39
- package/package.json +1 -1
- package/dist-lib/components/PdfMapAutoSaver.d.ts +0 -6
- package/dist-lib/components/PdfMapAutoSaver.d.ts.map +0 -1
- package/dist-lib/components/PdfMapAutoSaver.js +0 -12
- package/dist-lib/components/PdfMapGlobaleBanner.d.ts +0 -12
- package/dist-lib/components/PdfMapGlobaleBanner.d.ts.map +0 -1
- package/dist-lib/components/PdfMapGlobaleBanner.js +0 -30
- package/dist-lib/components/PdfMapToestemmingBanner.d.ts +0 -8
- package/dist-lib/components/PdfMapToestemmingBanner.d.ts.map +0 -1
- package/dist-lib/components/PdfMapToestemmingBanner.js +0 -245
- package/dist-lib/lib/pdfJobSaver.d.ts +0 -24
- package/dist-lib/lib/pdfJobSaver.d.ts.map +0 -1
- package/dist-lib/lib/pdfJobSaver.js +0 -405
- package/dist-lib/lib/pdfMap.d.ts +0 -90
- package/dist-lib/lib/pdfMap.d.ts.map +0 -1
- package/dist-lib/lib/pdfMap.js +0 -349
- package/dist-lib/lib/pdfOpslagStatus.d.ts +0 -23
- package/dist-lib/lib/pdfOpslagStatus.d.ts.map +0 -1
- package/dist-lib/lib/pdfOpslagStatus.js +0 -74
- package/dist-lib/lib/pdfPrinter.d.ts +0 -9
- package/dist-lib/lib/pdfPrinter.d.ts.map +0 -1
- package/dist-lib/lib/pdfPrinter.js +0 -34
|
@@ -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;
|
|
@@ -8474,6 +8495,72 @@ export type Database = {
|
|
|
8474
8495
|
};
|
|
8475
8496
|
Relationships: [];
|
|
8476
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
|
+
};
|
|
8477
8564
|
invoice_items: {
|
|
8478
8565
|
Row: {
|
|
8479
8566
|
created_at: string;
|
|
@@ -8487,6 +8574,7 @@ export type Database = {
|
|
|
8487
8574
|
total_cents: number;
|
|
8488
8575
|
unit: string;
|
|
8489
8576
|
unit_price_cents: number;
|
|
8577
|
+
vat_rate: number | null;
|
|
8490
8578
|
};
|
|
8491
8579
|
Insert: {
|
|
8492
8580
|
created_at?: string;
|
|
@@ -8500,6 +8588,7 @@ export type Database = {
|
|
|
8500
8588
|
total_cents?: number;
|
|
8501
8589
|
unit?: string;
|
|
8502
8590
|
unit_price_cents?: number;
|
|
8591
|
+
vat_rate?: number | null;
|
|
8503
8592
|
};
|
|
8504
8593
|
Update: {
|
|
8505
8594
|
created_at?: string;
|
|
@@ -8513,6 +8602,7 @@ export type Database = {
|
|
|
8513
8602
|
total_cents?: number;
|
|
8514
8603
|
unit?: string;
|
|
8515
8604
|
unit_price_cents?: number;
|
|
8605
|
+
vat_rate?: number | null;
|
|
8516
8606
|
};
|
|
8517
8607
|
Relationships: [
|
|
8518
8608
|
{
|
|
@@ -8766,6 +8856,7 @@ export type Database = {
|
|
|
8766
8856
|
};
|
|
8767
8857
|
invoices: {
|
|
8768
8858
|
Row: {
|
|
8859
|
+
branding_snapshot: Json | null;
|
|
8769
8860
|
created_at: string;
|
|
8770
8861
|
created_by: string | null;
|
|
8771
8862
|
customer_address: string | null;
|
|
@@ -8784,6 +8875,8 @@ export type Database = {
|
|
|
8784
8875
|
note: string | null;
|
|
8785
8876
|
payment_term_days: number;
|
|
8786
8877
|
reference: string | null;
|
|
8878
|
+
sent_at: string | null;
|
|
8879
|
+
sent_to: string | null;
|
|
8787
8880
|
source_number: string | null;
|
|
8788
8881
|
source_ref: string | null;
|
|
8789
8882
|
source_type: string;
|
|
@@ -8796,6 +8889,7 @@ export type Database = {
|
|
|
8796
8889
|
work_address: string | null;
|
|
8797
8890
|
};
|
|
8798
8891
|
Insert: {
|
|
8892
|
+
branding_snapshot?: Json | null;
|
|
8799
8893
|
created_at?: string;
|
|
8800
8894
|
created_by?: string | null;
|
|
8801
8895
|
customer_address?: string | null;
|
|
@@ -8814,6 +8908,8 @@ export type Database = {
|
|
|
8814
8908
|
note?: string | null;
|
|
8815
8909
|
payment_term_days?: number;
|
|
8816
8910
|
reference?: string | null;
|
|
8911
|
+
sent_at?: string | null;
|
|
8912
|
+
sent_to?: string | null;
|
|
8817
8913
|
source_number?: string | null;
|
|
8818
8914
|
source_ref?: string | null;
|
|
8819
8915
|
source_type?: string;
|
|
@@ -8826,6 +8922,7 @@ export type Database = {
|
|
|
8826
8922
|
work_address?: string | null;
|
|
8827
8923
|
};
|
|
8828
8924
|
Update: {
|
|
8925
|
+
branding_snapshot?: Json | null;
|
|
8829
8926
|
created_at?: string;
|
|
8830
8927
|
created_by?: string | null;
|
|
8831
8928
|
customer_address?: string | null;
|
|
@@ -8844,6 +8941,8 @@ export type Database = {
|
|
|
8844
8941
|
note?: string | null;
|
|
8845
8942
|
payment_term_days?: number;
|
|
8846
8943
|
reference?: string | null;
|
|
8944
|
+
sent_at?: string | null;
|
|
8945
|
+
sent_to?: string | null;
|
|
8847
8946
|
source_number?: string | null;
|
|
8848
8947
|
source_ref?: string | null;
|
|
8849
8948
|
source_type?: string;
|
|
@@ -9565,6 +9664,7 @@ export type Database = {
|
|
|
9565
9664
|
quantity: number;
|
|
9566
9665
|
sort_order: number;
|
|
9567
9666
|
source: string;
|
|
9667
|
+
unit: string | null;
|
|
9568
9668
|
unit_price_cents: number;
|
|
9569
9669
|
updated_at: string;
|
|
9570
9670
|
};
|
|
@@ -9578,6 +9678,7 @@ export type Database = {
|
|
|
9578
9678
|
quantity?: number;
|
|
9579
9679
|
sort_order?: number;
|
|
9580
9680
|
source?: string;
|
|
9681
|
+
unit?: string | null;
|
|
9581
9682
|
unit_price_cents?: number;
|
|
9582
9683
|
updated_at?: string;
|
|
9583
9684
|
};
|
|
@@ -9591,6 +9692,7 @@ export type Database = {
|
|
|
9591
9692
|
quantity?: number;
|
|
9592
9693
|
sort_order?: number;
|
|
9593
9694
|
source?: string;
|
|
9695
|
+
unit?: string | null;
|
|
9594
9696
|
unit_price_cents?: number;
|
|
9595
9697
|
updated_at?: string;
|
|
9596
9698
|
};
|
|
@@ -9617,6 +9719,7 @@ export type Database = {
|
|
|
9617
9719
|
created_at: string;
|
|
9618
9720
|
default_geldigheid_dagen: number;
|
|
9619
9721
|
default_vat_rate: number;
|
|
9722
|
+
email_purpose: string | null;
|
|
9620
9723
|
id: string;
|
|
9621
9724
|
singleton: boolean;
|
|
9622
9725
|
updated_at: string;
|
|
@@ -9626,6 +9729,7 @@ export type Database = {
|
|
|
9626
9729
|
created_at?: string;
|
|
9627
9730
|
default_geldigheid_dagen?: number;
|
|
9628
9731
|
default_vat_rate?: number;
|
|
9732
|
+
email_purpose?: string | null;
|
|
9629
9733
|
id?: string;
|
|
9630
9734
|
singleton?: boolean;
|
|
9631
9735
|
updated_at?: string;
|
|
@@ -9635,6 +9739,7 @@ export type Database = {
|
|
|
9635
9739
|
created_at?: string;
|
|
9636
9740
|
default_geldigheid_dagen?: number;
|
|
9637
9741
|
default_vat_rate?: number;
|
|
9742
|
+
email_purpose?: string | null;
|
|
9638
9743
|
id?: string;
|
|
9639
9744
|
singleton?: boolean;
|
|
9640
9745
|
updated_at?: string;
|
|
@@ -9731,6 +9836,7 @@ export type Database = {
|
|
|
9731
9836
|
};
|
|
9732
9837
|
itk_offertes: {
|
|
9733
9838
|
Row: {
|
|
9839
|
+
aandachtspunten: string | null;
|
|
9734
9840
|
ai_generated: boolean;
|
|
9735
9841
|
approved_at: string | null;
|
|
9736
9842
|
binnen_mandaat: boolean;
|
|
@@ -9746,6 +9852,7 @@ export type Database = {
|
|
|
9746
9852
|
notities: string | null;
|
|
9747
9853
|
offerte_number: string | null;
|
|
9748
9854
|
omschrijving: string;
|
|
9855
|
+
onderwerp: string | null;
|
|
9749
9856
|
rejected_at: string | null;
|
|
9750
9857
|
sent_at: string | null;
|
|
9751
9858
|
source_number: string | null;
|
|
@@ -9758,12 +9865,15 @@ export type Database = {
|
|
|
9758
9865
|
valid_until: string | null;
|
|
9759
9866
|
vat_cents: number;
|
|
9760
9867
|
vat_rate: number;
|
|
9868
|
+
verzonden_naar: string | null;
|
|
9761
9869
|
viewed_at: string | null;
|
|
9762
9870
|
volgnummer: number | null;
|
|
9871
|
+
voorwaarden: string | null;
|
|
9763
9872
|
werkbon_id: string | null;
|
|
9764
9873
|
work_location_id: string | null;
|
|
9765
9874
|
};
|
|
9766
9875
|
Insert: {
|
|
9876
|
+
aandachtspunten?: string | null;
|
|
9767
9877
|
ai_generated?: boolean;
|
|
9768
9878
|
approved_at?: string | null;
|
|
9769
9879
|
binnen_mandaat?: boolean;
|
|
@@ -9779,6 +9889,7 @@ export type Database = {
|
|
|
9779
9889
|
notities?: string | null;
|
|
9780
9890
|
offerte_number?: string | null;
|
|
9781
9891
|
omschrijving?: string;
|
|
9892
|
+
onderwerp?: string | null;
|
|
9782
9893
|
rejected_at?: string | null;
|
|
9783
9894
|
sent_at?: string | null;
|
|
9784
9895
|
source_number?: string | null;
|
|
@@ -9791,12 +9902,15 @@ export type Database = {
|
|
|
9791
9902
|
valid_until?: string | null;
|
|
9792
9903
|
vat_cents?: number;
|
|
9793
9904
|
vat_rate?: number;
|
|
9905
|
+
verzonden_naar?: string | null;
|
|
9794
9906
|
viewed_at?: string | null;
|
|
9795
9907
|
volgnummer?: number | null;
|
|
9908
|
+
voorwaarden?: string | null;
|
|
9796
9909
|
werkbon_id?: string | null;
|
|
9797
9910
|
work_location_id?: string | null;
|
|
9798
9911
|
};
|
|
9799
9912
|
Update: {
|
|
9913
|
+
aandachtspunten?: string | null;
|
|
9800
9914
|
ai_generated?: boolean;
|
|
9801
9915
|
approved_at?: string | null;
|
|
9802
9916
|
binnen_mandaat?: boolean;
|
|
@@ -9812,6 +9926,7 @@ export type Database = {
|
|
|
9812
9926
|
notities?: string | null;
|
|
9813
9927
|
offerte_number?: string | null;
|
|
9814
9928
|
omschrijving?: string;
|
|
9929
|
+
onderwerp?: string | null;
|
|
9815
9930
|
rejected_at?: string | null;
|
|
9816
9931
|
sent_at?: string | null;
|
|
9817
9932
|
source_number?: string | null;
|
|
@@ -9824,8 +9939,10 @@ export type Database = {
|
|
|
9824
9939
|
valid_until?: string | null;
|
|
9825
9940
|
vat_cents?: number;
|
|
9826
9941
|
vat_rate?: number;
|
|
9942
|
+
verzonden_naar?: string | null;
|
|
9827
9943
|
viewed_at?: string | null;
|
|
9828
9944
|
volgnummer?: number | null;
|
|
9945
|
+
voorwaarden?: string | null;
|
|
9829
9946
|
werkbon_id?: string | null;
|
|
9830
9947
|
work_location_id?: string | null;
|
|
9831
9948
|
};
|
|
@@ -10581,6 +10698,30 @@ export type Database = {
|
|
|
10581
10698
|
};
|
|
10582
10699
|
Relationships: [];
|
|
10583
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
|
+
};
|
|
10584
10725
|
logistics_control_scan: {
|
|
10585
10726
|
Row: {
|
|
10586
10727
|
approved_at: string | null;
|
|
@@ -14953,6 +15094,7 @@ export type Database = {
|
|
|
14953
15094
|
next_attempt_at: string;
|
|
14954
15095
|
order_id: string;
|
|
14955
15096
|
processed_at: string | null;
|
|
15097
|
+
send_error: string | null;
|
|
14956
15098
|
status: string;
|
|
14957
15099
|
updated_at: string;
|
|
14958
15100
|
};
|
|
@@ -14966,6 +15108,7 @@ export type Database = {
|
|
|
14966
15108
|
next_attempt_at?: string;
|
|
14967
15109
|
order_id: string;
|
|
14968
15110
|
processed_at?: string | null;
|
|
15111
|
+
send_error?: string | null;
|
|
14969
15112
|
status?: string;
|
|
14970
15113
|
updated_at?: string;
|
|
14971
15114
|
};
|
|
@@ -14979,6 +15122,7 @@ export type Database = {
|
|
|
14979
15122
|
next_attempt_at?: string;
|
|
14980
15123
|
order_id?: string;
|
|
14981
15124
|
processed_at?: string | null;
|
|
15125
|
+
send_error?: string | null;
|
|
14982
15126
|
status?: string;
|
|
14983
15127
|
updated_at?: string;
|
|
14984
15128
|
};
|
|
@@ -16362,18 +16506,24 @@ export type Database = {
|
|
|
16362
16506
|
Row: {
|
|
16363
16507
|
id: boolean;
|
|
16364
16508
|
last_cleanup_at: string | null;
|
|
16509
|
+
last_error: string | null;
|
|
16510
|
+
last_error_at: string | null;
|
|
16365
16511
|
last_sync_at: string | null;
|
|
16366
16512
|
updated_at: string;
|
|
16367
16513
|
};
|
|
16368
16514
|
Insert: {
|
|
16369
16515
|
id?: boolean;
|
|
16370
16516
|
last_cleanup_at?: string | null;
|
|
16517
|
+
last_error?: string | null;
|
|
16518
|
+
last_error_at?: string | null;
|
|
16371
16519
|
last_sync_at?: string | null;
|
|
16372
16520
|
updated_at?: string;
|
|
16373
16521
|
};
|
|
16374
16522
|
Update: {
|
|
16375
16523
|
id?: boolean;
|
|
16376
16524
|
last_cleanup_at?: string | null;
|
|
16525
|
+
last_error?: string | null;
|
|
16526
|
+
last_error_at?: string | null;
|
|
16377
16527
|
last_sync_at?: string | null;
|
|
16378
16528
|
updated_at?: string;
|
|
16379
16529
|
};
|
|
@@ -18114,6 +18264,124 @@ export type Database = {
|
|
|
18114
18264
|
};
|
|
18115
18265
|
Relationships: [];
|
|
18116
18266
|
};
|
|
18267
|
+
product_suppliers: {
|
|
18268
|
+
Row: {
|
|
18269
|
+
created_at: string;
|
|
18270
|
+
id: string;
|
|
18271
|
+
is_preferred: boolean;
|
|
18272
|
+
lead_time_days: number | null;
|
|
18273
|
+
min_order_quantity: number | null;
|
|
18274
|
+
notes: string | null;
|
|
18275
|
+
previous_price_cents: number | null;
|
|
18276
|
+
price_source: string;
|
|
18277
|
+
price_updated_at: string | null;
|
|
18278
|
+
product_id: string;
|
|
18279
|
+
purchase_price_cents: number | null;
|
|
18280
|
+
supplier_article_number: string | null;
|
|
18281
|
+
supplier_id: string;
|
|
18282
|
+
updated_at: string;
|
|
18283
|
+
};
|
|
18284
|
+
Insert: {
|
|
18285
|
+
created_at?: string;
|
|
18286
|
+
id?: string;
|
|
18287
|
+
is_preferred?: boolean;
|
|
18288
|
+
lead_time_days?: number | null;
|
|
18289
|
+
min_order_quantity?: number | null;
|
|
18290
|
+
notes?: string | null;
|
|
18291
|
+
previous_price_cents?: number | null;
|
|
18292
|
+
price_source?: string;
|
|
18293
|
+
price_updated_at?: string | null;
|
|
18294
|
+
product_id: string;
|
|
18295
|
+
purchase_price_cents?: number | null;
|
|
18296
|
+
supplier_article_number?: string | null;
|
|
18297
|
+
supplier_id: string;
|
|
18298
|
+
updated_at?: string;
|
|
18299
|
+
};
|
|
18300
|
+
Update: {
|
|
18301
|
+
created_at?: string;
|
|
18302
|
+
id?: string;
|
|
18303
|
+
is_preferred?: boolean;
|
|
18304
|
+
lead_time_days?: number | null;
|
|
18305
|
+
min_order_quantity?: number | null;
|
|
18306
|
+
notes?: string | null;
|
|
18307
|
+
previous_price_cents?: number | null;
|
|
18308
|
+
price_source?: string;
|
|
18309
|
+
price_updated_at?: string | null;
|
|
18310
|
+
product_id?: string;
|
|
18311
|
+
purchase_price_cents?: number | null;
|
|
18312
|
+
supplier_article_number?: string | null;
|
|
18313
|
+
supplier_id?: string;
|
|
18314
|
+
updated_at?: string;
|
|
18315
|
+
};
|
|
18316
|
+
Relationships: [
|
|
18317
|
+
{
|
|
18318
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
18319
|
+
columns: ["product_id"];
|
|
18320
|
+
isOneToOne: false;
|
|
18321
|
+
referencedRelation: "logistics_product_dimensions";
|
|
18322
|
+
referencedColumns: ["product_id"];
|
|
18323
|
+
},
|
|
18324
|
+
{
|
|
18325
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
18326
|
+
columns: ["product_id"];
|
|
18327
|
+
isOneToOne: false;
|
|
18328
|
+
referencedRelation: "products";
|
|
18329
|
+
referencedColumns: ["id"];
|
|
18330
|
+
},
|
|
18331
|
+
{
|
|
18332
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
18333
|
+
columns: ["supplier_id"];
|
|
18334
|
+
isOneToOne: false;
|
|
18335
|
+
referencedRelation: "suppliers";
|
|
18336
|
+
referencedColumns: ["id"];
|
|
18337
|
+
}
|
|
18338
|
+
];
|
|
18339
|
+
};
|
|
18340
|
+
product_tray_stickers: {
|
|
18341
|
+
Row: {
|
|
18342
|
+
bestand_url: string;
|
|
18343
|
+
bestandsgrootte: number | null;
|
|
18344
|
+
bestandsnaam: string | null;
|
|
18345
|
+
bestandspad: string | null;
|
|
18346
|
+
created_at: string;
|
|
18347
|
+
product_id: string;
|
|
18348
|
+
updated_at: string;
|
|
18349
|
+
};
|
|
18350
|
+
Insert: {
|
|
18351
|
+
bestand_url: string;
|
|
18352
|
+
bestandsgrootte?: number | null;
|
|
18353
|
+
bestandsnaam?: string | null;
|
|
18354
|
+
bestandspad?: string | null;
|
|
18355
|
+
created_at?: string;
|
|
18356
|
+
product_id: string;
|
|
18357
|
+
updated_at?: string;
|
|
18358
|
+
};
|
|
18359
|
+
Update: {
|
|
18360
|
+
bestand_url?: string;
|
|
18361
|
+
bestandsgrootte?: number | null;
|
|
18362
|
+
bestandsnaam?: string | null;
|
|
18363
|
+
bestandspad?: string | null;
|
|
18364
|
+
created_at?: string;
|
|
18365
|
+
product_id?: string;
|
|
18366
|
+
updated_at?: string;
|
|
18367
|
+
};
|
|
18368
|
+
Relationships: [
|
|
18369
|
+
{
|
|
18370
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
18371
|
+
columns: ["product_id"];
|
|
18372
|
+
isOneToOne: true;
|
|
18373
|
+
referencedRelation: "logistics_product_dimensions";
|
|
18374
|
+
referencedColumns: ["product_id"];
|
|
18375
|
+
},
|
|
18376
|
+
{
|
|
18377
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
18378
|
+
columns: ["product_id"];
|
|
18379
|
+
isOneToOne: true;
|
|
18380
|
+
referencedRelation: "products";
|
|
18381
|
+
referencedColumns: ["id"];
|
|
18382
|
+
}
|
|
18383
|
+
];
|
|
18384
|
+
};
|
|
18117
18385
|
products: {
|
|
18118
18386
|
Row: {
|
|
18119
18387
|
article_number: string | null;
|
|
@@ -18596,9 +18864,13 @@ export type Database = {
|
|
|
18596
18864
|
purchase_order_items: {
|
|
18597
18865
|
Row: {
|
|
18598
18866
|
article_number: string | null;
|
|
18867
|
+
cancel_reason: string | null;
|
|
18868
|
+
cancelled_at: string | null;
|
|
18599
18869
|
created_at: string;
|
|
18600
18870
|
delivery_date: string | null;
|
|
18601
18871
|
id: string;
|
|
18872
|
+
incoming_booked: number;
|
|
18873
|
+
line_status: string;
|
|
18602
18874
|
name: string;
|
|
18603
18875
|
note: string | null;
|
|
18604
18876
|
pot_size: string | null;
|
|
@@ -18606,6 +18878,8 @@ export type Database = {
|
|
|
18606
18878
|
product_type: string;
|
|
18607
18879
|
purchase_order_id: string;
|
|
18608
18880
|
quantity: number;
|
|
18881
|
+
received_at: string | null;
|
|
18882
|
+
received_booked: number;
|
|
18609
18883
|
supplier_id: string | null;
|
|
18610
18884
|
supplier_product_id: string | null;
|
|
18611
18885
|
unit_price_cents: number;
|
|
@@ -18613,9 +18887,13 @@ export type Database = {
|
|
|
18613
18887
|
};
|
|
18614
18888
|
Insert: {
|
|
18615
18889
|
article_number?: string | null;
|
|
18890
|
+
cancel_reason?: string | null;
|
|
18891
|
+
cancelled_at?: string | null;
|
|
18616
18892
|
created_at?: string;
|
|
18617
18893
|
delivery_date?: string | null;
|
|
18618
18894
|
id?: string;
|
|
18895
|
+
incoming_booked?: number;
|
|
18896
|
+
line_status?: string;
|
|
18619
18897
|
name?: string;
|
|
18620
18898
|
note?: string | null;
|
|
18621
18899
|
pot_size?: string | null;
|
|
@@ -18623,6 +18901,8 @@ export type Database = {
|
|
|
18623
18901
|
product_type?: string;
|
|
18624
18902
|
purchase_order_id: string;
|
|
18625
18903
|
quantity?: number;
|
|
18904
|
+
received_at?: string | null;
|
|
18905
|
+
received_booked?: number;
|
|
18626
18906
|
supplier_id?: string | null;
|
|
18627
18907
|
supplier_product_id?: string | null;
|
|
18628
18908
|
unit_price_cents?: number;
|
|
@@ -18630,9 +18910,13 @@ export type Database = {
|
|
|
18630
18910
|
};
|
|
18631
18911
|
Update: {
|
|
18632
18912
|
article_number?: string | null;
|
|
18913
|
+
cancel_reason?: string | null;
|
|
18914
|
+
cancelled_at?: string | null;
|
|
18633
18915
|
created_at?: string;
|
|
18634
18916
|
delivery_date?: string | null;
|
|
18635
18917
|
id?: string;
|
|
18918
|
+
incoming_booked?: number;
|
|
18919
|
+
line_status?: string;
|
|
18636
18920
|
name?: string;
|
|
18637
18921
|
note?: string | null;
|
|
18638
18922
|
pot_size?: string | null;
|
|
@@ -18640,6 +18924,8 @@ export type Database = {
|
|
|
18640
18924
|
product_type?: string;
|
|
18641
18925
|
purchase_order_id?: string;
|
|
18642
18926
|
quantity?: number;
|
|
18927
|
+
received_at?: string | null;
|
|
18928
|
+
received_booked?: number;
|
|
18643
18929
|
supplier_id?: string | null;
|
|
18644
18930
|
supplier_product_id?: string | null;
|
|
18645
18931
|
unit_price_cents?: number;
|
|
@@ -18752,97 +19038,252 @@ export type Database = {
|
|
|
18752
19038
|
}
|
|
18753
19039
|
];
|
|
18754
19040
|
};
|
|
18755
|
-
|
|
19041
|
+
purchase_request_events: {
|
|
18756
19042
|
Row: {
|
|
18757
|
-
booking_id: string | null;
|
|
18758
19043
|
created_at: string;
|
|
19044
|
+
details: Json | null;
|
|
19045
|
+
event_type: string;
|
|
18759
19046
|
id: string;
|
|
18760
|
-
|
|
18761
|
-
message: string;
|
|
18762
|
-
recipient_email: string | null;
|
|
18763
|
-
title: string;
|
|
18764
|
-
type: string;
|
|
19047
|
+
request_id: string;
|
|
18765
19048
|
};
|
|
18766
19049
|
Insert: {
|
|
18767
|
-
booking_id?: string | null;
|
|
18768
19050
|
created_at?: string;
|
|
19051
|
+
details?: Json | null;
|
|
19052
|
+
event_type: string;
|
|
18769
19053
|
id?: string;
|
|
18770
|
-
|
|
18771
|
-
message: string;
|
|
18772
|
-
recipient_email?: string | null;
|
|
18773
|
-
title: string;
|
|
18774
|
-
type: string;
|
|
19054
|
+
request_id: string;
|
|
18775
19055
|
};
|
|
18776
19056
|
Update: {
|
|
18777
|
-
booking_id?: string | null;
|
|
18778
19057
|
created_at?: string;
|
|
19058
|
+
details?: Json | null;
|
|
19059
|
+
event_type?: string;
|
|
18779
19060
|
id?: string;
|
|
18780
|
-
|
|
18781
|
-
message?: string;
|
|
18782
|
-
recipient_email?: string | null;
|
|
18783
|
-
title?: string;
|
|
18784
|
-
type?: string;
|
|
19061
|
+
request_id?: string;
|
|
18785
19062
|
};
|
|
18786
19063
|
Relationships: [
|
|
18787
19064
|
{
|
|
18788
|
-
foreignKeyName: "
|
|
18789
|
-
columns: ["
|
|
19065
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
19066
|
+
columns: ["request_id"];
|
|
18790
19067
|
isOneToOne: false;
|
|
18791
|
-
referencedRelation: "
|
|
19068
|
+
referencedRelation: "purchase_requests";
|
|
18792
19069
|
referencedColumns: ["id"];
|
|
18793
19070
|
}
|
|
18794
19071
|
];
|
|
18795
19072
|
};
|
|
18796
|
-
|
|
19073
|
+
purchase_request_responses: {
|
|
18797
19074
|
Row: {
|
|
19075
|
+
confirmed_date: string | null;
|
|
19076
|
+
confirmed_price_cents: number | null;
|
|
19077
|
+
confirmed_quantity: number;
|
|
18798
19078
|
created_at: string;
|
|
18799
19079
|
id: string;
|
|
18800
|
-
|
|
18801
|
-
|
|
19080
|
+
not_available: boolean;
|
|
19081
|
+
note: string | null;
|
|
19082
|
+
purchase_order_item_id: string;
|
|
19083
|
+
request_id: string;
|
|
19084
|
+
updated_at: string;
|
|
18802
19085
|
};
|
|
18803
19086
|
Insert: {
|
|
19087
|
+
confirmed_date?: string | null;
|
|
19088
|
+
confirmed_price_cents?: number | null;
|
|
19089
|
+
confirmed_quantity?: number;
|
|
18804
19090
|
created_at?: string;
|
|
18805
19091
|
id?: string;
|
|
18806
|
-
|
|
18807
|
-
|
|
19092
|
+
not_available?: boolean;
|
|
19093
|
+
note?: string | null;
|
|
19094
|
+
purchase_order_item_id: string;
|
|
19095
|
+
request_id: string;
|
|
19096
|
+
updated_at?: string;
|
|
18808
19097
|
};
|
|
18809
19098
|
Update: {
|
|
19099
|
+
confirmed_date?: string | null;
|
|
19100
|
+
confirmed_price_cents?: number | null;
|
|
19101
|
+
confirmed_quantity?: number;
|
|
18810
19102
|
created_at?: string;
|
|
18811
19103
|
id?: string;
|
|
18812
|
-
|
|
18813
|
-
|
|
19104
|
+
not_available?: boolean;
|
|
19105
|
+
note?: string | null;
|
|
19106
|
+
purchase_order_item_id?: string;
|
|
19107
|
+
request_id?: string;
|
|
19108
|
+
updated_at?: string;
|
|
18814
19109
|
};
|
|
18815
19110
|
Relationships: [
|
|
18816
19111
|
{
|
|
18817
|
-
foreignKeyName: "
|
|
18818
|
-
columns: ["
|
|
19112
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
19113
|
+
columns: ["purchase_order_item_id"];
|
|
18819
19114
|
isOneToOne: false;
|
|
18820
|
-
referencedRelation: "
|
|
19115
|
+
referencedRelation: "purchase_order_items";
|
|
19116
|
+
referencedColumns: ["id"];
|
|
19117
|
+
},
|
|
19118
|
+
{
|
|
19119
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
19120
|
+
columns: ["request_id"];
|
|
19121
|
+
isOneToOne: false;
|
|
19122
|
+
referencedRelation: "purchase_requests";
|
|
18821
19123
|
referencedColumns: ["id"];
|
|
18822
19124
|
}
|
|
18823
19125
|
];
|
|
18824
19126
|
};
|
|
18825
|
-
|
|
19127
|
+
purchase_requests: {
|
|
18826
19128
|
Row: {
|
|
18827
|
-
|
|
18828
|
-
|
|
18829
|
-
|
|
19129
|
+
created_at: string;
|
|
19130
|
+
expires_at: string;
|
|
19131
|
+
first_viewed_at: string | null;
|
|
18830
19132
|
id: string;
|
|
18831
|
-
|
|
18832
|
-
|
|
19133
|
+
processed_at: string | null;
|
|
19134
|
+
purchase_order_id: string;
|
|
19135
|
+
responded_at: string | null;
|
|
19136
|
+
sent_at: string;
|
|
19137
|
+
status: string;
|
|
19138
|
+
supplier_id: string | null;
|
|
19139
|
+
supplier_name: string;
|
|
19140
|
+
supplier_note: string | null;
|
|
19141
|
+
to_address: string | null;
|
|
19142
|
+
token_hash: string;
|
|
18833
19143
|
updated_at: string;
|
|
18834
19144
|
};
|
|
18835
19145
|
Insert: {
|
|
18836
|
-
|
|
18837
|
-
|
|
18838
|
-
|
|
19146
|
+
created_at?: string;
|
|
19147
|
+
expires_at?: string;
|
|
19148
|
+
first_viewed_at?: string | null;
|
|
18839
19149
|
id?: string;
|
|
18840
|
-
|
|
18841
|
-
|
|
18842
|
-
|
|
18843
|
-
|
|
18844
|
-
|
|
18845
|
-
|
|
19150
|
+
processed_at?: string | null;
|
|
19151
|
+
purchase_order_id: string;
|
|
19152
|
+
responded_at?: string | null;
|
|
19153
|
+
sent_at?: string;
|
|
19154
|
+
status?: string;
|
|
19155
|
+
supplier_id?: string | null;
|
|
19156
|
+
supplier_name?: string;
|
|
19157
|
+
supplier_note?: string | null;
|
|
19158
|
+
to_address?: string | null;
|
|
19159
|
+
token_hash: string;
|
|
19160
|
+
updated_at?: string;
|
|
19161
|
+
};
|
|
19162
|
+
Update: {
|
|
19163
|
+
created_at?: string;
|
|
19164
|
+
expires_at?: string;
|
|
19165
|
+
first_viewed_at?: string | null;
|
|
19166
|
+
id?: string;
|
|
19167
|
+
processed_at?: string | null;
|
|
19168
|
+
purchase_order_id?: string;
|
|
19169
|
+
responded_at?: string | null;
|
|
19170
|
+
sent_at?: string;
|
|
19171
|
+
status?: string;
|
|
19172
|
+
supplier_id?: string | null;
|
|
19173
|
+
supplier_name?: string;
|
|
19174
|
+
supplier_note?: string | null;
|
|
19175
|
+
to_address?: string | null;
|
|
19176
|
+
token_hash?: string;
|
|
19177
|
+
updated_at?: string;
|
|
19178
|
+
};
|
|
19179
|
+
Relationships: [
|
|
19180
|
+
{
|
|
19181
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
19182
|
+
columns: ["purchase_order_id"];
|
|
19183
|
+
isOneToOne: false;
|
|
19184
|
+
referencedRelation: "purchase_orders";
|
|
19185
|
+
referencedColumns: ["id"];
|
|
19186
|
+
},
|
|
19187
|
+
{
|
|
19188
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
19189
|
+
columns: ["supplier_id"];
|
|
19190
|
+
isOneToOne: false;
|
|
19191
|
+
referencedRelation: "suppliers";
|
|
19192
|
+
referencedColumns: ["id"];
|
|
19193
|
+
}
|
|
19194
|
+
];
|
|
19195
|
+
};
|
|
19196
|
+
reception_notifications: {
|
|
19197
|
+
Row: {
|
|
19198
|
+
booking_id: string | null;
|
|
19199
|
+
created_at: string;
|
|
19200
|
+
id: string;
|
|
19201
|
+
is_read: boolean;
|
|
19202
|
+
message: string;
|
|
19203
|
+
recipient_email: string | null;
|
|
19204
|
+
title: string;
|
|
19205
|
+
type: string;
|
|
19206
|
+
};
|
|
19207
|
+
Insert: {
|
|
19208
|
+
booking_id?: string | null;
|
|
19209
|
+
created_at?: string;
|
|
19210
|
+
id?: string;
|
|
19211
|
+
is_read?: boolean;
|
|
19212
|
+
message: string;
|
|
19213
|
+
recipient_email?: string | null;
|
|
19214
|
+
title: string;
|
|
19215
|
+
type: string;
|
|
19216
|
+
};
|
|
19217
|
+
Update: {
|
|
19218
|
+
booking_id?: string | null;
|
|
19219
|
+
created_at?: string;
|
|
19220
|
+
id?: string;
|
|
19221
|
+
is_read?: boolean;
|
|
19222
|
+
message?: string;
|
|
19223
|
+
recipient_email?: string | null;
|
|
19224
|
+
title?: string;
|
|
19225
|
+
type?: string;
|
|
19226
|
+
};
|
|
19227
|
+
Relationships: [
|
|
19228
|
+
{
|
|
19229
|
+
foreignKeyName: "reception_notifications_booking_id_fkey";
|
|
19230
|
+
columns: ["booking_id"];
|
|
19231
|
+
isOneToOne: false;
|
|
19232
|
+
referencedRelation: "bookings";
|
|
19233
|
+
referencedColumns: ["id"];
|
|
19234
|
+
}
|
|
19235
|
+
];
|
|
19236
|
+
};
|
|
19237
|
+
role_assignments: {
|
|
19238
|
+
Row: {
|
|
19239
|
+
created_at: string;
|
|
19240
|
+
id: string;
|
|
19241
|
+
role_id: string;
|
|
19242
|
+
user_id: string;
|
|
19243
|
+
};
|
|
19244
|
+
Insert: {
|
|
19245
|
+
created_at?: string;
|
|
19246
|
+
id?: string;
|
|
19247
|
+
role_id: string;
|
|
19248
|
+
user_id: string;
|
|
19249
|
+
};
|
|
19250
|
+
Update: {
|
|
19251
|
+
created_at?: string;
|
|
19252
|
+
id?: string;
|
|
19253
|
+
role_id?: string;
|
|
19254
|
+
user_id?: string;
|
|
19255
|
+
};
|
|
19256
|
+
Relationships: [
|
|
19257
|
+
{
|
|
19258
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
19259
|
+
columns: ["role_id"];
|
|
19260
|
+
isOneToOne: false;
|
|
19261
|
+
referencedRelation: "roles";
|
|
19262
|
+
referencedColumns: ["id"];
|
|
19263
|
+
}
|
|
19264
|
+
];
|
|
19265
|
+
};
|
|
19266
|
+
role_permissions: {
|
|
19267
|
+
Row: {
|
|
19268
|
+
can_edit: boolean;
|
|
19269
|
+
can_view: boolean;
|
|
19270
|
+
feature_id: string;
|
|
19271
|
+
id: string;
|
|
19272
|
+
module_id: string;
|
|
19273
|
+
role_id: string;
|
|
19274
|
+
updated_at: string;
|
|
19275
|
+
};
|
|
19276
|
+
Insert: {
|
|
19277
|
+
can_edit?: boolean;
|
|
19278
|
+
can_view?: boolean;
|
|
19279
|
+
feature_id?: string;
|
|
19280
|
+
id?: string;
|
|
19281
|
+
module_id: string;
|
|
19282
|
+
role_id: string;
|
|
19283
|
+
updated_at?: string;
|
|
19284
|
+
};
|
|
19285
|
+
Update: {
|
|
19286
|
+
can_edit?: boolean;
|
|
18846
19287
|
can_view?: boolean;
|
|
18847
19288
|
feature_id?: string;
|
|
18848
19289
|
id?: string;
|
|
@@ -20965,6 +21406,7 @@ export type Database = {
|
|
|
20965
21406
|
auto_invoice_enabled: boolean;
|
|
20966
21407
|
auto_invoice_start_date: string | null;
|
|
20967
21408
|
auto_invoice_trigger_statuses: string[];
|
|
21409
|
+
auto_send_mode: string | null;
|
|
20968
21410
|
created_at: string;
|
|
20969
21411
|
debtor_gl_account: string;
|
|
20970
21412
|
default_article_code: string | null;
|
|
@@ -20993,6 +21435,7 @@ export type Database = {
|
|
|
20993
21435
|
auto_invoice_enabled?: boolean;
|
|
20994
21436
|
auto_invoice_start_date?: string | null;
|
|
20995
21437
|
auto_invoice_trigger_statuses?: string[];
|
|
21438
|
+
auto_send_mode?: string | null;
|
|
20996
21439
|
created_at?: string;
|
|
20997
21440
|
debtor_gl_account?: string;
|
|
20998
21441
|
default_article_code?: string | null;
|
|
@@ -21021,6 +21464,7 @@ export type Database = {
|
|
|
21021
21464
|
auto_invoice_enabled?: boolean;
|
|
21022
21465
|
auto_invoice_start_date?: string | null;
|
|
21023
21466
|
auto_invoice_trigger_statuses?: string[];
|
|
21467
|
+
auto_send_mode?: string | null;
|
|
21024
21468
|
created_at?: string;
|
|
21025
21469
|
debtor_gl_account?: string;
|
|
21026
21470
|
default_article_code?: string | null;
|
|
@@ -21469,16 +21913,19 @@ export type Database = {
|
|
|
21469
21913
|
Row: {
|
|
21470
21914
|
active_environment: string;
|
|
21471
21915
|
id: number;
|
|
21916
|
+
public_base_url: string | null;
|
|
21472
21917
|
updated_at: string;
|
|
21473
21918
|
};
|
|
21474
21919
|
Insert: {
|
|
21475
21920
|
active_environment?: string;
|
|
21476
21921
|
id?: number;
|
|
21922
|
+
public_base_url?: string | null;
|
|
21477
21923
|
updated_at?: string;
|
|
21478
21924
|
};
|
|
21479
21925
|
Update: {
|
|
21480
21926
|
active_environment?: string;
|
|
21481
21927
|
id?: number;
|
|
21928
|
+
public_base_url?: string | null;
|
|
21482
21929
|
updated_at?: string;
|
|
21483
21930
|
};
|
|
21484
21931
|
Relationships: [];
|
|
@@ -21714,11 +22161,15 @@ export type Database = {
|
|
|
21714
22161
|
monteur_id: string;
|
|
21715
22162
|
netto_verschil_minuten: number;
|
|
21716
22163
|
normaal_uitbetaald_minuten: number;
|
|
22164
|
+
omgezet_vakantie_minuten: number;
|
|
22165
|
+
overdracht_vorige_minuten: number;
|
|
21717
22166
|
overuren_minuten: number;
|
|
21718
22167
|
plus_minuten: number;
|
|
22168
|
+
rest_overuren_minuten: number;
|
|
21719
22169
|
status: string;
|
|
21720
22170
|
totaal_uitbetaald_minuten: number;
|
|
21721
22171
|
updated_at: string;
|
|
22172
|
+
vakantie_uren_bijgeschreven: number;
|
|
21722
22173
|
};
|
|
21723
22174
|
Insert: {
|
|
21724
22175
|
afgesloten_at?: string | null;
|
|
@@ -21735,11 +22186,15 @@ export type Database = {
|
|
|
21735
22186
|
monteur_id: string;
|
|
21736
22187
|
netto_verschil_minuten?: number;
|
|
21737
22188
|
normaal_uitbetaald_minuten?: number;
|
|
22189
|
+
omgezet_vakantie_minuten?: number;
|
|
22190
|
+
overdracht_vorige_minuten?: number;
|
|
21738
22191
|
overuren_minuten?: number;
|
|
21739
22192
|
plus_minuten?: number;
|
|
22193
|
+
rest_overuren_minuten?: number;
|
|
21740
22194
|
status?: string;
|
|
21741
22195
|
totaal_uitbetaald_minuten?: number;
|
|
21742
22196
|
updated_at?: string;
|
|
22197
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21743
22198
|
};
|
|
21744
22199
|
Update: {
|
|
21745
22200
|
afgesloten_at?: string | null;
|
|
@@ -21756,11 +22211,15 @@ export type Database = {
|
|
|
21756
22211
|
monteur_id?: string;
|
|
21757
22212
|
netto_verschil_minuten?: number;
|
|
21758
22213
|
normaal_uitbetaald_minuten?: number;
|
|
22214
|
+
omgezet_vakantie_minuten?: number;
|
|
22215
|
+
overdracht_vorige_minuten?: number;
|
|
21759
22216
|
overuren_minuten?: number;
|
|
21760
22217
|
plus_minuten?: number;
|
|
22218
|
+
rest_overuren_minuten?: number;
|
|
21761
22219
|
status?: string;
|
|
21762
22220
|
totaal_uitbetaald_minuten?: number;
|
|
21763
22221
|
updated_at?: string;
|
|
22222
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21764
22223
|
};
|
|
21765
22224
|
Relationships: [];
|
|
21766
22225
|
};
|
|
@@ -22179,6 +22638,54 @@ export type Database = {
|
|
|
22179
22638
|
}
|
|
22180
22639
|
];
|
|
22181
22640
|
};
|
|
22641
|
+
vakantie_uitbetalingen: {
|
|
22642
|
+
Row: {
|
|
22643
|
+
created_at: string;
|
|
22644
|
+
created_by: string | null;
|
|
22645
|
+
days: number;
|
|
22646
|
+
id: string;
|
|
22647
|
+
note: string | null;
|
|
22648
|
+
updated_at: string;
|
|
22649
|
+
user_id: string;
|
|
22650
|
+
year: number;
|
|
22651
|
+
};
|
|
22652
|
+
Insert: {
|
|
22653
|
+
created_at?: string;
|
|
22654
|
+
created_by?: string | null;
|
|
22655
|
+
days: number;
|
|
22656
|
+
id?: string;
|
|
22657
|
+
note?: string | null;
|
|
22658
|
+
updated_at?: string;
|
|
22659
|
+
user_id: string;
|
|
22660
|
+
year?: number;
|
|
22661
|
+
};
|
|
22662
|
+
Update: {
|
|
22663
|
+
created_at?: string;
|
|
22664
|
+
created_by?: string | null;
|
|
22665
|
+
days?: number;
|
|
22666
|
+
id?: string;
|
|
22667
|
+
note?: string | null;
|
|
22668
|
+
updated_at?: string;
|
|
22669
|
+
user_id?: string;
|
|
22670
|
+
year?: number;
|
|
22671
|
+
};
|
|
22672
|
+
Relationships: [
|
|
22673
|
+
{
|
|
22674
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
22675
|
+
columns: ["created_by"];
|
|
22676
|
+
isOneToOne: false;
|
|
22677
|
+
referencedRelation: "profiles";
|
|
22678
|
+
referencedColumns: ["id"];
|
|
22679
|
+
},
|
|
22680
|
+
{
|
|
22681
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
22682
|
+
columns: ["user_id"];
|
|
22683
|
+
isOneToOne: false;
|
|
22684
|
+
referencedRelation: "profiles";
|
|
22685
|
+
referencedColumns: ["id"];
|
|
22686
|
+
}
|
|
22687
|
+
];
|
|
22688
|
+
};
|
|
22182
22689
|
van_inventories: {
|
|
22183
22690
|
Row: {
|
|
22184
22691
|
barcode: string | null;
|
|
@@ -23494,6 +24001,83 @@ export type Database = {
|
|
|
23494
24001
|
}
|
|
23495
24002
|
];
|
|
23496
24003
|
};
|
|
24004
|
+
werkbon_voorstellen: {
|
|
24005
|
+
Row: {
|
|
24006
|
+
bron_werkbon_id: string;
|
|
24007
|
+
budget_mandate_cents: number;
|
|
24008
|
+
created_at: string;
|
|
24009
|
+
created_by: string;
|
|
24010
|
+
customer_id: string | null;
|
|
24011
|
+
id: string;
|
|
24012
|
+
payload: Json;
|
|
24013
|
+
reden: string | null;
|
|
24014
|
+
status: string;
|
|
24015
|
+
updated_at: string;
|
|
24016
|
+
verwerkt_door: string | null;
|
|
24017
|
+
verwerkt_op: string | null;
|
|
24018
|
+
werkbon_id: string | null;
|
|
24019
|
+
};
|
|
24020
|
+
Insert: {
|
|
24021
|
+
bron_werkbon_id: string;
|
|
24022
|
+
budget_mandate_cents?: number;
|
|
24023
|
+
created_at?: string;
|
|
24024
|
+
created_by?: string;
|
|
24025
|
+
customer_id?: string | null;
|
|
24026
|
+
id?: string;
|
|
24027
|
+
payload?: Json;
|
|
24028
|
+
reden?: string | null;
|
|
24029
|
+
status?: string;
|
|
24030
|
+
updated_at?: string;
|
|
24031
|
+
verwerkt_door?: string | null;
|
|
24032
|
+
verwerkt_op?: string | null;
|
|
24033
|
+
werkbon_id?: string | null;
|
|
24034
|
+
};
|
|
24035
|
+
Update: {
|
|
24036
|
+
bron_werkbon_id?: string;
|
|
24037
|
+
budget_mandate_cents?: number;
|
|
24038
|
+
created_at?: string;
|
|
24039
|
+
created_by?: string;
|
|
24040
|
+
customer_id?: string | null;
|
|
24041
|
+
id?: string;
|
|
24042
|
+
payload?: Json;
|
|
24043
|
+
reden?: string | null;
|
|
24044
|
+
status?: string;
|
|
24045
|
+
updated_at?: string;
|
|
24046
|
+
verwerkt_door?: string | null;
|
|
24047
|
+
verwerkt_op?: string | null;
|
|
24048
|
+
werkbon_id?: string | null;
|
|
24049
|
+
};
|
|
24050
|
+
Relationships: [
|
|
24051
|
+
{
|
|
24052
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
24053
|
+
columns: ["bron_werkbon_id"];
|
|
24054
|
+
isOneToOne: false;
|
|
24055
|
+
referencedRelation: "werkbonnen";
|
|
24056
|
+
referencedColumns: ["id"];
|
|
24057
|
+
},
|
|
24058
|
+
{
|
|
24059
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
24060
|
+
columns: ["bron_werkbon_id"];
|
|
24061
|
+
isOneToOne: false;
|
|
24062
|
+
referencedRelation: "wo_overview";
|
|
24063
|
+
referencedColumns: ["id"];
|
|
24064
|
+
},
|
|
24065
|
+
{
|
|
24066
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
24067
|
+
columns: ["werkbon_id"];
|
|
24068
|
+
isOneToOne: false;
|
|
24069
|
+
referencedRelation: "werkbonnen";
|
|
24070
|
+
referencedColumns: ["id"];
|
|
24071
|
+
},
|
|
24072
|
+
{
|
|
24073
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
24074
|
+
columns: ["werkbon_id"];
|
|
24075
|
+
isOneToOne: false;
|
|
24076
|
+
referencedRelation: "wo_overview";
|
|
24077
|
+
referencedColumns: ["id"];
|
|
24078
|
+
}
|
|
24079
|
+
];
|
|
24080
|
+
};
|
|
23497
24081
|
werkbonnen: {
|
|
23498
24082
|
Row: {
|
|
23499
24083
|
assigned_user_id: string | null;
|
|
@@ -24772,6 +25356,10 @@ export type Database = {
|
|
|
24772
25356
|
};
|
|
24773
25357
|
Returns: undefined;
|
|
24774
25358
|
};
|
|
25359
|
+
_wo_is_planner: {
|
|
25360
|
+
Args: never;
|
|
25361
|
+
Returns: boolean;
|
|
25362
|
+
};
|
|
24775
25363
|
afh_city_code: {
|
|
24776
25364
|
Args: {
|
|
24777
25365
|
_city: string;
|
|
@@ -25884,6 +26472,22 @@ export type Database = {
|
|
|
25884
26472
|
};
|
|
25885
26473
|
Returns: number;
|
|
25886
26474
|
};
|
|
26475
|
+
get_product_stock: {
|
|
26476
|
+
Args: {
|
|
26477
|
+
p_product_id: string;
|
|
26478
|
+
};
|
|
26479
|
+
Returns: {
|
|
26480
|
+
connection_id: string;
|
|
26481
|
+
incoming_stock: number;
|
|
26482
|
+
minimum_stock: number;
|
|
26483
|
+
notes: string;
|
|
26484
|
+
physical_stock: number;
|
|
26485
|
+
product_id: string;
|
|
26486
|
+
reserved_stock: number;
|
|
26487
|
+
trade_item_key: string;
|
|
26488
|
+
updated_at: string;
|
|
26489
|
+
}[];
|
|
26490
|
+
};
|
|
25887
26491
|
get_room_busy_windows: {
|
|
25888
26492
|
Args: {
|
|
25889
26493
|
p_from: string;
|
|
@@ -26188,13 +26792,66 @@ export type Database = {
|
|
|
26188
26792
|
};
|
|
26189
26793
|
Returns: Json;
|
|
26190
26794
|
};
|
|
26795
|
+
inkoop_cancel_line: {
|
|
26796
|
+
Args: {
|
|
26797
|
+
_item_id: string;
|
|
26798
|
+
_reason: string;
|
|
26799
|
+
};
|
|
26800
|
+
Returns: string;
|
|
26801
|
+
};
|
|
26802
|
+
inkoop_get_supplier_request: {
|
|
26803
|
+
Args: {
|
|
26804
|
+
_token: string;
|
|
26805
|
+
};
|
|
26806
|
+
Returns: Json;
|
|
26807
|
+
};
|
|
26808
|
+
inkoop_hash_token: {
|
|
26809
|
+
Args: {
|
|
26810
|
+
_token: string;
|
|
26811
|
+
};
|
|
26812
|
+
Returns: string;
|
|
26813
|
+
};
|
|
26814
|
+
inkoop_html_escape: {
|
|
26815
|
+
Args: {
|
|
26816
|
+
_t: string;
|
|
26817
|
+
};
|
|
26818
|
+
Returns: string;
|
|
26819
|
+
};
|
|
26820
|
+
inkoop_list_artikelen: {
|
|
26821
|
+
Args: never;
|
|
26822
|
+
Returns: {
|
|
26823
|
+
article_number: string;
|
|
26824
|
+
barcode: string;
|
|
26825
|
+
id: string;
|
|
26826
|
+
incoming_quantity: number;
|
|
26827
|
+
is_layer: boolean;
|
|
26828
|
+
location: string;
|
|
26829
|
+
min_quantity: number;
|
|
26830
|
+
preferred_supplier_name: string;
|
|
26831
|
+
product: string;
|
|
26832
|
+
product_type: string;
|
|
26833
|
+
purchase_price: number;
|
|
26834
|
+
quantity: number;
|
|
26835
|
+
sale_price: number;
|
|
26836
|
+
supplier_count: number;
|
|
26837
|
+
unit: string;
|
|
26838
|
+
}[];
|
|
26839
|
+
};
|
|
26191
26840
|
inkoop_next_order_number: {
|
|
26192
26841
|
Args: never;
|
|
26193
26842
|
Returns: string;
|
|
26194
26843
|
};
|
|
26844
|
+
inkoop_process_request: {
|
|
26845
|
+
Args: {
|
|
26846
|
+
_request_id: string;
|
|
26847
|
+
};
|
|
26848
|
+
Returns: undefined;
|
|
26849
|
+
};
|
|
26195
26850
|
inkoop_send_order: {
|
|
26196
26851
|
Args: {
|
|
26852
|
+
_base_url?: string;
|
|
26197
26853
|
_order_id: string;
|
|
26854
|
+
_resend?: boolean;
|
|
26198
26855
|
};
|
|
26199
26856
|
Returns: {
|
|
26200
26857
|
outbox_id: string;
|
|
@@ -26202,6 +26859,33 @@ export type Database = {
|
|
|
26202
26859
|
to_address: string;
|
|
26203
26860
|
}[];
|
|
26204
26861
|
};
|
|
26862
|
+
inkoop_set_preferred_supplier: {
|
|
26863
|
+
Args: {
|
|
26864
|
+
_product_id: string;
|
|
26865
|
+
_supplier_id: string;
|
|
26866
|
+
};
|
|
26867
|
+
Returns: undefined;
|
|
26868
|
+
};
|
|
26869
|
+
inkoop_stock_key: {
|
|
26870
|
+
Args: {
|
|
26871
|
+
p_product_id: string;
|
|
26872
|
+
};
|
|
26873
|
+
Returns: string;
|
|
26874
|
+
};
|
|
26875
|
+
inkoop_submit_supplier_response: {
|
|
26876
|
+
Args: {
|
|
26877
|
+
_lines: Json;
|
|
26878
|
+
_note?: string;
|
|
26879
|
+
_token: string;
|
|
26880
|
+
};
|
|
26881
|
+
Returns: Json;
|
|
26882
|
+
};
|
|
26883
|
+
inkoop_sync_item_stock: {
|
|
26884
|
+
Args: {
|
|
26885
|
+
p_item_id: string;
|
|
26886
|
+
};
|
|
26887
|
+
Returns: undefined;
|
|
26888
|
+
};
|
|
26205
26889
|
instructie_get: {
|
|
26206
26890
|
Args: {
|
|
26207
26891
|
_sleutel: string;
|
|
@@ -26221,6 +26905,10 @@ export type Database = {
|
|
|
26221
26905
|
};
|
|
26222
26906
|
Returns: number;
|
|
26223
26907
|
};
|
|
26908
|
+
invoice_branding_snapshot: {
|
|
26909
|
+
Args: never;
|
|
26910
|
+
Returns: Json;
|
|
26911
|
+
};
|
|
26224
26912
|
invoice_create_from_source: {
|
|
26225
26913
|
Args: {
|
|
26226
26914
|
_payload?: Json;
|
|
@@ -26255,6 +26943,17 @@ export type Database = {
|
|
|
26255
26943
|
};
|
|
26256
26944
|
Returns: Json;
|
|
26257
26945
|
};
|
|
26946
|
+
invoice_mark_sent: {
|
|
26947
|
+
Args: {
|
|
26948
|
+
_invoice_id: string;
|
|
26949
|
+
_to: string;
|
|
26950
|
+
};
|
|
26951
|
+
Returns: undefined;
|
|
26952
|
+
};
|
|
26953
|
+
invoice_peek_next_number: {
|
|
26954
|
+
Args: never;
|
|
26955
|
+
Returns: string;
|
|
26956
|
+
};
|
|
26258
26957
|
invoice_ready_work_orders: {
|
|
26259
26958
|
Args: {
|
|
26260
26959
|
_limit?: number;
|
|
@@ -26267,6 +26966,18 @@ export type Database = {
|
|
|
26267
26966
|
};
|
|
26268
26967
|
Returns: Json;
|
|
26269
26968
|
};
|
|
26969
|
+
invoice_save_branding_settings: {
|
|
26970
|
+
Args: {
|
|
26971
|
+
_payload: Json;
|
|
26972
|
+
};
|
|
26973
|
+
Returns: Json;
|
|
26974
|
+
};
|
|
26975
|
+
invoice_set_email_purpose: {
|
|
26976
|
+
Args: {
|
|
26977
|
+
_purpose: string;
|
|
26978
|
+
};
|
|
26979
|
+
Returns: string;
|
|
26980
|
+
};
|
|
26270
26981
|
invoice_source_lines: {
|
|
26271
26982
|
Args: {
|
|
26272
26983
|
_source_id: string;
|
|
@@ -26274,6 +26985,19 @@ export type Database = {
|
|
|
26274
26985
|
};
|
|
26275
26986
|
Returns: Json;
|
|
26276
26987
|
};
|
|
26988
|
+
invoice_update_full: {
|
|
26989
|
+
Args: {
|
|
26990
|
+
_invoice_id: string;
|
|
26991
|
+
_payload: Json;
|
|
26992
|
+
};
|
|
26993
|
+
Returns: Json;
|
|
26994
|
+
};
|
|
26995
|
+
invoice_work_order_locked: {
|
|
26996
|
+
Args: {
|
|
26997
|
+
_werkbon_id: string;
|
|
26998
|
+
};
|
|
26999
|
+
Returns: Json;
|
|
27000
|
+
};
|
|
26277
27001
|
is_authenticated: {
|
|
26278
27002
|
Args: never;
|
|
26279
27003
|
Returns: boolean;
|
|
@@ -26322,6 +27046,27 @@ export type Database = {
|
|
|
26322
27046
|
};
|
|
26323
27047
|
Returns: boolean;
|
|
26324
27048
|
};
|
|
27049
|
+
layout_print_document: {
|
|
27050
|
+
Args: {
|
|
27051
|
+
_documentnaam: string;
|
|
27052
|
+
_documenttype: string;
|
|
27053
|
+
_herkomst?: string;
|
|
27054
|
+
_idempotentie_sleutel?: string;
|
|
27055
|
+
_is_herprint?: boolean;
|
|
27056
|
+
_kopieen?: number;
|
|
27057
|
+
_layout_id?: string;
|
|
27058
|
+
_payload?: Json;
|
|
27059
|
+
_pdf_base64?: string;
|
|
27060
|
+
_pdf_url?: string;
|
|
27061
|
+
_print_plek_id?: string;
|
|
27062
|
+
_werkplek?: string;
|
|
27063
|
+
};
|
|
27064
|
+
Returns: {
|
|
27065
|
+
bestaand: boolean;
|
|
27066
|
+
job_id: string;
|
|
27067
|
+
printer_id: string;
|
|
27068
|
+
}[];
|
|
27069
|
+
};
|
|
26325
27070
|
list_medewerkers: {
|
|
26326
27071
|
Args: never;
|
|
26327
27072
|
Returns: {
|
|
@@ -26599,6 +27344,12 @@ export type Database = {
|
|
|
26599
27344
|
};
|
|
26600
27345
|
Returns: number;
|
|
26601
27346
|
};
|
|
27347
|
+
logistics_cart_barcode_opschonen: {
|
|
27348
|
+
Args: {
|
|
27349
|
+
p_portie?: number;
|
|
27350
|
+
};
|
|
27351
|
+
Returns: Json;
|
|
27352
|
+
};
|
|
26602
27353
|
logistics_cart_barcode_value: {
|
|
26603
27354
|
Args: {
|
|
26604
27355
|
_cart_id: string;
|
|
@@ -27433,6 +28184,12 @@ export type Database = {
|
|
|
27433
28184
|
Args: never;
|
|
27434
28185
|
Returns: string;
|
|
27435
28186
|
};
|
|
28187
|
+
logistics_order_backlog_info: {
|
|
28188
|
+
Args: {
|
|
28189
|
+
p_order_id: string;
|
|
28190
|
+
};
|
|
28191
|
+
Returns: Json;
|
|
28192
|
+
};
|
|
27436
28193
|
logistics_order_cart_approval: {
|
|
27437
28194
|
Args: {
|
|
27438
28195
|
_order_ref: string;
|
|
@@ -27523,6 +28280,12 @@ export type Database = {
|
|
|
27523
28280
|
};
|
|
27524
28281
|
Returns: boolean;
|
|
27525
28282
|
};
|
|
28283
|
+
logistics_order_is_backlog: {
|
|
28284
|
+
Args: {
|
|
28285
|
+
p_order_id: string;
|
|
28286
|
+
};
|
|
28287
|
+
Returns: boolean;
|
|
28288
|
+
};
|
|
27526
28289
|
logistics_order_is_topick: {
|
|
27527
28290
|
Args: {
|
|
27528
28291
|
p_order_id: string;
|
|
@@ -27664,6 +28427,10 @@ export type Database = {
|
|
|
27664
28427
|
shifted_count: number;
|
|
27665
28428
|
}[];
|
|
27666
28429
|
};
|
|
28430
|
+
logistics_pick_backlog_max_days: {
|
|
28431
|
+
Args: never;
|
|
28432
|
+
Returns: number;
|
|
28433
|
+
};
|
|
27667
28434
|
logistics_pick_barcode_enabled: {
|
|
27668
28435
|
Args: never;
|
|
27669
28436
|
Returns: boolean;
|
|
@@ -28192,6 +28959,13 @@ export type Database = {
|
|
|
28192
28959
|
};
|
|
28193
28960
|
Returns: string;
|
|
28194
28961
|
};
|
|
28962
|
+
logistics_shipping_note_status: {
|
|
28963
|
+
Args: {
|
|
28964
|
+
p_cart_id?: string;
|
|
28965
|
+
p_slip_job_id?: string;
|
|
28966
|
+
};
|
|
28967
|
+
Returns: Json;
|
|
28968
|
+
};
|
|
28195
28969
|
logistics_shipping_notes_wake_all: {
|
|
28196
28970
|
Args: never;
|
|
28197
28971
|
Returns: Json;
|
|
@@ -28279,12 +29053,27 @@ export type Database = {
|
|
|
28279
29053
|
Args: never;
|
|
28280
29054
|
Returns: Json;
|
|
28281
29055
|
};
|
|
29056
|
+
logistics_sync_pick_queue_backlog: {
|
|
29057
|
+
Args: never;
|
|
29058
|
+
Returns: Json;
|
|
29059
|
+
};
|
|
29060
|
+
logistics_sync_pick_queue_core: {
|
|
29061
|
+
Args: never;
|
|
29062
|
+
Returns: Json;
|
|
29063
|
+
};
|
|
28282
29064
|
logistics_sync_task_carriers: {
|
|
28283
29065
|
Args: {
|
|
28284
29066
|
p_order_ref?: string;
|
|
28285
29067
|
};
|
|
28286
29068
|
Returns: number;
|
|
28287
29069
|
};
|
|
29070
|
+
logistics_task_open_counts: {
|
|
29071
|
+
Args: never;
|
|
29072
|
+
Returns: {
|
|
29073
|
+
open_count: number;
|
|
29074
|
+
owner_module: string;
|
|
29075
|
+
}[];
|
|
29076
|
+
};
|
|
28288
29077
|
logistics_task_owner: {
|
|
28289
29078
|
Args: {
|
|
28290
29079
|
p_task_type: string;
|
|
@@ -28983,6 +29772,10 @@ export type Database = {
|
|
|
28983
29772
|
};
|
|
28984
29773
|
Returns: string;
|
|
28985
29774
|
};
|
|
29775
|
+
pick_is_reference_admin: {
|
|
29776
|
+
Args: never;
|
|
29777
|
+
Returns: boolean;
|
|
29778
|
+
};
|
|
28986
29779
|
pick_mark_printed: {
|
|
28987
29780
|
Args: {
|
|
28988
29781
|
_queue_item_id: string;
|
|
@@ -29573,6 +30366,19 @@ export type Database = {
|
|
|
29573
30366
|
};
|
|
29574
30367
|
Returns: boolean;
|
|
29575
30368
|
};
|
|
30369
|
+
quote_assign_number: {
|
|
30370
|
+
Args: {
|
|
30371
|
+
_offerte_id: string;
|
|
30372
|
+
};
|
|
30373
|
+
Returns: string;
|
|
30374
|
+
};
|
|
30375
|
+
quote_create_follow_up_now: {
|
|
30376
|
+
Args: {
|
|
30377
|
+
_offerte_id: string;
|
|
30378
|
+
_payload?: Json;
|
|
30379
|
+
};
|
|
30380
|
+
Returns: Json;
|
|
30381
|
+
};
|
|
29576
30382
|
quote_create_from_source: {
|
|
29577
30383
|
Args: {
|
|
29578
30384
|
_payload?: Json;
|
|
@@ -29843,6 +30649,13 @@ export type Database = {
|
|
|
29843
30649
|
};
|
|
29844
30650
|
Returns: Json;
|
|
29845
30651
|
};
|
|
30652
|
+
scan_controleer_pincode: {
|
|
30653
|
+
Args: {
|
|
30654
|
+
p_pin: string;
|
|
30655
|
+
p_scanner_id: string;
|
|
30656
|
+
};
|
|
30657
|
+
Returns: boolean;
|
|
30658
|
+
};
|
|
29846
30659
|
scan_dashboard_stats: {
|
|
29847
30660
|
Args: {
|
|
29848
30661
|
p_dagen?: number;
|
|
@@ -29862,6 +30675,12 @@ export type Database = {
|
|
|
29862
30675
|
};
|
|
29863
30676
|
Returns: Json;
|
|
29864
30677
|
};
|
|
30678
|
+
scan_heeft_pincode: {
|
|
30679
|
+
Args: {
|
|
30680
|
+
p_scanner_id: string;
|
|
30681
|
+
};
|
|
30682
|
+
Returns: boolean;
|
|
30683
|
+
};
|
|
29865
30684
|
scan_kar_compleet: {
|
|
29866
30685
|
Args: {
|
|
29867
30686
|
p_allow_reprint?: boolean;
|
|
@@ -29879,6 +30698,7 @@ export type Database = {
|
|
|
29879
30698
|
Args: {
|
|
29880
30699
|
p_code: string;
|
|
29881
30700
|
p_latency_ms?: number;
|
|
30701
|
+
p_medewerker?: string;
|
|
29882
30702
|
p_message?: string;
|
|
29883
30703
|
p_result: string;
|
|
29884
30704
|
p_scanner_key?: string;
|
|
@@ -29951,6 +30771,22 @@ export type Database = {
|
|
|
29951
30771
|
};
|
|
29952
30772
|
Returns: undefined;
|
|
29953
30773
|
};
|
|
30774
|
+
scan_scanner_info: {
|
|
30775
|
+
Args: {
|
|
30776
|
+
p_slug: string;
|
|
30777
|
+
};
|
|
30778
|
+
Returns: {
|
|
30779
|
+
actief: boolean;
|
|
30780
|
+
heeft_pincode: boolean;
|
|
30781
|
+
id: string;
|
|
30782
|
+
naam: string;
|
|
30783
|
+
omschrijving: string;
|
|
30784
|
+
printer_id: string;
|
|
30785
|
+
type: string;
|
|
30786
|
+
vereist_medewerker: boolean;
|
|
30787
|
+
werkplek: string;
|
|
30788
|
+
}[];
|
|
30789
|
+
};
|
|
29954
30790
|
scan_sessie_annuleren: {
|
|
29955
30791
|
Args: {
|
|
29956
30792
|
p_sessie_id: string;
|
|
@@ -30286,6 +31122,26 @@ export type Database = {
|
|
|
30286
31122
|
};
|
|
30287
31123
|
Returns: undefined;
|
|
30288
31124
|
};
|
|
31125
|
+
set_product_stock: {
|
|
31126
|
+
Args: {
|
|
31127
|
+
p_incoming_stock?: number;
|
|
31128
|
+
p_minimum_stock?: number;
|
|
31129
|
+
p_notes?: string;
|
|
31130
|
+
p_physical_stock: number;
|
|
31131
|
+
p_product_id: string;
|
|
31132
|
+
};
|
|
31133
|
+
Returns: {
|
|
31134
|
+
connection_id: string;
|
|
31135
|
+
incoming_stock: number;
|
|
31136
|
+
minimum_stock: number;
|
|
31137
|
+
notes: string;
|
|
31138
|
+
physical_stock: number;
|
|
31139
|
+
product_id: string;
|
|
31140
|
+
reserved_stock: number;
|
|
31141
|
+
trade_item_key: string;
|
|
31142
|
+
updated_at: string;
|
|
31143
|
+
}[];
|
|
31144
|
+
};
|
|
30289
31145
|
show_limit: {
|
|
30290
31146
|
Args: never;
|
|
30291
31147
|
Returns: number;
|
|
@@ -30810,6 +31666,13 @@ export type Database = {
|
|
|
30810
31666
|
};
|
|
30811
31667
|
Returns: number;
|
|
30812
31668
|
};
|
|
31669
|
+
vakantie_overuren: {
|
|
31670
|
+
Args: {
|
|
31671
|
+
_user_id: string;
|
|
31672
|
+
_year?: number;
|
|
31673
|
+
};
|
|
31674
|
+
Returns: number;
|
|
31675
|
+
};
|
|
30813
31676
|
vakantie_saldo: {
|
|
30814
31677
|
Args: {
|
|
30815
31678
|
_user_id: string;
|
|
@@ -30817,7 +31680,12 @@ export type Database = {
|
|
|
30817
31680
|
};
|
|
30818
31681
|
Returns: {
|
|
30819
31682
|
day_hours: number;
|
|
31683
|
+
earned_from_overtime_days: number;
|
|
30820
31684
|
entitlement_days: number;
|
|
31685
|
+
hours_to_next_day: number;
|
|
31686
|
+
overtime_hours: number;
|
|
31687
|
+
overtime_remainder_hours: number;
|
|
31688
|
+
paid_out_days: number;
|
|
30821
31689
|
remaining_days: number;
|
|
30822
31690
|
used_days: number;
|
|
30823
31691
|
}[];
|
|
@@ -30828,7 +31696,12 @@ export type Database = {
|
|
|
30828
31696
|
};
|
|
30829
31697
|
Returns: {
|
|
30830
31698
|
day_hours: number;
|
|
31699
|
+
earned_from_overtime_days: number;
|
|
30831
31700
|
entitlement_days: number;
|
|
31701
|
+
hours_to_next_day: number;
|
|
31702
|
+
overtime_hours: number;
|
|
31703
|
+
overtime_remainder_hours: number;
|
|
31704
|
+
paid_out_days: number;
|
|
30832
31705
|
remaining_days: number;
|
|
30833
31706
|
used_days: number;
|
|
30834
31707
|
user_id: string;
|
|
@@ -30876,18 +31749,46 @@ export type Database = {
|
|
|
30876
31749
|
};
|
|
30877
31750
|
Returns: Json;
|
|
30878
31751
|
};
|
|
31752
|
+
wo_list_colleague_planning: {
|
|
31753
|
+
Args: {
|
|
31754
|
+
_from: string;
|
|
31755
|
+
_monteur_id: string;
|
|
31756
|
+
_to: string;
|
|
31757
|
+
};
|
|
31758
|
+
Returns: {
|
|
31759
|
+
end_at: string;
|
|
31760
|
+
id: string;
|
|
31761
|
+
role: string;
|
|
31762
|
+
start_at: string;
|
|
31763
|
+
status: string;
|
|
31764
|
+
werkbon_id: string;
|
|
31765
|
+
}[];
|
|
31766
|
+
};
|
|
30879
31767
|
wo_list_offerte_requests: {
|
|
30880
31768
|
Args: {
|
|
30881
31769
|
_status?: string;
|
|
30882
31770
|
};
|
|
30883
31771
|
Returns: Json;
|
|
30884
31772
|
};
|
|
31773
|
+
wo_list_proposals: {
|
|
31774
|
+
Args: {
|
|
31775
|
+
_status?: string;
|
|
31776
|
+
};
|
|
31777
|
+
Returns: Json;
|
|
31778
|
+
};
|
|
30885
31779
|
wo_process_offerte_request: {
|
|
30886
31780
|
Args: {
|
|
30887
31781
|
_queue_id: string;
|
|
30888
31782
|
};
|
|
30889
31783
|
Returns: Json;
|
|
30890
31784
|
};
|
|
31785
|
+
wo_process_proposal: {
|
|
31786
|
+
Args: {
|
|
31787
|
+
_id: string;
|
|
31788
|
+
_overrides?: Json;
|
|
31789
|
+
};
|
|
31790
|
+
Returns: Json;
|
|
31791
|
+
};
|
|
30891
31792
|
wo_reject_offerte_request: {
|
|
30892
31793
|
Args: {
|
|
30893
31794
|
_queue_id: string;
|
|
@@ -30895,6 +31796,13 @@ export type Database = {
|
|
|
30895
31796
|
};
|
|
30896
31797
|
Returns: Json;
|
|
30897
31798
|
};
|
|
31799
|
+
wo_reject_proposal: {
|
|
31800
|
+
Args: {
|
|
31801
|
+
_id: string;
|
|
31802
|
+
_reden?: string;
|
|
31803
|
+
};
|
|
31804
|
+
Returns: Json;
|
|
31805
|
+
};
|
|
30898
31806
|
wo_set_status: {
|
|
30899
31807
|
Args: {
|
|
30900
31808
|
_reason?: string;
|