@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
|
@@ -8263,6 +8263,69 @@ 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
|
+
singleton_key: boolean;
|
|
8283
|
+
updated_at: string;
|
|
8284
|
+
vat_identification_number: string;
|
|
8285
|
+
website: string;
|
|
8286
|
+
};
|
|
8287
|
+
Insert: {
|
|
8288
|
+
address?: string;
|
|
8289
|
+
chamber_of_commerce_number?: string;
|
|
8290
|
+
city?: string;
|
|
8291
|
+
company_name?: string;
|
|
8292
|
+
created_at?: string;
|
|
8293
|
+
email?: string;
|
|
8294
|
+
email_purpose?: string | null;
|
|
8295
|
+
iban?: string;
|
|
8296
|
+
logo_path?: string | null;
|
|
8297
|
+
payment_term_days?: number;
|
|
8298
|
+
phone?: string;
|
|
8299
|
+
postal_code?: string;
|
|
8300
|
+
primary_color?: string;
|
|
8301
|
+
secondary_color?: string;
|
|
8302
|
+
singleton_key?: boolean;
|
|
8303
|
+
updated_at?: string;
|
|
8304
|
+
vat_identification_number?: string;
|
|
8305
|
+
website?: string;
|
|
8306
|
+
};
|
|
8307
|
+
Update: {
|
|
8308
|
+
address?: string;
|
|
8309
|
+
chamber_of_commerce_number?: string;
|
|
8310
|
+
city?: string;
|
|
8311
|
+
company_name?: string;
|
|
8312
|
+
created_at?: string;
|
|
8313
|
+
email?: string;
|
|
8314
|
+
email_purpose?: string | null;
|
|
8315
|
+
iban?: string;
|
|
8316
|
+
logo_path?: string | null;
|
|
8317
|
+
payment_term_days?: number;
|
|
8318
|
+
phone?: string;
|
|
8319
|
+
postal_code?: string;
|
|
8320
|
+
primary_color?: string;
|
|
8321
|
+
secondary_color?: string;
|
|
8322
|
+
singleton_key?: boolean;
|
|
8323
|
+
updated_at?: string;
|
|
8324
|
+
vat_identification_number?: string;
|
|
8325
|
+
website?: string;
|
|
8326
|
+
};
|
|
8327
|
+
Relationships: [];
|
|
8328
|
+
};
|
|
8266
8329
|
invoice_items: {
|
|
8267
8330
|
Row: {
|
|
8268
8331
|
created_at: string;
|
|
@@ -8276,6 +8339,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8276
8339
|
total_cents: number;
|
|
8277
8340
|
unit: string;
|
|
8278
8341
|
unit_price_cents: number;
|
|
8342
|
+
vat_rate: number | null;
|
|
8279
8343
|
};
|
|
8280
8344
|
Insert: {
|
|
8281
8345
|
created_at?: string;
|
|
@@ -8289,6 +8353,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8289
8353
|
total_cents?: number;
|
|
8290
8354
|
unit?: string;
|
|
8291
8355
|
unit_price_cents?: number;
|
|
8356
|
+
vat_rate?: number | null;
|
|
8292
8357
|
};
|
|
8293
8358
|
Update: {
|
|
8294
8359
|
created_at?: string;
|
|
@@ -8302,6 +8367,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8302
8367
|
total_cents?: number;
|
|
8303
8368
|
unit?: string;
|
|
8304
8369
|
unit_price_cents?: number;
|
|
8370
|
+
vat_rate?: number | null;
|
|
8305
8371
|
};
|
|
8306
8372
|
Relationships: [{
|
|
8307
8373
|
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
@@ -8547,6 +8613,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8547
8613
|
};
|
|
8548
8614
|
invoices: {
|
|
8549
8615
|
Row: {
|
|
8616
|
+
branding_snapshot: import("./types").Json | null;
|
|
8550
8617
|
created_at: string;
|
|
8551
8618
|
created_by: string | null;
|
|
8552
8619
|
customer_address: string | null;
|
|
@@ -8565,6 +8632,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8565
8632
|
note: string | null;
|
|
8566
8633
|
payment_term_days: number;
|
|
8567
8634
|
reference: string | null;
|
|
8635
|
+
sent_at: string | null;
|
|
8636
|
+
sent_to: string | null;
|
|
8568
8637
|
source_number: string | null;
|
|
8569
8638
|
source_ref: string | null;
|
|
8570
8639
|
source_type: string;
|
|
@@ -8577,6 +8646,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8577
8646
|
work_address: string | null;
|
|
8578
8647
|
};
|
|
8579
8648
|
Insert: {
|
|
8649
|
+
branding_snapshot?: import("./types").Json | null;
|
|
8580
8650
|
created_at?: string;
|
|
8581
8651
|
created_by?: string | null;
|
|
8582
8652
|
customer_address?: string | null;
|
|
@@ -8595,6 +8665,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8595
8665
|
note?: string | null;
|
|
8596
8666
|
payment_term_days?: number;
|
|
8597
8667
|
reference?: string | null;
|
|
8668
|
+
sent_at?: string | null;
|
|
8669
|
+
sent_to?: string | null;
|
|
8598
8670
|
source_number?: string | null;
|
|
8599
8671
|
source_ref?: string | null;
|
|
8600
8672
|
source_type?: string;
|
|
@@ -8607,6 +8679,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8607
8679
|
work_address?: string | null;
|
|
8608
8680
|
};
|
|
8609
8681
|
Update: {
|
|
8682
|
+
branding_snapshot?: import("./types").Json | null;
|
|
8610
8683
|
created_at?: string;
|
|
8611
8684
|
created_by?: string | null;
|
|
8612
8685
|
customer_address?: string | null;
|
|
@@ -8625,6 +8698,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8625
8698
|
note?: string | null;
|
|
8626
8699
|
payment_term_days?: number;
|
|
8627
8700
|
reference?: string | null;
|
|
8701
|
+
sent_at?: string | null;
|
|
8702
|
+
sent_to?: string | null;
|
|
8628
8703
|
source_number?: string | null;
|
|
8629
8704
|
source_ref?: string | null;
|
|
8630
8705
|
source_type?: string;
|
|
@@ -9333,6 +9408,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9333
9408
|
quantity: number;
|
|
9334
9409
|
sort_order: number;
|
|
9335
9410
|
source: string;
|
|
9411
|
+
unit: string | null;
|
|
9336
9412
|
unit_price_cents: number;
|
|
9337
9413
|
updated_at: string;
|
|
9338
9414
|
};
|
|
@@ -9346,6 +9422,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9346
9422
|
quantity?: number;
|
|
9347
9423
|
sort_order?: number;
|
|
9348
9424
|
source?: string;
|
|
9425
|
+
unit?: string | null;
|
|
9349
9426
|
unit_price_cents?: number;
|
|
9350
9427
|
updated_at?: string;
|
|
9351
9428
|
};
|
|
@@ -9359,6 +9436,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9359
9436
|
quantity?: number;
|
|
9360
9437
|
sort_order?: number;
|
|
9361
9438
|
source?: string;
|
|
9439
|
+
unit?: string | null;
|
|
9362
9440
|
unit_price_cents?: number;
|
|
9363
9441
|
updated_at?: string;
|
|
9364
9442
|
};
|
|
@@ -9382,6 +9460,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9382
9460
|
created_at: string;
|
|
9383
9461
|
default_geldigheid_dagen: number;
|
|
9384
9462
|
default_vat_rate: number;
|
|
9463
|
+
email_purpose: string | null;
|
|
9385
9464
|
id: string;
|
|
9386
9465
|
singleton: boolean;
|
|
9387
9466
|
updated_at: string;
|
|
@@ -9391,6 +9470,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9391
9470
|
created_at?: string;
|
|
9392
9471
|
default_geldigheid_dagen?: number;
|
|
9393
9472
|
default_vat_rate?: number;
|
|
9473
|
+
email_purpose?: string | null;
|
|
9394
9474
|
id?: string;
|
|
9395
9475
|
singleton?: boolean;
|
|
9396
9476
|
updated_at?: string;
|
|
@@ -9400,6 +9480,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9400
9480
|
created_at?: string;
|
|
9401
9481
|
default_geldigheid_dagen?: number;
|
|
9402
9482
|
default_vat_rate?: number;
|
|
9483
|
+
email_purpose?: string | null;
|
|
9403
9484
|
id?: string;
|
|
9404
9485
|
singleton?: boolean;
|
|
9405
9486
|
updated_at?: string;
|
|
@@ -9492,6 +9573,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9492
9573
|
};
|
|
9493
9574
|
itk_offertes: {
|
|
9494
9575
|
Row: {
|
|
9576
|
+
aandachtspunten: string | null;
|
|
9495
9577
|
ai_generated: boolean;
|
|
9496
9578
|
approved_at: string | null;
|
|
9497
9579
|
binnen_mandaat: boolean;
|
|
@@ -9507,6 +9589,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9507
9589
|
notities: string | null;
|
|
9508
9590
|
offerte_number: string | null;
|
|
9509
9591
|
omschrijving: string;
|
|
9592
|
+
onderwerp: string | null;
|
|
9510
9593
|
rejected_at: string | null;
|
|
9511
9594
|
sent_at: string | null;
|
|
9512
9595
|
source_number: string | null;
|
|
@@ -9519,12 +9602,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9519
9602
|
valid_until: string | null;
|
|
9520
9603
|
vat_cents: number;
|
|
9521
9604
|
vat_rate: number;
|
|
9605
|
+
verzonden_naar: string | null;
|
|
9522
9606
|
viewed_at: string | null;
|
|
9523
9607
|
volgnummer: number | null;
|
|
9608
|
+
voorwaarden: string | null;
|
|
9524
9609
|
werkbon_id: string | null;
|
|
9525
9610
|
work_location_id: string | null;
|
|
9526
9611
|
};
|
|
9527
9612
|
Insert: {
|
|
9613
|
+
aandachtspunten?: string | null;
|
|
9528
9614
|
ai_generated?: boolean;
|
|
9529
9615
|
approved_at?: string | null;
|
|
9530
9616
|
binnen_mandaat?: boolean;
|
|
@@ -9540,6 +9626,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9540
9626
|
notities?: string | null;
|
|
9541
9627
|
offerte_number?: string | null;
|
|
9542
9628
|
omschrijving?: string;
|
|
9629
|
+
onderwerp?: string | null;
|
|
9543
9630
|
rejected_at?: string | null;
|
|
9544
9631
|
sent_at?: string | null;
|
|
9545
9632
|
source_number?: string | null;
|
|
@@ -9552,12 +9639,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9552
9639
|
valid_until?: string | null;
|
|
9553
9640
|
vat_cents?: number;
|
|
9554
9641
|
vat_rate?: number;
|
|
9642
|
+
verzonden_naar?: string | null;
|
|
9555
9643
|
viewed_at?: string | null;
|
|
9556
9644
|
volgnummer?: number | null;
|
|
9645
|
+
voorwaarden?: string | null;
|
|
9557
9646
|
werkbon_id?: string | null;
|
|
9558
9647
|
work_location_id?: string | null;
|
|
9559
9648
|
};
|
|
9560
9649
|
Update: {
|
|
9650
|
+
aandachtspunten?: string | null;
|
|
9561
9651
|
ai_generated?: boolean;
|
|
9562
9652
|
approved_at?: string | null;
|
|
9563
9653
|
binnen_mandaat?: boolean;
|
|
@@ -9573,6 +9663,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9573
9663
|
notities?: string | null;
|
|
9574
9664
|
offerte_number?: string | null;
|
|
9575
9665
|
omschrijving?: string;
|
|
9666
|
+
onderwerp?: string | null;
|
|
9576
9667
|
rejected_at?: string | null;
|
|
9577
9668
|
sent_at?: string | null;
|
|
9578
9669
|
source_number?: string | null;
|
|
@@ -9585,8 +9676,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9585
9676
|
valid_until?: string | null;
|
|
9586
9677
|
vat_cents?: number;
|
|
9587
9678
|
vat_rate?: number;
|
|
9679
|
+
verzonden_naar?: string | null;
|
|
9588
9680
|
viewed_at?: string | null;
|
|
9589
9681
|
volgnummer?: number | null;
|
|
9682
|
+
voorwaarden?: string | null;
|
|
9590
9683
|
werkbon_id?: string | null;
|
|
9591
9684
|
work_location_id?: string | null;
|
|
9592
9685
|
};
|
|
@@ -21664,6 +21757,51 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21664
21757
|
referencedColumns: ["id"];
|
|
21665
21758
|
}];
|
|
21666
21759
|
};
|
|
21760
|
+
vakantie_uitbetalingen: {
|
|
21761
|
+
Row: {
|
|
21762
|
+
created_at: string;
|
|
21763
|
+
created_by: string | null;
|
|
21764
|
+
days: number;
|
|
21765
|
+
id: string;
|
|
21766
|
+
note: string | null;
|
|
21767
|
+
updated_at: string;
|
|
21768
|
+
user_id: string;
|
|
21769
|
+
year: number;
|
|
21770
|
+
};
|
|
21771
|
+
Insert: {
|
|
21772
|
+
created_at?: string;
|
|
21773
|
+
created_by?: string | null;
|
|
21774
|
+
days: number;
|
|
21775
|
+
id?: string;
|
|
21776
|
+
note?: string | null;
|
|
21777
|
+
updated_at?: string;
|
|
21778
|
+
user_id: string;
|
|
21779
|
+
year?: number;
|
|
21780
|
+
};
|
|
21781
|
+
Update: {
|
|
21782
|
+
created_at?: string;
|
|
21783
|
+
created_by?: string | null;
|
|
21784
|
+
days?: number;
|
|
21785
|
+
id?: string;
|
|
21786
|
+
note?: string | null;
|
|
21787
|
+
updated_at?: string;
|
|
21788
|
+
user_id?: string;
|
|
21789
|
+
year?: number;
|
|
21790
|
+
};
|
|
21791
|
+
Relationships: [{
|
|
21792
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
21793
|
+
columns: ["created_by"];
|
|
21794
|
+
isOneToOne: false;
|
|
21795
|
+
referencedRelation: "profiles";
|
|
21796
|
+
referencedColumns: ["id"];
|
|
21797
|
+
}, {
|
|
21798
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
21799
|
+
columns: ["user_id"];
|
|
21800
|
+
isOneToOne: false;
|
|
21801
|
+
referencedRelation: "profiles";
|
|
21802
|
+
referencedColumns: ["id"];
|
|
21803
|
+
}];
|
|
21804
|
+
};
|
|
21667
21805
|
van_inventories: {
|
|
21668
21806
|
Row: {
|
|
21669
21807
|
barcode: string | null;
|
|
@@ -22948,6 +23086,78 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
22948
23086
|
referencedColumns: ["id"];
|
|
22949
23087
|
}];
|
|
22950
23088
|
};
|
|
23089
|
+
werkbon_voorstellen: {
|
|
23090
|
+
Row: {
|
|
23091
|
+
bron_werkbon_id: string;
|
|
23092
|
+
budget_mandate_cents: number;
|
|
23093
|
+
created_at: string;
|
|
23094
|
+
created_by: string;
|
|
23095
|
+
customer_id: string | null;
|
|
23096
|
+
id: string;
|
|
23097
|
+
payload: import("./types").Json;
|
|
23098
|
+
reden: string | null;
|
|
23099
|
+
status: string;
|
|
23100
|
+
updated_at: string;
|
|
23101
|
+
verwerkt_door: string | null;
|
|
23102
|
+
verwerkt_op: string | null;
|
|
23103
|
+
werkbon_id: string | null;
|
|
23104
|
+
};
|
|
23105
|
+
Insert: {
|
|
23106
|
+
bron_werkbon_id: string;
|
|
23107
|
+
budget_mandate_cents?: number;
|
|
23108
|
+
created_at?: string;
|
|
23109
|
+
created_by?: string;
|
|
23110
|
+
customer_id?: string | null;
|
|
23111
|
+
id?: string;
|
|
23112
|
+
payload?: import("./types").Json;
|
|
23113
|
+
reden?: string | null;
|
|
23114
|
+
status?: string;
|
|
23115
|
+
updated_at?: string;
|
|
23116
|
+
verwerkt_door?: string | null;
|
|
23117
|
+
verwerkt_op?: string | null;
|
|
23118
|
+
werkbon_id?: string | null;
|
|
23119
|
+
};
|
|
23120
|
+
Update: {
|
|
23121
|
+
bron_werkbon_id?: string;
|
|
23122
|
+
budget_mandate_cents?: number;
|
|
23123
|
+
created_at?: string;
|
|
23124
|
+
created_by?: string;
|
|
23125
|
+
customer_id?: string | null;
|
|
23126
|
+
id?: string;
|
|
23127
|
+
payload?: import("./types").Json;
|
|
23128
|
+
reden?: string | null;
|
|
23129
|
+
status?: string;
|
|
23130
|
+
updated_at?: string;
|
|
23131
|
+
verwerkt_door?: string | null;
|
|
23132
|
+
verwerkt_op?: string | null;
|
|
23133
|
+
werkbon_id?: string | null;
|
|
23134
|
+
};
|
|
23135
|
+
Relationships: [{
|
|
23136
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23137
|
+
columns: ["bron_werkbon_id"];
|
|
23138
|
+
isOneToOne: false;
|
|
23139
|
+
referencedRelation: "werkbonnen";
|
|
23140
|
+
referencedColumns: ["id"];
|
|
23141
|
+
}, {
|
|
23142
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23143
|
+
columns: ["bron_werkbon_id"];
|
|
23144
|
+
isOneToOne: false;
|
|
23145
|
+
referencedRelation: "wo_overview";
|
|
23146
|
+
referencedColumns: ["id"];
|
|
23147
|
+
}, {
|
|
23148
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23149
|
+
columns: ["werkbon_id"];
|
|
23150
|
+
isOneToOne: false;
|
|
23151
|
+
referencedRelation: "werkbonnen";
|
|
23152
|
+
referencedColumns: ["id"];
|
|
23153
|
+
}, {
|
|
23154
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23155
|
+
columns: ["werkbon_id"];
|
|
23156
|
+
isOneToOne: false;
|
|
23157
|
+
referencedRelation: "wo_overview";
|
|
23158
|
+
referencedColumns: ["id"];
|
|
23159
|
+
}];
|
|
23160
|
+
};
|
|
22951
23161
|
werkbonnen: {
|
|
22952
23162
|
Row: {
|
|
22953
23163
|
assigned_user_id: string | null;
|
|
@@ -24188,6 +24398,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
24188
24398
|
};
|
|
24189
24399
|
Returns: undefined;
|
|
24190
24400
|
};
|
|
24401
|
+
_wo_is_planner: {
|
|
24402
|
+
Args: never;
|
|
24403
|
+
Returns: boolean;
|
|
24404
|
+
};
|
|
24191
24405
|
afh_city_code: {
|
|
24192
24406
|
Args: {
|
|
24193
24407
|
_city: string;
|
|
@@ -25300,6 +25514,22 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25300
25514
|
};
|
|
25301
25515
|
Returns: number;
|
|
25302
25516
|
};
|
|
25517
|
+
get_product_stock: {
|
|
25518
|
+
Args: {
|
|
25519
|
+
p_product_id: string;
|
|
25520
|
+
};
|
|
25521
|
+
Returns: {
|
|
25522
|
+
connection_id: string;
|
|
25523
|
+
incoming_stock: number;
|
|
25524
|
+
minimum_stock: number;
|
|
25525
|
+
notes: string;
|
|
25526
|
+
physical_stock: number;
|
|
25527
|
+
product_id: string;
|
|
25528
|
+
reserved_stock: number;
|
|
25529
|
+
trade_item_key: string;
|
|
25530
|
+
updated_at: string;
|
|
25531
|
+
}[];
|
|
25532
|
+
};
|
|
25303
25533
|
get_room_busy_windows: {
|
|
25304
25534
|
Args: {
|
|
25305
25535
|
p_from: string;
|
|
@@ -25637,6 +25867,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25637
25867
|
};
|
|
25638
25868
|
Returns: number;
|
|
25639
25869
|
};
|
|
25870
|
+
invoice_branding_snapshot: {
|
|
25871
|
+
Args: never;
|
|
25872
|
+
Returns: import("./types").Json;
|
|
25873
|
+
};
|
|
25640
25874
|
invoice_create_from_source: {
|
|
25641
25875
|
Args: {
|
|
25642
25876
|
_payload?: import("./types").Json;
|
|
@@ -25671,6 +25905,17 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25671
25905
|
};
|
|
25672
25906
|
Returns: import("./types").Json;
|
|
25673
25907
|
};
|
|
25908
|
+
invoice_mark_sent: {
|
|
25909
|
+
Args: {
|
|
25910
|
+
_invoice_id: string;
|
|
25911
|
+
_to: string;
|
|
25912
|
+
};
|
|
25913
|
+
Returns: undefined;
|
|
25914
|
+
};
|
|
25915
|
+
invoice_peek_next_number: {
|
|
25916
|
+
Args: never;
|
|
25917
|
+
Returns: string;
|
|
25918
|
+
};
|
|
25674
25919
|
invoice_ready_work_orders: {
|
|
25675
25920
|
Args: {
|
|
25676
25921
|
_limit?: number;
|
|
@@ -25683,6 +25928,18 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25683
25928
|
};
|
|
25684
25929
|
Returns: import("./types").Json;
|
|
25685
25930
|
};
|
|
25931
|
+
invoice_save_branding_settings: {
|
|
25932
|
+
Args: {
|
|
25933
|
+
_payload: import("./types").Json;
|
|
25934
|
+
};
|
|
25935
|
+
Returns: import("./types").Json;
|
|
25936
|
+
};
|
|
25937
|
+
invoice_set_email_purpose: {
|
|
25938
|
+
Args: {
|
|
25939
|
+
_purpose: string;
|
|
25940
|
+
};
|
|
25941
|
+
Returns: string;
|
|
25942
|
+
};
|
|
25686
25943
|
invoice_source_lines: {
|
|
25687
25944
|
Args: {
|
|
25688
25945
|
_source_id: string;
|
|
@@ -25690,6 +25947,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25690
25947
|
};
|
|
25691
25948
|
Returns: import("./types").Json;
|
|
25692
25949
|
};
|
|
25950
|
+
invoice_update_full: {
|
|
25951
|
+
Args: {
|
|
25952
|
+
_invoice_id: string;
|
|
25953
|
+
_payload: import("./types").Json;
|
|
25954
|
+
};
|
|
25955
|
+
Returns: import("./types").Json;
|
|
25956
|
+
};
|
|
25957
|
+
invoice_work_order_locked: {
|
|
25958
|
+
Args: {
|
|
25959
|
+
_werkbon_id: string;
|
|
25960
|
+
};
|
|
25961
|
+
Returns: import("./types").Json;
|
|
25962
|
+
};
|
|
25693
25963
|
is_authenticated: {
|
|
25694
25964
|
Args: never;
|
|
25695
25965
|
Returns: boolean;
|
|
@@ -28989,6 +29259,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28989
29259
|
};
|
|
28990
29260
|
Returns: boolean;
|
|
28991
29261
|
};
|
|
29262
|
+
quote_assign_number: {
|
|
29263
|
+
Args: {
|
|
29264
|
+
_offerte_id: string;
|
|
29265
|
+
};
|
|
29266
|
+
Returns: string;
|
|
29267
|
+
};
|
|
29268
|
+
quote_create_follow_up_now: {
|
|
29269
|
+
Args: {
|
|
29270
|
+
_offerte_id: string;
|
|
29271
|
+
_payload?: import("./types").Json;
|
|
29272
|
+
};
|
|
29273
|
+
Returns: import("./types").Json;
|
|
29274
|
+
};
|
|
28992
29275
|
quote_create_from_source: {
|
|
28993
29276
|
Args: {
|
|
28994
29277
|
_payload?: import("./types").Json;
|
|
@@ -29702,6 +29985,26 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
29702
29985
|
};
|
|
29703
29986
|
Returns: undefined;
|
|
29704
29987
|
};
|
|
29988
|
+
set_product_stock: {
|
|
29989
|
+
Args: {
|
|
29990
|
+
p_incoming_stock?: number;
|
|
29991
|
+
p_minimum_stock?: number;
|
|
29992
|
+
p_notes?: string;
|
|
29993
|
+
p_physical_stock: number;
|
|
29994
|
+
p_product_id: string;
|
|
29995
|
+
};
|
|
29996
|
+
Returns: {
|
|
29997
|
+
connection_id: string;
|
|
29998
|
+
incoming_stock: number;
|
|
29999
|
+
minimum_stock: number;
|
|
30000
|
+
notes: string;
|
|
30001
|
+
physical_stock: number;
|
|
30002
|
+
product_id: string;
|
|
30003
|
+
reserved_stock: number;
|
|
30004
|
+
trade_item_key: string;
|
|
30005
|
+
updated_at: string;
|
|
30006
|
+
}[];
|
|
30007
|
+
};
|
|
29705
30008
|
show_limit: {
|
|
29706
30009
|
Args: never;
|
|
29707
30010
|
Returns: number;
|
|
@@ -30226,6 +30529,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
30226
30529
|
};
|
|
30227
30530
|
Returns: number;
|
|
30228
30531
|
};
|
|
30532
|
+
vakantie_overuren: {
|
|
30533
|
+
Args: {
|
|
30534
|
+
_user_id: string;
|
|
30535
|
+
_year?: number;
|
|
30536
|
+
};
|
|
30537
|
+
Returns: number;
|
|
30538
|
+
};
|
|
30229
30539
|
vakantie_saldo: {
|
|
30230
30540
|
Args: {
|
|
30231
30541
|
_user_id: string;
|
|
@@ -30233,7 +30543,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
30233
30543
|
};
|
|
30234
30544
|
Returns: {
|
|
30235
30545
|
day_hours: number;
|
|
30546
|
+
earned_from_overtime_days: number;
|
|
30236
30547
|
entitlement_days: number;
|
|
30548
|
+
hours_to_next_day: number;
|
|
30549
|
+
overtime_hours: number;
|
|
30550
|
+
overtime_remainder_hours: number;
|
|
30551
|
+
paid_out_days: number;
|
|
30237
30552
|
remaining_days: number;
|
|
30238
30553
|
used_days: number;
|
|
30239
30554
|
}[];
|
|
@@ -30244,7 +30559,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
30244
30559
|
};
|
|
30245
30560
|
Returns: {
|
|
30246
30561
|
day_hours: number;
|
|
30562
|
+
earned_from_overtime_days: number;
|
|
30247
30563
|
entitlement_days: number;
|
|
30564
|
+
hours_to_next_day: number;
|
|
30565
|
+
overtime_hours: number;
|
|
30566
|
+
overtime_remainder_hours: number;
|
|
30567
|
+
paid_out_days: number;
|
|
30248
30568
|
remaining_days: number;
|
|
30249
30569
|
used_days: number;
|
|
30250
30570
|
user_id: string;
|
|
@@ -30298,12 +30618,25 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
30298
30618
|
};
|
|
30299
30619
|
Returns: import("./types").Json;
|
|
30300
30620
|
};
|
|
30621
|
+
wo_list_proposals: {
|
|
30622
|
+
Args: {
|
|
30623
|
+
_status?: string;
|
|
30624
|
+
};
|
|
30625
|
+
Returns: import("./types").Json;
|
|
30626
|
+
};
|
|
30301
30627
|
wo_process_offerte_request: {
|
|
30302
30628
|
Args: {
|
|
30303
30629
|
_queue_id: string;
|
|
30304
30630
|
};
|
|
30305
30631
|
Returns: import("./types").Json;
|
|
30306
30632
|
};
|
|
30633
|
+
wo_process_proposal: {
|
|
30634
|
+
Args: {
|
|
30635
|
+
_id: string;
|
|
30636
|
+
_overrides?: import("./types").Json;
|
|
30637
|
+
};
|
|
30638
|
+
Returns: import("./types").Json;
|
|
30639
|
+
};
|
|
30307
30640
|
wo_reject_offerte_request: {
|
|
30308
30641
|
Args: {
|
|
30309
30642
|
_queue_id: string;
|
|
@@ -30311,6 +30644,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
30311
30644
|
};
|
|
30312
30645
|
Returns: import("./types").Json;
|
|
30313
30646
|
};
|
|
30647
|
+
wo_reject_proposal: {
|
|
30648
|
+
Args: {
|
|
30649
|
+
_id: string;
|
|
30650
|
+
_reden?: string;
|
|
30651
|
+
};
|
|
30652
|
+
Returns: import("./types").Json;
|
|
30653
|
+
};
|
|
30314
30654
|
wo_set_status: {
|
|
30315
30655
|
Args: {
|
|
30316
30656
|
_reason?: string;
|