@flowselections/floriday-verkoop-module 1.0.48 → 1.0.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/verkoop/OrderKarindelingCard.d.ts.map +1 -1
- package/dist-lib/components/verkoop/OrderKarindelingCard.js +5 -1
- package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrderDetailView.js +6 -4
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +63 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +63 -1
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +63 -1
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +66 -1
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/cart-lock.functions.d.ts +63 -1
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-planner.d.ts +15 -4
- package/dist-lib/lib/cart-planner.d.ts.map +1 -1
- package/dist-lib/lib/cart-planner.js +44 -12
- package/dist-lib/lib/cart-planning-settings.functions.d.ts +693 -11
- package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +201 -3
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.js +49 -3
- package/dist-lib/lib/create-order.functions.d.ts +1076 -17
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.js +48 -4
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +189 -3
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +63 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.d.ts +63 -1
- package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.js +11 -0
- package/dist-lib/lib/floriday-public.functions.d.ts +441 -7
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +315 -5
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/invoice-timing.functions.d.ts +252 -4
- package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
- package/dist-lib/lib/load-carrier-labels.d.ts +13 -0
- package/dist-lib/lib/load-carrier-labels.d.ts.map +1 -1
- package/dist-lib/lib/load-carrier-labels.js +20 -0
- package/dist-lib/lib/load-carriers.functions.d.ts +63 -1
- package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-engine.functions.d.ts +315 -5
- package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-stock.functions.d.ts +126 -2
- package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-addresses.functions.d.ts +63 -1
- package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-buffers.functions.d.ts +189 -3
- package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-carrier.functions.d.ts +126 -2
- package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-pickup.functions.d.ts +126 -2
- package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-shipments.functions.d.ts +252 -4
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.functions.d.ts +63 -1
- package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.server.js +70 -4
- package/dist-lib/lib/salesorders-mapping.d.ts +17 -0
- package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-mapping.js +64 -13
- package/dist-lib/lib/salesorders.functions.d.ts +315 -5
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.js +19 -3
- package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +126 -2
- package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
- package/dist-lib/lib/tradeitems.functions.d.ts +63 -1
- package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -18620,6 +18620,7 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
18620
18620
|
werkbon_package_items: {
|
|
18621
18621
|
Row: {
|
|
18622
18622
|
article_number: string | null;
|
|
18623
|
+
artikel_id: string | null;
|
|
18623
18624
|
created_at: string;
|
|
18624
18625
|
gtin: string | null;
|
|
18625
18626
|
id: string;
|
|
@@ -18637,6 +18638,7 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
18637
18638
|
};
|
|
18638
18639
|
Insert: {
|
|
18639
18640
|
article_number?: string | null;
|
|
18641
|
+
artikel_id?: string | null;
|
|
18640
18642
|
created_at?: string;
|
|
18641
18643
|
gtin?: string | null;
|
|
18642
18644
|
id?: string;
|
|
@@ -18654,6 +18656,7 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
18654
18656
|
};
|
|
18655
18657
|
Update: {
|
|
18656
18658
|
article_number?: string | null;
|
|
18659
|
+
artikel_id?: string | null;
|
|
18657
18660
|
created_at?: string;
|
|
18658
18661
|
gtin?: string | null;
|
|
18659
18662
|
id?: string;
|
|
@@ -18670,6 +18673,12 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
18670
18673
|
updated_at?: string;
|
|
18671
18674
|
};
|
|
18672
18675
|
Relationships: [{
|
|
18676
|
+
foreignKeyName: "werkbon_package_items_artikel_id_fkey";
|
|
18677
|
+
columns: ["artikel_id"];
|
|
18678
|
+
isOneToOne: false;
|
|
18679
|
+
referencedRelation: "artikelen_cache";
|
|
18680
|
+
referencedColumns: ["id"];
|
|
18681
|
+
}, {
|
|
18673
18682
|
foreignKeyName: "werkbon_package_items_package_id_fkey";
|
|
18674
18683
|
columns: ["package_id"];
|
|
18675
18684
|
isOneToOne: false;
|
|
@@ -19892,6 +19901,20 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
19892
19901
|
referencedColumns: ["id"];
|
|
19893
19902
|
}];
|
|
19894
19903
|
};
|
|
19904
|
+
v_werkbon_totalen: {
|
|
19905
|
+
Row: {
|
|
19906
|
+
packages_cents: number | null;
|
|
19907
|
+
packages_minutes: number | null;
|
|
19908
|
+
werkbon_id: string | null;
|
|
19909
|
+
};
|
|
19910
|
+
Relationships: [{
|
|
19911
|
+
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
19912
|
+
columns: ["werkbon_id"];
|
|
19913
|
+
isOneToOne: false;
|
|
19914
|
+
referencedRelation: "werkbonnen";
|
|
19915
|
+
referencedColumns: ["id"];
|
|
19916
|
+
}];
|
|
19917
|
+
};
|
|
19895
19918
|
};
|
|
19896
19919
|
Functions: {
|
|
19897
19920
|
_floriday_schedule_job: {
|
|
@@ -21439,6 +21462,14 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
21439
21462
|
};
|
|
21440
21463
|
Returns: import("../integrations/supabase/types").Json;
|
|
21441
21464
|
};
|
|
21465
|
+
logistics_plan_block: {
|
|
21466
|
+
Args: {
|
|
21467
|
+
p_details?: import("../integrations/supabase/types").Json;
|
|
21468
|
+
p_order_ids: string[];
|
|
21469
|
+
p_reason: string;
|
|
21470
|
+
};
|
|
21471
|
+
Returns: number;
|
|
21472
|
+
};
|
|
21442
21473
|
logistics_plan_buffer_sql: {
|
|
21443
21474
|
Args: {
|
|
21444
21475
|
p_buffer_id: string;
|
|
@@ -21820,6 +21851,25 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
21820
21851
|
};
|
|
21821
21852
|
Returns: string;
|
|
21822
21853
|
};
|
|
21854
|
+
pakket_suggesties_voor_tekst: {
|
|
21855
|
+
Args: {
|
|
21856
|
+
_tekst: string;
|
|
21857
|
+
};
|
|
21858
|
+
Returns: {
|
|
21859
|
+
hit_type: string;
|
|
21860
|
+
package_id: string;
|
|
21861
|
+
priority: number;
|
|
21862
|
+
}[];
|
|
21863
|
+
};
|
|
21864
|
+
pakket_voor_reistijd: {
|
|
21865
|
+
Args: {
|
|
21866
|
+
_minuten: number;
|
|
21867
|
+
};
|
|
21868
|
+
Returns: {
|
|
21869
|
+
package_id: string;
|
|
21870
|
+
priority: number;
|
|
21871
|
+
}[];
|
|
21872
|
+
};
|
|
21823
21873
|
pick_active_printers: {
|
|
21824
21874
|
Args: never;
|
|
21825
21875
|
Returns: {
|
|
@@ -22870,6 +22920,18 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
22870
22920
|
Args: never;
|
|
22871
22921
|
Returns: string;
|
|
22872
22922
|
};
|
|
22923
|
+
werkbon_totalen: {
|
|
22924
|
+
Args: {
|
|
22925
|
+
_werkbon_id: string;
|
|
22926
|
+
};
|
|
22927
|
+
Returns: {
|
|
22928
|
+
materials_cents: number;
|
|
22929
|
+
packages_cents: number;
|
|
22930
|
+
packages_minutes: number;
|
|
22931
|
+
total_cents: number;
|
|
22932
|
+
total_minutes: number;
|
|
22933
|
+
}[];
|
|
22934
|
+
};
|
|
22873
22935
|
wo_create_from_source: {
|
|
22874
22936
|
Args: {
|
|
22875
22937
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -22908,7 +22970,7 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
22908
22970
|
};
|
|
22909
22971
|
CompositeTypes: { [_ in never]: never; };
|
|
22910
22972
|
}, {
|
|
22911
|
-
PostgrestVersion: "14.
|
|
22973
|
+
PostgrestVersion: "14.17";
|
|
22912
22974
|
}>;
|
|
22913
22975
|
userId: string;
|
|
22914
22976
|
claims: import("@supabase/auth-js").User;
|
|
@@ -41534,6 +41596,7 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
41534
41596
|
werkbon_package_items: {
|
|
41535
41597
|
Row: {
|
|
41536
41598
|
article_number: string | null;
|
|
41599
|
+
artikel_id: string | null;
|
|
41537
41600
|
created_at: string;
|
|
41538
41601
|
gtin: string | null;
|
|
41539
41602
|
id: string;
|
|
@@ -41551,6 +41614,7 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
41551
41614
|
};
|
|
41552
41615
|
Insert: {
|
|
41553
41616
|
article_number?: string | null;
|
|
41617
|
+
artikel_id?: string | null;
|
|
41554
41618
|
created_at?: string;
|
|
41555
41619
|
gtin?: string | null;
|
|
41556
41620
|
id?: string;
|
|
@@ -41568,6 +41632,7 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
41568
41632
|
};
|
|
41569
41633
|
Update: {
|
|
41570
41634
|
article_number?: string | null;
|
|
41635
|
+
artikel_id?: string | null;
|
|
41571
41636
|
created_at?: string;
|
|
41572
41637
|
gtin?: string | null;
|
|
41573
41638
|
id?: string;
|
|
@@ -41584,6 +41649,12 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
41584
41649
|
updated_at?: string;
|
|
41585
41650
|
};
|
|
41586
41651
|
Relationships: [{
|
|
41652
|
+
foreignKeyName: "werkbon_package_items_artikel_id_fkey";
|
|
41653
|
+
columns: ["artikel_id"];
|
|
41654
|
+
isOneToOne: false;
|
|
41655
|
+
referencedRelation: "artikelen_cache";
|
|
41656
|
+
referencedColumns: ["id"];
|
|
41657
|
+
}, {
|
|
41587
41658
|
foreignKeyName: "werkbon_package_items_package_id_fkey";
|
|
41588
41659
|
columns: ["package_id"];
|
|
41589
41660
|
isOneToOne: false;
|
|
@@ -42806,6 +42877,20 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
42806
42877
|
referencedColumns: ["id"];
|
|
42807
42878
|
}];
|
|
42808
42879
|
};
|
|
42880
|
+
v_werkbon_totalen: {
|
|
42881
|
+
Row: {
|
|
42882
|
+
packages_cents: number | null;
|
|
42883
|
+
packages_minutes: number | null;
|
|
42884
|
+
werkbon_id: string | null;
|
|
42885
|
+
};
|
|
42886
|
+
Relationships: [{
|
|
42887
|
+
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
42888
|
+
columns: ["werkbon_id"];
|
|
42889
|
+
isOneToOne: false;
|
|
42890
|
+
referencedRelation: "werkbonnen";
|
|
42891
|
+
referencedColumns: ["id"];
|
|
42892
|
+
}];
|
|
42893
|
+
};
|
|
42809
42894
|
};
|
|
42810
42895
|
Functions: {
|
|
42811
42896
|
_floriday_schedule_job: {
|
|
@@ -44353,6 +44438,14 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
44353
44438
|
};
|
|
44354
44439
|
Returns: import("../integrations/supabase/types").Json;
|
|
44355
44440
|
};
|
|
44441
|
+
logistics_plan_block: {
|
|
44442
|
+
Args: {
|
|
44443
|
+
p_details?: import("../integrations/supabase/types").Json;
|
|
44444
|
+
p_order_ids: string[];
|
|
44445
|
+
p_reason: string;
|
|
44446
|
+
};
|
|
44447
|
+
Returns: number;
|
|
44448
|
+
};
|
|
44356
44449
|
logistics_plan_buffer_sql: {
|
|
44357
44450
|
Args: {
|
|
44358
44451
|
p_buffer_id: string;
|
|
@@ -44734,6 +44827,25 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
44734
44827
|
};
|
|
44735
44828
|
Returns: string;
|
|
44736
44829
|
};
|
|
44830
|
+
pakket_suggesties_voor_tekst: {
|
|
44831
|
+
Args: {
|
|
44832
|
+
_tekst: string;
|
|
44833
|
+
};
|
|
44834
|
+
Returns: {
|
|
44835
|
+
hit_type: string;
|
|
44836
|
+
package_id: string;
|
|
44837
|
+
priority: number;
|
|
44838
|
+
}[];
|
|
44839
|
+
};
|
|
44840
|
+
pakket_voor_reistijd: {
|
|
44841
|
+
Args: {
|
|
44842
|
+
_minuten: number;
|
|
44843
|
+
};
|
|
44844
|
+
Returns: {
|
|
44845
|
+
package_id: string;
|
|
44846
|
+
priority: number;
|
|
44847
|
+
}[];
|
|
44848
|
+
};
|
|
44737
44849
|
pick_active_printers: {
|
|
44738
44850
|
Args: never;
|
|
44739
44851
|
Returns: {
|
|
@@ -45784,6 +45896,18 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
45784
45896
|
Args: never;
|
|
45785
45897
|
Returns: string;
|
|
45786
45898
|
};
|
|
45899
|
+
werkbon_totalen: {
|
|
45900
|
+
Args: {
|
|
45901
|
+
_werkbon_id: string;
|
|
45902
|
+
};
|
|
45903
|
+
Returns: {
|
|
45904
|
+
materials_cents: number;
|
|
45905
|
+
packages_cents: number;
|
|
45906
|
+
packages_minutes: number;
|
|
45907
|
+
total_cents: number;
|
|
45908
|
+
total_minutes: number;
|
|
45909
|
+
}[];
|
|
45910
|
+
};
|
|
45787
45911
|
wo_create_from_source: {
|
|
45788
45912
|
Args: {
|
|
45789
45913
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -45822,7 +45946,7 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
45822
45946
|
};
|
|
45823
45947
|
CompositeTypes: { [_ in never]: never; };
|
|
45824
45948
|
}, {
|
|
45825
|
-
PostgrestVersion: "14.
|
|
45949
|
+
PostgrestVersion: "14.17";
|
|
45826
45950
|
}>;
|
|
45827
45951
|
userId: string;
|
|
45828
45952
|
claims: import("@supabase/auth-js").User;
|
|
@@ -64461,6 +64585,7 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
64461
64585
|
werkbon_package_items: {
|
|
64462
64586
|
Row: {
|
|
64463
64587
|
article_number: string | null;
|
|
64588
|
+
artikel_id: string | null;
|
|
64464
64589
|
created_at: string;
|
|
64465
64590
|
gtin: string | null;
|
|
64466
64591
|
id: string;
|
|
@@ -64478,6 +64603,7 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
64478
64603
|
};
|
|
64479
64604
|
Insert: {
|
|
64480
64605
|
article_number?: string | null;
|
|
64606
|
+
artikel_id?: string | null;
|
|
64481
64607
|
created_at?: string;
|
|
64482
64608
|
gtin?: string | null;
|
|
64483
64609
|
id?: string;
|
|
@@ -64495,6 +64621,7 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
64495
64621
|
};
|
|
64496
64622
|
Update: {
|
|
64497
64623
|
article_number?: string | null;
|
|
64624
|
+
artikel_id?: string | null;
|
|
64498
64625
|
created_at?: string;
|
|
64499
64626
|
gtin?: string | null;
|
|
64500
64627
|
id?: string;
|
|
@@ -64511,6 +64638,12 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
64511
64638
|
updated_at?: string;
|
|
64512
64639
|
};
|
|
64513
64640
|
Relationships: [{
|
|
64641
|
+
foreignKeyName: "werkbon_package_items_artikel_id_fkey";
|
|
64642
|
+
columns: ["artikel_id"];
|
|
64643
|
+
isOneToOne: false;
|
|
64644
|
+
referencedRelation: "artikelen_cache";
|
|
64645
|
+
referencedColumns: ["id"];
|
|
64646
|
+
}, {
|
|
64514
64647
|
foreignKeyName: "werkbon_package_items_package_id_fkey";
|
|
64515
64648
|
columns: ["package_id"];
|
|
64516
64649
|
isOneToOne: false;
|
|
@@ -65733,6 +65866,20 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
65733
65866
|
referencedColumns: ["id"];
|
|
65734
65867
|
}];
|
|
65735
65868
|
};
|
|
65869
|
+
v_werkbon_totalen: {
|
|
65870
|
+
Row: {
|
|
65871
|
+
packages_cents: number | null;
|
|
65872
|
+
packages_minutes: number | null;
|
|
65873
|
+
werkbon_id: string | null;
|
|
65874
|
+
};
|
|
65875
|
+
Relationships: [{
|
|
65876
|
+
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
65877
|
+
columns: ["werkbon_id"];
|
|
65878
|
+
isOneToOne: false;
|
|
65879
|
+
referencedRelation: "werkbonnen";
|
|
65880
|
+
referencedColumns: ["id"];
|
|
65881
|
+
}];
|
|
65882
|
+
};
|
|
65736
65883
|
};
|
|
65737
65884
|
Functions: {
|
|
65738
65885
|
_floriday_schedule_job: {
|
|
@@ -67280,6 +67427,14 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
67280
67427
|
};
|
|
67281
67428
|
Returns: import("../integrations/supabase/types").Json;
|
|
67282
67429
|
};
|
|
67430
|
+
logistics_plan_block: {
|
|
67431
|
+
Args: {
|
|
67432
|
+
p_details?: import("../integrations/supabase/types").Json;
|
|
67433
|
+
p_order_ids: string[];
|
|
67434
|
+
p_reason: string;
|
|
67435
|
+
};
|
|
67436
|
+
Returns: number;
|
|
67437
|
+
};
|
|
67283
67438
|
logistics_plan_buffer_sql: {
|
|
67284
67439
|
Args: {
|
|
67285
67440
|
p_buffer_id: string;
|
|
@@ -67661,6 +67816,25 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
67661
67816
|
};
|
|
67662
67817
|
Returns: string;
|
|
67663
67818
|
};
|
|
67819
|
+
pakket_suggesties_voor_tekst: {
|
|
67820
|
+
Args: {
|
|
67821
|
+
_tekst: string;
|
|
67822
|
+
};
|
|
67823
|
+
Returns: {
|
|
67824
|
+
hit_type: string;
|
|
67825
|
+
package_id: string;
|
|
67826
|
+
priority: number;
|
|
67827
|
+
}[];
|
|
67828
|
+
};
|
|
67829
|
+
pakket_voor_reistijd: {
|
|
67830
|
+
Args: {
|
|
67831
|
+
_minuten: number;
|
|
67832
|
+
};
|
|
67833
|
+
Returns: {
|
|
67834
|
+
package_id: string;
|
|
67835
|
+
priority: number;
|
|
67836
|
+
}[];
|
|
67837
|
+
};
|
|
67664
67838
|
pick_active_printers: {
|
|
67665
67839
|
Args: never;
|
|
67666
67840
|
Returns: {
|
|
@@ -68711,6 +68885,18 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
68711
68885
|
Args: never;
|
|
68712
68886
|
Returns: string;
|
|
68713
68887
|
};
|
|
68888
|
+
werkbon_totalen: {
|
|
68889
|
+
Args: {
|
|
68890
|
+
_werkbon_id: string;
|
|
68891
|
+
};
|
|
68892
|
+
Returns: {
|
|
68893
|
+
materials_cents: number;
|
|
68894
|
+
packages_cents: number;
|
|
68895
|
+
packages_minutes: number;
|
|
68896
|
+
total_cents: number;
|
|
68897
|
+
total_minutes: number;
|
|
68898
|
+
}[];
|
|
68899
|
+
};
|
|
68714
68900
|
wo_create_from_source: {
|
|
68715
68901
|
Args: {
|
|
68716
68902
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -68749,7 +68935,7 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
68749
68935
|
};
|
|
68750
68936
|
CompositeTypes: { [_ in never]: never; };
|
|
68751
68937
|
}, {
|
|
68752
|
-
PostgrestVersion: "14.
|
|
68938
|
+
PostgrestVersion: "14.17";
|
|
68753
68939
|
}>;
|
|
68754
68940
|
userId: string;
|
|
68755
68941
|
claims: import("@supabase/auth-js").User;
|
|
@@ -87379,6 +87565,7 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
87379
87565
|
werkbon_package_items: {
|
|
87380
87566
|
Row: {
|
|
87381
87567
|
article_number: string | null;
|
|
87568
|
+
artikel_id: string | null;
|
|
87382
87569
|
created_at: string;
|
|
87383
87570
|
gtin: string | null;
|
|
87384
87571
|
id: string;
|
|
@@ -87396,6 +87583,7 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
87396
87583
|
};
|
|
87397
87584
|
Insert: {
|
|
87398
87585
|
article_number?: string | null;
|
|
87586
|
+
artikel_id?: string | null;
|
|
87399
87587
|
created_at?: string;
|
|
87400
87588
|
gtin?: string | null;
|
|
87401
87589
|
id?: string;
|
|
@@ -87413,6 +87601,7 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
87413
87601
|
};
|
|
87414
87602
|
Update: {
|
|
87415
87603
|
article_number?: string | null;
|
|
87604
|
+
artikel_id?: string | null;
|
|
87416
87605
|
created_at?: string;
|
|
87417
87606
|
gtin?: string | null;
|
|
87418
87607
|
id?: string;
|
|
@@ -87429,6 +87618,12 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
87429
87618
|
updated_at?: string;
|
|
87430
87619
|
};
|
|
87431
87620
|
Relationships: [{
|
|
87621
|
+
foreignKeyName: "werkbon_package_items_artikel_id_fkey";
|
|
87622
|
+
columns: ["artikel_id"];
|
|
87623
|
+
isOneToOne: false;
|
|
87624
|
+
referencedRelation: "artikelen_cache";
|
|
87625
|
+
referencedColumns: ["id"];
|
|
87626
|
+
}, {
|
|
87432
87627
|
foreignKeyName: "werkbon_package_items_package_id_fkey";
|
|
87433
87628
|
columns: ["package_id"];
|
|
87434
87629
|
isOneToOne: false;
|
|
@@ -88651,6 +88846,20 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
88651
88846
|
referencedColumns: ["id"];
|
|
88652
88847
|
}];
|
|
88653
88848
|
};
|
|
88849
|
+
v_werkbon_totalen: {
|
|
88850
|
+
Row: {
|
|
88851
|
+
packages_cents: number | null;
|
|
88852
|
+
packages_minutes: number | null;
|
|
88853
|
+
werkbon_id: string | null;
|
|
88854
|
+
};
|
|
88855
|
+
Relationships: [{
|
|
88856
|
+
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
88857
|
+
columns: ["werkbon_id"];
|
|
88858
|
+
isOneToOne: false;
|
|
88859
|
+
referencedRelation: "werkbonnen";
|
|
88860
|
+
referencedColumns: ["id"];
|
|
88861
|
+
}];
|
|
88862
|
+
};
|
|
88654
88863
|
};
|
|
88655
88864
|
Functions: {
|
|
88656
88865
|
_floriday_schedule_job: {
|
|
@@ -90198,6 +90407,14 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
90198
90407
|
};
|
|
90199
90408
|
Returns: import("../integrations/supabase/types").Json;
|
|
90200
90409
|
};
|
|
90410
|
+
logistics_plan_block: {
|
|
90411
|
+
Args: {
|
|
90412
|
+
p_details?: import("../integrations/supabase/types").Json;
|
|
90413
|
+
p_order_ids: string[];
|
|
90414
|
+
p_reason: string;
|
|
90415
|
+
};
|
|
90416
|
+
Returns: number;
|
|
90417
|
+
};
|
|
90201
90418
|
logistics_plan_buffer_sql: {
|
|
90202
90419
|
Args: {
|
|
90203
90420
|
p_buffer_id: string;
|
|
@@ -90579,6 +90796,25 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
90579
90796
|
};
|
|
90580
90797
|
Returns: string;
|
|
90581
90798
|
};
|
|
90799
|
+
pakket_suggesties_voor_tekst: {
|
|
90800
|
+
Args: {
|
|
90801
|
+
_tekst: string;
|
|
90802
|
+
};
|
|
90803
|
+
Returns: {
|
|
90804
|
+
hit_type: string;
|
|
90805
|
+
package_id: string;
|
|
90806
|
+
priority: number;
|
|
90807
|
+
}[];
|
|
90808
|
+
};
|
|
90809
|
+
pakket_voor_reistijd: {
|
|
90810
|
+
Args: {
|
|
90811
|
+
_minuten: number;
|
|
90812
|
+
};
|
|
90813
|
+
Returns: {
|
|
90814
|
+
package_id: string;
|
|
90815
|
+
priority: number;
|
|
90816
|
+
}[];
|
|
90817
|
+
};
|
|
90582
90818
|
pick_active_printers: {
|
|
90583
90819
|
Args: never;
|
|
90584
90820
|
Returns: {
|
|
@@ -91629,6 +91865,18 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
91629
91865
|
Args: never;
|
|
91630
91866
|
Returns: string;
|
|
91631
91867
|
};
|
|
91868
|
+
werkbon_totalen: {
|
|
91869
|
+
Args: {
|
|
91870
|
+
_werkbon_id: string;
|
|
91871
|
+
};
|
|
91872
|
+
Returns: {
|
|
91873
|
+
materials_cents: number;
|
|
91874
|
+
packages_cents: number;
|
|
91875
|
+
packages_minutes: number;
|
|
91876
|
+
total_cents: number;
|
|
91877
|
+
total_minutes: number;
|
|
91878
|
+
}[];
|
|
91879
|
+
};
|
|
91632
91880
|
wo_create_from_source: {
|
|
91633
91881
|
Args: {
|
|
91634
91882
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -91667,7 +91915,7 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
91667
91915
|
};
|
|
91668
91916
|
CompositeTypes: { [_ in never]: never; };
|
|
91669
91917
|
}, {
|
|
91670
|
-
PostgrestVersion: "14.
|
|
91918
|
+
PostgrestVersion: "14.17";
|
|
91671
91919
|
}>;
|
|
91672
91920
|
userId: string;
|
|
91673
91921
|
claims: import("@supabase/auth-js").User;
|