@flowselections/floriday-voorraad 1.0.48 → 1.0.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelCompositionCard.js +79 -6
- package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.js +14 -2
- package/dist-lib/components/voorraad/CollapsibleText.d.ts +9 -0
- package/dist-lib/components/voorraad/CollapsibleText.d.ts.map +1 -0
- package/dist-lib/components/voorraad/CollapsibleText.js +32 -0
- package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockMutationHistoryCard.js +2 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.d.ts +1 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.js +29 -42
- package/dist-lib/hooks/useTradeItemStock.d.ts +3 -1
- package/dist-lib/hooks/useTradeItemStock.d.ts.map +1 -1
- package/dist-lib/hooks/useTradeItemStock.js +85 -32
- package/dist-lib/hooks/useVoorraadData.d.ts.map +1 -1
- package/dist-lib/hooks/useVoorraadData.js +3 -2
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +340 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +340 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +340 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +348 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +340 -0
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +340 -0
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-env.functions.d.ts +680 -0
- package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +2040 -0
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts +680 -0
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +1020 -0
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +680 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/inventory-settings.functions.d.ts +680 -0
- package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/product-packing.d.ts.map +1 -1
- package/dist-lib/lib/product-packing.js +10 -4
- package/dist-lib/lib/stock-sync.functions.d.ts +680 -0
- package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -8474,6 +8474,69 @@ export type Database = {
|
|
|
8474
8474
|
};
|
|
8475
8475
|
Relationships: [];
|
|
8476
8476
|
};
|
|
8477
|
+
invoice_branding_settings: {
|
|
8478
|
+
Row: {
|
|
8479
|
+
address: string;
|
|
8480
|
+
chamber_of_commerce_number: string;
|
|
8481
|
+
city: string;
|
|
8482
|
+
company_name: string;
|
|
8483
|
+
created_at: string;
|
|
8484
|
+
email: string;
|
|
8485
|
+
email_purpose: string | null;
|
|
8486
|
+
iban: string;
|
|
8487
|
+
logo_path: string | null;
|
|
8488
|
+
payment_term_days: number;
|
|
8489
|
+
phone: string;
|
|
8490
|
+
postal_code: string;
|
|
8491
|
+
primary_color: string;
|
|
8492
|
+
secondary_color: string;
|
|
8493
|
+
singleton_key: boolean;
|
|
8494
|
+
updated_at: string;
|
|
8495
|
+
vat_identification_number: string;
|
|
8496
|
+
website: string;
|
|
8497
|
+
};
|
|
8498
|
+
Insert: {
|
|
8499
|
+
address?: string;
|
|
8500
|
+
chamber_of_commerce_number?: string;
|
|
8501
|
+
city?: string;
|
|
8502
|
+
company_name?: string;
|
|
8503
|
+
created_at?: string;
|
|
8504
|
+
email?: string;
|
|
8505
|
+
email_purpose?: string | null;
|
|
8506
|
+
iban?: string;
|
|
8507
|
+
logo_path?: string | null;
|
|
8508
|
+
payment_term_days?: number;
|
|
8509
|
+
phone?: string;
|
|
8510
|
+
postal_code?: string;
|
|
8511
|
+
primary_color?: string;
|
|
8512
|
+
secondary_color?: string;
|
|
8513
|
+
singleton_key?: boolean;
|
|
8514
|
+
updated_at?: string;
|
|
8515
|
+
vat_identification_number?: string;
|
|
8516
|
+
website?: string;
|
|
8517
|
+
};
|
|
8518
|
+
Update: {
|
|
8519
|
+
address?: string;
|
|
8520
|
+
chamber_of_commerce_number?: string;
|
|
8521
|
+
city?: string;
|
|
8522
|
+
company_name?: string;
|
|
8523
|
+
created_at?: string;
|
|
8524
|
+
email?: string;
|
|
8525
|
+
email_purpose?: string | null;
|
|
8526
|
+
iban?: string;
|
|
8527
|
+
logo_path?: string | null;
|
|
8528
|
+
payment_term_days?: number;
|
|
8529
|
+
phone?: string;
|
|
8530
|
+
postal_code?: string;
|
|
8531
|
+
primary_color?: string;
|
|
8532
|
+
secondary_color?: string;
|
|
8533
|
+
singleton_key?: boolean;
|
|
8534
|
+
updated_at?: string;
|
|
8535
|
+
vat_identification_number?: string;
|
|
8536
|
+
website?: string;
|
|
8537
|
+
};
|
|
8538
|
+
Relationships: [];
|
|
8539
|
+
};
|
|
8477
8540
|
invoice_items: {
|
|
8478
8541
|
Row: {
|
|
8479
8542
|
created_at: string;
|
|
@@ -8487,6 +8550,7 @@ export type Database = {
|
|
|
8487
8550
|
total_cents: number;
|
|
8488
8551
|
unit: string;
|
|
8489
8552
|
unit_price_cents: number;
|
|
8553
|
+
vat_rate: number | null;
|
|
8490
8554
|
};
|
|
8491
8555
|
Insert: {
|
|
8492
8556
|
created_at?: string;
|
|
@@ -8500,6 +8564,7 @@ export type Database = {
|
|
|
8500
8564
|
total_cents?: number;
|
|
8501
8565
|
unit?: string;
|
|
8502
8566
|
unit_price_cents?: number;
|
|
8567
|
+
vat_rate?: number | null;
|
|
8503
8568
|
};
|
|
8504
8569
|
Update: {
|
|
8505
8570
|
created_at?: string;
|
|
@@ -8513,6 +8578,7 @@ export type Database = {
|
|
|
8513
8578
|
total_cents?: number;
|
|
8514
8579
|
unit?: string;
|
|
8515
8580
|
unit_price_cents?: number;
|
|
8581
|
+
vat_rate?: number | null;
|
|
8516
8582
|
};
|
|
8517
8583
|
Relationships: [
|
|
8518
8584
|
{
|
|
@@ -8766,6 +8832,7 @@ export type Database = {
|
|
|
8766
8832
|
};
|
|
8767
8833
|
invoices: {
|
|
8768
8834
|
Row: {
|
|
8835
|
+
branding_snapshot: Json | null;
|
|
8769
8836
|
created_at: string;
|
|
8770
8837
|
created_by: string | null;
|
|
8771
8838
|
customer_address: string | null;
|
|
@@ -8784,6 +8851,8 @@ export type Database = {
|
|
|
8784
8851
|
note: string | null;
|
|
8785
8852
|
payment_term_days: number;
|
|
8786
8853
|
reference: string | null;
|
|
8854
|
+
sent_at: string | null;
|
|
8855
|
+
sent_to: string | null;
|
|
8787
8856
|
source_number: string | null;
|
|
8788
8857
|
source_ref: string | null;
|
|
8789
8858
|
source_type: string;
|
|
@@ -8796,6 +8865,7 @@ export type Database = {
|
|
|
8796
8865
|
work_address: string | null;
|
|
8797
8866
|
};
|
|
8798
8867
|
Insert: {
|
|
8868
|
+
branding_snapshot?: Json | null;
|
|
8799
8869
|
created_at?: string;
|
|
8800
8870
|
created_by?: string | null;
|
|
8801
8871
|
customer_address?: string | null;
|
|
@@ -8814,6 +8884,8 @@ export type Database = {
|
|
|
8814
8884
|
note?: string | null;
|
|
8815
8885
|
payment_term_days?: number;
|
|
8816
8886
|
reference?: string | null;
|
|
8887
|
+
sent_at?: string | null;
|
|
8888
|
+
sent_to?: string | null;
|
|
8817
8889
|
source_number?: string | null;
|
|
8818
8890
|
source_ref?: string | null;
|
|
8819
8891
|
source_type?: string;
|
|
@@ -8826,6 +8898,7 @@ export type Database = {
|
|
|
8826
8898
|
work_address?: string | null;
|
|
8827
8899
|
};
|
|
8828
8900
|
Update: {
|
|
8901
|
+
branding_snapshot?: Json | null;
|
|
8829
8902
|
created_at?: string;
|
|
8830
8903
|
created_by?: string | null;
|
|
8831
8904
|
customer_address?: string | null;
|
|
@@ -8844,6 +8917,8 @@ export type Database = {
|
|
|
8844
8917
|
note?: string | null;
|
|
8845
8918
|
payment_term_days?: number;
|
|
8846
8919
|
reference?: string | null;
|
|
8920
|
+
sent_at?: string | null;
|
|
8921
|
+
sent_to?: string | null;
|
|
8847
8922
|
source_number?: string | null;
|
|
8848
8923
|
source_ref?: string | null;
|
|
8849
8924
|
source_type?: string;
|
|
@@ -9565,6 +9640,7 @@ export type Database = {
|
|
|
9565
9640
|
quantity: number;
|
|
9566
9641
|
sort_order: number;
|
|
9567
9642
|
source: string;
|
|
9643
|
+
unit: string | null;
|
|
9568
9644
|
unit_price_cents: number;
|
|
9569
9645
|
updated_at: string;
|
|
9570
9646
|
};
|
|
@@ -9578,6 +9654,7 @@ export type Database = {
|
|
|
9578
9654
|
quantity?: number;
|
|
9579
9655
|
sort_order?: number;
|
|
9580
9656
|
source?: string;
|
|
9657
|
+
unit?: string | null;
|
|
9581
9658
|
unit_price_cents?: number;
|
|
9582
9659
|
updated_at?: string;
|
|
9583
9660
|
};
|
|
@@ -9591,6 +9668,7 @@ export type Database = {
|
|
|
9591
9668
|
quantity?: number;
|
|
9592
9669
|
sort_order?: number;
|
|
9593
9670
|
source?: string;
|
|
9671
|
+
unit?: string | null;
|
|
9594
9672
|
unit_price_cents?: number;
|
|
9595
9673
|
updated_at?: string;
|
|
9596
9674
|
};
|
|
@@ -9617,6 +9695,7 @@ export type Database = {
|
|
|
9617
9695
|
created_at: string;
|
|
9618
9696
|
default_geldigheid_dagen: number;
|
|
9619
9697
|
default_vat_rate: number;
|
|
9698
|
+
email_purpose: string | null;
|
|
9620
9699
|
id: string;
|
|
9621
9700
|
singleton: boolean;
|
|
9622
9701
|
updated_at: string;
|
|
@@ -9626,6 +9705,7 @@ export type Database = {
|
|
|
9626
9705
|
created_at?: string;
|
|
9627
9706
|
default_geldigheid_dagen?: number;
|
|
9628
9707
|
default_vat_rate?: number;
|
|
9708
|
+
email_purpose?: string | null;
|
|
9629
9709
|
id?: string;
|
|
9630
9710
|
singleton?: boolean;
|
|
9631
9711
|
updated_at?: string;
|
|
@@ -9635,6 +9715,7 @@ export type Database = {
|
|
|
9635
9715
|
created_at?: string;
|
|
9636
9716
|
default_geldigheid_dagen?: number;
|
|
9637
9717
|
default_vat_rate?: number;
|
|
9718
|
+
email_purpose?: string | null;
|
|
9638
9719
|
id?: string;
|
|
9639
9720
|
singleton?: boolean;
|
|
9640
9721
|
updated_at?: string;
|
|
@@ -9731,6 +9812,7 @@ export type Database = {
|
|
|
9731
9812
|
};
|
|
9732
9813
|
itk_offertes: {
|
|
9733
9814
|
Row: {
|
|
9815
|
+
aandachtspunten: string | null;
|
|
9734
9816
|
ai_generated: boolean;
|
|
9735
9817
|
approved_at: string | null;
|
|
9736
9818
|
binnen_mandaat: boolean;
|
|
@@ -9746,6 +9828,7 @@ export type Database = {
|
|
|
9746
9828
|
notities: string | null;
|
|
9747
9829
|
offerte_number: string | null;
|
|
9748
9830
|
omschrijving: string;
|
|
9831
|
+
onderwerp: string | null;
|
|
9749
9832
|
rejected_at: string | null;
|
|
9750
9833
|
sent_at: string | null;
|
|
9751
9834
|
source_number: string | null;
|
|
@@ -9758,12 +9841,15 @@ export type Database = {
|
|
|
9758
9841
|
valid_until: string | null;
|
|
9759
9842
|
vat_cents: number;
|
|
9760
9843
|
vat_rate: number;
|
|
9844
|
+
verzonden_naar: string | null;
|
|
9761
9845
|
viewed_at: string | null;
|
|
9762
9846
|
volgnummer: number | null;
|
|
9847
|
+
voorwaarden: string | null;
|
|
9763
9848
|
werkbon_id: string | null;
|
|
9764
9849
|
work_location_id: string | null;
|
|
9765
9850
|
};
|
|
9766
9851
|
Insert: {
|
|
9852
|
+
aandachtspunten?: string | null;
|
|
9767
9853
|
ai_generated?: boolean;
|
|
9768
9854
|
approved_at?: string | null;
|
|
9769
9855
|
binnen_mandaat?: boolean;
|
|
@@ -9779,6 +9865,7 @@ export type Database = {
|
|
|
9779
9865
|
notities?: string | null;
|
|
9780
9866
|
offerte_number?: string | null;
|
|
9781
9867
|
omschrijving?: string;
|
|
9868
|
+
onderwerp?: string | null;
|
|
9782
9869
|
rejected_at?: string | null;
|
|
9783
9870
|
sent_at?: string | null;
|
|
9784
9871
|
source_number?: string | null;
|
|
@@ -9791,12 +9878,15 @@ export type Database = {
|
|
|
9791
9878
|
valid_until?: string | null;
|
|
9792
9879
|
vat_cents?: number;
|
|
9793
9880
|
vat_rate?: number;
|
|
9881
|
+
verzonden_naar?: string | null;
|
|
9794
9882
|
viewed_at?: string | null;
|
|
9795
9883
|
volgnummer?: number | null;
|
|
9884
|
+
voorwaarden?: string | null;
|
|
9796
9885
|
werkbon_id?: string | null;
|
|
9797
9886
|
work_location_id?: string | null;
|
|
9798
9887
|
};
|
|
9799
9888
|
Update: {
|
|
9889
|
+
aandachtspunten?: string | null;
|
|
9800
9890
|
ai_generated?: boolean;
|
|
9801
9891
|
approved_at?: string | null;
|
|
9802
9892
|
binnen_mandaat?: boolean;
|
|
@@ -9812,6 +9902,7 @@ export type Database = {
|
|
|
9812
9902
|
notities?: string | null;
|
|
9813
9903
|
offerte_number?: string | null;
|
|
9814
9904
|
omschrijving?: string;
|
|
9905
|
+
onderwerp?: string | null;
|
|
9815
9906
|
rejected_at?: string | null;
|
|
9816
9907
|
sent_at?: string | null;
|
|
9817
9908
|
source_number?: string | null;
|
|
@@ -9824,8 +9915,10 @@ export type Database = {
|
|
|
9824
9915
|
valid_until?: string | null;
|
|
9825
9916
|
vat_cents?: number;
|
|
9826
9917
|
vat_rate?: number;
|
|
9918
|
+
verzonden_naar?: string | null;
|
|
9827
9919
|
viewed_at?: string | null;
|
|
9828
9920
|
volgnummer?: number | null;
|
|
9921
|
+
voorwaarden?: string | null;
|
|
9829
9922
|
werkbon_id?: string | null;
|
|
9830
9923
|
work_location_id?: string | null;
|
|
9831
9924
|
};
|
|
@@ -22224,6 +22317,54 @@ export type Database = {
|
|
|
22224
22317
|
}
|
|
22225
22318
|
];
|
|
22226
22319
|
};
|
|
22320
|
+
vakantie_uitbetalingen: {
|
|
22321
|
+
Row: {
|
|
22322
|
+
created_at: string;
|
|
22323
|
+
created_by: string | null;
|
|
22324
|
+
days: number;
|
|
22325
|
+
id: string;
|
|
22326
|
+
note: string | null;
|
|
22327
|
+
updated_at: string;
|
|
22328
|
+
user_id: string;
|
|
22329
|
+
year: number;
|
|
22330
|
+
};
|
|
22331
|
+
Insert: {
|
|
22332
|
+
created_at?: string;
|
|
22333
|
+
created_by?: string | null;
|
|
22334
|
+
days: number;
|
|
22335
|
+
id?: string;
|
|
22336
|
+
note?: string | null;
|
|
22337
|
+
updated_at?: string;
|
|
22338
|
+
user_id: string;
|
|
22339
|
+
year?: number;
|
|
22340
|
+
};
|
|
22341
|
+
Update: {
|
|
22342
|
+
created_at?: string;
|
|
22343
|
+
created_by?: string | null;
|
|
22344
|
+
days?: number;
|
|
22345
|
+
id?: string;
|
|
22346
|
+
note?: string | null;
|
|
22347
|
+
updated_at?: string;
|
|
22348
|
+
user_id?: string;
|
|
22349
|
+
year?: number;
|
|
22350
|
+
};
|
|
22351
|
+
Relationships: [
|
|
22352
|
+
{
|
|
22353
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
22354
|
+
columns: ["created_by"];
|
|
22355
|
+
isOneToOne: false;
|
|
22356
|
+
referencedRelation: "profiles";
|
|
22357
|
+
referencedColumns: ["id"];
|
|
22358
|
+
},
|
|
22359
|
+
{
|
|
22360
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
22361
|
+
columns: ["user_id"];
|
|
22362
|
+
isOneToOne: false;
|
|
22363
|
+
referencedRelation: "profiles";
|
|
22364
|
+
referencedColumns: ["id"];
|
|
22365
|
+
}
|
|
22366
|
+
];
|
|
22367
|
+
};
|
|
22227
22368
|
van_inventories: {
|
|
22228
22369
|
Row: {
|
|
22229
22370
|
barcode: string | null;
|
|
@@ -23539,6 +23680,83 @@ export type Database = {
|
|
|
23539
23680
|
}
|
|
23540
23681
|
];
|
|
23541
23682
|
};
|
|
23683
|
+
werkbon_voorstellen: {
|
|
23684
|
+
Row: {
|
|
23685
|
+
bron_werkbon_id: string;
|
|
23686
|
+
budget_mandate_cents: number;
|
|
23687
|
+
created_at: string;
|
|
23688
|
+
created_by: string;
|
|
23689
|
+
customer_id: string | null;
|
|
23690
|
+
id: string;
|
|
23691
|
+
payload: Json;
|
|
23692
|
+
reden: string | null;
|
|
23693
|
+
status: string;
|
|
23694
|
+
updated_at: string;
|
|
23695
|
+
verwerkt_door: string | null;
|
|
23696
|
+
verwerkt_op: string | null;
|
|
23697
|
+
werkbon_id: string | null;
|
|
23698
|
+
};
|
|
23699
|
+
Insert: {
|
|
23700
|
+
bron_werkbon_id: string;
|
|
23701
|
+
budget_mandate_cents?: number;
|
|
23702
|
+
created_at?: string;
|
|
23703
|
+
created_by?: string;
|
|
23704
|
+
customer_id?: string | null;
|
|
23705
|
+
id?: string;
|
|
23706
|
+
payload?: Json;
|
|
23707
|
+
reden?: string | null;
|
|
23708
|
+
status?: string;
|
|
23709
|
+
updated_at?: string;
|
|
23710
|
+
verwerkt_door?: string | null;
|
|
23711
|
+
verwerkt_op?: string | null;
|
|
23712
|
+
werkbon_id?: string | null;
|
|
23713
|
+
};
|
|
23714
|
+
Update: {
|
|
23715
|
+
bron_werkbon_id?: string;
|
|
23716
|
+
budget_mandate_cents?: number;
|
|
23717
|
+
created_at?: string;
|
|
23718
|
+
created_by?: string;
|
|
23719
|
+
customer_id?: string | null;
|
|
23720
|
+
id?: string;
|
|
23721
|
+
payload?: Json;
|
|
23722
|
+
reden?: string | null;
|
|
23723
|
+
status?: string;
|
|
23724
|
+
updated_at?: string;
|
|
23725
|
+
verwerkt_door?: string | null;
|
|
23726
|
+
verwerkt_op?: string | null;
|
|
23727
|
+
werkbon_id?: string | null;
|
|
23728
|
+
};
|
|
23729
|
+
Relationships: [
|
|
23730
|
+
{
|
|
23731
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23732
|
+
columns: ["bron_werkbon_id"];
|
|
23733
|
+
isOneToOne: false;
|
|
23734
|
+
referencedRelation: "werkbonnen";
|
|
23735
|
+
referencedColumns: ["id"];
|
|
23736
|
+
},
|
|
23737
|
+
{
|
|
23738
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23739
|
+
columns: ["bron_werkbon_id"];
|
|
23740
|
+
isOneToOne: false;
|
|
23741
|
+
referencedRelation: "wo_overview";
|
|
23742
|
+
referencedColumns: ["id"];
|
|
23743
|
+
},
|
|
23744
|
+
{
|
|
23745
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23746
|
+
columns: ["werkbon_id"];
|
|
23747
|
+
isOneToOne: false;
|
|
23748
|
+
referencedRelation: "werkbonnen";
|
|
23749
|
+
referencedColumns: ["id"];
|
|
23750
|
+
},
|
|
23751
|
+
{
|
|
23752
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23753
|
+
columns: ["werkbon_id"];
|
|
23754
|
+
isOneToOne: false;
|
|
23755
|
+
referencedRelation: "wo_overview";
|
|
23756
|
+
referencedColumns: ["id"];
|
|
23757
|
+
}
|
|
23758
|
+
];
|
|
23759
|
+
};
|
|
23542
23760
|
werkbonnen: {
|
|
23543
23761
|
Row: {
|
|
23544
23762
|
assigned_user_id: string | null;
|
|
@@ -24817,6 +25035,10 @@ export type Database = {
|
|
|
24817
25035
|
};
|
|
24818
25036
|
Returns: undefined;
|
|
24819
25037
|
};
|
|
25038
|
+
_wo_is_planner: {
|
|
25039
|
+
Args: never;
|
|
25040
|
+
Returns: boolean;
|
|
25041
|
+
};
|
|
24820
25042
|
afh_city_code: {
|
|
24821
25043
|
Args: {
|
|
24822
25044
|
_city: string;
|
|
@@ -25929,6 +26151,22 @@ export type Database = {
|
|
|
25929
26151
|
};
|
|
25930
26152
|
Returns: number;
|
|
25931
26153
|
};
|
|
26154
|
+
get_product_stock: {
|
|
26155
|
+
Args: {
|
|
26156
|
+
p_product_id: string;
|
|
26157
|
+
};
|
|
26158
|
+
Returns: {
|
|
26159
|
+
connection_id: string;
|
|
26160
|
+
incoming_stock: number;
|
|
26161
|
+
minimum_stock: number;
|
|
26162
|
+
notes: string;
|
|
26163
|
+
physical_stock: number;
|
|
26164
|
+
product_id: string;
|
|
26165
|
+
reserved_stock: number;
|
|
26166
|
+
trade_item_key: string;
|
|
26167
|
+
updated_at: string;
|
|
26168
|
+
}[];
|
|
26169
|
+
};
|
|
25932
26170
|
get_room_busy_windows: {
|
|
25933
26171
|
Args: {
|
|
25934
26172
|
p_from: string;
|
|
@@ -26266,6 +26504,10 @@ export type Database = {
|
|
|
26266
26504
|
};
|
|
26267
26505
|
Returns: number;
|
|
26268
26506
|
};
|
|
26507
|
+
invoice_branding_snapshot: {
|
|
26508
|
+
Args: never;
|
|
26509
|
+
Returns: Json;
|
|
26510
|
+
};
|
|
26269
26511
|
invoice_create_from_source: {
|
|
26270
26512
|
Args: {
|
|
26271
26513
|
_payload?: Json;
|
|
@@ -26300,6 +26542,17 @@ export type Database = {
|
|
|
26300
26542
|
};
|
|
26301
26543
|
Returns: Json;
|
|
26302
26544
|
};
|
|
26545
|
+
invoice_mark_sent: {
|
|
26546
|
+
Args: {
|
|
26547
|
+
_invoice_id: string;
|
|
26548
|
+
_to: string;
|
|
26549
|
+
};
|
|
26550
|
+
Returns: undefined;
|
|
26551
|
+
};
|
|
26552
|
+
invoice_peek_next_number: {
|
|
26553
|
+
Args: never;
|
|
26554
|
+
Returns: string;
|
|
26555
|
+
};
|
|
26303
26556
|
invoice_ready_work_orders: {
|
|
26304
26557
|
Args: {
|
|
26305
26558
|
_limit?: number;
|
|
@@ -26312,6 +26565,18 @@ export type Database = {
|
|
|
26312
26565
|
};
|
|
26313
26566
|
Returns: Json;
|
|
26314
26567
|
};
|
|
26568
|
+
invoice_save_branding_settings: {
|
|
26569
|
+
Args: {
|
|
26570
|
+
_payload: Json;
|
|
26571
|
+
};
|
|
26572
|
+
Returns: Json;
|
|
26573
|
+
};
|
|
26574
|
+
invoice_set_email_purpose: {
|
|
26575
|
+
Args: {
|
|
26576
|
+
_purpose: string;
|
|
26577
|
+
};
|
|
26578
|
+
Returns: string;
|
|
26579
|
+
};
|
|
26315
26580
|
invoice_source_lines: {
|
|
26316
26581
|
Args: {
|
|
26317
26582
|
_source_id: string;
|
|
@@ -26319,6 +26584,19 @@ export type Database = {
|
|
|
26319
26584
|
};
|
|
26320
26585
|
Returns: Json;
|
|
26321
26586
|
};
|
|
26587
|
+
invoice_update_full: {
|
|
26588
|
+
Args: {
|
|
26589
|
+
_invoice_id: string;
|
|
26590
|
+
_payload: Json;
|
|
26591
|
+
};
|
|
26592
|
+
Returns: Json;
|
|
26593
|
+
};
|
|
26594
|
+
invoice_work_order_locked: {
|
|
26595
|
+
Args: {
|
|
26596
|
+
_werkbon_id: string;
|
|
26597
|
+
};
|
|
26598
|
+
Returns: Json;
|
|
26599
|
+
};
|
|
26322
26600
|
is_authenticated: {
|
|
26323
26601
|
Args: never;
|
|
26324
26602
|
Returns: boolean;
|
|
@@ -29618,6 +29896,19 @@ export type Database = {
|
|
|
29618
29896
|
};
|
|
29619
29897
|
Returns: boolean;
|
|
29620
29898
|
};
|
|
29899
|
+
quote_assign_number: {
|
|
29900
|
+
Args: {
|
|
29901
|
+
_offerte_id: string;
|
|
29902
|
+
};
|
|
29903
|
+
Returns: string;
|
|
29904
|
+
};
|
|
29905
|
+
quote_create_follow_up_now: {
|
|
29906
|
+
Args: {
|
|
29907
|
+
_offerte_id: string;
|
|
29908
|
+
_payload?: Json;
|
|
29909
|
+
};
|
|
29910
|
+
Returns: Json;
|
|
29911
|
+
};
|
|
29621
29912
|
quote_create_from_source: {
|
|
29622
29913
|
Args: {
|
|
29623
29914
|
_payload?: Json;
|
|
@@ -30331,6 +30622,26 @@ export type Database = {
|
|
|
30331
30622
|
};
|
|
30332
30623
|
Returns: undefined;
|
|
30333
30624
|
};
|
|
30625
|
+
set_product_stock: {
|
|
30626
|
+
Args: {
|
|
30627
|
+
p_incoming_stock?: number;
|
|
30628
|
+
p_minimum_stock?: number;
|
|
30629
|
+
p_notes?: string;
|
|
30630
|
+
p_physical_stock: number;
|
|
30631
|
+
p_product_id: string;
|
|
30632
|
+
};
|
|
30633
|
+
Returns: {
|
|
30634
|
+
connection_id: string;
|
|
30635
|
+
incoming_stock: number;
|
|
30636
|
+
minimum_stock: number;
|
|
30637
|
+
notes: string;
|
|
30638
|
+
physical_stock: number;
|
|
30639
|
+
product_id: string;
|
|
30640
|
+
reserved_stock: number;
|
|
30641
|
+
trade_item_key: string;
|
|
30642
|
+
updated_at: string;
|
|
30643
|
+
}[];
|
|
30644
|
+
};
|
|
30334
30645
|
show_limit: {
|
|
30335
30646
|
Args: never;
|
|
30336
30647
|
Returns: number;
|
|
@@ -30855,6 +31166,13 @@ export type Database = {
|
|
|
30855
31166
|
};
|
|
30856
31167
|
Returns: number;
|
|
30857
31168
|
};
|
|
31169
|
+
vakantie_overuren: {
|
|
31170
|
+
Args: {
|
|
31171
|
+
_user_id: string;
|
|
31172
|
+
_year?: number;
|
|
31173
|
+
};
|
|
31174
|
+
Returns: number;
|
|
31175
|
+
};
|
|
30858
31176
|
vakantie_saldo: {
|
|
30859
31177
|
Args: {
|
|
30860
31178
|
_user_id: string;
|
|
@@ -30862,7 +31180,12 @@ export type Database = {
|
|
|
30862
31180
|
};
|
|
30863
31181
|
Returns: {
|
|
30864
31182
|
day_hours: number;
|
|
31183
|
+
earned_from_overtime_days: number;
|
|
30865
31184
|
entitlement_days: number;
|
|
31185
|
+
hours_to_next_day: number;
|
|
31186
|
+
overtime_hours: number;
|
|
31187
|
+
overtime_remainder_hours: number;
|
|
31188
|
+
paid_out_days: number;
|
|
30866
31189
|
remaining_days: number;
|
|
30867
31190
|
used_days: number;
|
|
30868
31191
|
}[];
|
|
@@ -30873,7 +31196,12 @@ export type Database = {
|
|
|
30873
31196
|
};
|
|
30874
31197
|
Returns: {
|
|
30875
31198
|
day_hours: number;
|
|
31199
|
+
earned_from_overtime_days: number;
|
|
30876
31200
|
entitlement_days: number;
|
|
31201
|
+
hours_to_next_day: number;
|
|
31202
|
+
overtime_hours: number;
|
|
31203
|
+
overtime_remainder_hours: number;
|
|
31204
|
+
paid_out_days: number;
|
|
30877
31205
|
remaining_days: number;
|
|
30878
31206
|
used_days: number;
|
|
30879
31207
|
user_id: string;
|
|
@@ -30927,12 +31255,25 @@ export type Database = {
|
|
|
30927
31255
|
};
|
|
30928
31256
|
Returns: Json;
|
|
30929
31257
|
};
|
|
31258
|
+
wo_list_proposals: {
|
|
31259
|
+
Args: {
|
|
31260
|
+
_status?: string;
|
|
31261
|
+
};
|
|
31262
|
+
Returns: Json;
|
|
31263
|
+
};
|
|
30930
31264
|
wo_process_offerte_request: {
|
|
30931
31265
|
Args: {
|
|
30932
31266
|
_queue_id: string;
|
|
30933
31267
|
};
|
|
30934
31268
|
Returns: Json;
|
|
30935
31269
|
};
|
|
31270
|
+
wo_process_proposal: {
|
|
31271
|
+
Args: {
|
|
31272
|
+
_id: string;
|
|
31273
|
+
_overrides?: Json;
|
|
31274
|
+
};
|
|
31275
|
+
Returns: Json;
|
|
31276
|
+
};
|
|
30936
31277
|
wo_reject_offerte_request: {
|
|
30937
31278
|
Args: {
|
|
30938
31279
|
_queue_id: string;
|
|
@@ -30940,6 +31281,13 @@ export type Database = {
|
|
|
30940
31281
|
};
|
|
30941
31282
|
Returns: Json;
|
|
30942
31283
|
};
|
|
31284
|
+
wo_reject_proposal: {
|
|
31285
|
+
Args: {
|
|
31286
|
+
_id: string;
|
|
31287
|
+
_reden?: string;
|
|
31288
|
+
};
|
|
31289
|
+
Returns: Json;
|
|
31290
|
+
};
|
|
30943
31291
|
wo_set_status: {
|
|
30944
31292
|
Args: {
|
|
30945
31293
|
_reason?: string;
|