@flowselections/floriday-authenticatie-module 1.0.22 → 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 +6 -2
|
@@ -1027,6 +1027,141 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
1027
1027
|
};
|
|
1028
1028
|
Relationships: [];
|
|
1029
1029
|
};
|
|
1030
|
+
cart_planning_pick_times: {
|
|
1031
|
+
Row: {
|
|
1032
|
+
created_at: string;
|
|
1033
|
+
id: string;
|
|
1034
|
+
pot_size: string;
|
|
1035
|
+
seconds_per_cart: number;
|
|
1036
|
+
updated_at: string;
|
|
1037
|
+
};
|
|
1038
|
+
Insert: {
|
|
1039
|
+
created_at?: string;
|
|
1040
|
+
id?: string;
|
|
1041
|
+
pot_size: string;
|
|
1042
|
+
seconds_per_cart: number;
|
|
1043
|
+
updated_at?: string;
|
|
1044
|
+
};
|
|
1045
|
+
Update: {
|
|
1046
|
+
created_at?: string;
|
|
1047
|
+
id?: string;
|
|
1048
|
+
pot_size?: string;
|
|
1049
|
+
seconds_per_cart?: number;
|
|
1050
|
+
updated_at?: string;
|
|
1051
|
+
};
|
|
1052
|
+
Relationships: [];
|
|
1053
|
+
};
|
|
1054
|
+
cart_planning_product_overrides: {
|
|
1055
|
+
Row: {
|
|
1056
|
+
created_at: string;
|
|
1057
|
+
id: string;
|
|
1058
|
+
max_party_share_per_layer_pct_override: number | null;
|
|
1059
|
+
never_mix: boolean;
|
|
1060
|
+
notes: string | null;
|
|
1061
|
+
product_id: string;
|
|
1062
|
+
updated_at: string;
|
|
1063
|
+
};
|
|
1064
|
+
Insert: {
|
|
1065
|
+
created_at?: string;
|
|
1066
|
+
id?: string;
|
|
1067
|
+
max_party_share_per_layer_pct_override?: number | null;
|
|
1068
|
+
never_mix?: boolean;
|
|
1069
|
+
notes?: string | null;
|
|
1070
|
+
product_id: string;
|
|
1071
|
+
updated_at?: string;
|
|
1072
|
+
};
|
|
1073
|
+
Update: {
|
|
1074
|
+
created_at?: string;
|
|
1075
|
+
id?: string;
|
|
1076
|
+
max_party_share_per_layer_pct_override?: number | null;
|
|
1077
|
+
never_mix?: boolean;
|
|
1078
|
+
notes?: string | null;
|
|
1079
|
+
product_id?: string;
|
|
1080
|
+
updated_at?: string;
|
|
1081
|
+
};
|
|
1082
|
+
Relationships: [{
|
|
1083
|
+
foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
|
|
1084
|
+
columns: ["product_id"];
|
|
1085
|
+
isOneToOne: true;
|
|
1086
|
+
referencedRelation: "products";
|
|
1087
|
+
referencedColumns: ["id"];
|
|
1088
|
+
}];
|
|
1089
|
+
};
|
|
1090
|
+
cart_planning_settings: {
|
|
1091
|
+
Row: {
|
|
1092
|
+
allow_editing_after_pickstation_send: boolean;
|
|
1093
|
+
buffer_grouping_mode: string;
|
|
1094
|
+
combine_floriday_orders: boolean;
|
|
1095
|
+
combine_floriday_orders_window: string;
|
|
1096
|
+
combine_orders_scope: string;
|
|
1097
|
+
default_workers: number;
|
|
1098
|
+
id: number;
|
|
1099
|
+
max_beladingen_per_layer: number;
|
|
1100
|
+
max_customers_per_cart: number;
|
|
1101
|
+
max_one_customer_per_layer: boolean;
|
|
1102
|
+
max_party_share_per_layer_pct: number;
|
|
1103
|
+
optimization_strategy: string;
|
|
1104
|
+
own_cart_from_layers: number;
|
|
1105
|
+
pick_time_mode: string;
|
|
1106
|
+
plants_per_day: number;
|
|
1107
|
+
plants_per_hour: number;
|
|
1108
|
+
require_same_carrier: boolean;
|
|
1109
|
+
require_same_crate_type: boolean;
|
|
1110
|
+
require_same_delivery_date: boolean;
|
|
1111
|
+
require_same_delivery_location: boolean;
|
|
1112
|
+
updated_at: string;
|
|
1113
|
+
updated_by: string | null;
|
|
1114
|
+
};
|
|
1115
|
+
Insert: {
|
|
1116
|
+
allow_editing_after_pickstation_send?: boolean;
|
|
1117
|
+
buffer_grouping_mode?: string;
|
|
1118
|
+
combine_floriday_orders?: boolean;
|
|
1119
|
+
combine_floriday_orders_window?: string;
|
|
1120
|
+
combine_orders_scope?: string;
|
|
1121
|
+
default_workers?: number;
|
|
1122
|
+
id?: number;
|
|
1123
|
+
max_beladingen_per_layer?: number;
|
|
1124
|
+
max_customers_per_cart?: number;
|
|
1125
|
+
max_one_customer_per_layer?: boolean;
|
|
1126
|
+
max_party_share_per_layer_pct?: number;
|
|
1127
|
+
optimization_strategy?: string;
|
|
1128
|
+
own_cart_from_layers?: number;
|
|
1129
|
+
pick_time_mode?: string;
|
|
1130
|
+
plants_per_day?: number;
|
|
1131
|
+
plants_per_hour?: number;
|
|
1132
|
+
require_same_carrier?: boolean;
|
|
1133
|
+
require_same_crate_type?: boolean;
|
|
1134
|
+
require_same_delivery_date?: boolean;
|
|
1135
|
+
require_same_delivery_location?: boolean;
|
|
1136
|
+
updated_at?: string;
|
|
1137
|
+
updated_by?: string | null;
|
|
1138
|
+
};
|
|
1139
|
+
Update: {
|
|
1140
|
+
allow_editing_after_pickstation_send?: boolean;
|
|
1141
|
+
buffer_grouping_mode?: string;
|
|
1142
|
+
combine_floriday_orders?: boolean;
|
|
1143
|
+
combine_floriday_orders_window?: string;
|
|
1144
|
+
combine_orders_scope?: string;
|
|
1145
|
+
default_workers?: number;
|
|
1146
|
+
id?: number;
|
|
1147
|
+
max_beladingen_per_layer?: number;
|
|
1148
|
+
max_customers_per_cart?: number;
|
|
1149
|
+
max_one_customer_per_layer?: boolean;
|
|
1150
|
+
max_party_share_per_layer_pct?: number;
|
|
1151
|
+
optimization_strategy?: string;
|
|
1152
|
+
own_cart_from_layers?: number;
|
|
1153
|
+
pick_time_mode?: string;
|
|
1154
|
+
plants_per_day?: number;
|
|
1155
|
+
plants_per_hour?: number;
|
|
1156
|
+
require_same_carrier?: boolean;
|
|
1157
|
+
require_same_crate_type?: boolean;
|
|
1158
|
+
require_same_delivery_date?: boolean;
|
|
1159
|
+
require_same_delivery_location?: boolean;
|
|
1160
|
+
updated_at?: string;
|
|
1161
|
+
updated_by?: string | null;
|
|
1162
|
+
};
|
|
1163
|
+
Relationships: [];
|
|
1164
|
+
};
|
|
1030
1165
|
cart_replan_queue: {
|
|
1031
1166
|
Row: {
|
|
1032
1167
|
attempts: number;
|
|
@@ -1057,6 +1192,39 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
1057
1192
|
referencedColumns: ["id"];
|
|
1058
1193
|
}];
|
|
1059
1194
|
};
|
|
1195
|
+
cart_types: {
|
|
1196
|
+
Row: {
|
|
1197
|
+
created_at: string;
|
|
1198
|
+
id: string;
|
|
1199
|
+
is_default: boolean;
|
|
1200
|
+
layer_length_cm: number;
|
|
1201
|
+
layer_width_cm: number;
|
|
1202
|
+
layers_per_cart: number;
|
|
1203
|
+
name: string;
|
|
1204
|
+
updated_at: string;
|
|
1205
|
+
};
|
|
1206
|
+
Insert: {
|
|
1207
|
+
created_at?: string;
|
|
1208
|
+
id?: string;
|
|
1209
|
+
is_default?: boolean;
|
|
1210
|
+
layer_length_cm: number;
|
|
1211
|
+
layer_width_cm: number;
|
|
1212
|
+
layers_per_cart?: number;
|
|
1213
|
+
name: string;
|
|
1214
|
+
updated_at?: string;
|
|
1215
|
+
};
|
|
1216
|
+
Update: {
|
|
1217
|
+
created_at?: string;
|
|
1218
|
+
id?: string;
|
|
1219
|
+
is_default?: boolean;
|
|
1220
|
+
layer_length_cm?: number;
|
|
1221
|
+
layer_width_cm?: number;
|
|
1222
|
+
layers_per_cart?: number;
|
|
1223
|
+
name?: string;
|
|
1224
|
+
updated_at?: string;
|
|
1225
|
+
};
|
|
1226
|
+
Relationships: [];
|
|
1227
|
+
};
|
|
1060
1228
|
collections: {
|
|
1061
1229
|
Row: {
|
|
1062
1230
|
created_at: string;
|
|
@@ -1081,6 +1249,36 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
1081
1249
|
};
|
|
1082
1250
|
Relationships: [];
|
|
1083
1251
|
};
|
|
1252
|
+
crate_types: {
|
|
1253
|
+
Row: {
|
|
1254
|
+
created_at: string;
|
|
1255
|
+
id: string;
|
|
1256
|
+
length_cm: number;
|
|
1257
|
+
name: string;
|
|
1258
|
+
plants_per_crate: number;
|
|
1259
|
+
updated_at: string;
|
|
1260
|
+
width_cm: number;
|
|
1261
|
+
};
|
|
1262
|
+
Insert: {
|
|
1263
|
+
created_at?: string;
|
|
1264
|
+
id?: string;
|
|
1265
|
+
length_cm: number;
|
|
1266
|
+
name: string;
|
|
1267
|
+
plants_per_crate?: number;
|
|
1268
|
+
updated_at?: string;
|
|
1269
|
+
width_cm: number;
|
|
1270
|
+
};
|
|
1271
|
+
Update: {
|
|
1272
|
+
created_at?: string;
|
|
1273
|
+
id?: string;
|
|
1274
|
+
length_cm?: number;
|
|
1275
|
+
name?: string;
|
|
1276
|
+
plants_per_crate?: number;
|
|
1277
|
+
updated_at?: string;
|
|
1278
|
+
width_cm?: number;
|
|
1279
|
+
};
|
|
1280
|
+
Relationships: [];
|
|
1281
|
+
};
|
|
1084
1282
|
customer_audit_log: {
|
|
1085
1283
|
Row: {
|
|
1086
1284
|
action: string;
|
|
@@ -4996,6 +5194,27 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
4996
5194
|
referencedColumns: ["id"];
|
|
4997
5195
|
}];
|
|
4998
5196
|
};
|
|
5197
|
+
floriday_vbn_required_characteristics: {
|
|
5198
|
+
Row: {
|
|
5199
|
+
required_codes: string[];
|
|
5200
|
+
updated_at: string;
|
|
5201
|
+
updated_by: string | null;
|
|
5202
|
+
vbn_code: string;
|
|
5203
|
+
};
|
|
5204
|
+
Insert: {
|
|
5205
|
+
required_codes?: string[];
|
|
5206
|
+
updated_at?: string;
|
|
5207
|
+
updated_by?: string | null;
|
|
5208
|
+
vbn_code: string;
|
|
5209
|
+
};
|
|
5210
|
+
Update: {
|
|
5211
|
+
required_codes?: string[];
|
|
5212
|
+
updated_at?: string;
|
|
5213
|
+
updated_by?: string | null;
|
|
5214
|
+
vbn_code?: string;
|
|
5215
|
+
};
|
|
5216
|
+
Relationships: [];
|
|
5217
|
+
};
|
|
4999
5218
|
floriday_warehouses_cache: {
|
|
5000
5219
|
Row: {
|
|
5001
5220
|
connection_id: string;
|
|
@@ -5698,6 +5917,69 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
5698
5917
|
};
|
|
5699
5918
|
Relationships: [];
|
|
5700
5919
|
};
|
|
5920
|
+
logistics_capacity_events: {
|
|
5921
|
+
Row: {
|
|
5922
|
+
available_carts: number;
|
|
5923
|
+
created_at: string;
|
|
5924
|
+
id: string;
|
|
5925
|
+
measures: import("./types").Json;
|
|
5926
|
+
note: string | null;
|
|
5927
|
+
outcome: string;
|
|
5928
|
+
required_carts: number;
|
|
5929
|
+
reserve_minutes: number;
|
|
5930
|
+
shortage_carts: number;
|
|
5931
|
+
status: string;
|
|
5932
|
+
user_id: string;
|
|
5933
|
+
};
|
|
5934
|
+
Insert: {
|
|
5935
|
+
available_carts?: number;
|
|
5936
|
+
created_at?: string;
|
|
5937
|
+
id?: string;
|
|
5938
|
+
measures?: import("./types").Json;
|
|
5939
|
+
note?: string | null;
|
|
5940
|
+
outcome?: string;
|
|
5941
|
+
required_carts?: number;
|
|
5942
|
+
reserve_minutes?: number;
|
|
5943
|
+
shortage_carts?: number;
|
|
5944
|
+
status: string;
|
|
5945
|
+
user_id: string;
|
|
5946
|
+
};
|
|
5947
|
+
Update: {
|
|
5948
|
+
available_carts?: number;
|
|
5949
|
+
created_at?: string;
|
|
5950
|
+
id?: string;
|
|
5951
|
+
measures?: import("./types").Json;
|
|
5952
|
+
note?: string | null;
|
|
5953
|
+
outcome?: string;
|
|
5954
|
+
required_carts?: number;
|
|
5955
|
+
reserve_minutes?: number;
|
|
5956
|
+
shortage_carts?: number;
|
|
5957
|
+
status?: string;
|
|
5958
|
+
user_id?: string;
|
|
5959
|
+
};
|
|
5960
|
+
Relationships: [];
|
|
5961
|
+
};
|
|
5962
|
+
logistics_capacity_settings: {
|
|
5963
|
+
Row: {
|
|
5964
|
+
created_at: string;
|
|
5965
|
+
settings: import("./types").Json;
|
|
5966
|
+
updated_at: string;
|
|
5967
|
+
user_id: string;
|
|
5968
|
+
};
|
|
5969
|
+
Insert: {
|
|
5970
|
+
created_at?: string;
|
|
5971
|
+
settings?: import("./types").Json;
|
|
5972
|
+
updated_at?: string;
|
|
5973
|
+
user_id: string;
|
|
5974
|
+
};
|
|
5975
|
+
Update: {
|
|
5976
|
+
created_at?: string;
|
|
5977
|
+
settings?: import("./types").Json;
|
|
5978
|
+
updated_at?: string;
|
|
5979
|
+
user_id?: string;
|
|
5980
|
+
};
|
|
5981
|
+
Relationships: [];
|
|
5982
|
+
};
|
|
5701
5983
|
logistics_decisions: {
|
|
5702
5984
|
Row: {
|
|
5703
5985
|
created_at: string;
|
|
@@ -7093,6 +7375,42 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7093
7375
|
};
|
|
7094
7376
|
Relationships: [];
|
|
7095
7377
|
};
|
|
7378
|
+
order_buffers: {
|
|
7379
|
+
Row: {
|
|
7380
|
+
buffer_key: string;
|
|
7381
|
+
created_at: string;
|
|
7382
|
+
customer_id: string | null;
|
|
7383
|
+
grouping_mode: string;
|
|
7384
|
+
id: string;
|
|
7385
|
+
pickup_date: string | null;
|
|
7386
|
+
pickup_location: string | null;
|
|
7387
|
+
plan_locked_at: string | null;
|
|
7388
|
+
updated_at: string;
|
|
7389
|
+
};
|
|
7390
|
+
Insert: {
|
|
7391
|
+
buffer_key: string;
|
|
7392
|
+
created_at?: string;
|
|
7393
|
+
customer_id?: string | null;
|
|
7394
|
+
grouping_mode: string;
|
|
7395
|
+
id?: string;
|
|
7396
|
+
pickup_date?: string | null;
|
|
7397
|
+
pickup_location?: string | null;
|
|
7398
|
+
plan_locked_at?: string | null;
|
|
7399
|
+
updated_at?: string;
|
|
7400
|
+
};
|
|
7401
|
+
Update: {
|
|
7402
|
+
buffer_key?: string;
|
|
7403
|
+
created_at?: string;
|
|
7404
|
+
customer_id?: string | null;
|
|
7405
|
+
grouping_mode?: string;
|
|
7406
|
+
id?: string;
|
|
7407
|
+
pickup_date?: string | null;
|
|
7408
|
+
pickup_location?: string | null;
|
|
7409
|
+
plan_locked_at?: string | null;
|
|
7410
|
+
updated_at?: string;
|
|
7411
|
+
};
|
|
7412
|
+
Relationships: [];
|
|
7413
|
+
};
|
|
7096
7414
|
order_cart_items: {
|
|
7097
7415
|
Row: {
|
|
7098
7416
|
cart_id: string;
|
|
@@ -7159,6 +7477,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7159
7477
|
order_carts: {
|
|
7160
7478
|
Row: {
|
|
7161
7479
|
algorithm_version: number;
|
|
7480
|
+
buffer_id: string | null;
|
|
7162
7481
|
cart_number: number;
|
|
7163
7482
|
created_at: string;
|
|
7164
7483
|
id: string;
|
|
@@ -7166,13 +7485,14 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7166
7485
|
is_complete: boolean;
|
|
7167
7486
|
notes: string | null;
|
|
7168
7487
|
occupancy_pct: number;
|
|
7169
|
-
order_id: string;
|
|
7488
|
+
order_id: string | null;
|
|
7170
7489
|
source: string;
|
|
7171
7490
|
total_layers_used: number;
|
|
7172
7491
|
updated_at: string;
|
|
7173
7492
|
};
|
|
7174
7493
|
Insert: {
|
|
7175
7494
|
algorithm_version?: number;
|
|
7495
|
+
buffer_id?: string | null;
|
|
7176
7496
|
cart_number: number;
|
|
7177
7497
|
created_at?: string;
|
|
7178
7498
|
id?: string;
|
|
@@ -7180,13 +7500,14 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7180
7500
|
is_complete?: boolean;
|
|
7181
7501
|
notes?: string | null;
|
|
7182
7502
|
occupancy_pct?: number;
|
|
7183
|
-
order_id
|
|
7503
|
+
order_id?: string | null;
|
|
7184
7504
|
source?: string;
|
|
7185
7505
|
total_layers_used?: number;
|
|
7186
7506
|
updated_at?: string;
|
|
7187
7507
|
};
|
|
7188
7508
|
Update: {
|
|
7189
7509
|
algorithm_version?: number;
|
|
7510
|
+
buffer_id?: string | null;
|
|
7190
7511
|
cart_number?: number;
|
|
7191
7512
|
created_at?: string;
|
|
7192
7513
|
id?: string;
|
|
@@ -7194,12 +7515,18 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7194
7515
|
is_complete?: boolean;
|
|
7195
7516
|
notes?: string | null;
|
|
7196
7517
|
occupancy_pct?: number;
|
|
7197
|
-
order_id?: string;
|
|
7518
|
+
order_id?: string | null;
|
|
7198
7519
|
source?: string;
|
|
7199
7520
|
total_layers_used?: number;
|
|
7200
7521
|
updated_at?: string;
|
|
7201
7522
|
};
|
|
7202
7523
|
Relationships: [{
|
|
7524
|
+
foreignKeyName: "order_carts_buffer_id_fkey";
|
|
7525
|
+
columns: ["buffer_id"];
|
|
7526
|
+
isOneToOne: false;
|
|
7527
|
+
referencedRelation: "order_buffers";
|
|
7528
|
+
referencedColumns: ["id"];
|
|
7529
|
+
}, {
|
|
7203
7530
|
foreignKeyName: "order_carts_order_id_fkey";
|
|
7204
7531
|
columns: ["order_id"];
|
|
7205
7532
|
isOneToOne: false;
|
|
@@ -7437,12 +7764,14 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7437
7764
|
};
|
|
7438
7765
|
orders: {
|
|
7439
7766
|
Row: {
|
|
7767
|
+
buffer_id: string | null;
|
|
7440
7768
|
created_at: string;
|
|
7441
7769
|
custom_fields: import("./types").Json;
|
|
7442
7770
|
customer_id: string | null;
|
|
7443
7771
|
customer_name: string;
|
|
7444
7772
|
deleted_at: string | null;
|
|
7445
7773
|
delivery_date: string | null;
|
|
7774
|
+
floriday_sales_order_id: string | null;
|
|
7446
7775
|
id: string;
|
|
7447
7776
|
is_reservation: boolean;
|
|
7448
7777
|
notes: string | null;
|
|
@@ -7456,12 +7785,14 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7456
7785
|
updated_at: string;
|
|
7457
7786
|
};
|
|
7458
7787
|
Insert: {
|
|
7788
|
+
buffer_id?: string | null;
|
|
7459
7789
|
created_at?: string;
|
|
7460
7790
|
custom_fields?: import("./types").Json;
|
|
7461
7791
|
customer_id?: string | null;
|
|
7462
7792
|
customer_name?: string;
|
|
7463
7793
|
deleted_at?: string | null;
|
|
7464
7794
|
delivery_date?: string | null;
|
|
7795
|
+
floriday_sales_order_id?: string | null;
|
|
7465
7796
|
id?: string;
|
|
7466
7797
|
is_reservation?: boolean;
|
|
7467
7798
|
notes?: string | null;
|
|
@@ -7475,12 +7806,14 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7475
7806
|
updated_at?: string;
|
|
7476
7807
|
};
|
|
7477
7808
|
Update: {
|
|
7809
|
+
buffer_id?: string | null;
|
|
7478
7810
|
created_at?: string;
|
|
7479
7811
|
custom_fields?: import("./types").Json;
|
|
7480
7812
|
customer_id?: string | null;
|
|
7481
7813
|
customer_name?: string;
|
|
7482
7814
|
deleted_at?: string | null;
|
|
7483
7815
|
delivery_date?: string | null;
|
|
7816
|
+
floriday_sales_order_id?: string | null;
|
|
7484
7817
|
id?: string;
|
|
7485
7818
|
is_reservation?: boolean;
|
|
7486
7819
|
notes?: string | null;
|
|
@@ -7494,6 +7827,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7494
7827
|
updated_at?: string;
|
|
7495
7828
|
};
|
|
7496
7829
|
Relationships: [{
|
|
7830
|
+
foreignKeyName: "orders_buffer_id_fkey";
|
|
7831
|
+
columns: ["buffer_id"];
|
|
7832
|
+
isOneToOne: false;
|
|
7833
|
+
referencedRelation: "order_buffers";
|
|
7834
|
+
referencedColumns: ["id"];
|
|
7835
|
+
}, {
|
|
7497
7836
|
foreignKeyName: "orders_customer_id_fkey";
|
|
7498
7837
|
columns: ["customer_id"];
|
|
7499
7838
|
isOneToOne: false;
|
|
@@ -7631,6 +7970,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7631
7970
|
created_at: string;
|
|
7632
7971
|
id: string;
|
|
7633
7972
|
notes: string | null;
|
|
7973
|
+
packing_configuration_id: string | null;
|
|
7634
7974
|
parent_product_id: string | null;
|
|
7635
7975
|
parent_trade_item_floriday_id: string | null;
|
|
7636
7976
|
quantity: number;
|
|
@@ -7645,6 +7985,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7645
7985
|
created_at?: string;
|
|
7646
7986
|
id?: string;
|
|
7647
7987
|
notes?: string | null;
|
|
7988
|
+
packing_configuration_id?: string | null;
|
|
7648
7989
|
parent_product_id?: string | null;
|
|
7649
7990
|
parent_trade_item_floriday_id?: string | null;
|
|
7650
7991
|
quantity?: number;
|
|
@@ -7659,6 +8000,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7659
8000
|
created_at?: string;
|
|
7660
8001
|
id?: string;
|
|
7661
8002
|
notes?: string | null;
|
|
8003
|
+
packing_configuration_id?: string | null;
|
|
7662
8004
|
parent_product_id?: string | null;
|
|
7663
8005
|
parent_trade_item_floriday_id?: string | null;
|
|
7664
8006
|
quantity?: number;
|
|
@@ -7860,11 +8202,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7860
8202
|
created_at: string;
|
|
7861
8203
|
id: string;
|
|
7862
8204
|
is_package: boolean;
|
|
8205
|
+
label: string | null;
|
|
7863
8206
|
layers_per_load_carrier: number | null;
|
|
7864
8207
|
load_carrier: string | null;
|
|
7865
8208
|
package_id: string | null;
|
|
7866
8209
|
package_label: string | null;
|
|
7867
8210
|
packages_per_layer: number | null;
|
|
8211
|
+
packing_configuration_id: string;
|
|
7868
8212
|
product_id: string | null;
|
|
7869
8213
|
tenant_id: string;
|
|
7870
8214
|
trade_item_floriday_id: string | null;
|
|
@@ -7875,11 +8219,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7875
8219
|
created_at?: string;
|
|
7876
8220
|
id?: string;
|
|
7877
8221
|
is_package?: boolean;
|
|
8222
|
+
label?: string | null;
|
|
7878
8223
|
layers_per_load_carrier?: number | null;
|
|
7879
8224
|
load_carrier?: string | null;
|
|
7880
8225
|
package_id?: string | null;
|
|
7881
8226
|
package_label?: string | null;
|
|
7882
8227
|
packages_per_layer?: number | null;
|
|
8228
|
+
packing_configuration_id?: string;
|
|
7883
8229
|
product_id?: string | null;
|
|
7884
8230
|
tenant_id: string;
|
|
7885
8231
|
trade_item_floriday_id?: string | null;
|
|
@@ -7890,11 +8236,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7890
8236
|
created_at?: string;
|
|
7891
8237
|
id?: string;
|
|
7892
8238
|
is_package?: boolean;
|
|
8239
|
+
label?: string | null;
|
|
7893
8240
|
layers_per_load_carrier?: number | null;
|
|
7894
8241
|
load_carrier?: string | null;
|
|
7895
8242
|
package_id?: string | null;
|
|
7896
8243
|
package_label?: string | null;
|
|
7897
8244
|
packages_per_layer?: number | null;
|
|
8245
|
+
packing_configuration_id?: string;
|
|
7898
8246
|
product_id?: string | null;
|
|
7899
8247
|
tenant_id?: string;
|
|
7900
8248
|
trade_item_floriday_id?: string | null;
|
|
@@ -7975,6 +8323,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7975
8323
|
trade_item_key: string | null;
|
|
7976
8324
|
unit: string;
|
|
7977
8325
|
updated_at: string;
|
|
8326
|
+
vat_code: string | null;
|
|
8327
|
+
vat_rate: number | null;
|
|
7978
8328
|
weight: string | null;
|
|
7979
8329
|
};
|
|
7980
8330
|
Insert: {
|
|
@@ -8003,6 +8353,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8003
8353
|
trade_item_key?: string | null;
|
|
8004
8354
|
unit?: string;
|
|
8005
8355
|
updated_at?: string;
|
|
8356
|
+
vat_code?: string | null;
|
|
8357
|
+
vat_rate?: number | null;
|
|
8006
8358
|
weight?: string | null;
|
|
8007
8359
|
};
|
|
8008
8360
|
Update: {
|
|
@@ -8031,6 +8383,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8031
8383
|
trade_item_key?: string | null;
|
|
8032
8384
|
unit?: string;
|
|
8033
8385
|
updated_at?: string;
|
|
8386
|
+
vat_code?: string | null;
|
|
8387
|
+
vat_rate?: number | null;
|
|
8034
8388
|
weight?: string | null;
|
|
8035
8389
|
};
|
|
8036
8390
|
Relationships: [];
|
|
@@ -11106,6 +11460,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11106
11460
|
processed_items: number;
|
|
11107
11461
|
}[];
|
|
11108
11462
|
};
|
|
11463
|
+
calculate_layer_stock: {
|
|
11464
|
+
Args: {
|
|
11465
|
+
p_product_id: string;
|
|
11466
|
+
};
|
|
11467
|
+
Returns: number;
|
|
11468
|
+
};
|
|
11109
11469
|
call_exact_route: {
|
|
11110
11470
|
Args: {
|
|
11111
11471
|
path: string;
|
|
@@ -11475,6 +11835,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11475
11835
|
};
|
|
11476
11836
|
Returns: string;
|
|
11477
11837
|
};
|
|
11838
|
+
get_inventory_stock_for_key: {
|
|
11839
|
+
Args: {
|
|
11840
|
+
p_key: string;
|
|
11841
|
+
};
|
|
11842
|
+
Returns: number;
|
|
11843
|
+
};
|
|
11478
11844
|
get_offer_by_link_code: {
|
|
11479
11845
|
Args: {
|
|
11480
11846
|
p_code: string;
|
|
@@ -11505,6 +11871,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11505
11871
|
};
|
|
11506
11872
|
Returns: string;
|
|
11507
11873
|
};
|
|
11874
|
+
get_product_group_available_stock: {
|
|
11875
|
+
Args: {
|
|
11876
|
+
p_group_id: string;
|
|
11877
|
+
};
|
|
11878
|
+
Returns: number;
|
|
11879
|
+
};
|
|
11508
11880
|
get_room_busy_windows: {
|
|
11509
11881
|
Args: {
|
|
11510
11882
|
p_from: string;
|
|
@@ -12071,12 +12443,22 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
12071
12443
|
};
|
|
12072
12444
|
Returns: string[];
|
|
12073
12445
|
};
|
|
12446
|
+
sync_all_layer_stocks: {
|
|
12447
|
+
Args: never;
|
|
12448
|
+
Returns: undefined;
|
|
12449
|
+
};
|
|
12074
12450
|
sync_cached_packing_from_product: {
|
|
12075
12451
|
Args: {
|
|
12076
12452
|
p_product_id: string;
|
|
12077
12453
|
};
|
|
12078
12454
|
Returns: undefined;
|
|
12079
12455
|
};
|
|
12456
|
+
sync_layer_stock: {
|
|
12457
|
+
Args: {
|
|
12458
|
+
p_product_id: string;
|
|
12459
|
+
};
|
|
12460
|
+
Returns: undefined;
|
|
12461
|
+
};
|
|
12080
12462
|
sync_order_cart_item_packing_from_product: {
|
|
12081
12463
|
Args: {
|
|
12082
12464
|
p_product_id: string;
|