@flowselections/floriday-afhandeling-module 1.0.41 → 1.0.42
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/afhandeling/ControleLijstPrint.js +54 -54
- package/dist-lib/components/afhandeling/ControlePage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/ControlePage.js +51 -9
- package/dist-lib/components/afhandeling/DagDetailDialog.js +1 -1
- package/dist-lib/components/afhandeling/VervoerdersPage.js +1 -1
- package/dist-lib/components/afhandeling/VerzetOrderDialog.js +1 -1
- package/dist-lib/components/pickstation/PakbonTemplate.js +70 -70
- package/dist-lib/hooks/usePickAgenda.d.ts +1 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1256 -824
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1256 -824
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.js +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +1256 -824
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1269 -853
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +2189 -1321
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/carrierSignupMail.server.js +26 -26
- package/dist-lib/lib/carriers.functions.d.ts +5315 -3155
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +5315 -3155
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +10545 -6245
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +1259 -825
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -185,7 +185,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
185
185
|
id?: string;
|
|
186
186
|
linked_data?: import("../integrations/supabase/types").Json;
|
|
187
187
|
location?: string | null;
|
|
188
|
-
notes
|
|
188
|
+
notes?: string | null;
|
|
189
189
|
recurrence?: string | null;
|
|
190
190
|
reminders?: import("../integrations/supabase/types").Json;
|
|
191
191
|
source_id?: string | null;
|
|
@@ -215,7 +215,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
215
215
|
reminders?: import("../integrations/supabase/types").Json;
|
|
216
216
|
source_id?: string | null;
|
|
217
217
|
source_module?: string;
|
|
218
|
-
source_type
|
|
218
|
+
source_type
|
|
219
|
+
/** Eerste leverdatum ná het venster, anders de laatste ervóór. Voor auto-jump. */
|
|
220
|
+
? /** Eerste leverdatum ná het venster, anders de laatste ervóór. Voor auto-jump. */: string | null;
|
|
219
221
|
start_at?: string;
|
|
220
222
|
status?: string;
|
|
221
223
|
title?: string;
|
|
@@ -2900,6 +2902,84 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2900
2902
|
};
|
|
2901
2903
|
Relationships: [];
|
|
2902
2904
|
};
|
|
2905
|
+
delivery_notes: {
|
|
2906
|
+
Row: {
|
|
2907
|
+
byte_size: number | null;
|
|
2908
|
+
connection_id: string | null;
|
|
2909
|
+
content_type: string;
|
|
2910
|
+
created_at: string;
|
|
2911
|
+
error_message: string | null;
|
|
2912
|
+
fetched_at: string | null;
|
|
2913
|
+
fulfillment_order_id: string | null;
|
|
2914
|
+
http_status: number | null;
|
|
2915
|
+
id: string;
|
|
2916
|
+
label_code: string | null;
|
|
2917
|
+
letter: string | null;
|
|
2918
|
+
load_carrier_index: number | null;
|
|
2919
|
+
load_carrier_type: string | null;
|
|
2920
|
+
order_id: string | null;
|
|
2921
|
+
order_number: string | null;
|
|
2922
|
+
packages: number | null;
|
|
2923
|
+
source: string;
|
|
2924
|
+
status: string;
|
|
2925
|
+
storage_bucket: string;
|
|
2926
|
+
storage_path: string | null;
|
|
2927
|
+
updated_at: string;
|
|
2928
|
+
};
|
|
2929
|
+
Insert: {
|
|
2930
|
+
byte_size?: number | null;
|
|
2931
|
+
connection_id?: string | null;
|
|
2932
|
+
content_type?: string;
|
|
2933
|
+
created_at?: string;
|
|
2934
|
+
error_message?: string | null;
|
|
2935
|
+
fetched_at?: string | null;
|
|
2936
|
+
fulfillment_order_id?: string | null;
|
|
2937
|
+
http_status?: number | null;
|
|
2938
|
+
id?: string;
|
|
2939
|
+
label_code?: string | null;
|
|
2940
|
+
letter?: string | null;
|
|
2941
|
+
load_carrier_index?: number | null;
|
|
2942
|
+
load_carrier_type?: string | null;
|
|
2943
|
+
order_id?: string | null;
|
|
2944
|
+
order_number?: string | null;
|
|
2945
|
+
packages?: number | null;
|
|
2946
|
+
source?: string;
|
|
2947
|
+
status?: string;
|
|
2948
|
+
storage_bucket?: string;
|
|
2949
|
+
storage_path?: string | null;
|
|
2950
|
+
updated_at?: string;
|
|
2951
|
+
};
|
|
2952
|
+
Update: {
|
|
2953
|
+
byte_size?: number | null;
|
|
2954
|
+
connection_id?: string | null;
|
|
2955
|
+
content_type?: string;
|
|
2956
|
+
created_at?: string;
|
|
2957
|
+
error_message?: string | null;
|
|
2958
|
+
fetched_at?: string | null;
|
|
2959
|
+
fulfillment_order_id?: string | null;
|
|
2960
|
+
http_status?: number | null;
|
|
2961
|
+
id?: string;
|
|
2962
|
+
label_code?: string | null;
|
|
2963
|
+
letter?: string | null;
|
|
2964
|
+
load_carrier_index?: number | null;
|
|
2965
|
+
load_carrier_type?: string | null;
|
|
2966
|
+
order_id?: string | null;
|
|
2967
|
+
order_number?: string | null;
|
|
2968
|
+
packages?: number | null;
|
|
2969
|
+
source?: string;
|
|
2970
|
+
status?: string;
|
|
2971
|
+
storage_bucket?: string;
|
|
2972
|
+
storage_path?: string | null;
|
|
2973
|
+
updated_at?: string;
|
|
2974
|
+
};
|
|
2975
|
+
Relationships: [{
|
|
2976
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
2977
|
+
columns: ["order_id"];
|
|
2978
|
+
isOneToOne: false;
|
|
2979
|
+
referencedRelation: "orders";
|
|
2980
|
+
referencedColumns: ["id"];
|
|
2981
|
+
}];
|
|
2982
|
+
};
|
|
2903
2983
|
document_bronregels: {
|
|
2904
2984
|
Row: {
|
|
2905
2985
|
bron: string;
|
|
@@ -5953,10 +6033,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5953
6033
|
};
|
|
5954
6034
|
floriday_connections: {
|
|
5955
6035
|
Row: {
|
|
5956
|
-
access_token: string | null;
|
|
5957
6036
|
api_key: string;
|
|
5958
|
-
client_id: string;
|
|
5959
|
-
client_secret: string;
|
|
5960
6037
|
created_at: string;
|
|
5961
6038
|
customers_endpoint: string | null;
|
|
5962
6039
|
environment: string;
|
|
@@ -5971,10 +6048,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5971
6048
|
updated_at: string;
|
|
5972
6049
|
};
|
|
5973
6050
|
Insert: {
|
|
5974
|
-
access_token?: string | null;
|
|
5975
6051
|
api_key: string;
|
|
5976
|
-
client_id: string;
|
|
5977
|
-
client_secret: string;
|
|
5978
6052
|
created_at?: string;
|
|
5979
6053
|
customers_endpoint?: string | null;
|
|
5980
6054
|
environment: string;
|
|
@@ -5989,10 +6063,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5989
6063
|
updated_at?: string;
|
|
5990
6064
|
};
|
|
5991
6065
|
Update: {
|
|
5992
|
-
access_token?: string | null;
|
|
5993
6066
|
api_key?: string;
|
|
5994
|
-
client_id?: string;
|
|
5995
|
-
client_secret?: string;
|
|
5996
6067
|
created_at?: string;
|
|
5997
6068
|
customers_endpoint?: string | null;
|
|
5998
6069
|
environment?: string;
|
|
@@ -6076,6 +6147,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6076
6147
|
attempts: number;
|
|
6077
6148
|
connection_id: string;
|
|
6078
6149
|
created_at: string;
|
|
6150
|
+
dead_lettered_at: string | null;
|
|
6079
6151
|
desired_available: boolean | null;
|
|
6080
6152
|
gateway_attempt_id: string | null;
|
|
6081
6153
|
id: string;
|
|
@@ -6084,9 +6156,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6084
6156
|
locked_by: string | null;
|
|
6085
6157
|
next_attempt_at: string;
|
|
6086
6158
|
number_of_pieces: number;
|
|
6159
|
+
product_id: string | null;
|
|
6087
6160
|
sent_at: string | null;
|
|
6088
6161
|
status: string;
|
|
6162
|
+
stock_mode: string | null;
|
|
6089
6163
|
superseded_by: string | null;
|
|
6164
|
+
target_week: number | null;
|
|
6165
|
+
target_year: number | null;
|
|
6090
6166
|
trade_item_id: string;
|
|
6091
6167
|
updated_at: string;
|
|
6092
6168
|
user_id: string;
|
|
@@ -6095,6 +6171,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6095
6171
|
attempts?: number;
|
|
6096
6172
|
connection_id: string;
|
|
6097
6173
|
created_at?: string;
|
|
6174
|
+
dead_lettered_at?: string | null;
|
|
6098
6175
|
desired_available?: boolean | null;
|
|
6099
6176
|
gateway_attempt_id?: string | null;
|
|
6100
6177
|
id?: string;
|
|
@@ -6103,9 +6180,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6103
6180
|
locked_by?: string | null;
|
|
6104
6181
|
next_attempt_at?: string;
|
|
6105
6182
|
number_of_pieces?: number;
|
|
6183
|
+
product_id?: string | null;
|
|
6106
6184
|
sent_at?: string | null;
|
|
6107
6185
|
status?: string;
|
|
6186
|
+
stock_mode?: string | null;
|
|
6108
6187
|
superseded_by?: string | null;
|
|
6188
|
+
target_week?: number | null;
|
|
6189
|
+
target_year?: number | null;
|
|
6109
6190
|
trade_item_id: string;
|
|
6110
6191
|
updated_at?: string;
|
|
6111
6192
|
user_id: string;
|
|
@@ -6114,6 +6195,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6114
6195
|
attempts?: number;
|
|
6115
6196
|
connection_id?: string;
|
|
6116
6197
|
created_at?: string;
|
|
6198
|
+
dead_lettered_at?: string | null;
|
|
6117
6199
|
desired_available?: boolean | null;
|
|
6118
6200
|
gateway_attempt_id?: string | null;
|
|
6119
6201
|
id?: string;
|
|
@@ -6122,9 +6204,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6122
6204
|
locked_by?: string | null;
|
|
6123
6205
|
next_attempt_at?: string;
|
|
6124
6206
|
number_of_pieces?: number;
|
|
6207
|
+
product_id?: string | null;
|
|
6125
6208
|
sent_at?: string | null;
|
|
6126
6209
|
status?: string;
|
|
6210
|
+
stock_mode?: string | null;
|
|
6127
6211
|
superseded_by?: string | null;
|
|
6212
|
+
target_week?: number | null;
|
|
6213
|
+
target_year?: number | null;
|
|
6128
6214
|
trade_item_id?: string;
|
|
6129
6215
|
updated_at?: string;
|
|
6130
6216
|
user_id?: string;
|
|
@@ -6533,6 +6619,87 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6533
6619
|
referencedColumns: ["id"];
|
|
6534
6620
|
}];
|
|
6535
6621
|
};
|
|
6622
|
+
floriday_inventory_settings: {
|
|
6623
|
+
Row: {
|
|
6624
|
+
buffer_quantity: number;
|
|
6625
|
+
connection_id: string;
|
|
6626
|
+
created_at: string;
|
|
6627
|
+
desired_availability: boolean;
|
|
6628
|
+
desired_quantity: number;
|
|
6629
|
+
fixed_quantity: number | null;
|
|
6630
|
+
floriday_trade_item_id: string | null;
|
|
6631
|
+
id: string;
|
|
6632
|
+
last_confirmed_at: string | null;
|
|
6633
|
+
last_enqueued_at: string | null;
|
|
6634
|
+
last_published_at: string | null;
|
|
6635
|
+
last_sync_error: string | null;
|
|
6636
|
+
manual_quantity: number | null;
|
|
6637
|
+
maximum_quantity: number | null;
|
|
6638
|
+
product_id: string;
|
|
6639
|
+
quantity_control: string;
|
|
6640
|
+
remote_available: boolean | null;
|
|
6641
|
+
remote_checked_at: string | null;
|
|
6642
|
+
remote_quantity: number | null;
|
|
6643
|
+
stock_mode: string;
|
|
6644
|
+
sync_status: string;
|
|
6645
|
+
updated_at: string;
|
|
6646
|
+
updated_by: string | null;
|
|
6647
|
+
user_id: string;
|
|
6648
|
+
};
|
|
6649
|
+
Insert: {
|
|
6650
|
+
buffer_quantity?: number;
|
|
6651
|
+
connection_id: string;
|
|
6652
|
+
created_at?: string;
|
|
6653
|
+
desired_availability?: boolean;
|
|
6654
|
+
desired_quantity?: number;
|
|
6655
|
+
fixed_quantity?: number | null;
|
|
6656
|
+
floriday_trade_item_id?: string | null;
|
|
6657
|
+
id?: string;
|
|
6658
|
+
last_confirmed_at?: string | null;
|
|
6659
|
+
last_enqueued_at?: string | null;
|
|
6660
|
+
last_published_at?: string | null;
|
|
6661
|
+
last_sync_error?: string | null;
|
|
6662
|
+
manual_quantity?: number | null;
|
|
6663
|
+
maximum_quantity?: number | null;
|
|
6664
|
+
product_id: string;
|
|
6665
|
+
quantity_control?: string;
|
|
6666
|
+
remote_available?: boolean | null;
|
|
6667
|
+
remote_checked_at?: string | null;
|
|
6668
|
+
remote_quantity?: number | null;
|
|
6669
|
+
stock_mode?: string;
|
|
6670
|
+
sync_status?: string;
|
|
6671
|
+
updated_at?: string;
|
|
6672
|
+
updated_by?: string | null;
|
|
6673
|
+
user_id: string;
|
|
6674
|
+
};
|
|
6675
|
+
Update: {
|
|
6676
|
+
buffer_quantity?: number;
|
|
6677
|
+
connection_id?: string;
|
|
6678
|
+
created_at?: string;
|
|
6679
|
+
desired_availability?: boolean;
|
|
6680
|
+
desired_quantity?: number;
|
|
6681
|
+
fixed_quantity?: number | null;
|
|
6682
|
+
floriday_trade_item_id?: string | null;
|
|
6683
|
+
id?: string;
|
|
6684
|
+
last_confirmed_at?: string | null;
|
|
6685
|
+
last_enqueued_at?: string | null;
|
|
6686
|
+
last_published_at?: string | null;
|
|
6687
|
+
last_sync_error?: string | null;
|
|
6688
|
+
manual_quantity?: number | null;
|
|
6689
|
+
maximum_quantity?: number | null;
|
|
6690
|
+
product_id?: string;
|
|
6691
|
+
quantity_control?: string;
|
|
6692
|
+
remote_available?: boolean | null;
|
|
6693
|
+
remote_checked_at?: string | null;
|
|
6694
|
+
remote_quantity?: number | null;
|
|
6695
|
+
stock_mode?: string;
|
|
6696
|
+
sync_status?: string;
|
|
6697
|
+
updated_at?: string;
|
|
6698
|
+
updated_by?: string | null;
|
|
6699
|
+
user_id?: string;
|
|
6700
|
+
};
|
|
6701
|
+
Relationships: [];
|
|
6702
|
+
};
|
|
6536
6703
|
floriday_invoices_cache: {
|
|
6537
6704
|
Row: {
|
|
6538
6705
|
buyer_organization_id: string | null;
|
|
@@ -6821,6 +6988,39 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6821
6988
|
};
|
|
6822
6989
|
Relationships: [];
|
|
6823
6990
|
};
|
|
6991
|
+
floriday_sales_order_ingest: {
|
|
6992
|
+
Row: {
|
|
6993
|
+
connection_id: string;
|
|
6994
|
+
created_at: string;
|
|
6995
|
+
id: string;
|
|
6996
|
+
impact: import("../integrations/supabase/types").Json;
|
|
6997
|
+
order_status: string | null;
|
|
6998
|
+
order_version: number;
|
|
6999
|
+
processed_at: string;
|
|
7000
|
+
sales_order_id: string;
|
|
7001
|
+
};
|
|
7002
|
+
Insert: {
|
|
7003
|
+
connection_id: string;
|
|
7004
|
+
created_at?: string;
|
|
7005
|
+
id?: string;
|
|
7006
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
7007
|
+
order_status?: string | null;
|
|
7008
|
+
order_version?: number;
|
|
7009
|
+
processed_at?: string;
|
|
7010
|
+
sales_order_id: string;
|
|
7011
|
+
};
|
|
7012
|
+
Update: {
|
|
7013
|
+
connection_id?: string;
|
|
7014
|
+
created_at?: string;
|
|
7015
|
+
id?: string;
|
|
7016
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
7017
|
+
order_status?: string | null;
|
|
7018
|
+
order_version?: number;
|
|
7019
|
+
processed_at?: string;
|
|
7020
|
+
sales_order_id?: string;
|
|
7021
|
+
};
|
|
7022
|
+
Relationships: [];
|
|
7023
|
+
};
|
|
6824
7024
|
floriday_sales_strategies_cache: {
|
|
6825
7025
|
Row: {
|
|
6826
7026
|
connection_id: string;
|
|
@@ -6920,6 +7120,39 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6920
7120
|
};
|
|
6921
7121
|
Relationships: [];
|
|
6922
7122
|
};
|
|
7123
|
+
floriday_sync_cursors: {
|
|
7124
|
+
Row: {
|
|
7125
|
+
connection_id: string;
|
|
7126
|
+
created_at: string;
|
|
7127
|
+
id: string;
|
|
7128
|
+
last_error: string | null;
|
|
7129
|
+
last_sync_at: string | null;
|
|
7130
|
+
resource_type: string;
|
|
7131
|
+
sequence_number: number;
|
|
7132
|
+
updated_at: string;
|
|
7133
|
+
};
|
|
7134
|
+
Insert: {
|
|
7135
|
+
connection_id: string;
|
|
7136
|
+
created_at?: string;
|
|
7137
|
+
id?: string;
|
|
7138
|
+
last_error?: string | null;
|
|
7139
|
+
last_sync_at?: string | null;
|
|
7140
|
+
resource_type: string;
|
|
7141
|
+
sequence_number?: number;
|
|
7142
|
+
updated_at?: string;
|
|
7143
|
+
};
|
|
7144
|
+
Update: {
|
|
7145
|
+
connection_id?: string;
|
|
7146
|
+
created_at?: string;
|
|
7147
|
+
id?: string;
|
|
7148
|
+
last_error?: string | null;
|
|
7149
|
+
last_sync_at?: string | null;
|
|
7150
|
+
resource_type?: string;
|
|
7151
|
+
sequence_number?: number;
|
|
7152
|
+
updated_at?: string;
|
|
7153
|
+
};
|
|
7154
|
+
Relationships: [];
|
|
7155
|
+
};
|
|
6923
7156
|
floriday_sync_state: {
|
|
6924
7157
|
Row: {
|
|
6925
7158
|
connection_id: string;
|
|
@@ -7610,6 +7843,42 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7610
7843
|
};
|
|
7611
7844
|
Relationships: [];
|
|
7612
7845
|
};
|
|
7846
|
+
inventory_stock_snapshots: {
|
|
7847
|
+
Row: {
|
|
7848
|
+
connection_id: string;
|
|
7849
|
+
created_at: string;
|
|
7850
|
+
erp_available_quantity: number;
|
|
7851
|
+
floriday_desired_quantity: number;
|
|
7852
|
+
floriday_remote_quantity: number | null;
|
|
7853
|
+
granularity: string;
|
|
7854
|
+
id: string;
|
|
7855
|
+
snapshot_at: string;
|
|
7856
|
+
user_id: string | null;
|
|
7857
|
+
};
|
|
7858
|
+
Insert: {
|
|
7859
|
+
connection_id: string;
|
|
7860
|
+
created_at?: string;
|
|
7861
|
+
erp_available_quantity?: number;
|
|
7862
|
+
floriday_desired_quantity?: number;
|
|
7863
|
+
floriday_remote_quantity?: number | null;
|
|
7864
|
+
granularity?: string;
|
|
7865
|
+
id?: string;
|
|
7866
|
+
snapshot_at?: string;
|
|
7867
|
+
user_id?: string | null;
|
|
7868
|
+
};
|
|
7869
|
+
Update: {
|
|
7870
|
+
connection_id?: string;
|
|
7871
|
+
created_at?: string;
|
|
7872
|
+
erp_available_quantity?: number;
|
|
7873
|
+
floriday_desired_quantity?: number;
|
|
7874
|
+
floriday_remote_quantity?: number | null;
|
|
7875
|
+
granularity?: string;
|
|
7876
|
+
id?: string;
|
|
7877
|
+
snapshot_at?: string;
|
|
7878
|
+
user_id?: string | null;
|
|
7879
|
+
};
|
|
7880
|
+
Relationships: [];
|
|
7881
|
+
};
|
|
7613
7882
|
invoice_items: {
|
|
7614
7883
|
Row: {
|
|
7615
7884
|
created_at: string;
|
|
@@ -8118,13 +8387,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8118
8387
|
segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
|
|
8119
8388
|
updated_at?: string;
|
|
8120
8389
|
};
|
|
8121
|
-
Relationships: [
|
|
8122
|
-
foreignKeyName: "itk_customers_legacy_customer_id_fkey";
|
|
8123
|
-
columns: ["legacy_customer_id"];
|
|
8124
|
-
isOneToOne: false;
|
|
8125
|
-
referencedRelation: "customers";
|
|
8126
|
-
referencedColumns: ["id"];
|
|
8127
|
-
}];
|
|
8390
|
+
Relationships: [];
|
|
8128
8391
|
};
|
|
8129
8392
|
itk_dynamic_fields: {
|
|
8130
8393
|
Row: {
|
|
@@ -8156,102 +8419,276 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8156
8419
|
};
|
|
8157
8420
|
Relationships: [];
|
|
8158
8421
|
};
|
|
8159
|
-
|
|
8422
|
+
itk_handover_rechten: {
|
|
8160
8423
|
Row: {
|
|
8161
8424
|
created_at: string;
|
|
8162
|
-
event_type: string;
|
|
8163
8425
|
id: string;
|
|
8164
|
-
|
|
8165
|
-
|
|
8166
|
-
|
|
8426
|
+
module_id: string;
|
|
8427
|
+
rol: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"] | null;
|
|
8428
|
+
updated_at: string;
|
|
8167
8429
|
user_id: string | null;
|
|
8168
8430
|
};
|
|
8169
8431
|
Insert: {
|
|
8170
8432
|
created_at?: string;
|
|
8171
|
-
event_type: string;
|
|
8172
8433
|
id?: string;
|
|
8173
|
-
|
|
8174
|
-
|
|
8175
|
-
|
|
8434
|
+
module_id: string;
|
|
8435
|
+
rol?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"] | null;
|
|
8436
|
+
updated_at?: string;
|
|
8176
8437
|
user_id?: string | null;
|
|
8177
8438
|
};
|
|
8178
8439
|
Update: {
|
|
8179
8440
|
created_at?: string;
|
|
8180
|
-
event_type?: string;
|
|
8181
8441
|
id?: string;
|
|
8182
|
-
|
|
8183
|
-
|
|
8184
|
-
|
|
8442
|
+
module_id?: string;
|
|
8443
|
+
rol?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"] | null;
|
|
8444
|
+
updated_at?: string;
|
|
8185
8445
|
user_id?: string | null;
|
|
8186
8446
|
};
|
|
8187
|
-
Relationships: [
|
|
8188
|
-
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
8189
|
-
columns: ["offerte_id"];
|
|
8190
|
-
isOneToOne: false;
|
|
8191
|
-
referencedRelation: "itk_offertes";
|
|
8192
|
-
referencedColumns: ["id"];
|
|
8193
|
-
}];
|
|
8447
|
+
Relationships: [];
|
|
8194
8448
|
};
|
|
8195
|
-
|
|
8449
|
+
itk_handover_tokens: {
|
|
8196
8450
|
Row: {
|
|
8451
|
+
aangemaakt_door: string | null;
|
|
8197
8452
|
created_at: string;
|
|
8198
8453
|
id: string;
|
|
8199
|
-
|
|
8200
|
-
|
|
8201
|
-
|
|
8202
|
-
|
|
8203
|
-
|
|
8204
|
-
sort_order: number;
|
|
8205
|
-
source: string;
|
|
8206
|
-
unit_price_cents: number;
|
|
8454
|
+
is_actief: boolean;
|
|
8455
|
+
laatst_gebruikt_op: string | null;
|
|
8456
|
+
label: string;
|
|
8457
|
+
module_id: string;
|
|
8458
|
+
token_hash: string;
|
|
8207
8459
|
updated_at: string;
|
|
8460
|
+
verloopt_op: string | null;
|
|
8208
8461
|
};
|
|
8209
8462
|
Insert: {
|
|
8463
|
+
aangemaakt_door?: string | null;
|
|
8210
8464
|
created_at?: string;
|
|
8211
8465
|
id?: string;
|
|
8212
|
-
|
|
8213
|
-
|
|
8214
|
-
|
|
8215
|
-
|
|
8216
|
-
|
|
8217
|
-
sort_order?: number;
|
|
8218
|
-
source?: string;
|
|
8219
|
-
unit_price_cents?: number;
|
|
8466
|
+
is_actief?: boolean;
|
|
8467
|
+
laatst_gebruikt_op?: string | null;
|
|
8468
|
+
label?: string;
|
|
8469
|
+
module_id: string;
|
|
8470
|
+
token_hash: string;
|
|
8220
8471
|
updated_at?: string;
|
|
8472
|
+
verloopt_op?: string | null;
|
|
8221
8473
|
};
|
|
8222
8474
|
Update: {
|
|
8475
|
+
aangemaakt_door?: string | null;
|
|
8223
8476
|
created_at?: string;
|
|
8224
8477
|
id?: string;
|
|
8225
|
-
|
|
8226
|
-
|
|
8227
|
-
|
|
8228
|
-
|
|
8229
|
-
|
|
8230
|
-
sort_order?: number;
|
|
8231
|
-
source?: string;
|
|
8232
|
-
unit_price_cents?: number;
|
|
8478
|
+
is_actief?: boolean;
|
|
8479
|
+
laatst_gebruikt_op?: string | null;
|
|
8480
|
+
label?: string;
|
|
8481
|
+
module_id?: string;
|
|
8482
|
+
token_hash?: string;
|
|
8233
8483
|
updated_at?: string;
|
|
8484
|
+
verloopt_op?: string | null;
|
|
8234
8485
|
};
|
|
8235
|
-
Relationships: [
|
|
8236
|
-
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
8237
|
-
columns: ["offerte_id"];
|
|
8238
|
-
isOneToOne: false;
|
|
8239
|
-
referencedRelation: "itk_offertes";
|
|
8240
|
-
referencedColumns: ["id"];
|
|
8241
|
-
}, {
|
|
8242
|
-
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
8243
|
-
columns: ["package_id"];
|
|
8244
|
-
isOneToOne: false;
|
|
8245
|
-
referencedRelation: "werkbon_packages";
|
|
8246
|
-
referencedColumns: ["id"];
|
|
8247
|
-
}];
|
|
8486
|
+
Relationships: [];
|
|
8248
8487
|
};
|
|
8249
|
-
|
|
8488
|
+
itk_module_handovers: {
|
|
8250
8489
|
Row: {
|
|
8251
|
-
|
|
8490
|
+
bevindingen: string | null;
|
|
8491
|
+
bezit_tabellen: string[];
|
|
8492
|
+
conflicten_snapshot: import("../integrations/supabase/types").Json;
|
|
8493
|
+
contractfuncties: string[];
|
|
8252
8494
|
created_at: string;
|
|
8253
|
-
|
|
8254
|
-
|
|
8495
|
+
eigenaar_module_id: string | null;
|
|
8496
|
+
gepubliceerd_door: string | null;
|
|
8497
|
+
gepubliceerd_op: string;
|
|
8498
|
+
herzieningstermijn_dagen: number;
|
|
8499
|
+
id: string;
|
|
8500
|
+
inhoud_md: string;
|
|
8501
|
+
is_actueel: boolean;
|
|
8502
|
+
module_id: string;
|
|
8503
|
+
module_titel: string;
|
|
8504
|
+
ontbrekende_contracten: string[];
|
|
8505
|
+
samenvatting: string | null;
|
|
8506
|
+
updated_at: string;
|
|
8507
|
+
versie: number;
|
|
8508
|
+
};
|
|
8509
|
+
Insert: {
|
|
8510
|
+
bevindingen?: string | null;
|
|
8511
|
+
bezit_tabellen?: string[];
|
|
8512
|
+
conflicten_snapshot?: import("../integrations/supabase/types").Json;
|
|
8513
|
+
contractfuncties?: string[];
|
|
8514
|
+
created_at?: string;
|
|
8515
|
+
eigenaar_module_id?: string | null;
|
|
8516
|
+
gepubliceerd_door?: string | null;
|
|
8517
|
+
gepubliceerd_op?: string;
|
|
8518
|
+
herzieningstermijn_dagen?: number;
|
|
8519
|
+
id?: string;
|
|
8520
|
+
inhoud_md: string;
|
|
8521
|
+
is_actueel?: boolean;
|
|
8522
|
+
module_id: string;
|
|
8523
|
+
module_titel: string;
|
|
8524
|
+
ontbrekende_contracten?: string[];
|
|
8525
|
+
samenvatting?: string | null;
|
|
8526
|
+
updated_at?: string;
|
|
8527
|
+
versie?: number;
|
|
8528
|
+
};
|
|
8529
|
+
Update: {
|
|
8530
|
+
bevindingen?: string | null;
|
|
8531
|
+
bezit_tabellen?: string[];
|
|
8532
|
+
conflicten_snapshot?: import("../integrations/supabase/types").Json;
|
|
8533
|
+
contractfuncties?: string[];
|
|
8534
|
+
created_at?: string;
|
|
8535
|
+
eigenaar_module_id?: string | null;
|
|
8536
|
+
gepubliceerd_door?: string | null;
|
|
8537
|
+
gepubliceerd_op?: string;
|
|
8538
|
+
herzieningstermijn_dagen?: number;
|
|
8539
|
+
id?: string;
|
|
8540
|
+
inhoud_md?: string;
|
|
8541
|
+
is_actueel?: boolean;
|
|
8542
|
+
module_id?: string;
|
|
8543
|
+
module_titel?: string;
|
|
8544
|
+
ontbrekende_contracten?: string[];
|
|
8545
|
+
samenvatting?: string | null;
|
|
8546
|
+
updated_at?: string;
|
|
8547
|
+
versie?: number;
|
|
8548
|
+
};
|
|
8549
|
+
Relationships: [];
|
|
8550
|
+
};
|
|
8551
|
+
itk_module_instructies: {
|
|
8552
|
+
Row: {
|
|
8553
|
+
created_at: string;
|
|
8554
|
+
eigenaar_module_id: string;
|
|
8555
|
+
gepubliceerd_door: string | null;
|
|
8556
|
+
gepubliceerd_op: string;
|
|
8557
|
+
id: string;
|
|
8558
|
+
inhoud_md: string;
|
|
8559
|
+
is_actueel: boolean;
|
|
8560
|
+
sleutel: string;
|
|
8561
|
+
titel: string;
|
|
8562
|
+
toelichting: string | null;
|
|
8563
|
+
updated_at: string;
|
|
8564
|
+
versie: number;
|
|
8565
|
+
};
|
|
8566
|
+
Insert: {
|
|
8567
|
+
created_at?: string;
|
|
8568
|
+
eigenaar_module_id?: string;
|
|
8569
|
+
gepubliceerd_door?: string | null;
|
|
8570
|
+
gepubliceerd_op?: string;
|
|
8571
|
+
id?: string;
|
|
8572
|
+
inhoud_md: string;
|
|
8573
|
+
is_actueel?: boolean;
|
|
8574
|
+
sleutel: string;
|
|
8575
|
+
titel: string;
|
|
8576
|
+
toelichting?: string | null;
|
|
8577
|
+
updated_at?: string;
|
|
8578
|
+
versie?: number;
|
|
8579
|
+
};
|
|
8580
|
+
Update: {
|
|
8581
|
+
created_at?: string;
|
|
8582
|
+
eigenaar_module_id?: string;
|
|
8583
|
+
gepubliceerd_door?: string | null;
|
|
8584
|
+
gepubliceerd_op?: string;
|
|
8585
|
+
id?: string;
|
|
8586
|
+
inhoud_md?: string;
|
|
8587
|
+
is_actueel?: boolean;
|
|
8588
|
+
sleutel?: string;
|
|
8589
|
+
titel?: string;
|
|
8590
|
+
toelichting?: string | null;
|
|
8591
|
+
updated_at?: string;
|
|
8592
|
+
versie?: number;
|
|
8593
|
+
};
|
|
8594
|
+
Relationships: [];
|
|
8595
|
+
};
|
|
8596
|
+
itk_offerte_events: {
|
|
8597
|
+
Row: {
|
|
8598
|
+
created_at: string;
|
|
8599
|
+
event_type: string;
|
|
8600
|
+
id: string;
|
|
8601
|
+
metadata: import("../integrations/supabase/types").Json;
|
|
8602
|
+
offerte_id: string;
|
|
8603
|
+
omschrijving: string | null;
|
|
8604
|
+
user_id: string | null;
|
|
8605
|
+
};
|
|
8606
|
+
Insert: {
|
|
8607
|
+
created_at?: string;
|
|
8608
|
+
event_type: string;
|
|
8609
|
+
id?: string;
|
|
8610
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
8611
|
+
offerte_id: string;
|
|
8612
|
+
omschrijving?: string | null;
|
|
8613
|
+
user_id?: string | null;
|
|
8614
|
+
};
|
|
8615
|
+
Update: {
|
|
8616
|
+
created_at?: string;
|
|
8617
|
+
event_type?: string;
|
|
8618
|
+
id?: string;
|
|
8619
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
8620
|
+
offerte_id?: string;
|
|
8621
|
+
omschrijving?: string | null;
|
|
8622
|
+
user_id?: string | null;
|
|
8623
|
+
};
|
|
8624
|
+
Relationships: [{
|
|
8625
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
8626
|
+
columns: ["offerte_id"];
|
|
8627
|
+
isOneToOne: false;
|
|
8628
|
+
referencedRelation: "itk_offertes";
|
|
8629
|
+
referencedColumns: ["id"];
|
|
8630
|
+
}];
|
|
8631
|
+
};
|
|
8632
|
+
itk_offerte_regels: {
|
|
8633
|
+
Row: {
|
|
8634
|
+
created_at: string;
|
|
8635
|
+
id: string;
|
|
8636
|
+
line_total_cents: number;
|
|
8637
|
+
offerte_id: string;
|
|
8638
|
+
omschrijving: string;
|
|
8639
|
+
package_id: string | null;
|
|
8640
|
+
quantity: number;
|
|
8641
|
+
sort_order: number;
|
|
8642
|
+
source: string;
|
|
8643
|
+
unit_price_cents: number;
|
|
8644
|
+
updated_at: string;
|
|
8645
|
+
};
|
|
8646
|
+
Insert: {
|
|
8647
|
+
created_at?: string;
|
|
8648
|
+
id?: string;
|
|
8649
|
+
line_total_cents?: number;
|
|
8650
|
+
offerte_id: string;
|
|
8651
|
+
omschrijving?: string;
|
|
8652
|
+
package_id?: string | null;
|
|
8653
|
+
quantity?: number;
|
|
8654
|
+
sort_order?: number;
|
|
8655
|
+
source?: string;
|
|
8656
|
+
unit_price_cents?: number;
|
|
8657
|
+
updated_at?: string;
|
|
8658
|
+
};
|
|
8659
|
+
Update: {
|
|
8660
|
+
created_at?: string;
|
|
8661
|
+
id?: string;
|
|
8662
|
+
line_total_cents?: number;
|
|
8663
|
+
offerte_id?: string;
|
|
8664
|
+
omschrijving?: string;
|
|
8665
|
+
package_id?: string | null;
|
|
8666
|
+
quantity?: number;
|
|
8667
|
+
sort_order?: number;
|
|
8668
|
+
source?: string;
|
|
8669
|
+
unit_price_cents?: number;
|
|
8670
|
+
updated_at?: string;
|
|
8671
|
+
};
|
|
8672
|
+
Relationships: [{
|
|
8673
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
8674
|
+
columns: ["offerte_id"];
|
|
8675
|
+
isOneToOne: false;
|
|
8676
|
+
referencedRelation: "itk_offertes";
|
|
8677
|
+
referencedColumns: ["id"];
|
|
8678
|
+
}, {
|
|
8679
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
8680
|
+
columns: ["package_id"];
|
|
8681
|
+
isOneToOne: false;
|
|
8682
|
+
referencedRelation: "werkbon_packages";
|
|
8683
|
+
referencedColumns: ["id"];
|
|
8684
|
+
}];
|
|
8685
|
+
};
|
|
8686
|
+
itk_offerte_settings: {
|
|
8687
|
+
Row: {
|
|
8688
|
+
auto_convert_binnen_mandaat: boolean;
|
|
8689
|
+
created_at: string;
|
|
8690
|
+
default_geldigheid_dagen: number;
|
|
8691
|
+
default_vat_rate: number;
|
|
8255
8692
|
id: string;
|
|
8256
8693
|
singleton: boolean;
|
|
8257
8694
|
updated_at: string;
|
|
@@ -9014,6 +9451,27 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9014
9451
|
};
|
|
9015
9452
|
Relationships: [];
|
|
9016
9453
|
};
|
|
9454
|
+
logistics_cart_barcode: {
|
|
9455
|
+
Row: {
|
|
9456
|
+
barcode: string;
|
|
9457
|
+
cart_id: string;
|
|
9458
|
+
created_at: string;
|
|
9459
|
+
order_id: string | null;
|
|
9460
|
+
};
|
|
9461
|
+
Insert: {
|
|
9462
|
+
barcode: string;
|
|
9463
|
+
cart_id: string;
|
|
9464
|
+
created_at?: string;
|
|
9465
|
+
order_id?: string | null;
|
|
9466
|
+
};
|
|
9467
|
+
Update: {
|
|
9468
|
+
barcode?: string;
|
|
9469
|
+
cart_id?: string;
|
|
9470
|
+
created_at?: string;
|
|
9471
|
+
order_id?: string | null;
|
|
9472
|
+
};
|
|
9473
|
+
Relationships: [];
|
|
9474
|
+
};
|
|
9017
9475
|
logistics_decisions: {
|
|
9018
9476
|
Row: {
|
|
9019
9477
|
created_at: string;
|
|
@@ -9842,6 +10300,36 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9842
10300
|
referencedColumns: ["id"];
|
|
9843
10301
|
}];
|
|
9844
10302
|
};
|
|
10303
|
+
logistics_shipping_note_scan: {
|
|
10304
|
+
Row: {
|
|
10305
|
+
barcode: string;
|
|
10306
|
+
cart_id: string;
|
|
10307
|
+
id: string;
|
|
10308
|
+
is_reprint: boolean;
|
|
10309
|
+
order_id: string | null;
|
|
10310
|
+
print_job_id: string | null;
|
|
10311
|
+
scanned_at: string;
|
|
10312
|
+
};
|
|
10313
|
+
Insert: {
|
|
10314
|
+
barcode: string;
|
|
10315
|
+
cart_id: string;
|
|
10316
|
+
id?: string;
|
|
10317
|
+
is_reprint?: boolean;
|
|
10318
|
+
order_id?: string | null;
|
|
10319
|
+
print_job_id?: string | null;
|
|
10320
|
+
scanned_at?: string;
|
|
10321
|
+
};
|
|
10322
|
+
Update: {
|
|
10323
|
+
barcode?: string;
|
|
10324
|
+
cart_id?: string;
|
|
10325
|
+
id?: string;
|
|
10326
|
+
is_reprint?: boolean;
|
|
10327
|
+
order_id?: string | null;
|
|
10328
|
+
print_job_id?: string | null;
|
|
10329
|
+
scanned_at?: string;
|
|
10330
|
+
};
|
|
10331
|
+
Relationships: [];
|
|
10332
|
+
};
|
|
9845
10333
|
logistics_staff_planning: {
|
|
9846
10334
|
Row: {
|
|
9847
10335
|
created_at: string;
|
|
@@ -11935,10 +12423,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11935
12423
|
boxes: number | null;
|
|
11936
12424
|
cart_id: string;
|
|
11937
12425
|
crates: number;
|
|
12426
|
+
crates_in_layer: number | null;
|
|
11938
12427
|
crates_per_layer: number;
|
|
11939
12428
|
created_at: string;
|
|
11940
12429
|
id: string;
|
|
11941
12430
|
layer_fraction: number;
|
|
12431
|
+
layer_index: number | null;
|
|
11942
12432
|
layer_share_pct: number;
|
|
11943
12433
|
layers_per_cart: number;
|
|
11944
12434
|
order_item_id: string | null;
|
|
@@ -11951,10 +12441,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11951
12441
|
boxes?: number | null;
|
|
11952
12442
|
cart_id: string;
|
|
11953
12443
|
crates: number;
|
|
12444
|
+
crates_in_layer?: number | null;
|
|
11954
12445
|
crates_per_layer?: number;
|
|
11955
12446
|
created_at?: string;
|
|
11956
12447
|
id?: string;
|
|
11957
12448
|
layer_fraction?: number;
|
|
12449
|
+
layer_index?: number | null;
|
|
11958
12450
|
layer_share_pct?: number;
|
|
11959
12451
|
layers_per_cart?: number;
|
|
11960
12452
|
order_item_id?: string | null;
|
|
@@ -11967,10 +12459,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11967
12459
|
boxes?: number | null;
|
|
11968
12460
|
cart_id?: string;
|
|
11969
12461
|
crates?: number;
|
|
12462
|
+
crates_in_layer?: number | null;
|
|
11970
12463
|
crates_per_layer?: number;
|
|
11971
12464
|
created_at?: string;
|
|
11972
12465
|
id?: string;
|
|
11973
12466
|
layer_fraction?: number;
|
|
12467
|
+
layer_index?: number | null;
|
|
11974
12468
|
layer_share_pct?: number;
|
|
11975
12469
|
layers_per_cart?: number;
|
|
11976
12470
|
order_item_id?: string | null;
|
|
@@ -12010,6 +12504,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12010
12504
|
id: string;
|
|
12011
12505
|
is_auto: boolean;
|
|
12012
12506
|
is_complete: boolean;
|
|
12507
|
+
layout_method: string | null;
|
|
12013
12508
|
max_layers: number | null;
|
|
12014
12509
|
moved_at: string | null;
|
|
12015
12510
|
moved_from_moment_id: string | null;
|
|
@@ -12034,6 +12529,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12034
12529
|
id?: string;
|
|
12035
12530
|
is_auto?: boolean;
|
|
12036
12531
|
is_complete?: boolean;
|
|
12532
|
+
layout_method?: string | null;
|
|
12037
12533
|
max_layers?: number | null;
|
|
12038
12534
|
moved_at?: string | null;
|
|
12039
12535
|
moved_from_moment_id?: string | null;
|
|
@@ -12058,6 +12554,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12058
12554
|
id?: string;
|
|
12059
12555
|
is_auto?: boolean;
|
|
12060
12556
|
is_complete?: boolean;
|
|
12557
|
+
layout_method?: string | null;
|
|
12061
12558
|
max_layers?: number | null;
|
|
12062
12559
|
moved_at?: string | null;
|
|
12063
12560
|
moved_from_moment_id?: string | null;
|
|
@@ -12663,6 +13160,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12663
13160
|
print_job_id: string | null;
|
|
12664
13161
|
printed_at: string | null;
|
|
12665
13162
|
printed_by: string | null;
|
|
13163
|
+
printed_cart_ids: import("../integrations/supabase/types").Json;
|
|
12666
13164
|
printer_id: string | null;
|
|
12667
13165
|
priority: number;
|
|
12668
13166
|
reference: string | null;
|
|
@@ -12697,6 +13195,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12697
13195
|
print_job_id?: string | null;
|
|
12698
13196
|
printed_at?: string | null;
|
|
12699
13197
|
printed_by?: string | null;
|
|
13198
|
+
printed_cart_ids?: import("../integrations/supabase/types").Json;
|
|
12700
13199
|
printer_id?: string | null;
|
|
12701
13200
|
priority?: number;
|
|
12702
13201
|
reference?: string | null;
|
|
@@ -12731,6 +13230,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12731
13230
|
print_job_id?: string | null;
|
|
12732
13231
|
printed_at?: string | null;
|
|
12733
13232
|
printed_by?: string | null;
|
|
13233
|
+
printed_cart_ids?: import("../integrations/supabase/types").Json;
|
|
12734
13234
|
printer_id?: string | null;
|
|
12735
13235
|
priority?: number;
|
|
12736
13236
|
reference?: string | null;
|
|
@@ -13530,6 +14030,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
13530
14030
|
isOneToOne: false;
|
|
13531
14031
|
referencedRelation: "planning_items";
|
|
13532
14032
|
referencedColumns: ["id"];
|
|
14033
|
+
}, {
|
|
14034
|
+
foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
|
|
14035
|
+
columns: ["planning_item_id"];
|
|
14036
|
+
isOneToOne: false;
|
|
14037
|
+
referencedRelation: "planning_overview";
|
|
14038
|
+
referencedColumns: ["id"];
|
|
13533
14039
|
}];
|
|
13534
14040
|
};
|
|
13535
14041
|
planning_items: {
|
|
@@ -14639,6 +15145,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
14639
15145
|
created_at: string;
|
|
14640
15146
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
14641
15147
|
floriday_trade_item_id: string | null;
|
|
15148
|
+
fust_type_id: string | null;
|
|
14642
15149
|
id: string;
|
|
14643
15150
|
image_url: string | null;
|
|
14644
15151
|
incoming_quantity: number;
|
|
@@ -14646,6 +15153,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
14646
15153
|
layers_per_cart: number;
|
|
14647
15154
|
location: string;
|
|
14648
15155
|
min_quantity: number;
|
|
15156
|
+
plant_height_cm: number | null;
|
|
14649
15157
|
plants_per_crate: number;
|
|
14650
15158
|
product: string;
|
|
14651
15159
|
product_type: string;
|
|
@@ -14665,6 +15173,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
14665
15173
|
created_at?: string;
|
|
14666
15174
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
14667
15175
|
floriday_trade_item_id?: string | null;
|
|
15176
|
+
fust_type_id?: string | null;
|
|
14668
15177
|
id?: string;
|
|
14669
15178
|
image_url?: string | null;
|
|
14670
15179
|
incoming_quantity?: number;
|
|
@@ -14672,6 +15181,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
14672
15181
|
layers_per_cart?: number;
|
|
14673
15182
|
location: string;
|
|
14674
15183
|
min_quantity?: number;
|
|
15184
|
+
plant_height_cm?: number | null;
|
|
14675
15185
|
plants_per_crate?: number;
|
|
14676
15186
|
product: string;
|
|
14677
15187
|
product_type?: string;
|
|
@@ -14691,6 +15201,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
14691
15201
|
created_at?: string;
|
|
14692
15202
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
14693
15203
|
floriday_trade_item_id?: string | null;
|
|
15204
|
+
fust_type_id?: string | null;
|
|
14694
15205
|
id?: string;
|
|
14695
15206
|
image_url?: string | null;
|
|
14696
15207
|
incoming_quantity?: number;
|
|
@@ -14698,6 +15209,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
14698
15209
|
layers_per_cart?: number;
|
|
14699
15210
|
location?: string;
|
|
14700
15211
|
min_quantity?: number;
|
|
15212
|
+
plant_height_cm?: number | null;
|
|
14701
15213
|
plants_per_crate?: number;
|
|
14702
15214
|
product?: string;
|
|
14703
15215
|
product_type?: string;
|
|
@@ -14709,7 +15221,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
14709
15221
|
updated_at?: string;
|
|
14710
15222
|
weight?: string | null;
|
|
14711
15223
|
};
|
|
14712
|
-
Relationships: [
|
|
15224
|
+
Relationships: [{
|
|
15225
|
+
foreignKeyName: "products_fust_type_id_fkey";
|
|
15226
|
+
columns: ["fust_type_id"];
|
|
15227
|
+
isOneToOne: false;
|
|
15228
|
+
referencedRelation: "fust_types";
|
|
15229
|
+
referencedColumns: ["id"];
|
|
15230
|
+
}];
|
|
14713
15231
|
};
|
|
14714
15232
|
profile_modules: {
|
|
14715
15233
|
Row: {
|
|
@@ -15107,534 +15625,90 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
15107
15625
|
referencedColumns: ["id"];
|
|
15108
15626
|
}];
|
|
15109
15627
|
};
|
|
15110
|
-
|
|
15628
|
+
reception_notifications: {
|
|
15111
15629
|
Row: {
|
|
15630
|
+
booking_id: string | null;
|
|
15112
15631
|
created_at: string;
|
|
15113
|
-
event_type: string;
|
|
15114
15632
|
id: string;
|
|
15115
|
-
|
|
15116
|
-
|
|
15117
|
-
|
|
15633
|
+
is_read: boolean;
|
|
15634
|
+
message: string;
|
|
15635
|
+
recipient_email: string | null;
|
|
15636
|
+
title: string;
|
|
15637
|
+
type: string;
|
|
15118
15638
|
};
|
|
15119
15639
|
Insert: {
|
|
15640
|
+
booking_id?: string | null;
|
|
15120
15641
|
created_at?: string;
|
|
15121
|
-
event_type: string;
|
|
15122
15642
|
id?: string;
|
|
15123
|
-
|
|
15124
|
-
|
|
15125
|
-
|
|
15643
|
+
is_read?: boolean;
|
|
15644
|
+
message: string;
|
|
15645
|
+
recipient_email?: string | null;
|
|
15646
|
+
title: string;
|
|
15647
|
+
type: string;
|
|
15126
15648
|
};
|
|
15127
15649
|
Update: {
|
|
15650
|
+
booking_id?: string | null;
|
|
15128
15651
|
created_at?: string;
|
|
15129
|
-
event_type?: string;
|
|
15130
15652
|
id?: string;
|
|
15131
|
-
|
|
15132
|
-
|
|
15133
|
-
|
|
15653
|
+
is_read?: boolean;
|
|
15654
|
+
message?: string;
|
|
15655
|
+
recipient_email?: string | null;
|
|
15656
|
+
title?: string;
|
|
15657
|
+
type?: string;
|
|
15134
15658
|
};
|
|
15135
15659
|
Relationships: [{
|
|
15136
|
-
foreignKeyName: "
|
|
15137
|
-
columns: ["
|
|
15660
|
+
foreignKeyName: "reception_notifications_booking_id_fkey";
|
|
15661
|
+
columns: ["booking_id"];
|
|
15138
15662
|
isOneToOne: false;
|
|
15139
|
-
referencedRelation: "
|
|
15663
|
+
referencedRelation: "bookings";
|
|
15140
15664
|
referencedColumns: ["id"];
|
|
15141
15665
|
}];
|
|
15142
15666
|
};
|
|
15143
|
-
|
|
15667
|
+
role_assignments: {
|
|
15144
15668
|
Row: {
|
|
15145
15669
|
created_at: string;
|
|
15146
|
-
file_name: string;
|
|
15147
|
-
file_size: number | null;
|
|
15148
|
-
file_url: string;
|
|
15149
15670
|
id: string;
|
|
15150
|
-
|
|
15151
|
-
|
|
15671
|
+
role_id: string;
|
|
15672
|
+
user_id: string;
|
|
15152
15673
|
};
|
|
15153
15674
|
Insert: {
|
|
15154
15675
|
created_at?: string;
|
|
15155
|
-
file_name: string;
|
|
15156
|
-
file_size?: number | null;
|
|
15157
|
-
file_url: string;
|
|
15158
15676
|
id?: string;
|
|
15159
|
-
|
|
15160
|
-
|
|
15677
|
+
role_id: string;
|
|
15678
|
+
user_id: string;
|
|
15161
15679
|
};
|
|
15162
15680
|
Update: {
|
|
15163
15681
|
created_at?: string;
|
|
15164
|
-
file_name?: string;
|
|
15165
|
-
file_size?: number | null;
|
|
15166
|
-
file_url?: string;
|
|
15167
15682
|
id?: string;
|
|
15168
|
-
|
|
15169
|
-
|
|
15683
|
+
role_id?: string;
|
|
15684
|
+
user_id?: string;
|
|
15170
15685
|
};
|
|
15171
15686
|
Relationships: [{
|
|
15172
|
-
foreignKeyName: "
|
|
15173
|
-
columns: ["
|
|
15687
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
15688
|
+
columns: ["role_id"];
|
|
15174
15689
|
isOneToOne: false;
|
|
15175
|
-
referencedRelation: "
|
|
15690
|
+
referencedRelation: "roles";
|
|
15176
15691
|
referencedColumns: ["id"];
|
|
15177
15692
|
}];
|
|
15178
15693
|
};
|
|
15179
|
-
|
|
15694
|
+
role_permissions: {
|
|
15180
15695
|
Row: {
|
|
15181
|
-
|
|
15182
|
-
|
|
15696
|
+
can_edit: boolean;
|
|
15697
|
+
can_view: boolean;
|
|
15698
|
+
feature_id: string;
|
|
15183
15699
|
id: string;
|
|
15184
|
-
|
|
15185
|
-
|
|
15186
|
-
|
|
15700
|
+
module_id: string;
|
|
15701
|
+
role_id: string;
|
|
15702
|
+
updated_at: string;
|
|
15187
15703
|
};
|
|
15188
15704
|
Insert: {
|
|
15189
|
-
|
|
15190
|
-
|
|
15705
|
+
can_edit?: boolean;
|
|
15706
|
+
can_view?: boolean;
|
|
15707
|
+
feature_id?: string;
|
|
15191
15708
|
id?: string;
|
|
15192
|
-
|
|
15193
|
-
|
|
15194
|
-
|
|
15195
|
-
};
|
|
15196
|
-
Update: {
|
|
15197
|
-
created_at?: string;
|
|
15198
|
-
field_id?: string;
|
|
15199
|
-
id?: string;
|
|
15200
|
-
label?: string;
|
|
15201
|
-
sort_order?: number;
|
|
15202
|
-
value?: string;
|
|
15203
|
-
};
|
|
15204
|
-
Relationships: [{
|
|
15205
|
-
foreignKeyName: "quote_field_options_field_id_fkey";
|
|
15206
|
-
columns: ["field_id"];
|
|
15207
|
-
isOneToOne: false;
|
|
15208
|
-
referencedRelation: "quote_field_settings";
|
|
15209
|
-
referencedColumns: ["id"];
|
|
15210
|
-
}];
|
|
15211
|
-
};
|
|
15212
|
-
quote_field_settings: {
|
|
15213
|
-
Row: {
|
|
15214
|
-
created_at: string;
|
|
15215
|
-
default_value: string | null;
|
|
15216
|
-
field_key: string;
|
|
15217
|
-
field_type: string;
|
|
15218
|
-
id: string;
|
|
15219
|
-
is_system: boolean;
|
|
15220
|
-
label: string;
|
|
15221
|
-
required: boolean;
|
|
15222
|
-
sort_order: number;
|
|
15223
|
-
updated_at: string;
|
|
15224
|
-
visible: boolean;
|
|
15225
|
-
};
|
|
15226
|
-
Insert: {
|
|
15227
|
-
created_at?: string;
|
|
15228
|
-
default_value?: string | null;
|
|
15229
|
-
field_key: string;
|
|
15230
|
-
field_type: string;
|
|
15231
|
-
id?: string;
|
|
15232
|
-
is_system?: boolean;
|
|
15233
|
-
label: string;
|
|
15234
|
-
required?: boolean;
|
|
15235
|
-
sort_order?: number;
|
|
15236
|
-
updated_at?: string;
|
|
15237
|
-
visible?: boolean;
|
|
15238
|
-
};
|
|
15239
|
-
Update: {
|
|
15240
|
-
created_at?: string;
|
|
15241
|
-
default_value?: string | null;
|
|
15242
|
-
field_key?: string;
|
|
15243
|
-
field_type?: string;
|
|
15244
|
-
id?: string;
|
|
15245
|
-
is_system?: boolean;
|
|
15246
|
-
label?: string;
|
|
15247
|
-
required?: boolean;
|
|
15248
|
-
sort_order?: number;
|
|
15249
|
-
updated_at?: string;
|
|
15250
|
-
visible?: boolean;
|
|
15251
|
-
};
|
|
15252
|
-
Relationships: [];
|
|
15253
|
-
};
|
|
15254
|
-
quote_items: {
|
|
15255
|
-
Row: {
|
|
15256
|
-
category: string | null;
|
|
15257
|
-
created_at: string;
|
|
15258
|
-
description: string;
|
|
15259
|
-
id: string;
|
|
15260
|
-
line_total: number;
|
|
15261
|
-
module_id: string | null;
|
|
15262
|
-
name: string | null;
|
|
15263
|
-
quantity: number;
|
|
15264
|
-
quote_id: string;
|
|
15265
|
-
sort_order: number;
|
|
15266
|
-
unit_price: number;
|
|
15267
|
-
};
|
|
15268
|
-
Insert: {
|
|
15269
|
-
category?: string | null;
|
|
15270
|
-
created_at?: string;
|
|
15271
|
-
description?: string;
|
|
15272
|
-
id?: string;
|
|
15273
|
-
line_total?: number;
|
|
15274
|
-
module_id?: string | null;
|
|
15275
|
-
name?: string | null;
|
|
15276
|
-
quantity?: number;
|
|
15277
|
-
quote_id: string;
|
|
15278
|
-
sort_order?: number;
|
|
15279
|
-
unit_price?: number;
|
|
15280
|
-
};
|
|
15281
|
-
Update: {
|
|
15282
|
-
category?: string | null;
|
|
15283
|
-
created_at?: string;
|
|
15284
|
-
description?: string;
|
|
15285
|
-
id?: string;
|
|
15286
|
-
line_total?: number;
|
|
15287
|
-
module_id?: string | null;
|
|
15288
|
-
name?: string | null;
|
|
15289
|
-
quantity?: number;
|
|
15290
|
-
quote_id?: string;
|
|
15291
|
-
sort_order?: number;
|
|
15292
|
-
unit_price?: number;
|
|
15293
|
-
};
|
|
15294
|
-
Relationships: [{
|
|
15295
|
-
foreignKeyName: "quote_items_module_id_fkey";
|
|
15296
|
-
columns: ["module_id"];
|
|
15297
|
-
isOneToOne: false;
|
|
15298
|
-
referencedRelation: "quote_modules";
|
|
15299
|
-
referencedColumns: ["id"];
|
|
15300
|
-
}, {
|
|
15301
|
-
foreignKeyName: "quote_items_quote_id_fkey";
|
|
15302
|
-
columns: ["quote_id"];
|
|
15303
|
-
isOneToOne: false;
|
|
15304
|
-
referencedRelation: "quotes";
|
|
15305
|
-
referencedColumns: ["id"];
|
|
15306
|
-
}];
|
|
15307
|
-
};
|
|
15308
|
-
quote_modules: {
|
|
15309
|
-
Row: {
|
|
15310
|
-
category: string | null;
|
|
15311
|
-
created_at: string;
|
|
15312
|
-
description: string | null;
|
|
15313
|
-
id: string;
|
|
15314
|
-
is_active: boolean;
|
|
15315
|
-
name: string;
|
|
15316
|
-
price: number;
|
|
15317
|
-
sort_order: number;
|
|
15318
|
-
updated_at: string;
|
|
15319
|
-
};
|
|
15320
|
-
Insert: {
|
|
15321
|
-
category?: string | null;
|
|
15322
|
-
created_at?: string;
|
|
15323
|
-
description?: string | null;
|
|
15324
|
-
id?: string;
|
|
15325
|
-
is_active?: boolean;
|
|
15326
|
-
name: string;
|
|
15327
|
-
price?: number;
|
|
15328
|
-
sort_order?: number;
|
|
15329
|
-
updated_at?: string;
|
|
15330
|
-
};
|
|
15331
|
-
Update: {
|
|
15332
|
-
category?: string | null;
|
|
15333
|
-
created_at?: string;
|
|
15334
|
-
description?: string | null;
|
|
15335
|
-
id?: string;
|
|
15336
|
-
is_active?: boolean;
|
|
15337
|
-
name?: string;
|
|
15338
|
-
price?: number;
|
|
15339
|
-
sort_order?: number;
|
|
15340
|
-
updated_at?: string;
|
|
15341
|
-
};
|
|
15342
|
-
Relationships: [];
|
|
15343
|
-
};
|
|
15344
|
-
quote_templates: {
|
|
15345
|
-
Row: {
|
|
15346
|
-
created_at: string;
|
|
15347
|
-
description: string | null;
|
|
15348
|
-
field_values: import("../integrations/supabase/types").Json;
|
|
15349
|
-
id: string;
|
|
15350
|
-
is_default: boolean;
|
|
15351
|
-
items: import("../integrations/supabase/types").Json;
|
|
15352
|
-
name: string;
|
|
15353
|
-
updated_at: string;
|
|
15354
|
-
vat_rate: number;
|
|
15355
|
-
};
|
|
15356
|
-
Insert: {
|
|
15357
|
-
created_at?: string;
|
|
15358
|
-
description?: string | null;
|
|
15359
|
-
field_values?: import("../integrations/supabase/types").Json;
|
|
15360
|
-
id?: string;
|
|
15361
|
-
is_default?: boolean;
|
|
15362
|
-
items?: import("../integrations/supabase/types").Json;
|
|
15363
|
-
name: string;
|
|
15364
|
-
updated_at?: string;
|
|
15365
|
-
vat_rate?: number;
|
|
15366
|
-
};
|
|
15367
|
-
Update: {
|
|
15368
|
-
created_at?: string;
|
|
15369
|
-
description?: string | null;
|
|
15370
|
-
field_values?: import("../integrations/supabase/types").Json;
|
|
15371
|
-
id?: string;
|
|
15372
|
-
is_default?: boolean;
|
|
15373
|
-
items?: import("../integrations/supabase/types").Json;
|
|
15374
|
-
name?: string;
|
|
15375
|
-
updated_at?: string;
|
|
15376
|
-
vat_rate?: number;
|
|
15377
|
-
};
|
|
15378
|
-
Relationships: [];
|
|
15379
|
-
};
|
|
15380
|
-
quote_terms: {
|
|
15381
|
-
Row: {
|
|
15382
|
-
content: string | null;
|
|
15383
|
-
created_at: string;
|
|
15384
|
-
file_url: string | null;
|
|
15385
|
-
id: string;
|
|
15386
|
-
is_active: boolean;
|
|
15387
|
-
name: string;
|
|
15388
|
-
published_at: string | null;
|
|
15389
|
-
updated_at: string;
|
|
15390
|
-
version: string;
|
|
15391
|
-
};
|
|
15392
|
-
Insert: {
|
|
15393
|
-
content?: string | null;
|
|
15394
|
-
created_at?: string;
|
|
15395
|
-
file_url?: string | null;
|
|
15396
|
-
id?: string;
|
|
15397
|
-
is_active?: boolean;
|
|
15398
|
-
name: string;
|
|
15399
|
-
published_at?: string | null;
|
|
15400
|
-
updated_at?: string;
|
|
15401
|
-
version?: string;
|
|
15402
|
-
};
|
|
15403
|
-
Update: {
|
|
15404
|
-
content?: string | null;
|
|
15405
|
-
created_at?: string;
|
|
15406
|
-
file_url?: string | null;
|
|
15407
|
-
id?: string;
|
|
15408
|
-
is_active?: boolean;
|
|
15409
|
-
name?: string;
|
|
15410
|
-
published_at?: string | null;
|
|
15411
|
-
updated_at?: string;
|
|
15412
|
-
version?: string;
|
|
15413
|
-
};
|
|
15414
|
-
Relationships: [];
|
|
15415
|
-
};
|
|
15416
|
-
quotes: {
|
|
15417
|
-
Row: {
|
|
15418
|
-
accepted_at: string | null;
|
|
15419
|
-
archived_at: string | null;
|
|
15420
|
-
contact_id: string | null;
|
|
15421
|
-
created_at: string;
|
|
15422
|
-
customer_id: string | null;
|
|
15423
|
-
discount: number;
|
|
15424
|
-
expires_at: string | null;
|
|
15425
|
-
field_values: import("../integrations/supabase/types").Json;
|
|
15426
|
-
id: string;
|
|
15427
|
-
notes: string | null;
|
|
15428
|
-
owner_id: string | null;
|
|
15429
|
-
personal_message: string | null;
|
|
15430
|
-
project_id: string | null;
|
|
15431
|
-
prospect_id: string | null;
|
|
15432
|
-
public_token: string;
|
|
15433
|
-
quote_number: string | null;
|
|
15434
|
-
recipient_email: string | null;
|
|
15435
|
-
recipient_name: string | null;
|
|
15436
|
-
rejected_at: string | null;
|
|
15437
|
-
sent_at: string | null;
|
|
15438
|
-
status: string;
|
|
15439
|
-
subtotal: number;
|
|
15440
|
-
template_id: string | null;
|
|
15441
|
-
terms_id: string | null;
|
|
15442
|
-
title: string;
|
|
15443
|
-
total: number;
|
|
15444
|
-
updated_at: string;
|
|
15445
|
-
valid_until: string | null;
|
|
15446
|
-
vat_amount: number;
|
|
15447
|
-
vat_rate: number;
|
|
15448
|
-
viewed_at: string | null;
|
|
15449
|
-
};
|
|
15450
|
-
Insert: {
|
|
15451
|
-
accepted_at?: string | null;
|
|
15452
|
-
archived_at?: string | null;
|
|
15453
|
-
contact_id?: string | null;
|
|
15454
|
-
created_at?: string;
|
|
15455
|
-
customer_id?: string | null;
|
|
15456
|
-
discount?: number;
|
|
15457
|
-
expires_at?: string | null;
|
|
15458
|
-
field_values?: import("../integrations/supabase/types").Json;
|
|
15459
|
-
id?: string;
|
|
15460
|
-
notes?: string | null;
|
|
15461
|
-
owner_id?: string | null;
|
|
15462
|
-
personal_message?: string | null;
|
|
15463
|
-
project_id?: string | null;
|
|
15464
|
-
prospect_id?: string | null;
|
|
15465
|
-
public_token?: string;
|
|
15466
|
-
quote_number?: string | null;
|
|
15467
|
-
recipient_email?: string | null;
|
|
15468
|
-
recipient_name?: string | null;
|
|
15469
|
-
rejected_at?: string | null;
|
|
15470
|
-
sent_at?: string | null;
|
|
15471
|
-
status?: string;
|
|
15472
|
-
subtotal?: number;
|
|
15473
|
-
template_id?: string | null;
|
|
15474
|
-
terms_id?: string | null;
|
|
15475
|
-
title?: string;
|
|
15476
|
-
total?: number;
|
|
15477
|
-
updated_at?: string;
|
|
15478
|
-
valid_until?: string | null;
|
|
15479
|
-
vat_amount?: number;
|
|
15480
|
-
vat_rate?: number;
|
|
15481
|
-
viewed_at?: string | null;
|
|
15482
|
-
};
|
|
15483
|
-
Update: {
|
|
15484
|
-
accepted_at?: string | null;
|
|
15485
|
-
archived_at?: string | null;
|
|
15486
|
-
contact_id?: string | null;
|
|
15487
|
-
created_at?: string;
|
|
15488
|
-
customer_id?: string | null;
|
|
15489
|
-
discount?: number;
|
|
15490
|
-
expires_at?: string | null;
|
|
15491
|
-
field_values?: import("../integrations/supabase/types").Json;
|
|
15492
|
-
id?: string;
|
|
15493
|
-
notes?: string | null;
|
|
15494
|
-
owner_id?: string | null;
|
|
15495
|
-
personal_message?: string | null;
|
|
15496
|
-
project_id?: string | null;
|
|
15497
|
-
prospect_id?: string | null;
|
|
15498
|
-
public_token?: string;
|
|
15499
|
-
quote_number?: string | null;
|
|
15500
|
-
recipient_email?: string | null;
|
|
15501
|
-
recipient_name?: string | null;
|
|
15502
|
-
rejected_at?: string | null;
|
|
15503
|
-
sent_at?: string | null;
|
|
15504
|
-
status?: string;
|
|
15505
|
-
subtotal?: number;
|
|
15506
|
-
template_id?: string | null;
|
|
15507
|
-
terms_id?: string | null;
|
|
15508
|
-
title?: string;
|
|
15509
|
-
total?: number;
|
|
15510
|
-
updated_at?: string;
|
|
15511
|
-
valid_until?: string | null;
|
|
15512
|
-
vat_amount?: number;
|
|
15513
|
-
vat_rate?: number;
|
|
15514
|
-
viewed_at?: string | null;
|
|
15515
|
-
};
|
|
15516
|
-
Relationships: [{
|
|
15517
|
-
foreignKeyName: "quotes_contact_id_fkey";
|
|
15518
|
-
columns: ["contact_id"];
|
|
15519
|
-
isOneToOne: false;
|
|
15520
|
-
referencedRelation: "customer_contacts";
|
|
15521
|
-
referencedColumns: ["id"];
|
|
15522
|
-
}, {
|
|
15523
|
-
foreignKeyName: "quotes_customer_id_fkey";
|
|
15524
|
-
columns: ["customer_id"];
|
|
15525
|
-
isOneToOne: false;
|
|
15526
|
-
referencedRelation: "customers";
|
|
15527
|
-
referencedColumns: ["id"];
|
|
15528
|
-
}, {
|
|
15529
|
-
foreignKeyName: "quotes_project_id_fkey";
|
|
15530
|
-
columns: ["project_id"];
|
|
15531
|
-
isOneToOne: false;
|
|
15532
|
-
referencedRelation: "projects";
|
|
15533
|
-
referencedColumns: ["id"];
|
|
15534
|
-
}, {
|
|
15535
|
-
foreignKeyName: "quotes_prospect_id_fkey";
|
|
15536
|
-
columns: ["prospect_id"];
|
|
15537
|
-
isOneToOne: false;
|
|
15538
|
-
referencedRelation: "prospects";
|
|
15539
|
-
referencedColumns: ["id"];
|
|
15540
|
-
}, {
|
|
15541
|
-
foreignKeyName: "quotes_template_id_fkey";
|
|
15542
|
-
columns: ["template_id"];
|
|
15543
|
-
isOneToOne: false;
|
|
15544
|
-
referencedRelation: "quote_templates";
|
|
15545
|
-
referencedColumns: ["id"];
|
|
15546
|
-
}, {
|
|
15547
|
-
foreignKeyName: "quotes_terms_id_fkey";
|
|
15548
|
-
columns: ["terms_id"];
|
|
15549
|
-
isOneToOne: false;
|
|
15550
|
-
referencedRelation: "quote_terms";
|
|
15551
|
-
referencedColumns: ["id"];
|
|
15552
|
-
}];
|
|
15553
|
-
};
|
|
15554
|
-
reception_notifications: {
|
|
15555
|
-
Row: {
|
|
15556
|
-
booking_id: string | null;
|
|
15557
|
-
created_at: string;
|
|
15558
|
-
id: string;
|
|
15559
|
-
is_read: boolean;
|
|
15560
|
-
message: string;
|
|
15561
|
-
recipient_email: string | null;
|
|
15562
|
-
title: string;
|
|
15563
|
-
type: string;
|
|
15564
|
-
};
|
|
15565
|
-
Insert: {
|
|
15566
|
-
booking_id?: string | null;
|
|
15567
|
-
created_at?: string;
|
|
15568
|
-
id?: string;
|
|
15569
|
-
is_read?: boolean;
|
|
15570
|
-
message: string;
|
|
15571
|
-
recipient_email?: string | null;
|
|
15572
|
-
title: string;
|
|
15573
|
-
type: string;
|
|
15574
|
-
};
|
|
15575
|
-
Update: {
|
|
15576
|
-
booking_id?: string | null;
|
|
15577
|
-
created_at?: string;
|
|
15578
|
-
id?: string;
|
|
15579
|
-
is_read?: boolean;
|
|
15580
|
-
message?: string;
|
|
15581
|
-
recipient_email?: string | null;
|
|
15582
|
-
title?: string;
|
|
15583
|
-
type?: string;
|
|
15584
|
-
};
|
|
15585
|
-
Relationships: [{
|
|
15586
|
-
foreignKeyName: "reception_notifications_booking_id_fkey";
|
|
15587
|
-
columns: ["booking_id"];
|
|
15588
|
-
isOneToOne: false;
|
|
15589
|
-
referencedRelation: "bookings";
|
|
15590
|
-
referencedColumns: ["id"];
|
|
15591
|
-
}];
|
|
15592
|
-
};
|
|
15593
|
-
role_assignments: {
|
|
15594
|
-
Row: {
|
|
15595
|
-
created_at: string;
|
|
15596
|
-
id: string;
|
|
15597
|
-
role_id: string;
|
|
15598
|
-
user_id: string;
|
|
15599
|
-
};
|
|
15600
|
-
Insert: {
|
|
15601
|
-
created_at?: string;
|
|
15602
|
-
id?: string;
|
|
15603
|
-
role_id: string;
|
|
15604
|
-
user_id: string;
|
|
15605
|
-
};
|
|
15606
|
-
Update: {
|
|
15607
|
-
created_at?: string;
|
|
15608
|
-
id?: string;
|
|
15609
|
-
role_id?: string;
|
|
15610
|
-
user_id?: string;
|
|
15611
|
-
};
|
|
15612
|
-
Relationships: [{
|
|
15613
|
-
foreignKeyName: "role_assignments_role_id_fkey";
|
|
15614
|
-
columns: ["role_id"];
|
|
15615
|
-
isOneToOne: false;
|
|
15616
|
-
referencedRelation: "roles";
|
|
15617
|
-
referencedColumns: ["id"];
|
|
15618
|
-
}];
|
|
15619
|
-
};
|
|
15620
|
-
role_permissions: {
|
|
15621
|
-
Row: {
|
|
15622
|
-
can_edit: boolean;
|
|
15623
|
-
can_view: boolean;
|
|
15624
|
-
feature_id: string;
|
|
15625
|
-
id: string;
|
|
15626
|
-
module_id: string;
|
|
15627
|
-
role_id: string;
|
|
15628
|
-
updated_at: string;
|
|
15629
|
-
};
|
|
15630
|
-
Insert: {
|
|
15631
|
-
can_edit?: boolean;
|
|
15632
|
-
can_view?: boolean;
|
|
15633
|
-
feature_id?: string;
|
|
15634
|
-
id?: string;
|
|
15635
|
-
module_id: string;
|
|
15636
|
-
role_id: string;
|
|
15637
|
-
updated_at?: string;
|
|
15709
|
+
module_id: string;
|
|
15710
|
+
role_id: string;
|
|
15711
|
+
updated_at?: string;
|
|
15638
15712
|
};
|
|
15639
15713
|
Update: {
|
|
15640
15714
|
can_edit?: boolean;
|
|
@@ -16672,7 +16746,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
16672
16746
|
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
16673
16747
|
columns: ["work_order_id"];
|
|
16674
16748
|
isOneToOne: false;
|
|
16675
|
-
referencedRelation: "
|
|
16749
|
+
referencedRelation: "werkbonnen";
|
|
16676
16750
|
referencedColumns: ["id"];
|
|
16677
16751
|
}];
|
|
16678
16752
|
};
|
|
@@ -16804,6 +16878,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
16804
16878
|
};
|
|
16805
16879
|
trade_item_stock: {
|
|
16806
16880
|
Row: {
|
|
16881
|
+
change_source: string;
|
|
16807
16882
|
connection_id: string;
|
|
16808
16883
|
created_at: string;
|
|
16809
16884
|
id: string;
|
|
@@ -16817,6 +16892,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
16817
16892
|
user_id: string;
|
|
16818
16893
|
};
|
|
16819
16894
|
Insert: {
|
|
16895
|
+
change_source?: string;
|
|
16820
16896
|
connection_id: string;
|
|
16821
16897
|
created_at?: string;
|
|
16822
16898
|
id?: string;
|
|
@@ -16830,6 +16906,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
16830
16906
|
user_id: string;
|
|
16831
16907
|
};
|
|
16832
16908
|
Update: {
|
|
16909
|
+
change_source?: string;
|
|
16833
16910
|
connection_id?: string;
|
|
16834
16911
|
created_at?: string;
|
|
16835
16912
|
id?: string;
|
|
@@ -17887,268 +17964,118 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
17887
17964
|
break_minutes?: number | null;
|
|
17888
17965
|
contract_hours_per_week?: number;
|
|
17889
17966
|
created_at?: string;
|
|
17890
|
-
daily_threshold_hours?: number | null;
|
|
17891
|
-
id?: string;
|
|
17892
|
-
include_travel?: boolean | null;
|
|
17893
|
-
monteur_id: string;
|
|
17894
|
-
ov02_percentage?: number | null;
|
|
17895
|
-
ov03_percentage?: number | null;
|
|
17896
|
-
updated_at?: string;
|
|
17897
|
-
weekly_threshold_hours?: number | null;
|
|
17898
|
-
workday_end?: string | null;
|
|
17899
|
-
workday_start?: string | null;
|
|
17900
|
-
};
|
|
17901
|
-
Update: {
|
|
17902
|
-
break_minutes?: number | null;
|
|
17903
|
-
contract_hours_per_week?: number;
|
|
17904
|
-
created_at?: string;
|
|
17905
|
-
daily_threshold_hours?: number | null;
|
|
17906
|
-
id?: string;
|
|
17907
|
-
include_travel?: boolean | null;
|
|
17908
|
-
monteur_id?: string;
|
|
17909
|
-
ov02_percentage?: number | null;
|
|
17910
|
-
ov03_percentage?: number | null;
|
|
17911
|
-
updated_at?: string;
|
|
17912
|
-
weekly_threshold_hours?: number | null;
|
|
17913
|
-
workday_end?: string | null;
|
|
17914
|
-
workday_start?: string | null;
|
|
17915
|
-
};
|
|
17916
|
-
Relationships: [];
|
|
17917
|
-
};
|
|
17918
|
-
uren_entries: {
|
|
17919
|
-
Row: {
|
|
17920
|
-
created_at: string;
|
|
17921
|
-
created_by: string | null;
|
|
17922
|
-
entry_date: string;
|
|
17923
|
-
hours: number;
|
|
17924
|
-
id: string;
|
|
17925
|
-
kind: string;
|
|
17926
|
-
monteur_id: string;
|
|
17927
|
-
note: string | null;
|
|
17928
|
-
source: string;
|
|
17929
|
-
travel_km: number;
|
|
17930
|
-
updated_at: string;
|
|
17931
|
-
werkbon_id: string | null;
|
|
17932
|
-
};
|
|
17933
|
-
Insert: {
|
|
17934
|
-
created_at?: string;
|
|
17935
|
-
created_by?: string | null;
|
|
17936
|
-
entry_date: string;
|
|
17937
|
-
hours?: number;
|
|
17938
|
-
id?: string;
|
|
17939
|
-
kind?: string;
|
|
17940
|
-
monteur_id: string;
|
|
17941
|
-
note?: string | null;
|
|
17942
|
-
source?: string;
|
|
17943
|
-
travel_km?: number;
|
|
17944
|
-
updated_at?: string;
|
|
17945
|
-
werkbon_id?: string | null;
|
|
17946
|
-
};
|
|
17947
|
-
Update: {
|
|
17948
|
-
created_at?: string;
|
|
17949
|
-
created_by?: string | null;
|
|
17950
|
-
entry_date?: string;
|
|
17951
|
-
hours?: number;
|
|
17952
|
-
id?: string;
|
|
17953
|
-
kind?: string;
|
|
17954
|
-
monteur_id?: string;
|
|
17955
|
-
note?: string | null;
|
|
17956
|
-
source?: string;
|
|
17957
|
-
travel_km?: number;
|
|
17958
|
-
updated_at?: string;
|
|
17959
|
-
werkbon_id?: string | null;
|
|
17960
|
-
};
|
|
17961
|
-
Relationships: [{
|
|
17962
|
-
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
17963
|
-
columns: ["werkbon_id"];
|
|
17964
|
-
isOneToOne: false;
|
|
17965
|
-
referencedRelation: "werkbonnen";
|
|
17966
|
-
referencedColumns: ["id"];
|
|
17967
|
-
}];
|
|
17968
|
-
};
|
|
17969
|
-
uren_exports: {
|
|
17970
|
-
Row: {
|
|
17971
|
-
created_at: string;
|
|
17972
|
-
created_by: string | null;
|
|
17973
|
-
file_name: string | null;
|
|
17974
|
-
id: string;
|
|
17975
|
-
monteur_ids: string[];
|
|
17976
|
-
period_end: string;
|
|
17977
|
-
period_start: string;
|
|
17978
|
-
row_count: number;
|
|
17979
|
-
};
|
|
17980
|
-
Insert: {
|
|
17981
|
-
created_at?: string;
|
|
17982
|
-
created_by?: string | null;
|
|
17983
|
-
file_name?: string | null;
|
|
17984
|
-
id?: string;
|
|
17985
|
-
monteur_ids?: string[];
|
|
17986
|
-
period_end: string;
|
|
17987
|
-
period_start: string;
|
|
17988
|
-
row_count?: number;
|
|
17989
|
-
};
|
|
17990
|
-
Update: {
|
|
17991
|
-
created_at?: string;
|
|
17992
|
-
created_by?: string | null;
|
|
17993
|
-
file_name?: string | null;
|
|
17994
|
-
id?: string;
|
|
17995
|
-
monteur_ids?: string[];
|
|
17996
|
-
period_end?: string;
|
|
17997
|
-
period_start?: string;
|
|
17998
|
-
row_count?: number;
|
|
17999
|
-
};
|
|
18000
|
-
Relationships: [];
|
|
18001
|
-
};
|
|
18002
|
-
uren_offerte_regels: {
|
|
18003
|
-
Row: {
|
|
18004
|
-
created_at: string;
|
|
18005
|
-
description: string;
|
|
18006
|
-
duration_minutes: number;
|
|
18007
|
-
id: string;
|
|
18008
|
-
offerte_id: string;
|
|
18009
|
-
package_id: string | null;
|
|
18010
|
-
quantity: number;
|
|
18011
|
-
sort_order: number;
|
|
18012
|
-
total_cents: number;
|
|
18013
|
-
unit_price_cents: number;
|
|
18014
|
-
};
|
|
18015
|
-
Insert: {
|
|
18016
|
-
created_at?: string;
|
|
18017
|
-
description: string;
|
|
18018
|
-
duration_minutes?: number;
|
|
18019
|
-
id?: string;
|
|
18020
|
-
offerte_id: string;
|
|
18021
|
-
package_id?: string | null;
|
|
18022
|
-
quantity?: number;
|
|
18023
|
-
sort_order?: number;
|
|
18024
|
-
total_cents?: number;
|
|
18025
|
-
unit_price_cents?: number;
|
|
18026
|
-
};
|
|
18027
|
-
Update: {
|
|
18028
|
-
created_at?: string;
|
|
18029
|
-
description?: string;
|
|
18030
|
-
duration_minutes?: number;
|
|
18031
|
-
id?: string;
|
|
18032
|
-
offerte_id?: string;
|
|
18033
|
-
package_id?: string | null;
|
|
18034
|
-
quantity?: number;
|
|
18035
|
-
sort_order?: number;
|
|
18036
|
-
total_cents?: number;
|
|
18037
|
-
unit_price_cents?: number;
|
|
18038
|
-
};
|
|
18039
|
-
Relationships: [{
|
|
18040
|
-
foreignKeyName: "uren_offerte_regels_offerte_id_fkey";
|
|
18041
|
-
columns: ["offerte_id"];
|
|
18042
|
-
isOneToOne: false;
|
|
18043
|
-
referencedRelation: "uren_offertes";
|
|
18044
|
-
referencedColumns: ["id"];
|
|
18045
|
-
}, {
|
|
18046
|
-
foreignKeyName: "uren_offerte_regels_package_id_fkey";
|
|
18047
|
-
columns: ["package_id"];
|
|
18048
|
-
isOneToOne: false;
|
|
18049
|
-
referencedRelation: "werkbon_packages";
|
|
18050
|
-
referencedColumns: ["id"];
|
|
18051
|
-
}];
|
|
18052
|
-
};
|
|
18053
|
-
uren_offerte_velden: {
|
|
18054
|
-
Row: {
|
|
18055
|
-
created_at: string;
|
|
18056
|
-
field_type: string;
|
|
18057
|
-
id: string;
|
|
18058
|
-
key: string;
|
|
18059
|
-
label: string;
|
|
18060
|
-
options: string[];
|
|
18061
|
-
required: boolean;
|
|
18062
|
-
sort_order: number;
|
|
18063
|
-
updated_at: string;
|
|
18064
|
-
};
|
|
18065
|
-
Insert: {
|
|
18066
|
-
created_at?: string;
|
|
18067
|
-
field_type?: string;
|
|
18068
|
-
id?: string;
|
|
18069
|
-
key: string;
|
|
18070
|
-
label: string;
|
|
18071
|
-
options?: string[];
|
|
18072
|
-
required?: boolean;
|
|
18073
|
-
sort_order?: number;
|
|
17967
|
+
daily_threshold_hours?: number | null;
|
|
17968
|
+
id?: string;
|
|
17969
|
+
include_travel?: boolean | null;
|
|
17970
|
+
monteur_id: string;
|
|
17971
|
+
ov02_percentage?: number | null;
|
|
17972
|
+
ov03_percentage?: number | null;
|
|
18074
17973
|
updated_at?: string;
|
|
17974
|
+
weekly_threshold_hours?: number | null;
|
|
17975
|
+
workday_end?: string | null;
|
|
17976
|
+
workday_start?: string | null;
|
|
18075
17977
|
};
|
|
18076
17978
|
Update: {
|
|
17979
|
+
break_minutes?: number | null;
|
|
17980
|
+
contract_hours_per_week?: number;
|
|
18077
17981
|
created_at?: string;
|
|
18078
|
-
|
|
17982
|
+
daily_threshold_hours?: number | null;
|
|
18079
17983
|
id?: string;
|
|
18080
|
-
|
|
18081
|
-
|
|
18082
|
-
|
|
18083
|
-
|
|
18084
|
-
sort_order?: number;
|
|
17984
|
+
include_travel?: boolean | null;
|
|
17985
|
+
monteur_id?: string;
|
|
17986
|
+
ov02_percentage?: number | null;
|
|
17987
|
+
ov03_percentage?: number | null;
|
|
18085
17988
|
updated_at?: string;
|
|
17989
|
+
weekly_threshold_hours?: number | null;
|
|
17990
|
+
workday_end?: string | null;
|
|
17991
|
+
workday_start?: string | null;
|
|
18086
17992
|
};
|
|
18087
17993
|
Relationships: [];
|
|
18088
17994
|
};
|
|
18089
|
-
|
|
17995
|
+
uren_entries: {
|
|
18090
17996
|
Row: {
|
|
18091
17997
|
created_at: string;
|
|
18092
17998
|
created_by: string | null;
|
|
18093
|
-
|
|
18094
|
-
|
|
18095
|
-
dynamic_fields: import("../integrations/supabase/types").Json;
|
|
18096
|
-
estimated_minutes: number;
|
|
17999
|
+
entry_date: string;
|
|
18000
|
+
hours: number;
|
|
18097
18001
|
id: string;
|
|
18002
|
+
kind: string;
|
|
18003
|
+
monteur_id: string;
|
|
18098
18004
|
note: string | null;
|
|
18099
|
-
|
|
18100
|
-
|
|
18101
|
-
title: string;
|
|
18102
|
-
total_excl_cents: number;
|
|
18103
|
-
total_incl_cents: number;
|
|
18005
|
+
source: string;
|
|
18006
|
+
travel_km: number;
|
|
18104
18007
|
updated_at: string;
|
|
18105
|
-
|
|
18106
|
-
vat_percentage: number;
|
|
18008
|
+
werkbon_id: string | null;
|
|
18107
18009
|
};
|
|
18108
18010
|
Insert: {
|
|
18109
18011
|
created_at?: string;
|
|
18110
18012
|
created_by?: string | null;
|
|
18111
|
-
|
|
18112
|
-
|
|
18113
|
-
dynamic_fields?: import("../integrations/supabase/types").Json;
|
|
18114
|
-
estimated_minutes?: number;
|
|
18013
|
+
entry_date: string;
|
|
18014
|
+
hours?: number;
|
|
18115
18015
|
id?: string;
|
|
18016
|
+
kind?: string;
|
|
18017
|
+
monteur_id: string;
|
|
18116
18018
|
note?: string | null;
|
|
18117
|
-
|
|
18118
|
-
|
|
18119
|
-
title?: string;
|
|
18120
|
-
total_excl_cents?: number;
|
|
18121
|
-
total_incl_cents?: number;
|
|
18019
|
+
source?: string;
|
|
18020
|
+
travel_km?: number;
|
|
18122
18021
|
updated_at?: string;
|
|
18123
|
-
|
|
18124
|
-
vat_percentage?: number;
|
|
18022
|
+
werkbon_id?: string | null;
|
|
18125
18023
|
};
|
|
18126
18024
|
Update: {
|
|
18127
18025
|
created_at?: string;
|
|
18128
18026
|
created_by?: string | null;
|
|
18129
|
-
|
|
18130
|
-
|
|
18131
|
-
dynamic_fields?: import("../integrations/supabase/types").Json;
|
|
18132
|
-
estimated_minutes?: number;
|
|
18027
|
+
entry_date?: string;
|
|
18028
|
+
hours?: number;
|
|
18133
18029
|
id?: string;
|
|
18030
|
+
kind?: string;
|
|
18031
|
+
monteur_id?: string;
|
|
18134
18032
|
note?: string | null;
|
|
18135
|
-
|
|
18136
|
-
|
|
18137
|
-
title?: string;
|
|
18138
|
-
total_excl_cents?: number;
|
|
18139
|
-
total_incl_cents?: number;
|
|
18033
|
+
source?: string;
|
|
18034
|
+
travel_km?: number;
|
|
18140
18035
|
updated_at?: string;
|
|
18141
|
-
|
|
18142
|
-
vat_percentage?: number;
|
|
18036
|
+
werkbon_id?: string | null;
|
|
18143
18037
|
};
|
|
18144
18038
|
Relationships: [{
|
|
18145
|
-
foreignKeyName: "
|
|
18146
|
-
columns: ["
|
|
18039
|
+
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
18040
|
+
columns: ["werkbon_id"];
|
|
18147
18041
|
isOneToOne: false;
|
|
18148
|
-
referencedRelation: "
|
|
18042
|
+
referencedRelation: "werkbonnen";
|
|
18149
18043
|
referencedColumns: ["id"];
|
|
18150
18044
|
}];
|
|
18151
18045
|
};
|
|
18046
|
+
uren_exports: {
|
|
18047
|
+
Row: {
|
|
18048
|
+
created_at: string;
|
|
18049
|
+
created_by: string | null;
|
|
18050
|
+
file_name: string | null;
|
|
18051
|
+
id: string;
|
|
18052
|
+
monteur_ids: string[];
|
|
18053
|
+
period_end: string;
|
|
18054
|
+
period_start: string;
|
|
18055
|
+
row_count: number;
|
|
18056
|
+
};
|
|
18057
|
+
Insert: {
|
|
18058
|
+
created_at?: string;
|
|
18059
|
+
created_by?: string | null;
|
|
18060
|
+
file_name?: string | null;
|
|
18061
|
+
id?: string;
|
|
18062
|
+
monteur_ids?: string[];
|
|
18063
|
+
period_end: string;
|
|
18064
|
+
period_start: string;
|
|
18065
|
+
row_count?: number;
|
|
18066
|
+
};
|
|
18067
|
+
Update: {
|
|
18068
|
+
created_at?: string;
|
|
18069
|
+
created_by?: string | null;
|
|
18070
|
+
file_name?: string | null;
|
|
18071
|
+
id?: string;
|
|
18072
|
+
monteur_ids?: string[];
|
|
18073
|
+
period_end?: string;
|
|
18074
|
+
period_start?: string;
|
|
18075
|
+
row_count?: number;
|
|
18076
|
+
};
|
|
18077
|
+
Relationships: [];
|
|
18078
|
+
};
|
|
18152
18079
|
uren_settings: {
|
|
18153
18080
|
Row: {
|
|
18154
18081
|
break_minutes: number;
|
|
@@ -19835,6 +19762,37 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19835
19762
|
};
|
|
19836
19763
|
Relationships: [];
|
|
19837
19764
|
};
|
|
19765
|
+
planning_overview: {
|
|
19766
|
+
Row: {
|
|
19767
|
+
assigned_monteur_id: string | null;
|
|
19768
|
+
assistants: import("../integrations/supabase/types").Json | null;
|
|
19769
|
+
budget_mandate_cents: number | null;
|
|
19770
|
+
created_at: string | null;
|
|
19771
|
+
created_by: string | null;
|
|
19772
|
+
customer_id: string | null;
|
|
19773
|
+
customer_name: string | null;
|
|
19774
|
+
duration_minutes: number | null;
|
|
19775
|
+
end_at: string | null;
|
|
19776
|
+
id: string | null;
|
|
19777
|
+
needs_detail_review: boolean | null;
|
|
19778
|
+
notes: string | null;
|
|
19779
|
+
project_number: string | null;
|
|
19780
|
+
review_reasons: string[] | null;
|
|
19781
|
+
start_at: string | null;
|
|
19782
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"] | null;
|
|
19783
|
+
updated_at: string | null;
|
|
19784
|
+
viewer_role: string | null;
|
|
19785
|
+
werkbon_id: string | null;
|
|
19786
|
+
work_address: string | null;
|
|
19787
|
+
};
|
|
19788
|
+
Relationships: [{
|
|
19789
|
+
foreignKeyName: "planning_items_werkbon_id_fkey";
|
|
19790
|
+
columns: ["werkbon_id"];
|
|
19791
|
+
isOneToOne: false;
|
|
19792
|
+
referencedRelation: "werkbonnen";
|
|
19793
|
+
referencedColumns: ["id"];
|
|
19794
|
+
}];
|
|
19795
|
+
};
|
|
19838
19796
|
product_group_stock_view: {
|
|
19839
19797
|
Row: {
|
|
19840
19798
|
item_count: number | null;
|
|
@@ -20430,6 +20388,18 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
20430
20388
|
Args: never;
|
|
20431
20389
|
Returns: number;
|
|
20432
20390
|
};
|
|
20391
|
+
calculate_floriday_desired_stock: {
|
|
20392
|
+
Args: {
|
|
20393
|
+
p_connection_id: string;
|
|
20394
|
+
p_product_id: string;
|
|
20395
|
+
};
|
|
20396
|
+
Returns: {
|
|
20397
|
+
desired_availability: boolean;
|
|
20398
|
+
desired_quantity: number;
|
|
20399
|
+
erp_available: number;
|
|
20400
|
+
stock_mode: string;
|
|
20401
|
+
}[];
|
|
20402
|
+
};
|
|
20433
20403
|
calculate_layer_stock: {
|
|
20434
20404
|
Args: {
|
|
20435
20405
|
p_product_id: string;
|
|
@@ -20524,6 +20494,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
20524
20494
|
attempts: number;
|
|
20525
20495
|
connection_id: string;
|
|
20526
20496
|
created_at: string;
|
|
20497
|
+
dead_lettered_at: string | null;
|
|
20527
20498
|
desired_available: boolean | null;
|
|
20528
20499
|
gateway_attempt_id: string | null;
|
|
20529
20500
|
id: string;
|
|
@@ -20532,9 +20503,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
20532
20503
|
locked_by: string | null;
|
|
20533
20504
|
next_attempt_at: string;
|
|
20534
20505
|
number_of_pieces: number;
|
|
20506
|
+
product_id: string | null;
|
|
20535
20507
|
sent_at: string | null;
|
|
20536
20508
|
status: string;
|
|
20509
|
+
stock_mode: string | null;
|
|
20537
20510
|
superseded_by: string | null;
|
|
20511
|
+
target_week: number | null;
|
|
20512
|
+
target_year: number | null;
|
|
20538
20513
|
trade_item_id: string;
|
|
20539
20514
|
updated_at: string;
|
|
20540
20515
|
user_id: string;
|
|
@@ -21015,6 +20990,24 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
21015
20990
|
};
|
|
21016
20991
|
Returns: string;
|
|
21017
20992
|
};
|
|
20993
|
+
floriday_capture_stock_snapshot: {
|
|
20994
|
+
Args: never;
|
|
20995
|
+
Returns: number;
|
|
20996
|
+
};
|
|
20997
|
+
floriday_cleanup_stock_queue_v2: {
|
|
20998
|
+
Args: never;
|
|
20999
|
+
Returns: undefined;
|
|
21000
|
+
};
|
|
21001
|
+
floriday_compact_stock_snapshots: {
|
|
21002
|
+
Args: never;
|
|
21003
|
+
Returns: undefined;
|
|
21004
|
+
};
|
|
21005
|
+
floriday_default_owner: {
|
|
21006
|
+
Args: {
|
|
21007
|
+
p_connection_id: string;
|
|
21008
|
+
};
|
|
21009
|
+
Returns: string;
|
|
21010
|
+
};
|
|
21018
21011
|
floriday_effective_price: {
|
|
21019
21012
|
Args: {
|
|
21020
21013
|
_buyer_id: string;
|
|
@@ -21032,6 +21025,34 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
21032
21025
|
source_id: string;
|
|
21033
21026
|
}[];
|
|
21034
21027
|
};
|
|
21028
|
+
floriday_fill_publish_horizon: {
|
|
21029
|
+
Args: never;
|
|
21030
|
+
Returns: number;
|
|
21031
|
+
};
|
|
21032
|
+
floriday_ingest_sales_orders: {
|
|
21033
|
+
Args: {
|
|
21034
|
+
p_limit?: number;
|
|
21035
|
+
};
|
|
21036
|
+
Returns: number;
|
|
21037
|
+
};
|
|
21038
|
+
floriday_publish_horizon_weeks: {
|
|
21039
|
+
Args: never;
|
|
21040
|
+
Returns: number;
|
|
21041
|
+
};
|
|
21042
|
+
floriday_recompute_inventory: {
|
|
21043
|
+
Args: {
|
|
21044
|
+
p_connection_id: string;
|
|
21045
|
+
p_force?: boolean;
|
|
21046
|
+
p_product_id: string;
|
|
21047
|
+
};
|
|
21048
|
+
Returns: undefined;
|
|
21049
|
+
};
|
|
21050
|
+
floriday_requeue_dead_letters: {
|
|
21051
|
+
Args: {
|
|
21052
|
+
p_connection_id?: string;
|
|
21053
|
+
};
|
|
21054
|
+
Returns: number;
|
|
21055
|
+
};
|
|
21035
21056
|
format_cart_number: {
|
|
21036
21057
|
Args: {
|
|
21037
21058
|
p_pick_date: string;
|
|
@@ -21211,42 +21232,167 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
21211
21232
|
ordered_at: string;
|
|
21212
21233
|
}[];
|
|
21213
21234
|
};
|
|
21214
|
-
get_or_assign_floriday_order_number: {
|
|
21235
|
+
get_or_assign_floriday_order_number: {
|
|
21236
|
+
Args: {
|
|
21237
|
+
p_floriday_id: string;
|
|
21238
|
+
};
|
|
21239
|
+
Returns: string;
|
|
21240
|
+
};
|
|
21241
|
+
get_product_group_available_stock: {
|
|
21242
|
+
Args: {
|
|
21243
|
+
p_group_id: string;
|
|
21244
|
+
};
|
|
21245
|
+
Returns: number;
|
|
21246
|
+
};
|
|
21247
|
+
get_room_busy_windows: {
|
|
21248
|
+
Args: {
|
|
21249
|
+
p_from: string;
|
|
21250
|
+
p_to: string;
|
|
21251
|
+
};
|
|
21252
|
+
Returns: {
|
|
21253
|
+
end_time: string;
|
|
21254
|
+
room_id: string;
|
|
21255
|
+
start_time: string;
|
|
21256
|
+
status: string;
|
|
21257
|
+
}[];
|
|
21258
|
+
};
|
|
21259
|
+
get_twinfield_cron_jobs: {
|
|
21260
|
+
Args: never;
|
|
21261
|
+
Returns: {
|
|
21262
|
+
active: boolean;
|
|
21263
|
+
jobname: string;
|
|
21264
|
+
schedule: string;
|
|
21265
|
+
url: string;
|
|
21266
|
+
}[];
|
|
21267
|
+
};
|
|
21268
|
+
get_user_tenant_id: {
|
|
21269
|
+
Args: never;
|
|
21270
|
+
Returns: string;
|
|
21271
|
+
};
|
|
21272
|
+
handover_get: {
|
|
21273
|
+
Args: {
|
|
21274
|
+
_module_id: string;
|
|
21275
|
+
};
|
|
21276
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21277
|
+
};
|
|
21278
|
+
handover_kern_naam: {
|
|
21279
|
+
Args: {
|
|
21280
|
+
_naam: string;
|
|
21281
|
+
};
|
|
21282
|
+
Returns: string;
|
|
21283
|
+
};
|
|
21284
|
+
handover_ketenmodel: {
|
|
21285
|
+
Args: never;
|
|
21286
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21287
|
+
};
|
|
21288
|
+
handover_kruisconflicten: {
|
|
21289
|
+
Args: never;
|
|
21290
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21291
|
+
};
|
|
21292
|
+
handover_list: {
|
|
21293
|
+
Args: never;
|
|
21294
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21295
|
+
};
|
|
21296
|
+
handover_mag_schrijven: {
|
|
21297
|
+
Args: {
|
|
21298
|
+
_module_id: string;
|
|
21299
|
+
};
|
|
21300
|
+
Returns: boolean;
|
|
21301
|
+
};
|
|
21302
|
+
handover_norm_naam: {
|
|
21303
|
+
Args: {
|
|
21304
|
+
_naam: string;
|
|
21305
|
+
};
|
|
21306
|
+
Returns: string;
|
|
21307
|
+
};
|
|
21308
|
+
handover_publish: {
|
|
21309
|
+
Args: {
|
|
21310
|
+
_bevindingen?: string;
|
|
21311
|
+
_bezit_tabellen?: string[];
|
|
21312
|
+
_conflicten_snapshot?: import("../integrations/supabase/types").Json;
|
|
21313
|
+
_contractfuncties?: string[];
|
|
21314
|
+
_inhoud_md: string;
|
|
21315
|
+
_module_id: string;
|
|
21316
|
+
_module_titel: string;
|
|
21317
|
+
_ontbrekende_contracten?: string[];
|
|
21318
|
+
_samenvatting?: string;
|
|
21319
|
+
};
|
|
21320
|
+
Returns: number;
|
|
21321
|
+
};
|
|
21322
|
+
handover_publish_via_token: {
|
|
21323
|
+
Args: {
|
|
21324
|
+
_bevindingen?: string;
|
|
21325
|
+
_bezit_tabellen?: string[];
|
|
21326
|
+
_conflicten_snapshot?: import("../integrations/supabase/types").Json;
|
|
21327
|
+
_contractfuncties?: string[];
|
|
21328
|
+
_inhoud_md: string;
|
|
21329
|
+
_module_id: string;
|
|
21330
|
+
_module_titel: string;
|
|
21331
|
+
_ontbrekende_contracten?: string[];
|
|
21332
|
+
_samenvatting?: string;
|
|
21333
|
+
_token_hash: string;
|
|
21334
|
+
};
|
|
21335
|
+
Returns: number;
|
|
21336
|
+
};
|
|
21337
|
+
handover_status: {
|
|
21338
|
+
Args: never;
|
|
21339
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21340
|
+
};
|
|
21341
|
+
handover_synonym_kern: {
|
|
21342
|
+
Args: {
|
|
21343
|
+
_naam: string;
|
|
21344
|
+
};
|
|
21345
|
+
Returns: string;
|
|
21346
|
+
};
|
|
21347
|
+
handover_token_intrekken: {
|
|
21348
|
+
Args: {
|
|
21349
|
+
_id: string;
|
|
21350
|
+
};
|
|
21351
|
+
Returns: boolean;
|
|
21352
|
+
};
|
|
21353
|
+
handover_token_lijst: {
|
|
21354
|
+
Args: never;
|
|
21355
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21356
|
+
};
|
|
21357
|
+
handover_token_maken: {
|
|
21215
21358
|
Args: {
|
|
21216
|
-
|
|
21359
|
+
_label?: string;
|
|
21360
|
+
_module_id: string;
|
|
21217
21361
|
};
|
|
21218
21362
|
Returns: string;
|
|
21219
21363
|
};
|
|
21220
|
-
|
|
21364
|
+
handover_update: {
|
|
21221
21365
|
Args: {
|
|
21222
|
-
|
|
21366
|
+
_bezit_tabellen?: string[];
|
|
21367
|
+
_contractfuncties?: string[];
|
|
21368
|
+
_herzieningstermijn_dagen?: number;
|
|
21369
|
+
_inhoud_md?: string;
|
|
21370
|
+
_module_id: string;
|
|
21371
|
+
_module_titel?: string;
|
|
21372
|
+
_samenvatting?: string;
|
|
21373
|
+
_versie: number;
|
|
21223
21374
|
};
|
|
21224
|
-
Returns:
|
|
21225
|
-
}
|
|
21226
|
-
get_room_busy_windows: {
|
|
21375
|
+
Returns: boolean;
|
|
21376
|
+
} | {
|
|
21227
21377
|
Args: {
|
|
21228
|
-
|
|
21229
|
-
|
|
21378
|
+
_bevindingen?: string;
|
|
21379
|
+
_bezit_tabellen?: string[];
|
|
21380
|
+
_contractfuncties?: string[];
|
|
21381
|
+
_herzieningstermijn_dagen?: number;
|
|
21382
|
+
_inhoud_md?: string;
|
|
21383
|
+
_module_id: string;
|
|
21384
|
+
_module_titel?: string;
|
|
21385
|
+
_ontbrekende_contracten?: string[];
|
|
21386
|
+
_samenvatting?: string;
|
|
21387
|
+
_versie: number;
|
|
21230
21388
|
};
|
|
21231
|
-
Returns:
|
|
21232
|
-
end_time: string;
|
|
21233
|
-
room_id: string;
|
|
21234
|
-
start_time: string;
|
|
21235
|
-
status: string;
|
|
21236
|
-
}[];
|
|
21237
|
-
};
|
|
21238
|
-
get_twinfield_cron_jobs: {
|
|
21239
|
-
Args: never;
|
|
21240
|
-
Returns: {
|
|
21241
|
-
active: boolean;
|
|
21242
|
-
jobname: string;
|
|
21243
|
-
schedule: string;
|
|
21244
|
-
url: string;
|
|
21245
|
-
}[];
|
|
21389
|
+
Returns: boolean;
|
|
21246
21390
|
};
|
|
21247
|
-
|
|
21248
|
-
Args:
|
|
21249
|
-
|
|
21391
|
+
handover_versies: {
|
|
21392
|
+
Args: {
|
|
21393
|
+
_module_id: string;
|
|
21394
|
+
};
|
|
21395
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21250
21396
|
};
|
|
21251
21397
|
has_module_permission: {
|
|
21252
21398
|
Args: {
|
|
@@ -21267,6 +21413,25 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
21267
21413
|
Args: never;
|
|
21268
21414
|
Returns: boolean;
|
|
21269
21415
|
};
|
|
21416
|
+
instructie_get: {
|
|
21417
|
+
Args: {
|
|
21418
|
+
_sleutel: string;
|
|
21419
|
+
};
|
|
21420
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21421
|
+
};
|
|
21422
|
+
instructie_list: {
|
|
21423
|
+
Args: never;
|
|
21424
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21425
|
+
};
|
|
21426
|
+
instructie_publish: {
|
|
21427
|
+
Args: {
|
|
21428
|
+
_inhoud_md: string;
|
|
21429
|
+
_sleutel: string;
|
|
21430
|
+
_titel: string;
|
|
21431
|
+
_toelichting?: string;
|
|
21432
|
+
};
|
|
21433
|
+
Returns: number;
|
|
21434
|
+
};
|
|
21270
21435
|
invoice_create_from_source: {
|
|
21271
21436
|
Args: {
|
|
21272
21437
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -21491,6 +21656,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
21491
21656
|
};
|
|
21492
21657
|
Returns: boolean;
|
|
21493
21658
|
};
|
|
21659
|
+
logistics_barcode_lookup: {
|
|
21660
|
+
Args: {
|
|
21661
|
+
p_barcode: string;
|
|
21662
|
+
};
|
|
21663
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21664
|
+
};
|
|
21494
21665
|
logistics_buffer_criteria: {
|
|
21495
21666
|
Args: {
|
|
21496
21667
|
p_settings: import("../integrations/supabase/types").Json;
|
|
@@ -21551,6 +21722,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
21551
21722
|
};
|
|
21552
21723
|
Returns: number;
|
|
21553
21724
|
};
|
|
21725
|
+
logistics_cart_barcode_value: {
|
|
21726
|
+
Args: {
|
|
21727
|
+
_cart_id: string;
|
|
21728
|
+
};
|
|
21729
|
+
Returns: string;
|
|
21730
|
+
};
|
|
21554
21731
|
logistics_cart_index: {
|
|
21555
21732
|
Args: {
|
|
21556
21733
|
p_from?: string;
|
|
@@ -21560,6 +21737,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
21560
21737
|
cart_id: string;
|
|
21561
21738
|
cart_index: number;
|
|
21562
21739
|
cart_label: string;
|
|
21740
|
+
delivery_date: string;
|
|
21741
|
+
is_announced: boolean;
|
|
21742
|
+
is_controlled: boolean;
|
|
21743
|
+
is_printed: boolean;
|
|
21563
21744
|
is_shared: boolean;
|
|
21564
21745
|
order_number: string;
|
|
21565
21746
|
order_source: string;
|
|
@@ -21570,6 +21751,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
21570
21751
|
task_status: string;
|
|
21571
21752
|
}[];
|
|
21572
21753
|
};
|
|
21754
|
+
logistics_cart_slip_plan: {
|
|
21755
|
+
Args: {
|
|
21756
|
+
p_order_id: string;
|
|
21757
|
+
};
|
|
21758
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21759
|
+
};
|
|
21573
21760
|
logistics_check_order_allowed: {
|
|
21574
21761
|
Args: {
|
|
21575
21762
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -21722,11 +21909,15 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
21722
21909
|
Args: never;
|
|
21723
21910
|
Returns: {
|
|
21724
21911
|
agenda_carts: number;
|
|
21912
|
+
announced_carts: number;
|
|
21725
21913
|
control_carts: number;
|
|
21914
|
+
delivery_carts: number;
|
|
21726
21915
|
ok: boolean;
|
|
21727
21916
|
orphan_tasks: number;
|
|
21728
21917
|
pick_date: string;
|
|
21729
21918
|
raw_carts: number;
|
|
21919
|
+
sales_carts: number;
|
|
21920
|
+
station_carts: number;
|
|
21730
21921
|
}[];
|
|
21731
21922
|
};
|
|
21732
21923
|
logistics_delay_customer_email: {
|
|
@@ -21742,12 +21933,35 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
21742
21933
|
subject: string;
|
|
21743
21934
|
}[];
|
|
21744
21935
|
};
|
|
21936
|
+
logistics_delivery_agenda: {
|
|
21937
|
+
Args: {
|
|
21938
|
+
p_from?: string;
|
|
21939
|
+
p_to?: string;
|
|
21940
|
+
};
|
|
21941
|
+
Returns: {
|
|
21942
|
+
announced_count: number;
|
|
21943
|
+
cart_count: number;
|
|
21944
|
+
controlled_count: number;
|
|
21945
|
+
delivery_date: string;
|
|
21946
|
+
order_count: number;
|
|
21947
|
+
orders: import("../integrations/supabase/types").Json;
|
|
21948
|
+
plant_count: number;
|
|
21949
|
+
printed_count: number;
|
|
21950
|
+
}[];
|
|
21951
|
+
};
|
|
21745
21952
|
logistics_document_layout: {
|
|
21746
21953
|
Args: {
|
|
21747
21954
|
_document_code: string;
|
|
21748
21955
|
};
|
|
21749
21956
|
Returns: import("../integrations/supabase/types").Json;
|
|
21750
21957
|
};
|
|
21958
|
+
logistics_document_layout_v2: {
|
|
21959
|
+
Args: {
|
|
21960
|
+
_document_code: string;
|
|
21961
|
+
_is_partial?: boolean;
|
|
21962
|
+
};
|
|
21963
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21964
|
+
};
|
|
21751
21965
|
logistics_document_station: {
|
|
21752
21966
|
Args: {
|
|
21753
21967
|
_document_code: string;
|
|
@@ -21773,6 +21987,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
21773
21987
|
};
|
|
21774
21988
|
Returns: import("../integrations/supabase/types").Json;
|
|
21775
21989
|
};
|
|
21990
|
+
logistics_ensure_cart_barcode: {
|
|
21991
|
+
Args: {
|
|
21992
|
+
_cart_id: string;
|
|
21993
|
+
};
|
|
21994
|
+
Returns: string;
|
|
21995
|
+
};
|
|
21776
21996
|
logistics_fail_task: {
|
|
21777
21997
|
Args: {
|
|
21778
21998
|
p_error: string;
|
|
@@ -21818,6 +22038,16 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
21818
22038
|
isSetofReturn: false;
|
|
21819
22039
|
};
|
|
21820
22040
|
};
|
|
22041
|
+
logistics_floriday_cart_plan: {
|
|
22042
|
+
Args: {
|
|
22043
|
+
p_order_id: string;
|
|
22044
|
+
};
|
|
22045
|
+
Returns: {
|
|
22046
|
+
carrier_type: string;
|
|
22047
|
+
idx: number;
|
|
22048
|
+
packages: number;
|
|
22049
|
+
}[];
|
|
22050
|
+
};
|
|
21821
22051
|
logistics_floriday_claim_pushes: {
|
|
21822
22052
|
Args: {
|
|
21823
22053
|
_lease_seconds?: number;
|
|
@@ -22023,6 +22253,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
22023
22253
|
};
|
|
22024
22254
|
Returns: undefined;
|
|
22025
22255
|
};
|
|
22256
|
+
logistics_plan_floriday_order: {
|
|
22257
|
+
Args: {
|
|
22258
|
+
p_buffer_id?: string;
|
|
22259
|
+
p_order_id: string;
|
|
22260
|
+
};
|
|
22261
|
+
Returns: number;
|
|
22262
|
+
};
|
|
22026
22263
|
logistics_plan_impact_orders: {
|
|
22027
22264
|
Args: {
|
|
22028
22265
|
p_order_id: string;
|
|
@@ -22216,6 +22453,14 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
22216
22453
|
};
|
|
22217
22454
|
Returns: string;
|
|
22218
22455
|
};
|
|
22456
|
+
logistics_shipping_note_from_barcode: {
|
|
22457
|
+
Args: {
|
|
22458
|
+
p_allow_reprint?: boolean;
|
|
22459
|
+
p_barcode: string;
|
|
22460
|
+
p_station_id?: string;
|
|
22461
|
+
};
|
|
22462
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22463
|
+
};
|
|
22219
22464
|
logistics_supersede_stale_tasks: {
|
|
22220
22465
|
Args: {
|
|
22221
22466
|
p_keep: string[];
|
|
@@ -22437,6 +22682,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
22437
22682
|
print_job_id: string | null;
|
|
22438
22683
|
printed_at: string | null;
|
|
22439
22684
|
printed_by: string | null;
|
|
22685
|
+
printed_cart_ids: import("../integrations/supabase/types").Json;
|
|
22440
22686
|
printer_id: string | null;
|
|
22441
22687
|
priority: number;
|
|
22442
22688
|
reference: string | null;
|
|
@@ -22486,6 +22732,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
22486
22732
|
print_job_id: string | null;
|
|
22487
22733
|
printed_at: string | null;
|
|
22488
22734
|
printed_by: string | null;
|
|
22735
|
+
printed_cart_ids: import("../integrations/supabase/types").Json;
|
|
22489
22736
|
printer_id: string | null;
|
|
22490
22737
|
priority: number;
|
|
22491
22738
|
reference: string | null;
|
|
@@ -22540,6 +22787,56 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
22540
22787
|
print_job_id: string | null;
|
|
22541
22788
|
printed_at: string | null;
|
|
22542
22789
|
printed_by: string | null;
|
|
22790
|
+
printed_cart_ids: import("../integrations/supabase/types").Json;
|
|
22791
|
+
printer_id: string | null;
|
|
22792
|
+
priority: number;
|
|
22793
|
+
reference: string | null;
|
|
22794
|
+
route: string | null;
|
|
22795
|
+
screen_id: string | null;
|
|
22796
|
+
station_id: string | null;
|
|
22797
|
+
status_id: string | null;
|
|
22798
|
+
updated_at: string;
|
|
22799
|
+
warnings: import("../integrations/supabase/types").Json;
|
|
22800
|
+
};
|
|
22801
|
+
SetofOptions: {
|
|
22802
|
+
from: "*";
|
|
22803
|
+
to: "pick_queue";
|
|
22804
|
+
isOneToOne: true;
|
|
22805
|
+
isSetofReturn: false;
|
|
22806
|
+
};
|
|
22807
|
+
};
|
|
22808
|
+
pick_complete_print_cart: {
|
|
22809
|
+
Args: {
|
|
22810
|
+
_cart_id: string;
|
|
22811
|
+
_printer_id: string;
|
|
22812
|
+
_queue_item_id: string;
|
|
22813
|
+
_session_id: string;
|
|
22814
|
+
};
|
|
22815
|
+
Returns: {
|
|
22816
|
+
announced_at: string;
|
|
22817
|
+
assigned_user_id: string | null;
|
|
22818
|
+
barcode: string | null;
|
|
22819
|
+
cancelled_at: string | null;
|
|
22820
|
+
cart_count: number;
|
|
22821
|
+
completed_at: string | null;
|
|
22822
|
+
country_code: string | null;
|
|
22823
|
+
created_at: string;
|
|
22824
|
+
customer_name: string | null;
|
|
22825
|
+
delivery_address: string | null;
|
|
22826
|
+
document_number: string | null;
|
|
22827
|
+
document_type_id: string | null;
|
|
22828
|
+
due_at: string | null;
|
|
22829
|
+
id: string;
|
|
22830
|
+
is_urgent: boolean;
|
|
22831
|
+
line_count: number;
|
|
22832
|
+
order_number: string | null;
|
|
22833
|
+
order_type: string | null;
|
|
22834
|
+
payload: import("../integrations/supabase/types").Json;
|
|
22835
|
+
print_count: number;
|
|
22836
|
+
print_job_id: string | null;
|
|
22837
|
+
printed_at: string | null;
|
|
22838
|
+
printed_by: string | null;
|
|
22839
|
+
printed_cart_ids: import("../integrations/supabase/types").Json;
|
|
22543
22840
|
printer_id: string | null;
|
|
22544
22841
|
priority: number;
|
|
22545
22842
|
reference: string | null;
|
|
@@ -22583,6 +22880,15 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
22583
22880
|
_session_id?: string;
|
|
22584
22881
|
};
|
|
22585
22882
|
Returns: string;
|
|
22883
|
+
} | {
|
|
22884
|
+
Args: {
|
|
22885
|
+
_cart_id: string;
|
|
22886
|
+
_is_herprint: boolean;
|
|
22887
|
+
_printer_id: string;
|
|
22888
|
+
_queue_item_id: string;
|
|
22889
|
+
_session_id: string;
|
|
22890
|
+
};
|
|
22891
|
+
Returns: string;
|
|
22586
22892
|
};
|
|
22587
22893
|
pick_order_context: {
|
|
22588
22894
|
Args: {
|
|
@@ -22663,6 +22969,54 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
22663
22969
|
print_job_id: string | null;
|
|
22664
22970
|
printed_at: string | null;
|
|
22665
22971
|
printed_by: string | null;
|
|
22972
|
+
printed_cart_ids: import("../integrations/supabase/types").Json;
|
|
22973
|
+
printer_id: string | null;
|
|
22974
|
+
priority: number;
|
|
22975
|
+
reference: string | null;
|
|
22976
|
+
route: string | null;
|
|
22977
|
+
screen_id: string | null;
|
|
22978
|
+
station_id: string | null;
|
|
22979
|
+
status_id: string | null;
|
|
22980
|
+
updated_at: string;
|
|
22981
|
+
warnings: import("../integrations/supabase/types").Json;
|
|
22982
|
+
};
|
|
22983
|
+
SetofOptions: {
|
|
22984
|
+
from: "*";
|
|
22985
|
+
to: "pick_queue";
|
|
22986
|
+
isOneToOne: true;
|
|
22987
|
+
isSetofReturn: false;
|
|
22988
|
+
};
|
|
22989
|
+
} | {
|
|
22990
|
+
Args: {
|
|
22991
|
+
_cart_id?: string;
|
|
22992
|
+
_queue_item_id: string;
|
|
22993
|
+
_session_id: string;
|
|
22994
|
+
};
|
|
22995
|
+
Returns: {
|
|
22996
|
+
announced_at: string;
|
|
22997
|
+
assigned_user_id: string | null;
|
|
22998
|
+
barcode: string | null;
|
|
22999
|
+
cancelled_at: string | null;
|
|
23000
|
+
cart_count: number;
|
|
23001
|
+
completed_at: string | null;
|
|
23002
|
+
country_code: string | null;
|
|
23003
|
+
created_at: string;
|
|
23004
|
+
customer_name: string | null;
|
|
23005
|
+
delivery_address: string | null;
|
|
23006
|
+
document_number: string | null;
|
|
23007
|
+
document_type_id: string | null;
|
|
23008
|
+
due_at: string | null;
|
|
23009
|
+
id: string;
|
|
23010
|
+
is_urgent: boolean;
|
|
23011
|
+
line_count: number;
|
|
23012
|
+
order_number: string | null;
|
|
23013
|
+
order_type: string | null;
|
|
23014
|
+
payload: import("../integrations/supabase/types").Json;
|
|
23015
|
+
print_count: number;
|
|
23016
|
+
print_job_id: string | null;
|
|
23017
|
+
printed_at: string | null;
|
|
23018
|
+
printed_by: string | null;
|
|
23019
|
+
printed_cart_ids: import("../integrations/supabase/types").Json;
|
|
22666
23020
|
printer_id: string | null;
|
|
22667
23021
|
priority: number;
|
|
22668
23022
|
reference: string | null;
|
|
@@ -22775,6 +23129,66 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
22775
23129
|
};
|
|
22776
23130
|
Returns: undefined;
|
|
22777
23131
|
};
|
|
23132
|
+
planning_cancel_item: {
|
|
23133
|
+
Args: {
|
|
23134
|
+
_id: string;
|
|
23135
|
+
};
|
|
23136
|
+
Returns: undefined;
|
|
23137
|
+
};
|
|
23138
|
+
planning_list: {
|
|
23139
|
+
Args: {
|
|
23140
|
+
_from: string;
|
|
23141
|
+
_to: string;
|
|
23142
|
+
};
|
|
23143
|
+
Returns: {
|
|
23144
|
+
assigned_monteur_id: string | null;
|
|
23145
|
+
assistants: import("../integrations/supabase/types").Json | null;
|
|
23146
|
+
budget_mandate_cents: number | null;
|
|
23147
|
+
created_at: string | null;
|
|
23148
|
+
created_by: string | null;
|
|
23149
|
+
customer_id: string | null;
|
|
23150
|
+
customer_name: string | null;
|
|
23151
|
+
duration_minutes: number | null;
|
|
23152
|
+
end_at: string | null;
|
|
23153
|
+
id: string | null;
|
|
23154
|
+
needs_detail_review: boolean | null;
|
|
23155
|
+
notes: string | null;
|
|
23156
|
+
project_number: string | null;
|
|
23157
|
+
review_reasons: string[] | null;
|
|
23158
|
+
start_at: string | null;
|
|
23159
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"] | null;
|
|
23160
|
+
updated_at: string | null;
|
|
23161
|
+
viewer_role: string | null;
|
|
23162
|
+
werkbon_id: string | null;
|
|
23163
|
+
work_address: string | null;
|
|
23164
|
+
}[];
|
|
23165
|
+
SetofOptions: {
|
|
23166
|
+
from: "*";
|
|
23167
|
+
to: "planning_overview";
|
|
23168
|
+
isOneToOne: false;
|
|
23169
|
+
isSetofReturn: true;
|
|
23170
|
+
};
|
|
23171
|
+
};
|
|
23172
|
+
planning_set_assistants: {
|
|
23173
|
+
Args: {
|
|
23174
|
+
_monteur_ids: string[];
|
|
23175
|
+
_planning_item_id: string;
|
|
23176
|
+
};
|
|
23177
|
+
Returns: undefined;
|
|
23178
|
+
};
|
|
23179
|
+
planning_upsert_item: {
|
|
23180
|
+
Args: {
|
|
23181
|
+
_assigned_monteur_id: string;
|
|
23182
|
+
_end_at: string;
|
|
23183
|
+
_notes?: string;
|
|
23184
|
+
_start_at: string;
|
|
23185
|
+
_werkbon_id: string;
|
|
23186
|
+
};
|
|
23187
|
+
Returns: {
|
|
23188
|
+
action: string;
|
|
23189
|
+
id: string;
|
|
23190
|
+
}[];
|
|
23191
|
+
};
|
|
22778
23192
|
print_preview_toestaan: {
|
|
22779
23193
|
Args: {
|
|
22780
23194
|
_max?: number;
|
|
@@ -23356,6 +23770,26 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
23356
23770
|
};
|
|
23357
23771
|
Returns: string[];
|
|
23358
23772
|
};
|
|
23773
|
+
start_time_log_at: {
|
|
23774
|
+
Args: {
|
|
23775
|
+
p_clicked_at?: string;
|
|
23776
|
+
p_employee_id: string;
|
|
23777
|
+
p_start_lat?: number;
|
|
23778
|
+
p_start_lng?: number;
|
|
23779
|
+
p_type: string;
|
|
23780
|
+
p_work_order_id?: string;
|
|
23781
|
+
};
|
|
23782
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23783
|
+
};
|
|
23784
|
+
stop_time_log: {
|
|
23785
|
+
Args: {
|
|
23786
|
+
p_employee_id: string;
|
|
23787
|
+
p_end_lat?: number;
|
|
23788
|
+
p_end_lng?: number;
|
|
23789
|
+
p_end_time: string;
|
|
23790
|
+
};
|
|
23791
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23792
|
+
};
|
|
23359
23793
|
switch_time_log: {
|
|
23360
23794
|
Args: {
|
|
23361
23795
|
p_employee_id: string;
|