@flowselections/floriday-voorraad 1.0.49 → 1.0.51
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/CollapsibleText.d.ts.map +1 -1
- package/dist-lib/components/voorraad/CollapsibleText.js +14 -11
- package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockMutationHistoryCard.js +17 -16
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +360 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +2 -30680
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.js +4 -27
- package/dist-lib/integrations/supabase/client.server.d.ts +360 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +372 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +360 -0
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +360 -0
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-env.functions.d.ts +720 -0
- package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +2160 -0
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts +720 -0
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +1080 -0
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +720 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/inventory-settings.functions.d.ts +720 -0
- package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/stock-sync.functions.d.ts +720 -0
- package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -8279,6 +8279,7 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
8279
8279
|
postal_code: string;
|
|
8280
8280
|
primary_color: string;
|
|
8281
8281
|
secondary_color: string;
|
|
8282
|
+
show_company_name: boolean;
|
|
8282
8283
|
singleton_key: boolean;
|
|
8283
8284
|
updated_at: string;
|
|
8284
8285
|
vat_identification_number: string;
|
|
@@ -8299,6 +8300,7 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
8299
8300
|
postal_code?: string;
|
|
8300
8301
|
primary_color?: string;
|
|
8301
8302
|
secondary_color?: string;
|
|
8303
|
+
show_company_name?: boolean;
|
|
8302
8304
|
singleton_key?: boolean;
|
|
8303
8305
|
updated_at?: string;
|
|
8304
8306
|
vat_identification_number?: string;
|
|
@@ -8319,6 +8321,7 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
8319
8321
|
postal_code?: string;
|
|
8320
8322
|
primary_color?: string;
|
|
8321
8323
|
secondary_color?: string;
|
|
8324
|
+
show_company_name?: boolean;
|
|
8322
8325
|
singleton_key?: boolean;
|
|
8323
8326
|
updated_at?: string;
|
|
8324
8327
|
vat_identification_number?: string;
|
|
@@ -14691,6 +14694,7 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
14691
14694
|
next_attempt_at: string;
|
|
14692
14695
|
order_id: string;
|
|
14693
14696
|
processed_at: string | null;
|
|
14697
|
+
send_error: string | null;
|
|
14694
14698
|
status: string;
|
|
14695
14699
|
updated_at: string;
|
|
14696
14700
|
};
|
|
@@ -14704,6 +14708,7 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
14704
14708
|
next_attempt_at?: string;
|
|
14705
14709
|
order_id: string;
|
|
14706
14710
|
processed_at?: string | null;
|
|
14711
|
+
send_error?: string | null;
|
|
14707
14712
|
status?: string;
|
|
14708
14713
|
updated_at?: string;
|
|
14709
14714
|
};
|
|
@@ -14717,6 +14722,7 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
14717
14722
|
next_attempt_at?: string;
|
|
14718
14723
|
order_id?: string;
|
|
14719
14724
|
processed_at?: string | null;
|
|
14725
|
+
send_error?: string | null;
|
|
14720
14726
|
status?: string;
|
|
14721
14727
|
updated_at?: string;
|
|
14722
14728
|
};
|
|
@@ -17746,6 +17752,66 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
17746
17752
|
};
|
|
17747
17753
|
Relationships: [];
|
|
17748
17754
|
};
|
|
17755
|
+
product_suppliers: {
|
|
17756
|
+
Row: {
|
|
17757
|
+
created_at: string;
|
|
17758
|
+
id: string;
|
|
17759
|
+
is_preferred: boolean;
|
|
17760
|
+
lead_time_days: number | null;
|
|
17761
|
+
min_order_quantity: number | null;
|
|
17762
|
+
notes: string | null;
|
|
17763
|
+
product_id: string;
|
|
17764
|
+
purchase_price_cents: number | null;
|
|
17765
|
+
supplier_article_number: string | null;
|
|
17766
|
+
supplier_id: string;
|
|
17767
|
+
updated_at: string;
|
|
17768
|
+
};
|
|
17769
|
+
Insert: {
|
|
17770
|
+
created_at?: string;
|
|
17771
|
+
id?: string;
|
|
17772
|
+
is_preferred?: boolean;
|
|
17773
|
+
lead_time_days?: number | null;
|
|
17774
|
+
min_order_quantity?: number | null;
|
|
17775
|
+
notes?: string | null;
|
|
17776
|
+
product_id: string;
|
|
17777
|
+
purchase_price_cents?: number | null;
|
|
17778
|
+
supplier_article_number?: string | null;
|
|
17779
|
+
supplier_id: string;
|
|
17780
|
+
updated_at?: string;
|
|
17781
|
+
};
|
|
17782
|
+
Update: {
|
|
17783
|
+
created_at?: string;
|
|
17784
|
+
id?: string;
|
|
17785
|
+
is_preferred?: boolean;
|
|
17786
|
+
lead_time_days?: number | null;
|
|
17787
|
+
min_order_quantity?: number | null;
|
|
17788
|
+
notes?: string | null;
|
|
17789
|
+
product_id?: string;
|
|
17790
|
+
purchase_price_cents?: number | null;
|
|
17791
|
+
supplier_article_number?: string | null;
|
|
17792
|
+
supplier_id?: string;
|
|
17793
|
+
updated_at?: string;
|
|
17794
|
+
};
|
|
17795
|
+
Relationships: [{
|
|
17796
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17797
|
+
columns: ["product_id"];
|
|
17798
|
+
isOneToOne: false;
|
|
17799
|
+
referencedRelation: "logistics_product_dimensions";
|
|
17800
|
+
referencedColumns: ["product_id"];
|
|
17801
|
+
}, {
|
|
17802
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17803
|
+
columns: ["product_id"];
|
|
17804
|
+
isOneToOne: false;
|
|
17805
|
+
referencedRelation: "products";
|
|
17806
|
+
referencedColumns: ["id"];
|
|
17807
|
+
}, {
|
|
17808
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
17809
|
+
columns: ["supplier_id"];
|
|
17810
|
+
isOneToOne: false;
|
|
17811
|
+
referencedRelation: "suppliers";
|
|
17812
|
+
referencedColumns: ["id"];
|
|
17813
|
+
}];
|
|
17814
|
+
};
|
|
17749
17815
|
product_tray_stickers: {
|
|
17750
17816
|
Row: {
|
|
17751
17817
|
bestand_url: string;
|
|
@@ -18250,9 +18316,12 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
18250
18316
|
purchase_order_items: {
|
|
18251
18317
|
Row: {
|
|
18252
18318
|
article_number: string | null;
|
|
18319
|
+
cancelled_at: string | null;
|
|
18253
18320
|
created_at: string;
|
|
18254
18321
|
delivery_date: string | null;
|
|
18255
18322
|
id: string;
|
|
18323
|
+
incoming_booked: number;
|
|
18324
|
+
line_status: string;
|
|
18256
18325
|
name: string;
|
|
18257
18326
|
note: string | null;
|
|
18258
18327
|
pot_size: string | null;
|
|
@@ -18260,6 +18329,8 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
18260
18329
|
product_type: string;
|
|
18261
18330
|
purchase_order_id: string;
|
|
18262
18331
|
quantity: number;
|
|
18332
|
+
received_at: string | null;
|
|
18333
|
+
received_booked: number;
|
|
18263
18334
|
supplier_id: string | null;
|
|
18264
18335
|
supplier_product_id: string | null;
|
|
18265
18336
|
unit_price_cents: number;
|
|
@@ -18267,9 +18338,12 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
18267
18338
|
};
|
|
18268
18339
|
Insert: {
|
|
18269
18340
|
article_number?: string | null;
|
|
18341
|
+
cancelled_at?: string | null;
|
|
18270
18342
|
created_at?: string;
|
|
18271
18343
|
delivery_date?: string | null;
|
|
18272
18344
|
id?: string;
|
|
18345
|
+
incoming_booked?: number;
|
|
18346
|
+
line_status?: string;
|
|
18273
18347
|
name?: string;
|
|
18274
18348
|
note?: string | null;
|
|
18275
18349
|
pot_size?: string | null;
|
|
@@ -18277,6 +18351,8 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
18277
18351
|
product_type?: string;
|
|
18278
18352
|
purchase_order_id: string;
|
|
18279
18353
|
quantity?: number;
|
|
18354
|
+
received_at?: string | null;
|
|
18355
|
+
received_booked?: number;
|
|
18280
18356
|
supplier_id?: string | null;
|
|
18281
18357
|
supplier_product_id?: string | null;
|
|
18282
18358
|
unit_price_cents?: number;
|
|
@@ -18284,9 +18360,12 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
18284
18360
|
};
|
|
18285
18361
|
Update: {
|
|
18286
18362
|
article_number?: string | null;
|
|
18363
|
+
cancelled_at?: string | null;
|
|
18287
18364
|
created_at?: string;
|
|
18288
18365
|
delivery_date?: string | null;
|
|
18289
18366
|
id?: string;
|
|
18367
|
+
incoming_booked?: number;
|
|
18368
|
+
line_status?: string;
|
|
18290
18369
|
name?: string;
|
|
18291
18370
|
note?: string | null;
|
|
18292
18371
|
pot_size?: string | null;
|
|
@@ -18294,6 +18373,8 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
18294
18373
|
product_type?: string;
|
|
18295
18374
|
purchase_order_id?: string;
|
|
18296
18375
|
quantity?: number;
|
|
18376
|
+
received_at?: string | null;
|
|
18377
|
+
received_booked?: number;
|
|
18297
18378
|
supplier_id?: string | null;
|
|
18298
18379
|
supplier_product_id?: string | null;
|
|
18299
18380
|
unit_price_cents?: number;
|
|
@@ -18397,6 +18478,153 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
18397
18478
|
referencedColumns: ["id"];
|
|
18398
18479
|
}];
|
|
18399
18480
|
};
|
|
18481
|
+
purchase_request_events: {
|
|
18482
|
+
Row: {
|
|
18483
|
+
created_at: string;
|
|
18484
|
+
details: import("../integrations/supabase/types").Json | null;
|
|
18485
|
+
event_type: string;
|
|
18486
|
+
id: string;
|
|
18487
|
+
request_id: string;
|
|
18488
|
+
};
|
|
18489
|
+
Insert: {
|
|
18490
|
+
created_at?: string;
|
|
18491
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
18492
|
+
event_type: string;
|
|
18493
|
+
id?: string;
|
|
18494
|
+
request_id: string;
|
|
18495
|
+
};
|
|
18496
|
+
Update: {
|
|
18497
|
+
created_at?: string;
|
|
18498
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
18499
|
+
event_type?: string;
|
|
18500
|
+
id?: string;
|
|
18501
|
+
request_id?: string;
|
|
18502
|
+
};
|
|
18503
|
+
Relationships: [{
|
|
18504
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
18505
|
+
columns: ["request_id"];
|
|
18506
|
+
isOneToOne: false;
|
|
18507
|
+
referencedRelation: "purchase_requests";
|
|
18508
|
+
referencedColumns: ["id"];
|
|
18509
|
+
}];
|
|
18510
|
+
};
|
|
18511
|
+
purchase_request_responses: {
|
|
18512
|
+
Row: {
|
|
18513
|
+
confirmed_date: string | null;
|
|
18514
|
+
confirmed_price_cents: number | null;
|
|
18515
|
+
confirmed_quantity: number;
|
|
18516
|
+
created_at: string;
|
|
18517
|
+
id: string;
|
|
18518
|
+
not_available: boolean;
|
|
18519
|
+
note: string | null;
|
|
18520
|
+
purchase_order_item_id: string;
|
|
18521
|
+
request_id: string;
|
|
18522
|
+
updated_at: string;
|
|
18523
|
+
};
|
|
18524
|
+
Insert: {
|
|
18525
|
+
confirmed_date?: string | null;
|
|
18526
|
+
confirmed_price_cents?: number | null;
|
|
18527
|
+
confirmed_quantity?: number;
|
|
18528
|
+
created_at?: string;
|
|
18529
|
+
id?: string;
|
|
18530
|
+
not_available?: boolean;
|
|
18531
|
+
note?: string | null;
|
|
18532
|
+
purchase_order_item_id: string;
|
|
18533
|
+
request_id: string;
|
|
18534
|
+
updated_at?: string;
|
|
18535
|
+
};
|
|
18536
|
+
Update: {
|
|
18537
|
+
confirmed_date?: string | null;
|
|
18538
|
+
confirmed_price_cents?: number | null;
|
|
18539
|
+
confirmed_quantity?: number;
|
|
18540
|
+
created_at?: string;
|
|
18541
|
+
id?: string;
|
|
18542
|
+
not_available?: boolean;
|
|
18543
|
+
note?: string | null;
|
|
18544
|
+
purchase_order_item_id?: string;
|
|
18545
|
+
request_id?: string;
|
|
18546
|
+
updated_at?: string;
|
|
18547
|
+
};
|
|
18548
|
+
Relationships: [{
|
|
18549
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
18550
|
+
columns: ["purchase_order_item_id"];
|
|
18551
|
+
isOneToOne: false;
|
|
18552
|
+
referencedRelation: "purchase_order_items";
|
|
18553
|
+
referencedColumns: ["id"];
|
|
18554
|
+
}, {
|
|
18555
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
18556
|
+
columns: ["request_id"];
|
|
18557
|
+
isOneToOne: false;
|
|
18558
|
+
referencedRelation: "purchase_requests";
|
|
18559
|
+
referencedColumns: ["id"];
|
|
18560
|
+
}];
|
|
18561
|
+
};
|
|
18562
|
+
purchase_requests: {
|
|
18563
|
+
Row: {
|
|
18564
|
+
created_at: string;
|
|
18565
|
+
expires_at: string;
|
|
18566
|
+
first_viewed_at: string | null;
|
|
18567
|
+
id: string;
|
|
18568
|
+
processed_at: string | null;
|
|
18569
|
+
purchase_order_id: string;
|
|
18570
|
+
responded_at: string | null;
|
|
18571
|
+
sent_at: string;
|
|
18572
|
+
status: string;
|
|
18573
|
+
supplier_id: string | null;
|
|
18574
|
+
supplier_name: string;
|
|
18575
|
+
supplier_note: string | null;
|
|
18576
|
+
to_address: string | null;
|
|
18577
|
+
token_hash: string;
|
|
18578
|
+
updated_at: string;
|
|
18579
|
+
};
|
|
18580
|
+
Insert: {
|
|
18581
|
+
created_at?: string;
|
|
18582
|
+
expires_at?: string;
|
|
18583
|
+
first_viewed_at?: string | null;
|
|
18584
|
+
id?: string;
|
|
18585
|
+
processed_at?: string | null;
|
|
18586
|
+
purchase_order_id: string;
|
|
18587
|
+
responded_at?: string | null;
|
|
18588
|
+
sent_at?: string;
|
|
18589
|
+
status?: string;
|
|
18590
|
+
supplier_id?: string | null;
|
|
18591
|
+
supplier_name?: string;
|
|
18592
|
+
supplier_note?: string | null;
|
|
18593
|
+
to_address?: string | null;
|
|
18594
|
+
token_hash: string;
|
|
18595
|
+
updated_at?: string;
|
|
18596
|
+
};
|
|
18597
|
+
Update: {
|
|
18598
|
+
created_at?: string;
|
|
18599
|
+
expires_at?: string;
|
|
18600
|
+
first_viewed_at?: string | null;
|
|
18601
|
+
id?: string;
|
|
18602
|
+
processed_at?: string | null;
|
|
18603
|
+
purchase_order_id?: string;
|
|
18604
|
+
responded_at?: string | null;
|
|
18605
|
+
sent_at?: string;
|
|
18606
|
+
status?: string;
|
|
18607
|
+
supplier_id?: string | null;
|
|
18608
|
+
supplier_name?: string;
|
|
18609
|
+
supplier_note?: string | null;
|
|
18610
|
+
to_address?: string | null;
|
|
18611
|
+
token_hash?: string;
|
|
18612
|
+
updated_at?: string;
|
|
18613
|
+
};
|
|
18614
|
+
Relationships: [{
|
|
18615
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
18616
|
+
columns: ["purchase_order_id"];
|
|
18617
|
+
isOneToOne: false;
|
|
18618
|
+
referencedRelation: "purchase_orders";
|
|
18619
|
+
referencedColumns: ["id"];
|
|
18620
|
+
}, {
|
|
18621
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
18622
|
+
columns: ["supplier_id"];
|
|
18623
|
+
isOneToOne: false;
|
|
18624
|
+
referencedRelation: "suppliers";
|
|
18625
|
+
referencedColumns: ["id"];
|
|
18626
|
+
}];
|
|
18627
|
+
};
|
|
18400
18628
|
reception_notifications: {
|
|
18401
18629
|
Row: {
|
|
18402
18630
|
booking_id: string | null;
|
|
@@ -20560,6 +20788,7 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
20560
20788
|
auto_invoice_enabled: boolean;
|
|
20561
20789
|
auto_invoice_start_date: string | null;
|
|
20562
20790
|
auto_invoice_trigger_statuses: string[];
|
|
20791
|
+
auto_send_mode: string | null;
|
|
20563
20792
|
created_at: string;
|
|
20564
20793
|
debtor_gl_account: string;
|
|
20565
20794
|
default_article_code: string | null;
|
|
@@ -20588,6 +20817,7 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
20588
20817
|
auto_invoice_enabled?: boolean;
|
|
20589
20818
|
auto_invoice_start_date?: string | null;
|
|
20590
20819
|
auto_invoice_trigger_statuses?: string[];
|
|
20820
|
+
auto_send_mode?: string | null;
|
|
20591
20821
|
created_at?: string;
|
|
20592
20822
|
debtor_gl_account?: string;
|
|
20593
20823
|
default_article_code?: string | null;
|
|
@@ -20616,6 +20846,7 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
20616
20846
|
auto_invoice_enabled?: boolean;
|
|
20617
20847
|
auto_invoice_start_date?: string | null;
|
|
20618
20848
|
auto_invoice_trigger_statuses?: string[];
|
|
20849
|
+
auto_send_mode?: string | null;
|
|
20619
20850
|
created_at?: string;
|
|
20620
20851
|
debtor_gl_account?: string;
|
|
20621
20852
|
default_article_code?: string | null;
|
|
@@ -21059,16 +21290,19 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
21059
21290
|
Row: {
|
|
21060
21291
|
active_environment: string;
|
|
21061
21292
|
id: number;
|
|
21293
|
+
public_base_url: string | null;
|
|
21062
21294
|
updated_at: string;
|
|
21063
21295
|
};
|
|
21064
21296
|
Insert: {
|
|
21065
21297
|
active_environment?: string;
|
|
21066
21298
|
id?: number;
|
|
21299
|
+
public_base_url?: string | null;
|
|
21067
21300
|
updated_at?: string;
|
|
21068
21301
|
};
|
|
21069
21302
|
Update: {
|
|
21070
21303
|
active_environment?: string;
|
|
21071
21304
|
id?: number;
|
|
21305
|
+
public_base_url?: string | null;
|
|
21072
21306
|
updated_at?: string;
|
|
21073
21307
|
};
|
|
21074
21308
|
Relationships: [];
|
|
@@ -21299,11 +21533,15 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
21299
21533
|
monteur_id: string;
|
|
21300
21534
|
netto_verschil_minuten: number;
|
|
21301
21535
|
normaal_uitbetaald_minuten: number;
|
|
21536
|
+
omgezet_vakantie_minuten: number;
|
|
21537
|
+
overdracht_vorige_minuten: number;
|
|
21302
21538
|
overuren_minuten: number;
|
|
21303
21539
|
plus_minuten: number;
|
|
21540
|
+
rest_overuren_minuten: number;
|
|
21304
21541
|
status: string;
|
|
21305
21542
|
totaal_uitbetaald_minuten: number;
|
|
21306
21543
|
updated_at: string;
|
|
21544
|
+
vakantie_uren_bijgeschreven: number;
|
|
21307
21545
|
};
|
|
21308
21546
|
Insert: {
|
|
21309
21547
|
afgesloten_at?: string | null;
|
|
@@ -21320,11 +21558,15 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
21320
21558
|
monteur_id: string;
|
|
21321
21559
|
netto_verschil_minuten?: number;
|
|
21322
21560
|
normaal_uitbetaald_minuten?: number;
|
|
21561
|
+
omgezet_vakantie_minuten?: number;
|
|
21562
|
+
overdracht_vorige_minuten?: number;
|
|
21323
21563
|
overuren_minuten?: number;
|
|
21324
21564
|
plus_minuten?: number;
|
|
21565
|
+
rest_overuren_minuten?: number;
|
|
21325
21566
|
status?: string;
|
|
21326
21567
|
totaal_uitbetaald_minuten?: number;
|
|
21327
21568
|
updated_at?: string;
|
|
21569
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21328
21570
|
};
|
|
21329
21571
|
Update: {
|
|
21330
21572
|
afgesloten_at?: string | null;
|
|
@@ -21341,11 +21583,15 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
21341
21583
|
monteur_id?: string;
|
|
21342
21584
|
netto_verschil_minuten?: number;
|
|
21343
21585
|
normaal_uitbetaald_minuten?: number;
|
|
21586
|
+
omgezet_vakantie_minuten?: number;
|
|
21587
|
+
overdracht_vorige_minuten?: number;
|
|
21344
21588
|
overuren_minuten?: number;
|
|
21345
21589
|
plus_minuten?: number;
|
|
21590
|
+
rest_overuren_minuten?: number;
|
|
21346
21591
|
status?: string;
|
|
21347
21592
|
totaal_uitbetaald_minuten?: number;
|
|
21348
21593
|
updated_at?: string;
|
|
21594
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21349
21595
|
};
|
|
21350
21596
|
Relationships: [];
|
|
21351
21597
|
};
|
|
@@ -25834,12 +26080,57 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
25834
26080
|
};
|
|
25835
26081
|
Returns: import("../integrations/supabase/types").Json;
|
|
25836
26082
|
};
|
|
26083
|
+
inkoop_get_supplier_request: {
|
|
26084
|
+
Args: {
|
|
26085
|
+
_token: string;
|
|
26086
|
+
};
|
|
26087
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26088
|
+
};
|
|
26089
|
+
inkoop_hash_token: {
|
|
26090
|
+
Args: {
|
|
26091
|
+
_token: string;
|
|
26092
|
+
};
|
|
26093
|
+
Returns: string;
|
|
26094
|
+
};
|
|
26095
|
+
inkoop_html_escape: {
|
|
26096
|
+
Args: {
|
|
26097
|
+
_t: string;
|
|
26098
|
+
};
|
|
26099
|
+
Returns: string;
|
|
26100
|
+
};
|
|
26101
|
+
inkoop_list_artikelen: {
|
|
26102
|
+
Args: never;
|
|
26103
|
+
Returns: {
|
|
26104
|
+
article_number: string;
|
|
26105
|
+
barcode: string;
|
|
26106
|
+
id: string;
|
|
26107
|
+
incoming_quantity: number;
|
|
26108
|
+
is_layer: boolean;
|
|
26109
|
+
location: string;
|
|
26110
|
+
min_quantity: number;
|
|
26111
|
+
preferred_supplier_name: string;
|
|
26112
|
+
product: string;
|
|
26113
|
+
product_type: string;
|
|
26114
|
+
purchase_price: number;
|
|
26115
|
+
quantity: number;
|
|
26116
|
+
sale_price: number;
|
|
26117
|
+
supplier_count: number;
|
|
26118
|
+
unit: string;
|
|
26119
|
+
}[];
|
|
26120
|
+
};
|
|
25837
26121
|
inkoop_next_order_number: {
|
|
25838
26122
|
Args: never;
|
|
25839
26123
|
Returns: string;
|
|
25840
26124
|
};
|
|
26125
|
+
inkoop_process_request: {
|
|
26126
|
+
Args: {
|
|
26127
|
+
_request_id: string;
|
|
26128
|
+
};
|
|
26129
|
+
Returns: undefined;
|
|
26130
|
+
};
|
|
25841
26131
|
inkoop_send_order: {
|
|
25842
26132
|
Args: {
|
|
26133
|
+
_base_url?: string;
|
|
25843
26134
|
_order_id: string;
|
|
25844
26135
|
};
|
|
25845
26136
|
Returns: {
|
|
@@ -25847,6 +26138,44 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
25847
26138
|
supplier_name: string;
|
|
25848
26139
|
to_address: string;
|
|
25849
26140
|
}[];
|
|
26141
|
+
} | {
|
|
26142
|
+
Args: {
|
|
26143
|
+
_base_url?: string;
|
|
26144
|
+
_order_id: string;
|
|
26145
|
+
_resend?: boolean;
|
|
26146
|
+
};
|
|
26147
|
+
Returns: {
|
|
26148
|
+
outbox_id: string;
|
|
26149
|
+
supplier_name: string;
|
|
26150
|
+
to_address: string;
|
|
26151
|
+
}[];
|
|
26152
|
+
};
|
|
26153
|
+
inkoop_set_preferred_supplier: {
|
|
26154
|
+
Args: {
|
|
26155
|
+
_product_id: string;
|
|
26156
|
+
_supplier_id: string;
|
|
26157
|
+
};
|
|
26158
|
+
Returns: undefined;
|
|
26159
|
+
};
|
|
26160
|
+
inkoop_stock_key: {
|
|
26161
|
+
Args: {
|
|
26162
|
+
p_product_id: string;
|
|
26163
|
+
};
|
|
26164
|
+
Returns: string;
|
|
26165
|
+
};
|
|
26166
|
+
inkoop_submit_supplier_response: {
|
|
26167
|
+
Args: {
|
|
26168
|
+
_lines: import("../integrations/supabase/types").Json;
|
|
26169
|
+
_note?: string;
|
|
26170
|
+
_token: string;
|
|
26171
|
+
};
|
|
26172
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26173
|
+
};
|
|
26174
|
+
inkoop_sync_item_stock: {
|
|
26175
|
+
Args: {
|
|
26176
|
+
p_item_id: string;
|
|
26177
|
+
};
|
|
26178
|
+
Returns: undefined;
|
|
25850
26179
|
};
|
|
25851
26180
|
instructie_get: {
|
|
25852
26181
|
Args: {
|
|
@@ -27119,6 +27448,12 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
27119
27448
|
Args: never;
|
|
27120
27449
|
Returns: string;
|
|
27121
27450
|
};
|
|
27451
|
+
logistics_order_backlog_info: {
|
|
27452
|
+
Args: {
|
|
27453
|
+
p_order_id: string;
|
|
27454
|
+
};
|
|
27455
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27456
|
+
};
|
|
27122
27457
|
logistics_order_cart_approval: {
|
|
27123
27458
|
Args: {
|
|
27124
27459
|
_order_ref: string;
|
|
@@ -27209,6 +27544,12 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
27209
27544
|
};
|
|
27210
27545
|
Returns: boolean;
|
|
27211
27546
|
};
|
|
27547
|
+
logistics_order_is_backlog: {
|
|
27548
|
+
Args: {
|
|
27549
|
+
p_order_id: string;
|
|
27550
|
+
};
|
|
27551
|
+
Returns: boolean;
|
|
27552
|
+
};
|
|
27212
27553
|
logistics_order_is_topick: {
|
|
27213
27554
|
Args: {
|
|
27214
27555
|
p_order_id: string;
|
|
@@ -27350,6 +27691,10 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
27350
27691
|
shifted_count: number;
|
|
27351
27692
|
}[];
|
|
27352
27693
|
};
|
|
27694
|
+
logistics_pick_backlog_max_days: {
|
|
27695
|
+
Args: never;
|
|
27696
|
+
Returns: number;
|
|
27697
|
+
};
|
|
27353
27698
|
logistics_pick_barcode_enabled: {
|
|
27354
27699
|
Args: never;
|
|
27355
27700
|
Returns: boolean;
|
|
@@ -27965,12 +28310,27 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
|
|
|
27965
28310
|
Args: never;
|
|
27966
28311
|
Returns: import("../integrations/supabase/types").Json;
|
|
27967
28312
|
};
|
|
28313
|
+
logistics_sync_pick_queue_backlog: {
|
|
28314
|
+
Args: never;
|
|
28315
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28316
|
+
};
|
|
28317
|
+
logistics_sync_pick_queue_core: {
|
|
28318
|
+
Args: never;
|
|
28319
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28320
|
+
};
|
|
27968
28321
|
logistics_sync_task_carriers: {
|
|
27969
28322
|
Args: {
|
|
27970
28323
|
p_order_ref?: string;
|
|
27971
28324
|
};
|
|
27972
28325
|
Returns: number;
|
|
27973
28326
|
};
|
|
28327
|
+
logistics_task_open_counts: {
|
|
28328
|
+
Args: never;
|
|
28329
|
+
Returns: {
|
|
28330
|
+
open_count: number;
|
|
28331
|
+
owner_module: string;
|
|
28332
|
+
}[];
|
|
28333
|
+
};
|
|
27974
28334
|
logistics_task_owner: {
|
|
27975
28335
|
Args: {
|
|
27976
28336
|
p_task_type: string;
|
|
@@ -38974,6 +39334,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
38974
39334
|
postal_code: string;
|
|
38975
39335
|
primary_color: string;
|
|
38976
39336
|
secondary_color: string;
|
|
39337
|
+
show_company_name: boolean;
|
|
38977
39338
|
singleton_key: boolean;
|
|
38978
39339
|
updated_at: string;
|
|
38979
39340
|
vat_identification_number: string;
|
|
@@ -38994,6 +39355,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
38994
39355
|
postal_code?: string;
|
|
38995
39356
|
primary_color?: string;
|
|
38996
39357
|
secondary_color?: string;
|
|
39358
|
+
show_company_name?: boolean;
|
|
38997
39359
|
singleton_key?: boolean;
|
|
38998
39360
|
updated_at?: string;
|
|
38999
39361
|
vat_identification_number?: string;
|
|
@@ -39014,6 +39376,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
39014
39376
|
postal_code?: string;
|
|
39015
39377
|
primary_color?: string;
|
|
39016
39378
|
secondary_color?: string;
|
|
39379
|
+
show_company_name?: boolean;
|
|
39017
39380
|
singleton_key?: boolean;
|
|
39018
39381
|
updated_at?: string;
|
|
39019
39382
|
vat_identification_number?: string;
|
|
@@ -45386,6 +45749,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
45386
45749
|
next_attempt_at: string;
|
|
45387
45750
|
order_id: string;
|
|
45388
45751
|
processed_at: string | null;
|
|
45752
|
+
send_error: string | null;
|
|
45389
45753
|
status: string;
|
|
45390
45754
|
updated_at: string;
|
|
45391
45755
|
};
|
|
@@ -45399,6 +45763,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
45399
45763
|
next_attempt_at?: string;
|
|
45400
45764
|
order_id: string;
|
|
45401
45765
|
processed_at?: string | null;
|
|
45766
|
+
send_error?: string | null;
|
|
45402
45767
|
status?: string;
|
|
45403
45768
|
updated_at?: string;
|
|
45404
45769
|
};
|
|
@@ -45412,6 +45777,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
45412
45777
|
next_attempt_at?: string;
|
|
45413
45778
|
order_id?: string;
|
|
45414
45779
|
processed_at?: string | null;
|
|
45780
|
+
send_error?: string | null;
|
|
45415
45781
|
status?: string;
|
|
45416
45782
|
updated_at?: string;
|
|
45417
45783
|
};
|
|
@@ -48441,6 +48807,66 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
48441
48807
|
};
|
|
48442
48808
|
Relationships: [];
|
|
48443
48809
|
};
|
|
48810
|
+
product_suppliers: {
|
|
48811
|
+
Row: {
|
|
48812
|
+
created_at: string;
|
|
48813
|
+
id: string;
|
|
48814
|
+
is_preferred: boolean;
|
|
48815
|
+
lead_time_days: number | null;
|
|
48816
|
+
min_order_quantity: number | null;
|
|
48817
|
+
notes: string | null;
|
|
48818
|
+
product_id: string;
|
|
48819
|
+
purchase_price_cents: number | null;
|
|
48820
|
+
supplier_article_number: string | null;
|
|
48821
|
+
supplier_id: string;
|
|
48822
|
+
updated_at: string;
|
|
48823
|
+
};
|
|
48824
|
+
Insert: {
|
|
48825
|
+
created_at?: string;
|
|
48826
|
+
id?: string;
|
|
48827
|
+
is_preferred?: boolean;
|
|
48828
|
+
lead_time_days?: number | null;
|
|
48829
|
+
min_order_quantity?: number | null;
|
|
48830
|
+
notes?: string | null;
|
|
48831
|
+
product_id: string;
|
|
48832
|
+
purchase_price_cents?: number | null;
|
|
48833
|
+
supplier_article_number?: string | null;
|
|
48834
|
+
supplier_id: string;
|
|
48835
|
+
updated_at?: string;
|
|
48836
|
+
};
|
|
48837
|
+
Update: {
|
|
48838
|
+
created_at?: string;
|
|
48839
|
+
id?: string;
|
|
48840
|
+
is_preferred?: boolean;
|
|
48841
|
+
lead_time_days?: number | null;
|
|
48842
|
+
min_order_quantity?: number | null;
|
|
48843
|
+
notes?: string | null;
|
|
48844
|
+
product_id?: string;
|
|
48845
|
+
purchase_price_cents?: number | null;
|
|
48846
|
+
supplier_article_number?: string | null;
|
|
48847
|
+
supplier_id?: string;
|
|
48848
|
+
updated_at?: string;
|
|
48849
|
+
};
|
|
48850
|
+
Relationships: [{
|
|
48851
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
48852
|
+
columns: ["product_id"];
|
|
48853
|
+
isOneToOne: false;
|
|
48854
|
+
referencedRelation: "logistics_product_dimensions";
|
|
48855
|
+
referencedColumns: ["product_id"];
|
|
48856
|
+
}, {
|
|
48857
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
48858
|
+
columns: ["product_id"];
|
|
48859
|
+
isOneToOne: false;
|
|
48860
|
+
referencedRelation: "products";
|
|
48861
|
+
referencedColumns: ["id"];
|
|
48862
|
+
}, {
|
|
48863
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
48864
|
+
columns: ["supplier_id"];
|
|
48865
|
+
isOneToOne: false;
|
|
48866
|
+
referencedRelation: "suppliers";
|
|
48867
|
+
referencedColumns: ["id"];
|
|
48868
|
+
}];
|
|
48869
|
+
};
|
|
48444
48870
|
product_tray_stickers: {
|
|
48445
48871
|
Row: {
|
|
48446
48872
|
bestand_url: string;
|
|
@@ -48945,9 +49371,12 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
48945
49371
|
purchase_order_items: {
|
|
48946
49372
|
Row: {
|
|
48947
49373
|
article_number: string | null;
|
|
49374
|
+
cancelled_at: string | null;
|
|
48948
49375
|
created_at: string;
|
|
48949
49376
|
delivery_date: string | null;
|
|
48950
49377
|
id: string;
|
|
49378
|
+
incoming_booked: number;
|
|
49379
|
+
line_status: string;
|
|
48951
49380
|
name: string;
|
|
48952
49381
|
note: string | null;
|
|
48953
49382
|
pot_size: string | null;
|
|
@@ -48955,6 +49384,8 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
48955
49384
|
product_type: string;
|
|
48956
49385
|
purchase_order_id: string;
|
|
48957
49386
|
quantity: number;
|
|
49387
|
+
received_at: string | null;
|
|
49388
|
+
received_booked: number;
|
|
48958
49389
|
supplier_id: string | null;
|
|
48959
49390
|
supplier_product_id: string | null;
|
|
48960
49391
|
unit_price_cents: number;
|
|
@@ -48962,9 +49393,12 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
48962
49393
|
};
|
|
48963
49394
|
Insert: {
|
|
48964
49395
|
article_number?: string | null;
|
|
49396
|
+
cancelled_at?: string | null;
|
|
48965
49397
|
created_at?: string;
|
|
48966
49398
|
delivery_date?: string | null;
|
|
48967
49399
|
id?: string;
|
|
49400
|
+
incoming_booked?: number;
|
|
49401
|
+
line_status?: string;
|
|
48968
49402
|
name?: string;
|
|
48969
49403
|
note?: string | null;
|
|
48970
49404
|
pot_size?: string | null;
|
|
@@ -48972,6 +49406,8 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
48972
49406
|
product_type?: string;
|
|
48973
49407
|
purchase_order_id: string;
|
|
48974
49408
|
quantity?: number;
|
|
49409
|
+
received_at?: string | null;
|
|
49410
|
+
received_booked?: number;
|
|
48975
49411
|
supplier_id?: string | null;
|
|
48976
49412
|
supplier_product_id?: string | null;
|
|
48977
49413
|
unit_price_cents?: number;
|
|
@@ -48979,9 +49415,12 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
48979
49415
|
};
|
|
48980
49416
|
Update: {
|
|
48981
49417
|
article_number?: string | null;
|
|
49418
|
+
cancelled_at?: string | null;
|
|
48982
49419
|
created_at?: string;
|
|
48983
49420
|
delivery_date?: string | null;
|
|
48984
49421
|
id?: string;
|
|
49422
|
+
incoming_booked?: number;
|
|
49423
|
+
line_status?: string;
|
|
48985
49424
|
name?: string;
|
|
48986
49425
|
note?: string | null;
|
|
48987
49426
|
pot_size?: string | null;
|
|
@@ -48989,6 +49428,8 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
48989
49428
|
product_type?: string;
|
|
48990
49429
|
purchase_order_id?: string;
|
|
48991
49430
|
quantity?: number;
|
|
49431
|
+
received_at?: string | null;
|
|
49432
|
+
received_booked?: number;
|
|
48992
49433
|
supplier_id?: string | null;
|
|
48993
49434
|
supplier_product_id?: string | null;
|
|
48994
49435
|
unit_price_cents?: number;
|
|
@@ -49092,6 +49533,153 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
49092
49533
|
referencedColumns: ["id"];
|
|
49093
49534
|
}];
|
|
49094
49535
|
};
|
|
49536
|
+
purchase_request_events: {
|
|
49537
|
+
Row: {
|
|
49538
|
+
created_at: string;
|
|
49539
|
+
details: import("../integrations/supabase/types").Json | null;
|
|
49540
|
+
event_type: string;
|
|
49541
|
+
id: string;
|
|
49542
|
+
request_id: string;
|
|
49543
|
+
};
|
|
49544
|
+
Insert: {
|
|
49545
|
+
created_at?: string;
|
|
49546
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
49547
|
+
event_type: string;
|
|
49548
|
+
id?: string;
|
|
49549
|
+
request_id: string;
|
|
49550
|
+
};
|
|
49551
|
+
Update: {
|
|
49552
|
+
created_at?: string;
|
|
49553
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
49554
|
+
event_type?: string;
|
|
49555
|
+
id?: string;
|
|
49556
|
+
request_id?: string;
|
|
49557
|
+
};
|
|
49558
|
+
Relationships: [{
|
|
49559
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
49560
|
+
columns: ["request_id"];
|
|
49561
|
+
isOneToOne: false;
|
|
49562
|
+
referencedRelation: "purchase_requests";
|
|
49563
|
+
referencedColumns: ["id"];
|
|
49564
|
+
}];
|
|
49565
|
+
};
|
|
49566
|
+
purchase_request_responses: {
|
|
49567
|
+
Row: {
|
|
49568
|
+
confirmed_date: string | null;
|
|
49569
|
+
confirmed_price_cents: number | null;
|
|
49570
|
+
confirmed_quantity: number;
|
|
49571
|
+
created_at: string;
|
|
49572
|
+
id: string;
|
|
49573
|
+
not_available: boolean;
|
|
49574
|
+
note: string | null;
|
|
49575
|
+
purchase_order_item_id: string;
|
|
49576
|
+
request_id: string;
|
|
49577
|
+
updated_at: string;
|
|
49578
|
+
};
|
|
49579
|
+
Insert: {
|
|
49580
|
+
confirmed_date?: string | null;
|
|
49581
|
+
confirmed_price_cents?: number | null;
|
|
49582
|
+
confirmed_quantity?: number;
|
|
49583
|
+
created_at?: string;
|
|
49584
|
+
id?: string;
|
|
49585
|
+
not_available?: boolean;
|
|
49586
|
+
note?: string | null;
|
|
49587
|
+
purchase_order_item_id: string;
|
|
49588
|
+
request_id: string;
|
|
49589
|
+
updated_at?: string;
|
|
49590
|
+
};
|
|
49591
|
+
Update: {
|
|
49592
|
+
confirmed_date?: string | null;
|
|
49593
|
+
confirmed_price_cents?: number | null;
|
|
49594
|
+
confirmed_quantity?: number;
|
|
49595
|
+
created_at?: string;
|
|
49596
|
+
id?: string;
|
|
49597
|
+
not_available?: boolean;
|
|
49598
|
+
note?: string | null;
|
|
49599
|
+
purchase_order_item_id?: string;
|
|
49600
|
+
request_id?: string;
|
|
49601
|
+
updated_at?: string;
|
|
49602
|
+
};
|
|
49603
|
+
Relationships: [{
|
|
49604
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
49605
|
+
columns: ["purchase_order_item_id"];
|
|
49606
|
+
isOneToOne: false;
|
|
49607
|
+
referencedRelation: "purchase_order_items";
|
|
49608
|
+
referencedColumns: ["id"];
|
|
49609
|
+
}, {
|
|
49610
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
49611
|
+
columns: ["request_id"];
|
|
49612
|
+
isOneToOne: false;
|
|
49613
|
+
referencedRelation: "purchase_requests";
|
|
49614
|
+
referencedColumns: ["id"];
|
|
49615
|
+
}];
|
|
49616
|
+
};
|
|
49617
|
+
purchase_requests: {
|
|
49618
|
+
Row: {
|
|
49619
|
+
created_at: string;
|
|
49620
|
+
expires_at: string;
|
|
49621
|
+
first_viewed_at: string | null;
|
|
49622
|
+
id: string;
|
|
49623
|
+
processed_at: string | null;
|
|
49624
|
+
purchase_order_id: string;
|
|
49625
|
+
responded_at: string | null;
|
|
49626
|
+
sent_at: string;
|
|
49627
|
+
status: string;
|
|
49628
|
+
supplier_id: string | null;
|
|
49629
|
+
supplier_name: string;
|
|
49630
|
+
supplier_note: string | null;
|
|
49631
|
+
to_address: string | null;
|
|
49632
|
+
token_hash: string;
|
|
49633
|
+
updated_at: string;
|
|
49634
|
+
};
|
|
49635
|
+
Insert: {
|
|
49636
|
+
created_at?: string;
|
|
49637
|
+
expires_at?: string;
|
|
49638
|
+
first_viewed_at?: string | null;
|
|
49639
|
+
id?: string;
|
|
49640
|
+
processed_at?: string | null;
|
|
49641
|
+
purchase_order_id: string;
|
|
49642
|
+
responded_at?: string | null;
|
|
49643
|
+
sent_at?: string;
|
|
49644
|
+
status?: string;
|
|
49645
|
+
supplier_id?: string | null;
|
|
49646
|
+
supplier_name?: string;
|
|
49647
|
+
supplier_note?: string | null;
|
|
49648
|
+
to_address?: string | null;
|
|
49649
|
+
token_hash: string;
|
|
49650
|
+
updated_at?: string;
|
|
49651
|
+
};
|
|
49652
|
+
Update: {
|
|
49653
|
+
created_at?: string;
|
|
49654
|
+
expires_at?: string;
|
|
49655
|
+
first_viewed_at?: string | null;
|
|
49656
|
+
id?: string;
|
|
49657
|
+
processed_at?: string | null;
|
|
49658
|
+
purchase_order_id?: string;
|
|
49659
|
+
responded_at?: string | null;
|
|
49660
|
+
sent_at?: string;
|
|
49661
|
+
status?: string;
|
|
49662
|
+
supplier_id?: string | null;
|
|
49663
|
+
supplier_name?: string;
|
|
49664
|
+
supplier_note?: string | null;
|
|
49665
|
+
to_address?: string | null;
|
|
49666
|
+
token_hash?: string;
|
|
49667
|
+
updated_at?: string;
|
|
49668
|
+
};
|
|
49669
|
+
Relationships: [{
|
|
49670
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
49671
|
+
columns: ["purchase_order_id"];
|
|
49672
|
+
isOneToOne: false;
|
|
49673
|
+
referencedRelation: "purchase_orders";
|
|
49674
|
+
referencedColumns: ["id"];
|
|
49675
|
+
}, {
|
|
49676
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
49677
|
+
columns: ["supplier_id"];
|
|
49678
|
+
isOneToOne: false;
|
|
49679
|
+
referencedRelation: "suppliers";
|
|
49680
|
+
referencedColumns: ["id"];
|
|
49681
|
+
}];
|
|
49682
|
+
};
|
|
49095
49683
|
reception_notifications: {
|
|
49096
49684
|
Row: {
|
|
49097
49685
|
booking_id: string | null;
|
|
@@ -51255,6 +51843,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
51255
51843
|
auto_invoice_enabled: boolean;
|
|
51256
51844
|
auto_invoice_start_date: string | null;
|
|
51257
51845
|
auto_invoice_trigger_statuses: string[];
|
|
51846
|
+
auto_send_mode: string | null;
|
|
51258
51847
|
created_at: string;
|
|
51259
51848
|
debtor_gl_account: string;
|
|
51260
51849
|
default_article_code: string | null;
|
|
@@ -51283,6 +51872,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
51283
51872
|
auto_invoice_enabled?: boolean;
|
|
51284
51873
|
auto_invoice_start_date?: string | null;
|
|
51285
51874
|
auto_invoice_trigger_statuses?: string[];
|
|
51875
|
+
auto_send_mode?: string | null;
|
|
51286
51876
|
created_at?: string;
|
|
51287
51877
|
debtor_gl_account?: string;
|
|
51288
51878
|
default_article_code?: string | null;
|
|
@@ -51311,6 +51901,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
51311
51901
|
auto_invoice_enabled?: boolean;
|
|
51312
51902
|
auto_invoice_start_date?: string | null;
|
|
51313
51903
|
auto_invoice_trigger_statuses?: string[];
|
|
51904
|
+
auto_send_mode?: string | null;
|
|
51314
51905
|
created_at?: string;
|
|
51315
51906
|
debtor_gl_account?: string;
|
|
51316
51907
|
default_article_code?: string | null;
|
|
@@ -51754,16 +52345,19 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
51754
52345
|
Row: {
|
|
51755
52346
|
active_environment: string;
|
|
51756
52347
|
id: number;
|
|
52348
|
+
public_base_url: string | null;
|
|
51757
52349
|
updated_at: string;
|
|
51758
52350
|
};
|
|
51759
52351
|
Insert: {
|
|
51760
52352
|
active_environment?: string;
|
|
51761
52353
|
id?: number;
|
|
52354
|
+
public_base_url?: string | null;
|
|
51762
52355
|
updated_at?: string;
|
|
51763
52356
|
};
|
|
51764
52357
|
Update: {
|
|
51765
52358
|
active_environment?: string;
|
|
51766
52359
|
id?: number;
|
|
52360
|
+
public_base_url?: string | null;
|
|
51767
52361
|
updated_at?: string;
|
|
51768
52362
|
};
|
|
51769
52363
|
Relationships: [];
|
|
@@ -51994,11 +52588,15 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
51994
52588
|
monteur_id: string;
|
|
51995
52589
|
netto_verschil_minuten: number;
|
|
51996
52590
|
normaal_uitbetaald_minuten: number;
|
|
52591
|
+
omgezet_vakantie_minuten: number;
|
|
52592
|
+
overdracht_vorige_minuten: number;
|
|
51997
52593
|
overuren_minuten: number;
|
|
51998
52594
|
plus_minuten: number;
|
|
52595
|
+
rest_overuren_minuten: number;
|
|
51999
52596
|
status: string;
|
|
52000
52597
|
totaal_uitbetaald_minuten: number;
|
|
52001
52598
|
updated_at: string;
|
|
52599
|
+
vakantie_uren_bijgeschreven: number;
|
|
52002
52600
|
};
|
|
52003
52601
|
Insert: {
|
|
52004
52602
|
afgesloten_at?: string | null;
|
|
@@ -52015,11 +52613,15 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
52015
52613
|
monteur_id: string;
|
|
52016
52614
|
netto_verschil_minuten?: number;
|
|
52017
52615
|
normaal_uitbetaald_minuten?: number;
|
|
52616
|
+
omgezet_vakantie_minuten?: number;
|
|
52617
|
+
overdracht_vorige_minuten?: number;
|
|
52018
52618
|
overuren_minuten?: number;
|
|
52019
52619
|
plus_minuten?: number;
|
|
52620
|
+
rest_overuren_minuten?: number;
|
|
52020
52621
|
status?: string;
|
|
52021
52622
|
totaal_uitbetaald_minuten?: number;
|
|
52022
52623
|
updated_at?: string;
|
|
52624
|
+
vakantie_uren_bijgeschreven?: number;
|
|
52023
52625
|
};
|
|
52024
52626
|
Update: {
|
|
52025
52627
|
afgesloten_at?: string | null;
|
|
@@ -52036,11 +52638,15 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
52036
52638
|
monteur_id?: string;
|
|
52037
52639
|
netto_verschil_minuten?: number;
|
|
52038
52640
|
normaal_uitbetaald_minuten?: number;
|
|
52641
|
+
omgezet_vakantie_minuten?: number;
|
|
52642
|
+
overdracht_vorige_minuten?: number;
|
|
52039
52643
|
overuren_minuten?: number;
|
|
52040
52644
|
plus_minuten?: number;
|
|
52645
|
+
rest_overuren_minuten?: number;
|
|
52041
52646
|
status?: string;
|
|
52042
52647
|
totaal_uitbetaald_minuten?: number;
|
|
52043
52648
|
updated_at?: string;
|
|
52649
|
+
vakantie_uren_bijgeschreven?: number;
|
|
52044
52650
|
};
|
|
52045
52651
|
Relationships: [];
|
|
52046
52652
|
};
|
|
@@ -56529,12 +57135,57 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
56529
57135
|
};
|
|
56530
57136
|
Returns: import("../integrations/supabase/types").Json;
|
|
56531
57137
|
};
|
|
57138
|
+
inkoop_get_supplier_request: {
|
|
57139
|
+
Args: {
|
|
57140
|
+
_token: string;
|
|
57141
|
+
};
|
|
57142
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
57143
|
+
};
|
|
57144
|
+
inkoop_hash_token: {
|
|
57145
|
+
Args: {
|
|
57146
|
+
_token: string;
|
|
57147
|
+
};
|
|
57148
|
+
Returns: string;
|
|
57149
|
+
};
|
|
57150
|
+
inkoop_html_escape: {
|
|
57151
|
+
Args: {
|
|
57152
|
+
_t: string;
|
|
57153
|
+
};
|
|
57154
|
+
Returns: string;
|
|
57155
|
+
};
|
|
57156
|
+
inkoop_list_artikelen: {
|
|
57157
|
+
Args: never;
|
|
57158
|
+
Returns: {
|
|
57159
|
+
article_number: string;
|
|
57160
|
+
barcode: string;
|
|
57161
|
+
id: string;
|
|
57162
|
+
incoming_quantity: number;
|
|
57163
|
+
is_layer: boolean;
|
|
57164
|
+
location: string;
|
|
57165
|
+
min_quantity: number;
|
|
57166
|
+
preferred_supplier_name: string;
|
|
57167
|
+
product: string;
|
|
57168
|
+
product_type: string;
|
|
57169
|
+
purchase_price: number;
|
|
57170
|
+
quantity: number;
|
|
57171
|
+
sale_price: number;
|
|
57172
|
+
supplier_count: number;
|
|
57173
|
+
unit: string;
|
|
57174
|
+
}[];
|
|
57175
|
+
};
|
|
56532
57176
|
inkoop_next_order_number: {
|
|
56533
57177
|
Args: never;
|
|
56534
57178
|
Returns: string;
|
|
56535
57179
|
};
|
|
57180
|
+
inkoop_process_request: {
|
|
57181
|
+
Args: {
|
|
57182
|
+
_request_id: string;
|
|
57183
|
+
};
|
|
57184
|
+
Returns: undefined;
|
|
57185
|
+
};
|
|
56536
57186
|
inkoop_send_order: {
|
|
56537
57187
|
Args: {
|
|
57188
|
+
_base_url?: string;
|
|
56538
57189
|
_order_id: string;
|
|
56539
57190
|
};
|
|
56540
57191
|
Returns: {
|
|
@@ -56542,6 +57193,44 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
56542
57193
|
supplier_name: string;
|
|
56543
57194
|
to_address: string;
|
|
56544
57195
|
}[];
|
|
57196
|
+
} | {
|
|
57197
|
+
Args: {
|
|
57198
|
+
_base_url?: string;
|
|
57199
|
+
_order_id: string;
|
|
57200
|
+
_resend?: boolean;
|
|
57201
|
+
};
|
|
57202
|
+
Returns: {
|
|
57203
|
+
outbox_id: string;
|
|
57204
|
+
supplier_name: string;
|
|
57205
|
+
to_address: string;
|
|
57206
|
+
}[];
|
|
57207
|
+
};
|
|
57208
|
+
inkoop_set_preferred_supplier: {
|
|
57209
|
+
Args: {
|
|
57210
|
+
_product_id: string;
|
|
57211
|
+
_supplier_id: string;
|
|
57212
|
+
};
|
|
57213
|
+
Returns: undefined;
|
|
57214
|
+
};
|
|
57215
|
+
inkoop_stock_key: {
|
|
57216
|
+
Args: {
|
|
57217
|
+
p_product_id: string;
|
|
57218
|
+
};
|
|
57219
|
+
Returns: string;
|
|
57220
|
+
};
|
|
57221
|
+
inkoop_submit_supplier_response: {
|
|
57222
|
+
Args: {
|
|
57223
|
+
_lines: import("../integrations/supabase/types").Json;
|
|
57224
|
+
_note?: string;
|
|
57225
|
+
_token: string;
|
|
57226
|
+
};
|
|
57227
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
57228
|
+
};
|
|
57229
|
+
inkoop_sync_item_stock: {
|
|
57230
|
+
Args: {
|
|
57231
|
+
p_item_id: string;
|
|
57232
|
+
};
|
|
57233
|
+
Returns: undefined;
|
|
56545
57234
|
};
|
|
56546
57235
|
instructie_get: {
|
|
56547
57236
|
Args: {
|
|
@@ -57814,6 +58503,12 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
57814
58503
|
Args: never;
|
|
57815
58504
|
Returns: string;
|
|
57816
58505
|
};
|
|
58506
|
+
logistics_order_backlog_info: {
|
|
58507
|
+
Args: {
|
|
58508
|
+
p_order_id: string;
|
|
58509
|
+
};
|
|
58510
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
58511
|
+
};
|
|
57817
58512
|
logistics_order_cart_approval: {
|
|
57818
58513
|
Args: {
|
|
57819
58514
|
_order_ref: string;
|
|
@@ -57904,6 +58599,12 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
57904
58599
|
};
|
|
57905
58600
|
Returns: boolean;
|
|
57906
58601
|
};
|
|
58602
|
+
logistics_order_is_backlog: {
|
|
58603
|
+
Args: {
|
|
58604
|
+
p_order_id: string;
|
|
58605
|
+
};
|
|
58606
|
+
Returns: boolean;
|
|
58607
|
+
};
|
|
57907
58608
|
logistics_order_is_topick: {
|
|
57908
58609
|
Args: {
|
|
57909
58610
|
p_order_id: string;
|
|
@@ -58045,6 +58746,10 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
58045
58746
|
shifted_count: number;
|
|
58046
58747
|
}[];
|
|
58047
58748
|
};
|
|
58749
|
+
logistics_pick_backlog_max_days: {
|
|
58750
|
+
Args: never;
|
|
58751
|
+
Returns: number;
|
|
58752
|
+
};
|
|
58048
58753
|
logistics_pick_barcode_enabled: {
|
|
58049
58754
|
Args: never;
|
|
58050
58755
|
Returns: boolean;
|
|
@@ -58660,12 +59365,27 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
|
|
|
58660
59365
|
Args: never;
|
|
58661
59366
|
Returns: import("../integrations/supabase/types").Json;
|
|
58662
59367
|
};
|
|
59368
|
+
logistics_sync_pick_queue_backlog: {
|
|
59369
|
+
Args: never;
|
|
59370
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59371
|
+
};
|
|
59372
|
+
logistics_sync_pick_queue_core: {
|
|
59373
|
+
Args: never;
|
|
59374
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59375
|
+
};
|
|
58663
59376
|
logistics_sync_task_carriers: {
|
|
58664
59377
|
Args: {
|
|
58665
59378
|
p_order_ref?: string;
|
|
58666
59379
|
};
|
|
58667
59380
|
Returns: number;
|
|
58668
59381
|
};
|
|
59382
|
+
logistics_task_open_counts: {
|
|
59383
|
+
Args: never;
|
|
59384
|
+
Returns: {
|
|
59385
|
+
open_count: number;
|
|
59386
|
+
owner_module: string;
|
|
59387
|
+
}[];
|
|
59388
|
+
};
|
|
58669
59389
|
logistics_task_owner: {
|
|
58670
59390
|
Args: {
|
|
58671
59391
|
p_task_type: string;
|