@flowselections/floriday-authenticatie-module 1.0.21 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +385 -3
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +385 -3
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +385 -3
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +389 -3
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/central-auth.server.d.ts +17 -0
- package/dist-lib/lib/central-auth.server.d.ts.map +1 -0
- package/dist-lib/lib/central-auth.server.js +65 -0
- package/dist-lib/lib/floricode.functions.d.ts +2757 -83
- package/dist-lib/lib/floricode.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auction-letters.functions.d.ts +385 -3
- package/dist-lib/lib/floriday-auction-letters.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-labels.functions.d.ts +385 -3
- package/dist-lib/lib/floriday-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +2310 -18
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-stickers.functions.d.ts +385 -3
- package/dist-lib/lib/floriday-stickers.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-sync.functions.d.ts +12493 -651
- package/dist-lib/lib/floriday-sync.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +2310 -18
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +7178 -302
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.js +9 -21
- package/dist-lib/lib/gateway/cache-tables.d.ts +2 -0
- package/dist-lib/lib/gateway/cache-tables.d.ts.map +1 -0
- package/dist-lib/lib/gateway/cache-tables.js +27 -0
- package/dist-lib/lib/gateway/cached-list.d.ts +15 -0
- package/dist-lib/lib/gateway/cached-list.d.ts.map +1 -0
- package/dist-lib/lib/gateway/cached-list.js +35 -0
- package/dist-lib/lib/gateway/index.d.ts +4 -0
- package/dist-lib/lib/gateway/index.d.ts.map +1 -0
- package/dist-lib/lib/gateway/index.js +3 -0
- package/dist-lib/lib/gateway/shared.d.ts +2 -0
- package/dist-lib/lib/gateway/shared.d.ts.map +1 -0
- package/dist-lib/lib/gateway/shared.js +3 -0
- package/package.json +7 -3
|
@@ -1039,6 +1039,141 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
1039
1039
|
};
|
|
1040
1040
|
Relationships: [];
|
|
1041
1041
|
};
|
|
1042
|
+
cart_planning_pick_times: {
|
|
1043
|
+
Row: {
|
|
1044
|
+
created_at: string;
|
|
1045
|
+
id: string;
|
|
1046
|
+
pot_size: string;
|
|
1047
|
+
seconds_per_cart: number;
|
|
1048
|
+
updated_at: string;
|
|
1049
|
+
};
|
|
1050
|
+
Insert: {
|
|
1051
|
+
created_at?: string;
|
|
1052
|
+
id?: string;
|
|
1053
|
+
pot_size: string;
|
|
1054
|
+
seconds_per_cart: number;
|
|
1055
|
+
updated_at?: string;
|
|
1056
|
+
};
|
|
1057
|
+
Update: {
|
|
1058
|
+
created_at?: string;
|
|
1059
|
+
id?: string;
|
|
1060
|
+
pot_size?: string;
|
|
1061
|
+
seconds_per_cart?: number;
|
|
1062
|
+
updated_at?: string;
|
|
1063
|
+
};
|
|
1064
|
+
Relationships: [];
|
|
1065
|
+
};
|
|
1066
|
+
cart_planning_product_overrides: {
|
|
1067
|
+
Row: {
|
|
1068
|
+
created_at: string;
|
|
1069
|
+
id: string;
|
|
1070
|
+
max_party_share_per_layer_pct_override: number | null;
|
|
1071
|
+
never_mix: boolean;
|
|
1072
|
+
notes: string | null;
|
|
1073
|
+
product_id: string;
|
|
1074
|
+
updated_at: string;
|
|
1075
|
+
};
|
|
1076
|
+
Insert: {
|
|
1077
|
+
created_at?: string;
|
|
1078
|
+
id?: string;
|
|
1079
|
+
max_party_share_per_layer_pct_override?: number | null;
|
|
1080
|
+
never_mix?: boolean;
|
|
1081
|
+
notes?: string | null;
|
|
1082
|
+
product_id: string;
|
|
1083
|
+
updated_at?: string;
|
|
1084
|
+
};
|
|
1085
|
+
Update: {
|
|
1086
|
+
created_at?: string;
|
|
1087
|
+
id?: string;
|
|
1088
|
+
max_party_share_per_layer_pct_override?: number | null;
|
|
1089
|
+
never_mix?: boolean;
|
|
1090
|
+
notes?: string | null;
|
|
1091
|
+
product_id?: string;
|
|
1092
|
+
updated_at?: string;
|
|
1093
|
+
};
|
|
1094
|
+
Relationships: [{
|
|
1095
|
+
foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
|
|
1096
|
+
columns: ["product_id"];
|
|
1097
|
+
isOneToOne: true;
|
|
1098
|
+
referencedRelation: "products";
|
|
1099
|
+
referencedColumns: ["id"];
|
|
1100
|
+
}];
|
|
1101
|
+
};
|
|
1102
|
+
cart_planning_settings: {
|
|
1103
|
+
Row: {
|
|
1104
|
+
allow_editing_after_pickstation_send: boolean;
|
|
1105
|
+
buffer_grouping_mode: string;
|
|
1106
|
+
combine_floriday_orders: boolean;
|
|
1107
|
+
combine_floriday_orders_window: string;
|
|
1108
|
+
combine_orders_scope: string;
|
|
1109
|
+
default_workers: number;
|
|
1110
|
+
id: number;
|
|
1111
|
+
max_beladingen_per_layer: number;
|
|
1112
|
+
max_customers_per_cart: number;
|
|
1113
|
+
max_one_customer_per_layer: boolean;
|
|
1114
|
+
max_party_share_per_layer_pct: number;
|
|
1115
|
+
optimization_strategy: string;
|
|
1116
|
+
own_cart_from_layers: number;
|
|
1117
|
+
pick_time_mode: string;
|
|
1118
|
+
plants_per_day: number;
|
|
1119
|
+
plants_per_hour: number;
|
|
1120
|
+
require_same_carrier: boolean;
|
|
1121
|
+
require_same_crate_type: boolean;
|
|
1122
|
+
require_same_delivery_date: boolean;
|
|
1123
|
+
require_same_delivery_location: boolean;
|
|
1124
|
+
updated_at: string;
|
|
1125
|
+
updated_by: string | null;
|
|
1126
|
+
};
|
|
1127
|
+
Insert: {
|
|
1128
|
+
allow_editing_after_pickstation_send?: boolean;
|
|
1129
|
+
buffer_grouping_mode?: string;
|
|
1130
|
+
combine_floriday_orders?: boolean;
|
|
1131
|
+
combine_floriday_orders_window?: string;
|
|
1132
|
+
combine_orders_scope?: string;
|
|
1133
|
+
default_workers?: number;
|
|
1134
|
+
id?: number;
|
|
1135
|
+
max_beladingen_per_layer?: number;
|
|
1136
|
+
max_customers_per_cart?: number;
|
|
1137
|
+
max_one_customer_per_layer?: boolean;
|
|
1138
|
+
max_party_share_per_layer_pct?: number;
|
|
1139
|
+
optimization_strategy?: string;
|
|
1140
|
+
own_cart_from_layers?: number;
|
|
1141
|
+
pick_time_mode?: string;
|
|
1142
|
+
plants_per_day?: number;
|
|
1143
|
+
plants_per_hour?: number;
|
|
1144
|
+
require_same_carrier?: boolean;
|
|
1145
|
+
require_same_crate_type?: boolean;
|
|
1146
|
+
require_same_delivery_date?: boolean;
|
|
1147
|
+
require_same_delivery_location?: boolean;
|
|
1148
|
+
updated_at?: string;
|
|
1149
|
+
updated_by?: string | null;
|
|
1150
|
+
};
|
|
1151
|
+
Update: {
|
|
1152
|
+
allow_editing_after_pickstation_send?: boolean;
|
|
1153
|
+
buffer_grouping_mode?: string;
|
|
1154
|
+
combine_floriday_orders?: boolean;
|
|
1155
|
+
combine_floriday_orders_window?: string;
|
|
1156
|
+
combine_orders_scope?: string;
|
|
1157
|
+
default_workers?: number;
|
|
1158
|
+
id?: number;
|
|
1159
|
+
max_beladingen_per_layer?: number;
|
|
1160
|
+
max_customers_per_cart?: number;
|
|
1161
|
+
max_one_customer_per_layer?: boolean;
|
|
1162
|
+
max_party_share_per_layer_pct?: number;
|
|
1163
|
+
optimization_strategy?: string;
|
|
1164
|
+
own_cart_from_layers?: number;
|
|
1165
|
+
pick_time_mode?: string;
|
|
1166
|
+
plants_per_day?: number;
|
|
1167
|
+
plants_per_hour?: number;
|
|
1168
|
+
require_same_carrier?: boolean;
|
|
1169
|
+
require_same_crate_type?: boolean;
|
|
1170
|
+
require_same_delivery_date?: boolean;
|
|
1171
|
+
require_same_delivery_location?: boolean;
|
|
1172
|
+
updated_at?: string;
|
|
1173
|
+
updated_by?: string | null;
|
|
1174
|
+
};
|
|
1175
|
+
Relationships: [];
|
|
1176
|
+
};
|
|
1042
1177
|
cart_replan_queue: {
|
|
1043
1178
|
Row: {
|
|
1044
1179
|
attempts: number;
|
|
@@ -1069,6 +1204,39 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
1069
1204
|
referencedColumns: ["id"];
|
|
1070
1205
|
}];
|
|
1071
1206
|
};
|
|
1207
|
+
cart_types: {
|
|
1208
|
+
Row: {
|
|
1209
|
+
created_at: string;
|
|
1210
|
+
id: string;
|
|
1211
|
+
is_default: boolean;
|
|
1212
|
+
layer_length_cm: number;
|
|
1213
|
+
layer_width_cm: number;
|
|
1214
|
+
layers_per_cart: number;
|
|
1215
|
+
name: string;
|
|
1216
|
+
updated_at: string;
|
|
1217
|
+
};
|
|
1218
|
+
Insert: {
|
|
1219
|
+
created_at?: string;
|
|
1220
|
+
id?: string;
|
|
1221
|
+
is_default?: boolean;
|
|
1222
|
+
layer_length_cm: number;
|
|
1223
|
+
layer_width_cm: number;
|
|
1224
|
+
layers_per_cart?: number;
|
|
1225
|
+
name: string;
|
|
1226
|
+
updated_at?: string;
|
|
1227
|
+
};
|
|
1228
|
+
Update: {
|
|
1229
|
+
created_at?: string;
|
|
1230
|
+
id?: string;
|
|
1231
|
+
is_default?: boolean;
|
|
1232
|
+
layer_length_cm?: number;
|
|
1233
|
+
layer_width_cm?: number;
|
|
1234
|
+
layers_per_cart?: number;
|
|
1235
|
+
name?: string;
|
|
1236
|
+
updated_at?: string;
|
|
1237
|
+
};
|
|
1238
|
+
Relationships: [];
|
|
1239
|
+
};
|
|
1072
1240
|
collections: {
|
|
1073
1241
|
Row: {
|
|
1074
1242
|
created_at: string;
|
|
@@ -1093,6 +1261,36 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
1093
1261
|
};
|
|
1094
1262
|
Relationships: [];
|
|
1095
1263
|
};
|
|
1264
|
+
crate_types: {
|
|
1265
|
+
Row: {
|
|
1266
|
+
created_at: string;
|
|
1267
|
+
id: string;
|
|
1268
|
+
length_cm: number;
|
|
1269
|
+
name: string;
|
|
1270
|
+
plants_per_crate: number;
|
|
1271
|
+
updated_at: string;
|
|
1272
|
+
width_cm: number;
|
|
1273
|
+
};
|
|
1274
|
+
Insert: {
|
|
1275
|
+
created_at?: string;
|
|
1276
|
+
id?: string;
|
|
1277
|
+
length_cm: number;
|
|
1278
|
+
name: string;
|
|
1279
|
+
plants_per_crate?: number;
|
|
1280
|
+
updated_at?: string;
|
|
1281
|
+
width_cm: number;
|
|
1282
|
+
};
|
|
1283
|
+
Update: {
|
|
1284
|
+
created_at?: string;
|
|
1285
|
+
id?: string;
|
|
1286
|
+
length_cm?: number;
|
|
1287
|
+
name?: string;
|
|
1288
|
+
plants_per_crate?: number;
|
|
1289
|
+
updated_at?: string;
|
|
1290
|
+
width_cm?: number;
|
|
1291
|
+
};
|
|
1292
|
+
Relationships: [];
|
|
1293
|
+
};
|
|
1096
1294
|
customer_audit_log: {
|
|
1097
1295
|
Row: {
|
|
1098
1296
|
action: string;
|
|
@@ -5008,6 +5206,27 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
5008
5206
|
referencedColumns: ["id"];
|
|
5009
5207
|
}];
|
|
5010
5208
|
};
|
|
5209
|
+
floriday_vbn_required_characteristics: {
|
|
5210
|
+
Row: {
|
|
5211
|
+
required_codes: string[];
|
|
5212
|
+
updated_at: string;
|
|
5213
|
+
updated_by: string | null;
|
|
5214
|
+
vbn_code: string;
|
|
5215
|
+
};
|
|
5216
|
+
Insert: {
|
|
5217
|
+
required_codes?: string[];
|
|
5218
|
+
updated_at?: string;
|
|
5219
|
+
updated_by?: string | null;
|
|
5220
|
+
vbn_code: string;
|
|
5221
|
+
};
|
|
5222
|
+
Update: {
|
|
5223
|
+
required_codes?: string[];
|
|
5224
|
+
updated_at?: string;
|
|
5225
|
+
updated_by?: string | null;
|
|
5226
|
+
vbn_code?: string;
|
|
5227
|
+
};
|
|
5228
|
+
Relationships: [];
|
|
5229
|
+
};
|
|
5011
5230
|
floriday_warehouses_cache: {
|
|
5012
5231
|
Row: {
|
|
5013
5232
|
connection_id: string;
|
|
@@ -5710,6 +5929,69 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
5710
5929
|
};
|
|
5711
5930
|
Relationships: [];
|
|
5712
5931
|
};
|
|
5932
|
+
logistics_capacity_events: {
|
|
5933
|
+
Row: {
|
|
5934
|
+
available_carts: number;
|
|
5935
|
+
created_at: string;
|
|
5936
|
+
id: string;
|
|
5937
|
+
measures: import("../integrations/supabase/types").Json;
|
|
5938
|
+
note: string | null;
|
|
5939
|
+
outcome: string;
|
|
5940
|
+
required_carts: number;
|
|
5941
|
+
reserve_minutes: number;
|
|
5942
|
+
shortage_carts: number;
|
|
5943
|
+
status: string;
|
|
5944
|
+
user_id: string;
|
|
5945
|
+
};
|
|
5946
|
+
Insert: {
|
|
5947
|
+
available_carts?: number;
|
|
5948
|
+
created_at?: string;
|
|
5949
|
+
id?: string;
|
|
5950
|
+
measures?: import("../integrations/supabase/types").Json;
|
|
5951
|
+
note?: string | null;
|
|
5952
|
+
outcome?: string;
|
|
5953
|
+
required_carts?: number;
|
|
5954
|
+
reserve_minutes?: number;
|
|
5955
|
+
shortage_carts?: number;
|
|
5956
|
+
status: string;
|
|
5957
|
+
user_id: string;
|
|
5958
|
+
};
|
|
5959
|
+
Update: {
|
|
5960
|
+
available_carts?: number;
|
|
5961
|
+
created_at?: string;
|
|
5962
|
+
id?: string;
|
|
5963
|
+
measures?: import("../integrations/supabase/types").Json;
|
|
5964
|
+
note?: string | null;
|
|
5965
|
+
outcome?: string;
|
|
5966
|
+
required_carts?: number;
|
|
5967
|
+
reserve_minutes?: number;
|
|
5968
|
+
shortage_carts?: number;
|
|
5969
|
+
status?: string;
|
|
5970
|
+
user_id?: string;
|
|
5971
|
+
};
|
|
5972
|
+
Relationships: [];
|
|
5973
|
+
};
|
|
5974
|
+
logistics_capacity_settings: {
|
|
5975
|
+
Row: {
|
|
5976
|
+
created_at: string;
|
|
5977
|
+
settings: import("../integrations/supabase/types").Json;
|
|
5978
|
+
updated_at: string;
|
|
5979
|
+
user_id: string;
|
|
5980
|
+
};
|
|
5981
|
+
Insert: {
|
|
5982
|
+
created_at?: string;
|
|
5983
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
5984
|
+
updated_at?: string;
|
|
5985
|
+
user_id: string;
|
|
5986
|
+
};
|
|
5987
|
+
Update: {
|
|
5988
|
+
created_at?: string;
|
|
5989
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
5990
|
+
updated_at?: string;
|
|
5991
|
+
user_id?: string;
|
|
5992
|
+
};
|
|
5993
|
+
Relationships: [];
|
|
5994
|
+
};
|
|
5713
5995
|
logistics_decisions: {
|
|
5714
5996
|
Row: {
|
|
5715
5997
|
created_at: string;
|
|
@@ -7105,6 +7387,42 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7105
7387
|
};
|
|
7106
7388
|
Relationships: [];
|
|
7107
7389
|
};
|
|
7390
|
+
order_buffers: {
|
|
7391
|
+
Row: {
|
|
7392
|
+
buffer_key: string;
|
|
7393
|
+
created_at: string;
|
|
7394
|
+
customer_id: string | null;
|
|
7395
|
+
grouping_mode: string;
|
|
7396
|
+
id: string;
|
|
7397
|
+
pickup_date: string | null;
|
|
7398
|
+
pickup_location: string | null;
|
|
7399
|
+
plan_locked_at: string | null;
|
|
7400
|
+
updated_at: string;
|
|
7401
|
+
};
|
|
7402
|
+
Insert: {
|
|
7403
|
+
buffer_key: string;
|
|
7404
|
+
created_at?: string;
|
|
7405
|
+
customer_id?: string | null;
|
|
7406
|
+
grouping_mode: string;
|
|
7407
|
+
id?: string;
|
|
7408
|
+
pickup_date?: string | null;
|
|
7409
|
+
pickup_location?: string | null;
|
|
7410
|
+
plan_locked_at?: string | null;
|
|
7411
|
+
updated_at?: string;
|
|
7412
|
+
};
|
|
7413
|
+
Update: {
|
|
7414
|
+
buffer_key?: string;
|
|
7415
|
+
created_at?: string;
|
|
7416
|
+
customer_id?: string | null;
|
|
7417
|
+
grouping_mode?: string;
|
|
7418
|
+
id?: string;
|
|
7419
|
+
pickup_date?: string | null;
|
|
7420
|
+
pickup_location?: string | null;
|
|
7421
|
+
plan_locked_at?: string | null;
|
|
7422
|
+
updated_at?: string;
|
|
7423
|
+
};
|
|
7424
|
+
Relationships: [];
|
|
7425
|
+
};
|
|
7108
7426
|
order_cart_items: {
|
|
7109
7427
|
Row: {
|
|
7110
7428
|
cart_id: string;
|
|
@@ -7171,6 +7489,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7171
7489
|
order_carts: {
|
|
7172
7490
|
Row: {
|
|
7173
7491
|
algorithm_version: number;
|
|
7492
|
+
buffer_id: string | null;
|
|
7174
7493
|
cart_number: number;
|
|
7175
7494
|
created_at: string;
|
|
7176
7495
|
id: string;
|
|
@@ -7178,13 +7497,14 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7178
7497
|
is_complete: boolean;
|
|
7179
7498
|
notes: string | null;
|
|
7180
7499
|
occupancy_pct: number;
|
|
7181
|
-
order_id: string;
|
|
7500
|
+
order_id: string | null;
|
|
7182
7501
|
source: string;
|
|
7183
7502
|
total_layers_used: number;
|
|
7184
7503
|
updated_at: string;
|
|
7185
7504
|
};
|
|
7186
7505
|
Insert: {
|
|
7187
7506
|
algorithm_version?: number;
|
|
7507
|
+
buffer_id?: string | null;
|
|
7188
7508
|
cart_number: number;
|
|
7189
7509
|
created_at?: string;
|
|
7190
7510
|
id?: string;
|
|
@@ -7192,13 +7512,14 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7192
7512
|
is_complete?: boolean;
|
|
7193
7513
|
notes?: string | null;
|
|
7194
7514
|
occupancy_pct?: number;
|
|
7195
|
-
order_id
|
|
7515
|
+
order_id?: string | null;
|
|
7196
7516
|
source?: string;
|
|
7197
7517
|
total_layers_used?: number;
|
|
7198
7518
|
updated_at?: string;
|
|
7199
7519
|
};
|
|
7200
7520
|
Update: {
|
|
7201
7521
|
algorithm_version?: number;
|
|
7522
|
+
buffer_id?: string | null;
|
|
7202
7523
|
cart_number?: number;
|
|
7203
7524
|
created_at?: string;
|
|
7204
7525
|
id?: string;
|
|
@@ -7206,12 +7527,18 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7206
7527
|
is_complete?: boolean;
|
|
7207
7528
|
notes?: string | null;
|
|
7208
7529
|
occupancy_pct?: number;
|
|
7209
|
-
order_id?: string;
|
|
7530
|
+
order_id?: string | null;
|
|
7210
7531
|
source?: string;
|
|
7211
7532
|
total_layers_used?: number;
|
|
7212
7533
|
updated_at?: string;
|
|
7213
7534
|
};
|
|
7214
7535
|
Relationships: [{
|
|
7536
|
+
foreignKeyName: "order_carts_buffer_id_fkey";
|
|
7537
|
+
columns: ["buffer_id"];
|
|
7538
|
+
isOneToOne: false;
|
|
7539
|
+
referencedRelation: "order_buffers";
|
|
7540
|
+
referencedColumns: ["id"];
|
|
7541
|
+
}, {
|
|
7215
7542
|
foreignKeyName: "order_carts_order_id_fkey";
|
|
7216
7543
|
columns: ["order_id"];
|
|
7217
7544
|
isOneToOne: false;
|
|
@@ -7449,12 +7776,14 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7449
7776
|
};
|
|
7450
7777
|
orders: {
|
|
7451
7778
|
Row: {
|
|
7779
|
+
buffer_id: string | null;
|
|
7452
7780
|
created_at: string;
|
|
7453
7781
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
7454
7782
|
customer_id: string | null;
|
|
7455
7783
|
customer_name: string;
|
|
7456
7784
|
deleted_at: string | null;
|
|
7457
7785
|
delivery_date: string | null;
|
|
7786
|
+
floriday_sales_order_id: string | null;
|
|
7458
7787
|
id: string;
|
|
7459
7788
|
is_reservation: boolean;
|
|
7460
7789
|
notes: string | null;
|
|
@@ -7468,12 +7797,14 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7468
7797
|
updated_at: string;
|
|
7469
7798
|
};
|
|
7470
7799
|
Insert: {
|
|
7800
|
+
buffer_id?: string | null;
|
|
7471
7801
|
created_at?: string;
|
|
7472
7802
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
7473
7803
|
customer_id?: string | null;
|
|
7474
7804
|
customer_name?: string;
|
|
7475
7805
|
deleted_at?: string | null;
|
|
7476
7806
|
delivery_date?: string | null;
|
|
7807
|
+
floriday_sales_order_id?: string | null;
|
|
7477
7808
|
id?: string;
|
|
7478
7809
|
is_reservation?: boolean;
|
|
7479
7810
|
notes?: string | null;
|
|
@@ -7487,12 +7818,14 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7487
7818
|
updated_at?: string;
|
|
7488
7819
|
};
|
|
7489
7820
|
Update: {
|
|
7821
|
+
buffer_id?: string | null;
|
|
7490
7822
|
created_at?: string;
|
|
7491
7823
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
7492
7824
|
customer_id?: string | null;
|
|
7493
7825
|
customer_name?: string;
|
|
7494
7826
|
deleted_at?: string | null;
|
|
7495
7827
|
delivery_date?: string | null;
|
|
7828
|
+
floriday_sales_order_id?: string | null;
|
|
7496
7829
|
id?: string;
|
|
7497
7830
|
is_reservation?: boolean;
|
|
7498
7831
|
notes?: string | null;
|
|
@@ -7506,6 +7839,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7506
7839
|
updated_at?: string;
|
|
7507
7840
|
};
|
|
7508
7841
|
Relationships: [{
|
|
7842
|
+
foreignKeyName: "orders_buffer_id_fkey";
|
|
7843
|
+
columns: ["buffer_id"];
|
|
7844
|
+
isOneToOne: false;
|
|
7845
|
+
referencedRelation: "order_buffers";
|
|
7846
|
+
referencedColumns: ["id"];
|
|
7847
|
+
}, {
|
|
7509
7848
|
foreignKeyName: "orders_customer_id_fkey";
|
|
7510
7849
|
columns: ["customer_id"];
|
|
7511
7850
|
isOneToOne: false;
|
|
@@ -7643,6 +7982,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7643
7982
|
created_at: string;
|
|
7644
7983
|
id: string;
|
|
7645
7984
|
notes: string | null;
|
|
7985
|
+
packing_configuration_id: string | null;
|
|
7646
7986
|
parent_product_id: string | null;
|
|
7647
7987
|
parent_trade_item_floriday_id: string | null;
|
|
7648
7988
|
quantity: number;
|
|
@@ -7657,6 +7997,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7657
7997
|
created_at?: string;
|
|
7658
7998
|
id?: string;
|
|
7659
7999
|
notes?: string | null;
|
|
8000
|
+
packing_configuration_id?: string | null;
|
|
7660
8001
|
parent_product_id?: string | null;
|
|
7661
8002
|
parent_trade_item_floriday_id?: string | null;
|
|
7662
8003
|
quantity?: number;
|
|
@@ -7671,6 +8012,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7671
8012
|
created_at?: string;
|
|
7672
8013
|
id?: string;
|
|
7673
8014
|
notes?: string | null;
|
|
8015
|
+
packing_configuration_id?: string | null;
|
|
7674
8016
|
parent_product_id?: string | null;
|
|
7675
8017
|
parent_trade_item_floriday_id?: string | null;
|
|
7676
8018
|
quantity?: number;
|
|
@@ -7872,11 +8214,13 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7872
8214
|
created_at: string;
|
|
7873
8215
|
id: string;
|
|
7874
8216
|
is_package: boolean;
|
|
8217
|
+
label: string | null;
|
|
7875
8218
|
layers_per_load_carrier: number | null;
|
|
7876
8219
|
load_carrier: string | null;
|
|
7877
8220
|
package_id: string | null;
|
|
7878
8221
|
package_label: string | null;
|
|
7879
8222
|
packages_per_layer: number | null;
|
|
8223
|
+
packing_configuration_id: string;
|
|
7880
8224
|
product_id: string | null;
|
|
7881
8225
|
tenant_id: string;
|
|
7882
8226
|
trade_item_floriday_id: string | null;
|
|
@@ -7887,11 +8231,13 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7887
8231
|
created_at?: string;
|
|
7888
8232
|
id?: string;
|
|
7889
8233
|
is_package?: boolean;
|
|
8234
|
+
label?: string | null;
|
|
7890
8235
|
layers_per_load_carrier?: number | null;
|
|
7891
8236
|
load_carrier?: string | null;
|
|
7892
8237
|
package_id?: string | null;
|
|
7893
8238
|
package_label?: string | null;
|
|
7894
8239
|
packages_per_layer?: number | null;
|
|
8240
|
+
packing_configuration_id?: string;
|
|
7895
8241
|
product_id?: string | null;
|
|
7896
8242
|
tenant_id: string;
|
|
7897
8243
|
trade_item_floriday_id?: string | null;
|
|
@@ -7902,11 +8248,13 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7902
8248
|
created_at?: string;
|
|
7903
8249
|
id?: string;
|
|
7904
8250
|
is_package?: boolean;
|
|
8251
|
+
label?: string | null;
|
|
7905
8252
|
layers_per_load_carrier?: number | null;
|
|
7906
8253
|
load_carrier?: string | null;
|
|
7907
8254
|
package_id?: string | null;
|
|
7908
8255
|
package_label?: string | null;
|
|
7909
8256
|
packages_per_layer?: number | null;
|
|
8257
|
+
packing_configuration_id?: string;
|
|
7910
8258
|
product_id?: string | null;
|
|
7911
8259
|
tenant_id?: string;
|
|
7912
8260
|
trade_item_floriday_id?: string | null;
|
|
@@ -7987,6 +8335,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7987
8335
|
trade_item_key: string | null;
|
|
7988
8336
|
unit: string;
|
|
7989
8337
|
updated_at: string;
|
|
8338
|
+
vat_code: string | null;
|
|
8339
|
+
vat_rate: number | null;
|
|
7990
8340
|
weight: string | null;
|
|
7991
8341
|
};
|
|
7992
8342
|
Insert: {
|
|
@@ -8015,6 +8365,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8015
8365
|
trade_item_key?: string | null;
|
|
8016
8366
|
unit?: string;
|
|
8017
8367
|
updated_at?: string;
|
|
8368
|
+
vat_code?: string | null;
|
|
8369
|
+
vat_rate?: number | null;
|
|
8018
8370
|
weight?: string | null;
|
|
8019
8371
|
};
|
|
8020
8372
|
Update: {
|
|
@@ -8043,6 +8395,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8043
8395
|
trade_item_key?: string | null;
|
|
8044
8396
|
unit?: string;
|
|
8045
8397
|
updated_at?: string;
|
|
8398
|
+
vat_code?: string | null;
|
|
8399
|
+
vat_rate?: number | null;
|
|
8046
8400
|
weight?: string | null;
|
|
8047
8401
|
};
|
|
8048
8402
|
Relationships: [];
|
|
@@ -11118,6 +11472,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
11118
11472
|
processed_items: number;
|
|
11119
11473
|
}[];
|
|
11120
11474
|
};
|
|
11475
|
+
calculate_layer_stock: {
|
|
11476
|
+
Args: {
|
|
11477
|
+
p_product_id: string;
|
|
11478
|
+
};
|
|
11479
|
+
Returns: number;
|
|
11480
|
+
};
|
|
11121
11481
|
call_exact_route: {
|
|
11122
11482
|
Args: {
|
|
11123
11483
|
path: string;
|
|
@@ -11487,6 +11847,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
11487
11847
|
};
|
|
11488
11848
|
Returns: string;
|
|
11489
11849
|
};
|
|
11850
|
+
get_inventory_stock_for_key: {
|
|
11851
|
+
Args: {
|
|
11852
|
+
p_key: string;
|
|
11853
|
+
};
|
|
11854
|
+
Returns: number;
|
|
11855
|
+
};
|
|
11490
11856
|
get_offer_by_link_code: {
|
|
11491
11857
|
Args: {
|
|
11492
11858
|
p_code: string;
|
|
@@ -11517,6 +11883,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
11517
11883
|
};
|
|
11518
11884
|
Returns: string;
|
|
11519
11885
|
};
|
|
11886
|
+
get_product_group_available_stock: {
|
|
11887
|
+
Args: {
|
|
11888
|
+
p_group_id: string;
|
|
11889
|
+
};
|
|
11890
|
+
Returns: number;
|
|
11891
|
+
};
|
|
11520
11892
|
get_room_busy_windows: {
|
|
11521
11893
|
Args: {
|
|
11522
11894
|
p_from: string;
|
|
@@ -12083,12 +12455,22 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
12083
12455
|
};
|
|
12084
12456
|
Returns: string[];
|
|
12085
12457
|
};
|
|
12458
|
+
sync_all_layer_stocks: {
|
|
12459
|
+
Args: never;
|
|
12460
|
+
Returns: undefined;
|
|
12461
|
+
};
|
|
12086
12462
|
sync_cached_packing_from_product: {
|
|
12087
12463
|
Args: {
|
|
12088
12464
|
p_product_id: string;
|
|
12089
12465
|
};
|
|
12090
12466
|
Returns: undefined;
|
|
12091
12467
|
};
|
|
12468
|
+
sync_layer_stock: {
|
|
12469
|
+
Args: {
|
|
12470
|
+
p_product_id: string;
|
|
12471
|
+
};
|
|
12472
|
+
Returns: undefined;
|
|
12473
|
+
};
|
|
12092
12474
|
sync_order_cart_item_packing_from_product: {
|
|
12093
12475
|
Args: {
|
|
12094
12476
|
p_product_id: string;
|