@flowselections/layout-maker 1.45.19 → 1.46.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/DocumentenPage.d.ts.map +1 -1
- package/dist-lib/components/DocumentenPage.js +2 -3
- package/dist-lib/components/PrintQueuePage.d.ts.map +1 -1
- package/dist-lib/components/PrintQueuePage.js +5 -71
- package/dist-lib/components/PrintenPage.d.ts.map +1 -1
- package/dist-lib/components/PrintenPage.js +2 -3
- package/dist-lib/components/PrinterSetupWizard.d.ts.map +1 -1
- package/dist-lib/components/PrinterSetupWizard.js +2 -25
- package/dist-lib/components/PrintplekDetailPage.d.ts.map +1 -1
- package/dist-lib/components/PrintplekDetailPage.js +3 -25
- package/dist-lib/components/PrintplekWizard.d.ts.map +1 -1
- package/dist-lib/components/PrintplekWizard.js +3 -85
- package/dist-lib/index.d.ts +0 -8
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +0 -10
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +931 -46
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +931 -46
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +931 -46
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +955 -47
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/aiLayout.functions.d.ts +931 -46
- package/dist-lib/lib/aiLayout.functions.d.ts.map +1 -1
- package/dist-lib/lib/printApi.d.ts +0 -2
- package/dist-lib/lib/printApi.d.ts.map +1 -1
- package/dist-lib/lib/printApi.js +0 -21
- package/dist-lib/lib/printQueue.server.d.ts +8 -0
- package/dist-lib/lib/printQueue.server.d.ts.map +1 -1
- package/dist-lib/lib/printQueue.server.js +36 -67
- package/dist-lib/lib/printService.functions.d.ts +4425 -0
- package/dist-lib/lib/printService.functions.d.ts.map +1 -1
- package/dist-lib/lib/voorbeeldPrint.d.ts.map +1 -1
- package/dist-lib/lib/voorbeeldPrint.js +7 -39
- package/package.json +1 -1
- package/dist-lib/components/PdfMapAutoSaver.d.ts +0 -6
- package/dist-lib/components/PdfMapAutoSaver.d.ts.map +0 -1
- package/dist-lib/components/PdfMapAutoSaver.js +0 -12
- package/dist-lib/components/PdfMapGlobaleBanner.d.ts +0 -12
- package/dist-lib/components/PdfMapGlobaleBanner.d.ts.map +0 -1
- package/dist-lib/components/PdfMapGlobaleBanner.js +0 -30
- package/dist-lib/components/PdfMapToestemmingBanner.d.ts +0 -8
- package/dist-lib/components/PdfMapToestemmingBanner.d.ts.map +0 -1
- package/dist-lib/components/PdfMapToestemmingBanner.js +0 -245
- package/dist-lib/lib/pdfJobSaver.d.ts +0 -24
- package/dist-lib/lib/pdfJobSaver.d.ts.map +0 -1
- package/dist-lib/lib/pdfJobSaver.js +0 -405
- package/dist-lib/lib/pdfMap.d.ts +0 -90
- package/dist-lib/lib/pdfMap.d.ts.map +0 -1
- package/dist-lib/lib/pdfMap.js +0 -349
- package/dist-lib/lib/pdfOpslagStatus.d.ts +0 -23
- package/dist-lib/lib/pdfOpslagStatus.d.ts.map +0 -1
- package/dist-lib/lib/pdfOpslagStatus.js +0 -74
- package/dist-lib/lib/pdfPrinter.d.ts +0 -9
- package/dist-lib/lib/pdfPrinter.d.ts.map +0 -1
- package/dist-lib/lib/pdfPrinter.js +0 -34
|
@@ -735,6 +735,27 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
735
735
|
};
|
|
736
736
|
Relationships: [];
|
|
737
737
|
};
|
|
738
|
+
artikelen_instellingen: {
|
|
739
|
+
Row: {
|
|
740
|
+
created_at: string;
|
|
741
|
+
id: number;
|
|
742
|
+
marge_procent: number;
|
|
743
|
+
updated_at: string;
|
|
744
|
+
};
|
|
745
|
+
Insert: {
|
|
746
|
+
created_at?: string;
|
|
747
|
+
id?: number;
|
|
748
|
+
marge_procent?: number;
|
|
749
|
+
updated_at?: string;
|
|
750
|
+
};
|
|
751
|
+
Update: {
|
|
752
|
+
created_at?: string;
|
|
753
|
+
id?: number;
|
|
754
|
+
marge_procent?: number;
|
|
755
|
+
updated_at?: string;
|
|
756
|
+
};
|
|
757
|
+
Relationships: [];
|
|
758
|
+
};
|
|
738
759
|
artikelen_veldconfig: {
|
|
739
760
|
Row: {
|
|
740
761
|
bron_pad: string;
|
|
@@ -8265,6 +8286,72 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
8265
8286
|
};
|
|
8266
8287
|
Relationships: [];
|
|
8267
8288
|
};
|
|
8289
|
+
invoice_branding_settings: {
|
|
8290
|
+
Row: {
|
|
8291
|
+
address: string;
|
|
8292
|
+
chamber_of_commerce_number: string;
|
|
8293
|
+
city: string;
|
|
8294
|
+
company_name: string;
|
|
8295
|
+
created_at: string;
|
|
8296
|
+
email: string;
|
|
8297
|
+
email_purpose: string | null;
|
|
8298
|
+
iban: string;
|
|
8299
|
+
logo_path: string | null;
|
|
8300
|
+
payment_term_days: number;
|
|
8301
|
+
phone: string;
|
|
8302
|
+
postal_code: string;
|
|
8303
|
+
primary_color: string;
|
|
8304
|
+
secondary_color: string;
|
|
8305
|
+
show_company_name: boolean;
|
|
8306
|
+
singleton_key: boolean;
|
|
8307
|
+
updated_at: string;
|
|
8308
|
+
vat_identification_number: string;
|
|
8309
|
+
website: string;
|
|
8310
|
+
};
|
|
8311
|
+
Insert: {
|
|
8312
|
+
address?: string;
|
|
8313
|
+
chamber_of_commerce_number?: string;
|
|
8314
|
+
city?: string;
|
|
8315
|
+
company_name?: string;
|
|
8316
|
+
created_at?: string;
|
|
8317
|
+
email?: string;
|
|
8318
|
+
email_purpose?: string | null;
|
|
8319
|
+
iban?: string;
|
|
8320
|
+
logo_path?: string | null;
|
|
8321
|
+
payment_term_days?: number;
|
|
8322
|
+
phone?: string;
|
|
8323
|
+
postal_code?: string;
|
|
8324
|
+
primary_color?: string;
|
|
8325
|
+
secondary_color?: string;
|
|
8326
|
+
show_company_name?: boolean;
|
|
8327
|
+
singleton_key?: boolean;
|
|
8328
|
+
updated_at?: string;
|
|
8329
|
+
vat_identification_number?: string;
|
|
8330
|
+
website?: string;
|
|
8331
|
+
};
|
|
8332
|
+
Update: {
|
|
8333
|
+
address?: string;
|
|
8334
|
+
chamber_of_commerce_number?: string;
|
|
8335
|
+
city?: string;
|
|
8336
|
+
company_name?: string;
|
|
8337
|
+
created_at?: string;
|
|
8338
|
+
email?: string;
|
|
8339
|
+
email_purpose?: string | null;
|
|
8340
|
+
iban?: string;
|
|
8341
|
+
logo_path?: string | null;
|
|
8342
|
+
payment_term_days?: number;
|
|
8343
|
+
phone?: string;
|
|
8344
|
+
postal_code?: string;
|
|
8345
|
+
primary_color?: string;
|
|
8346
|
+
secondary_color?: string;
|
|
8347
|
+
show_company_name?: boolean;
|
|
8348
|
+
singleton_key?: boolean;
|
|
8349
|
+
updated_at?: string;
|
|
8350
|
+
vat_identification_number?: string;
|
|
8351
|
+
website?: string;
|
|
8352
|
+
};
|
|
8353
|
+
Relationships: [];
|
|
8354
|
+
};
|
|
8268
8355
|
invoice_items: {
|
|
8269
8356
|
Row: {
|
|
8270
8357
|
created_at: string;
|
|
@@ -8278,6 +8365,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
8278
8365
|
total_cents: number;
|
|
8279
8366
|
unit: string;
|
|
8280
8367
|
unit_price_cents: number;
|
|
8368
|
+
vat_rate: number | null;
|
|
8281
8369
|
};
|
|
8282
8370
|
Insert: {
|
|
8283
8371
|
created_at?: string;
|
|
@@ -8291,6 +8379,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
8291
8379
|
total_cents?: number;
|
|
8292
8380
|
unit?: string;
|
|
8293
8381
|
unit_price_cents?: number;
|
|
8382
|
+
vat_rate?: number | null;
|
|
8294
8383
|
};
|
|
8295
8384
|
Update: {
|
|
8296
8385
|
created_at?: string;
|
|
@@ -8304,6 +8393,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
8304
8393
|
total_cents?: number;
|
|
8305
8394
|
unit?: string;
|
|
8306
8395
|
unit_price_cents?: number;
|
|
8396
|
+
vat_rate?: number | null;
|
|
8307
8397
|
};
|
|
8308
8398
|
Relationships: [{
|
|
8309
8399
|
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
@@ -8549,6 +8639,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
8549
8639
|
};
|
|
8550
8640
|
invoices: {
|
|
8551
8641
|
Row: {
|
|
8642
|
+
branding_snapshot: import("./types.js").Json | null;
|
|
8552
8643
|
created_at: string;
|
|
8553
8644
|
created_by: string | null;
|
|
8554
8645
|
customer_address: string | null;
|
|
@@ -8567,6 +8658,8 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
8567
8658
|
note: string | null;
|
|
8568
8659
|
payment_term_days: number;
|
|
8569
8660
|
reference: string | null;
|
|
8661
|
+
sent_at: string | null;
|
|
8662
|
+
sent_to: string | null;
|
|
8570
8663
|
source_number: string | null;
|
|
8571
8664
|
source_ref: string | null;
|
|
8572
8665
|
source_type: string;
|
|
@@ -8579,6 +8672,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
8579
8672
|
work_address: string | null;
|
|
8580
8673
|
};
|
|
8581
8674
|
Insert: {
|
|
8675
|
+
branding_snapshot?: import("./types.js").Json | null;
|
|
8582
8676
|
created_at?: string;
|
|
8583
8677
|
created_by?: string | null;
|
|
8584
8678
|
customer_address?: string | null;
|
|
@@ -8597,6 +8691,8 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
8597
8691
|
note?: string | null;
|
|
8598
8692
|
payment_term_days?: number;
|
|
8599
8693
|
reference?: string | null;
|
|
8694
|
+
sent_at?: string | null;
|
|
8695
|
+
sent_to?: string | null;
|
|
8600
8696
|
source_number?: string | null;
|
|
8601
8697
|
source_ref?: string | null;
|
|
8602
8698
|
source_type?: string;
|
|
@@ -8609,6 +8705,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
8609
8705
|
work_address?: string | null;
|
|
8610
8706
|
};
|
|
8611
8707
|
Update: {
|
|
8708
|
+
branding_snapshot?: import("./types.js").Json | null;
|
|
8612
8709
|
created_at?: string;
|
|
8613
8710
|
created_by?: string | null;
|
|
8614
8711
|
customer_address?: string | null;
|
|
@@ -8627,6 +8724,8 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
8627
8724
|
note?: string | null;
|
|
8628
8725
|
payment_term_days?: number;
|
|
8629
8726
|
reference?: string | null;
|
|
8727
|
+
sent_at?: string | null;
|
|
8728
|
+
sent_to?: string | null;
|
|
8630
8729
|
source_number?: string | null;
|
|
8631
8730
|
source_ref?: string | null;
|
|
8632
8731
|
source_type?: string;
|
|
@@ -9335,6 +9434,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
9335
9434
|
quantity: number;
|
|
9336
9435
|
sort_order: number;
|
|
9337
9436
|
source: string;
|
|
9437
|
+
unit: string | null;
|
|
9338
9438
|
unit_price_cents: number;
|
|
9339
9439
|
updated_at: string;
|
|
9340
9440
|
};
|
|
@@ -9348,6 +9448,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
9348
9448
|
quantity?: number;
|
|
9349
9449
|
sort_order?: number;
|
|
9350
9450
|
source?: string;
|
|
9451
|
+
unit?: string | null;
|
|
9351
9452
|
unit_price_cents?: number;
|
|
9352
9453
|
updated_at?: string;
|
|
9353
9454
|
};
|
|
@@ -9361,6 +9462,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
9361
9462
|
quantity?: number;
|
|
9362
9463
|
sort_order?: number;
|
|
9363
9464
|
source?: string;
|
|
9465
|
+
unit?: string | null;
|
|
9364
9466
|
unit_price_cents?: number;
|
|
9365
9467
|
updated_at?: string;
|
|
9366
9468
|
};
|
|
@@ -9384,6 +9486,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
9384
9486
|
created_at: string;
|
|
9385
9487
|
default_geldigheid_dagen: number;
|
|
9386
9488
|
default_vat_rate: number;
|
|
9489
|
+
email_purpose: string | null;
|
|
9387
9490
|
id: string;
|
|
9388
9491
|
singleton: boolean;
|
|
9389
9492
|
updated_at: string;
|
|
@@ -9393,6 +9496,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
9393
9496
|
created_at?: string;
|
|
9394
9497
|
default_geldigheid_dagen?: number;
|
|
9395
9498
|
default_vat_rate?: number;
|
|
9499
|
+
email_purpose?: string | null;
|
|
9396
9500
|
id?: string;
|
|
9397
9501
|
singleton?: boolean;
|
|
9398
9502
|
updated_at?: string;
|
|
@@ -9402,6 +9506,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
9402
9506
|
created_at?: string;
|
|
9403
9507
|
default_geldigheid_dagen?: number;
|
|
9404
9508
|
default_vat_rate?: number;
|
|
9509
|
+
email_purpose?: string | null;
|
|
9405
9510
|
id?: string;
|
|
9406
9511
|
singleton?: boolean;
|
|
9407
9512
|
updated_at?: string;
|
|
@@ -9494,6 +9599,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
9494
9599
|
};
|
|
9495
9600
|
itk_offertes: {
|
|
9496
9601
|
Row: {
|
|
9602
|
+
aandachtspunten: string | null;
|
|
9497
9603
|
ai_generated: boolean;
|
|
9498
9604
|
approved_at: string | null;
|
|
9499
9605
|
binnen_mandaat: boolean;
|
|
@@ -9509,6 +9615,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
9509
9615
|
notities: string | null;
|
|
9510
9616
|
offerte_number: string | null;
|
|
9511
9617
|
omschrijving: string;
|
|
9618
|
+
onderwerp: string | null;
|
|
9512
9619
|
rejected_at: string | null;
|
|
9513
9620
|
sent_at: string | null;
|
|
9514
9621
|
source_number: string | null;
|
|
@@ -9521,12 +9628,15 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
9521
9628
|
valid_until: string | null;
|
|
9522
9629
|
vat_cents: number;
|
|
9523
9630
|
vat_rate: number;
|
|
9631
|
+
verzonden_naar: string | null;
|
|
9524
9632
|
viewed_at: string | null;
|
|
9525
9633
|
volgnummer: number | null;
|
|
9634
|
+
voorwaarden: string | null;
|
|
9526
9635
|
werkbon_id: string | null;
|
|
9527
9636
|
work_location_id: string | null;
|
|
9528
9637
|
};
|
|
9529
9638
|
Insert: {
|
|
9639
|
+
aandachtspunten?: string | null;
|
|
9530
9640
|
ai_generated?: boolean;
|
|
9531
9641
|
approved_at?: string | null;
|
|
9532
9642
|
binnen_mandaat?: boolean;
|
|
@@ -9542,6 +9652,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
9542
9652
|
notities?: string | null;
|
|
9543
9653
|
offerte_number?: string | null;
|
|
9544
9654
|
omschrijving?: string;
|
|
9655
|
+
onderwerp?: string | null;
|
|
9545
9656
|
rejected_at?: string | null;
|
|
9546
9657
|
sent_at?: string | null;
|
|
9547
9658
|
source_number?: string | null;
|
|
@@ -9554,12 +9665,15 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
9554
9665
|
valid_until?: string | null;
|
|
9555
9666
|
vat_cents?: number;
|
|
9556
9667
|
vat_rate?: number;
|
|
9668
|
+
verzonden_naar?: string | null;
|
|
9557
9669
|
viewed_at?: string | null;
|
|
9558
9670
|
volgnummer?: number | null;
|
|
9671
|
+
voorwaarden?: string | null;
|
|
9559
9672
|
werkbon_id?: string | null;
|
|
9560
9673
|
work_location_id?: string | null;
|
|
9561
9674
|
};
|
|
9562
9675
|
Update: {
|
|
9676
|
+
aandachtspunten?: string | null;
|
|
9563
9677
|
ai_generated?: boolean;
|
|
9564
9678
|
approved_at?: string | null;
|
|
9565
9679
|
binnen_mandaat?: boolean;
|
|
@@ -9575,6 +9689,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
9575
9689
|
notities?: string | null;
|
|
9576
9690
|
offerte_number?: string | null;
|
|
9577
9691
|
omschrijving?: string;
|
|
9692
|
+
onderwerp?: string | null;
|
|
9578
9693
|
rejected_at?: string | null;
|
|
9579
9694
|
sent_at?: string | null;
|
|
9580
9695
|
source_number?: string | null;
|
|
@@ -9587,8 +9702,10 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
9587
9702
|
valid_until?: string | null;
|
|
9588
9703
|
vat_cents?: number;
|
|
9589
9704
|
vat_rate?: number;
|
|
9705
|
+
verzonden_naar?: string | null;
|
|
9590
9706
|
viewed_at?: string | null;
|
|
9591
9707
|
volgnummer?: number | null;
|
|
9708
|
+
voorwaarden?: string | null;
|
|
9592
9709
|
werkbon_id?: string | null;
|
|
9593
9710
|
work_location_id?: string | null;
|
|
9594
9711
|
};
|
|
@@ -10314,6 +10431,30 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
10314
10431
|
};
|
|
10315
10432
|
Relationships: [];
|
|
10316
10433
|
};
|
|
10434
|
+
logistics_cart_barcode_archief: {
|
|
10435
|
+
Row: {
|
|
10436
|
+
barcode: string;
|
|
10437
|
+
cart_id: string;
|
|
10438
|
+
created_at: string | null;
|
|
10439
|
+
gearchiveerd_op: string;
|
|
10440
|
+
order_id: string | null;
|
|
10441
|
+
};
|
|
10442
|
+
Insert: {
|
|
10443
|
+
barcode: string;
|
|
10444
|
+
cart_id: string;
|
|
10445
|
+
created_at?: string | null;
|
|
10446
|
+
gearchiveerd_op?: string;
|
|
10447
|
+
order_id?: string | null;
|
|
10448
|
+
};
|
|
10449
|
+
Update: {
|
|
10450
|
+
barcode?: string;
|
|
10451
|
+
cart_id?: string;
|
|
10452
|
+
created_at?: string | null;
|
|
10453
|
+
gearchiveerd_op?: string;
|
|
10454
|
+
order_id?: string | null;
|
|
10455
|
+
};
|
|
10456
|
+
Relationships: [];
|
|
10457
|
+
};
|
|
10317
10458
|
logistics_control_scan: {
|
|
10318
10459
|
Row: {
|
|
10319
10460
|
approved_at: string | null;
|
|
@@ -14600,6 +14741,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
14600
14741
|
next_attempt_at: string;
|
|
14601
14742
|
order_id: string;
|
|
14602
14743
|
processed_at: string | null;
|
|
14744
|
+
send_error: string | null;
|
|
14603
14745
|
status: string;
|
|
14604
14746
|
updated_at: string;
|
|
14605
14747
|
};
|
|
@@ -14613,6 +14755,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
14613
14755
|
next_attempt_at?: string;
|
|
14614
14756
|
order_id: string;
|
|
14615
14757
|
processed_at?: string | null;
|
|
14758
|
+
send_error?: string | null;
|
|
14616
14759
|
status?: string;
|
|
14617
14760
|
updated_at?: string;
|
|
14618
14761
|
};
|
|
@@ -14626,6 +14769,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
14626
14769
|
next_attempt_at?: string;
|
|
14627
14770
|
order_id?: string;
|
|
14628
14771
|
processed_at?: string | null;
|
|
14772
|
+
send_error?: string | null;
|
|
14629
14773
|
status?: string;
|
|
14630
14774
|
updated_at?: string;
|
|
14631
14775
|
};
|
|
@@ -15964,18 +16108,24 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
15964
16108
|
Row: {
|
|
15965
16109
|
id: boolean;
|
|
15966
16110
|
last_cleanup_at: string | null;
|
|
16111
|
+
last_error: string | null;
|
|
16112
|
+
last_error_at: string | null;
|
|
15967
16113
|
last_sync_at: string | null;
|
|
15968
16114
|
updated_at: string;
|
|
15969
16115
|
};
|
|
15970
16116
|
Insert: {
|
|
15971
16117
|
id?: boolean;
|
|
15972
16118
|
last_cleanup_at?: string | null;
|
|
16119
|
+
last_error?: string | null;
|
|
16120
|
+
last_error_at?: string | null;
|
|
15973
16121
|
last_sync_at?: string | null;
|
|
15974
16122
|
updated_at?: string;
|
|
15975
16123
|
};
|
|
15976
16124
|
Update: {
|
|
15977
16125
|
id?: boolean;
|
|
15978
16126
|
last_cleanup_at?: string | null;
|
|
16127
|
+
last_error?: string | null;
|
|
16128
|
+
last_error_at?: string | null;
|
|
15979
16129
|
last_sync_at?: string | null;
|
|
15980
16130
|
updated_at?: string;
|
|
15981
16131
|
};
|
|
@@ -17655,6 +17805,117 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
17655
17805
|
};
|
|
17656
17806
|
Relationships: [];
|
|
17657
17807
|
};
|
|
17808
|
+
product_suppliers: {
|
|
17809
|
+
Row: {
|
|
17810
|
+
created_at: string;
|
|
17811
|
+
id: string;
|
|
17812
|
+
is_preferred: boolean;
|
|
17813
|
+
lead_time_days: number | null;
|
|
17814
|
+
min_order_quantity: number | null;
|
|
17815
|
+
notes: string | null;
|
|
17816
|
+
previous_price_cents: number | null;
|
|
17817
|
+
price_source: string;
|
|
17818
|
+
price_updated_at: string | null;
|
|
17819
|
+
product_id: string;
|
|
17820
|
+
purchase_price_cents: number | null;
|
|
17821
|
+
supplier_article_number: string | null;
|
|
17822
|
+
supplier_id: string;
|
|
17823
|
+
updated_at: string;
|
|
17824
|
+
};
|
|
17825
|
+
Insert: {
|
|
17826
|
+
created_at?: string;
|
|
17827
|
+
id?: string;
|
|
17828
|
+
is_preferred?: boolean;
|
|
17829
|
+
lead_time_days?: number | null;
|
|
17830
|
+
min_order_quantity?: number | null;
|
|
17831
|
+
notes?: string | null;
|
|
17832
|
+
previous_price_cents?: number | null;
|
|
17833
|
+
price_source?: string;
|
|
17834
|
+
price_updated_at?: string | null;
|
|
17835
|
+
product_id: string;
|
|
17836
|
+
purchase_price_cents?: number | null;
|
|
17837
|
+
supplier_article_number?: string | null;
|
|
17838
|
+
supplier_id: string;
|
|
17839
|
+
updated_at?: string;
|
|
17840
|
+
};
|
|
17841
|
+
Update: {
|
|
17842
|
+
created_at?: string;
|
|
17843
|
+
id?: string;
|
|
17844
|
+
is_preferred?: boolean;
|
|
17845
|
+
lead_time_days?: number | null;
|
|
17846
|
+
min_order_quantity?: number | null;
|
|
17847
|
+
notes?: string | null;
|
|
17848
|
+
previous_price_cents?: number | null;
|
|
17849
|
+
price_source?: string;
|
|
17850
|
+
price_updated_at?: string | null;
|
|
17851
|
+
product_id?: string;
|
|
17852
|
+
purchase_price_cents?: number | null;
|
|
17853
|
+
supplier_article_number?: string | null;
|
|
17854
|
+
supplier_id?: string;
|
|
17855
|
+
updated_at?: string;
|
|
17856
|
+
};
|
|
17857
|
+
Relationships: [{
|
|
17858
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17859
|
+
columns: ["product_id"];
|
|
17860
|
+
isOneToOne: false;
|
|
17861
|
+
referencedRelation: "logistics_product_dimensions";
|
|
17862
|
+
referencedColumns: ["product_id"];
|
|
17863
|
+
}, {
|
|
17864
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17865
|
+
columns: ["product_id"];
|
|
17866
|
+
isOneToOne: false;
|
|
17867
|
+
referencedRelation: "products";
|
|
17868
|
+
referencedColumns: ["id"];
|
|
17869
|
+
}, {
|
|
17870
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
17871
|
+
columns: ["supplier_id"];
|
|
17872
|
+
isOneToOne: false;
|
|
17873
|
+
referencedRelation: "suppliers";
|
|
17874
|
+
referencedColumns: ["id"];
|
|
17875
|
+
}];
|
|
17876
|
+
};
|
|
17877
|
+
product_tray_stickers: {
|
|
17878
|
+
Row: {
|
|
17879
|
+
bestand_url: string;
|
|
17880
|
+
bestandsgrootte: number | null;
|
|
17881
|
+
bestandsnaam: string | null;
|
|
17882
|
+
bestandspad: string | null;
|
|
17883
|
+
created_at: string;
|
|
17884
|
+
product_id: string;
|
|
17885
|
+
updated_at: string;
|
|
17886
|
+
};
|
|
17887
|
+
Insert: {
|
|
17888
|
+
bestand_url: string;
|
|
17889
|
+
bestandsgrootte?: number | null;
|
|
17890
|
+
bestandsnaam?: string | null;
|
|
17891
|
+
bestandspad?: string | null;
|
|
17892
|
+
created_at?: string;
|
|
17893
|
+
product_id: string;
|
|
17894
|
+
updated_at?: string;
|
|
17895
|
+
};
|
|
17896
|
+
Update: {
|
|
17897
|
+
bestand_url?: string;
|
|
17898
|
+
bestandsgrootte?: number | null;
|
|
17899
|
+
bestandsnaam?: string | null;
|
|
17900
|
+
bestandspad?: string | null;
|
|
17901
|
+
created_at?: string;
|
|
17902
|
+
product_id?: string;
|
|
17903
|
+
updated_at?: string;
|
|
17904
|
+
};
|
|
17905
|
+
Relationships: [{
|
|
17906
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
17907
|
+
columns: ["product_id"];
|
|
17908
|
+
isOneToOne: true;
|
|
17909
|
+
referencedRelation: "logistics_product_dimensions";
|
|
17910
|
+
referencedColumns: ["product_id"];
|
|
17911
|
+
}, {
|
|
17912
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
17913
|
+
columns: ["product_id"];
|
|
17914
|
+
isOneToOne: true;
|
|
17915
|
+
referencedRelation: "products";
|
|
17916
|
+
referencedColumns: ["id"];
|
|
17917
|
+
}];
|
|
17918
|
+
};
|
|
17658
17919
|
products: {
|
|
17659
17920
|
Row: {
|
|
17660
17921
|
article_number: string | null;
|
|
@@ -18117,9 +18378,13 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
18117
18378
|
purchase_order_items: {
|
|
18118
18379
|
Row: {
|
|
18119
18380
|
article_number: string | null;
|
|
18381
|
+
cancel_reason: string | null;
|
|
18382
|
+
cancelled_at: string | null;
|
|
18120
18383
|
created_at: string;
|
|
18121
18384
|
delivery_date: string | null;
|
|
18122
18385
|
id: string;
|
|
18386
|
+
incoming_booked: number;
|
|
18387
|
+
line_status: string;
|
|
18123
18388
|
name: string;
|
|
18124
18389
|
note: string | null;
|
|
18125
18390
|
pot_size: string | null;
|
|
@@ -18127,6 +18392,8 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
18127
18392
|
product_type: string;
|
|
18128
18393
|
purchase_order_id: string;
|
|
18129
18394
|
quantity: number;
|
|
18395
|
+
received_at: string | null;
|
|
18396
|
+
received_booked: number;
|
|
18130
18397
|
supplier_id: string | null;
|
|
18131
18398
|
supplier_product_id: string | null;
|
|
18132
18399
|
unit_price_cents: number;
|
|
@@ -18134,9 +18401,13 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
18134
18401
|
};
|
|
18135
18402
|
Insert: {
|
|
18136
18403
|
article_number?: string | null;
|
|
18404
|
+
cancel_reason?: string | null;
|
|
18405
|
+
cancelled_at?: string | null;
|
|
18137
18406
|
created_at?: string;
|
|
18138
18407
|
delivery_date?: string | null;
|
|
18139
18408
|
id?: string;
|
|
18409
|
+
incoming_booked?: number;
|
|
18410
|
+
line_status?: string;
|
|
18140
18411
|
name?: string;
|
|
18141
18412
|
note?: string | null;
|
|
18142
18413
|
pot_size?: string | null;
|
|
@@ -18144,6 +18415,8 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
18144
18415
|
product_type?: string;
|
|
18145
18416
|
purchase_order_id: string;
|
|
18146
18417
|
quantity?: number;
|
|
18418
|
+
received_at?: string | null;
|
|
18419
|
+
received_booked?: number;
|
|
18147
18420
|
supplier_id?: string | null;
|
|
18148
18421
|
supplier_product_id?: string | null;
|
|
18149
18422
|
unit_price_cents?: number;
|
|
@@ -18151,9 +18424,13 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
18151
18424
|
};
|
|
18152
18425
|
Update: {
|
|
18153
18426
|
article_number?: string | null;
|
|
18427
|
+
cancel_reason?: string | null;
|
|
18428
|
+
cancelled_at?: string | null;
|
|
18154
18429
|
created_at?: string;
|
|
18155
18430
|
delivery_date?: string | null;
|
|
18156
18431
|
id?: string;
|
|
18432
|
+
incoming_booked?: number;
|
|
18433
|
+
line_status?: string;
|
|
18157
18434
|
name?: string;
|
|
18158
18435
|
note?: string | null;
|
|
18159
18436
|
pot_size?: string | null;
|
|
@@ -18161,6 +18438,8 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
18161
18438
|
product_type?: string;
|
|
18162
18439
|
purchase_order_id?: string;
|
|
18163
18440
|
quantity?: number;
|
|
18441
|
+
received_at?: string | null;
|
|
18442
|
+
received_booked?: number;
|
|
18164
18443
|
supplier_id?: string | null;
|
|
18165
18444
|
supplier_product_id?: string | null;
|
|
18166
18445
|
unit_price_cents?: number;
|
|
@@ -18264,95 +18543,242 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
18264
18543
|
referencedColumns: ["id"];
|
|
18265
18544
|
}];
|
|
18266
18545
|
};
|
|
18267
|
-
|
|
18546
|
+
purchase_request_events: {
|
|
18268
18547
|
Row: {
|
|
18269
|
-
booking_id: string | null;
|
|
18270
18548
|
created_at: string;
|
|
18549
|
+
details: import("./types.js").Json | null;
|
|
18550
|
+
event_type: string;
|
|
18271
18551
|
id: string;
|
|
18272
|
-
|
|
18273
|
-
message: string;
|
|
18274
|
-
recipient_email: string | null;
|
|
18275
|
-
title: string;
|
|
18276
|
-
type: string;
|
|
18552
|
+
request_id: string;
|
|
18277
18553
|
};
|
|
18278
18554
|
Insert: {
|
|
18279
|
-
booking_id?: string | null;
|
|
18280
18555
|
created_at?: string;
|
|
18556
|
+
details?: import("./types.js").Json | null;
|
|
18557
|
+
event_type: string;
|
|
18281
18558
|
id?: string;
|
|
18282
|
-
|
|
18283
|
-
message: string;
|
|
18284
|
-
recipient_email?: string | null;
|
|
18285
|
-
title: string;
|
|
18286
|
-
type: string;
|
|
18559
|
+
request_id: string;
|
|
18287
18560
|
};
|
|
18288
18561
|
Update: {
|
|
18289
|
-
booking_id?: string | null;
|
|
18290
18562
|
created_at?: string;
|
|
18563
|
+
details?: import("./types.js").Json | null;
|
|
18564
|
+
event_type?: string;
|
|
18291
18565
|
id?: string;
|
|
18292
|
-
|
|
18293
|
-
message?: string;
|
|
18294
|
-
recipient_email?: string | null;
|
|
18295
|
-
title?: string;
|
|
18296
|
-
type?: string;
|
|
18566
|
+
request_id?: string;
|
|
18297
18567
|
};
|
|
18298
18568
|
Relationships: [{
|
|
18299
|
-
foreignKeyName: "
|
|
18300
|
-
columns: ["
|
|
18569
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
18570
|
+
columns: ["request_id"];
|
|
18301
18571
|
isOneToOne: false;
|
|
18302
|
-
referencedRelation: "
|
|
18572
|
+
referencedRelation: "purchase_requests";
|
|
18303
18573
|
referencedColumns: ["id"];
|
|
18304
18574
|
}];
|
|
18305
18575
|
};
|
|
18306
|
-
|
|
18576
|
+
purchase_request_responses: {
|
|
18307
18577
|
Row: {
|
|
18578
|
+
confirmed_date: string | null;
|
|
18579
|
+
confirmed_price_cents: number | null;
|
|
18580
|
+
confirmed_quantity: number;
|
|
18308
18581
|
created_at: string;
|
|
18309
18582
|
id: string;
|
|
18310
|
-
|
|
18311
|
-
|
|
18583
|
+
not_available: boolean;
|
|
18584
|
+
note: string | null;
|
|
18585
|
+
purchase_order_item_id: string;
|
|
18586
|
+
request_id: string;
|
|
18587
|
+
updated_at: string;
|
|
18312
18588
|
};
|
|
18313
18589
|
Insert: {
|
|
18590
|
+
confirmed_date?: string | null;
|
|
18591
|
+
confirmed_price_cents?: number | null;
|
|
18592
|
+
confirmed_quantity?: number;
|
|
18314
18593
|
created_at?: string;
|
|
18315
18594
|
id?: string;
|
|
18316
|
-
|
|
18317
|
-
|
|
18595
|
+
not_available?: boolean;
|
|
18596
|
+
note?: string | null;
|
|
18597
|
+
purchase_order_item_id: string;
|
|
18598
|
+
request_id: string;
|
|
18599
|
+
updated_at?: string;
|
|
18318
18600
|
};
|
|
18319
18601
|
Update: {
|
|
18602
|
+
confirmed_date?: string | null;
|
|
18603
|
+
confirmed_price_cents?: number | null;
|
|
18604
|
+
confirmed_quantity?: number;
|
|
18320
18605
|
created_at?: string;
|
|
18321
18606
|
id?: string;
|
|
18322
|
-
|
|
18323
|
-
|
|
18607
|
+
not_available?: boolean;
|
|
18608
|
+
note?: string | null;
|
|
18609
|
+
purchase_order_item_id?: string;
|
|
18610
|
+
request_id?: string;
|
|
18611
|
+
updated_at?: string;
|
|
18324
18612
|
};
|
|
18325
18613
|
Relationships: [{
|
|
18326
|
-
foreignKeyName: "
|
|
18327
|
-
columns: ["
|
|
18614
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
18615
|
+
columns: ["purchase_order_item_id"];
|
|
18328
18616
|
isOneToOne: false;
|
|
18329
|
-
referencedRelation: "
|
|
18617
|
+
referencedRelation: "purchase_order_items";
|
|
18618
|
+
referencedColumns: ["id"];
|
|
18619
|
+
}, {
|
|
18620
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
18621
|
+
columns: ["request_id"];
|
|
18622
|
+
isOneToOne: false;
|
|
18623
|
+
referencedRelation: "purchase_requests";
|
|
18330
18624
|
referencedColumns: ["id"];
|
|
18331
18625
|
}];
|
|
18332
18626
|
};
|
|
18333
|
-
|
|
18627
|
+
purchase_requests: {
|
|
18334
18628
|
Row: {
|
|
18335
|
-
|
|
18336
|
-
|
|
18337
|
-
|
|
18629
|
+
created_at: string;
|
|
18630
|
+
expires_at: string;
|
|
18631
|
+
first_viewed_at: string | null;
|
|
18338
18632
|
id: string;
|
|
18339
|
-
|
|
18340
|
-
|
|
18633
|
+
processed_at: string | null;
|
|
18634
|
+
purchase_order_id: string;
|
|
18635
|
+
responded_at: string | null;
|
|
18636
|
+
sent_at: string;
|
|
18637
|
+
status: string;
|
|
18638
|
+
supplier_id: string | null;
|
|
18639
|
+
supplier_name: string;
|
|
18640
|
+
supplier_note: string | null;
|
|
18641
|
+
to_address: string | null;
|
|
18642
|
+
token_hash: string;
|
|
18341
18643
|
updated_at: string;
|
|
18342
18644
|
};
|
|
18343
18645
|
Insert: {
|
|
18344
|
-
|
|
18345
|
-
|
|
18346
|
-
|
|
18646
|
+
created_at?: string;
|
|
18647
|
+
expires_at?: string;
|
|
18648
|
+
first_viewed_at?: string | null;
|
|
18347
18649
|
id?: string;
|
|
18348
|
-
|
|
18349
|
-
|
|
18650
|
+
processed_at?: string | null;
|
|
18651
|
+
purchase_order_id: string;
|
|
18652
|
+
responded_at?: string | null;
|
|
18653
|
+
sent_at?: string;
|
|
18654
|
+
status?: string;
|
|
18655
|
+
supplier_id?: string | null;
|
|
18656
|
+
supplier_name?: string;
|
|
18657
|
+
supplier_note?: string | null;
|
|
18658
|
+
to_address?: string | null;
|
|
18659
|
+
token_hash: string;
|
|
18350
18660
|
updated_at?: string;
|
|
18351
18661
|
};
|
|
18352
18662
|
Update: {
|
|
18353
|
-
|
|
18354
|
-
|
|
18355
|
-
|
|
18663
|
+
created_at?: string;
|
|
18664
|
+
expires_at?: string;
|
|
18665
|
+
first_viewed_at?: string | null;
|
|
18666
|
+
id?: string;
|
|
18667
|
+
processed_at?: string | null;
|
|
18668
|
+
purchase_order_id?: string;
|
|
18669
|
+
responded_at?: string | null;
|
|
18670
|
+
sent_at?: string;
|
|
18671
|
+
status?: string;
|
|
18672
|
+
supplier_id?: string | null;
|
|
18673
|
+
supplier_name?: string;
|
|
18674
|
+
supplier_note?: string | null;
|
|
18675
|
+
to_address?: string | null;
|
|
18676
|
+
token_hash?: string;
|
|
18677
|
+
updated_at?: string;
|
|
18678
|
+
};
|
|
18679
|
+
Relationships: [{
|
|
18680
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
18681
|
+
columns: ["purchase_order_id"];
|
|
18682
|
+
isOneToOne: false;
|
|
18683
|
+
referencedRelation: "purchase_orders";
|
|
18684
|
+
referencedColumns: ["id"];
|
|
18685
|
+
}, {
|
|
18686
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
18687
|
+
columns: ["supplier_id"];
|
|
18688
|
+
isOneToOne: false;
|
|
18689
|
+
referencedRelation: "suppliers";
|
|
18690
|
+
referencedColumns: ["id"];
|
|
18691
|
+
}];
|
|
18692
|
+
};
|
|
18693
|
+
reception_notifications: {
|
|
18694
|
+
Row: {
|
|
18695
|
+
booking_id: string | null;
|
|
18696
|
+
created_at: string;
|
|
18697
|
+
id: string;
|
|
18698
|
+
is_read: boolean;
|
|
18699
|
+
message: string;
|
|
18700
|
+
recipient_email: string | null;
|
|
18701
|
+
title: string;
|
|
18702
|
+
type: string;
|
|
18703
|
+
};
|
|
18704
|
+
Insert: {
|
|
18705
|
+
booking_id?: string | null;
|
|
18706
|
+
created_at?: string;
|
|
18707
|
+
id?: string;
|
|
18708
|
+
is_read?: boolean;
|
|
18709
|
+
message: string;
|
|
18710
|
+
recipient_email?: string | null;
|
|
18711
|
+
title: string;
|
|
18712
|
+
type: string;
|
|
18713
|
+
};
|
|
18714
|
+
Update: {
|
|
18715
|
+
booking_id?: string | null;
|
|
18716
|
+
created_at?: string;
|
|
18717
|
+
id?: string;
|
|
18718
|
+
is_read?: boolean;
|
|
18719
|
+
message?: string;
|
|
18720
|
+
recipient_email?: string | null;
|
|
18721
|
+
title?: string;
|
|
18722
|
+
type?: string;
|
|
18723
|
+
};
|
|
18724
|
+
Relationships: [{
|
|
18725
|
+
foreignKeyName: "reception_notifications_booking_id_fkey";
|
|
18726
|
+
columns: ["booking_id"];
|
|
18727
|
+
isOneToOne: false;
|
|
18728
|
+
referencedRelation: "bookings";
|
|
18729
|
+
referencedColumns: ["id"];
|
|
18730
|
+
}];
|
|
18731
|
+
};
|
|
18732
|
+
role_assignments: {
|
|
18733
|
+
Row: {
|
|
18734
|
+
created_at: string;
|
|
18735
|
+
id: string;
|
|
18736
|
+
role_id: string;
|
|
18737
|
+
user_id: string;
|
|
18738
|
+
};
|
|
18739
|
+
Insert: {
|
|
18740
|
+
created_at?: string;
|
|
18741
|
+
id?: string;
|
|
18742
|
+
role_id: string;
|
|
18743
|
+
user_id: string;
|
|
18744
|
+
};
|
|
18745
|
+
Update: {
|
|
18746
|
+
created_at?: string;
|
|
18747
|
+
id?: string;
|
|
18748
|
+
role_id?: string;
|
|
18749
|
+
user_id?: string;
|
|
18750
|
+
};
|
|
18751
|
+
Relationships: [{
|
|
18752
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
18753
|
+
columns: ["role_id"];
|
|
18754
|
+
isOneToOne: false;
|
|
18755
|
+
referencedRelation: "roles";
|
|
18756
|
+
referencedColumns: ["id"];
|
|
18757
|
+
}];
|
|
18758
|
+
};
|
|
18759
|
+
role_permissions: {
|
|
18760
|
+
Row: {
|
|
18761
|
+
can_edit: boolean;
|
|
18762
|
+
can_view: boolean;
|
|
18763
|
+
feature_id: string;
|
|
18764
|
+
id: string;
|
|
18765
|
+
module_id: string;
|
|
18766
|
+
role_id: string;
|
|
18767
|
+
updated_at: string;
|
|
18768
|
+
};
|
|
18769
|
+
Insert: {
|
|
18770
|
+
can_edit?: boolean;
|
|
18771
|
+
can_view?: boolean;
|
|
18772
|
+
feature_id?: string;
|
|
18773
|
+
id?: string;
|
|
18774
|
+
module_id: string;
|
|
18775
|
+
role_id: string;
|
|
18776
|
+
updated_at?: string;
|
|
18777
|
+
};
|
|
18778
|
+
Update: {
|
|
18779
|
+
can_edit?: boolean;
|
|
18780
|
+
can_view?: boolean;
|
|
18781
|
+
feature_id?: string;
|
|
18356
18782
|
id?: string;
|
|
18357
18783
|
module_id?: string;
|
|
18358
18784
|
role_id?: string;
|
|
@@ -20427,6 +20853,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
20427
20853
|
auto_invoice_enabled: boolean;
|
|
20428
20854
|
auto_invoice_start_date: string | null;
|
|
20429
20855
|
auto_invoice_trigger_statuses: string[];
|
|
20856
|
+
auto_send_mode: string | null;
|
|
20430
20857
|
created_at: string;
|
|
20431
20858
|
debtor_gl_account: string;
|
|
20432
20859
|
default_article_code: string | null;
|
|
@@ -20455,6 +20882,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
20455
20882
|
auto_invoice_enabled?: boolean;
|
|
20456
20883
|
auto_invoice_start_date?: string | null;
|
|
20457
20884
|
auto_invoice_trigger_statuses?: string[];
|
|
20885
|
+
auto_send_mode?: string | null;
|
|
20458
20886
|
created_at?: string;
|
|
20459
20887
|
debtor_gl_account?: string;
|
|
20460
20888
|
default_article_code?: string | null;
|
|
@@ -20483,6 +20911,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
20483
20911
|
auto_invoice_enabled?: boolean;
|
|
20484
20912
|
auto_invoice_start_date?: string | null;
|
|
20485
20913
|
auto_invoice_trigger_statuses?: string[];
|
|
20914
|
+
auto_send_mode?: string | null;
|
|
20486
20915
|
created_at?: string;
|
|
20487
20916
|
debtor_gl_account?: string;
|
|
20488
20917
|
default_article_code?: string | null;
|
|
@@ -20926,16 +21355,19 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
20926
21355
|
Row: {
|
|
20927
21356
|
active_environment: string;
|
|
20928
21357
|
id: number;
|
|
21358
|
+
public_base_url: string | null;
|
|
20929
21359
|
updated_at: string;
|
|
20930
21360
|
};
|
|
20931
21361
|
Insert: {
|
|
20932
21362
|
active_environment?: string;
|
|
20933
21363
|
id?: number;
|
|
21364
|
+
public_base_url?: string | null;
|
|
20934
21365
|
updated_at?: string;
|
|
20935
21366
|
};
|
|
20936
21367
|
Update: {
|
|
20937
21368
|
active_environment?: string;
|
|
20938
21369
|
id?: number;
|
|
21370
|
+
public_base_url?: string | null;
|
|
20939
21371
|
updated_at?: string;
|
|
20940
21372
|
};
|
|
20941
21373
|
Relationships: [];
|
|
@@ -21166,11 +21598,15 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
21166
21598
|
monteur_id: string;
|
|
21167
21599
|
netto_verschil_minuten: number;
|
|
21168
21600
|
normaal_uitbetaald_minuten: number;
|
|
21601
|
+
omgezet_vakantie_minuten: number;
|
|
21602
|
+
overdracht_vorige_minuten: number;
|
|
21169
21603
|
overuren_minuten: number;
|
|
21170
21604
|
plus_minuten: number;
|
|
21605
|
+
rest_overuren_minuten: number;
|
|
21171
21606
|
status: string;
|
|
21172
21607
|
totaal_uitbetaald_minuten: number;
|
|
21173
21608
|
updated_at: string;
|
|
21609
|
+
vakantie_uren_bijgeschreven: number;
|
|
21174
21610
|
};
|
|
21175
21611
|
Insert: {
|
|
21176
21612
|
afgesloten_at?: string | null;
|
|
@@ -21187,11 +21623,15 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
21187
21623
|
monteur_id: string;
|
|
21188
21624
|
netto_verschil_minuten?: number;
|
|
21189
21625
|
normaal_uitbetaald_minuten?: number;
|
|
21626
|
+
omgezet_vakantie_minuten?: number;
|
|
21627
|
+
overdracht_vorige_minuten?: number;
|
|
21190
21628
|
overuren_minuten?: number;
|
|
21191
21629
|
plus_minuten?: number;
|
|
21630
|
+
rest_overuren_minuten?: number;
|
|
21192
21631
|
status?: string;
|
|
21193
21632
|
totaal_uitbetaald_minuten?: number;
|
|
21194
21633
|
updated_at?: string;
|
|
21634
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21195
21635
|
};
|
|
21196
21636
|
Update: {
|
|
21197
21637
|
afgesloten_at?: string | null;
|
|
@@ -21208,11 +21648,15 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
21208
21648
|
monteur_id?: string;
|
|
21209
21649
|
netto_verschil_minuten?: number;
|
|
21210
21650
|
normaal_uitbetaald_minuten?: number;
|
|
21651
|
+
omgezet_vakantie_minuten?: number;
|
|
21652
|
+
overdracht_vorige_minuten?: number;
|
|
21211
21653
|
overuren_minuten?: number;
|
|
21212
21654
|
plus_minuten?: number;
|
|
21655
|
+
rest_overuren_minuten?: number;
|
|
21213
21656
|
status?: string;
|
|
21214
21657
|
totaal_uitbetaald_minuten?: number;
|
|
21215
21658
|
updated_at?: string;
|
|
21659
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21216
21660
|
};
|
|
21217
21661
|
Relationships: [];
|
|
21218
21662
|
};
|
|
@@ -21624,6 +22068,51 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
21624
22068
|
referencedColumns: ["id"];
|
|
21625
22069
|
}];
|
|
21626
22070
|
};
|
|
22071
|
+
vakantie_uitbetalingen: {
|
|
22072
|
+
Row: {
|
|
22073
|
+
created_at: string;
|
|
22074
|
+
created_by: string | null;
|
|
22075
|
+
days: number;
|
|
22076
|
+
id: string;
|
|
22077
|
+
note: string | null;
|
|
22078
|
+
updated_at: string;
|
|
22079
|
+
user_id: string;
|
|
22080
|
+
year: number;
|
|
22081
|
+
};
|
|
22082
|
+
Insert: {
|
|
22083
|
+
created_at?: string;
|
|
22084
|
+
created_by?: string | null;
|
|
22085
|
+
days: number;
|
|
22086
|
+
id?: string;
|
|
22087
|
+
note?: string | null;
|
|
22088
|
+
updated_at?: string;
|
|
22089
|
+
user_id: string;
|
|
22090
|
+
year?: number;
|
|
22091
|
+
};
|
|
22092
|
+
Update: {
|
|
22093
|
+
created_at?: string;
|
|
22094
|
+
created_by?: string | null;
|
|
22095
|
+
days?: number;
|
|
22096
|
+
id?: string;
|
|
22097
|
+
note?: string | null;
|
|
22098
|
+
updated_at?: string;
|
|
22099
|
+
user_id?: string;
|
|
22100
|
+
year?: number;
|
|
22101
|
+
};
|
|
22102
|
+
Relationships: [{
|
|
22103
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
22104
|
+
columns: ["created_by"];
|
|
22105
|
+
isOneToOne: false;
|
|
22106
|
+
referencedRelation: "profiles";
|
|
22107
|
+
referencedColumns: ["id"];
|
|
22108
|
+
}, {
|
|
22109
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
22110
|
+
columns: ["user_id"];
|
|
22111
|
+
isOneToOne: false;
|
|
22112
|
+
referencedRelation: "profiles";
|
|
22113
|
+
referencedColumns: ["id"];
|
|
22114
|
+
}];
|
|
22115
|
+
};
|
|
21627
22116
|
van_inventories: {
|
|
21628
22117
|
Row: {
|
|
21629
22118
|
barcode: string | null;
|
|
@@ -22908,6 +23397,78 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
22908
23397
|
referencedColumns: ["id"];
|
|
22909
23398
|
}];
|
|
22910
23399
|
};
|
|
23400
|
+
werkbon_voorstellen: {
|
|
23401
|
+
Row: {
|
|
23402
|
+
bron_werkbon_id: string;
|
|
23403
|
+
budget_mandate_cents: number;
|
|
23404
|
+
created_at: string;
|
|
23405
|
+
created_by: string;
|
|
23406
|
+
customer_id: string | null;
|
|
23407
|
+
id: string;
|
|
23408
|
+
payload: import("./types.js").Json;
|
|
23409
|
+
reden: string | null;
|
|
23410
|
+
status: string;
|
|
23411
|
+
updated_at: string;
|
|
23412
|
+
verwerkt_door: string | null;
|
|
23413
|
+
verwerkt_op: string | null;
|
|
23414
|
+
werkbon_id: string | null;
|
|
23415
|
+
};
|
|
23416
|
+
Insert: {
|
|
23417
|
+
bron_werkbon_id: string;
|
|
23418
|
+
budget_mandate_cents?: number;
|
|
23419
|
+
created_at?: string;
|
|
23420
|
+
created_by?: string;
|
|
23421
|
+
customer_id?: string | null;
|
|
23422
|
+
id?: string;
|
|
23423
|
+
payload?: import("./types.js").Json;
|
|
23424
|
+
reden?: string | null;
|
|
23425
|
+
status?: string;
|
|
23426
|
+
updated_at?: string;
|
|
23427
|
+
verwerkt_door?: string | null;
|
|
23428
|
+
verwerkt_op?: string | null;
|
|
23429
|
+
werkbon_id?: string | null;
|
|
23430
|
+
};
|
|
23431
|
+
Update: {
|
|
23432
|
+
bron_werkbon_id?: string;
|
|
23433
|
+
budget_mandate_cents?: number;
|
|
23434
|
+
created_at?: string;
|
|
23435
|
+
created_by?: string;
|
|
23436
|
+
customer_id?: string | null;
|
|
23437
|
+
id?: string;
|
|
23438
|
+
payload?: import("./types.js").Json;
|
|
23439
|
+
reden?: string | null;
|
|
23440
|
+
status?: string;
|
|
23441
|
+
updated_at?: string;
|
|
23442
|
+
verwerkt_door?: string | null;
|
|
23443
|
+
verwerkt_op?: string | null;
|
|
23444
|
+
werkbon_id?: string | null;
|
|
23445
|
+
};
|
|
23446
|
+
Relationships: [{
|
|
23447
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23448
|
+
columns: ["bron_werkbon_id"];
|
|
23449
|
+
isOneToOne: false;
|
|
23450
|
+
referencedRelation: "werkbonnen";
|
|
23451
|
+
referencedColumns: ["id"];
|
|
23452
|
+
}, {
|
|
23453
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23454
|
+
columns: ["bron_werkbon_id"];
|
|
23455
|
+
isOneToOne: false;
|
|
23456
|
+
referencedRelation: "wo_overview";
|
|
23457
|
+
referencedColumns: ["id"];
|
|
23458
|
+
}, {
|
|
23459
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23460
|
+
columns: ["werkbon_id"];
|
|
23461
|
+
isOneToOne: false;
|
|
23462
|
+
referencedRelation: "werkbonnen";
|
|
23463
|
+
referencedColumns: ["id"];
|
|
23464
|
+
}, {
|
|
23465
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23466
|
+
columns: ["werkbon_id"];
|
|
23467
|
+
isOneToOne: false;
|
|
23468
|
+
referencedRelation: "wo_overview";
|
|
23469
|
+
referencedColumns: ["id"];
|
|
23470
|
+
}];
|
|
23471
|
+
};
|
|
22911
23472
|
werkbonnen: {
|
|
22912
23473
|
Row: {
|
|
22913
23474
|
assigned_user_id: string | null;
|
|
@@ -24148,6 +24709,10 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
24148
24709
|
};
|
|
24149
24710
|
Returns: undefined;
|
|
24150
24711
|
};
|
|
24712
|
+
_wo_is_planner: {
|
|
24713
|
+
Args: never;
|
|
24714
|
+
Returns: boolean;
|
|
24715
|
+
};
|
|
24151
24716
|
afh_city_code: {
|
|
24152
24717
|
Args: {
|
|
24153
24718
|
_city: string;
|
|
@@ -25260,6 +25825,22 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
25260
25825
|
};
|
|
25261
25826
|
Returns: number;
|
|
25262
25827
|
};
|
|
25828
|
+
get_product_stock: {
|
|
25829
|
+
Args: {
|
|
25830
|
+
p_product_id: string;
|
|
25831
|
+
};
|
|
25832
|
+
Returns: {
|
|
25833
|
+
connection_id: string;
|
|
25834
|
+
incoming_stock: number;
|
|
25835
|
+
minimum_stock: number;
|
|
25836
|
+
notes: string;
|
|
25837
|
+
physical_stock: number;
|
|
25838
|
+
product_id: string;
|
|
25839
|
+
reserved_stock: number;
|
|
25840
|
+
trade_item_key: string;
|
|
25841
|
+
updated_at: string;
|
|
25842
|
+
}[];
|
|
25843
|
+
};
|
|
25263
25844
|
get_room_busy_windows: {
|
|
25264
25845
|
Args: {
|
|
25265
25846
|
p_from: string;
|
|
@@ -25564,13 +26145,66 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
25564
26145
|
};
|
|
25565
26146
|
Returns: import("./types.js").Json;
|
|
25566
26147
|
};
|
|
26148
|
+
inkoop_cancel_line: {
|
|
26149
|
+
Args: {
|
|
26150
|
+
_item_id: string;
|
|
26151
|
+
_reason: string;
|
|
26152
|
+
};
|
|
26153
|
+
Returns: string;
|
|
26154
|
+
};
|
|
26155
|
+
inkoop_get_supplier_request: {
|
|
26156
|
+
Args: {
|
|
26157
|
+
_token: string;
|
|
26158
|
+
};
|
|
26159
|
+
Returns: import("./types.js").Json;
|
|
26160
|
+
};
|
|
26161
|
+
inkoop_hash_token: {
|
|
26162
|
+
Args: {
|
|
26163
|
+
_token: string;
|
|
26164
|
+
};
|
|
26165
|
+
Returns: string;
|
|
26166
|
+
};
|
|
26167
|
+
inkoop_html_escape: {
|
|
26168
|
+
Args: {
|
|
26169
|
+
_t: string;
|
|
26170
|
+
};
|
|
26171
|
+
Returns: string;
|
|
26172
|
+
};
|
|
26173
|
+
inkoop_list_artikelen: {
|
|
26174
|
+
Args: never;
|
|
26175
|
+
Returns: {
|
|
26176
|
+
article_number: string;
|
|
26177
|
+
barcode: string;
|
|
26178
|
+
id: string;
|
|
26179
|
+
incoming_quantity: number;
|
|
26180
|
+
is_layer: boolean;
|
|
26181
|
+
location: string;
|
|
26182
|
+
min_quantity: number;
|
|
26183
|
+
preferred_supplier_name: string;
|
|
26184
|
+
product: string;
|
|
26185
|
+
product_type: string;
|
|
26186
|
+
purchase_price: number;
|
|
26187
|
+
quantity: number;
|
|
26188
|
+
sale_price: number;
|
|
26189
|
+
supplier_count: number;
|
|
26190
|
+
unit: string;
|
|
26191
|
+
}[];
|
|
26192
|
+
};
|
|
25567
26193
|
inkoop_next_order_number: {
|
|
25568
26194
|
Args: never;
|
|
25569
26195
|
Returns: string;
|
|
25570
26196
|
};
|
|
26197
|
+
inkoop_process_request: {
|
|
26198
|
+
Args: {
|
|
26199
|
+
_request_id: string;
|
|
26200
|
+
};
|
|
26201
|
+
Returns: undefined;
|
|
26202
|
+
};
|
|
25571
26203
|
inkoop_send_order: {
|
|
25572
26204
|
Args: {
|
|
26205
|
+
_base_url?: string;
|
|
25573
26206
|
_order_id: string;
|
|
26207
|
+
_resend?: boolean;
|
|
25574
26208
|
};
|
|
25575
26209
|
Returns: {
|
|
25576
26210
|
outbox_id: string;
|
|
@@ -25578,6 +26212,33 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
25578
26212
|
to_address: string;
|
|
25579
26213
|
}[];
|
|
25580
26214
|
};
|
|
26215
|
+
inkoop_set_preferred_supplier: {
|
|
26216
|
+
Args: {
|
|
26217
|
+
_product_id: string;
|
|
26218
|
+
_supplier_id: string;
|
|
26219
|
+
};
|
|
26220
|
+
Returns: undefined;
|
|
26221
|
+
};
|
|
26222
|
+
inkoop_stock_key: {
|
|
26223
|
+
Args: {
|
|
26224
|
+
p_product_id: string;
|
|
26225
|
+
};
|
|
26226
|
+
Returns: string;
|
|
26227
|
+
};
|
|
26228
|
+
inkoop_submit_supplier_response: {
|
|
26229
|
+
Args: {
|
|
26230
|
+
_lines: import("./types.js").Json;
|
|
26231
|
+
_note?: string;
|
|
26232
|
+
_token: string;
|
|
26233
|
+
};
|
|
26234
|
+
Returns: import("./types.js").Json;
|
|
26235
|
+
};
|
|
26236
|
+
inkoop_sync_item_stock: {
|
|
26237
|
+
Args: {
|
|
26238
|
+
p_item_id: string;
|
|
26239
|
+
};
|
|
26240
|
+
Returns: undefined;
|
|
26241
|
+
};
|
|
25581
26242
|
instructie_get: {
|
|
25582
26243
|
Args: {
|
|
25583
26244
|
_sleutel: string;
|
|
@@ -25597,6 +26258,10 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
25597
26258
|
};
|
|
25598
26259
|
Returns: number;
|
|
25599
26260
|
};
|
|
26261
|
+
invoice_branding_snapshot: {
|
|
26262
|
+
Args: never;
|
|
26263
|
+
Returns: import("./types.js").Json;
|
|
26264
|
+
};
|
|
25600
26265
|
invoice_create_from_source: {
|
|
25601
26266
|
Args: {
|
|
25602
26267
|
_payload?: import("./types.js").Json;
|
|
@@ -25631,6 +26296,17 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
25631
26296
|
};
|
|
25632
26297
|
Returns: import("./types.js").Json;
|
|
25633
26298
|
};
|
|
26299
|
+
invoice_mark_sent: {
|
|
26300
|
+
Args: {
|
|
26301
|
+
_invoice_id: string;
|
|
26302
|
+
_to: string;
|
|
26303
|
+
};
|
|
26304
|
+
Returns: undefined;
|
|
26305
|
+
};
|
|
26306
|
+
invoice_peek_next_number: {
|
|
26307
|
+
Args: never;
|
|
26308
|
+
Returns: string;
|
|
26309
|
+
};
|
|
25634
26310
|
invoice_ready_work_orders: {
|
|
25635
26311
|
Args: {
|
|
25636
26312
|
_limit?: number;
|
|
@@ -25643,6 +26319,18 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
25643
26319
|
};
|
|
25644
26320
|
Returns: import("./types.js").Json;
|
|
25645
26321
|
};
|
|
26322
|
+
invoice_save_branding_settings: {
|
|
26323
|
+
Args: {
|
|
26324
|
+
_payload: import("./types.js").Json;
|
|
26325
|
+
};
|
|
26326
|
+
Returns: import("./types.js").Json;
|
|
26327
|
+
};
|
|
26328
|
+
invoice_set_email_purpose: {
|
|
26329
|
+
Args: {
|
|
26330
|
+
_purpose: string;
|
|
26331
|
+
};
|
|
26332
|
+
Returns: string;
|
|
26333
|
+
};
|
|
25646
26334
|
invoice_source_lines: {
|
|
25647
26335
|
Args: {
|
|
25648
26336
|
_source_id: string;
|
|
@@ -25650,6 +26338,19 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
25650
26338
|
};
|
|
25651
26339
|
Returns: import("./types.js").Json;
|
|
25652
26340
|
};
|
|
26341
|
+
invoice_update_full: {
|
|
26342
|
+
Args: {
|
|
26343
|
+
_invoice_id: string;
|
|
26344
|
+
_payload: import("./types.js").Json;
|
|
26345
|
+
};
|
|
26346
|
+
Returns: import("./types.js").Json;
|
|
26347
|
+
};
|
|
26348
|
+
invoice_work_order_locked: {
|
|
26349
|
+
Args: {
|
|
26350
|
+
_werkbon_id: string;
|
|
26351
|
+
};
|
|
26352
|
+
Returns: import("./types.js").Json;
|
|
26353
|
+
};
|
|
25653
26354
|
is_authenticated: {
|
|
25654
26355
|
Args: never;
|
|
25655
26356
|
Returns: boolean;
|
|
@@ -25698,6 +26399,27 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
25698
26399
|
};
|
|
25699
26400
|
Returns: boolean;
|
|
25700
26401
|
};
|
|
26402
|
+
layout_print_document: {
|
|
26403
|
+
Args: {
|
|
26404
|
+
_documentnaam: string;
|
|
26405
|
+
_documenttype: string;
|
|
26406
|
+
_herkomst?: string;
|
|
26407
|
+
_idempotentie_sleutel?: string;
|
|
26408
|
+
_is_herprint?: boolean;
|
|
26409
|
+
_kopieen?: number;
|
|
26410
|
+
_layout_id?: string;
|
|
26411
|
+
_payload?: import("./types.js").Json;
|
|
26412
|
+
_pdf_base64?: string;
|
|
26413
|
+
_pdf_url?: string;
|
|
26414
|
+
_print_plek_id?: string;
|
|
26415
|
+
_werkplek?: string;
|
|
26416
|
+
};
|
|
26417
|
+
Returns: {
|
|
26418
|
+
bestaand: boolean;
|
|
26419
|
+
job_id: string;
|
|
26420
|
+
printer_id: string;
|
|
26421
|
+
}[];
|
|
26422
|
+
};
|
|
25701
26423
|
list_medewerkers: {
|
|
25702
26424
|
Args: never;
|
|
25703
26425
|
Returns: {
|
|
@@ -25975,6 +26697,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
25975
26697
|
};
|
|
25976
26698
|
Returns: number;
|
|
25977
26699
|
};
|
|
26700
|
+
logistics_cart_barcode_opschonen: {
|
|
26701
|
+
Args: {
|
|
26702
|
+
p_portie?: number;
|
|
26703
|
+
};
|
|
26704
|
+
Returns: import("./types.js").Json;
|
|
26705
|
+
};
|
|
25978
26706
|
logistics_cart_barcode_value: {
|
|
25979
26707
|
Args: {
|
|
25980
26708
|
_cart_id: string;
|
|
@@ -26809,6 +27537,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
26809
27537
|
Args: never;
|
|
26810
27538
|
Returns: string;
|
|
26811
27539
|
};
|
|
27540
|
+
logistics_order_backlog_info: {
|
|
27541
|
+
Args: {
|
|
27542
|
+
p_order_id: string;
|
|
27543
|
+
};
|
|
27544
|
+
Returns: import("./types.js").Json;
|
|
27545
|
+
};
|
|
26812
27546
|
logistics_order_cart_approval: {
|
|
26813
27547
|
Args: {
|
|
26814
27548
|
_order_ref: string;
|
|
@@ -26899,6 +27633,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
26899
27633
|
};
|
|
26900
27634
|
Returns: boolean;
|
|
26901
27635
|
};
|
|
27636
|
+
logistics_order_is_backlog: {
|
|
27637
|
+
Args: {
|
|
27638
|
+
p_order_id: string;
|
|
27639
|
+
};
|
|
27640
|
+
Returns: boolean;
|
|
27641
|
+
};
|
|
26902
27642
|
logistics_order_is_topick: {
|
|
26903
27643
|
Args: {
|
|
26904
27644
|
p_order_id: string;
|
|
@@ -27040,6 +27780,10 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
27040
27780
|
shifted_count: number;
|
|
27041
27781
|
}[];
|
|
27042
27782
|
};
|
|
27783
|
+
logistics_pick_backlog_max_days: {
|
|
27784
|
+
Args: never;
|
|
27785
|
+
Returns: number;
|
|
27786
|
+
};
|
|
27043
27787
|
logistics_pick_barcode_enabled: {
|
|
27044
27788
|
Args: never;
|
|
27045
27789
|
Returns: boolean;
|
|
@@ -27568,6 +28312,13 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
27568
28312
|
};
|
|
27569
28313
|
Returns: string;
|
|
27570
28314
|
};
|
|
28315
|
+
logistics_shipping_note_status: {
|
|
28316
|
+
Args: {
|
|
28317
|
+
p_cart_id?: string;
|
|
28318
|
+
p_slip_job_id?: string;
|
|
28319
|
+
};
|
|
28320
|
+
Returns: import("./types.js").Json;
|
|
28321
|
+
};
|
|
27571
28322
|
logistics_shipping_notes_wake_all: {
|
|
27572
28323
|
Args: never;
|
|
27573
28324
|
Returns: import("./types.js").Json;
|
|
@@ -27655,12 +28406,27 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
27655
28406
|
Args: never;
|
|
27656
28407
|
Returns: import("./types.js").Json;
|
|
27657
28408
|
};
|
|
28409
|
+
logistics_sync_pick_queue_backlog: {
|
|
28410
|
+
Args: never;
|
|
28411
|
+
Returns: import("./types.js").Json;
|
|
28412
|
+
};
|
|
28413
|
+
logistics_sync_pick_queue_core: {
|
|
28414
|
+
Args: never;
|
|
28415
|
+
Returns: import("./types.js").Json;
|
|
28416
|
+
};
|
|
27658
28417
|
logistics_sync_task_carriers: {
|
|
27659
28418
|
Args: {
|
|
27660
28419
|
p_order_ref?: string;
|
|
27661
28420
|
};
|
|
27662
28421
|
Returns: number;
|
|
27663
28422
|
};
|
|
28423
|
+
logistics_task_open_counts: {
|
|
28424
|
+
Args: never;
|
|
28425
|
+
Returns: {
|
|
28426
|
+
open_count: number;
|
|
28427
|
+
owner_module: string;
|
|
28428
|
+
}[];
|
|
28429
|
+
};
|
|
27664
28430
|
logistics_task_owner: {
|
|
27665
28431
|
Args: {
|
|
27666
28432
|
p_task_type: string;
|
|
@@ -28359,6 +29125,10 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
28359
29125
|
};
|
|
28360
29126
|
Returns: string;
|
|
28361
29127
|
};
|
|
29128
|
+
pick_is_reference_admin: {
|
|
29129
|
+
Args: never;
|
|
29130
|
+
Returns: boolean;
|
|
29131
|
+
};
|
|
28362
29132
|
pick_mark_printed: {
|
|
28363
29133
|
Args: {
|
|
28364
29134
|
_queue_item_id: string;
|
|
@@ -28949,6 +29719,19 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
28949
29719
|
};
|
|
28950
29720
|
Returns: boolean;
|
|
28951
29721
|
};
|
|
29722
|
+
quote_assign_number: {
|
|
29723
|
+
Args: {
|
|
29724
|
+
_offerte_id: string;
|
|
29725
|
+
};
|
|
29726
|
+
Returns: string;
|
|
29727
|
+
};
|
|
29728
|
+
quote_create_follow_up_now: {
|
|
29729
|
+
Args: {
|
|
29730
|
+
_offerte_id: string;
|
|
29731
|
+
_payload?: import("./types.js").Json;
|
|
29732
|
+
};
|
|
29733
|
+
Returns: import("./types.js").Json;
|
|
29734
|
+
};
|
|
28952
29735
|
quote_create_from_source: {
|
|
28953
29736
|
Args: {
|
|
28954
29737
|
_payload?: import("./types.js").Json;
|
|
@@ -29219,6 +30002,13 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
29219
30002
|
};
|
|
29220
30003
|
Returns: import("./types.js").Json;
|
|
29221
30004
|
};
|
|
30005
|
+
scan_controleer_pincode: {
|
|
30006
|
+
Args: {
|
|
30007
|
+
p_pin: string;
|
|
30008
|
+
p_scanner_id: string;
|
|
30009
|
+
};
|
|
30010
|
+
Returns: boolean;
|
|
30011
|
+
};
|
|
29222
30012
|
scan_dashboard_stats: {
|
|
29223
30013
|
Args: {
|
|
29224
30014
|
p_dagen?: number;
|
|
@@ -29238,6 +30028,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
29238
30028
|
};
|
|
29239
30029
|
Returns: import("./types.js").Json;
|
|
29240
30030
|
};
|
|
30031
|
+
scan_heeft_pincode: {
|
|
30032
|
+
Args: {
|
|
30033
|
+
p_scanner_id: string;
|
|
30034
|
+
};
|
|
30035
|
+
Returns: boolean;
|
|
30036
|
+
};
|
|
29241
30037
|
scan_kar_compleet: {
|
|
29242
30038
|
Args: {
|
|
29243
30039
|
p_allow_reprint?: boolean;
|
|
@@ -29255,6 +30051,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
29255
30051
|
Args: {
|
|
29256
30052
|
p_code: string;
|
|
29257
30053
|
p_latency_ms?: number;
|
|
30054
|
+
p_medewerker?: string;
|
|
29258
30055
|
p_message?: string;
|
|
29259
30056
|
p_result: string;
|
|
29260
30057
|
p_scanner_key?: string;
|
|
@@ -29327,6 +30124,22 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
29327
30124
|
};
|
|
29328
30125
|
Returns: undefined;
|
|
29329
30126
|
};
|
|
30127
|
+
scan_scanner_info: {
|
|
30128
|
+
Args: {
|
|
30129
|
+
p_slug: string;
|
|
30130
|
+
};
|
|
30131
|
+
Returns: {
|
|
30132
|
+
actief: boolean;
|
|
30133
|
+
heeft_pincode: boolean;
|
|
30134
|
+
id: string;
|
|
30135
|
+
naam: string;
|
|
30136
|
+
omschrijving: string;
|
|
30137
|
+
printer_id: string;
|
|
30138
|
+
type: string;
|
|
30139
|
+
vereist_medewerker: boolean;
|
|
30140
|
+
werkplek: string;
|
|
30141
|
+
}[];
|
|
30142
|
+
};
|
|
29330
30143
|
scan_sessie_annuleren: {
|
|
29331
30144
|
Args: {
|
|
29332
30145
|
p_sessie_id: string;
|
|
@@ -29662,6 +30475,26 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
29662
30475
|
};
|
|
29663
30476
|
Returns: undefined;
|
|
29664
30477
|
};
|
|
30478
|
+
set_product_stock: {
|
|
30479
|
+
Args: {
|
|
30480
|
+
p_incoming_stock?: number;
|
|
30481
|
+
p_minimum_stock?: number;
|
|
30482
|
+
p_notes?: string;
|
|
30483
|
+
p_physical_stock: number;
|
|
30484
|
+
p_product_id: string;
|
|
30485
|
+
};
|
|
30486
|
+
Returns: {
|
|
30487
|
+
connection_id: string;
|
|
30488
|
+
incoming_stock: number;
|
|
30489
|
+
minimum_stock: number;
|
|
30490
|
+
notes: string;
|
|
30491
|
+
physical_stock: number;
|
|
30492
|
+
product_id: string;
|
|
30493
|
+
reserved_stock: number;
|
|
30494
|
+
trade_item_key: string;
|
|
30495
|
+
updated_at: string;
|
|
30496
|
+
}[];
|
|
30497
|
+
};
|
|
29665
30498
|
show_limit: {
|
|
29666
30499
|
Args: never;
|
|
29667
30500
|
Returns: number;
|
|
@@ -30186,6 +31019,13 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
30186
31019
|
};
|
|
30187
31020
|
Returns: number;
|
|
30188
31021
|
};
|
|
31022
|
+
vakantie_overuren: {
|
|
31023
|
+
Args: {
|
|
31024
|
+
_user_id: string;
|
|
31025
|
+
_year?: number;
|
|
31026
|
+
};
|
|
31027
|
+
Returns: number;
|
|
31028
|
+
};
|
|
30189
31029
|
vakantie_saldo: {
|
|
30190
31030
|
Args: {
|
|
30191
31031
|
_user_id: string;
|
|
@@ -30193,7 +31033,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
30193
31033
|
};
|
|
30194
31034
|
Returns: {
|
|
30195
31035
|
day_hours: number;
|
|
31036
|
+
earned_from_overtime_days: number;
|
|
30196
31037
|
entitlement_days: number;
|
|
31038
|
+
hours_to_next_day: number;
|
|
31039
|
+
overtime_hours: number;
|
|
31040
|
+
overtime_remainder_hours: number;
|
|
31041
|
+
paid_out_days: number;
|
|
30197
31042
|
remaining_days: number;
|
|
30198
31043
|
used_days: number;
|
|
30199
31044
|
}[];
|
|
@@ -30204,7 +31049,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
30204
31049
|
};
|
|
30205
31050
|
Returns: {
|
|
30206
31051
|
day_hours: number;
|
|
31052
|
+
earned_from_overtime_days: number;
|
|
30207
31053
|
entitlement_days: number;
|
|
31054
|
+
hours_to_next_day: number;
|
|
31055
|
+
overtime_hours: number;
|
|
31056
|
+
overtime_remainder_hours: number;
|
|
31057
|
+
paid_out_days: number;
|
|
30208
31058
|
remaining_days: number;
|
|
30209
31059
|
used_days: number;
|
|
30210
31060
|
user_id: string;
|
|
@@ -30252,18 +31102,46 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
30252
31102
|
};
|
|
30253
31103
|
Returns: import("./types.js").Json;
|
|
30254
31104
|
};
|
|
31105
|
+
wo_list_colleague_planning: {
|
|
31106
|
+
Args: {
|
|
31107
|
+
_from: string;
|
|
31108
|
+
_monteur_id: string;
|
|
31109
|
+
_to: string;
|
|
31110
|
+
};
|
|
31111
|
+
Returns: {
|
|
31112
|
+
end_at: string;
|
|
31113
|
+
id: string;
|
|
31114
|
+
role: string;
|
|
31115
|
+
start_at: string;
|
|
31116
|
+
status: string;
|
|
31117
|
+
werkbon_id: string;
|
|
31118
|
+
}[];
|
|
31119
|
+
};
|
|
30255
31120
|
wo_list_offerte_requests: {
|
|
30256
31121
|
Args: {
|
|
30257
31122
|
_status?: string;
|
|
30258
31123
|
};
|
|
30259
31124
|
Returns: import("./types.js").Json;
|
|
30260
31125
|
};
|
|
31126
|
+
wo_list_proposals: {
|
|
31127
|
+
Args: {
|
|
31128
|
+
_status?: string;
|
|
31129
|
+
};
|
|
31130
|
+
Returns: import("./types.js").Json;
|
|
31131
|
+
};
|
|
30261
31132
|
wo_process_offerte_request: {
|
|
30262
31133
|
Args: {
|
|
30263
31134
|
_queue_id: string;
|
|
30264
31135
|
};
|
|
30265
31136
|
Returns: import("./types.js").Json;
|
|
30266
31137
|
};
|
|
31138
|
+
wo_process_proposal: {
|
|
31139
|
+
Args: {
|
|
31140
|
+
_id: string;
|
|
31141
|
+
_overrides?: import("./types.js").Json;
|
|
31142
|
+
};
|
|
31143
|
+
Returns: import("./types.js").Json;
|
|
31144
|
+
};
|
|
30267
31145
|
wo_reject_offerte_request: {
|
|
30268
31146
|
Args: {
|
|
30269
31147
|
_queue_id: string;
|
|
@@ -30271,6 +31149,13 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
|
|
|
30271
31149
|
};
|
|
30272
31150
|
Returns: import("./types.js").Json;
|
|
30273
31151
|
};
|
|
31152
|
+
wo_reject_proposal: {
|
|
31153
|
+
Args: {
|
|
31154
|
+
_id: string;
|
|
31155
|
+
_reden?: string;
|
|
31156
|
+
};
|
|
31157
|
+
Returns: import("./types.js").Json;
|
|
31158
|
+
};
|
|
30274
31159
|
wo_set_status: {
|
|
30275
31160
|
Args: {
|
|
30276
31161
|
_reason?: string;
|