@flowselections/floriday-verkoop-module 1.0.65 → 1.0.67
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/integrations/supabase/auth-middleware.d.ts +513 -3
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +513 -3
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +527 -3
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/buffer-events.functions.d.ts +513 -3
- package/dist-lib/lib/buffer-events.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-layers.functions.d.ts +2052 -12
- package/dist-lib/lib/cart-layers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-lock.functions.d.ts +513 -3
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-planning-settings.functions.d.ts +5643 -33
- package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +1539 -9
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.d.ts +8721 -51
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +1026 -6
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.d.ts +513 -3
- package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +3591 -21
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +1026 -6
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/invoice-timing.functions.d.ts +2052 -12
- package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
- package/dist-lib/lib/load-carriers.functions.d.ts +513 -3
- package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-engine.functions.d.ts +2565 -15
- package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-stock.functions.d.ts +1026 -6
- package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-addresses.functions.d.ts +513 -3
- package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-buffers.functions.d.ts +1026 -6
- package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-carrier.functions.d.ts +1026 -6
- package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-fulfill.functions.d.ts +513 -3
- package/dist-lib/lib/order-fulfill.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-item-packing.functions.d.ts +1539 -9
- package/dist-lib/lib/order-item-packing.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-pickup.functions.d.ts +1026 -6
- package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-shipments.functions.d.ts +2052 -12
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
- package/dist-lib/lib/product-dimensions.functions.d.ts +1026 -6
- package/dist-lib/lib/product-dimensions.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.functions.d.ts +1026 -6
- package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.d.ts +3078 -18
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +1026 -6
- package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -752,6 +752,27 @@ export type Database = {
|
|
|
752
752
|
};
|
|
753
753
|
Relationships: [];
|
|
754
754
|
};
|
|
755
|
+
artikelen_instellingen: {
|
|
756
|
+
Row: {
|
|
757
|
+
created_at: string;
|
|
758
|
+
id: number;
|
|
759
|
+
marge_procent: number;
|
|
760
|
+
updated_at: string;
|
|
761
|
+
};
|
|
762
|
+
Insert: {
|
|
763
|
+
created_at?: string;
|
|
764
|
+
id?: number;
|
|
765
|
+
marge_procent?: number;
|
|
766
|
+
updated_at?: string;
|
|
767
|
+
};
|
|
768
|
+
Update: {
|
|
769
|
+
created_at?: string;
|
|
770
|
+
id?: number;
|
|
771
|
+
marge_procent?: number;
|
|
772
|
+
updated_at?: string;
|
|
773
|
+
};
|
|
774
|
+
Relationships: [];
|
|
775
|
+
};
|
|
755
776
|
artikelen_veldconfig: {
|
|
756
777
|
Row: {
|
|
757
778
|
bron_pad: string;
|
|
@@ -10677,6 +10698,30 @@ export type Database = {
|
|
|
10677
10698
|
};
|
|
10678
10699
|
Relationships: [];
|
|
10679
10700
|
};
|
|
10701
|
+
logistics_cart_barcode_archief: {
|
|
10702
|
+
Row: {
|
|
10703
|
+
barcode: string;
|
|
10704
|
+
cart_id: string;
|
|
10705
|
+
created_at: string | null;
|
|
10706
|
+
gearchiveerd_op: string;
|
|
10707
|
+
order_id: string | null;
|
|
10708
|
+
};
|
|
10709
|
+
Insert: {
|
|
10710
|
+
barcode: string;
|
|
10711
|
+
cart_id: string;
|
|
10712
|
+
created_at?: string | null;
|
|
10713
|
+
gearchiveerd_op?: string;
|
|
10714
|
+
order_id?: string | null;
|
|
10715
|
+
};
|
|
10716
|
+
Update: {
|
|
10717
|
+
barcode?: string;
|
|
10718
|
+
cart_id?: string;
|
|
10719
|
+
created_at?: string | null;
|
|
10720
|
+
gearchiveerd_op?: string;
|
|
10721
|
+
order_id?: string | null;
|
|
10722
|
+
};
|
|
10723
|
+
Relationships: [];
|
|
10724
|
+
};
|
|
10680
10725
|
logistics_control_scan: {
|
|
10681
10726
|
Row: {
|
|
10682
10727
|
approved_at: string | null;
|
|
@@ -16461,18 +16506,24 @@ export type Database = {
|
|
|
16461
16506
|
Row: {
|
|
16462
16507
|
id: boolean;
|
|
16463
16508
|
last_cleanup_at: string | null;
|
|
16509
|
+
last_error: string | null;
|
|
16510
|
+
last_error_at: string | null;
|
|
16464
16511
|
last_sync_at: string | null;
|
|
16465
16512
|
updated_at: string;
|
|
16466
16513
|
};
|
|
16467
16514
|
Insert: {
|
|
16468
16515
|
id?: boolean;
|
|
16469
16516
|
last_cleanup_at?: string | null;
|
|
16517
|
+
last_error?: string | null;
|
|
16518
|
+
last_error_at?: string | null;
|
|
16470
16519
|
last_sync_at?: string | null;
|
|
16471
16520
|
updated_at?: string;
|
|
16472
16521
|
};
|
|
16473
16522
|
Update: {
|
|
16474
16523
|
id?: boolean;
|
|
16475
16524
|
last_cleanup_at?: string | null;
|
|
16525
|
+
last_error?: string | null;
|
|
16526
|
+
last_error_at?: string | null;
|
|
16476
16527
|
last_sync_at?: string | null;
|
|
16477
16528
|
updated_at?: string;
|
|
16478
16529
|
};
|
|
@@ -16601,6 +16652,57 @@ export type Database = {
|
|
|
16601
16652
|
};
|
|
16602
16653
|
Relationships: [];
|
|
16603
16654
|
};
|
|
16655
|
+
planning_confirmation_log: {
|
|
16656
|
+
Row: {
|
|
16657
|
+
created_at: string;
|
|
16658
|
+
end_at: string;
|
|
16659
|
+
id: string;
|
|
16660
|
+
outbox_id: string | null;
|
|
16661
|
+
planning_item_id: string;
|
|
16662
|
+
reason: string | null;
|
|
16663
|
+
recipient: string | null;
|
|
16664
|
+
start_at: string;
|
|
16665
|
+
status: string;
|
|
16666
|
+
};
|
|
16667
|
+
Insert: {
|
|
16668
|
+
created_at?: string;
|
|
16669
|
+
end_at: string;
|
|
16670
|
+
id?: string;
|
|
16671
|
+
outbox_id?: string | null;
|
|
16672
|
+
planning_item_id: string;
|
|
16673
|
+
reason?: string | null;
|
|
16674
|
+
recipient?: string | null;
|
|
16675
|
+
start_at: string;
|
|
16676
|
+
status: string;
|
|
16677
|
+
};
|
|
16678
|
+
Update: {
|
|
16679
|
+
created_at?: string;
|
|
16680
|
+
end_at?: string;
|
|
16681
|
+
id?: string;
|
|
16682
|
+
outbox_id?: string | null;
|
|
16683
|
+
planning_item_id?: string;
|
|
16684
|
+
reason?: string | null;
|
|
16685
|
+
recipient?: string | null;
|
|
16686
|
+
start_at?: string;
|
|
16687
|
+
status?: string;
|
|
16688
|
+
};
|
|
16689
|
+
Relationships: [
|
|
16690
|
+
{
|
|
16691
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
16692
|
+
columns: ["planning_item_id"];
|
|
16693
|
+
isOneToOne: false;
|
|
16694
|
+
referencedRelation: "planning_items";
|
|
16695
|
+
referencedColumns: ["id"];
|
|
16696
|
+
},
|
|
16697
|
+
{
|
|
16698
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
16699
|
+
columns: ["planning_item_id"];
|
|
16700
|
+
isOneToOne: false;
|
|
16701
|
+
referencedRelation: "planning_overview";
|
|
16702
|
+
referencedColumns: ["id"];
|
|
16703
|
+
}
|
|
16704
|
+
];
|
|
16705
|
+
};
|
|
16604
16706
|
planning_item_assistants: {
|
|
16605
16707
|
Row: {
|
|
16606
16708
|
created_at: string;
|
|
@@ -16691,6 +16793,63 @@ export type Database = {
|
|
|
16691
16793
|
}
|
|
16692
16794
|
];
|
|
16693
16795
|
};
|
|
16796
|
+
planning_mail_settings: {
|
|
16797
|
+
Row: {
|
|
16798
|
+
body_template: string;
|
|
16799
|
+
cc: string[];
|
|
16800
|
+
connection_id: string | null;
|
|
16801
|
+
created_at: string;
|
|
16802
|
+
enabled: boolean;
|
|
16803
|
+
id: boolean;
|
|
16804
|
+
reply_to: string | null;
|
|
16805
|
+
subject_template: string;
|
|
16806
|
+
timezone: string;
|
|
16807
|
+
updated_at: string;
|
|
16808
|
+
updated_by: string | null;
|
|
16809
|
+
};
|
|
16810
|
+
Insert: {
|
|
16811
|
+
body_template?: string;
|
|
16812
|
+
cc?: string[];
|
|
16813
|
+
connection_id?: string | null;
|
|
16814
|
+
created_at?: string;
|
|
16815
|
+
enabled?: boolean;
|
|
16816
|
+
id?: boolean;
|
|
16817
|
+
reply_to?: string | null;
|
|
16818
|
+
subject_template?: string;
|
|
16819
|
+
timezone?: string;
|
|
16820
|
+
updated_at?: string;
|
|
16821
|
+
updated_by?: string | null;
|
|
16822
|
+
};
|
|
16823
|
+
Update: {
|
|
16824
|
+
body_template?: string;
|
|
16825
|
+
cc?: string[];
|
|
16826
|
+
connection_id?: string | null;
|
|
16827
|
+
created_at?: string;
|
|
16828
|
+
enabled?: boolean;
|
|
16829
|
+
id?: boolean;
|
|
16830
|
+
reply_to?: string | null;
|
|
16831
|
+
subject_template?: string;
|
|
16832
|
+
timezone?: string;
|
|
16833
|
+
updated_at?: string;
|
|
16834
|
+
updated_by?: string | null;
|
|
16835
|
+
};
|
|
16836
|
+
Relationships: [
|
|
16837
|
+
{
|
|
16838
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
16839
|
+
columns: ["connection_id"];
|
|
16840
|
+
isOneToOne: false;
|
|
16841
|
+
referencedRelation: "email_auth_connections";
|
|
16842
|
+
referencedColumns: ["id"];
|
|
16843
|
+
},
|
|
16844
|
+
{
|
|
16845
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
16846
|
+
columns: ["connection_id"];
|
|
16847
|
+
isOneToOne: false;
|
|
16848
|
+
referencedRelation: "email_auth_connections_safe";
|
|
16849
|
+
referencedColumns: ["id"];
|
|
16850
|
+
}
|
|
16851
|
+
];
|
|
16852
|
+
};
|
|
16694
16853
|
planning_monteur_day_locations: {
|
|
16695
16854
|
Row: {
|
|
16696
16855
|
created_at: string;
|
|
@@ -18221,6 +18380,9 @@ export type Database = {
|
|
|
18221
18380
|
lead_time_days: number | null;
|
|
18222
18381
|
min_order_quantity: number | null;
|
|
18223
18382
|
notes: string | null;
|
|
18383
|
+
previous_price_cents: number | null;
|
|
18384
|
+
price_source: string;
|
|
18385
|
+
price_updated_at: string | null;
|
|
18224
18386
|
product_id: string;
|
|
18225
18387
|
purchase_price_cents: number | null;
|
|
18226
18388
|
supplier_article_number: string | null;
|
|
@@ -18234,6 +18396,9 @@ export type Database = {
|
|
|
18234
18396
|
lead_time_days?: number | null;
|
|
18235
18397
|
min_order_quantity?: number | null;
|
|
18236
18398
|
notes?: string | null;
|
|
18399
|
+
previous_price_cents?: number | null;
|
|
18400
|
+
price_source?: string;
|
|
18401
|
+
price_updated_at?: string | null;
|
|
18237
18402
|
product_id: string;
|
|
18238
18403
|
purchase_price_cents?: number | null;
|
|
18239
18404
|
supplier_article_number?: string | null;
|
|
@@ -18247,6 +18412,9 @@ export type Database = {
|
|
|
18247
18412
|
lead_time_days?: number | null;
|
|
18248
18413
|
min_order_quantity?: number | null;
|
|
18249
18414
|
notes?: string | null;
|
|
18415
|
+
previous_price_cents?: number | null;
|
|
18416
|
+
price_source?: string;
|
|
18417
|
+
price_updated_at?: string | null;
|
|
18250
18418
|
product_id?: string;
|
|
18251
18419
|
purchase_price_cents?: number | null;
|
|
18252
18420
|
supplier_article_number?: string | null;
|
|
@@ -18804,9 +18972,13 @@ export type Database = {
|
|
|
18804
18972
|
purchase_order_items: {
|
|
18805
18973
|
Row: {
|
|
18806
18974
|
article_number: string | null;
|
|
18975
|
+
cancel_reason: string | null;
|
|
18976
|
+
cancelled_at: string | null;
|
|
18807
18977
|
created_at: string;
|
|
18808
18978
|
delivery_date: string | null;
|
|
18809
18979
|
id: string;
|
|
18980
|
+
incoming_booked: number;
|
|
18981
|
+
line_status: string;
|
|
18810
18982
|
name: string;
|
|
18811
18983
|
note: string | null;
|
|
18812
18984
|
pot_size: string | null;
|
|
@@ -18814,6 +18986,8 @@ export type Database = {
|
|
|
18814
18986
|
product_type: string;
|
|
18815
18987
|
purchase_order_id: string;
|
|
18816
18988
|
quantity: number;
|
|
18989
|
+
received_at: string | null;
|
|
18990
|
+
received_booked: number;
|
|
18817
18991
|
supplier_id: string | null;
|
|
18818
18992
|
supplier_product_id: string | null;
|
|
18819
18993
|
unit_price_cents: number;
|
|
@@ -18821,9 +18995,13 @@ export type Database = {
|
|
|
18821
18995
|
};
|
|
18822
18996
|
Insert: {
|
|
18823
18997
|
article_number?: string | null;
|
|
18998
|
+
cancel_reason?: string | null;
|
|
18999
|
+
cancelled_at?: string | null;
|
|
18824
19000
|
created_at?: string;
|
|
18825
19001
|
delivery_date?: string | null;
|
|
18826
19002
|
id?: string;
|
|
19003
|
+
incoming_booked?: number;
|
|
19004
|
+
line_status?: string;
|
|
18827
19005
|
name?: string;
|
|
18828
19006
|
note?: string | null;
|
|
18829
19007
|
pot_size?: string | null;
|
|
@@ -18831,6 +19009,8 @@ export type Database = {
|
|
|
18831
19009
|
product_type?: string;
|
|
18832
19010
|
purchase_order_id: string;
|
|
18833
19011
|
quantity?: number;
|
|
19012
|
+
received_at?: string | null;
|
|
19013
|
+
received_booked?: number;
|
|
18834
19014
|
supplier_id?: string | null;
|
|
18835
19015
|
supplier_product_id?: string | null;
|
|
18836
19016
|
unit_price_cents?: number;
|
|
@@ -18838,9 +19018,13 @@ export type Database = {
|
|
|
18838
19018
|
};
|
|
18839
19019
|
Update: {
|
|
18840
19020
|
article_number?: string | null;
|
|
19021
|
+
cancel_reason?: string | null;
|
|
19022
|
+
cancelled_at?: string | null;
|
|
18841
19023
|
created_at?: string;
|
|
18842
19024
|
delivery_date?: string | null;
|
|
18843
19025
|
id?: string;
|
|
19026
|
+
incoming_booked?: number;
|
|
19027
|
+
line_status?: string;
|
|
18844
19028
|
name?: string;
|
|
18845
19029
|
note?: string | null;
|
|
18846
19030
|
pot_size?: string | null;
|
|
@@ -18848,6 +19032,8 @@ export type Database = {
|
|
|
18848
19032
|
product_type?: string;
|
|
18849
19033
|
purchase_order_id?: string;
|
|
18850
19034
|
quantity?: number;
|
|
19035
|
+
received_at?: string | null;
|
|
19036
|
+
received_booked?: number;
|
|
18851
19037
|
supplier_id?: string | null;
|
|
18852
19038
|
supplier_product_id?: string | null;
|
|
18853
19039
|
unit_price_cents?: number;
|
|
@@ -18960,6 +19146,161 @@ export type Database = {
|
|
|
18960
19146
|
}
|
|
18961
19147
|
];
|
|
18962
19148
|
};
|
|
19149
|
+
purchase_request_events: {
|
|
19150
|
+
Row: {
|
|
19151
|
+
created_at: string;
|
|
19152
|
+
details: Json | null;
|
|
19153
|
+
event_type: string;
|
|
19154
|
+
id: string;
|
|
19155
|
+
request_id: string;
|
|
19156
|
+
};
|
|
19157
|
+
Insert: {
|
|
19158
|
+
created_at?: string;
|
|
19159
|
+
details?: Json | null;
|
|
19160
|
+
event_type: string;
|
|
19161
|
+
id?: string;
|
|
19162
|
+
request_id: string;
|
|
19163
|
+
};
|
|
19164
|
+
Update: {
|
|
19165
|
+
created_at?: string;
|
|
19166
|
+
details?: Json | null;
|
|
19167
|
+
event_type?: string;
|
|
19168
|
+
id?: string;
|
|
19169
|
+
request_id?: string;
|
|
19170
|
+
};
|
|
19171
|
+
Relationships: [
|
|
19172
|
+
{
|
|
19173
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
19174
|
+
columns: ["request_id"];
|
|
19175
|
+
isOneToOne: false;
|
|
19176
|
+
referencedRelation: "purchase_requests";
|
|
19177
|
+
referencedColumns: ["id"];
|
|
19178
|
+
}
|
|
19179
|
+
];
|
|
19180
|
+
};
|
|
19181
|
+
purchase_request_responses: {
|
|
19182
|
+
Row: {
|
|
19183
|
+
confirmed_date: string | null;
|
|
19184
|
+
confirmed_price_cents: number | null;
|
|
19185
|
+
confirmed_quantity: number;
|
|
19186
|
+
created_at: string;
|
|
19187
|
+
id: string;
|
|
19188
|
+
not_available: boolean;
|
|
19189
|
+
note: string | null;
|
|
19190
|
+
purchase_order_item_id: string;
|
|
19191
|
+
request_id: string;
|
|
19192
|
+
updated_at: string;
|
|
19193
|
+
};
|
|
19194
|
+
Insert: {
|
|
19195
|
+
confirmed_date?: string | null;
|
|
19196
|
+
confirmed_price_cents?: number | null;
|
|
19197
|
+
confirmed_quantity?: number;
|
|
19198
|
+
created_at?: string;
|
|
19199
|
+
id?: string;
|
|
19200
|
+
not_available?: boolean;
|
|
19201
|
+
note?: string | null;
|
|
19202
|
+
purchase_order_item_id: string;
|
|
19203
|
+
request_id: string;
|
|
19204
|
+
updated_at?: string;
|
|
19205
|
+
};
|
|
19206
|
+
Update: {
|
|
19207
|
+
confirmed_date?: string | null;
|
|
19208
|
+
confirmed_price_cents?: number | null;
|
|
19209
|
+
confirmed_quantity?: number;
|
|
19210
|
+
created_at?: string;
|
|
19211
|
+
id?: string;
|
|
19212
|
+
not_available?: boolean;
|
|
19213
|
+
note?: string | null;
|
|
19214
|
+
purchase_order_item_id?: string;
|
|
19215
|
+
request_id?: string;
|
|
19216
|
+
updated_at?: string;
|
|
19217
|
+
};
|
|
19218
|
+
Relationships: [
|
|
19219
|
+
{
|
|
19220
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
19221
|
+
columns: ["purchase_order_item_id"];
|
|
19222
|
+
isOneToOne: false;
|
|
19223
|
+
referencedRelation: "purchase_order_items";
|
|
19224
|
+
referencedColumns: ["id"];
|
|
19225
|
+
},
|
|
19226
|
+
{
|
|
19227
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
19228
|
+
columns: ["request_id"];
|
|
19229
|
+
isOneToOne: false;
|
|
19230
|
+
referencedRelation: "purchase_requests";
|
|
19231
|
+
referencedColumns: ["id"];
|
|
19232
|
+
}
|
|
19233
|
+
];
|
|
19234
|
+
};
|
|
19235
|
+
purchase_requests: {
|
|
19236
|
+
Row: {
|
|
19237
|
+
created_at: string;
|
|
19238
|
+
expires_at: string;
|
|
19239
|
+
first_viewed_at: string | null;
|
|
19240
|
+
id: string;
|
|
19241
|
+
processed_at: string | null;
|
|
19242
|
+
purchase_order_id: string;
|
|
19243
|
+
responded_at: string | null;
|
|
19244
|
+
sent_at: string;
|
|
19245
|
+
status: string;
|
|
19246
|
+
supplier_id: string | null;
|
|
19247
|
+
supplier_name: string;
|
|
19248
|
+
supplier_note: string | null;
|
|
19249
|
+
to_address: string | null;
|
|
19250
|
+
token_hash: string;
|
|
19251
|
+
updated_at: string;
|
|
19252
|
+
};
|
|
19253
|
+
Insert: {
|
|
19254
|
+
created_at?: string;
|
|
19255
|
+
expires_at?: string;
|
|
19256
|
+
first_viewed_at?: string | null;
|
|
19257
|
+
id?: string;
|
|
19258
|
+
processed_at?: string | null;
|
|
19259
|
+
purchase_order_id: string;
|
|
19260
|
+
responded_at?: string | null;
|
|
19261
|
+
sent_at?: string;
|
|
19262
|
+
status?: string;
|
|
19263
|
+
supplier_id?: string | null;
|
|
19264
|
+
supplier_name?: string;
|
|
19265
|
+
supplier_note?: string | null;
|
|
19266
|
+
to_address?: string | null;
|
|
19267
|
+
token_hash: string;
|
|
19268
|
+
updated_at?: string;
|
|
19269
|
+
};
|
|
19270
|
+
Update: {
|
|
19271
|
+
created_at?: string;
|
|
19272
|
+
expires_at?: string;
|
|
19273
|
+
first_viewed_at?: string | null;
|
|
19274
|
+
id?: string;
|
|
19275
|
+
processed_at?: string | null;
|
|
19276
|
+
purchase_order_id?: string;
|
|
19277
|
+
responded_at?: string | null;
|
|
19278
|
+
sent_at?: string;
|
|
19279
|
+
status?: string;
|
|
19280
|
+
supplier_id?: string | null;
|
|
19281
|
+
supplier_name?: string;
|
|
19282
|
+
supplier_note?: string | null;
|
|
19283
|
+
to_address?: string | null;
|
|
19284
|
+
token_hash?: string;
|
|
19285
|
+
updated_at?: string;
|
|
19286
|
+
};
|
|
19287
|
+
Relationships: [
|
|
19288
|
+
{
|
|
19289
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
19290
|
+
columns: ["purchase_order_id"];
|
|
19291
|
+
isOneToOne: false;
|
|
19292
|
+
referencedRelation: "purchase_orders";
|
|
19293
|
+
referencedColumns: ["id"];
|
|
19294
|
+
},
|
|
19295
|
+
{
|
|
19296
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
19297
|
+
columns: ["supplier_id"];
|
|
19298
|
+
isOneToOne: false;
|
|
19299
|
+
referencedRelation: "suppliers";
|
|
19300
|
+
referencedColumns: ["id"];
|
|
19301
|
+
}
|
|
19302
|
+
];
|
|
19303
|
+
};
|
|
18963
19304
|
reception_notifications: {
|
|
18964
19305
|
Row: {
|
|
18965
19306
|
booking_id: string | null;
|
|
@@ -23476,7 +23817,7 @@ export type Database = {
|
|
|
23476
23817
|
created_at: string;
|
|
23477
23818
|
default_quantity: number;
|
|
23478
23819
|
description: string | null;
|
|
23479
|
-
duration_minutes: number
|
|
23820
|
+
duration_minutes: number;
|
|
23480
23821
|
id: string;
|
|
23481
23822
|
mandaat_type: string | null;
|
|
23482
23823
|
name: string;
|
|
@@ -23493,7 +23834,7 @@ export type Database = {
|
|
|
23493
23834
|
created_at?: string;
|
|
23494
23835
|
default_quantity?: number;
|
|
23495
23836
|
description?: string | null;
|
|
23496
|
-
duration_minutes?: number
|
|
23837
|
+
duration_minutes?: number;
|
|
23497
23838
|
id?: string;
|
|
23498
23839
|
mandaat_type?: string | null;
|
|
23499
23840
|
name: string;
|
|
@@ -23510,7 +23851,7 @@ export type Database = {
|
|
|
23510
23851
|
created_at?: string;
|
|
23511
23852
|
default_quantity?: number;
|
|
23512
23853
|
description?: string | null;
|
|
23513
|
-
duration_minutes?: number
|
|
23854
|
+
duration_minutes?: number;
|
|
23514
23855
|
id?: string;
|
|
23515
23856
|
mandaat_type?: string | null;
|
|
23516
23857
|
name?: string;
|
|
@@ -26559,6 +26900,31 @@ export type Database = {
|
|
|
26559
26900
|
};
|
|
26560
26901
|
Returns: Json;
|
|
26561
26902
|
};
|
|
26903
|
+
inkoop_cancel_line: {
|
|
26904
|
+
Args: {
|
|
26905
|
+
_item_id: string;
|
|
26906
|
+
_reason: string;
|
|
26907
|
+
};
|
|
26908
|
+
Returns: string;
|
|
26909
|
+
};
|
|
26910
|
+
inkoop_get_supplier_request: {
|
|
26911
|
+
Args: {
|
|
26912
|
+
_token: string;
|
|
26913
|
+
};
|
|
26914
|
+
Returns: Json;
|
|
26915
|
+
};
|
|
26916
|
+
inkoop_hash_token: {
|
|
26917
|
+
Args: {
|
|
26918
|
+
_token: string;
|
|
26919
|
+
};
|
|
26920
|
+
Returns: string;
|
|
26921
|
+
};
|
|
26922
|
+
inkoop_html_escape: {
|
|
26923
|
+
Args: {
|
|
26924
|
+
_t: string;
|
|
26925
|
+
};
|
|
26926
|
+
Returns: string;
|
|
26927
|
+
};
|
|
26562
26928
|
inkoop_list_artikelen: {
|
|
26563
26929
|
Args: never;
|
|
26564
26930
|
Returns: {
|
|
@@ -26583,9 +26949,17 @@ export type Database = {
|
|
|
26583
26949
|
Args: never;
|
|
26584
26950
|
Returns: string;
|
|
26585
26951
|
};
|
|
26952
|
+
inkoop_process_request: {
|
|
26953
|
+
Args: {
|
|
26954
|
+
_request_id: string;
|
|
26955
|
+
};
|
|
26956
|
+
Returns: undefined;
|
|
26957
|
+
};
|
|
26586
26958
|
inkoop_send_order: {
|
|
26587
26959
|
Args: {
|
|
26960
|
+
_base_url?: string;
|
|
26588
26961
|
_order_id: string;
|
|
26962
|
+
_resend?: boolean;
|
|
26589
26963
|
};
|
|
26590
26964
|
Returns: {
|
|
26591
26965
|
outbox_id: string;
|
|
@@ -26600,6 +26974,26 @@ export type Database = {
|
|
|
26600
26974
|
};
|
|
26601
26975
|
Returns: undefined;
|
|
26602
26976
|
};
|
|
26977
|
+
inkoop_stock_key: {
|
|
26978
|
+
Args: {
|
|
26979
|
+
p_product_id: string;
|
|
26980
|
+
};
|
|
26981
|
+
Returns: string;
|
|
26982
|
+
};
|
|
26983
|
+
inkoop_submit_supplier_response: {
|
|
26984
|
+
Args: {
|
|
26985
|
+
_lines: Json;
|
|
26986
|
+
_note?: string;
|
|
26987
|
+
_token: string;
|
|
26988
|
+
};
|
|
26989
|
+
Returns: Json;
|
|
26990
|
+
};
|
|
26991
|
+
inkoop_sync_item_stock: {
|
|
26992
|
+
Args: {
|
|
26993
|
+
p_item_id: string;
|
|
26994
|
+
};
|
|
26995
|
+
Returns: undefined;
|
|
26996
|
+
};
|
|
26603
26997
|
instructie_get: {
|
|
26604
26998
|
Args: {
|
|
26605
26999
|
_sleutel: string;
|
|
@@ -26760,6 +27154,27 @@ export type Database = {
|
|
|
26760
27154
|
};
|
|
26761
27155
|
Returns: boolean;
|
|
26762
27156
|
};
|
|
27157
|
+
layout_print_document: {
|
|
27158
|
+
Args: {
|
|
27159
|
+
_documentnaam: string;
|
|
27160
|
+
_documenttype: string;
|
|
27161
|
+
_herkomst?: string;
|
|
27162
|
+
_idempotentie_sleutel?: string;
|
|
27163
|
+
_is_herprint?: boolean;
|
|
27164
|
+
_kopieen?: number;
|
|
27165
|
+
_layout_id?: string;
|
|
27166
|
+
_payload?: Json;
|
|
27167
|
+
_pdf_base64?: string;
|
|
27168
|
+
_pdf_url?: string;
|
|
27169
|
+
_print_plek_id?: string;
|
|
27170
|
+
_werkplek?: string;
|
|
27171
|
+
};
|
|
27172
|
+
Returns: {
|
|
27173
|
+
bestaand: boolean;
|
|
27174
|
+
job_id: string;
|
|
27175
|
+
printer_id: string;
|
|
27176
|
+
}[];
|
|
27177
|
+
};
|
|
26763
27178
|
list_medewerkers: {
|
|
26764
27179
|
Args: never;
|
|
26765
27180
|
Returns: {
|
|
@@ -27037,6 +27452,12 @@ export type Database = {
|
|
|
27037
27452
|
};
|
|
27038
27453
|
Returns: number;
|
|
27039
27454
|
};
|
|
27455
|
+
logistics_cart_barcode_opschonen: {
|
|
27456
|
+
Args: {
|
|
27457
|
+
p_portie?: number;
|
|
27458
|
+
};
|
|
27459
|
+
Returns: Json;
|
|
27460
|
+
};
|
|
27040
27461
|
logistics_cart_barcode_value: {
|
|
27041
27462
|
Args: {
|
|
27042
27463
|
_cart_id: string;
|
|
@@ -27456,6 +27877,13 @@ export type Database = {
|
|
|
27456
27877
|
};
|
|
27457
27878
|
Returns: Json;
|
|
27458
27879
|
};
|
|
27880
|
+
logistics_control_scan_print_own: {
|
|
27881
|
+
Args: {
|
|
27882
|
+
p_is_herprint?: boolean;
|
|
27883
|
+
p_scan_id: string;
|
|
27884
|
+
};
|
|
27885
|
+
Returns: Json;
|
|
27886
|
+
};
|
|
27459
27887
|
logistics_control_scan_retry: {
|
|
27460
27888
|
Args: {
|
|
27461
27889
|
_id: string;
|
|
@@ -28360,6 +28788,21 @@ export type Database = {
|
|
|
28360
28788
|
};
|
|
28361
28789
|
Returns: Json;
|
|
28362
28790
|
};
|
|
28791
|
+
logistics_print_via_layout: {
|
|
28792
|
+
Args: {
|
|
28793
|
+
_documentnaam: string;
|
|
28794
|
+
_documenttype: string;
|
|
28795
|
+
_herkomst: string;
|
|
28796
|
+
_idempotentie_sleutel: string;
|
|
28797
|
+
_is_herprint: boolean;
|
|
28798
|
+
_layout_id: string;
|
|
28799
|
+
_payload: Json;
|
|
28800
|
+
_pdf_base64: string;
|
|
28801
|
+
_pdf_url: string;
|
|
28802
|
+
_print_plek_id: string;
|
|
28803
|
+
};
|
|
28804
|
+
Returns: Json;
|
|
28805
|
+
};
|
|
28363
28806
|
logistics_prune_buffer_member_queue: {
|
|
28364
28807
|
Args: never;
|
|
28365
28808
|
Returns: number;
|
|
@@ -28646,6 +29089,13 @@ export type Database = {
|
|
|
28646
29089
|
};
|
|
28647
29090
|
Returns: string;
|
|
28648
29091
|
};
|
|
29092
|
+
logistics_shipping_note_status: {
|
|
29093
|
+
Args: {
|
|
29094
|
+
p_cart_id?: string;
|
|
29095
|
+
p_slip_job_id?: string;
|
|
29096
|
+
};
|
|
29097
|
+
Returns: Json;
|
|
29098
|
+
};
|
|
28649
29099
|
logistics_shipping_notes_wake_all: {
|
|
28650
29100
|
Args: never;
|
|
28651
29101
|
Returns: Json;
|
|
@@ -28708,6 +29158,12 @@ export type Database = {
|
|
|
28708
29158
|
};
|
|
28709
29159
|
Returns: undefined;
|
|
28710
29160
|
};
|
|
29161
|
+
logistics_slip_note_retry: {
|
|
29162
|
+
Args: {
|
|
29163
|
+
_id: string;
|
|
29164
|
+
};
|
|
29165
|
+
Returns: Json;
|
|
29166
|
+
};
|
|
28711
29167
|
logistics_sticker_follows_slip: {
|
|
28712
29168
|
Args: never;
|
|
28713
29169
|
Returns: boolean;
|
|
@@ -29452,6 +29908,10 @@ export type Database = {
|
|
|
29452
29908
|
};
|
|
29453
29909
|
Returns: string;
|
|
29454
29910
|
};
|
|
29911
|
+
pick_is_reference_admin: {
|
|
29912
|
+
Args: never;
|
|
29913
|
+
Returns: boolean;
|
|
29914
|
+
};
|
|
29455
29915
|
pick_mark_printed: {
|
|
29456
29916
|
Args: {
|
|
29457
29917
|
_queue_item_id: string;
|
|
@@ -29875,6 +30335,12 @@ export type Database = {
|
|
|
29875
30335
|
};
|
|
29876
30336
|
Returns: Json;
|
|
29877
30337
|
};
|
|
30338
|
+
pick_verify_rows: {
|
|
30339
|
+
Args: {
|
|
30340
|
+
_rows: Json;
|
|
30341
|
+
};
|
|
30342
|
+
Returns: Json;
|
|
30343
|
+
};
|
|
29878
30344
|
pickstation_get_orders_raw: {
|
|
29879
30345
|
Args: never;
|
|
29880
30346
|
Returns: Json;
|
|
@@ -30055,6 +30521,12 @@ export type Database = {
|
|
|
30055
30521
|
};
|
|
30056
30522
|
Returns: Json;
|
|
30057
30523
|
};
|
|
30524
|
+
quote_create_from_scratch: {
|
|
30525
|
+
Args: {
|
|
30526
|
+
_payload: Json;
|
|
30527
|
+
};
|
|
30528
|
+
Returns: Json;
|
|
30529
|
+
};
|
|
30058
30530
|
quote_create_from_source: {
|
|
30059
30531
|
Args: {
|
|
30060
30532
|
_payload?: Json;
|
|
@@ -30105,6 +30577,13 @@ export type Database = {
|
|
|
30105
30577
|
};
|
|
30106
30578
|
Returns: string;
|
|
30107
30579
|
};
|
|
30580
|
+
quote_sync_work_order: {
|
|
30581
|
+
Args: {
|
|
30582
|
+
_monteur_instructies?: string;
|
|
30583
|
+
_offerte_id: string;
|
|
30584
|
+
};
|
|
30585
|
+
Returns: boolean;
|
|
30586
|
+
};
|
|
30108
30587
|
recompute_all_reserved_stock: {
|
|
30109
30588
|
Args: never;
|
|
30110
30589
|
Returns: undefined;
|
|
@@ -30325,6 +30804,13 @@ export type Database = {
|
|
|
30325
30804
|
};
|
|
30326
30805
|
Returns: Json;
|
|
30327
30806
|
};
|
|
30807
|
+
scan_controleer_pincode: {
|
|
30808
|
+
Args: {
|
|
30809
|
+
p_pin: string;
|
|
30810
|
+
p_scanner_id: string;
|
|
30811
|
+
};
|
|
30812
|
+
Returns: boolean;
|
|
30813
|
+
};
|
|
30328
30814
|
scan_dashboard_stats: {
|
|
30329
30815
|
Args: {
|
|
30330
30816
|
p_dagen?: number;
|
|
@@ -30344,6 +30830,12 @@ export type Database = {
|
|
|
30344
30830
|
};
|
|
30345
30831
|
Returns: Json;
|
|
30346
30832
|
};
|
|
30833
|
+
scan_heeft_pincode: {
|
|
30834
|
+
Args: {
|
|
30835
|
+
p_scanner_id: string;
|
|
30836
|
+
};
|
|
30837
|
+
Returns: boolean;
|
|
30838
|
+
};
|
|
30347
30839
|
scan_kar_compleet: {
|
|
30348
30840
|
Args: {
|
|
30349
30841
|
p_allow_reprint?: boolean;
|
|
@@ -30361,6 +30853,7 @@ export type Database = {
|
|
|
30361
30853
|
Args: {
|
|
30362
30854
|
p_code: string;
|
|
30363
30855
|
p_latency_ms?: number;
|
|
30856
|
+
p_medewerker?: string;
|
|
30364
30857
|
p_message?: string;
|
|
30365
30858
|
p_result: string;
|
|
30366
30859
|
p_scanner_key?: string;
|
|
@@ -30433,6 +30926,22 @@ export type Database = {
|
|
|
30433
30926
|
};
|
|
30434
30927
|
Returns: undefined;
|
|
30435
30928
|
};
|
|
30929
|
+
scan_scanner_info: {
|
|
30930
|
+
Args: {
|
|
30931
|
+
p_slug: string;
|
|
30932
|
+
};
|
|
30933
|
+
Returns: {
|
|
30934
|
+
actief: boolean;
|
|
30935
|
+
heeft_pincode: boolean;
|
|
30936
|
+
id: string;
|
|
30937
|
+
naam: string;
|
|
30938
|
+
omschrijving: string;
|
|
30939
|
+
printer_id: string;
|
|
30940
|
+
type: string;
|
|
30941
|
+
vereist_medewerker: boolean;
|
|
30942
|
+
werkplek: string;
|
|
30943
|
+
}[];
|
|
30944
|
+
};
|
|
30436
30945
|
scan_sessie_annuleren: {
|
|
30437
30946
|
Args: {
|
|
30438
30947
|
p_sessie_id: string;
|
|
@@ -31395,6 +31904,21 @@ export type Database = {
|
|
|
31395
31904
|
};
|
|
31396
31905
|
Returns: Json;
|
|
31397
31906
|
};
|
|
31907
|
+
wo_list_colleague_planning: {
|
|
31908
|
+
Args: {
|
|
31909
|
+
_from: string;
|
|
31910
|
+
_monteur_id: string;
|
|
31911
|
+
_to: string;
|
|
31912
|
+
};
|
|
31913
|
+
Returns: {
|
|
31914
|
+
end_at: string;
|
|
31915
|
+
id: string;
|
|
31916
|
+
role: string;
|
|
31917
|
+
start_at: string;
|
|
31918
|
+
status: string;
|
|
31919
|
+
werkbon_id: string;
|
|
31920
|
+
}[];
|
|
31921
|
+
};
|
|
31398
31922
|
wo_list_offerte_requests: {
|
|
31399
31923
|
Args: {
|
|
31400
31924
|
_status?: string;
|