@flowselections/floriday-voorraad 1.0.48 → 1.0.50
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 +35 -0
- package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockMutationHistoryCard.js +18 -16
- 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 +700 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +2 -30340
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.js +4 -27
- package/dist-lib/integrations/supabase/client.server.d.ts +700 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +720 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +700 -0
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +700 -0
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-env.functions.d.ts +1400 -0
- package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +4200 -0
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts +1400 -0
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +2100 -0
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +1400 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/inventory-settings.functions.d.ts +1400 -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 +1400 -0
- package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -8263,6 +8263,72 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8263
8263
|
};
|
|
8264
8264
|
Relationships: [];
|
|
8265
8265
|
};
|
|
8266
|
+
invoice_branding_settings: {
|
|
8267
|
+
Row: {
|
|
8268
|
+
address: string;
|
|
8269
|
+
chamber_of_commerce_number: string;
|
|
8270
|
+
city: string;
|
|
8271
|
+
company_name: string;
|
|
8272
|
+
created_at: string;
|
|
8273
|
+
email: string;
|
|
8274
|
+
email_purpose: string | null;
|
|
8275
|
+
iban: string;
|
|
8276
|
+
logo_path: string | null;
|
|
8277
|
+
payment_term_days: number;
|
|
8278
|
+
phone: string;
|
|
8279
|
+
postal_code: string;
|
|
8280
|
+
primary_color: string;
|
|
8281
|
+
secondary_color: string;
|
|
8282
|
+
show_company_name: boolean;
|
|
8283
|
+
singleton_key: boolean;
|
|
8284
|
+
updated_at: string;
|
|
8285
|
+
vat_identification_number: string;
|
|
8286
|
+
website: string;
|
|
8287
|
+
};
|
|
8288
|
+
Insert: {
|
|
8289
|
+
address?: string;
|
|
8290
|
+
chamber_of_commerce_number?: string;
|
|
8291
|
+
city?: string;
|
|
8292
|
+
company_name?: string;
|
|
8293
|
+
created_at?: string;
|
|
8294
|
+
email?: string;
|
|
8295
|
+
email_purpose?: string | null;
|
|
8296
|
+
iban?: string;
|
|
8297
|
+
logo_path?: string | null;
|
|
8298
|
+
payment_term_days?: number;
|
|
8299
|
+
phone?: string;
|
|
8300
|
+
postal_code?: string;
|
|
8301
|
+
primary_color?: string;
|
|
8302
|
+
secondary_color?: string;
|
|
8303
|
+
show_company_name?: boolean;
|
|
8304
|
+
singleton_key?: boolean;
|
|
8305
|
+
updated_at?: string;
|
|
8306
|
+
vat_identification_number?: string;
|
|
8307
|
+
website?: string;
|
|
8308
|
+
};
|
|
8309
|
+
Update: {
|
|
8310
|
+
address?: string;
|
|
8311
|
+
chamber_of_commerce_number?: string;
|
|
8312
|
+
city?: string;
|
|
8313
|
+
company_name?: string;
|
|
8314
|
+
created_at?: string;
|
|
8315
|
+
email?: string;
|
|
8316
|
+
email_purpose?: string | null;
|
|
8317
|
+
iban?: string;
|
|
8318
|
+
logo_path?: string | null;
|
|
8319
|
+
payment_term_days?: number;
|
|
8320
|
+
phone?: string;
|
|
8321
|
+
postal_code?: string;
|
|
8322
|
+
primary_color?: string;
|
|
8323
|
+
secondary_color?: string;
|
|
8324
|
+
show_company_name?: boolean;
|
|
8325
|
+
singleton_key?: boolean;
|
|
8326
|
+
updated_at?: string;
|
|
8327
|
+
vat_identification_number?: string;
|
|
8328
|
+
website?: string;
|
|
8329
|
+
};
|
|
8330
|
+
Relationships: [];
|
|
8331
|
+
};
|
|
8266
8332
|
invoice_items: {
|
|
8267
8333
|
Row: {
|
|
8268
8334
|
created_at: string;
|
|
@@ -8276,6 +8342,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8276
8342
|
total_cents: number;
|
|
8277
8343
|
unit: string;
|
|
8278
8344
|
unit_price_cents: number;
|
|
8345
|
+
vat_rate: number | null;
|
|
8279
8346
|
};
|
|
8280
8347
|
Insert: {
|
|
8281
8348
|
created_at?: string;
|
|
@@ -8289,6 +8356,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8289
8356
|
total_cents?: number;
|
|
8290
8357
|
unit?: string;
|
|
8291
8358
|
unit_price_cents?: number;
|
|
8359
|
+
vat_rate?: number | null;
|
|
8292
8360
|
};
|
|
8293
8361
|
Update: {
|
|
8294
8362
|
created_at?: string;
|
|
@@ -8302,6 +8370,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8302
8370
|
total_cents?: number;
|
|
8303
8371
|
unit?: string;
|
|
8304
8372
|
unit_price_cents?: number;
|
|
8373
|
+
vat_rate?: number | null;
|
|
8305
8374
|
};
|
|
8306
8375
|
Relationships: [{
|
|
8307
8376
|
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
@@ -8547,6 +8616,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8547
8616
|
};
|
|
8548
8617
|
invoices: {
|
|
8549
8618
|
Row: {
|
|
8619
|
+
branding_snapshot: import("./types").Json | null;
|
|
8550
8620
|
created_at: string;
|
|
8551
8621
|
created_by: string | null;
|
|
8552
8622
|
customer_address: string | null;
|
|
@@ -8565,6 +8635,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8565
8635
|
note: string | null;
|
|
8566
8636
|
payment_term_days: number;
|
|
8567
8637
|
reference: string | null;
|
|
8638
|
+
sent_at: string | null;
|
|
8639
|
+
sent_to: string | null;
|
|
8568
8640
|
source_number: string | null;
|
|
8569
8641
|
source_ref: string | null;
|
|
8570
8642
|
source_type: string;
|
|
@@ -8577,6 +8649,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8577
8649
|
work_address: string | null;
|
|
8578
8650
|
};
|
|
8579
8651
|
Insert: {
|
|
8652
|
+
branding_snapshot?: import("./types").Json | null;
|
|
8580
8653
|
created_at?: string;
|
|
8581
8654
|
created_by?: string | null;
|
|
8582
8655
|
customer_address?: string | null;
|
|
@@ -8595,6 +8668,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8595
8668
|
note?: string | null;
|
|
8596
8669
|
payment_term_days?: number;
|
|
8597
8670
|
reference?: string | null;
|
|
8671
|
+
sent_at?: string | null;
|
|
8672
|
+
sent_to?: string | null;
|
|
8598
8673
|
source_number?: string | null;
|
|
8599
8674
|
source_ref?: string | null;
|
|
8600
8675
|
source_type?: string;
|
|
@@ -8607,6 +8682,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8607
8682
|
work_address?: string | null;
|
|
8608
8683
|
};
|
|
8609
8684
|
Update: {
|
|
8685
|
+
branding_snapshot?: import("./types").Json | null;
|
|
8610
8686
|
created_at?: string;
|
|
8611
8687
|
created_by?: string | null;
|
|
8612
8688
|
customer_address?: string | null;
|
|
@@ -8625,6 +8701,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8625
8701
|
note?: string | null;
|
|
8626
8702
|
payment_term_days?: number;
|
|
8627
8703
|
reference?: string | null;
|
|
8704
|
+
sent_at?: string | null;
|
|
8705
|
+
sent_to?: string | null;
|
|
8628
8706
|
source_number?: string | null;
|
|
8629
8707
|
source_ref?: string | null;
|
|
8630
8708
|
source_type?: string;
|
|
@@ -9333,6 +9411,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9333
9411
|
quantity: number;
|
|
9334
9412
|
sort_order: number;
|
|
9335
9413
|
source: string;
|
|
9414
|
+
unit: string | null;
|
|
9336
9415
|
unit_price_cents: number;
|
|
9337
9416
|
updated_at: string;
|
|
9338
9417
|
};
|
|
@@ -9346,6 +9425,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9346
9425
|
quantity?: number;
|
|
9347
9426
|
sort_order?: number;
|
|
9348
9427
|
source?: string;
|
|
9428
|
+
unit?: string | null;
|
|
9349
9429
|
unit_price_cents?: number;
|
|
9350
9430
|
updated_at?: string;
|
|
9351
9431
|
};
|
|
@@ -9359,6 +9439,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9359
9439
|
quantity?: number;
|
|
9360
9440
|
sort_order?: number;
|
|
9361
9441
|
source?: string;
|
|
9442
|
+
unit?: string | null;
|
|
9362
9443
|
unit_price_cents?: number;
|
|
9363
9444
|
updated_at?: string;
|
|
9364
9445
|
};
|
|
@@ -9382,6 +9463,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9382
9463
|
created_at: string;
|
|
9383
9464
|
default_geldigheid_dagen: number;
|
|
9384
9465
|
default_vat_rate: number;
|
|
9466
|
+
email_purpose: string | null;
|
|
9385
9467
|
id: string;
|
|
9386
9468
|
singleton: boolean;
|
|
9387
9469
|
updated_at: string;
|
|
@@ -9391,6 +9473,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9391
9473
|
created_at?: string;
|
|
9392
9474
|
default_geldigheid_dagen?: number;
|
|
9393
9475
|
default_vat_rate?: number;
|
|
9476
|
+
email_purpose?: string | null;
|
|
9394
9477
|
id?: string;
|
|
9395
9478
|
singleton?: boolean;
|
|
9396
9479
|
updated_at?: string;
|
|
@@ -9400,6 +9483,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9400
9483
|
created_at?: string;
|
|
9401
9484
|
default_geldigheid_dagen?: number;
|
|
9402
9485
|
default_vat_rate?: number;
|
|
9486
|
+
email_purpose?: string | null;
|
|
9403
9487
|
id?: string;
|
|
9404
9488
|
singleton?: boolean;
|
|
9405
9489
|
updated_at?: string;
|
|
@@ -9492,6 +9576,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9492
9576
|
};
|
|
9493
9577
|
itk_offertes: {
|
|
9494
9578
|
Row: {
|
|
9579
|
+
aandachtspunten: string | null;
|
|
9495
9580
|
ai_generated: boolean;
|
|
9496
9581
|
approved_at: string | null;
|
|
9497
9582
|
binnen_mandaat: boolean;
|
|
@@ -9507,6 +9592,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9507
9592
|
notities: string | null;
|
|
9508
9593
|
offerte_number: string | null;
|
|
9509
9594
|
omschrijving: string;
|
|
9595
|
+
onderwerp: string | null;
|
|
9510
9596
|
rejected_at: string | null;
|
|
9511
9597
|
sent_at: string | null;
|
|
9512
9598
|
source_number: string | null;
|
|
@@ -9519,12 +9605,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9519
9605
|
valid_until: string | null;
|
|
9520
9606
|
vat_cents: number;
|
|
9521
9607
|
vat_rate: number;
|
|
9608
|
+
verzonden_naar: string | null;
|
|
9522
9609
|
viewed_at: string | null;
|
|
9523
9610
|
volgnummer: number | null;
|
|
9611
|
+
voorwaarden: string | null;
|
|
9524
9612
|
werkbon_id: string | null;
|
|
9525
9613
|
work_location_id: string | null;
|
|
9526
9614
|
};
|
|
9527
9615
|
Insert: {
|
|
9616
|
+
aandachtspunten?: string | null;
|
|
9528
9617
|
ai_generated?: boolean;
|
|
9529
9618
|
approved_at?: string | null;
|
|
9530
9619
|
binnen_mandaat?: boolean;
|
|
@@ -9540,6 +9629,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9540
9629
|
notities?: string | null;
|
|
9541
9630
|
offerte_number?: string | null;
|
|
9542
9631
|
omschrijving?: string;
|
|
9632
|
+
onderwerp?: string | null;
|
|
9543
9633
|
rejected_at?: string | null;
|
|
9544
9634
|
sent_at?: string | null;
|
|
9545
9635
|
source_number?: string | null;
|
|
@@ -9552,12 +9642,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9552
9642
|
valid_until?: string | null;
|
|
9553
9643
|
vat_cents?: number;
|
|
9554
9644
|
vat_rate?: number;
|
|
9645
|
+
verzonden_naar?: string | null;
|
|
9555
9646
|
viewed_at?: string | null;
|
|
9556
9647
|
volgnummer?: number | null;
|
|
9648
|
+
voorwaarden?: string | null;
|
|
9557
9649
|
werkbon_id?: string | null;
|
|
9558
9650
|
work_location_id?: string | null;
|
|
9559
9651
|
};
|
|
9560
9652
|
Update: {
|
|
9653
|
+
aandachtspunten?: string | null;
|
|
9561
9654
|
ai_generated?: boolean;
|
|
9562
9655
|
approved_at?: string | null;
|
|
9563
9656
|
binnen_mandaat?: boolean;
|
|
@@ -9573,6 +9666,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9573
9666
|
notities?: string | null;
|
|
9574
9667
|
offerte_number?: string | null;
|
|
9575
9668
|
omschrijving?: string;
|
|
9669
|
+
onderwerp?: string | null;
|
|
9576
9670
|
rejected_at?: string | null;
|
|
9577
9671
|
sent_at?: string | null;
|
|
9578
9672
|
source_number?: string | null;
|
|
@@ -9585,8 +9679,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9585
9679
|
valid_until?: string | null;
|
|
9586
9680
|
vat_cents?: number;
|
|
9587
9681
|
vat_rate?: number;
|
|
9682
|
+
verzonden_naar?: string | null;
|
|
9588
9683
|
viewed_at?: string | null;
|
|
9589
9684
|
volgnummer?: number | null;
|
|
9685
|
+
voorwaarden?: string | null;
|
|
9590
9686
|
werkbon_id?: string | null;
|
|
9591
9687
|
work_location_id?: string | null;
|
|
9592
9688
|
};
|
|
@@ -14598,6 +14694,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14598
14694
|
next_attempt_at: string;
|
|
14599
14695
|
order_id: string;
|
|
14600
14696
|
processed_at: string | null;
|
|
14697
|
+
send_error: string | null;
|
|
14601
14698
|
status: string;
|
|
14602
14699
|
updated_at: string;
|
|
14603
14700
|
};
|
|
@@ -14611,6 +14708,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14611
14708
|
next_attempt_at?: string;
|
|
14612
14709
|
order_id: string;
|
|
14613
14710
|
processed_at?: string | null;
|
|
14711
|
+
send_error?: string | null;
|
|
14614
14712
|
status?: string;
|
|
14615
14713
|
updated_at?: string;
|
|
14616
14714
|
};
|
|
@@ -14624,6 +14722,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14624
14722
|
next_attempt_at?: string;
|
|
14625
14723
|
order_id?: string;
|
|
14626
14724
|
processed_at?: string | null;
|
|
14725
|
+
send_error?: string | null;
|
|
14627
14726
|
status?: string;
|
|
14628
14727
|
updated_at?: string;
|
|
14629
14728
|
};
|
|
@@ -17653,6 +17752,66 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17653
17752
|
};
|
|
17654
17753
|
Relationships: [];
|
|
17655
17754
|
};
|
|
17755
|
+
product_suppliers: {
|
|
17756
|
+
Row: {
|
|
17757
|
+
created_at: string;
|
|
17758
|
+
id: string;
|
|
17759
|
+
is_preferred: boolean;
|
|
17760
|
+
lead_time_days: number | null;
|
|
17761
|
+
min_order_quantity: number | null;
|
|
17762
|
+
notes: string | null;
|
|
17763
|
+
product_id: string;
|
|
17764
|
+
purchase_price_cents: number | null;
|
|
17765
|
+
supplier_article_number: string | null;
|
|
17766
|
+
supplier_id: string;
|
|
17767
|
+
updated_at: string;
|
|
17768
|
+
};
|
|
17769
|
+
Insert: {
|
|
17770
|
+
created_at?: string;
|
|
17771
|
+
id?: string;
|
|
17772
|
+
is_preferred?: boolean;
|
|
17773
|
+
lead_time_days?: number | null;
|
|
17774
|
+
min_order_quantity?: number | null;
|
|
17775
|
+
notes?: string | null;
|
|
17776
|
+
product_id: string;
|
|
17777
|
+
purchase_price_cents?: number | null;
|
|
17778
|
+
supplier_article_number?: string | null;
|
|
17779
|
+
supplier_id: string;
|
|
17780
|
+
updated_at?: string;
|
|
17781
|
+
};
|
|
17782
|
+
Update: {
|
|
17783
|
+
created_at?: string;
|
|
17784
|
+
id?: string;
|
|
17785
|
+
is_preferred?: boolean;
|
|
17786
|
+
lead_time_days?: number | null;
|
|
17787
|
+
min_order_quantity?: number | null;
|
|
17788
|
+
notes?: string | null;
|
|
17789
|
+
product_id?: string;
|
|
17790
|
+
purchase_price_cents?: number | null;
|
|
17791
|
+
supplier_article_number?: string | null;
|
|
17792
|
+
supplier_id?: string;
|
|
17793
|
+
updated_at?: string;
|
|
17794
|
+
};
|
|
17795
|
+
Relationships: [{
|
|
17796
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17797
|
+
columns: ["product_id"];
|
|
17798
|
+
isOneToOne: false;
|
|
17799
|
+
referencedRelation: "logistics_product_dimensions";
|
|
17800
|
+
referencedColumns: ["product_id"];
|
|
17801
|
+
}, {
|
|
17802
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17803
|
+
columns: ["product_id"];
|
|
17804
|
+
isOneToOne: false;
|
|
17805
|
+
referencedRelation: "products";
|
|
17806
|
+
referencedColumns: ["id"];
|
|
17807
|
+
}, {
|
|
17808
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
17809
|
+
columns: ["supplier_id"];
|
|
17810
|
+
isOneToOne: false;
|
|
17811
|
+
referencedRelation: "suppliers";
|
|
17812
|
+
referencedColumns: ["id"];
|
|
17813
|
+
}];
|
|
17814
|
+
};
|
|
17656
17815
|
product_tray_stickers: {
|
|
17657
17816
|
Row: {
|
|
17658
17817
|
bestand_url: string;
|
|
@@ -18157,9 +18316,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18157
18316
|
purchase_order_items: {
|
|
18158
18317
|
Row: {
|
|
18159
18318
|
article_number: string | null;
|
|
18319
|
+
cancelled_at: string | null;
|
|
18160
18320
|
created_at: string;
|
|
18161
18321
|
delivery_date: string | null;
|
|
18162
18322
|
id: string;
|
|
18323
|
+
incoming_booked: number;
|
|
18324
|
+
line_status: string;
|
|
18163
18325
|
name: string;
|
|
18164
18326
|
note: string | null;
|
|
18165
18327
|
pot_size: string | null;
|
|
@@ -18167,6 +18329,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18167
18329
|
product_type: string;
|
|
18168
18330
|
purchase_order_id: string;
|
|
18169
18331
|
quantity: number;
|
|
18332
|
+
received_at: string | null;
|
|
18333
|
+
received_booked: number;
|
|
18170
18334
|
supplier_id: string | null;
|
|
18171
18335
|
supplier_product_id: string | null;
|
|
18172
18336
|
unit_price_cents: number;
|
|
@@ -18174,9 +18338,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18174
18338
|
};
|
|
18175
18339
|
Insert: {
|
|
18176
18340
|
article_number?: string | null;
|
|
18341
|
+
cancelled_at?: string | null;
|
|
18177
18342
|
created_at?: string;
|
|
18178
18343
|
delivery_date?: string | null;
|
|
18179
18344
|
id?: string;
|
|
18345
|
+
incoming_booked?: number;
|
|
18346
|
+
line_status?: string;
|
|
18180
18347
|
name?: string;
|
|
18181
18348
|
note?: string | null;
|
|
18182
18349
|
pot_size?: string | null;
|
|
@@ -18184,6 +18351,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18184
18351
|
product_type?: string;
|
|
18185
18352
|
purchase_order_id: string;
|
|
18186
18353
|
quantity?: number;
|
|
18354
|
+
received_at?: string | null;
|
|
18355
|
+
received_booked?: number;
|
|
18187
18356
|
supplier_id?: string | null;
|
|
18188
18357
|
supplier_product_id?: string | null;
|
|
18189
18358
|
unit_price_cents?: number;
|
|
@@ -18191,9 +18360,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18191
18360
|
};
|
|
18192
18361
|
Update: {
|
|
18193
18362
|
article_number?: string | null;
|
|
18363
|
+
cancelled_at?: string | null;
|
|
18194
18364
|
created_at?: string;
|
|
18195
18365
|
delivery_date?: string | null;
|
|
18196
18366
|
id?: string;
|
|
18367
|
+
incoming_booked?: number;
|
|
18368
|
+
line_status?: string;
|
|
18197
18369
|
name?: string;
|
|
18198
18370
|
note?: string | null;
|
|
18199
18371
|
pot_size?: string | null;
|
|
@@ -18201,6 +18373,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18201
18373
|
product_type?: string;
|
|
18202
18374
|
purchase_order_id?: string;
|
|
18203
18375
|
quantity?: number;
|
|
18376
|
+
received_at?: string | null;
|
|
18377
|
+
received_booked?: number;
|
|
18204
18378
|
supplier_id?: string | null;
|
|
18205
18379
|
supplier_product_id?: string | null;
|
|
18206
18380
|
unit_price_cents?: number;
|
|
@@ -18304,6 +18478,153 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18304
18478
|
referencedColumns: ["id"];
|
|
18305
18479
|
}];
|
|
18306
18480
|
};
|
|
18481
|
+
purchase_request_events: {
|
|
18482
|
+
Row: {
|
|
18483
|
+
created_at: string;
|
|
18484
|
+
details: import("./types").Json | null;
|
|
18485
|
+
event_type: string;
|
|
18486
|
+
id: string;
|
|
18487
|
+
request_id: string;
|
|
18488
|
+
};
|
|
18489
|
+
Insert: {
|
|
18490
|
+
created_at?: string;
|
|
18491
|
+
details?: import("./types").Json | null;
|
|
18492
|
+
event_type: string;
|
|
18493
|
+
id?: string;
|
|
18494
|
+
request_id: string;
|
|
18495
|
+
};
|
|
18496
|
+
Update: {
|
|
18497
|
+
created_at?: string;
|
|
18498
|
+
details?: import("./types").Json | null;
|
|
18499
|
+
event_type?: string;
|
|
18500
|
+
id?: string;
|
|
18501
|
+
request_id?: string;
|
|
18502
|
+
};
|
|
18503
|
+
Relationships: [{
|
|
18504
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
18505
|
+
columns: ["request_id"];
|
|
18506
|
+
isOneToOne: false;
|
|
18507
|
+
referencedRelation: "purchase_requests";
|
|
18508
|
+
referencedColumns: ["id"];
|
|
18509
|
+
}];
|
|
18510
|
+
};
|
|
18511
|
+
purchase_request_responses: {
|
|
18512
|
+
Row: {
|
|
18513
|
+
confirmed_date: string | null;
|
|
18514
|
+
confirmed_price_cents: number | null;
|
|
18515
|
+
confirmed_quantity: number;
|
|
18516
|
+
created_at: string;
|
|
18517
|
+
id: string;
|
|
18518
|
+
not_available: boolean;
|
|
18519
|
+
note: string | null;
|
|
18520
|
+
purchase_order_item_id: string;
|
|
18521
|
+
request_id: string;
|
|
18522
|
+
updated_at: string;
|
|
18523
|
+
};
|
|
18524
|
+
Insert: {
|
|
18525
|
+
confirmed_date?: string | null;
|
|
18526
|
+
confirmed_price_cents?: number | null;
|
|
18527
|
+
confirmed_quantity?: number;
|
|
18528
|
+
created_at?: string;
|
|
18529
|
+
id?: string;
|
|
18530
|
+
not_available?: boolean;
|
|
18531
|
+
note?: string | null;
|
|
18532
|
+
purchase_order_item_id: string;
|
|
18533
|
+
request_id: string;
|
|
18534
|
+
updated_at?: string;
|
|
18535
|
+
};
|
|
18536
|
+
Update: {
|
|
18537
|
+
confirmed_date?: string | null;
|
|
18538
|
+
confirmed_price_cents?: number | null;
|
|
18539
|
+
confirmed_quantity?: number;
|
|
18540
|
+
created_at?: string;
|
|
18541
|
+
id?: string;
|
|
18542
|
+
not_available?: boolean;
|
|
18543
|
+
note?: string | null;
|
|
18544
|
+
purchase_order_item_id?: string;
|
|
18545
|
+
request_id?: string;
|
|
18546
|
+
updated_at?: string;
|
|
18547
|
+
};
|
|
18548
|
+
Relationships: [{
|
|
18549
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
18550
|
+
columns: ["purchase_order_item_id"];
|
|
18551
|
+
isOneToOne: false;
|
|
18552
|
+
referencedRelation: "purchase_order_items";
|
|
18553
|
+
referencedColumns: ["id"];
|
|
18554
|
+
}, {
|
|
18555
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
18556
|
+
columns: ["request_id"];
|
|
18557
|
+
isOneToOne: false;
|
|
18558
|
+
referencedRelation: "purchase_requests";
|
|
18559
|
+
referencedColumns: ["id"];
|
|
18560
|
+
}];
|
|
18561
|
+
};
|
|
18562
|
+
purchase_requests: {
|
|
18563
|
+
Row: {
|
|
18564
|
+
created_at: string;
|
|
18565
|
+
expires_at: string;
|
|
18566
|
+
first_viewed_at: string | null;
|
|
18567
|
+
id: string;
|
|
18568
|
+
processed_at: string | null;
|
|
18569
|
+
purchase_order_id: string;
|
|
18570
|
+
responded_at: string | null;
|
|
18571
|
+
sent_at: string;
|
|
18572
|
+
status: string;
|
|
18573
|
+
supplier_id: string | null;
|
|
18574
|
+
supplier_name: string;
|
|
18575
|
+
supplier_note: string | null;
|
|
18576
|
+
to_address: string | null;
|
|
18577
|
+
token_hash: string;
|
|
18578
|
+
updated_at: string;
|
|
18579
|
+
};
|
|
18580
|
+
Insert: {
|
|
18581
|
+
created_at?: string;
|
|
18582
|
+
expires_at?: string;
|
|
18583
|
+
first_viewed_at?: string | null;
|
|
18584
|
+
id?: string;
|
|
18585
|
+
processed_at?: string | null;
|
|
18586
|
+
purchase_order_id: string;
|
|
18587
|
+
responded_at?: string | null;
|
|
18588
|
+
sent_at?: string;
|
|
18589
|
+
status?: string;
|
|
18590
|
+
supplier_id?: string | null;
|
|
18591
|
+
supplier_name?: string;
|
|
18592
|
+
supplier_note?: string | null;
|
|
18593
|
+
to_address?: string | null;
|
|
18594
|
+
token_hash: string;
|
|
18595
|
+
updated_at?: string;
|
|
18596
|
+
};
|
|
18597
|
+
Update: {
|
|
18598
|
+
created_at?: string;
|
|
18599
|
+
expires_at?: string;
|
|
18600
|
+
first_viewed_at?: string | null;
|
|
18601
|
+
id?: string;
|
|
18602
|
+
processed_at?: string | null;
|
|
18603
|
+
purchase_order_id?: string;
|
|
18604
|
+
responded_at?: string | null;
|
|
18605
|
+
sent_at?: string;
|
|
18606
|
+
status?: string;
|
|
18607
|
+
supplier_id?: string | null;
|
|
18608
|
+
supplier_name?: string;
|
|
18609
|
+
supplier_note?: string | null;
|
|
18610
|
+
to_address?: string | null;
|
|
18611
|
+
token_hash?: string;
|
|
18612
|
+
updated_at?: string;
|
|
18613
|
+
};
|
|
18614
|
+
Relationships: [{
|
|
18615
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
18616
|
+
columns: ["purchase_order_id"];
|
|
18617
|
+
isOneToOne: false;
|
|
18618
|
+
referencedRelation: "purchase_orders";
|
|
18619
|
+
referencedColumns: ["id"];
|
|
18620
|
+
}, {
|
|
18621
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
18622
|
+
columns: ["supplier_id"];
|
|
18623
|
+
isOneToOne: false;
|
|
18624
|
+
referencedRelation: "suppliers";
|
|
18625
|
+
referencedColumns: ["id"];
|
|
18626
|
+
}];
|
|
18627
|
+
};
|
|
18307
18628
|
reception_notifications: {
|
|
18308
18629
|
Row: {
|
|
18309
18630
|
booking_id: string | null;
|
|
@@ -20467,6 +20788,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20467
20788
|
auto_invoice_enabled: boolean;
|
|
20468
20789
|
auto_invoice_start_date: string | null;
|
|
20469
20790
|
auto_invoice_trigger_statuses: string[];
|
|
20791
|
+
auto_send_mode: string | null;
|
|
20470
20792
|
created_at: string;
|
|
20471
20793
|
debtor_gl_account: string;
|
|
20472
20794
|
default_article_code: string | null;
|
|
@@ -20495,6 +20817,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20495
20817
|
auto_invoice_enabled?: boolean;
|
|
20496
20818
|
auto_invoice_start_date?: string | null;
|
|
20497
20819
|
auto_invoice_trigger_statuses?: string[];
|
|
20820
|
+
auto_send_mode?: string | null;
|
|
20498
20821
|
created_at?: string;
|
|
20499
20822
|
debtor_gl_account?: string;
|
|
20500
20823
|
default_article_code?: string | null;
|
|
@@ -20523,6 +20846,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20523
20846
|
auto_invoice_enabled?: boolean;
|
|
20524
20847
|
auto_invoice_start_date?: string | null;
|
|
20525
20848
|
auto_invoice_trigger_statuses?: string[];
|
|
20849
|
+
auto_send_mode?: string | null;
|
|
20526
20850
|
created_at?: string;
|
|
20527
20851
|
debtor_gl_account?: string;
|
|
20528
20852
|
default_article_code?: string | null;
|
|
@@ -20966,16 +21290,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20966
21290
|
Row: {
|
|
20967
21291
|
active_environment: string;
|
|
20968
21292
|
id: number;
|
|
21293
|
+
public_base_url: string | null;
|
|
20969
21294
|
updated_at: string;
|
|
20970
21295
|
};
|
|
20971
21296
|
Insert: {
|
|
20972
21297
|
active_environment?: string;
|
|
20973
21298
|
id?: number;
|
|
21299
|
+
public_base_url?: string | null;
|
|
20974
21300
|
updated_at?: string;
|
|
20975
21301
|
};
|
|
20976
21302
|
Update: {
|
|
20977
21303
|
active_environment?: string;
|
|
20978
21304
|
id?: number;
|
|
21305
|
+
public_base_url?: string | null;
|
|
20979
21306
|
updated_at?: string;
|
|
20980
21307
|
};
|
|
20981
21308
|
Relationships: [];
|
|
@@ -21206,11 +21533,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21206
21533
|
monteur_id: string;
|
|
21207
21534
|
netto_verschil_minuten: number;
|
|
21208
21535
|
normaal_uitbetaald_minuten: number;
|
|
21536
|
+
omgezet_vakantie_minuten: number;
|
|
21537
|
+
overdracht_vorige_minuten: number;
|
|
21209
21538
|
overuren_minuten: number;
|
|
21210
21539
|
plus_minuten: number;
|
|
21540
|
+
rest_overuren_minuten: number;
|
|
21211
21541
|
status: string;
|
|
21212
21542
|
totaal_uitbetaald_minuten: number;
|
|
21213
21543
|
updated_at: string;
|
|
21544
|
+
vakantie_uren_bijgeschreven: number;
|
|
21214
21545
|
};
|
|
21215
21546
|
Insert: {
|
|
21216
21547
|
afgesloten_at?: string | null;
|
|
@@ -21227,11 +21558,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21227
21558
|
monteur_id: string;
|
|
21228
21559
|
netto_verschil_minuten?: number;
|
|
21229
21560
|
normaal_uitbetaald_minuten?: number;
|
|
21561
|
+
omgezet_vakantie_minuten?: number;
|
|
21562
|
+
overdracht_vorige_minuten?: number;
|
|
21230
21563
|
overuren_minuten?: number;
|
|
21231
21564
|
plus_minuten?: number;
|
|
21565
|
+
rest_overuren_minuten?: number;
|
|
21232
21566
|
status?: string;
|
|
21233
21567
|
totaal_uitbetaald_minuten?: number;
|
|
21234
21568
|
updated_at?: string;
|
|
21569
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21235
21570
|
};
|
|
21236
21571
|
Update: {
|
|
21237
21572
|
afgesloten_at?: string | null;
|
|
@@ -21248,11 +21583,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21248
21583
|
monteur_id?: string;
|
|
21249
21584
|
netto_verschil_minuten?: number;
|
|
21250
21585
|
normaal_uitbetaald_minuten?: number;
|
|
21586
|
+
omgezet_vakantie_minuten?: number;
|
|
21587
|
+
overdracht_vorige_minuten?: number;
|
|
21251
21588
|
overuren_minuten?: number;
|
|
21252
21589
|
plus_minuten?: number;
|
|
21590
|
+
rest_overuren_minuten?: number;
|
|
21253
21591
|
status?: string;
|
|
21254
21592
|
totaal_uitbetaald_minuten?: number;
|
|
21255
21593
|
updated_at?: string;
|
|
21594
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21256
21595
|
};
|
|
21257
21596
|
Relationships: [];
|
|
21258
21597
|
};
|
|
@@ -21664,6 +22003,51 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21664
22003
|
referencedColumns: ["id"];
|
|
21665
22004
|
}];
|
|
21666
22005
|
};
|
|
22006
|
+
vakantie_uitbetalingen: {
|
|
22007
|
+
Row: {
|
|
22008
|
+
created_at: string;
|
|
22009
|
+
created_by: string | null;
|
|
22010
|
+
days: number;
|
|
22011
|
+
id: string;
|
|
22012
|
+
note: string | null;
|
|
22013
|
+
updated_at: string;
|
|
22014
|
+
user_id: string;
|
|
22015
|
+
year: number;
|
|
22016
|
+
};
|
|
22017
|
+
Insert: {
|
|
22018
|
+
created_at?: string;
|
|
22019
|
+
created_by?: string | null;
|
|
22020
|
+
days: number;
|
|
22021
|
+
id?: string;
|
|
22022
|
+
note?: string | null;
|
|
22023
|
+
updated_at?: string;
|
|
22024
|
+
user_id: string;
|
|
22025
|
+
year?: number;
|
|
22026
|
+
};
|
|
22027
|
+
Update: {
|
|
22028
|
+
created_at?: string;
|
|
22029
|
+
created_by?: string | null;
|
|
22030
|
+
days?: number;
|
|
22031
|
+
id?: string;
|
|
22032
|
+
note?: string | null;
|
|
22033
|
+
updated_at?: string;
|
|
22034
|
+
user_id?: string;
|
|
22035
|
+
year?: number;
|
|
22036
|
+
};
|
|
22037
|
+
Relationships: [{
|
|
22038
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
22039
|
+
columns: ["created_by"];
|
|
22040
|
+
isOneToOne: false;
|
|
22041
|
+
referencedRelation: "profiles";
|
|
22042
|
+
referencedColumns: ["id"];
|
|
22043
|
+
}, {
|
|
22044
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
22045
|
+
columns: ["user_id"];
|
|
22046
|
+
isOneToOne: false;
|
|
22047
|
+
referencedRelation: "profiles";
|
|
22048
|
+
referencedColumns: ["id"];
|
|
22049
|
+
}];
|
|
22050
|
+
};
|
|
21667
22051
|
van_inventories: {
|
|
21668
22052
|
Row: {
|
|
21669
22053
|
barcode: string | null;
|
|
@@ -22948,6 +23332,78 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
22948
23332
|
referencedColumns: ["id"];
|
|
22949
23333
|
}];
|
|
22950
23334
|
};
|
|
23335
|
+
werkbon_voorstellen: {
|
|
23336
|
+
Row: {
|
|
23337
|
+
bron_werkbon_id: string;
|
|
23338
|
+
budget_mandate_cents: number;
|
|
23339
|
+
created_at: string;
|
|
23340
|
+
created_by: string;
|
|
23341
|
+
customer_id: string | null;
|
|
23342
|
+
id: string;
|
|
23343
|
+
payload: import("./types").Json;
|
|
23344
|
+
reden: string | null;
|
|
23345
|
+
status: string;
|
|
23346
|
+
updated_at: string;
|
|
23347
|
+
verwerkt_door: string | null;
|
|
23348
|
+
verwerkt_op: string | null;
|
|
23349
|
+
werkbon_id: string | null;
|
|
23350
|
+
};
|
|
23351
|
+
Insert: {
|
|
23352
|
+
bron_werkbon_id: string;
|
|
23353
|
+
budget_mandate_cents?: number;
|
|
23354
|
+
created_at?: string;
|
|
23355
|
+
created_by?: string;
|
|
23356
|
+
customer_id?: string | null;
|
|
23357
|
+
id?: string;
|
|
23358
|
+
payload?: import("./types").Json;
|
|
23359
|
+
reden?: string | null;
|
|
23360
|
+
status?: string;
|
|
23361
|
+
updated_at?: string;
|
|
23362
|
+
verwerkt_door?: string | null;
|
|
23363
|
+
verwerkt_op?: string | null;
|
|
23364
|
+
werkbon_id?: string | null;
|
|
23365
|
+
};
|
|
23366
|
+
Update: {
|
|
23367
|
+
bron_werkbon_id?: string;
|
|
23368
|
+
budget_mandate_cents?: number;
|
|
23369
|
+
created_at?: string;
|
|
23370
|
+
created_by?: string;
|
|
23371
|
+
customer_id?: string | null;
|
|
23372
|
+
id?: string;
|
|
23373
|
+
payload?: import("./types").Json;
|
|
23374
|
+
reden?: string | null;
|
|
23375
|
+
status?: string;
|
|
23376
|
+
updated_at?: string;
|
|
23377
|
+
verwerkt_door?: string | null;
|
|
23378
|
+
verwerkt_op?: string | null;
|
|
23379
|
+
werkbon_id?: string | null;
|
|
23380
|
+
};
|
|
23381
|
+
Relationships: [{
|
|
23382
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23383
|
+
columns: ["bron_werkbon_id"];
|
|
23384
|
+
isOneToOne: false;
|
|
23385
|
+
referencedRelation: "werkbonnen";
|
|
23386
|
+
referencedColumns: ["id"];
|
|
23387
|
+
}, {
|
|
23388
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23389
|
+
columns: ["bron_werkbon_id"];
|
|
23390
|
+
isOneToOne: false;
|
|
23391
|
+
referencedRelation: "wo_overview";
|
|
23392
|
+
referencedColumns: ["id"];
|
|
23393
|
+
}, {
|
|
23394
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23395
|
+
columns: ["werkbon_id"];
|
|
23396
|
+
isOneToOne: false;
|
|
23397
|
+
referencedRelation: "werkbonnen";
|
|
23398
|
+
referencedColumns: ["id"];
|
|
23399
|
+
}, {
|
|
23400
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23401
|
+
columns: ["werkbon_id"];
|
|
23402
|
+
isOneToOne: false;
|
|
23403
|
+
referencedRelation: "wo_overview";
|
|
23404
|
+
referencedColumns: ["id"];
|
|
23405
|
+
}];
|
|
23406
|
+
};
|
|
22951
23407
|
werkbonnen: {
|
|
22952
23408
|
Row: {
|
|
22953
23409
|
assigned_user_id: string | null;
|
|
@@ -24188,6 +24644,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
24188
24644
|
};
|
|
24189
24645
|
Returns: undefined;
|
|
24190
24646
|
};
|
|
24647
|
+
_wo_is_planner: {
|
|
24648
|
+
Args: never;
|
|
24649
|
+
Returns: boolean;
|
|
24650
|
+
};
|
|
24191
24651
|
afh_city_code: {
|
|
24192
24652
|
Args: {
|
|
24193
24653
|
_city: string;
|
|
@@ -25300,6 +25760,22 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25300
25760
|
};
|
|
25301
25761
|
Returns: number;
|
|
25302
25762
|
};
|
|
25763
|
+
get_product_stock: {
|
|
25764
|
+
Args: {
|
|
25765
|
+
p_product_id: string;
|
|
25766
|
+
};
|
|
25767
|
+
Returns: {
|
|
25768
|
+
connection_id: string;
|
|
25769
|
+
incoming_stock: number;
|
|
25770
|
+
minimum_stock: number;
|
|
25771
|
+
notes: string;
|
|
25772
|
+
physical_stock: number;
|
|
25773
|
+
product_id: string;
|
|
25774
|
+
reserved_stock: number;
|
|
25775
|
+
trade_item_key: string;
|
|
25776
|
+
updated_at: string;
|
|
25777
|
+
}[];
|
|
25778
|
+
};
|
|
25303
25779
|
get_room_busy_windows: {
|
|
25304
25780
|
Args: {
|
|
25305
25781
|
p_from: string;
|
|
@@ -25604,12 +26080,57 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25604
26080
|
};
|
|
25605
26081
|
Returns: import("./types").Json;
|
|
25606
26082
|
};
|
|
26083
|
+
inkoop_get_supplier_request: {
|
|
26084
|
+
Args: {
|
|
26085
|
+
_token: string;
|
|
26086
|
+
};
|
|
26087
|
+
Returns: import("./types").Json;
|
|
26088
|
+
};
|
|
26089
|
+
inkoop_hash_token: {
|
|
26090
|
+
Args: {
|
|
26091
|
+
_token: string;
|
|
26092
|
+
};
|
|
26093
|
+
Returns: string;
|
|
26094
|
+
};
|
|
26095
|
+
inkoop_html_escape: {
|
|
26096
|
+
Args: {
|
|
26097
|
+
_t: string;
|
|
26098
|
+
};
|
|
26099
|
+
Returns: string;
|
|
26100
|
+
};
|
|
26101
|
+
inkoop_list_artikelen: {
|
|
26102
|
+
Args: never;
|
|
26103
|
+
Returns: {
|
|
26104
|
+
article_number: string;
|
|
26105
|
+
barcode: string;
|
|
26106
|
+
id: string;
|
|
26107
|
+
incoming_quantity: number;
|
|
26108
|
+
is_layer: boolean;
|
|
26109
|
+
location: string;
|
|
26110
|
+
min_quantity: number;
|
|
26111
|
+
preferred_supplier_name: string;
|
|
26112
|
+
product: string;
|
|
26113
|
+
product_type: string;
|
|
26114
|
+
purchase_price: number;
|
|
26115
|
+
quantity: number;
|
|
26116
|
+
sale_price: number;
|
|
26117
|
+
supplier_count: number;
|
|
26118
|
+
unit: string;
|
|
26119
|
+
}[];
|
|
26120
|
+
};
|
|
25607
26121
|
inkoop_next_order_number: {
|
|
25608
26122
|
Args: never;
|
|
25609
26123
|
Returns: string;
|
|
25610
26124
|
};
|
|
26125
|
+
inkoop_process_request: {
|
|
26126
|
+
Args: {
|
|
26127
|
+
_request_id: string;
|
|
26128
|
+
};
|
|
26129
|
+
Returns: undefined;
|
|
26130
|
+
};
|
|
25611
26131
|
inkoop_send_order: {
|
|
25612
26132
|
Args: {
|
|
26133
|
+
_base_url?: string;
|
|
25613
26134
|
_order_id: string;
|
|
25614
26135
|
};
|
|
25615
26136
|
Returns: {
|
|
@@ -25617,6 +26138,44 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25617
26138
|
supplier_name: string;
|
|
25618
26139
|
to_address: string;
|
|
25619
26140
|
}[];
|
|
26141
|
+
} | {
|
|
26142
|
+
Args: {
|
|
26143
|
+
_base_url?: string;
|
|
26144
|
+
_order_id: string;
|
|
26145
|
+
_resend?: boolean;
|
|
26146
|
+
};
|
|
26147
|
+
Returns: {
|
|
26148
|
+
outbox_id: string;
|
|
26149
|
+
supplier_name: string;
|
|
26150
|
+
to_address: string;
|
|
26151
|
+
}[];
|
|
26152
|
+
};
|
|
26153
|
+
inkoop_set_preferred_supplier: {
|
|
26154
|
+
Args: {
|
|
26155
|
+
_product_id: string;
|
|
26156
|
+
_supplier_id: string;
|
|
26157
|
+
};
|
|
26158
|
+
Returns: undefined;
|
|
26159
|
+
};
|
|
26160
|
+
inkoop_stock_key: {
|
|
26161
|
+
Args: {
|
|
26162
|
+
p_product_id: string;
|
|
26163
|
+
};
|
|
26164
|
+
Returns: string;
|
|
26165
|
+
};
|
|
26166
|
+
inkoop_submit_supplier_response: {
|
|
26167
|
+
Args: {
|
|
26168
|
+
_lines: import("./types").Json;
|
|
26169
|
+
_note?: string;
|
|
26170
|
+
_token: string;
|
|
26171
|
+
};
|
|
26172
|
+
Returns: import("./types").Json;
|
|
26173
|
+
};
|
|
26174
|
+
inkoop_sync_item_stock: {
|
|
26175
|
+
Args: {
|
|
26176
|
+
p_item_id: string;
|
|
26177
|
+
};
|
|
26178
|
+
Returns: undefined;
|
|
25620
26179
|
};
|
|
25621
26180
|
instructie_get: {
|
|
25622
26181
|
Args: {
|
|
@@ -25637,6 +26196,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25637
26196
|
};
|
|
25638
26197
|
Returns: number;
|
|
25639
26198
|
};
|
|
26199
|
+
invoice_branding_snapshot: {
|
|
26200
|
+
Args: never;
|
|
26201
|
+
Returns: import("./types").Json;
|
|
26202
|
+
};
|
|
25640
26203
|
invoice_create_from_source: {
|
|
25641
26204
|
Args: {
|
|
25642
26205
|
_payload?: import("./types").Json;
|
|
@@ -25671,6 +26234,17 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25671
26234
|
};
|
|
25672
26235
|
Returns: import("./types").Json;
|
|
25673
26236
|
};
|
|
26237
|
+
invoice_mark_sent: {
|
|
26238
|
+
Args: {
|
|
26239
|
+
_invoice_id: string;
|
|
26240
|
+
_to: string;
|
|
26241
|
+
};
|
|
26242
|
+
Returns: undefined;
|
|
26243
|
+
};
|
|
26244
|
+
invoice_peek_next_number: {
|
|
26245
|
+
Args: never;
|
|
26246
|
+
Returns: string;
|
|
26247
|
+
};
|
|
25674
26248
|
invoice_ready_work_orders: {
|
|
25675
26249
|
Args: {
|
|
25676
26250
|
_limit?: number;
|
|
@@ -25683,6 +26257,18 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25683
26257
|
};
|
|
25684
26258
|
Returns: import("./types").Json;
|
|
25685
26259
|
};
|
|
26260
|
+
invoice_save_branding_settings: {
|
|
26261
|
+
Args: {
|
|
26262
|
+
_payload: import("./types").Json;
|
|
26263
|
+
};
|
|
26264
|
+
Returns: import("./types").Json;
|
|
26265
|
+
};
|
|
26266
|
+
invoice_set_email_purpose: {
|
|
26267
|
+
Args: {
|
|
26268
|
+
_purpose: string;
|
|
26269
|
+
};
|
|
26270
|
+
Returns: string;
|
|
26271
|
+
};
|
|
25686
26272
|
invoice_source_lines: {
|
|
25687
26273
|
Args: {
|
|
25688
26274
|
_source_id: string;
|
|
@@ -25690,6 +26276,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25690
26276
|
};
|
|
25691
26277
|
Returns: import("./types").Json;
|
|
25692
26278
|
};
|
|
26279
|
+
invoice_update_full: {
|
|
26280
|
+
Args: {
|
|
26281
|
+
_invoice_id: string;
|
|
26282
|
+
_payload: import("./types").Json;
|
|
26283
|
+
};
|
|
26284
|
+
Returns: import("./types").Json;
|
|
26285
|
+
};
|
|
26286
|
+
invoice_work_order_locked: {
|
|
26287
|
+
Args: {
|
|
26288
|
+
_werkbon_id: string;
|
|
26289
|
+
};
|
|
26290
|
+
Returns: import("./types").Json;
|
|
26291
|
+
};
|
|
25693
26292
|
is_authenticated: {
|
|
25694
26293
|
Args: never;
|
|
25695
26294
|
Returns: boolean;
|
|
@@ -26849,6 +27448,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
26849
27448
|
Args: never;
|
|
26850
27449
|
Returns: string;
|
|
26851
27450
|
};
|
|
27451
|
+
logistics_order_backlog_info: {
|
|
27452
|
+
Args: {
|
|
27453
|
+
p_order_id: string;
|
|
27454
|
+
};
|
|
27455
|
+
Returns: import("./types").Json;
|
|
27456
|
+
};
|
|
26852
27457
|
logistics_order_cart_approval: {
|
|
26853
27458
|
Args: {
|
|
26854
27459
|
_order_ref: string;
|
|
@@ -26939,6 +27544,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
26939
27544
|
};
|
|
26940
27545
|
Returns: boolean;
|
|
26941
27546
|
};
|
|
27547
|
+
logistics_order_is_backlog: {
|
|
27548
|
+
Args: {
|
|
27549
|
+
p_order_id: string;
|
|
27550
|
+
};
|
|
27551
|
+
Returns: boolean;
|
|
27552
|
+
};
|
|
26942
27553
|
logistics_order_is_topick: {
|
|
26943
27554
|
Args: {
|
|
26944
27555
|
p_order_id: string;
|
|
@@ -27080,6 +27691,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
27080
27691
|
shifted_count: number;
|
|
27081
27692
|
}[];
|
|
27082
27693
|
};
|
|
27694
|
+
logistics_pick_backlog_max_days: {
|
|
27695
|
+
Args: never;
|
|
27696
|
+
Returns: number;
|
|
27697
|
+
};
|
|
27083
27698
|
logistics_pick_barcode_enabled: {
|
|
27084
27699
|
Args: never;
|
|
27085
27700
|
Returns: boolean;
|
|
@@ -27695,12 +28310,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
27695
28310
|
Args: never;
|
|
27696
28311
|
Returns: import("./types").Json;
|
|
27697
28312
|
};
|
|
28313
|
+
logistics_sync_pick_queue_backlog: {
|
|
28314
|
+
Args: never;
|
|
28315
|
+
Returns: import("./types").Json;
|
|
28316
|
+
};
|
|
28317
|
+
logistics_sync_pick_queue_core: {
|
|
28318
|
+
Args: never;
|
|
28319
|
+
Returns: import("./types").Json;
|
|
28320
|
+
};
|
|
27698
28321
|
logistics_sync_task_carriers: {
|
|
27699
28322
|
Args: {
|
|
27700
28323
|
p_order_ref?: string;
|
|
27701
28324
|
};
|
|
27702
28325
|
Returns: number;
|
|
27703
28326
|
};
|
|
28327
|
+
logistics_task_open_counts: {
|
|
28328
|
+
Args: never;
|
|
28329
|
+
Returns: {
|
|
28330
|
+
open_count: number;
|
|
28331
|
+
owner_module: string;
|
|
28332
|
+
}[];
|
|
28333
|
+
};
|
|
27704
28334
|
logistics_task_owner: {
|
|
27705
28335
|
Args: {
|
|
27706
28336
|
p_task_type: string;
|
|
@@ -28989,6 +29619,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28989
29619
|
};
|
|
28990
29620
|
Returns: boolean;
|
|
28991
29621
|
};
|
|
29622
|
+
quote_assign_number: {
|
|
29623
|
+
Args: {
|
|
29624
|
+
_offerte_id: string;
|
|
29625
|
+
};
|
|
29626
|
+
Returns: string;
|
|
29627
|
+
};
|
|
29628
|
+
quote_create_follow_up_now: {
|
|
29629
|
+
Args: {
|
|
29630
|
+
_offerte_id: string;
|
|
29631
|
+
_payload?: import("./types").Json;
|
|
29632
|
+
};
|
|
29633
|
+
Returns: import("./types").Json;
|
|
29634
|
+
};
|
|
28992
29635
|
quote_create_from_source: {
|
|
28993
29636
|
Args: {
|
|
28994
29637
|
_payload?: import("./types").Json;
|
|
@@ -29702,6 +30345,26 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
29702
30345
|
};
|
|
29703
30346
|
Returns: undefined;
|
|
29704
30347
|
};
|
|
30348
|
+
set_product_stock: {
|
|
30349
|
+
Args: {
|
|
30350
|
+
p_incoming_stock?: number;
|
|
30351
|
+
p_minimum_stock?: number;
|
|
30352
|
+
p_notes?: string;
|
|
30353
|
+
p_physical_stock: number;
|
|
30354
|
+
p_product_id: string;
|
|
30355
|
+
};
|
|
30356
|
+
Returns: {
|
|
30357
|
+
connection_id: string;
|
|
30358
|
+
incoming_stock: number;
|
|
30359
|
+
minimum_stock: number;
|
|
30360
|
+
notes: string;
|
|
30361
|
+
physical_stock: number;
|
|
30362
|
+
product_id: string;
|
|
30363
|
+
reserved_stock: number;
|
|
30364
|
+
trade_item_key: string;
|
|
30365
|
+
updated_at: string;
|
|
30366
|
+
}[];
|
|
30367
|
+
};
|
|
29705
30368
|
show_limit: {
|
|
29706
30369
|
Args: never;
|
|
29707
30370
|
Returns: number;
|
|
@@ -30226,6 +30889,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
30226
30889
|
};
|
|
30227
30890
|
Returns: number;
|
|
30228
30891
|
};
|
|
30892
|
+
vakantie_overuren: {
|
|
30893
|
+
Args: {
|
|
30894
|
+
_user_id: string;
|
|
30895
|
+
_year?: number;
|
|
30896
|
+
};
|
|
30897
|
+
Returns: number;
|
|
30898
|
+
};
|
|
30229
30899
|
vakantie_saldo: {
|
|
30230
30900
|
Args: {
|
|
30231
30901
|
_user_id: string;
|
|
@@ -30233,7 +30903,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
30233
30903
|
};
|
|
30234
30904
|
Returns: {
|
|
30235
30905
|
day_hours: number;
|
|
30906
|
+
earned_from_overtime_days: number;
|
|
30236
30907
|
entitlement_days: number;
|
|
30908
|
+
hours_to_next_day: number;
|
|
30909
|
+
overtime_hours: number;
|
|
30910
|
+
overtime_remainder_hours: number;
|
|
30911
|
+
paid_out_days: number;
|
|
30237
30912
|
remaining_days: number;
|
|
30238
30913
|
used_days: number;
|
|
30239
30914
|
}[];
|
|
@@ -30244,7 +30919,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
30244
30919
|
};
|
|
30245
30920
|
Returns: {
|
|
30246
30921
|
day_hours: number;
|
|
30922
|
+
earned_from_overtime_days: number;
|
|
30247
30923
|
entitlement_days: number;
|
|
30924
|
+
hours_to_next_day: number;
|
|
30925
|
+
overtime_hours: number;
|
|
30926
|
+
overtime_remainder_hours: number;
|
|
30927
|
+
paid_out_days: number;
|
|
30248
30928
|
remaining_days: number;
|
|
30249
30929
|
used_days: number;
|
|
30250
30930
|
user_id: string;
|
|
@@ -30298,12 +30978,25 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
30298
30978
|
};
|
|
30299
30979
|
Returns: import("./types").Json;
|
|
30300
30980
|
};
|
|
30981
|
+
wo_list_proposals: {
|
|
30982
|
+
Args: {
|
|
30983
|
+
_status?: string;
|
|
30984
|
+
};
|
|
30985
|
+
Returns: import("./types").Json;
|
|
30986
|
+
};
|
|
30301
30987
|
wo_process_offerte_request: {
|
|
30302
30988
|
Args: {
|
|
30303
30989
|
_queue_id: string;
|
|
30304
30990
|
};
|
|
30305
30991
|
Returns: import("./types").Json;
|
|
30306
30992
|
};
|
|
30993
|
+
wo_process_proposal: {
|
|
30994
|
+
Args: {
|
|
30995
|
+
_id: string;
|
|
30996
|
+
_overrides?: import("./types").Json;
|
|
30997
|
+
};
|
|
30998
|
+
Returns: import("./types").Json;
|
|
30999
|
+
};
|
|
30307
31000
|
wo_reject_offerte_request: {
|
|
30308
31001
|
Args: {
|
|
30309
31002
|
_queue_id: string;
|
|
@@ -30311,6 +31004,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
30311
31004
|
};
|
|
30312
31005
|
Returns: import("./types").Json;
|
|
30313
31006
|
};
|
|
31007
|
+
wo_reject_proposal: {
|
|
31008
|
+
Args: {
|
|
31009
|
+
_id: string;
|
|
31010
|
+
_reden?: string;
|
|
31011
|
+
};
|
|
31012
|
+
Returns: import("./types").Json;
|
|
31013
|
+
};
|
|
30314
31014
|
wo_set_status: {
|
|
30315
31015
|
Args: {
|
|
30316
31016
|
_reason?: string;
|