@flowselections/floriday-afhandeling-module 1.0.15 → 1.0.16
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/LeveringenPage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/LeveringenPage.js +2 -2
- package/dist-lib/components/afhandeling/PickAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/PickAgendaView.js +2 -3
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.js +31 -17
- package/dist-lib/components/engine/CapaciteitsmaatregelenPage.d.ts +2 -0
- package/dist-lib/components/engine/CapaciteitsmaatregelenPage.d.ts.map +1 -0
- package/dist-lib/components/engine/CapaciteitsmaatregelenPage.js +40 -0
- package/dist-lib/components/engine/CapaciteitsmonitorPage.d.ts +2 -0
- package/dist-lib/components/engine/CapaciteitsmonitorPage.d.ts.map +1 -0
- package/dist-lib/components/engine/CapaciteitsmonitorPage.js +49 -0
- package/dist-lib/components/engine/FormulesPage.d.ts +2 -0
- package/dist-lib/components/engine/FormulesPage.d.ts.map +1 -0
- package/dist-lib/components/engine/FormulesPage.js +255 -0
- package/dist-lib/components/engine/PlaceholderPage.d.ts +6 -0
- package/dist-lib/components/engine/PlaceholderPage.d.ts.map +1 -0
- package/dist-lib/components/engine/PlaceholderPage.js +6 -0
- package/dist-lib/components/engine/StrategieenPage.d.ts +2 -0
- package/dist-lib/components/engine/StrategieenPage.d.ts.map +1 -0
- package/dist-lib/components/engine/StrategieenPage.js +80 -0
- package/dist-lib/components/pickstation/PickstationPage.d.ts.map +1 -1
- package/dist-lib/components/pickstation/PickstationPage.js +16 -4
- package/dist-lib/hooks/useOrderPlanning.d.ts.map +1 -1
- package/dist-lib/hooks/useOrderPlanning.js +37 -3
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +2 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1340 -164
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +1340 -164
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1340 -164
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1469 -262
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +2862 -510
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/ai-gateway.server.d.ts +2 -0
- package/dist-lib/lib/ai-gateway.server.d.ts.map +1 -0
- package/dist-lib/lib/ai-gateway.server.js +11 -0
- package/dist-lib/lib/authGateway.server.d.ts +16 -0
- package/dist-lib/lib/authGateway.server.d.ts.map +1 -0
- package/dist-lib/lib/authGateway.server.js +195 -0
- package/dist-lib/lib/carriers.functions.d.ts +6645 -765
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +6645 -765
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +13290 -1530
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +1340 -164
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.js +41 -8
- package/dist-lib/lib/logisticsEngine/capacity.functions.d.ts +50090 -0
- package/dist-lib/lib/logisticsEngine/capacity.functions.d.ts.map +1 -0
- package/dist-lib/lib/logisticsEngine/capacity.functions.js +90 -0
- package/dist-lib/lib/logisticsEngine/config.d.ts +140 -0
- package/dist-lib/lib/logisticsEngine/config.d.ts.map +1 -0
- package/dist-lib/lib/logisticsEngine/config.js +488 -0
- package/dist-lib/lib/logisticsEngine/enginePickTime.d.ts +29 -0
- package/dist-lib/lib/logisticsEngine/enginePickTime.d.ts.map +1 -0
- package/dist-lib/lib/logisticsEngine/enginePickTime.js +136 -0
- package/dist-lib/lib/logisticsEngine/evaluate.functions.d.ts +12556 -0
- package/dist-lib/lib/logisticsEngine/evaluate.functions.d.ts.map +1 -0
- package/dist-lib/lib/logisticsEngine/evaluate.functions.js +104 -0
- package/dist-lib/lib/logisticsEngine/expression.d.ts +21 -0
- package/dist-lib/lib/logisticsEngine/expression.d.ts.map +1 -0
- package/dist-lib/lib/logisticsEngine/expression.js +263 -0
- package/dist-lib/lib/logisticsEngine/formulas.functions.d.ts +25068 -0
- package/dist-lib/lib/logisticsEngine/formulas.functions.d.ts.map +1 -0
- package/dist-lib/lib/logisticsEngine/formulas.functions.js +58 -0
- package/dist-lib/lib/logisticsEngine/safetyLayer.d.ts +83 -0
- package/dist-lib/lib/logisticsEngine/safetyLayer.d.ts.map +1 -0
- package/dist-lib/lib/logisticsEngine/safetyLayer.js +182 -0
- package/dist-lib/lib/logisticsEngine/strategies.functions.d.ts +100185 -0
- package/dist-lib/lib/logisticsEngine/strategies.functions.d.ts.map +1 -0
- package/dist-lib/lib/logisticsEngine/strategies.functions.js +176 -0
- package/dist-lib/lib/logisticsEngine/variables.d.ts +29 -0
- package/dist-lib/lib/logisticsEngine/variables.d.ts.map +1 -0
- package/dist-lib/lib/logisticsEngine/variables.js +144 -0
- package/dist-lib/lib/logisticsEngine/wizard.functions.d.ts +50096 -0
- package/dist-lib/lib/logisticsEngine/wizard.functions.d.ts.map +1 -0
- package/dist-lib/lib/logisticsEngine/wizard.functions.js +175 -0
- package/dist-lib/lib/pickstationI18n.d.ts +2 -0
- package/dist-lib/lib/pickstationI18n.d.ts.map +1 -1
- package/dist-lib/lib/pickstationI18n.js +12 -0
- package/dist-lib/lib/pickstationOrders.server.d.ts +5 -0
- package/dist-lib/lib/pickstationOrders.server.d.ts.map +1 -1
- package/dist-lib/lib/pickstationOrders.server.js +29 -0
- package/dist-lib/lib/pickstationTypes.d.ts +4 -0
- package/dist-lib/lib/pickstationTypes.d.ts.map +1 -1
- package/package.json +6 -4
|
@@ -241,6 +241,165 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
241
241
|
};
|
|
242
242
|
Relationships: [];
|
|
243
243
|
};
|
|
244
|
+
ai_credentials: {
|
|
245
|
+
Row: {
|
|
246
|
+
active: boolean;
|
|
247
|
+
api_key: string;
|
|
248
|
+
created_at: string;
|
|
249
|
+
created_by: string | null;
|
|
250
|
+
id: string;
|
|
251
|
+
label: string;
|
|
252
|
+
provider_id: string;
|
|
253
|
+
updated_at: string;
|
|
254
|
+
};
|
|
255
|
+
Insert: {
|
|
256
|
+
active?: boolean;
|
|
257
|
+
api_key: string;
|
|
258
|
+
created_at?: string;
|
|
259
|
+
created_by?: string | null;
|
|
260
|
+
id?: string;
|
|
261
|
+
label: string;
|
|
262
|
+
provider_id: string;
|
|
263
|
+
updated_at?: string;
|
|
264
|
+
};
|
|
265
|
+
Update: {
|
|
266
|
+
active?: boolean;
|
|
267
|
+
api_key?: string;
|
|
268
|
+
created_at?: string;
|
|
269
|
+
created_by?: string | null;
|
|
270
|
+
id?: string;
|
|
271
|
+
label?: string;
|
|
272
|
+
provider_id?: string;
|
|
273
|
+
updated_at?: string;
|
|
274
|
+
};
|
|
275
|
+
Relationships: [{
|
|
276
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
277
|
+
columns: ["provider_id"];
|
|
278
|
+
isOneToOne: false;
|
|
279
|
+
referencedRelation: "ai_providers";
|
|
280
|
+
referencedColumns: ["id"];
|
|
281
|
+
}];
|
|
282
|
+
};
|
|
283
|
+
ai_models: {
|
|
284
|
+
Row: {
|
|
285
|
+
active: boolean;
|
|
286
|
+
context_window: number | null;
|
|
287
|
+
created_at: string;
|
|
288
|
+
display_name: string;
|
|
289
|
+
id: string;
|
|
290
|
+
is_default: boolean;
|
|
291
|
+
modality: string;
|
|
292
|
+
provider_id: string;
|
|
293
|
+
slug: string;
|
|
294
|
+
updated_at: string;
|
|
295
|
+
};
|
|
296
|
+
Insert: {
|
|
297
|
+
active?: boolean;
|
|
298
|
+
context_window?: number | null;
|
|
299
|
+
created_at?: string;
|
|
300
|
+
display_name: string;
|
|
301
|
+
id?: string;
|
|
302
|
+
is_default?: boolean;
|
|
303
|
+
modality?: string;
|
|
304
|
+
provider_id: string;
|
|
305
|
+
slug: string;
|
|
306
|
+
updated_at?: string;
|
|
307
|
+
};
|
|
308
|
+
Update: {
|
|
309
|
+
active?: boolean;
|
|
310
|
+
context_window?: number | null;
|
|
311
|
+
created_at?: string;
|
|
312
|
+
display_name?: string;
|
|
313
|
+
id?: string;
|
|
314
|
+
is_default?: boolean;
|
|
315
|
+
modality?: string;
|
|
316
|
+
provider_id?: string;
|
|
317
|
+
slug?: string;
|
|
318
|
+
updated_at?: string;
|
|
319
|
+
};
|
|
320
|
+
Relationships: [{
|
|
321
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
322
|
+
columns: ["provider_id"];
|
|
323
|
+
isOneToOne: false;
|
|
324
|
+
referencedRelation: "ai_providers";
|
|
325
|
+
referencedColumns: ["id"];
|
|
326
|
+
}];
|
|
327
|
+
};
|
|
328
|
+
ai_module_bindings: {
|
|
329
|
+
Row: {
|
|
330
|
+
consumer_module_id: string;
|
|
331
|
+
created_at: string;
|
|
332
|
+
credential_id: string;
|
|
333
|
+
id: string;
|
|
334
|
+
model_id: string;
|
|
335
|
+
notes: string | null;
|
|
336
|
+
updated_at: string;
|
|
337
|
+
};
|
|
338
|
+
Insert: {
|
|
339
|
+
consumer_module_id: string;
|
|
340
|
+
created_at?: string;
|
|
341
|
+
credential_id: string;
|
|
342
|
+
id?: string;
|
|
343
|
+
model_id: string;
|
|
344
|
+
notes?: string | null;
|
|
345
|
+
updated_at?: string;
|
|
346
|
+
};
|
|
347
|
+
Update: {
|
|
348
|
+
consumer_module_id?: string;
|
|
349
|
+
created_at?: string;
|
|
350
|
+
credential_id?: string;
|
|
351
|
+
id?: string;
|
|
352
|
+
model_id?: string;
|
|
353
|
+
notes?: string | null;
|
|
354
|
+
updated_at?: string;
|
|
355
|
+
};
|
|
356
|
+
Relationships: [{
|
|
357
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
358
|
+
columns: ["credential_id"];
|
|
359
|
+
isOneToOne: false;
|
|
360
|
+
referencedRelation: "ai_credentials";
|
|
361
|
+
referencedColumns: ["id"];
|
|
362
|
+
}, {
|
|
363
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
364
|
+
columns: ["model_id"];
|
|
365
|
+
isOneToOne: false;
|
|
366
|
+
referencedRelation: "ai_models";
|
|
367
|
+
referencedColumns: ["id"];
|
|
368
|
+
}];
|
|
369
|
+
};
|
|
370
|
+
ai_providers: {
|
|
371
|
+
Row: {
|
|
372
|
+
active: boolean;
|
|
373
|
+
auth_type: string;
|
|
374
|
+
base_url: string | null;
|
|
375
|
+
created_at: string;
|
|
376
|
+
id: string;
|
|
377
|
+
name: string;
|
|
378
|
+
slug: string;
|
|
379
|
+
updated_at: string;
|
|
380
|
+
};
|
|
381
|
+
Insert: {
|
|
382
|
+
active?: boolean;
|
|
383
|
+
auth_type?: string;
|
|
384
|
+
base_url?: string | null;
|
|
385
|
+
created_at?: string;
|
|
386
|
+
id?: string;
|
|
387
|
+
name: string;
|
|
388
|
+
slug: string;
|
|
389
|
+
updated_at?: string;
|
|
390
|
+
};
|
|
391
|
+
Update: {
|
|
392
|
+
active?: boolean;
|
|
393
|
+
auth_type?: string;
|
|
394
|
+
base_url?: string | null;
|
|
395
|
+
created_at?: string;
|
|
396
|
+
id?: string;
|
|
397
|
+
name?: string;
|
|
398
|
+
slug?: string;
|
|
399
|
+
updated_at?: string;
|
|
400
|
+
};
|
|
401
|
+
Relationships: [];
|
|
402
|
+
};
|
|
244
403
|
app_settings: {
|
|
245
404
|
Row: {
|
|
246
405
|
created_at: string;
|
|
@@ -868,6 +1027,138 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
868
1027
|
};
|
|
869
1028
|
Relationships: [];
|
|
870
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_hour: number;
|
|
1107
|
+
require_same_carrier: boolean;
|
|
1108
|
+
require_same_crate_type: boolean;
|
|
1109
|
+
require_same_delivery_date: boolean;
|
|
1110
|
+
require_same_delivery_location: boolean;
|
|
1111
|
+
updated_at: string;
|
|
1112
|
+
updated_by: string | null;
|
|
1113
|
+
};
|
|
1114
|
+
Insert: {
|
|
1115
|
+
allow_editing_after_pickstation_send?: boolean;
|
|
1116
|
+
buffer_grouping_mode?: string;
|
|
1117
|
+
combine_floriday_orders?: boolean;
|
|
1118
|
+
combine_floriday_orders_window?: string;
|
|
1119
|
+
combine_orders_scope?: string;
|
|
1120
|
+
default_workers?: number;
|
|
1121
|
+
id?: number;
|
|
1122
|
+
max_beladingen_per_layer?: number;
|
|
1123
|
+
max_customers_per_cart?: number;
|
|
1124
|
+
max_one_customer_per_layer?: boolean;
|
|
1125
|
+
max_party_share_per_layer_pct?: number;
|
|
1126
|
+
optimization_strategy?: string;
|
|
1127
|
+
own_cart_from_layers?: number;
|
|
1128
|
+
pick_time_mode?: string;
|
|
1129
|
+
plants_per_hour?: number;
|
|
1130
|
+
require_same_carrier?: boolean;
|
|
1131
|
+
require_same_crate_type?: boolean;
|
|
1132
|
+
require_same_delivery_date?: boolean;
|
|
1133
|
+
require_same_delivery_location?: boolean;
|
|
1134
|
+
updated_at?: string;
|
|
1135
|
+
updated_by?: string | null;
|
|
1136
|
+
};
|
|
1137
|
+
Update: {
|
|
1138
|
+
allow_editing_after_pickstation_send?: boolean;
|
|
1139
|
+
buffer_grouping_mode?: string;
|
|
1140
|
+
combine_floriday_orders?: boolean;
|
|
1141
|
+
combine_floriday_orders_window?: string;
|
|
1142
|
+
combine_orders_scope?: string;
|
|
1143
|
+
default_workers?: number;
|
|
1144
|
+
id?: number;
|
|
1145
|
+
max_beladingen_per_layer?: number;
|
|
1146
|
+
max_customers_per_cart?: number;
|
|
1147
|
+
max_one_customer_per_layer?: boolean;
|
|
1148
|
+
max_party_share_per_layer_pct?: number;
|
|
1149
|
+
optimization_strategy?: string;
|
|
1150
|
+
own_cart_from_layers?: number;
|
|
1151
|
+
pick_time_mode?: string;
|
|
1152
|
+
plants_per_hour?: number;
|
|
1153
|
+
require_same_carrier?: boolean;
|
|
1154
|
+
require_same_crate_type?: boolean;
|
|
1155
|
+
require_same_delivery_date?: boolean;
|
|
1156
|
+
require_same_delivery_location?: boolean;
|
|
1157
|
+
updated_at?: string;
|
|
1158
|
+
updated_by?: string | null;
|
|
1159
|
+
};
|
|
1160
|
+
Relationships: [];
|
|
1161
|
+
};
|
|
871
1162
|
cart_replan_queue: {
|
|
872
1163
|
Row: {
|
|
873
1164
|
attempts: number;
|
|
@@ -898,6 +1189,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
898
1189
|
referencedColumns: ["id"];
|
|
899
1190
|
}];
|
|
900
1191
|
};
|
|
1192
|
+
cart_types: {
|
|
1193
|
+
Row: {
|
|
1194
|
+
created_at: string;
|
|
1195
|
+
id: string;
|
|
1196
|
+
is_default: boolean;
|
|
1197
|
+
layer_length_cm: number;
|
|
1198
|
+
layer_width_cm: number;
|
|
1199
|
+
layers_per_cart: number;
|
|
1200
|
+
name: string;
|
|
1201
|
+
updated_at: string;
|
|
1202
|
+
};
|
|
1203
|
+
Insert: {
|
|
1204
|
+
created_at?: string;
|
|
1205
|
+
id?: string;
|
|
1206
|
+
is_default?: boolean;
|
|
1207
|
+
layer_length_cm: number;
|
|
1208
|
+
layer_width_cm: number;
|
|
1209
|
+
layers_per_cart?: number;
|
|
1210
|
+
name: string;
|
|
1211
|
+
updated_at?: string;
|
|
1212
|
+
};
|
|
1213
|
+
Update: {
|
|
1214
|
+
created_at?: string;
|
|
1215
|
+
id?: string;
|
|
1216
|
+
is_default?: boolean;
|
|
1217
|
+
layer_length_cm?: number;
|
|
1218
|
+
layer_width_cm?: number;
|
|
1219
|
+
layers_per_cart?: number;
|
|
1220
|
+
name?: string;
|
|
1221
|
+
updated_at?: string;
|
|
1222
|
+
};
|
|
1223
|
+
Relationships: [];
|
|
1224
|
+
};
|
|
901
1225
|
collections: {
|
|
902
1226
|
Row: {
|
|
903
1227
|
created_at: string;
|
|
@@ -922,6 +1246,36 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
922
1246
|
};
|
|
923
1247
|
Relationships: [];
|
|
924
1248
|
};
|
|
1249
|
+
crate_types: {
|
|
1250
|
+
Row: {
|
|
1251
|
+
created_at: string;
|
|
1252
|
+
id: string;
|
|
1253
|
+
length_cm: number;
|
|
1254
|
+
name: string;
|
|
1255
|
+
plants_per_crate: number;
|
|
1256
|
+
updated_at: string;
|
|
1257
|
+
width_cm: number;
|
|
1258
|
+
};
|
|
1259
|
+
Insert: {
|
|
1260
|
+
created_at?: string;
|
|
1261
|
+
id?: string;
|
|
1262
|
+
length_cm: number;
|
|
1263
|
+
name: string;
|
|
1264
|
+
plants_per_crate?: number;
|
|
1265
|
+
updated_at?: string;
|
|
1266
|
+
width_cm: number;
|
|
1267
|
+
};
|
|
1268
|
+
Update: {
|
|
1269
|
+
created_at?: string;
|
|
1270
|
+
id?: string;
|
|
1271
|
+
length_cm?: number;
|
|
1272
|
+
name?: string;
|
|
1273
|
+
plants_per_crate?: number;
|
|
1274
|
+
updated_at?: string;
|
|
1275
|
+
width_cm?: number;
|
|
1276
|
+
};
|
|
1277
|
+
Relationships: [];
|
|
1278
|
+
};
|
|
925
1279
|
customer_audit_log: {
|
|
926
1280
|
Row: {
|
|
927
1281
|
action: string;
|
|
@@ -3247,127 +3601,28 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
3247
3601
|
referencedColumns: ["id"];
|
|
3248
3602
|
}];
|
|
3249
3603
|
};
|
|
3250
|
-
|
|
3604
|
+
floriday_auction_letters_cache: {
|
|
3251
3605
|
Row: {
|
|
3252
|
-
|
|
3606
|
+
auction_letter_code: string;
|
|
3607
|
+
clock_supply_id: string;
|
|
3253
3608
|
connection_id: string;
|
|
3254
|
-
|
|
3255
|
-
delivery_date: string | null;
|
|
3609
|
+
content_type: string;
|
|
3256
3610
|
fetched_at: string;
|
|
3257
|
-
floriday_id: string;
|
|
3258
3611
|
id: string;
|
|
3259
|
-
|
|
3260
|
-
sequence_number: number;
|
|
3261
|
-
status: string | null;
|
|
3262
|
-
updated_at: string;
|
|
3612
|
+
storage_path: string;
|
|
3263
3613
|
};
|
|
3264
3614
|
Insert: {
|
|
3265
|
-
|
|
3615
|
+
auction_letter_code: string;
|
|
3616
|
+
clock_supply_id: string;
|
|
3266
3617
|
connection_id: string;
|
|
3267
|
-
|
|
3268
|
-
delivery_date?: string | null;
|
|
3618
|
+
content_type?: string;
|
|
3269
3619
|
fetched_at?: string;
|
|
3270
|
-
floriday_id: string;
|
|
3271
3620
|
id?: string;
|
|
3272
|
-
|
|
3273
|
-
sequence_number?: number;
|
|
3274
|
-
status?: string | null;
|
|
3275
|
-
updated_at?: string;
|
|
3621
|
+
storage_path: string;
|
|
3276
3622
|
};
|
|
3277
3623
|
Update: {
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
data?: import("./types").Json;
|
|
3281
|
-
delivery_date?: string | null;
|
|
3282
|
-
fetched_at?: string;
|
|
3283
|
-
floriday_id?: string;
|
|
3284
|
-
id?: string;
|
|
3285
|
-
is_deleted?: boolean;
|
|
3286
|
-
sequence_number?: number;
|
|
3287
|
-
status?: string | null;
|
|
3288
|
-
updated_at?: string;
|
|
3289
|
-
};
|
|
3290
|
-
Relationships: [{
|
|
3291
|
-
foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
|
|
3292
|
-
columns: ["connection_id"];
|
|
3293
|
-
isOneToOne: false;
|
|
3294
|
-
referencedRelation: "floriday_connections";
|
|
3295
|
-
referencedColumns: ["id"];
|
|
3296
|
-
}];
|
|
3297
|
-
};
|
|
3298
|
-
floriday_agreements_cache: {
|
|
3299
|
-
Row: {
|
|
3300
|
-
buyer_organization_id: string | null;
|
|
3301
|
-
connection_id: string;
|
|
3302
|
-
data: import("./types").Json;
|
|
3303
|
-
fetched_at: string;
|
|
3304
|
-
floriday_id: string;
|
|
3305
|
-
id: string;
|
|
3306
|
-
is_deleted: boolean;
|
|
3307
|
-
sequence_number: number;
|
|
3308
|
-
status: string | null;
|
|
3309
|
-
updated_at: string;
|
|
3310
|
-
valid_from: string | null;
|
|
3311
|
-
valid_until: string | null;
|
|
3312
|
-
};
|
|
3313
|
-
Insert: {
|
|
3314
|
-
buyer_organization_id?: string | null;
|
|
3315
|
-
connection_id: string;
|
|
3316
|
-
data?: import("./types").Json;
|
|
3317
|
-
fetched_at?: string;
|
|
3318
|
-
floriday_id: string;
|
|
3319
|
-
id?: string;
|
|
3320
|
-
is_deleted?: boolean;
|
|
3321
|
-
sequence_number?: number;
|
|
3322
|
-
status?: string | null;
|
|
3323
|
-
updated_at?: string;
|
|
3324
|
-
valid_from?: string | null;
|
|
3325
|
-
valid_until?: string | null;
|
|
3326
|
-
};
|
|
3327
|
-
Update: {
|
|
3328
|
-
buyer_organization_id?: string | null;
|
|
3329
|
-
connection_id?: string;
|
|
3330
|
-
data?: import("./types").Json;
|
|
3331
|
-
fetched_at?: string;
|
|
3332
|
-
floriday_id?: string;
|
|
3333
|
-
id?: string;
|
|
3334
|
-
is_deleted?: boolean;
|
|
3335
|
-
sequence_number?: number;
|
|
3336
|
-
status?: string | null;
|
|
3337
|
-
updated_at?: string;
|
|
3338
|
-
valid_from?: string | null;
|
|
3339
|
-
valid_until?: string | null;
|
|
3340
|
-
};
|
|
3341
|
-
Relationships: [{
|
|
3342
|
-
foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
|
|
3343
|
-
columns: ["connection_id"];
|
|
3344
|
-
isOneToOne: false;
|
|
3345
|
-
referencedRelation: "floriday_connections";
|
|
3346
|
-
referencedColumns: ["id"];
|
|
3347
|
-
}];
|
|
3348
|
-
};
|
|
3349
|
-
floriday_auction_letters_cache: {
|
|
3350
|
-
Row: {
|
|
3351
|
-
auction_letter_code: string;
|
|
3352
|
-
clock_supply_id: string;
|
|
3353
|
-
connection_id: string;
|
|
3354
|
-
content_type: string;
|
|
3355
|
-
fetched_at: string;
|
|
3356
|
-
id: string;
|
|
3357
|
-
storage_path: string;
|
|
3358
|
-
};
|
|
3359
|
-
Insert: {
|
|
3360
|
-
auction_letter_code: string;
|
|
3361
|
-
clock_supply_id: string;
|
|
3362
|
-
connection_id: string;
|
|
3363
|
-
content_type?: string;
|
|
3364
|
-
fetched_at?: string;
|
|
3365
|
-
id?: string;
|
|
3366
|
-
storage_path: string;
|
|
3367
|
-
};
|
|
3368
|
-
Update: {
|
|
3369
|
-
auction_letter_code?: string;
|
|
3370
|
-
clock_supply_id?: string;
|
|
3624
|
+
auction_letter_code?: string;
|
|
3625
|
+
clock_supply_id?: string;
|
|
3371
3626
|
connection_id?: string;
|
|
3372
3627
|
content_type?: string;
|
|
3373
3628
|
fetched_at?: string;
|
|
@@ -3844,6 +4099,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
3844
4099
|
referencedColumns: ["id"];
|
|
3845
4100
|
}];
|
|
3846
4101
|
};
|
|
4102
|
+
floriday_continuous_stock_cache: {
|
|
4103
|
+
Row: {
|
|
4104
|
+
connection_id: string;
|
|
4105
|
+
fetched_at: string;
|
|
4106
|
+
number_of_pieces: number;
|
|
4107
|
+
trade_item_id: string;
|
|
4108
|
+
};
|
|
4109
|
+
Insert: {
|
|
4110
|
+
connection_id: string;
|
|
4111
|
+
fetched_at?: string;
|
|
4112
|
+
number_of_pieces?: number;
|
|
4113
|
+
trade_item_id: string;
|
|
4114
|
+
};
|
|
4115
|
+
Update: {
|
|
4116
|
+
connection_id?: string;
|
|
4117
|
+
fetched_at?: string;
|
|
4118
|
+
number_of_pieces?: number;
|
|
4119
|
+
trade_item_id?: string;
|
|
4120
|
+
};
|
|
4121
|
+
Relationships: [];
|
|
4122
|
+
};
|
|
3847
4123
|
floriday_continuous_stock_queue: {
|
|
3848
4124
|
Row: {
|
|
3849
4125
|
attempts: number;
|
|
@@ -4619,6 +4895,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
4619
4895
|
Row: {
|
|
4620
4896
|
buyer_organization_id: string | null;
|
|
4621
4897
|
connection_id: string;
|
|
4898
|
+
controlled_at: string | null;
|
|
4899
|
+
controlled_by: string | null;
|
|
4622
4900
|
created_at: string;
|
|
4623
4901
|
data: import("./types").Json;
|
|
4624
4902
|
floriday_id: string;
|
|
@@ -4630,6 +4908,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
4630
4908
|
Insert: {
|
|
4631
4909
|
buyer_organization_id?: string | null;
|
|
4632
4910
|
connection_id: string;
|
|
4911
|
+
controlled_at?: string | null;
|
|
4912
|
+
controlled_by?: string | null;
|
|
4633
4913
|
created_at?: string;
|
|
4634
4914
|
data: import("./types").Json;
|
|
4635
4915
|
floriday_id: string;
|
|
@@ -4641,6 +4921,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
4641
4921
|
Update: {
|
|
4642
4922
|
buyer_organization_id?: string | null;
|
|
4643
4923
|
connection_id?: string;
|
|
4924
|
+
controlled_at?: string | null;
|
|
4925
|
+
controlled_by?: string | null;
|
|
4644
4926
|
created_at?: string;
|
|
4645
4927
|
data?: import("./types").Json;
|
|
4646
4928
|
floriday_id?: string;
|
|
@@ -4822,6 +5104,45 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
4822
5104
|
referencedColumns: ["id"];
|
|
4823
5105
|
}];
|
|
4824
5106
|
};
|
|
5107
|
+
floriday_trade_settings_customers_cache: {
|
|
5108
|
+
Row: {
|
|
5109
|
+
connection_id: string;
|
|
5110
|
+
data: import("./types").Json;
|
|
5111
|
+
fetched_at: string;
|
|
5112
|
+
floriday_id: string;
|
|
5113
|
+
id: string;
|
|
5114
|
+
is_deleted: boolean;
|
|
5115
|
+
sequence_number: number;
|
|
5116
|
+
updated_at: string;
|
|
5117
|
+
};
|
|
5118
|
+
Insert: {
|
|
5119
|
+
connection_id: string;
|
|
5120
|
+
data: import("./types").Json;
|
|
5121
|
+
fetched_at?: string;
|
|
5122
|
+
floriday_id: string;
|
|
5123
|
+
id?: string;
|
|
5124
|
+
is_deleted?: boolean;
|
|
5125
|
+
sequence_number?: number;
|
|
5126
|
+
updated_at?: string;
|
|
5127
|
+
};
|
|
5128
|
+
Update: {
|
|
5129
|
+
connection_id?: string;
|
|
5130
|
+
data?: import("./types").Json;
|
|
5131
|
+
fetched_at?: string;
|
|
5132
|
+
floriday_id?: string;
|
|
5133
|
+
id?: string;
|
|
5134
|
+
is_deleted?: boolean;
|
|
5135
|
+
sequence_number?: number;
|
|
5136
|
+
updated_at?: string;
|
|
5137
|
+
};
|
|
5138
|
+
Relationships: [{
|
|
5139
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
5140
|
+
columns: ["connection_id"];
|
|
5141
|
+
isOneToOne: false;
|
|
5142
|
+
referencedRelation: "floriday_connections";
|
|
5143
|
+
referencedColumns: ["id"];
|
|
5144
|
+
}];
|
|
5145
|
+
};
|
|
4825
5146
|
floriday_trips_cache: {
|
|
4826
5147
|
Row: {
|
|
4827
5148
|
carrier_organization_id: string | null;
|
|
@@ -4870,6 +5191,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
4870
5191
|
referencedColumns: ["id"];
|
|
4871
5192
|
}];
|
|
4872
5193
|
};
|
|
5194
|
+
floriday_vbn_required_characteristics: {
|
|
5195
|
+
Row: {
|
|
5196
|
+
required_codes: string[];
|
|
5197
|
+
updated_at: string;
|
|
5198
|
+
updated_by: string | null;
|
|
5199
|
+
vbn_code: string;
|
|
5200
|
+
};
|
|
5201
|
+
Insert: {
|
|
5202
|
+
required_codes?: string[];
|
|
5203
|
+
updated_at?: string;
|
|
5204
|
+
updated_by?: string | null;
|
|
5205
|
+
vbn_code: string;
|
|
5206
|
+
};
|
|
5207
|
+
Update: {
|
|
5208
|
+
required_codes?: string[];
|
|
5209
|
+
updated_at?: string;
|
|
5210
|
+
updated_by?: string | null;
|
|
5211
|
+
vbn_code?: string;
|
|
5212
|
+
};
|
|
5213
|
+
Relationships: [];
|
|
5214
|
+
};
|
|
4873
5215
|
floriday_warehouses_cache: {
|
|
4874
5216
|
Row: {
|
|
4875
5217
|
connection_id: string;
|
|
@@ -5572,6 +5914,285 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
5572
5914
|
};
|
|
5573
5915
|
Relationships: [];
|
|
5574
5916
|
};
|
|
5917
|
+
logistics_capacity_events: {
|
|
5918
|
+
Row: {
|
|
5919
|
+
available_carts: number;
|
|
5920
|
+
created_at: string;
|
|
5921
|
+
id: string;
|
|
5922
|
+
measures: import("./types").Json;
|
|
5923
|
+
note: string | null;
|
|
5924
|
+
outcome: string;
|
|
5925
|
+
required_carts: number;
|
|
5926
|
+
reserve_minutes: number;
|
|
5927
|
+
shortage_carts: number;
|
|
5928
|
+
status: string;
|
|
5929
|
+
user_id: string;
|
|
5930
|
+
};
|
|
5931
|
+
Insert: {
|
|
5932
|
+
available_carts?: number;
|
|
5933
|
+
created_at?: string;
|
|
5934
|
+
id?: string;
|
|
5935
|
+
measures?: import("./types").Json;
|
|
5936
|
+
note?: string | null;
|
|
5937
|
+
outcome?: string;
|
|
5938
|
+
required_carts?: number;
|
|
5939
|
+
reserve_minutes?: number;
|
|
5940
|
+
shortage_carts?: number;
|
|
5941
|
+
status: string;
|
|
5942
|
+
user_id: string;
|
|
5943
|
+
};
|
|
5944
|
+
Update: {
|
|
5945
|
+
available_carts?: number;
|
|
5946
|
+
created_at?: string;
|
|
5947
|
+
id?: string;
|
|
5948
|
+
measures?: import("./types").Json;
|
|
5949
|
+
note?: string | null;
|
|
5950
|
+
outcome?: string;
|
|
5951
|
+
required_carts?: number;
|
|
5952
|
+
reserve_minutes?: number;
|
|
5953
|
+
shortage_carts?: number;
|
|
5954
|
+
status?: string;
|
|
5955
|
+
user_id?: string;
|
|
5956
|
+
};
|
|
5957
|
+
Relationships: [];
|
|
5958
|
+
};
|
|
5959
|
+
logistics_capacity_settings: {
|
|
5960
|
+
Row: {
|
|
5961
|
+
created_at: string;
|
|
5962
|
+
settings: import("./types").Json;
|
|
5963
|
+
updated_at: string;
|
|
5964
|
+
user_id: string;
|
|
5965
|
+
};
|
|
5966
|
+
Insert: {
|
|
5967
|
+
created_at?: string;
|
|
5968
|
+
settings?: import("./types").Json;
|
|
5969
|
+
updated_at?: string;
|
|
5970
|
+
user_id: string;
|
|
5971
|
+
};
|
|
5972
|
+
Update: {
|
|
5973
|
+
created_at?: string;
|
|
5974
|
+
settings?: import("./types").Json;
|
|
5975
|
+
updated_at?: string;
|
|
5976
|
+
user_id?: string;
|
|
5977
|
+
};
|
|
5978
|
+
Relationships: [];
|
|
5979
|
+
};
|
|
5980
|
+
logistics_decisions: {
|
|
5981
|
+
Row: {
|
|
5982
|
+
created_at: string;
|
|
5983
|
+
explanation: string | null;
|
|
5984
|
+
id: string;
|
|
5985
|
+
input_snapshot: import("./types").Json;
|
|
5986
|
+
result: import("./types").Json;
|
|
5987
|
+
slot: string;
|
|
5988
|
+
strategy_id: string | null;
|
|
5989
|
+
subject_id: string;
|
|
5990
|
+
subject_type: string;
|
|
5991
|
+
user_id: string;
|
|
5992
|
+
};
|
|
5993
|
+
Insert: {
|
|
5994
|
+
created_at?: string;
|
|
5995
|
+
explanation?: string | null;
|
|
5996
|
+
id?: string;
|
|
5997
|
+
input_snapshot?: import("./types").Json;
|
|
5998
|
+
result?: import("./types").Json;
|
|
5999
|
+
slot: string;
|
|
6000
|
+
strategy_id?: string | null;
|
|
6001
|
+
subject_id: string;
|
|
6002
|
+
subject_type: string;
|
|
6003
|
+
user_id: string;
|
|
6004
|
+
};
|
|
6005
|
+
Update: {
|
|
6006
|
+
created_at?: string;
|
|
6007
|
+
explanation?: string | null;
|
|
6008
|
+
id?: string;
|
|
6009
|
+
input_snapshot?: import("./types").Json;
|
|
6010
|
+
result?: import("./types").Json;
|
|
6011
|
+
slot?: string;
|
|
6012
|
+
strategy_id?: string | null;
|
|
6013
|
+
subject_id?: string;
|
|
6014
|
+
subject_type?: string;
|
|
6015
|
+
user_id?: string;
|
|
6016
|
+
};
|
|
6017
|
+
Relationships: [{
|
|
6018
|
+
foreignKeyName: "logistics_decisions_strategy_id_fkey";
|
|
6019
|
+
columns: ["strategy_id"];
|
|
6020
|
+
isOneToOne: false;
|
|
6021
|
+
referencedRelation: "logistics_strategies";
|
|
6022
|
+
referencedColumns: ["id"];
|
|
6023
|
+
}];
|
|
6024
|
+
};
|
|
6025
|
+
logistics_formulas: {
|
|
6026
|
+
Row: {
|
|
6027
|
+
created_at: string;
|
|
6028
|
+
expression: string;
|
|
6029
|
+
id: string;
|
|
6030
|
+
notes: string | null;
|
|
6031
|
+
slot: string;
|
|
6032
|
+
strategy_id: string;
|
|
6033
|
+
updated_at: string;
|
|
6034
|
+
user_id: string;
|
|
6035
|
+
version: number;
|
|
6036
|
+
};
|
|
6037
|
+
Insert: {
|
|
6038
|
+
created_at?: string;
|
|
6039
|
+
expression?: string;
|
|
6040
|
+
id?: string;
|
|
6041
|
+
notes?: string | null;
|
|
6042
|
+
slot: string;
|
|
6043
|
+
strategy_id: string;
|
|
6044
|
+
updated_at?: string;
|
|
6045
|
+
user_id: string;
|
|
6046
|
+
version?: number;
|
|
6047
|
+
};
|
|
6048
|
+
Update: {
|
|
6049
|
+
created_at?: string;
|
|
6050
|
+
expression?: string;
|
|
6051
|
+
id?: string;
|
|
6052
|
+
notes?: string | null;
|
|
6053
|
+
slot?: string;
|
|
6054
|
+
strategy_id?: string;
|
|
6055
|
+
updated_at?: string;
|
|
6056
|
+
user_id?: string;
|
|
6057
|
+
version?: number;
|
|
6058
|
+
};
|
|
6059
|
+
Relationships: [{
|
|
6060
|
+
foreignKeyName: "logistics_formulas_strategy_id_fkey";
|
|
6061
|
+
columns: ["strategy_id"];
|
|
6062
|
+
isOneToOne: false;
|
|
6063
|
+
referencedRelation: "logistics_strategies";
|
|
6064
|
+
referencedColumns: ["id"];
|
|
6065
|
+
}];
|
|
6066
|
+
};
|
|
6067
|
+
logistics_strategies: {
|
|
6068
|
+
Row: {
|
|
6069
|
+
color: string;
|
|
6070
|
+
created_at: string;
|
|
6071
|
+
description: string | null;
|
|
6072
|
+
id: string;
|
|
6073
|
+
is_active: boolean;
|
|
6074
|
+
name: string;
|
|
6075
|
+
priority: number;
|
|
6076
|
+
updated_at: string;
|
|
6077
|
+
updated_by: string | null;
|
|
6078
|
+
user_id: string;
|
|
6079
|
+
version: number;
|
|
6080
|
+
};
|
|
6081
|
+
Insert: {
|
|
6082
|
+
color?: string;
|
|
6083
|
+
created_at?: string;
|
|
6084
|
+
description?: string | null;
|
|
6085
|
+
id?: string;
|
|
6086
|
+
is_active?: boolean;
|
|
6087
|
+
name: string;
|
|
6088
|
+
priority?: number;
|
|
6089
|
+
updated_at?: string;
|
|
6090
|
+
updated_by?: string | null;
|
|
6091
|
+
user_id: string;
|
|
6092
|
+
version?: number;
|
|
6093
|
+
};
|
|
6094
|
+
Update: {
|
|
6095
|
+
color?: string;
|
|
6096
|
+
created_at?: string;
|
|
6097
|
+
description?: string | null;
|
|
6098
|
+
id?: string;
|
|
6099
|
+
is_active?: boolean;
|
|
6100
|
+
name?: string;
|
|
6101
|
+
priority?: number;
|
|
6102
|
+
updated_at?: string;
|
|
6103
|
+
updated_by?: string | null;
|
|
6104
|
+
user_id?: string;
|
|
6105
|
+
version?: number;
|
|
6106
|
+
};
|
|
6107
|
+
Relationships: [];
|
|
6108
|
+
};
|
|
6109
|
+
logistics_strategy_schedules: {
|
|
6110
|
+
Row: {
|
|
6111
|
+
condition_expression: string | null;
|
|
6112
|
+
created_at: string;
|
|
6113
|
+
end_date: string | null;
|
|
6114
|
+
id: string;
|
|
6115
|
+
is_enabled: boolean;
|
|
6116
|
+
priority: number;
|
|
6117
|
+
rule_type: string;
|
|
6118
|
+
start_date: string | null;
|
|
6119
|
+
strategy_id: string;
|
|
6120
|
+
updated_at: string;
|
|
6121
|
+
user_id: string;
|
|
6122
|
+
};
|
|
6123
|
+
Insert: {
|
|
6124
|
+
condition_expression?: string | null;
|
|
6125
|
+
created_at?: string;
|
|
6126
|
+
end_date?: string | null;
|
|
6127
|
+
id?: string;
|
|
6128
|
+
is_enabled?: boolean;
|
|
6129
|
+
priority?: number;
|
|
6130
|
+
rule_type: string;
|
|
6131
|
+
start_date?: string | null;
|
|
6132
|
+
strategy_id: string;
|
|
6133
|
+
updated_at?: string;
|
|
6134
|
+
user_id: string;
|
|
6135
|
+
};
|
|
6136
|
+
Update: {
|
|
6137
|
+
condition_expression?: string | null;
|
|
6138
|
+
created_at?: string;
|
|
6139
|
+
end_date?: string | null;
|
|
6140
|
+
id?: string;
|
|
6141
|
+
is_enabled?: boolean;
|
|
6142
|
+
priority?: number;
|
|
6143
|
+
rule_type?: string;
|
|
6144
|
+
start_date?: string | null;
|
|
6145
|
+
strategy_id?: string;
|
|
6146
|
+
updated_at?: string;
|
|
6147
|
+
user_id?: string;
|
|
6148
|
+
};
|
|
6149
|
+
Relationships: [{
|
|
6150
|
+
foreignKeyName: "logistics_strategy_schedules_strategy_id_fkey";
|
|
6151
|
+
columns: ["strategy_id"];
|
|
6152
|
+
isOneToOne: false;
|
|
6153
|
+
referencedRelation: "logistics_strategies";
|
|
6154
|
+
referencedColumns: ["id"];
|
|
6155
|
+
}];
|
|
6156
|
+
};
|
|
6157
|
+
logistics_variables: {
|
|
6158
|
+
Row: {
|
|
6159
|
+
created_at: string;
|
|
6160
|
+
default_value: string | null;
|
|
6161
|
+
description: string | null;
|
|
6162
|
+
id: string;
|
|
6163
|
+
is_builtin: boolean;
|
|
6164
|
+
key: string;
|
|
6165
|
+
label: string;
|
|
6166
|
+
updated_at: string;
|
|
6167
|
+
user_id: string;
|
|
6168
|
+
value_type: string;
|
|
6169
|
+
};
|
|
6170
|
+
Insert: {
|
|
6171
|
+
created_at?: string;
|
|
6172
|
+
default_value?: string | null;
|
|
6173
|
+
description?: string | null;
|
|
6174
|
+
id?: string;
|
|
6175
|
+
is_builtin?: boolean;
|
|
6176
|
+
key: string;
|
|
6177
|
+
label: string;
|
|
6178
|
+
updated_at?: string;
|
|
6179
|
+
user_id: string;
|
|
6180
|
+
value_type: string;
|
|
6181
|
+
};
|
|
6182
|
+
Update: {
|
|
6183
|
+
created_at?: string;
|
|
6184
|
+
default_value?: string | null;
|
|
6185
|
+
description?: string | null;
|
|
6186
|
+
id?: string;
|
|
6187
|
+
is_builtin?: boolean;
|
|
6188
|
+
key?: string;
|
|
6189
|
+
label?: string;
|
|
6190
|
+
updated_at?: string;
|
|
6191
|
+
user_id?: string;
|
|
6192
|
+
value_type?: string;
|
|
6193
|
+
};
|
|
6194
|
+
Relationships: [];
|
|
6195
|
+
};
|
|
5575
6196
|
mailbox_messages: {
|
|
5576
6197
|
Row: {
|
|
5577
6198
|
body_html: string | null;
|
|
@@ -5967,39 +6588,60 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
5967
6588
|
};
|
|
5968
6589
|
manufacture_products: {
|
|
5969
6590
|
Row: {
|
|
6591
|
+
aantal_te_produceren: number;
|
|
5970
6592
|
created_at: string;
|
|
5971
6593
|
description: string | null;
|
|
5972
6594
|
id: string;
|
|
5973
6595
|
is_active: boolean;
|
|
6596
|
+
location_id: string | null;
|
|
5974
6597
|
name: string;
|
|
6598
|
+
partij_nummer: string | null;
|
|
6599
|
+
photos: import("./types").Json;
|
|
5975
6600
|
produced_stock: number;
|
|
5976
6601
|
product_code: string;
|
|
5977
6602
|
tenant_id: string;
|
|
6603
|
+
unit: string;
|
|
5978
6604
|
updated_at: string;
|
|
5979
6605
|
};
|
|
5980
6606
|
Insert: {
|
|
6607
|
+
aantal_te_produceren?: number;
|
|
5981
6608
|
created_at?: string;
|
|
5982
6609
|
description?: string | null;
|
|
5983
6610
|
id?: string;
|
|
5984
6611
|
is_active?: boolean;
|
|
6612
|
+
location_id?: string | null;
|
|
5985
6613
|
name: string;
|
|
6614
|
+
partij_nummer?: string | null;
|
|
6615
|
+
photos?: import("./types").Json;
|
|
5986
6616
|
produced_stock?: number;
|
|
5987
6617
|
product_code: string;
|
|
5988
6618
|
tenant_id: string;
|
|
6619
|
+
unit?: string;
|
|
5989
6620
|
updated_at?: string;
|
|
5990
6621
|
};
|
|
5991
6622
|
Update: {
|
|
6623
|
+
aantal_te_produceren?: number;
|
|
5992
6624
|
created_at?: string;
|
|
5993
6625
|
description?: string | null;
|
|
5994
6626
|
id?: string;
|
|
5995
6627
|
is_active?: boolean;
|
|
6628
|
+
location_id?: string | null;
|
|
5996
6629
|
name?: string;
|
|
6630
|
+
partij_nummer?: string | null;
|
|
6631
|
+
photos?: import("./types").Json;
|
|
5997
6632
|
produced_stock?: number;
|
|
5998
6633
|
product_code?: string;
|
|
5999
6634
|
tenant_id?: string;
|
|
6635
|
+
unit?: string;
|
|
6000
6636
|
updated_at?: string;
|
|
6001
6637
|
};
|
|
6002
|
-
Relationships: [
|
|
6638
|
+
Relationships: [{
|
|
6639
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
6640
|
+
columns: ["location_id"];
|
|
6641
|
+
isOneToOne: false;
|
|
6642
|
+
referencedRelation: "locations";
|
|
6643
|
+
referencedColumns: ["id"];
|
|
6644
|
+
}];
|
|
6003
6645
|
};
|
|
6004
6646
|
monteurs: {
|
|
6005
6647
|
Row: {
|
|
@@ -6730,6 +7372,42 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
6730
7372
|
};
|
|
6731
7373
|
Relationships: [];
|
|
6732
7374
|
};
|
|
7375
|
+
order_buffers: {
|
|
7376
|
+
Row: {
|
|
7377
|
+
buffer_key: string;
|
|
7378
|
+
created_at: string;
|
|
7379
|
+
customer_id: string | null;
|
|
7380
|
+
grouping_mode: string;
|
|
7381
|
+
id: string;
|
|
7382
|
+
pickup_date: string | null;
|
|
7383
|
+
pickup_location: string | null;
|
|
7384
|
+
plan_locked_at: string | null;
|
|
7385
|
+
updated_at: string;
|
|
7386
|
+
};
|
|
7387
|
+
Insert: {
|
|
7388
|
+
buffer_key: string;
|
|
7389
|
+
created_at?: string;
|
|
7390
|
+
customer_id?: string | null;
|
|
7391
|
+
grouping_mode: string;
|
|
7392
|
+
id?: string;
|
|
7393
|
+
pickup_date?: string | null;
|
|
7394
|
+
pickup_location?: string | null;
|
|
7395
|
+
plan_locked_at?: string | null;
|
|
7396
|
+
updated_at?: string;
|
|
7397
|
+
};
|
|
7398
|
+
Update: {
|
|
7399
|
+
buffer_key?: string;
|
|
7400
|
+
created_at?: string;
|
|
7401
|
+
customer_id?: string | null;
|
|
7402
|
+
grouping_mode?: string;
|
|
7403
|
+
id?: string;
|
|
7404
|
+
pickup_date?: string | null;
|
|
7405
|
+
pickup_location?: string | null;
|
|
7406
|
+
plan_locked_at?: string | null;
|
|
7407
|
+
updated_at?: string;
|
|
7408
|
+
};
|
|
7409
|
+
Relationships: [];
|
|
7410
|
+
};
|
|
6733
7411
|
order_cart_items: {
|
|
6734
7412
|
Row: {
|
|
6735
7413
|
cart_id: string;
|
|
@@ -6796,6 +7474,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
6796
7474
|
order_carts: {
|
|
6797
7475
|
Row: {
|
|
6798
7476
|
algorithm_version: number;
|
|
7477
|
+
buffer_id: string | null;
|
|
6799
7478
|
cart_number: number;
|
|
6800
7479
|
created_at: string;
|
|
6801
7480
|
id: string;
|
|
@@ -6803,13 +7482,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
6803
7482
|
is_complete: boolean;
|
|
6804
7483
|
notes: string | null;
|
|
6805
7484
|
occupancy_pct: number;
|
|
6806
|
-
order_id: string;
|
|
7485
|
+
order_id: string | null;
|
|
6807
7486
|
source: string;
|
|
6808
7487
|
total_layers_used: number;
|
|
6809
7488
|
updated_at: string;
|
|
6810
7489
|
};
|
|
6811
7490
|
Insert: {
|
|
6812
7491
|
algorithm_version?: number;
|
|
7492
|
+
buffer_id?: string | null;
|
|
6813
7493
|
cart_number: number;
|
|
6814
7494
|
created_at?: string;
|
|
6815
7495
|
id?: string;
|
|
@@ -6817,13 +7497,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
6817
7497
|
is_complete?: boolean;
|
|
6818
7498
|
notes?: string | null;
|
|
6819
7499
|
occupancy_pct?: number;
|
|
6820
|
-
order_id
|
|
7500
|
+
order_id?: string | null;
|
|
6821
7501
|
source?: string;
|
|
6822
7502
|
total_layers_used?: number;
|
|
6823
7503
|
updated_at?: string;
|
|
6824
7504
|
};
|
|
6825
7505
|
Update: {
|
|
6826
7506
|
algorithm_version?: number;
|
|
7507
|
+
buffer_id?: string | null;
|
|
6827
7508
|
cart_number?: number;
|
|
6828
7509
|
created_at?: string;
|
|
6829
7510
|
id?: string;
|
|
@@ -6831,12 +7512,18 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
6831
7512
|
is_complete?: boolean;
|
|
6832
7513
|
notes?: string | null;
|
|
6833
7514
|
occupancy_pct?: number;
|
|
6834
|
-
order_id?: string;
|
|
7515
|
+
order_id?: string | null;
|
|
6835
7516
|
source?: string;
|
|
6836
7517
|
total_layers_used?: number;
|
|
6837
7518
|
updated_at?: string;
|
|
6838
7519
|
};
|
|
6839
7520
|
Relationships: [{
|
|
7521
|
+
foreignKeyName: "order_carts_buffer_id_fkey";
|
|
7522
|
+
columns: ["buffer_id"];
|
|
7523
|
+
isOneToOne: false;
|
|
7524
|
+
referencedRelation: "order_buffers";
|
|
7525
|
+
referencedColumns: ["id"];
|
|
7526
|
+
}, {
|
|
6840
7527
|
foreignKeyName: "order_carts_order_id_fkey";
|
|
6841
7528
|
columns: ["order_id"];
|
|
6842
7529
|
isOneToOne: false;
|
|
@@ -6973,15 +7660,117 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
6973
7660
|
};
|
|
6974
7661
|
Relationships: [];
|
|
6975
7662
|
};
|
|
7663
|
+
order_shipment_items: {
|
|
7664
|
+
Row: {
|
|
7665
|
+
created_at: string;
|
|
7666
|
+
id: string;
|
|
7667
|
+
order_item_id: string;
|
|
7668
|
+
product_id: string | null;
|
|
7669
|
+
product_name: string;
|
|
7670
|
+
quantity: number;
|
|
7671
|
+
shipment_id: string;
|
|
7672
|
+
updated_at: string;
|
|
7673
|
+
};
|
|
7674
|
+
Insert: {
|
|
7675
|
+
created_at?: string;
|
|
7676
|
+
id?: string;
|
|
7677
|
+
order_item_id: string;
|
|
7678
|
+
product_id?: string | null;
|
|
7679
|
+
product_name: string;
|
|
7680
|
+
quantity: number;
|
|
7681
|
+
shipment_id: string;
|
|
7682
|
+
updated_at?: string;
|
|
7683
|
+
};
|
|
7684
|
+
Update: {
|
|
7685
|
+
created_at?: string;
|
|
7686
|
+
id?: string;
|
|
7687
|
+
order_item_id?: string;
|
|
7688
|
+
product_id?: string | null;
|
|
7689
|
+
product_name?: string;
|
|
7690
|
+
quantity?: number;
|
|
7691
|
+
shipment_id?: string;
|
|
7692
|
+
updated_at?: string;
|
|
7693
|
+
};
|
|
7694
|
+
Relationships: [{
|
|
7695
|
+
foreignKeyName: "order_shipment_items_order_item_id_fkey";
|
|
7696
|
+
columns: ["order_item_id"];
|
|
7697
|
+
isOneToOne: false;
|
|
7698
|
+
referencedRelation: "order_items";
|
|
7699
|
+
referencedColumns: ["id"];
|
|
7700
|
+
}, {
|
|
7701
|
+
foreignKeyName: "order_shipment_items_shipment_id_fkey";
|
|
7702
|
+
columns: ["shipment_id"];
|
|
7703
|
+
isOneToOne: false;
|
|
7704
|
+
referencedRelation: "order_shipments";
|
|
7705
|
+
referencedColumns: ["id"];
|
|
7706
|
+
}];
|
|
7707
|
+
};
|
|
7708
|
+
order_shipments: {
|
|
7709
|
+
Row: {
|
|
7710
|
+
carrier_id: string | null;
|
|
7711
|
+
created_at: string;
|
|
7712
|
+
delivery_date: string | null;
|
|
7713
|
+
delivery_location_id: string | null;
|
|
7714
|
+
id: string;
|
|
7715
|
+
notes: string | null;
|
|
7716
|
+
order_id: string;
|
|
7717
|
+
shipment_number: number;
|
|
7718
|
+
shipped_at: string | null;
|
|
7719
|
+
status: string;
|
|
7720
|
+
updated_at: string;
|
|
7721
|
+
};
|
|
7722
|
+
Insert: {
|
|
7723
|
+
carrier_id?: string | null;
|
|
7724
|
+
created_at?: string;
|
|
7725
|
+
delivery_date?: string | null;
|
|
7726
|
+
delivery_location_id?: string | null;
|
|
7727
|
+
id?: string;
|
|
7728
|
+
notes?: string | null;
|
|
7729
|
+
order_id: string;
|
|
7730
|
+
shipment_number: number;
|
|
7731
|
+
shipped_at?: string | null;
|
|
7732
|
+
status?: string;
|
|
7733
|
+
updated_at?: string;
|
|
7734
|
+
};
|
|
7735
|
+
Update: {
|
|
7736
|
+
carrier_id?: string | null;
|
|
7737
|
+
created_at?: string;
|
|
7738
|
+
delivery_date?: string | null;
|
|
7739
|
+
delivery_location_id?: string | null;
|
|
7740
|
+
id?: string;
|
|
7741
|
+
notes?: string | null;
|
|
7742
|
+
order_id?: string;
|
|
7743
|
+
shipment_number?: number;
|
|
7744
|
+
shipped_at?: string | null;
|
|
7745
|
+
status?: string;
|
|
7746
|
+
updated_at?: string;
|
|
7747
|
+
};
|
|
7748
|
+
Relationships: [{
|
|
7749
|
+
foreignKeyName: "order_shipments_carrier_id_fkey";
|
|
7750
|
+
columns: ["carrier_id"];
|
|
7751
|
+
isOneToOne: false;
|
|
7752
|
+
referencedRelation: "carriers";
|
|
7753
|
+
referencedColumns: ["id"];
|
|
7754
|
+
}, {
|
|
7755
|
+
foreignKeyName: "order_shipments_order_id_fkey";
|
|
7756
|
+
columns: ["order_id"];
|
|
7757
|
+
isOneToOne: false;
|
|
7758
|
+
referencedRelation: "orders";
|
|
7759
|
+
referencedColumns: ["id"];
|
|
7760
|
+
}];
|
|
7761
|
+
};
|
|
6976
7762
|
orders: {
|
|
6977
7763
|
Row: {
|
|
7764
|
+
buffer_id: string | null;
|
|
6978
7765
|
created_at: string;
|
|
6979
7766
|
custom_fields: import("./types").Json;
|
|
6980
7767
|
customer_id: string | null;
|
|
6981
7768
|
customer_name: string;
|
|
6982
7769
|
deleted_at: string | null;
|
|
6983
|
-
delivery_date: string;
|
|
7770
|
+
delivery_date: string | null;
|
|
7771
|
+
floriday_sales_order_id: string | null;
|
|
6984
7772
|
id: string;
|
|
7773
|
+
is_reservation: boolean;
|
|
6985
7774
|
notes: string | null;
|
|
6986
7775
|
order_date: string;
|
|
6987
7776
|
order_number: string;
|
|
@@ -6993,13 +7782,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
6993
7782
|
updated_at: string;
|
|
6994
7783
|
};
|
|
6995
7784
|
Insert: {
|
|
7785
|
+
buffer_id?: string | null;
|
|
6996
7786
|
created_at?: string;
|
|
6997
7787
|
custom_fields?: import("./types").Json;
|
|
6998
7788
|
customer_id?: string | null;
|
|
6999
7789
|
customer_name?: string;
|
|
7000
7790
|
deleted_at?: string | null;
|
|
7001
|
-
delivery_date
|
|
7791
|
+
delivery_date?: string | null;
|
|
7792
|
+
floriday_sales_order_id?: string | null;
|
|
7002
7793
|
id?: string;
|
|
7794
|
+
is_reservation?: boolean;
|
|
7003
7795
|
notes?: string | null;
|
|
7004
7796
|
order_date?: string;
|
|
7005
7797
|
order_number: string;
|
|
@@ -7011,13 +7803,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7011
7803
|
updated_at?: string;
|
|
7012
7804
|
};
|
|
7013
7805
|
Update: {
|
|
7806
|
+
buffer_id?: string | null;
|
|
7014
7807
|
created_at?: string;
|
|
7015
7808
|
custom_fields?: import("./types").Json;
|
|
7016
7809
|
customer_id?: string | null;
|
|
7017
7810
|
customer_name?: string;
|
|
7018
7811
|
deleted_at?: string | null;
|
|
7019
|
-
delivery_date?: string;
|
|
7812
|
+
delivery_date?: string | null;
|
|
7813
|
+
floriday_sales_order_id?: string | null;
|
|
7020
7814
|
id?: string;
|
|
7815
|
+
is_reservation?: boolean;
|
|
7021
7816
|
notes?: string | null;
|
|
7022
7817
|
order_date?: string;
|
|
7023
7818
|
order_number?: string;
|
|
@@ -7029,6 +7824,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7029
7824
|
updated_at?: string;
|
|
7030
7825
|
};
|
|
7031
7826
|
Relationships: [{
|
|
7827
|
+
foreignKeyName: "orders_buffer_id_fkey";
|
|
7828
|
+
columns: ["buffer_id"];
|
|
7829
|
+
isOneToOne: false;
|
|
7830
|
+
referencedRelation: "order_buffers";
|
|
7831
|
+
referencedColumns: ["id"];
|
|
7832
|
+
}, {
|
|
7032
7833
|
foreignKeyName: "orders_customer_id_fkey";
|
|
7033
7834
|
columns: ["customer_id"];
|
|
7034
7835
|
isOneToOne: false;
|
|
@@ -7159,6 +7960,66 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7159
7960
|
};
|
|
7160
7961
|
Relationships: [];
|
|
7161
7962
|
};
|
|
7963
|
+
product_bom_items: {
|
|
7964
|
+
Row: {
|
|
7965
|
+
component_product_id: string | null;
|
|
7966
|
+
component_trade_item_floriday_id: string | null;
|
|
7967
|
+
created_at: string;
|
|
7968
|
+
id: string;
|
|
7969
|
+
notes: string | null;
|
|
7970
|
+
packing_configuration_id: string | null;
|
|
7971
|
+
parent_product_id: string | null;
|
|
7972
|
+
parent_trade_item_floriday_id: string | null;
|
|
7973
|
+
quantity: number;
|
|
7974
|
+
sort_order: number;
|
|
7975
|
+
tenant_id: string;
|
|
7976
|
+
unit: string;
|
|
7977
|
+
updated_at: string;
|
|
7978
|
+
};
|
|
7979
|
+
Insert: {
|
|
7980
|
+
component_product_id?: string | null;
|
|
7981
|
+
component_trade_item_floriday_id?: string | null;
|
|
7982
|
+
created_at?: string;
|
|
7983
|
+
id?: string;
|
|
7984
|
+
notes?: string | null;
|
|
7985
|
+
packing_configuration_id?: string | null;
|
|
7986
|
+
parent_product_id?: string | null;
|
|
7987
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7988
|
+
quantity?: number;
|
|
7989
|
+
sort_order?: number;
|
|
7990
|
+
tenant_id: string;
|
|
7991
|
+
unit?: string;
|
|
7992
|
+
updated_at?: string;
|
|
7993
|
+
};
|
|
7994
|
+
Update: {
|
|
7995
|
+
component_product_id?: string | null;
|
|
7996
|
+
component_trade_item_floriday_id?: string | null;
|
|
7997
|
+
created_at?: string;
|
|
7998
|
+
id?: string;
|
|
7999
|
+
notes?: string | null;
|
|
8000
|
+
packing_configuration_id?: string | null;
|
|
8001
|
+
parent_product_id?: string | null;
|
|
8002
|
+
parent_trade_item_floriday_id?: string | null;
|
|
8003
|
+
quantity?: number;
|
|
8004
|
+
sort_order?: number;
|
|
8005
|
+
tenant_id?: string;
|
|
8006
|
+
unit?: string;
|
|
8007
|
+
updated_at?: string;
|
|
8008
|
+
};
|
|
8009
|
+
Relationships: [{
|
|
8010
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
8011
|
+
columns: ["component_product_id"];
|
|
8012
|
+
isOneToOne: false;
|
|
8013
|
+
referencedRelation: "products";
|
|
8014
|
+
referencedColumns: ["id"];
|
|
8015
|
+
}, {
|
|
8016
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
8017
|
+
columns: ["parent_product_id"];
|
|
8018
|
+
isOneToOne: false;
|
|
8019
|
+
referencedRelation: "products";
|
|
8020
|
+
referencedColumns: ["id"];
|
|
8021
|
+
}];
|
|
8022
|
+
};
|
|
7162
8023
|
product_categories: {
|
|
7163
8024
|
Row: {
|
|
7164
8025
|
color: string;
|
|
@@ -7264,6 +8125,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7264
8125
|
id: string;
|
|
7265
8126
|
product_group_id: string;
|
|
7266
8127
|
quantity: number;
|
|
8128
|
+
sort_order: number;
|
|
7267
8129
|
trade_item_id: string;
|
|
7268
8130
|
};
|
|
7269
8131
|
Insert: {
|
|
@@ -7271,6 +8133,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7271
8133
|
id?: string;
|
|
7272
8134
|
product_group_id: string;
|
|
7273
8135
|
quantity?: number;
|
|
8136
|
+
sort_order?: number;
|
|
7274
8137
|
trade_item_id: string;
|
|
7275
8138
|
};
|
|
7276
8139
|
Update: {
|
|
@@ -7278,6 +8141,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7278
8141
|
id?: string;
|
|
7279
8142
|
product_group_id?: string;
|
|
7280
8143
|
quantity?: number;
|
|
8144
|
+
sort_order?: number;
|
|
7281
8145
|
trade_item_id?: string;
|
|
7282
8146
|
};
|
|
7283
8147
|
Relationships: [{
|
|
@@ -7292,6 +8156,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7292
8156
|
Row: {
|
|
7293
8157
|
created_at: string;
|
|
7294
8158
|
description: string | null;
|
|
8159
|
+
head_product_id: string | null;
|
|
8160
|
+
head_trade_item_floriday_id: string | null;
|
|
7295
8161
|
id: string;
|
|
7296
8162
|
is_active: boolean;
|
|
7297
8163
|
name: string;
|
|
@@ -7301,6 +8167,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7301
8167
|
Insert: {
|
|
7302
8168
|
created_at?: string;
|
|
7303
8169
|
description?: string | null;
|
|
8170
|
+
head_product_id?: string | null;
|
|
8171
|
+
head_trade_item_floriday_id?: string | null;
|
|
7304
8172
|
id?: string;
|
|
7305
8173
|
is_active?: boolean;
|
|
7306
8174
|
name: string;
|
|
@@ -7310,24 +8178,136 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7310
8178
|
Update: {
|
|
7311
8179
|
created_at?: string;
|
|
7312
8180
|
description?: string | null;
|
|
8181
|
+
head_product_id?: string | null;
|
|
8182
|
+
head_trade_item_floriday_id?: string | null;
|
|
7313
8183
|
id?: string;
|
|
7314
8184
|
is_active?: boolean;
|
|
7315
8185
|
name?: string;
|
|
7316
8186
|
tenant_id?: string;
|
|
7317
8187
|
updated_at?: string;
|
|
7318
8188
|
};
|
|
8189
|
+
Relationships: [{
|
|
8190
|
+
foreignKeyName: "product_groups_head_product_id_fkey";
|
|
8191
|
+
columns: ["head_product_id"];
|
|
8192
|
+
isOneToOne: false;
|
|
8193
|
+
referencedRelation: "products";
|
|
8194
|
+
referencedColumns: ["id"];
|
|
8195
|
+
}];
|
|
8196
|
+
};
|
|
8197
|
+
product_load_settings: {
|
|
8198
|
+
Row: {
|
|
8199
|
+
created_at: string;
|
|
8200
|
+
id: string;
|
|
8201
|
+
is_package: boolean;
|
|
8202
|
+
label: string | null;
|
|
8203
|
+
layers_per_load_carrier: number | null;
|
|
8204
|
+
load_carrier: string | null;
|
|
8205
|
+
package_id: string | null;
|
|
8206
|
+
package_label: string | null;
|
|
8207
|
+
packages_per_layer: number | null;
|
|
8208
|
+
packing_configuration_id: string;
|
|
8209
|
+
product_id: string | null;
|
|
8210
|
+
tenant_id: string;
|
|
8211
|
+
trade_item_floriday_id: string | null;
|
|
8212
|
+
units_per_package: number | null;
|
|
8213
|
+
updated_at: string;
|
|
8214
|
+
};
|
|
8215
|
+
Insert: {
|
|
8216
|
+
created_at?: string;
|
|
8217
|
+
id?: string;
|
|
8218
|
+
is_package?: boolean;
|
|
8219
|
+
label?: string | null;
|
|
8220
|
+
layers_per_load_carrier?: number | null;
|
|
8221
|
+
load_carrier?: string | null;
|
|
8222
|
+
package_id?: string | null;
|
|
8223
|
+
package_label?: string | null;
|
|
8224
|
+
packages_per_layer?: number | null;
|
|
8225
|
+
packing_configuration_id?: string;
|
|
8226
|
+
product_id?: string | null;
|
|
8227
|
+
tenant_id: string;
|
|
8228
|
+
trade_item_floriday_id?: string | null;
|
|
8229
|
+
units_per_package?: number | null;
|
|
8230
|
+
updated_at?: string;
|
|
8231
|
+
};
|
|
8232
|
+
Update: {
|
|
8233
|
+
created_at?: string;
|
|
8234
|
+
id?: string;
|
|
8235
|
+
is_package?: boolean;
|
|
8236
|
+
label?: string | null;
|
|
8237
|
+
layers_per_load_carrier?: number | null;
|
|
8238
|
+
load_carrier?: string | null;
|
|
8239
|
+
package_id?: string | null;
|
|
8240
|
+
package_label?: string | null;
|
|
8241
|
+
packages_per_layer?: number | null;
|
|
8242
|
+
packing_configuration_id?: string;
|
|
8243
|
+
product_id?: string | null;
|
|
8244
|
+
tenant_id?: string;
|
|
8245
|
+
trade_item_floriday_id?: string | null;
|
|
8246
|
+
units_per_package?: number | null;
|
|
8247
|
+
updated_at?: string;
|
|
8248
|
+
};
|
|
8249
|
+
Relationships: [{
|
|
8250
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
8251
|
+
columns: ["package_id"];
|
|
8252
|
+
isOneToOne: false;
|
|
8253
|
+
referencedRelation: "packages";
|
|
8254
|
+
referencedColumns: ["id"];
|
|
8255
|
+
}, {
|
|
8256
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
8257
|
+
columns: ["product_id"];
|
|
8258
|
+
isOneToOne: false;
|
|
8259
|
+
referencedRelation: "products";
|
|
8260
|
+
referencedColumns: ["id"];
|
|
8261
|
+
}];
|
|
8262
|
+
};
|
|
8263
|
+
product_merge_log: {
|
|
8264
|
+
Row: {
|
|
8265
|
+
canonical_product_id: string | null;
|
|
8266
|
+
id: string;
|
|
8267
|
+
merged_at: string;
|
|
8268
|
+
merged_from_id: string;
|
|
8269
|
+
notes: string | null;
|
|
8270
|
+
snapshot: import("./types").Json;
|
|
8271
|
+
source_table: string;
|
|
8272
|
+
status: string;
|
|
8273
|
+
};
|
|
8274
|
+
Insert: {
|
|
8275
|
+
canonical_product_id?: string | null;
|
|
8276
|
+
id?: string;
|
|
8277
|
+
merged_at?: string;
|
|
8278
|
+
merged_from_id: string;
|
|
8279
|
+
notes?: string | null;
|
|
8280
|
+
snapshot?: import("./types").Json;
|
|
8281
|
+
source_table: string;
|
|
8282
|
+
status?: string;
|
|
8283
|
+
};
|
|
8284
|
+
Update: {
|
|
8285
|
+
canonical_product_id?: string | null;
|
|
8286
|
+
id?: string;
|
|
8287
|
+
merged_at?: string;
|
|
8288
|
+
merged_from_id?: string;
|
|
8289
|
+
notes?: string | null;
|
|
8290
|
+
snapshot?: import("./types").Json;
|
|
8291
|
+
source_table?: string;
|
|
8292
|
+
status?: string;
|
|
8293
|
+
};
|
|
7319
8294
|
Relationships: [];
|
|
7320
8295
|
};
|
|
7321
8296
|
products: {
|
|
7322
8297
|
Row: {
|
|
8298
|
+
article_number: string | null;
|
|
7323
8299
|
barcode: string | null;
|
|
7324
8300
|
batch: string;
|
|
7325
8301
|
crates_per_layer: number;
|
|
7326
8302
|
created_at: string;
|
|
7327
8303
|
custom_fields: import("./types").Json;
|
|
8304
|
+
floriday_active: boolean;
|
|
8305
|
+
floriday_payload: import("./types").Json;
|
|
8306
|
+
floriday_trade_item_id: string | null;
|
|
7328
8307
|
id: string;
|
|
7329
8308
|
image_url: string | null;
|
|
7330
8309
|
incoming_quantity: number;
|
|
8310
|
+
is_layer: boolean;
|
|
7331
8311
|
layers_per_cart: number;
|
|
7332
8312
|
location: string;
|
|
7333
8313
|
min_quantity: number;
|
|
@@ -7340,17 +8320,24 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7340
8320
|
trade_item_key: string | null;
|
|
7341
8321
|
unit: string;
|
|
7342
8322
|
updated_at: string;
|
|
8323
|
+
vat_code: string | null;
|
|
8324
|
+
vat_rate: number | null;
|
|
7343
8325
|
weight: string | null;
|
|
7344
8326
|
};
|
|
7345
8327
|
Insert: {
|
|
8328
|
+
article_number?: string | null;
|
|
7346
8329
|
barcode?: string | null;
|
|
7347
8330
|
batch: string;
|
|
7348
8331
|
crates_per_layer?: number;
|
|
7349
8332
|
created_at?: string;
|
|
7350
8333
|
custom_fields?: import("./types").Json;
|
|
8334
|
+
floriday_active?: boolean;
|
|
8335
|
+
floriday_payload?: import("./types").Json;
|
|
8336
|
+
floriday_trade_item_id?: string | null;
|
|
7351
8337
|
id?: string;
|
|
7352
8338
|
image_url?: string | null;
|
|
7353
8339
|
incoming_quantity?: number;
|
|
8340
|
+
is_layer?: boolean;
|
|
7354
8341
|
layers_per_cart?: number;
|
|
7355
8342
|
location: string;
|
|
7356
8343
|
min_quantity?: number;
|
|
@@ -7363,17 +8350,24 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7363
8350
|
trade_item_key?: string | null;
|
|
7364
8351
|
unit?: string;
|
|
7365
8352
|
updated_at?: string;
|
|
8353
|
+
vat_code?: string | null;
|
|
8354
|
+
vat_rate?: number | null;
|
|
7366
8355
|
weight?: string | null;
|
|
7367
8356
|
};
|
|
7368
8357
|
Update: {
|
|
8358
|
+
article_number?: string | null;
|
|
7369
8359
|
barcode?: string | null;
|
|
7370
8360
|
batch?: string;
|
|
7371
8361
|
crates_per_layer?: number;
|
|
7372
8362
|
created_at?: string;
|
|
7373
8363
|
custom_fields?: import("./types").Json;
|
|
8364
|
+
floriday_active?: boolean;
|
|
8365
|
+
floriday_payload?: import("./types").Json;
|
|
8366
|
+
floriday_trade_item_id?: string | null;
|
|
7374
8367
|
id?: string;
|
|
7375
8368
|
image_url?: string | null;
|
|
7376
8369
|
incoming_quantity?: number;
|
|
8370
|
+
is_layer?: boolean;
|
|
7377
8371
|
layers_per_cart?: number;
|
|
7378
8372
|
location?: string;
|
|
7379
8373
|
min_quantity?: number;
|
|
@@ -7386,6 +8380,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7386
8380
|
trade_item_key?: string | null;
|
|
7387
8381
|
unit?: string;
|
|
7388
8382
|
updated_at?: string;
|
|
8383
|
+
vat_code?: string | null;
|
|
8384
|
+
vat_rate?: number | null;
|
|
7389
8385
|
weight?: string | null;
|
|
7390
8386
|
};
|
|
7391
8387
|
Relationships: [];
|
|
@@ -8279,8 +9275,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8279
9275
|
order_id: string | null;
|
|
8280
9276
|
order_item_id: string | null;
|
|
8281
9277
|
order_source: string | null;
|
|
9278
|
+
parent_trade_item_key: string | null;
|
|
8282
9279
|
physical_after: number | null;
|
|
8283
9280
|
physical_before: number | null;
|
|
9281
|
+
production_batch_id: string | null;
|
|
8284
9282
|
qty_delta: number;
|
|
8285
9283
|
reason: string | null;
|
|
8286
9284
|
reserved_after: number | null;
|
|
@@ -8296,8 +9294,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8296
9294
|
order_id?: string | null;
|
|
8297
9295
|
order_item_id?: string | null;
|
|
8298
9296
|
order_source?: string | null;
|
|
9297
|
+
parent_trade_item_key?: string | null;
|
|
8299
9298
|
physical_after?: number | null;
|
|
8300
9299
|
physical_before?: number | null;
|
|
9300
|
+
production_batch_id?: string | null;
|
|
8301
9301
|
qty_delta: number;
|
|
8302
9302
|
reason?: string | null;
|
|
8303
9303
|
reserved_after?: number | null;
|
|
@@ -8313,8 +9313,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8313
9313
|
order_id?: string | null;
|
|
8314
9314
|
order_item_id?: string | null;
|
|
8315
9315
|
order_source?: string | null;
|
|
9316
|
+
parent_trade_item_key?: string | null;
|
|
8316
9317
|
physical_after?: number | null;
|
|
8317
9318
|
physical_before?: number | null;
|
|
9319
|
+
production_batch_id?: string | null;
|
|
8318
9320
|
qty_delta?: number;
|
|
8319
9321
|
reason?: string | null;
|
|
8320
9322
|
reserved_after?: number | null;
|
|
@@ -8620,6 +9622,48 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8620
9622
|
};
|
|
8621
9623
|
Relationships: [];
|
|
8622
9624
|
};
|
|
9625
|
+
trade_item_prices: {
|
|
9626
|
+
Row: {
|
|
9627
|
+
created_at: string;
|
|
9628
|
+
currency: string;
|
|
9629
|
+
id: string;
|
|
9630
|
+
last_push_error: string | null;
|
|
9631
|
+
last_pushed_at: string | null;
|
|
9632
|
+
price_group_id: string | null;
|
|
9633
|
+
price_per_piece: number;
|
|
9634
|
+
supply_line_id: string | null;
|
|
9635
|
+
trade_item_key: string;
|
|
9636
|
+
updated_at: string;
|
|
9637
|
+
user_id: string;
|
|
9638
|
+
};
|
|
9639
|
+
Insert: {
|
|
9640
|
+
created_at?: string;
|
|
9641
|
+
currency?: string;
|
|
9642
|
+
id?: string;
|
|
9643
|
+
last_push_error?: string | null;
|
|
9644
|
+
last_pushed_at?: string | null;
|
|
9645
|
+
price_group_id?: string | null;
|
|
9646
|
+
price_per_piece: number;
|
|
9647
|
+
supply_line_id?: string | null;
|
|
9648
|
+
trade_item_key: string;
|
|
9649
|
+
updated_at?: string;
|
|
9650
|
+
user_id: string;
|
|
9651
|
+
};
|
|
9652
|
+
Update: {
|
|
9653
|
+
created_at?: string;
|
|
9654
|
+
currency?: string;
|
|
9655
|
+
id?: string;
|
|
9656
|
+
last_push_error?: string | null;
|
|
9657
|
+
last_pushed_at?: string | null;
|
|
9658
|
+
price_group_id?: string | null;
|
|
9659
|
+
price_per_piece?: number;
|
|
9660
|
+
supply_line_id?: string | null;
|
|
9661
|
+
trade_item_key?: string;
|
|
9662
|
+
updated_at?: string;
|
|
9663
|
+
user_id?: string;
|
|
9664
|
+
};
|
|
9665
|
+
Relationships: [];
|
|
9666
|
+
};
|
|
8623
9667
|
trade_item_stock: {
|
|
8624
9668
|
Row: {
|
|
8625
9669
|
connection_id: string;
|
|
@@ -8773,7 +9817,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8773
9817
|
twinfield_connections: {
|
|
8774
9818
|
Row: {
|
|
8775
9819
|
access_token: string | null;
|
|
8776
|
-
client_id: string;
|
|
9820
|
+
client_id: string | null;
|
|
8777
9821
|
client_secret: string | null;
|
|
8778
9822
|
cluster_uri: string | null;
|
|
8779
9823
|
company_code: string | null;
|
|
@@ -8785,7 +9829,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8785
9829
|
is_active: boolean;
|
|
8786
9830
|
label: string | null;
|
|
8787
9831
|
office_code: string | null;
|
|
8788
|
-
redirect_uri: string;
|
|
9832
|
+
redirect_uri: string | null;
|
|
8789
9833
|
refresh_token: string | null;
|
|
8790
9834
|
token_expires_at: string | null;
|
|
8791
9835
|
updated_at: string;
|
|
@@ -8793,7 +9837,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8793
9837
|
};
|
|
8794
9838
|
Insert: {
|
|
8795
9839
|
access_token?: string | null;
|
|
8796
|
-
client_id
|
|
9840
|
+
client_id?: string | null;
|
|
8797
9841
|
client_secret?: string | null;
|
|
8798
9842
|
cluster_uri?: string | null;
|
|
8799
9843
|
company_code?: string | null;
|
|
@@ -8805,7 +9849,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8805
9849
|
is_active?: boolean;
|
|
8806
9850
|
label?: string | null;
|
|
8807
9851
|
office_code?: string | null;
|
|
8808
|
-
redirect_uri
|
|
9852
|
+
redirect_uri?: string | null;
|
|
8809
9853
|
refresh_token?: string | null;
|
|
8810
9854
|
token_expires_at?: string | null;
|
|
8811
9855
|
updated_at?: string;
|
|
@@ -8813,7 +9857,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8813
9857
|
};
|
|
8814
9858
|
Update: {
|
|
8815
9859
|
access_token?: string | null;
|
|
8816
|
-
client_id?: string;
|
|
9860
|
+
client_id?: string | null;
|
|
8817
9861
|
client_secret?: string | null;
|
|
8818
9862
|
cluster_uri?: string | null;
|
|
8819
9863
|
company_code?: string | null;
|
|
@@ -8825,7 +9869,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8825
9869
|
is_active?: boolean;
|
|
8826
9870
|
label?: string | null;
|
|
8827
9871
|
office_code?: string | null;
|
|
8828
|
-
redirect_uri?: string;
|
|
9872
|
+
redirect_uri?: string | null;
|
|
8829
9873
|
refresh_token?: string | null;
|
|
8830
9874
|
token_expires_at?: string | null;
|
|
8831
9875
|
updated_at?: string;
|
|
@@ -10020,25 +11064,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10020
11064
|
};
|
|
10021
11065
|
Relationships: [];
|
|
10022
11066
|
};
|
|
10023
|
-
floriday_customer_discounts: {
|
|
10024
|
-
Row: {
|
|
10025
|
-
base_price: number | null;
|
|
10026
|
-
buyer_organization_id: string | null;
|
|
10027
|
-
currency: string | null;
|
|
10028
|
-
discount_type: string | null;
|
|
10029
|
-
discount_value: number | null;
|
|
10030
|
-
min_quantity: number | null;
|
|
10031
|
-
net_price: number | null;
|
|
10032
|
-
product_group_id: string | null;
|
|
10033
|
-
raw: import("./types").Json | null;
|
|
10034
|
-
source: string | null;
|
|
10035
|
-
source_id: string | null;
|
|
10036
|
-
trade_item_id: string | null;
|
|
10037
|
-
valid_from: string | null;
|
|
10038
|
-
valid_until: string | null;
|
|
10039
|
-
};
|
|
10040
|
-
Relationships: [];
|
|
10041
|
-
};
|
|
10042
11067
|
local_customer_discounts: {
|
|
10043
11068
|
Row: {
|
|
10044
11069
|
base_price: number | null;
|
|
@@ -10342,6 +11367,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10342
11367
|
};
|
|
10343
11368
|
Returns: number;
|
|
10344
11369
|
};
|
|
11370
|
+
_migrate_rewrite_stock_key: {
|
|
11371
|
+
Args: {
|
|
11372
|
+
_from_key: string;
|
|
11373
|
+
_to_key: string;
|
|
11374
|
+
};
|
|
11375
|
+
Returns: undefined;
|
|
11376
|
+
};
|
|
10345
11377
|
afh_city_code: {
|
|
10346
11378
|
Args: {
|
|
10347
11379
|
_city: string;
|
|
@@ -10425,6 +11457,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10425
11457
|
processed_items: number;
|
|
10426
11458
|
}[];
|
|
10427
11459
|
};
|
|
11460
|
+
calculate_layer_stock: {
|
|
11461
|
+
Args: {
|
|
11462
|
+
p_product_id: string;
|
|
11463
|
+
};
|
|
11464
|
+
Returns: number;
|
|
11465
|
+
};
|
|
10428
11466
|
call_exact_route: {
|
|
10429
11467
|
Args: {
|
|
10430
11468
|
path: string;
|
|
@@ -10457,6 +11495,28 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10457
11495
|
Args: never;
|
|
10458
11496
|
Returns: undefined;
|
|
10459
11497
|
};
|
|
11498
|
+
consume_bom_for_production: {
|
|
11499
|
+
Args: {
|
|
11500
|
+
p_connection_id: string;
|
|
11501
|
+
p_parent_id: string;
|
|
11502
|
+
p_parent_key: string;
|
|
11503
|
+
p_parent_kind: string;
|
|
11504
|
+
p_quantity: number;
|
|
11505
|
+
p_user_id: string;
|
|
11506
|
+
};
|
|
11507
|
+
Returns: import("./types").Json;
|
|
11508
|
+
} | {
|
|
11509
|
+
Args: {
|
|
11510
|
+
p_batch_id?: string;
|
|
11511
|
+
p_connection_id: string;
|
|
11512
|
+
p_parent_id: string;
|
|
11513
|
+
p_parent_key: string;
|
|
11514
|
+
p_parent_kind: string;
|
|
11515
|
+
p_quantity: number;
|
|
11516
|
+
p_user_id: string;
|
|
11517
|
+
};
|
|
11518
|
+
Returns: import("./types").Json;
|
|
11519
|
+
};
|
|
10460
11520
|
consume_floriday_rate_limit: {
|
|
10461
11521
|
Args: {
|
|
10462
11522
|
p_bucket: string;
|
|
@@ -10508,6 +11568,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10508
11568
|
table_name: string;
|
|
10509
11569
|
}[];
|
|
10510
11570
|
};
|
|
11571
|
+
delete_samenstelling: {
|
|
11572
|
+
Args: {
|
|
11573
|
+
p_parent_id: string;
|
|
11574
|
+
p_parent_kind: string;
|
|
11575
|
+
};
|
|
11576
|
+
Returns: import("./types").Json;
|
|
11577
|
+
};
|
|
10511
11578
|
dispatch_carrier_signups_sql: {
|
|
10512
11579
|
Args: {
|
|
10513
11580
|
_catchup?: string;
|
|
@@ -10549,6 +11616,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10549
11616
|
status: string;
|
|
10550
11617
|
}[];
|
|
10551
11618
|
};
|
|
11619
|
+
email_auth_upsert_connection: {
|
|
11620
|
+
Args: {
|
|
11621
|
+
_account_email: string;
|
|
11622
|
+
_created_by: string;
|
|
11623
|
+
_is_active: boolean;
|
|
11624
|
+
_provider: string;
|
|
11625
|
+
_status: string;
|
|
11626
|
+
};
|
|
11627
|
+
Returns: string;
|
|
11628
|
+
};
|
|
10552
11629
|
enqueue_cart_replan_if_unlocked: {
|
|
10553
11630
|
Args: {
|
|
10554
11631
|
p_order_id: string;
|
|
@@ -10668,19 +11745,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10668
11745
|
resource: string;
|
|
10669
11746
|
}[];
|
|
10670
11747
|
};
|
|
10671
|
-
get_floriday_agreements_active: {
|
|
10672
|
-
Args: {
|
|
10673
|
-
p_on_date?: string;
|
|
10674
|
-
};
|
|
10675
|
-
Returns: {
|
|
10676
|
-
buyer_organization_id: string;
|
|
10677
|
-
data: import("./types").Json;
|
|
10678
|
-
floriday_id: string;
|
|
10679
|
-
status: string;
|
|
10680
|
-
valid_from: string;
|
|
10681
|
-
valid_until: string;
|
|
10682
|
-
}[];
|
|
10683
|
-
};
|
|
10684
11748
|
get_floriday_clock_supplies_window: {
|
|
10685
11749
|
Args: {
|
|
10686
11750
|
p_from: string;
|
|
@@ -10753,6 +11817,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10753
11817
|
minutes_since_success: number;
|
|
10754
11818
|
}[];
|
|
10755
11819
|
};
|
|
11820
|
+
get_group_allocation_keys: {
|
|
11821
|
+
Args: {
|
|
11822
|
+
p_product_id: string;
|
|
11823
|
+
};
|
|
11824
|
+
Returns: {
|
|
11825
|
+
k: string;
|
|
11826
|
+
ord: number;
|
|
11827
|
+
}[];
|
|
11828
|
+
};
|
|
11829
|
+
get_group_head_key: {
|
|
11830
|
+
Args: {
|
|
11831
|
+
p_group_id: string;
|
|
11832
|
+
};
|
|
11833
|
+
Returns: string;
|
|
11834
|
+
};
|
|
11835
|
+
get_inventory_stock_for_key: {
|
|
11836
|
+
Args: {
|
|
11837
|
+
p_key: string;
|
|
11838
|
+
};
|
|
11839
|
+
Returns: number;
|
|
11840
|
+
};
|
|
10756
11841
|
get_offer_by_link_code: {
|
|
10757
11842
|
Args: {
|
|
10758
11843
|
p_code: string;
|
|
@@ -10783,6 +11868,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10783
11868
|
};
|
|
10784
11869
|
Returns: string;
|
|
10785
11870
|
};
|
|
11871
|
+
get_product_group_available_stock: {
|
|
11872
|
+
Args: {
|
|
11873
|
+
p_group_id: string;
|
|
11874
|
+
};
|
|
11875
|
+
Returns: number;
|
|
11876
|
+
};
|
|
10786
11877
|
get_room_busy_windows: {
|
|
10787
11878
|
Args: {
|
|
10788
11879
|
p_from: string;
|
|
@@ -10863,6 +11954,32 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10863
11954
|
};
|
|
10864
11955
|
Returns: undefined;
|
|
10865
11956
|
};
|
|
11957
|
+
mark_salesorder_controlled: {
|
|
11958
|
+
Args: {
|
|
11959
|
+
p_controlled: boolean;
|
|
11960
|
+
p_floriday_id: string;
|
|
11961
|
+
};
|
|
11962
|
+
Returns: undefined;
|
|
11963
|
+
};
|
|
11964
|
+
mark_shipment_shipped: {
|
|
11965
|
+
Args: {
|
|
11966
|
+
p_shipment_id: string;
|
|
11967
|
+
};
|
|
11968
|
+
Returns: undefined;
|
|
11969
|
+
};
|
|
11970
|
+
merge_products: {
|
|
11971
|
+
Args: {
|
|
11972
|
+
_canonical: string;
|
|
11973
|
+
_loser: string;
|
|
11974
|
+
};
|
|
11975
|
+
Returns: undefined;
|
|
11976
|
+
};
|
|
11977
|
+
next_manufacture_partij: {
|
|
11978
|
+
Args: {
|
|
11979
|
+
_tenant_id: string;
|
|
11980
|
+
};
|
|
11981
|
+
Returns: string;
|
|
11982
|
+
};
|
|
10866
11983
|
next_order_number: {
|
|
10867
11984
|
Args: {
|
|
10868
11985
|
p_prefix: string;
|
|
@@ -10932,6 +12049,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10932
12049
|
};
|
|
10933
12050
|
Returns: undefined;
|
|
10934
12051
|
};
|
|
12052
|
+
pickstation_resolve_delivery_orders: {
|
|
12053
|
+
Args: {
|
|
12054
|
+
p_sales_order_ids: string[];
|
|
12055
|
+
};
|
|
12056
|
+
Returns: {
|
|
12057
|
+
delivery_order_id: string;
|
|
12058
|
+
sales_order_id: string;
|
|
12059
|
+
}[];
|
|
12060
|
+
};
|
|
10935
12061
|
pickstation_set_cart_status: {
|
|
10936
12062
|
Args: {
|
|
10937
12063
|
p_cart_index: number;
|
|
@@ -10941,6 +12067,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10941
12067
|
};
|
|
10942
12068
|
Returns: undefined;
|
|
10943
12069
|
};
|
|
12070
|
+
produce_designed_product: {
|
|
12071
|
+
Args: {
|
|
12072
|
+
p_parent_id: string;
|
|
12073
|
+
p_parent_kind: string;
|
|
12074
|
+
p_quantity: number;
|
|
12075
|
+
};
|
|
12076
|
+
Returns: import("./types").Json;
|
|
12077
|
+
};
|
|
10944
12078
|
promote_trade_item_key: {
|
|
10945
12079
|
Args: {
|
|
10946
12080
|
p_new: string;
|
|
@@ -10948,6 +12082,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10948
12082
|
};
|
|
10949
12083
|
Returns: undefined;
|
|
10950
12084
|
};
|
|
12085
|
+
recompute_all_reserved_stock: {
|
|
12086
|
+
Args: never;
|
|
12087
|
+
Returns: undefined;
|
|
12088
|
+
};
|
|
10951
12089
|
recompute_order_status: {
|
|
10952
12090
|
Args: {
|
|
10953
12091
|
p_order_id: string;
|
|
@@ -10997,27 +12135,45 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10997
12135
|
};
|
|
10998
12136
|
Returns: undefined;
|
|
10999
12137
|
};
|
|
12138
|
+
resolve_group_allocation: {
|
|
12139
|
+
Args: {
|
|
12140
|
+
_needed: number;
|
|
12141
|
+
_product_group_id: string;
|
|
12142
|
+
};
|
|
12143
|
+
Returns: {
|
|
12144
|
+
allocated: number;
|
|
12145
|
+
trade_item_id: string;
|
|
12146
|
+
}[];
|
|
12147
|
+
};
|
|
12148
|
+
resolve_group_member_stock_key: {
|
|
12149
|
+
Args: {
|
|
12150
|
+
p_trade_item_id: string;
|
|
12151
|
+
};
|
|
12152
|
+
Returns: string;
|
|
12153
|
+
};
|
|
11000
12154
|
resolve_product_id_for_item: {
|
|
11001
12155
|
Args: {
|
|
11002
12156
|
p_product_name: string;
|
|
11003
12157
|
};
|
|
11004
12158
|
Returns: string;
|
|
11005
12159
|
};
|
|
11006
|
-
|
|
12160
|
+
resolve_stock_trade_item_key: {
|
|
11007
12161
|
Args: {
|
|
11008
|
-
|
|
11009
|
-
p_url: string;
|
|
12162
|
+
p_product_id: string;
|
|
11010
12163
|
};
|
|
11011
|
-
Returns:
|
|
12164
|
+
Returns: string;
|
|
11012
12165
|
};
|
|
11013
|
-
|
|
12166
|
+
reverse_production: {
|
|
11014
12167
|
Args: {
|
|
11015
|
-
|
|
11016
|
-
|
|
12168
|
+
p_connection_id?: string;
|
|
12169
|
+
p_parent_key: string;
|
|
12170
|
+
p_quantity: number;
|
|
12171
|
+
p_reason?: string;
|
|
12172
|
+
p_user_id?: string;
|
|
11017
12173
|
};
|
|
11018
|
-
Returns:
|
|
12174
|
+
Returns: import("./types").Json;
|
|
11019
12175
|
};
|
|
11020
|
-
|
|
12176
|
+
schedule_floriday_additional_services_sync: {
|
|
11021
12177
|
Args: {
|
|
11022
12178
|
p_apikey: string;
|
|
11023
12179
|
p_url: string;
|
|
@@ -11270,6 +12426,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11270
12426
|
};
|
|
11271
12427
|
Returns: number;
|
|
11272
12428
|
};
|
|
12429
|
+
self_heal_floriday_links: {
|
|
12430
|
+
Args: never;
|
|
12431
|
+
Returns: number;
|
|
12432
|
+
};
|
|
11273
12433
|
show_limit: {
|
|
11274
12434
|
Args: never;
|
|
11275
12435
|
Returns: number;
|
|
@@ -11280,18 +12440,34 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11280
12440
|
};
|
|
11281
12441
|
Returns: string[];
|
|
11282
12442
|
};
|
|
12443
|
+
sync_all_layer_stocks: {
|
|
12444
|
+
Args: never;
|
|
12445
|
+
Returns: undefined;
|
|
12446
|
+
};
|
|
11283
12447
|
sync_cached_packing_from_product: {
|
|
11284
12448
|
Args: {
|
|
11285
12449
|
p_product_id: string;
|
|
11286
12450
|
};
|
|
11287
12451
|
Returns: undefined;
|
|
11288
12452
|
};
|
|
12453
|
+
sync_layer_stock: {
|
|
12454
|
+
Args: {
|
|
12455
|
+
p_product_id: string;
|
|
12456
|
+
};
|
|
12457
|
+
Returns: undefined;
|
|
12458
|
+
};
|
|
11289
12459
|
sync_order_cart_item_packing_from_product: {
|
|
11290
12460
|
Args: {
|
|
11291
12461
|
p_product_id: string;
|
|
11292
12462
|
};
|
|
11293
12463
|
Returns: undefined;
|
|
11294
12464
|
};
|
|
12465
|
+
sync_product_group_belading: {
|
|
12466
|
+
Args: {
|
|
12467
|
+
_group_id: string;
|
|
12468
|
+
};
|
|
12469
|
+
Returns: undefined;
|
|
12470
|
+
};
|
|
11295
12471
|
sync_product_packing_from_floriday_cache: {
|
|
11296
12472
|
Args: {
|
|
11297
12473
|
p_floriday_id: string;
|