@flowselections/floriday-verkoop-module 1.0.21 → 1.0.24
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/karindeling/AfmetingenTab.d.ts +6 -0
- package/dist-lib/components/karindeling/AfmetingenTab.d.ts.map +1 -0
- package/dist-lib/components/karindeling/AfmetingenTab.js +128 -0
- package/dist-lib/components/karindeling/KarindelingPage.d.ts +2 -0
- package/dist-lib/components/karindeling/KarindelingPage.d.ts.map +1 -0
- package/dist-lib/components/karindeling/KarindelingPage.js +102 -0
- package/dist-lib/components/verkoop/OrderKarindelingCard.d.ts.map +1 -1
- package/dist-lib/components/verkoop/OrderKarindelingCard.js +83 -37
- package/dist-lib/components/verkoop/SalesOrderDetailPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrderDetailPage.js +59 -8
- package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts +2 -1
- package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrderDetailView.js +2 -2
- package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrdersTable.js +36 -4
- package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/VerkoopOrdersPage.js +18 -2
- package/dist-lib/index.d.ts +1 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +12 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1531 -592
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +1531 -592
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.js +24 -9
- package/dist-lib/integrations/supabase/client.server.d.ts +1531 -592
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1542 -577
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +3 -9
- package/dist-lib/lib/cart-lock.functions.d.ts +1531 -592
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-planner.d.ts +9 -1
- package/dist-lib/lib/cart-planner.d.ts.map +1 -1
- package/dist-lib/lib/cart-planner.js +21 -4
- package/dist-lib/lib/cart-planning-settings.functions.d.ts +140842 -0
- package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -0
- package/dist-lib/lib/cart-planning-settings.functions.js +375 -0
- package/dist-lib/lib/cart-replan.functions.d.ts +15808 -1111
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.js +85 -27
- package/dist-lib/lib/create-order.functions.d.ts +19021 -7753
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +4558 -1741
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auto-fulfillment.server.js +1 -1
- package/dist-lib/lib/floriday-central-token.server.d.ts +12 -0
- package/dist-lib/lib/floriday-central-token.server.d.ts.map +1 -0
- package/dist-lib/lib/floriday-central-token.server.js +58 -0
- package/dist-lib/lib/floriday-gateway.server.d.ts +2 -2
- package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.server.js +10 -37
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +1531 -592
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.js +14 -4
- package/dist-lib/lib/floriday-mirror.functions.d.ts +12806 -0
- package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -0
- package/dist-lib/lib/floriday-mirror.functions.js +278 -0
- package/dist-lib/lib/floriday-public.functions.d.ts +10986 -4413
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-sync.d.ts +0 -1
- package/dist-lib/lib/floriday-sync.d.ts.map +1 -1
- package/dist-lib/lib/floriday-sync.js +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +7772 -3077
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-buffers.functions.d.ts +38420 -0
- package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -0
- package/dist-lib/lib/order-buffers.functions.js +244 -0
- package/dist-lib/lib/order-shipments.functions.d.ts +6165 -2409
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-mapping.d.ts +3 -0
- package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.d.ts +7774 -3077
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.js +129 -3
- package/dist-lib/lib/tradeitems.functions.d.ts +1531 -592
- package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
- package/dist-lib/lib/useSalesOrdersQuery.d.ts.map +1 -1
- package/dist-lib/lib/useSalesOrdersQuery.js +37 -2
- package/package.json +5 -5
|
@@ -241,12 +241,47 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
241
241
|
};
|
|
242
242
|
Relationships: [];
|
|
243
243
|
};
|
|
244
|
+
ai_admin_credentials: {
|
|
245
|
+
Row: {
|
|
246
|
+
active: boolean;
|
|
247
|
+
admin_key: string;
|
|
248
|
+
created_at: string;
|
|
249
|
+
id: string;
|
|
250
|
+
label: string;
|
|
251
|
+
provider_id: string;
|
|
252
|
+
updated_at: string;
|
|
253
|
+
};
|
|
254
|
+
Insert: {
|
|
255
|
+
active?: boolean;
|
|
256
|
+
admin_key: string;
|
|
257
|
+
created_at?: string;
|
|
258
|
+
id?: string;
|
|
259
|
+
label: string;
|
|
260
|
+
provider_id: string;
|
|
261
|
+
updated_at?: string;
|
|
262
|
+
};
|
|
263
|
+
Update: {
|
|
264
|
+
active?: boolean;
|
|
265
|
+
admin_key?: string;
|
|
266
|
+
created_at?: string;
|
|
267
|
+
id?: string;
|
|
268
|
+
label?: string;
|
|
269
|
+
provider_id?: string;
|
|
270
|
+
updated_at?: string;
|
|
271
|
+
};
|
|
272
|
+
Relationships: [{
|
|
273
|
+
foreignKeyName: "ai_admin_credentials_provider_id_fkey";
|
|
274
|
+
columns: ["provider_id"];
|
|
275
|
+
isOneToOne: true;
|
|
276
|
+
referencedRelation: "ai_providers";
|
|
277
|
+
referencedColumns: ["id"];
|
|
278
|
+
}];
|
|
279
|
+
};
|
|
244
280
|
ai_credentials: {
|
|
245
281
|
Row: {
|
|
246
282
|
active: boolean;
|
|
247
283
|
api_key: string;
|
|
248
284
|
created_at: string;
|
|
249
|
-
created_by: string | null;
|
|
250
285
|
id: string;
|
|
251
286
|
label: string;
|
|
252
287
|
provider_id: string;
|
|
@@ -256,7 +291,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
256
291
|
active?: boolean;
|
|
257
292
|
api_key: string;
|
|
258
293
|
created_at?: string;
|
|
259
|
-
created_by?: string | null;
|
|
260
294
|
id?: string;
|
|
261
295
|
label: string;
|
|
262
296
|
provider_id: string;
|
|
@@ -266,7 +300,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
266
300
|
active?: boolean;
|
|
267
301
|
api_key?: string;
|
|
268
302
|
created_at?: string;
|
|
269
|
-
created_by?: string | null;
|
|
270
303
|
id?: string;
|
|
271
304
|
label?: string;
|
|
272
305
|
provider_id?: string;
|
|
@@ -280,6 +313,45 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
280
313
|
referencedColumns: ["id"];
|
|
281
314
|
}];
|
|
282
315
|
};
|
|
316
|
+
ai_model_pricing: {
|
|
317
|
+
Row: {
|
|
318
|
+
created_at: string;
|
|
319
|
+
currency: string;
|
|
320
|
+
fetched_at: string;
|
|
321
|
+
id: string;
|
|
322
|
+
input_per_mtok: number | null;
|
|
323
|
+
model_slug: string;
|
|
324
|
+
output_per_mtok: number | null;
|
|
325
|
+
provider_slug: string;
|
|
326
|
+
source: string;
|
|
327
|
+
updated_at: string;
|
|
328
|
+
};
|
|
329
|
+
Insert: {
|
|
330
|
+
created_at?: string;
|
|
331
|
+
currency?: string;
|
|
332
|
+
fetched_at?: string;
|
|
333
|
+
id?: string;
|
|
334
|
+
input_per_mtok?: number | null;
|
|
335
|
+
model_slug: string;
|
|
336
|
+
output_per_mtok?: number | null;
|
|
337
|
+
provider_slug: string;
|
|
338
|
+
source?: string;
|
|
339
|
+
updated_at?: string;
|
|
340
|
+
};
|
|
341
|
+
Update: {
|
|
342
|
+
created_at?: string;
|
|
343
|
+
currency?: string;
|
|
344
|
+
fetched_at?: string;
|
|
345
|
+
id?: string;
|
|
346
|
+
input_per_mtok?: number | null;
|
|
347
|
+
model_slug?: string;
|
|
348
|
+
output_per_mtok?: number | null;
|
|
349
|
+
provider_slug?: string;
|
|
350
|
+
source?: string;
|
|
351
|
+
updated_at?: string;
|
|
352
|
+
};
|
|
353
|
+
Relationships: [];
|
|
354
|
+
};
|
|
283
355
|
ai_models: {
|
|
284
356
|
Row: {
|
|
285
357
|
active: boolean;
|
|
@@ -1027,6 +1099,141 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
1027
1099
|
};
|
|
1028
1100
|
Relationships: [];
|
|
1029
1101
|
};
|
|
1102
|
+
cart_planning_pick_times: {
|
|
1103
|
+
Row: {
|
|
1104
|
+
created_at: string;
|
|
1105
|
+
id: string;
|
|
1106
|
+
pot_size: string;
|
|
1107
|
+
seconds_per_cart: number;
|
|
1108
|
+
updated_at: string;
|
|
1109
|
+
};
|
|
1110
|
+
Insert: {
|
|
1111
|
+
created_at?: string;
|
|
1112
|
+
id?: string;
|
|
1113
|
+
pot_size: string;
|
|
1114
|
+
seconds_per_cart: number;
|
|
1115
|
+
updated_at?: string;
|
|
1116
|
+
};
|
|
1117
|
+
Update: {
|
|
1118
|
+
created_at?: string;
|
|
1119
|
+
id?: string;
|
|
1120
|
+
pot_size?: string;
|
|
1121
|
+
seconds_per_cart?: number;
|
|
1122
|
+
updated_at?: string;
|
|
1123
|
+
};
|
|
1124
|
+
Relationships: [];
|
|
1125
|
+
};
|
|
1126
|
+
cart_planning_product_overrides: {
|
|
1127
|
+
Row: {
|
|
1128
|
+
created_at: string;
|
|
1129
|
+
id: string;
|
|
1130
|
+
max_party_share_per_layer_pct_override: number | null;
|
|
1131
|
+
never_mix: boolean;
|
|
1132
|
+
notes: string | null;
|
|
1133
|
+
product_id: string;
|
|
1134
|
+
updated_at: string;
|
|
1135
|
+
};
|
|
1136
|
+
Insert: {
|
|
1137
|
+
created_at?: string;
|
|
1138
|
+
id?: string;
|
|
1139
|
+
max_party_share_per_layer_pct_override?: number | null;
|
|
1140
|
+
never_mix?: boolean;
|
|
1141
|
+
notes?: string | null;
|
|
1142
|
+
product_id: string;
|
|
1143
|
+
updated_at?: string;
|
|
1144
|
+
};
|
|
1145
|
+
Update: {
|
|
1146
|
+
created_at?: string;
|
|
1147
|
+
id?: string;
|
|
1148
|
+
max_party_share_per_layer_pct_override?: number | null;
|
|
1149
|
+
never_mix?: boolean;
|
|
1150
|
+
notes?: string | null;
|
|
1151
|
+
product_id?: string;
|
|
1152
|
+
updated_at?: string;
|
|
1153
|
+
};
|
|
1154
|
+
Relationships: [{
|
|
1155
|
+
foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
|
|
1156
|
+
columns: ["product_id"];
|
|
1157
|
+
isOneToOne: true;
|
|
1158
|
+
referencedRelation: "products";
|
|
1159
|
+
referencedColumns: ["id"];
|
|
1160
|
+
}];
|
|
1161
|
+
};
|
|
1162
|
+
cart_planning_settings: {
|
|
1163
|
+
Row: {
|
|
1164
|
+
allow_editing_after_pickstation_send: boolean;
|
|
1165
|
+
buffer_grouping_mode: string;
|
|
1166
|
+
combine_floriday_orders: boolean;
|
|
1167
|
+
combine_floriday_orders_window: string;
|
|
1168
|
+
combine_orders_scope: string;
|
|
1169
|
+
default_workers: number;
|
|
1170
|
+
id: number;
|
|
1171
|
+
max_beladingen_per_layer: number;
|
|
1172
|
+
max_customers_per_cart: number;
|
|
1173
|
+
max_one_customer_per_layer: boolean;
|
|
1174
|
+
max_party_share_per_layer_pct: number;
|
|
1175
|
+
optimization_strategy: string;
|
|
1176
|
+
own_cart_from_layers: number;
|
|
1177
|
+
pick_time_mode: string;
|
|
1178
|
+
plants_per_day: number;
|
|
1179
|
+
plants_per_hour: number;
|
|
1180
|
+
require_same_carrier: boolean;
|
|
1181
|
+
require_same_crate_type: boolean;
|
|
1182
|
+
require_same_delivery_date: boolean;
|
|
1183
|
+
require_same_delivery_location: boolean;
|
|
1184
|
+
updated_at: string;
|
|
1185
|
+
updated_by: string | null;
|
|
1186
|
+
};
|
|
1187
|
+
Insert: {
|
|
1188
|
+
allow_editing_after_pickstation_send?: boolean;
|
|
1189
|
+
buffer_grouping_mode?: string;
|
|
1190
|
+
combine_floriday_orders?: boolean;
|
|
1191
|
+
combine_floriday_orders_window?: string;
|
|
1192
|
+
combine_orders_scope?: string;
|
|
1193
|
+
default_workers?: number;
|
|
1194
|
+
id?: number;
|
|
1195
|
+
max_beladingen_per_layer?: number;
|
|
1196
|
+
max_customers_per_cart?: number;
|
|
1197
|
+
max_one_customer_per_layer?: boolean;
|
|
1198
|
+
max_party_share_per_layer_pct?: number;
|
|
1199
|
+
optimization_strategy?: string;
|
|
1200
|
+
own_cart_from_layers?: number;
|
|
1201
|
+
pick_time_mode?: string;
|
|
1202
|
+
plants_per_day?: number;
|
|
1203
|
+
plants_per_hour?: number;
|
|
1204
|
+
require_same_carrier?: boolean;
|
|
1205
|
+
require_same_crate_type?: boolean;
|
|
1206
|
+
require_same_delivery_date?: boolean;
|
|
1207
|
+
require_same_delivery_location?: boolean;
|
|
1208
|
+
updated_at?: string;
|
|
1209
|
+
updated_by?: string | null;
|
|
1210
|
+
};
|
|
1211
|
+
Update: {
|
|
1212
|
+
allow_editing_after_pickstation_send?: boolean;
|
|
1213
|
+
buffer_grouping_mode?: string;
|
|
1214
|
+
combine_floriday_orders?: boolean;
|
|
1215
|
+
combine_floriday_orders_window?: string;
|
|
1216
|
+
combine_orders_scope?: string;
|
|
1217
|
+
default_workers?: number;
|
|
1218
|
+
id?: number;
|
|
1219
|
+
max_beladingen_per_layer?: number;
|
|
1220
|
+
max_customers_per_cart?: number;
|
|
1221
|
+
max_one_customer_per_layer?: boolean;
|
|
1222
|
+
max_party_share_per_layer_pct?: number;
|
|
1223
|
+
optimization_strategy?: string;
|
|
1224
|
+
own_cart_from_layers?: number;
|
|
1225
|
+
pick_time_mode?: string;
|
|
1226
|
+
plants_per_day?: number;
|
|
1227
|
+
plants_per_hour?: number;
|
|
1228
|
+
require_same_carrier?: boolean;
|
|
1229
|
+
require_same_crate_type?: boolean;
|
|
1230
|
+
require_same_delivery_date?: boolean;
|
|
1231
|
+
require_same_delivery_location?: boolean;
|
|
1232
|
+
updated_at?: string;
|
|
1233
|
+
updated_by?: string | null;
|
|
1234
|
+
};
|
|
1235
|
+
Relationships: [];
|
|
1236
|
+
};
|
|
1030
1237
|
cart_replan_queue: {
|
|
1031
1238
|
Row: {
|
|
1032
1239
|
attempts: number;
|
|
@@ -1057,6 +1264,102 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
1057
1264
|
referencedColumns: ["id"];
|
|
1058
1265
|
}];
|
|
1059
1266
|
};
|
|
1267
|
+
cart_types: {
|
|
1268
|
+
Row: {
|
|
1269
|
+
created_at: string;
|
|
1270
|
+
id: string;
|
|
1271
|
+
is_default: boolean;
|
|
1272
|
+
layer_length_cm: number;
|
|
1273
|
+
layer_width_cm: number;
|
|
1274
|
+
layers_per_cart: number;
|
|
1275
|
+
name: string;
|
|
1276
|
+
updated_at: string;
|
|
1277
|
+
};
|
|
1278
|
+
Insert: {
|
|
1279
|
+
created_at?: string;
|
|
1280
|
+
id?: string;
|
|
1281
|
+
is_default?: boolean;
|
|
1282
|
+
layer_length_cm: number;
|
|
1283
|
+
layer_width_cm: number;
|
|
1284
|
+
layers_per_cart?: number;
|
|
1285
|
+
name: string;
|
|
1286
|
+
updated_at?: string;
|
|
1287
|
+
};
|
|
1288
|
+
Update: {
|
|
1289
|
+
created_at?: string;
|
|
1290
|
+
id?: string;
|
|
1291
|
+
is_default?: boolean;
|
|
1292
|
+
layer_length_cm?: number;
|
|
1293
|
+
layer_width_cm?: number;
|
|
1294
|
+
layers_per_cart?: number;
|
|
1295
|
+
name?: string;
|
|
1296
|
+
updated_at?: string;
|
|
1297
|
+
};
|
|
1298
|
+
Relationships: [];
|
|
1299
|
+
};
|
|
1300
|
+
catalog_articles_cache: {
|
|
1301
|
+
Row: {
|
|
1302
|
+
created_at: string;
|
|
1303
|
+
default_price: number;
|
|
1304
|
+
default_vat_rate_ref: string | null;
|
|
1305
|
+
external_ref: string;
|
|
1306
|
+
id: string;
|
|
1307
|
+
name: string;
|
|
1308
|
+
updated_at: string;
|
|
1309
|
+
user_id: string;
|
|
1310
|
+
};
|
|
1311
|
+
Insert: {
|
|
1312
|
+
created_at?: string;
|
|
1313
|
+
default_price?: number;
|
|
1314
|
+
default_vat_rate_ref?: string | null;
|
|
1315
|
+
external_ref: string;
|
|
1316
|
+
id?: string;
|
|
1317
|
+
name: string;
|
|
1318
|
+
updated_at?: string;
|
|
1319
|
+
user_id: string;
|
|
1320
|
+
};
|
|
1321
|
+
Update: {
|
|
1322
|
+
created_at?: string;
|
|
1323
|
+
default_price?: number;
|
|
1324
|
+
default_vat_rate_ref?: string | null;
|
|
1325
|
+
external_ref?: string;
|
|
1326
|
+
id?: string;
|
|
1327
|
+
name?: string;
|
|
1328
|
+
updated_at?: string;
|
|
1329
|
+
user_id?: string;
|
|
1330
|
+
};
|
|
1331
|
+
Relationships: [];
|
|
1332
|
+
};
|
|
1333
|
+
catalog_vat_rates_cache: {
|
|
1334
|
+
Row: {
|
|
1335
|
+
created_at: string;
|
|
1336
|
+
external_ref: string;
|
|
1337
|
+
id: string;
|
|
1338
|
+
label: string;
|
|
1339
|
+
percentage: number;
|
|
1340
|
+
updated_at: string;
|
|
1341
|
+
user_id: string;
|
|
1342
|
+
};
|
|
1343
|
+
Insert: {
|
|
1344
|
+
created_at?: string;
|
|
1345
|
+
external_ref: string;
|
|
1346
|
+
id?: string;
|
|
1347
|
+
label: string;
|
|
1348
|
+
percentage?: number;
|
|
1349
|
+
updated_at?: string;
|
|
1350
|
+
user_id: string;
|
|
1351
|
+
};
|
|
1352
|
+
Update: {
|
|
1353
|
+
created_at?: string;
|
|
1354
|
+
external_ref?: string;
|
|
1355
|
+
id?: string;
|
|
1356
|
+
label?: string;
|
|
1357
|
+
percentage?: number;
|
|
1358
|
+
updated_at?: string;
|
|
1359
|
+
user_id?: string;
|
|
1360
|
+
};
|
|
1361
|
+
Relationships: [];
|
|
1362
|
+
};
|
|
1060
1363
|
collections: {
|
|
1061
1364
|
Row: {
|
|
1062
1365
|
created_at: string;
|
|
@@ -1081,6 +1384,36 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
1081
1384
|
};
|
|
1082
1385
|
Relationships: [];
|
|
1083
1386
|
};
|
|
1387
|
+
crate_types: {
|
|
1388
|
+
Row: {
|
|
1389
|
+
created_at: string;
|
|
1390
|
+
id: string;
|
|
1391
|
+
length_cm: number;
|
|
1392
|
+
name: string;
|
|
1393
|
+
plants_per_crate: number;
|
|
1394
|
+
updated_at: string;
|
|
1395
|
+
width_cm: number;
|
|
1396
|
+
};
|
|
1397
|
+
Insert: {
|
|
1398
|
+
created_at?: string;
|
|
1399
|
+
id?: string;
|
|
1400
|
+
length_cm: number;
|
|
1401
|
+
name: string;
|
|
1402
|
+
plants_per_crate?: number;
|
|
1403
|
+
updated_at?: string;
|
|
1404
|
+
width_cm: number;
|
|
1405
|
+
};
|
|
1406
|
+
Update: {
|
|
1407
|
+
created_at?: string;
|
|
1408
|
+
id?: string;
|
|
1409
|
+
length_cm?: number;
|
|
1410
|
+
name?: string;
|
|
1411
|
+
plants_per_crate?: number;
|
|
1412
|
+
updated_at?: string;
|
|
1413
|
+
width_cm?: number;
|
|
1414
|
+
};
|
|
1415
|
+
Relationships: [];
|
|
1416
|
+
};
|
|
1084
1417
|
customer_audit_log: {
|
|
1085
1418
|
Row: {
|
|
1086
1419
|
action: string;
|
|
@@ -1306,68 +1639,167 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
1306
1639
|
};
|
|
1307
1640
|
Relationships: [];
|
|
1308
1641
|
};
|
|
1309
|
-
|
|
1642
|
+
customer_price_group_members: {
|
|
1310
1643
|
Row: {
|
|
1311
|
-
article_number: string | null;
|
|
1312
1644
|
created_at: string;
|
|
1313
|
-
|
|
1314
|
-
floriday_item_id: string | null;
|
|
1645
|
+
customer_key: string;
|
|
1315
1646
|
id: string;
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
product_name: string;
|
|
1319
|
-
raw: import("../integrations/supabase/types").Json | null;
|
|
1320
|
-
unit: string | null;
|
|
1321
|
-
updated_at: string;
|
|
1647
|
+
owner_id: string;
|
|
1648
|
+
price_group_id: string;
|
|
1322
1649
|
};
|
|
1323
1650
|
Insert: {
|
|
1324
|
-
article_number?: string | null;
|
|
1325
1651
|
created_at?: string;
|
|
1326
|
-
|
|
1327
|
-
floriday_item_id?: string | null;
|
|
1652
|
+
customer_key: string;
|
|
1328
1653
|
id?: string;
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
product_name: string;
|
|
1332
|
-
raw?: import("../integrations/supabase/types").Json | null;
|
|
1333
|
-
unit?: string | null;
|
|
1334
|
-
updated_at?: string;
|
|
1654
|
+
owner_id?: string;
|
|
1655
|
+
price_group_id: string;
|
|
1335
1656
|
};
|
|
1336
1657
|
Update: {
|
|
1337
|
-
article_number?: string | null;
|
|
1338
1658
|
created_at?: string;
|
|
1339
|
-
|
|
1340
|
-
floriday_item_id?: string | null;
|
|
1659
|
+
customer_key?: string;
|
|
1341
1660
|
id?: string;
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
product_name?: string;
|
|
1345
|
-
raw?: import("../integrations/supabase/types").Json | null;
|
|
1346
|
-
unit?: string | null;
|
|
1347
|
-
updated_at?: string;
|
|
1661
|
+
owner_id?: string;
|
|
1662
|
+
price_group_id?: string;
|
|
1348
1663
|
};
|
|
1349
1664
|
Relationships: [{
|
|
1350
|
-
foreignKeyName: "
|
|
1351
|
-
columns: ["
|
|
1665
|
+
foreignKeyName: "customer_price_group_members_price_group_id_fkey";
|
|
1666
|
+
columns: ["price_group_id"];
|
|
1352
1667
|
isOneToOne: false;
|
|
1353
|
-
referencedRelation: "
|
|
1668
|
+
referencedRelation: "customer_price_groups";
|
|
1354
1669
|
referencedColumns: ["id"];
|
|
1355
1670
|
}];
|
|
1356
1671
|
};
|
|
1357
|
-
|
|
1672
|
+
customer_price_groups: {
|
|
1358
1673
|
Row: {
|
|
1359
|
-
|
|
1674
|
+
calc_type: string | null;
|
|
1675
|
+
calc_value: number | null;
|
|
1676
|
+
calc_value_type: string | null;
|
|
1360
1677
|
created_at: string;
|
|
1361
|
-
|
|
1678
|
+
currency: string;
|
|
1679
|
+
distribute_over: string | null;
|
|
1680
|
+
group_type: string;
|
|
1681
|
+
handling_fee: number | null;
|
|
1362
1682
|
id: string;
|
|
1683
|
+
include_stickers: boolean;
|
|
1363
1684
|
is_active: boolean;
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1685
|
+
name: string;
|
|
1686
|
+
owner_id: string;
|
|
1687
|
+
price_scope: string;
|
|
1688
|
+
pricing_mode: string;
|
|
1689
|
+
rounding: string;
|
|
1690
|
+
rounding_step: number;
|
|
1691
|
+
sort_order: number;
|
|
1692
|
+
unit: string;
|
|
1367
1693
|
updated_at: string;
|
|
1368
1694
|
};
|
|
1369
1695
|
Insert: {
|
|
1370
|
-
|
|
1696
|
+
calc_type?: string | null;
|
|
1697
|
+
calc_value?: number | null;
|
|
1698
|
+
calc_value_type?: string | null;
|
|
1699
|
+
created_at?: string;
|
|
1700
|
+
currency?: string;
|
|
1701
|
+
distribute_over?: string | null;
|
|
1702
|
+
group_type?: string;
|
|
1703
|
+
handling_fee?: number | null;
|
|
1704
|
+
id?: string;
|
|
1705
|
+
include_stickers?: boolean;
|
|
1706
|
+
is_active?: boolean;
|
|
1707
|
+
name: string;
|
|
1708
|
+
owner_id?: string;
|
|
1709
|
+
price_scope?: string;
|
|
1710
|
+
pricing_mode?: string;
|
|
1711
|
+
rounding?: string;
|
|
1712
|
+
rounding_step?: number;
|
|
1713
|
+
sort_order?: number;
|
|
1714
|
+
unit?: string;
|
|
1715
|
+
updated_at?: string;
|
|
1716
|
+
};
|
|
1717
|
+
Update: {
|
|
1718
|
+
calc_type?: string | null;
|
|
1719
|
+
calc_value?: number | null;
|
|
1720
|
+
calc_value_type?: string | null;
|
|
1721
|
+
created_at?: string;
|
|
1722
|
+
currency?: string;
|
|
1723
|
+
distribute_over?: string | null;
|
|
1724
|
+
group_type?: string;
|
|
1725
|
+
handling_fee?: number | null;
|
|
1726
|
+
id?: string;
|
|
1727
|
+
include_stickers?: boolean;
|
|
1728
|
+
is_active?: boolean;
|
|
1729
|
+
name?: string;
|
|
1730
|
+
owner_id?: string;
|
|
1731
|
+
price_scope?: string;
|
|
1732
|
+
pricing_mode?: string;
|
|
1733
|
+
rounding?: string;
|
|
1734
|
+
rounding_step?: number;
|
|
1735
|
+
sort_order?: number;
|
|
1736
|
+
unit?: string;
|
|
1737
|
+
updated_at?: string;
|
|
1738
|
+
};
|
|
1739
|
+
Relationships: [];
|
|
1740
|
+
};
|
|
1741
|
+
customer_selected_assortment: {
|
|
1742
|
+
Row: {
|
|
1743
|
+
article_number: string | null;
|
|
1744
|
+
created_at: string;
|
|
1745
|
+
customer_id: string;
|
|
1746
|
+
floriday_item_id: string | null;
|
|
1747
|
+
id: string;
|
|
1748
|
+
price: number | null;
|
|
1749
|
+
product_group: string | null;
|
|
1750
|
+
product_name: string;
|
|
1751
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
1752
|
+
unit: string | null;
|
|
1753
|
+
updated_at: string;
|
|
1754
|
+
};
|
|
1755
|
+
Insert: {
|
|
1756
|
+
article_number?: string | null;
|
|
1757
|
+
created_at?: string;
|
|
1758
|
+
customer_id: string;
|
|
1759
|
+
floriday_item_id?: string | null;
|
|
1760
|
+
id?: string;
|
|
1761
|
+
price?: number | null;
|
|
1762
|
+
product_group?: string | null;
|
|
1763
|
+
product_name: string;
|
|
1764
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
1765
|
+
unit?: string | null;
|
|
1766
|
+
updated_at?: string;
|
|
1767
|
+
};
|
|
1768
|
+
Update: {
|
|
1769
|
+
article_number?: string | null;
|
|
1770
|
+
created_at?: string;
|
|
1771
|
+
customer_id?: string;
|
|
1772
|
+
floriday_item_id?: string | null;
|
|
1773
|
+
id?: string;
|
|
1774
|
+
price?: number | null;
|
|
1775
|
+
product_group?: string | null;
|
|
1776
|
+
product_name?: string;
|
|
1777
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
1778
|
+
unit?: string | null;
|
|
1779
|
+
updated_at?: string;
|
|
1780
|
+
};
|
|
1781
|
+
Relationships: [{
|
|
1782
|
+
foreignKeyName: "customer_selected_assortment_customer_id_fkey";
|
|
1783
|
+
columns: ["customer_id"];
|
|
1784
|
+
isOneToOne: false;
|
|
1785
|
+
referencedRelation: "customers";
|
|
1786
|
+
referencedColumns: ["id"];
|
|
1787
|
+
}];
|
|
1788
|
+
};
|
|
1789
|
+
customer_trade_settings: {
|
|
1790
|
+
Row: {
|
|
1791
|
+
category: string;
|
|
1792
|
+
created_at: string;
|
|
1793
|
+
customer_id: string;
|
|
1794
|
+
id: string;
|
|
1795
|
+
is_active: boolean;
|
|
1796
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
1797
|
+
setting_key: string;
|
|
1798
|
+
setting_label: string;
|
|
1799
|
+
updated_at: string;
|
|
1800
|
+
};
|
|
1801
|
+
Insert: {
|
|
1802
|
+
category?: string;
|
|
1371
1803
|
created_at?: string;
|
|
1372
1804
|
customer_id: string;
|
|
1373
1805
|
id?: string;
|
|
@@ -1459,6 +1891,10 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
1459
1891
|
sync_error: string | null;
|
|
1460
1892
|
sync_status: string;
|
|
1461
1893
|
trade_forms: string[];
|
|
1894
|
+
twinfield_code: string | null;
|
|
1895
|
+
twinfield_last_hash: string | null;
|
|
1896
|
+
twinfield_sync_error: string | null;
|
|
1897
|
+
twinfield_synced_at: string | null;
|
|
1462
1898
|
updated_at: string;
|
|
1463
1899
|
vat_display: string | null;
|
|
1464
1900
|
vat_number: string | null;
|
|
@@ -1526,6 +1962,10 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
1526
1962
|
sync_error?: string | null;
|
|
1527
1963
|
sync_status?: string;
|
|
1528
1964
|
trade_forms?: string[];
|
|
1965
|
+
twinfield_code?: string | null;
|
|
1966
|
+
twinfield_last_hash?: string | null;
|
|
1967
|
+
twinfield_sync_error?: string | null;
|
|
1968
|
+
twinfield_synced_at?: string | null;
|
|
1529
1969
|
updated_at?: string;
|
|
1530
1970
|
vat_display?: string | null;
|
|
1531
1971
|
vat_number?: string | null;
|
|
@@ -1593,6 +2033,10 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
1593
2033
|
sync_error?: string | null;
|
|
1594
2034
|
sync_status?: string;
|
|
1595
2035
|
trade_forms?: string[];
|
|
2036
|
+
twinfield_code?: string | null;
|
|
2037
|
+
twinfield_last_hash?: string | null;
|
|
2038
|
+
twinfield_sync_error?: string | null;
|
|
2039
|
+
twinfield_synced_at?: string | null;
|
|
1596
2040
|
updated_at?: string;
|
|
1597
2041
|
vat_display?: string | null;
|
|
1598
2042
|
vat_number?: string | null;
|
|
@@ -3406,6 +3850,105 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
3406
3850
|
referencedColumns: ["id"];
|
|
3407
3851
|
}];
|
|
3408
3852
|
};
|
|
3853
|
+
floriday_agreement_calloffs_cache: {
|
|
3854
|
+
Row: {
|
|
3855
|
+
agreement_id: string | null;
|
|
3856
|
+
connection_id: string;
|
|
3857
|
+
data: import("../integrations/supabase/types").Json;
|
|
3858
|
+
delivery_date: string | null;
|
|
3859
|
+
fetched_at: string;
|
|
3860
|
+
floriday_id: string;
|
|
3861
|
+
id: string;
|
|
3862
|
+
is_deleted: boolean;
|
|
3863
|
+
sequence_number: number;
|
|
3864
|
+
status: string | null;
|
|
3865
|
+
updated_at: string;
|
|
3866
|
+
};
|
|
3867
|
+
Insert: {
|
|
3868
|
+
agreement_id?: string | null;
|
|
3869
|
+
connection_id: string;
|
|
3870
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3871
|
+
delivery_date?: string | null;
|
|
3872
|
+
fetched_at?: string;
|
|
3873
|
+
floriday_id: string;
|
|
3874
|
+
id?: string;
|
|
3875
|
+
is_deleted?: boolean;
|
|
3876
|
+
sequence_number?: number;
|
|
3877
|
+
status?: string | null;
|
|
3878
|
+
updated_at?: string;
|
|
3879
|
+
};
|
|
3880
|
+
Update: {
|
|
3881
|
+
agreement_id?: string | null;
|
|
3882
|
+
connection_id?: string;
|
|
3883
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3884
|
+
delivery_date?: string | null;
|
|
3885
|
+
fetched_at?: string;
|
|
3886
|
+
floriday_id?: string;
|
|
3887
|
+
id?: string;
|
|
3888
|
+
is_deleted?: boolean;
|
|
3889
|
+
sequence_number?: number;
|
|
3890
|
+
status?: string | null;
|
|
3891
|
+
updated_at?: string;
|
|
3892
|
+
};
|
|
3893
|
+
Relationships: [{
|
|
3894
|
+
foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
|
|
3895
|
+
columns: ["connection_id"];
|
|
3896
|
+
isOneToOne: false;
|
|
3897
|
+
referencedRelation: "floriday_connections";
|
|
3898
|
+
referencedColumns: ["id"];
|
|
3899
|
+
}];
|
|
3900
|
+
};
|
|
3901
|
+
floriday_agreements_cache: {
|
|
3902
|
+
Row: {
|
|
3903
|
+
buyer_organization_id: string | null;
|
|
3904
|
+
connection_id: string;
|
|
3905
|
+
data: import("../integrations/supabase/types").Json;
|
|
3906
|
+
fetched_at: string;
|
|
3907
|
+
floriday_id: string;
|
|
3908
|
+
id: string;
|
|
3909
|
+
is_deleted: boolean;
|
|
3910
|
+
sequence_number: number;
|
|
3911
|
+
status: string | null;
|
|
3912
|
+
updated_at: string;
|
|
3913
|
+
valid_from: string | null;
|
|
3914
|
+
valid_until: string | null;
|
|
3915
|
+
};
|
|
3916
|
+
Insert: {
|
|
3917
|
+
buyer_organization_id?: string | null;
|
|
3918
|
+
connection_id: string;
|
|
3919
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3920
|
+
fetched_at?: string;
|
|
3921
|
+
floriday_id: string;
|
|
3922
|
+
id?: string;
|
|
3923
|
+
is_deleted?: boolean;
|
|
3924
|
+
sequence_number?: number;
|
|
3925
|
+
status?: string | null;
|
|
3926
|
+
updated_at?: string;
|
|
3927
|
+
valid_from?: string | null;
|
|
3928
|
+
valid_until?: string | null;
|
|
3929
|
+
};
|
|
3930
|
+
Update: {
|
|
3931
|
+
buyer_organization_id?: string | null;
|
|
3932
|
+
connection_id?: string;
|
|
3933
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3934
|
+
fetched_at?: string;
|
|
3935
|
+
floriday_id?: string;
|
|
3936
|
+
id?: string;
|
|
3937
|
+
is_deleted?: boolean;
|
|
3938
|
+
sequence_number?: number;
|
|
3939
|
+
status?: string | null;
|
|
3940
|
+
updated_at?: string;
|
|
3941
|
+
valid_from?: string | null;
|
|
3942
|
+
valid_until?: string | null;
|
|
3943
|
+
};
|
|
3944
|
+
Relationships: [{
|
|
3945
|
+
foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
|
|
3946
|
+
columns: ["connection_id"];
|
|
3947
|
+
isOneToOne: false;
|
|
3948
|
+
referencedRelation: "floriday_connections";
|
|
3949
|
+
referencedColumns: ["id"];
|
|
3950
|
+
}];
|
|
3951
|
+
};
|
|
3409
3952
|
floriday_auction_letters_cache: {
|
|
3410
3953
|
Row: {
|
|
3411
3954
|
auction_letter_code: string;
|
|
@@ -3904,27 +4447,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
3904
4447
|
referencedColumns: ["id"];
|
|
3905
4448
|
}];
|
|
3906
4449
|
};
|
|
3907
|
-
floriday_continuous_stock_cache: {
|
|
3908
|
-
Row: {
|
|
3909
|
-
connection_id: string;
|
|
3910
|
-
fetched_at: string;
|
|
3911
|
-
number_of_pieces: number;
|
|
3912
|
-
trade_item_id: string;
|
|
3913
|
-
};
|
|
3914
|
-
Insert: {
|
|
3915
|
-
connection_id: string;
|
|
3916
|
-
fetched_at?: string;
|
|
3917
|
-
number_of_pieces?: number;
|
|
3918
|
-
trade_item_id: string;
|
|
3919
|
-
};
|
|
3920
|
-
Update: {
|
|
3921
|
-
connection_id?: string;
|
|
3922
|
-
fetched_at?: string;
|
|
3923
|
-
number_of_pieces?: number;
|
|
3924
|
-
trade_item_id?: string;
|
|
3925
|
-
};
|
|
3926
|
-
Relationships: [];
|
|
3927
|
-
};
|
|
3928
4450
|
floriday_continuous_stock_queue: {
|
|
3929
4451
|
Row: {
|
|
3930
4452
|
attempts: number;
|
|
@@ -4700,8 +5222,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
4700
5222
|
Row: {
|
|
4701
5223
|
buyer_organization_id: string | null;
|
|
4702
5224
|
connection_id: string;
|
|
4703
|
-
controlled_at: string | null;
|
|
4704
|
-
controlled_by: string | null;
|
|
4705
5225
|
created_at: string;
|
|
4706
5226
|
data: import("../integrations/supabase/types").Json;
|
|
4707
5227
|
floriday_id: string;
|
|
@@ -4713,8 +5233,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
4713
5233
|
Insert: {
|
|
4714
5234
|
buyer_organization_id?: string | null;
|
|
4715
5235
|
connection_id: string;
|
|
4716
|
-
controlled_at?: string | null;
|
|
4717
|
-
controlled_by?: string | null;
|
|
4718
5236
|
created_at?: string;
|
|
4719
5237
|
data: import("../integrations/supabase/types").Json;
|
|
4720
5238
|
floriday_id: string;
|
|
@@ -4726,8 +5244,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
4726
5244
|
Update: {
|
|
4727
5245
|
buyer_organization_id?: string | null;
|
|
4728
5246
|
connection_id?: string;
|
|
4729
|
-
controlled_at?: string | null;
|
|
4730
|
-
controlled_by?: string | null;
|
|
4731
5247
|
created_at?: string;
|
|
4732
5248
|
data?: import("../integrations/supabase/types").Json;
|
|
4733
5249
|
floriday_id?: string;
|
|
@@ -4909,45 +5425,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
4909
5425
|
referencedColumns: ["id"];
|
|
4910
5426
|
}];
|
|
4911
5427
|
};
|
|
4912
|
-
floriday_trade_settings_customers_cache: {
|
|
4913
|
-
Row: {
|
|
4914
|
-
connection_id: string;
|
|
4915
|
-
data: import("../integrations/supabase/types").Json;
|
|
4916
|
-
fetched_at: string;
|
|
4917
|
-
floriday_id: string;
|
|
4918
|
-
id: string;
|
|
4919
|
-
is_deleted: boolean;
|
|
4920
|
-
sequence_number: number;
|
|
4921
|
-
updated_at: string;
|
|
4922
|
-
};
|
|
4923
|
-
Insert: {
|
|
4924
|
-
connection_id: string;
|
|
4925
|
-
data: import("../integrations/supabase/types").Json;
|
|
4926
|
-
fetched_at?: string;
|
|
4927
|
-
floriday_id: string;
|
|
4928
|
-
id?: string;
|
|
4929
|
-
is_deleted?: boolean;
|
|
4930
|
-
sequence_number?: number;
|
|
4931
|
-
updated_at?: string;
|
|
4932
|
-
};
|
|
4933
|
-
Update: {
|
|
4934
|
-
connection_id?: string;
|
|
4935
|
-
data?: import("../integrations/supabase/types").Json;
|
|
4936
|
-
fetched_at?: string;
|
|
4937
|
-
floriday_id?: string;
|
|
4938
|
-
id?: string;
|
|
4939
|
-
is_deleted?: boolean;
|
|
4940
|
-
sequence_number?: number;
|
|
4941
|
-
updated_at?: string;
|
|
4942
|
-
};
|
|
4943
|
-
Relationships: [{
|
|
4944
|
-
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
4945
|
-
columns: ["connection_id"];
|
|
4946
|
-
isOneToOne: false;
|
|
4947
|
-
referencedRelation: "floriday_connections";
|
|
4948
|
-
referencedColumns: ["id"];
|
|
4949
|
-
}];
|
|
4950
|
-
};
|
|
4951
5428
|
floriday_trips_cache: {
|
|
4952
5429
|
Row: {
|
|
4953
5430
|
carrier_organization_id: string | null;
|
|
@@ -5327,154 +5804,436 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
5327
5804
|
updated_at?: string;
|
|
5328
5805
|
visible_columns?: string[];
|
|
5329
5806
|
};
|
|
5330
|
-
Relationships: [];
|
|
5807
|
+
Relationships: [];
|
|
5808
|
+
};
|
|
5809
|
+
invoice_push_log: {
|
|
5810
|
+
Row: {
|
|
5811
|
+
connection_id: string | null;
|
|
5812
|
+
created_at: string;
|
|
5813
|
+
created_by: string;
|
|
5814
|
+
customer_id: string | null;
|
|
5815
|
+
id: string;
|
|
5816
|
+
last_error: string | null;
|
|
5817
|
+
last_polled_at: string | null;
|
|
5818
|
+
payload: import("../integrations/supabase/types").Json;
|
|
5819
|
+
provider_id: string;
|
|
5820
|
+
queue_id: string | null;
|
|
5821
|
+
status: string;
|
|
5822
|
+
updated_at: string;
|
|
5823
|
+
};
|
|
5824
|
+
Insert: {
|
|
5825
|
+
connection_id?: string | null;
|
|
5826
|
+
created_at?: string;
|
|
5827
|
+
created_by?: string;
|
|
5828
|
+
customer_id?: string | null;
|
|
5829
|
+
id?: string;
|
|
5830
|
+
last_error?: string | null;
|
|
5831
|
+
last_polled_at?: string | null;
|
|
5832
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
5833
|
+
provider_id: string;
|
|
5834
|
+
queue_id?: string | null;
|
|
5835
|
+
status?: string;
|
|
5836
|
+
updated_at?: string;
|
|
5837
|
+
};
|
|
5838
|
+
Update: {
|
|
5839
|
+
connection_id?: string | null;
|
|
5840
|
+
created_at?: string;
|
|
5841
|
+
created_by?: string;
|
|
5842
|
+
customer_id?: string | null;
|
|
5843
|
+
id?: string;
|
|
5844
|
+
last_error?: string | null;
|
|
5845
|
+
last_polled_at?: string | null;
|
|
5846
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
5847
|
+
provider_id?: string;
|
|
5848
|
+
queue_id?: string | null;
|
|
5849
|
+
status?: string;
|
|
5850
|
+
updated_at?: string;
|
|
5851
|
+
};
|
|
5852
|
+
Relationships: [{
|
|
5853
|
+
foreignKeyName: "invoice_push_log_provider_id_fkey";
|
|
5854
|
+
columns: ["provider_id"];
|
|
5855
|
+
isOneToOne: false;
|
|
5856
|
+
referencedRelation: "external_invoice_providers";
|
|
5857
|
+
referencedColumns: ["provider"];
|
|
5858
|
+
}];
|
|
5859
|
+
};
|
|
5860
|
+
invoice_run_items: {
|
|
5861
|
+
Row: {
|
|
5862
|
+
booking_id: string | null;
|
|
5863
|
+
company_name: string | null;
|
|
5864
|
+
created_at: string;
|
|
5865
|
+
customer_email: string | null;
|
|
5866
|
+
description: string | null;
|
|
5867
|
+
exact_article_id: string | null;
|
|
5868
|
+
id: string;
|
|
5869
|
+
invoice_run_id: string | null;
|
|
5870
|
+
quantity: number | null;
|
|
5871
|
+
total_excl_vat: number | null;
|
|
5872
|
+
total_incl_vat: number | null;
|
|
5873
|
+
unit_price: number | null;
|
|
5874
|
+
vat_amount: number | null;
|
|
5875
|
+
};
|
|
5876
|
+
Insert: {
|
|
5877
|
+
booking_id?: string | null;
|
|
5878
|
+
company_name?: string | null;
|
|
5879
|
+
created_at?: string;
|
|
5880
|
+
customer_email?: string | null;
|
|
5881
|
+
description?: string | null;
|
|
5882
|
+
exact_article_id?: string | null;
|
|
5883
|
+
id?: string;
|
|
5884
|
+
invoice_run_id?: string | null;
|
|
5885
|
+
quantity?: number | null;
|
|
5886
|
+
total_excl_vat?: number | null;
|
|
5887
|
+
total_incl_vat?: number | null;
|
|
5888
|
+
unit_price?: number | null;
|
|
5889
|
+
vat_amount?: number | null;
|
|
5890
|
+
};
|
|
5891
|
+
Update: {
|
|
5892
|
+
booking_id?: string | null;
|
|
5893
|
+
company_name?: string | null;
|
|
5894
|
+
created_at?: string;
|
|
5895
|
+
customer_email?: string | null;
|
|
5896
|
+
description?: string | null;
|
|
5897
|
+
exact_article_id?: string | null;
|
|
5898
|
+
id?: string;
|
|
5899
|
+
invoice_run_id?: string | null;
|
|
5900
|
+
quantity?: number | null;
|
|
5901
|
+
total_excl_vat?: number | null;
|
|
5902
|
+
total_incl_vat?: number | null;
|
|
5903
|
+
unit_price?: number | null;
|
|
5904
|
+
vat_amount?: number | null;
|
|
5905
|
+
};
|
|
5906
|
+
Relationships: [{
|
|
5907
|
+
foreignKeyName: "invoice_run_items_booking_id_fkey";
|
|
5908
|
+
columns: ["booking_id"];
|
|
5909
|
+
isOneToOne: false;
|
|
5910
|
+
referencedRelation: "bookings";
|
|
5911
|
+
referencedColumns: ["id"];
|
|
5912
|
+
}, {
|
|
5913
|
+
foreignKeyName: "invoice_run_items_invoice_run_id_fkey";
|
|
5914
|
+
columns: ["invoice_run_id"];
|
|
5915
|
+
isOneToOne: false;
|
|
5916
|
+
referencedRelation: "invoice_runs";
|
|
5917
|
+
referencedColumns: ["id"];
|
|
5918
|
+
}];
|
|
5919
|
+
};
|
|
5920
|
+
invoice_runs: {
|
|
5921
|
+
Row: {
|
|
5922
|
+
created_at: string;
|
|
5923
|
+
created_by: string | null;
|
|
5924
|
+
id: string;
|
|
5925
|
+
period_end: string;
|
|
5926
|
+
period_start: string;
|
|
5927
|
+
status: string;
|
|
5928
|
+
total_excl_vat: number | null;
|
|
5929
|
+
total_incl_vat: number | null;
|
|
5930
|
+
vat_amount: number | null;
|
|
5931
|
+
};
|
|
5932
|
+
Insert: {
|
|
5933
|
+
created_at?: string;
|
|
5934
|
+
created_by?: string | null;
|
|
5935
|
+
id?: string;
|
|
5936
|
+
period_end: string;
|
|
5937
|
+
period_start: string;
|
|
5938
|
+
status?: string;
|
|
5939
|
+
total_excl_vat?: number | null;
|
|
5940
|
+
total_incl_vat?: number | null;
|
|
5941
|
+
vat_amount?: number | null;
|
|
5942
|
+
};
|
|
5943
|
+
Update: {
|
|
5944
|
+
created_at?: string;
|
|
5945
|
+
created_by?: string | null;
|
|
5946
|
+
id?: string;
|
|
5947
|
+
period_end?: string;
|
|
5948
|
+
period_start?: string;
|
|
5949
|
+
status?: string;
|
|
5950
|
+
total_excl_vat?: number | null;
|
|
5951
|
+
total_incl_vat?: number | null;
|
|
5952
|
+
vat_amount?: number | null;
|
|
5953
|
+
};
|
|
5954
|
+
Relationships: [];
|
|
5955
|
+
};
|
|
5956
|
+
itk_contact_persons: {
|
|
5957
|
+
Row: {
|
|
5958
|
+
created_at: string;
|
|
5959
|
+
customer_id: string;
|
|
5960
|
+
email: string | null;
|
|
5961
|
+
id: string;
|
|
5962
|
+
name: string;
|
|
5963
|
+
phone: string | null;
|
|
5964
|
+
role: string | null;
|
|
5965
|
+
updated_at: string;
|
|
5966
|
+
};
|
|
5967
|
+
Insert: {
|
|
5968
|
+
created_at?: string;
|
|
5969
|
+
customer_id: string;
|
|
5970
|
+
email?: string | null;
|
|
5971
|
+
id?: string;
|
|
5972
|
+
name: string;
|
|
5973
|
+
phone?: string | null;
|
|
5974
|
+
role?: string | null;
|
|
5975
|
+
updated_at?: string;
|
|
5976
|
+
};
|
|
5977
|
+
Update: {
|
|
5978
|
+
created_at?: string;
|
|
5979
|
+
customer_id?: string;
|
|
5980
|
+
email?: string | null;
|
|
5981
|
+
id?: string;
|
|
5982
|
+
name?: string;
|
|
5983
|
+
phone?: string | null;
|
|
5984
|
+
role?: string | null;
|
|
5985
|
+
updated_at?: string;
|
|
5986
|
+
};
|
|
5987
|
+
Relationships: [{
|
|
5988
|
+
foreignKeyName: "itk_contact_persons_customer_id_fkey";
|
|
5989
|
+
columns: ["customer_id"];
|
|
5990
|
+
isOneToOne: false;
|
|
5991
|
+
referencedRelation: "itk_customers";
|
|
5992
|
+
referencedColumns: ["id"];
|
|
5993
|
+
}];
|
|
5994
|
+
};
|
|
5995
|
+
itk_customer_dynamic_values: {
|
|
5996
|
+
Row: {
|
|
5997
|
+
created_at: string;
|
|
5998
|
+
customer_id: string;
|
|
5999
|
+
field_id: string;
|
|
6000
|
+
id: string;
|
|
6001
|
+
updated_at: string;
|
|
6002
|
+
value: string | null;
|
|
6003
|
+
};
|
|
6004
|
+
Insert: {
|
|
6005
|
+
created_at?: string;
|
|
6006
|
+
customer_id: string;
|
|
6007
|
+
field_id: string;
|
|
6008
|
+
id?: string;
|
|
6009
|
+
updated_at?: string;
|
|
6010
|
+
value?: string | null;
|
|
6011
|
+
};
|
|
6012
|
+
Update: {
|
|
6013
|
+
created_at?: string;
|
|
6014
|
+
customer_id?: string;
|
|
6015
|
+
field_id?: string;
|
|
6016
|
+
id?: string;
|
|
6017
|
+
updated_at?: string;
|
|
6018
|
+
value?: string | null;
|
|
6019
|
+
};
|
|
6020
|
+
Relationships: [{
|
|
6021
|
+
foreignKeyName: "itk_customer_dynamic_values_customer_id_fkey";
|
|
6022
|
+
columns: ["customer_id"];
|
|
6023
|
+
isOneToOne: false;
|
|
6024
|
+
referencedRelation: "itk_customers";
|
|
6025
|
+
referencedColumns: ["id"];
|
|
6026
|
+
}, {
|
|
6027
|
+
foreignKeyName: "itk_customer_dynamic_values_field_id_fkey";
|
|
6028
|
+
columns: ["field_id"];
|
|
6029
|
+
isOneToOne: false;
|
|
6030
|
+
referencedRelation: "itk_dynamic_fields";
|
|
6031
|
+
referencedColumns: ["id"];
|
|
6032
|
+
}];
|
|
6033
|
+
};
|
|
6034
|
+
itk_customer_notes: {
|
|
6035
|
+
Row: {
|
|
6036
|
+
body: string;
|
|
6037
|
+
created_at: string;
|
|
6038
|
+
created_by: string | null;
|
|
6039
|
+
customer_id: string;
|
|
6040
|
+
id: string;
|
|
6041
|
+
note_type: string;
|
|
6042
|
+
updated_at: string;
|
|
6043
|
+
};
|
|
6044
|
+
Insert: {
|
|
6045
|
+
body: string;
|
|
6046
|
+
created_at?: string;
|
|
6047
|
+
created_by?: string | null;
|
|
6048
|
+
customer_id: string;
|
|
6049
|
+
id?: string;
|
|
6050
|
+
note_type?: string;
|
|
6051
|
+
updated_at?: string;
|
|
6052
|
+
};
|
|
6053
|
+
Update: {
|
|
6054
|
+
body?: string;
|
|
6055
|
+
created_at?: string;
|
|
6056
|
+
created_by?: string | null;
|
|
6057
|
+
customer_id?: string;
|
|
6058
|
+
id?: string;
|
|
6059
|
+
note_type?: string;
|
|
6060
|
+
updated_at?: string;
|
|
6061
|
+
};
|
|
6062
|
+
Relationships: [{
|
|
6063
|
+
foreignKeyName: "itk_customer_notes_customer_id_fkey";
|
|
6064
|
+
columns: ["customer_id"];
|
|
6065
|
+
isOneToOne: false;
|
|
6066
|
+
referencedRelation: "itk_customers";
|
|
6067
|
+
referencedColumns: ["id"];
|
|
6068
|
+
}];
|
|
6069
|
+
};
|
|
6070
|
+
itk_customers: {
|
|
6071
|
+
Row: {
|
|
6072
|
+
billing_city: string | null;
|
|
6073
|
+
billing_postcode: string | null;
|
|
6074
|
+
billing_street: string | null;
|
|
6075
|
+
created_at: string;
|
|
6076
|
+
general_email: string | null;
|
|
6077
|
+
general_phone: string | null;
|
|
6078
|
+
id: string;
|
|
6079
|
+
legacy_customer_id: string | null;
|
|
6080
|
+
name: string;
|
|
6081
|
+
segment: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
|
|
6082
|
+
updated_at: string;
|
|
6083
|
+
};
|
|
6084
|
+
Insert: {
|
|
6085
|
+
billing_city?: string | null;
|
|
6086
|
+
billing_postcode?: string | null;
|
|
6087
|
+
billing_street?: string | null;
|
|
6088
|
+
created_at?: string;
|
|
6089
|
+
general_email?: string | null;
|
|
6090
|
+
general_phone?: string | null;
|
|
6091
|
+
id?: string;
|
|
6092
|
+
legacy_customer_id?: string | null;
|
|
6093
|
+
name: string;
|
|
6094
|
+
segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
|
|
6095
|
+
updated_at?: string;
|
|
6096
|
+
};
|
|
6097
|
+
Update: {
|
|
6098
|
+
billing_city?: string | null;
|
|
6099
|
+
billing_postcode?: string | null;
|
|
6100
|
+
billing_street?: string | null;
|
|
6101
|
+
created_at?: string;
|
|
6102
|
+
general_email?: string | null;
|
|
6103
|
+
general_phone?: string | null;
|
|
6104
|
+
id?: string;
|
|
6105
|
+
legacy_customer_id?: string | null;
|
|
6106
|
+
name?: string;
|
|
6107
|
+
segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
|
|
6108
|
+
updated_at?: string;
|
|
6109
|
+
};
|
|
6110
|
+
Relationships: [{
|
|
6111
|
+
foreignKeyName: "itk_customers_legacy_customer_id_fkey";
|
|
6112
|
+
columns: ["legacy_customer_id"];
|
|
6113
|
+
isOneToOne: false;
|
|
6114
|
+
referencedRelation: "customers";
|
|
6115
|
+
referencedColumns: ["id"];
|
|
6116
|
+
}];
|
|
5331
6117
|
};
|
|
5332
|
-
|
|
6118
|
+
itk_dynamic_fields: {
|
|
5333
6119
|
Row: {
|
|
5334
|
-
connection_id: string | null;
|
|
5335
6120
|
created_at: string;
|
|
5336
|
-
|
|
5337
|
-
|
|
6121
|
+
field_name: string;
|
|
6122
|
+
field_type: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_dynamic_field_type"];
|
|
5338
6123
|
id: string;
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
payload: import("../integrations/supabase/types").Json;
|
|
5342
|
-
provider_id: string;
|
|
5343
|
-
queue_id: string | null;
|
|
5344
|
-
status: string;
|
|
6124
|
+
options: import("../integrations/supabase/types").Json;
|
|
6125
|
+
sort_order: number;
|
|
5345
6126
|
updated_at: string;
|
|
5346
6127
|
};
|
|
5347
6128
|
Insert: {
|
|
5348
|
-
connection_id?: string | null;
|
|
5349
6129
|
created_at?: string;
|
|
5350
|
-
|
|
5351
|
-
|
|
6130
|
+
field_name: string;
|
|
6131
|
+
field_type?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_dynamic_field_type"];
|
|
5352
6132
|
id?: string;
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
payload?: import("../integrations/supabase/types").Json;
|
|
5356
|
-
provider_id: string;
|
|
5357
|
-
queue_id?: string | null;
|
|
5358
|
-
status?: string;
|
|
6133
|
+
options?: import("../integrations/supabase/types").Json;
|
|
6134
|
+
sort_order?: number;
|
|
5359
6135
|
updated_at?: string;
|
|
5360
6136
|
};
|
|
5361
6137
|
Update: {
|
|
5362
|
-
connection_id?: string | null;
|
|
5363
6138
|
created_at?: string;
|
|
5364
|
-
|
|
5365
|
-
|
|
6139
|
+
field_name?: string;
|
|
6140
|
+
field_type?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_dynamic_field_type"];
|
|
5366
6141
|
id?: string;
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
payload?: import("../integrations/supabase/types").Json;
|
|
5370
|
-
provider_id?: string;
|
|
5371
|
-
queue_id?: string | null;
|
|
5372
|
-
status?: string;
|
|
6142
|
+
options?: import("../integrations/supabase/types").Json;
|
|
6143
|
+
sort_order?: number;
|
|
5373
6144
|
updated_at?: string;
|
|
5374
6145
|
};
|
|
5375
|
-
Relationships: [
|
|
5376
|
-
foreignKeyName: "invoice_push_log_provider_id_fkey";
|
|
5377
|
-
columns: ["provider_id"];
|
|
5378
|
-
isOneToOne: false;
|
|
5379
|
-
referencedRelation: "external_invoice_providers";
|
|
5380
|
-
referencedColumns: ["provider"];
|
|
5381
|
-
}];
|
|
6146
|
+
Relationships: [];
|
|
5382
6147
|
};
|
|
5383
|
-
|
|
6148
|
+
itk_work_locations: {
|
|
5384
6149
|
Row: {
|
|
5385
|
-
|
|
5386
|
-
company_name: string | null;
|
|
6150
|
+
city: string | null;
|
|
5387
6151
|
created_at: string;
|
|
5388
|
-
|
|
5389
|
-
description: string | null;
|
|
5390
|
-
exact_article_id: string | null;
|
|
6152
|
+
customer_id: string;
|
|
5391
6153
|
id: string;
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
|
|
6154
|
+
instructions: string | null;
|
|
6155
|
+
label: string;
|
|
6156
|
+
latitude: number | null;
|
|
6157
|
+
longitude: number | null;
|
|
6158
|
+
postcode: string | null;
|
|
6159
|
+
street: string | null;
|
|
6160
|
+
updated_at: string;
|
|
5398
6161
|
};
|
|
5399
6162
|
Insert: {
|
|
5400
|
-
|
|
5401
|
-
company_name?: string | null;
|
|
6163
|
+
city?: string | null;
|
|
5402
6164
|
created_at?: string;
|
|
5403
|
-
|
|
5404
|
-
description?: string | null;
|
|
5405
|
-
exact_article_id?: string | null;
|
|
6165
|
+
customer_id: string;
|
|
5406
6166
|
id?: string;
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
6167
|
+
instructions?: string | null;
|
|
6168
|
+
label: string;
|
|
6169
|
+
latitude?: number | null;
|
|
6170
|
+
longitude?: number | null;
|
|
6171
|
+
postcode?: string | null;
|
|
6172
|
+
street?: string | null;
|
|
6173
|
+
updated_at?: string;
|
|
5413
6174
|
};
|
|
5414
6175
|
Update: {
|
|
5415
|
-
|
|
5416
|
-
company_name?: string | null;
|
|
6176
|
+
city?: string | null;
|
|
5417
6177
|
created_at?: string;
|
|
5418
|
-
|
|
5419
|
-
description?: string | null;
|
|
5420
|
-
exact_article_id?: string | null;
|
|
6178
|
+
customer_id?: string;
|
|
5421
6179
|
id?: string;
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5426
|
-
|
|
5427
|
-
|
|
6180
|
+
instructions?: string | null;
|
|
6181
|
+
label?: string;
|
|
6182
|
+
latitude?: number | null;
|
|
6183
|
+
longitude?: number | null;
|
|
6184
|
+
postcode?: string | null;
|
|
6185
|
+
street?: string | null;
|
|
6186
|
+
updated_at?: string;
|
|
5428
6187
|
};
|
|
5429
6188
|
Relationships: [{
|
|
5430
|
-
foreignKeyName: "
|
|
5431
|
-
columns: ["
|
|
5432
|
-
isOneToOne: false;
|
|
5433
|
-
referencedRelation: "bookings";
|
|
5434
|
-
referencedColumns: ["id"];
|
|
5435
|
-
}, {
|
|
5436
|
-
foreignKeyName: "invoice_run_items_invoice_run_id_fkey";
|
|
5437
|
-
columns: ["invoice_run_id"];
|
|
6189
|
+
foreignKeyName: "itk_work_locations_customer_id_fkey";
|
|
6190
|
+
columns: ["customer_id"];
|
|
5438
6191
|
isOneToOne: false;
|
|
5439
|
-
referencedRelation: "
|
|
6192
|
+
referencedRelation: "itk_customers";
|
|
5440
6193
|
referencedColumns: ["id"];
|
|
5441
6194
|
}];
|
|
5442
6195
|
};
|
|
5443
|
-
|
|
6196
|
+
leave_requests: {
|
|
5444
6197
|
Row: {
|
|
5445
6198
|
created_at: string;
|
|
5446
|
-
|
|
6199
|
+
end_date: string;
|
|
5447
6200
|
id: string;
|
|
5448
|
-
|
|
5449
|
-
|
|
6201
|
+
reason: string | null;
|
|
6202
|
+
start_date: string;
|
|
5450
6203
|
status: string;
|
|
5451
|
-
|
|
5452
|
-
|
|
5453
|
-
|
|
6204
|
+
tenant_id: string;
|
|
6205
|
+
updated_at: string;
|
|
6206
|
+
user_id: string;
|
|
5454
6207
|
};
|
|
5455
6208
|
Insert: {
|
|
5456
6209
|
created_at?: string;
|
|
5457
|
-
|
|
6210
|
+
end_date: string;
|
|
5458
6211
|
id?: string;
|
|
5459
|
-
|
|
5460
|
-
|
|
6212
|
+
reason?: string | null;
|
|
6213
|
+
start_date: string;
|
|
5461
6214
|
status?: string;
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
6215
|
+
tenant_id?: string;
|
|
6216
|
+
updated_at?: string;
|
|
6217
|
+
user_id: string;
|
|
5465
6218
|
};
|
|
5466
6219
|
Update: {
|
|
5467
6220
|
created_at?: string;
|
|
5468
|
-
|
|
6221
|
+
end_date?: string;
|
|
5469
6222
|
id?: string;
|
|
5470
|
-
|
|
5471
|
-
|
|
6223
|
+
reason?: string | null;
|
|
6224
|
+
start_date?: string;
|
|
5472
6225
|
status?: string;
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
6226
|
+
tenant_id?: string;
|
|
6227
|
+
updated_at?: string;
|
|
6228
|
+
user_id?: string;
|
|
5476
6229
|
};
|
|
5477
|
-
Relationships: [
|
|
6230
|
+
Relationships: [{
|
|
6231
|
+
foreignKeyName: "leave_requests_user_id_fkey";
|
|
6232
|
+
columns: ["user_id"];
|
|
6233
|
+
isOneToOne: false;
|
|
6234
|
+
referencedRelation: "monteurs";
|
|
6235
|
+
referencedColumns: ["id"];
|
|
6236
|
+
}];
|
|
5478
6237
|
};
|
|
5479
6238
|
local_customer_agreements: {
|
|
5480
6239
|
Row: {
|
|
@@ -6093,60 +6852,66 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
6093
6852
|
};
|
|
6094
6853
|
manufacture_products: {
|
|
6095
6854
|
Row: {
|
|
6096
|
-
aantal_te_produceren: number;
|
|
6097
6855
|
created_at: string;
|
|
6098
6856
|
description: string | null;
|
|
6099
6857
|
id: string;
|
|
6100
6858
|
is_active: boolean;
|
|
6101
|
-
location_id: string | null;
|
|
6102
6859
|
name: string;
|
|
6103
|
-
partij_nummer: string | null;
|
|
6104
|
-
photos: import("../integrations/supabase/types").Json;
|
|
6105
6860
|
produced_stock: number;
|
|
6106
6861
|
product_code: string;
|
|
6107
6862
|
tenant_id: string;
|
|
6108
|
-
unit: string;
|
|
6109
6863
|
updated_at: string;
|
|
6110
6864
|
};
|
|
6111
6865
|
Insert: {
|
|
6112
|
-
aantal_te_produceren?: number;
|
|
6113
6866
|
created_at?: string;
|
|
6114
6867
|
description?: string | null;
|
|
6115
6868
|
id?: string;
|
|
6116
6869
|
is_active?: boolean;
|
|
6117
|
-
location_id?: string | null;
|
|
6118
6870
|
name: string;
|
|
6119
|
-
partij_nummer?: string | null;
|
|
6120
|
-
photos?: import("../integrations/supabase/types").Json;
|
|
6121
6871
|
produced_stock?: number;
|
|
6122
6872
|
product_code: string;
|
|
6123
6873
|
tenant_id: string;
|
|
6124
|
-
unit?: string;
|
|
6125
6874
|
updated_at?: string;
|
|
6126
6875
|
};
|
|
6127
6876
|
Update: {
|
|
6128
|
-
aantal_te_produceren?: number;
|
|
6129
6877
|
created_at?: string;
|
|
6130
6878
|
description?: string | null;
|
|
6131
6879
|
id?: string;
|
|
6132
6880
|
is_active?: boolean;
|
|
6133
|
-
location_id?: string | null;
|
|
6134
6881
|
name?: string;
|
|
6135
|
-
partij_nummer?: string | null;
|
|
6136
|
-
photos?: import("../integrations/supabase/types").Json;
|
|
6137
6882
|
produced_stock?: number;
|
|
6138
6883
|
product_code?: string;
|
|
6139
6884
|
tenant_id?: string;
|
|
6140
|
-
unit?: string;
|
|
6141
6885
|
updated_at?: string;
|
|
6142
6886
|
};
|
|
6143
|
-
Relationships: [
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6149
|
-
|
|
6887
|
+
Relationships: [];
|
|
6888
|
+
};
|
|
6889
|
+
module_permissions: {
|
|
6890
|
+
Row: {
|
|
6891
|
+
created_at: string;
|
|
6892
|
+
id: string;
|
|
6893
|
+
module_id: string;
|
|
6894
|
+
permission: string;
|
|
6895
|
+
role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
6896
|
+
updated_at: string;
|
|
6897
|
+
};
|
|
6898
|
+
Insert: {
|
|
6899
|
+
created_at?: string;
|
|
6900
|
+
id?: string;
|
|
6901
|
+
module_id: string;
|
|
6902
|
+
permission: string;
|
|
6903
|
+
role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
6904
|
+
updated_at?: string;
|
|
6905
|
+
};
|
|
6906
|
+
Update: {
|
|
6907
|
+
created_at?: string;
|
|
6908
|
+
id?: string;
|
|
6909
|
+
module_id?: string;
|
|
6910
|
+
permission?: string;
|
|
6911
|
+
role?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
6912
|
+
updated_at?: string;
|
|
6913
|
+
};
|
|
6914
|
+
Relationships: [];
|
|
6150
6915
|
};
|
|
6151
6916
|
monteurs: {
|
|
6152
6917
|
Row: {
|
|
@@ -6877,6 +7642,42 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
6877
7642
|
};
|
|
6878
7643
|
Relationships: [];
|
|
6879
7644
|
};
|
|
7645
|
+
order_buffers: {
|
|
7646
|
+
Row: {
|
|
7647
|
+
buffer_key: string;
|
|
7648
|
+
created_at: string;
|
|
7649
|
+
customer_id: string | null;
|
|
7650
|
+
grouping_mode: string;
|
|
7651
|
+
id: string;
|
|
7652
|
+
pickup_date: string | null;
|
|
7653
|
+
pickup_location: string | null;
|
|
7654
|
+
plan_locked_at: string | null;
|
|
7655
|
+
updated_at: string;
|
|
7656
|
+
};
|
|
7657
|
+
Insert: {
|
|
7658
|
+
buffer_key: string;
|
|
7659
|
+
created_at?: string;
|
|
7660
|
+
customer_id?: string | null;
|
|
7661
|
+
grouping_mode: string;
|
|
7662
|
+
id?: string;
|
|
7663
|
+
pickup_date?: string | null;
|
|
7664
|
+
pickup_location?: string | null;
|
|
7665
|
+
plan_locked_at?: string | null;
|
|
7666
|
+
updated_at?: string;
|
|
7667
|
+
};
|
|
7668
|
+
Update: {
|
|
7669
|
+
buffer_key?: string;
|
|
7670
|
+
created_at?: string;
|
|
7671
|
+
customer_id?: string | null;
|
|
7672
|
+
grouping_mode?: string;
|
|
7673
|
+
id?: string;
|
|
7674
|
+
pickup_date?: string | null;
|
|
7675
|
+
pickup_location?: string | null;
|
|
7676
|
+
plan_locked_at?: string | null;
|
|
7677
|
+
updated_at?: string;
|
|
7678
|
+
};
|
|
7679
|
+
Relationships: [];
|
|
7680
|
+
};
|
|
6880
7681
|
order_cart_items: {
|
|
6881
7682
|
Row: {
|
|
6882
7683
|
cart_id: string;
|
|
@@ -6943,6 +7744,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
6943
7744
|
order_carts: {
|
|
6944
7745
|
Row: {
|
|
6945
7746
|
algorithm_version: number;
|
|
7747
|
+
buffer_id: string | null;
|
|
6946
7748
|
cart_number: number;
|
|
6947
7749
|
created_at: string;
|
|
6948
7750
|
id: string;
|
|
@@ -6950,13 +7752,14 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
6950
7752
|
is_complete: boolean;
|
|
6951
7753
|
notes: string | null;
|
|
6952
7754
|
occupancy_pct: number;
|
|
6953
|
-
order_id: string;
|
|
7755
|
+
order_id: string | null;
|
|
6954
7756
|
source: string;
|
|
6955
7757
|
total_layers_used: number;
|
|
6956
7758
|
updated_at: string;
|
|
6957
7759
|
};
|
|
6958
7760
|
Insert: {
|
|
6959
7761
|
algorithm_version?: number;
|
|
7762
|
+
buffer_id?: string | null;
|
|
6960
7763
|
cart_number: number;
|
|
6961
7764
|
created_at?: string;
|
|
6962
7765
|
id?: string;
|
|
@@ -6964,13 +7767,14 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
6964
7767
|
is_complete?: boolean;
|
|
6965
7768
|
notes?: string | null;
|
|
6966
7769
|
occupancy_pct?: number;
|
|
6967
|
-
order_id
|
|
7770
|
+
order_id?: string | null;
|
|
6968
7771
|
source?: string;
|
|
6969
7772
|
total_layers_used?: number;
|
|
6970
7773
|
updated_at?: string;
|
|
6971
7774
|
};
|
|
6972
7775
|
Update: {
|
|
6973
7776
|
algorithm_version?: number;
|
|
7777
|
+
buffer_id?: string | null;
|
|
6974
7778
|
cart_number?: number;
|
|
6975
7779
|
created_at?: string;
|
|
6976
7780
|
id?: string;
|
|
@@ -6978,12 +7782,18 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
6978
7782
|
is_complete?: boolean;
|
|
6979
7783
|
notes?: string | null;
|
|
6980
7784
|
occupancy_pct?: number;
|
|
6981
|
-
order_id?: string;
|
|
7785
|
+
order_id?: string | null;
|
|
6982
7786
|
source?: string;
|
|
6983
7787
|
total_layers_used?: number;
|
|
6984
7788
|
updated_at?: string;
|
|
6985
7789
|
};
|
|
6986
7790
|
Relationships: [{
|
|
7791
|
+
foreignKeyName: "order_carts_buffer_id_fkey";
|
|
7792
|
+
columns: ["buffer_id"];
|
|
7793
|
+
isOneToOne: false;
|
|
7794
|
+
referencedRelation: "order_buffers";
|
|
7795
|
+
referencedColumns: ["id"];
|
|
7796
|
+
}, {
|
|
6987
7797
|
foreignKeyName: "order_carts_order_id_fkey";
|
|
6988
7798
|
columns: ["order_id"];
|
|
6989
7799
|
isOneToOne: false;
|
|
@@ -7221,12 +8031,14 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
7221
8031
|
};
|
|
7222
8032
|
orders: {
|
|
7223
8033
|
Row: {
|
|
8034
|
+
buffer_id: string | null;
|
|
7224
8035
|
created_at: string;
|
|
7225
8036
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
7226
8037
|
customer_id: string | null;
|
|
7227
8038
|
customer_name: string;
|
|
7228
8039
|
deleted_at: string | null;
|
|
7229
8040
|
delivery_date: string | null;
|
|
8041
|
+
floriday_sales_order_id: string | null;
|
|
7230
8042
|
id: string;
|
|
7231
8043
|
is_reservation: boolean;
|
|
7232
8044
|
notes: string | null;
|
|
@@ -7240,12 +8052,14 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
7240
8052
|
updated_at: string;
|
|
7241
8053
|
};
|
|
7242
8054
|
Insert: {
|
|
8055
|
+
buffer_id?: string | null;
|
|
7243
8056
|
created_at?: string;
|
|
7244
8057
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
7245
8058
|
customer_id?: string | null;
|
|
7246
8059
|
customer_name?: string;
|
|
7247
8060
|
deleted_at?: string | null;
|
|
7248
8061
|
delivery_date?: string | null;
|
|
8062
|
+
floriday_sales_order_id?: string | null;
|
|
7249
8063
|
id?: string;
|
|
7250
8064
|
is_reservation?: boolean;
|
|
7251
8065
|
notes?: string | null;
|
|
@@ -7259,12 +8073,14 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
7259
8073
|
updated_at?: string;
|
|
7260
8074
|
};
|
|
7261
8075
|
Update: {
|
|
8076
|
+
buffer_id?: string | null;
|
|
7262
8077
|
created_at?: string;
|
|
7263
8078
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
7264
8079
|
customer_id?: string | null;
|
|
7265
8080
|
customer_name?: string;
|
|
7266
8081
|
deleted_at?: string | null;
|
|
7267
8082
|
delivery_date?: string | null;
|
|
8083
|
+
floriday_sales_order_id?: string | null;
|
|
7268
8084
|
id?: string;
|
|
7269
8085
|
is_reservation?: boolean;
|
|
7270
8086
|
notes?: string | null;
|
|
@@ -7278,6 +8094,12 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
7278
8094
|
updated_at?: string;
|
|
7279
8095
|
};
|
|
7280
8096
|
Relationships: [{
|
|
8097
|
+
foreignKeyName: "orders_buffer_id_fkey";
|
|
8098
|
+
columns: ["buffer_id"];
|
|
8099
|
+
isOneToOne: false;
|
|
8100
|
+
referencedRelation: "order_buffers";
|
|
8101
|
+
referencedColumns: ["id"];
|
|
8102
|
+
}, {
|
|
7281
8103
|
foreignKeyName: "orders_customer_id_fkey";
|
|
7282
8104
|
columns: ["customer_id"];
|
|
7283
8105
|
isOneToOne: false;
|
|
@@ -7408,63 +8230,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
7408
8230
|
};
|
|
7409
8231
|
Relationships: [];
|
|
7410
8232
|
};
|
|
7411
|
-
product_bom_items: {
|
|
7412
|
-
Row: {
|
|
7413
|
-
component_product_id: string | null;
|
|
7414
|
-
component_trade_item_floriday_id: string | null;
|
|
7415
|
-
created_at: string;
|
|
7416
|
-
id: string;
|
|
7417
|
-
notes: string | null;
|
|
7418
|
-
parent_product_id: string | null;
|
|
7419
|
-
parent_trade_item_floriday_id: string | null;
|
|
7420
|
-
quantity: number;
|
|
7421
|
-
sort_order: number;
|
|
7422
|
-
tenant_id: string;
|
|
7423
|
-
unit: string;
|
|
7424
|
-
updated_at: string;
|
|
7425
|
-
};
|
|
7426
|
-
Insert: {
|
|
7427
|
-
component_product_id?: string | null;
|
|
7428
|
-
component_trade_item_floriday_id?: string | null;
|
|
7429
|
-
created_at?: string;
|
|
7430
|
-
id?: string;
|
|
7431
|
-
notes?: string | null;
|
|
7432
|
-
parent_product_id?: string | null;
|
|
7433
|
-
parent_trade_item_floriday_id?: string | null;
|
|
7434
|
-
quantity?: number;
|
|
7435
|
-
sort_order?: number;
|
|
7436
|
-
tenant_id: string;
|
|
7437
|
-
unit?: string;
|
|
7438
|
-
updated_at?: string;
|
|
7439
|
-
};
|
|
7440
|
-
Update: {
|
|
7441
|
-
component_product_id?: string | null;
|
|
7442
|
-
component_trade_item_floriday_id?: string | null;
|
|
7443
|
-
created_at?: string;
|
|
7444
|
-
id?: string;
|
|
7445
|
-
notes?: string | null;
|
|
7446
|
-
parent_product_id?: string | null;
|
|
7447
|
-
parent_trade_item_floriday_id?: string | null;
|
|
7448
|
-
quantity?: number;
|
|
7449
|
-
sort_order?: number;
|
|
7450
|
-
tenant_id?: string;
|
|
7451
|
-
unit?: string;
|
|
7452
|
-
updated_at?: string;
|
|
7453
|
-
};
|
|
7454
|
-
Relationships: [{
|
|
7455
|
-
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
7456
|
-
columns: ["component_product_id"];
|
|
7457
|
-
isOneToOne: false;
|
|
7458
|
-
referencedRelation: "products";
|
|
7459
|
-
referencedColumns: ["id"];
|
|
7460
|
-
}, {
|
|
7461
|
-
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
7462
|
-
columns: ["parent_product_id"];
|
|
7463
|
-
isOneToOne: false;
|
|
7464
|
-
referencedRelation: "products";
|
|
7465
|
-
referencedColumns: ["id"];
|
|
7466
|
-
}];
|
|
7467
|
-
};
|
|
7468
8233
|
product_categories: {
|
|
7469
8234
|
Row: {
|
|
7470
8235
|
color: string;
|
|
@@ -7570,7 +8335,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
7570
8335
|
id: string;
|
|
7571
8336
|
product_group_id: string;
|
|
7572
8337
|
quantity: number;
|
|
7573
|
-
sort_order: number;
|
|
7574
8338
|
trade_item_id: string;
|
|
7575
8339
|
};
|
|
7576
8340
|
Insert: {
|
|
@@ -7578,7 +8342,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
7578
8342
|
id?: string;
|
|
7579
8343
|
product_group_id: string;
|
|
7580
8344
|
quantity?: number;
|
|
7581
|
-
sort_order?: number;
|
|
7582
8345
|
trade_item_id: string;
|
|
7583
8346
|
};
|
|
7584
8347
|
Update: {
|
|
@@ -7586,7 +8349,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
7586
8349
|
id?: string;
|
|
7587
8350
|
product_group_id?: string;
|
|
7588
8351
|
quantity?: number;
|
|
7589
|
-
sort_order?: number;
|
|
7590
8352
|
trade_item_id?: string;
|
|
7591
8353
|
};
|
|
7592
8354
|
Relationships: [{
|
|
@@ -7601,8 +8363,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
7601
8363
|
Row: {
|
|
7602
8364
|
created_at: string;
|
|
7603
8365
|
description: string | null;
|
|
7604
|
-
head_product_id: string | null;
|
|
7605
|
-
head_trade_item_floriday_id: string | null;
|
|
7606
8366
|
id: string;
|
|
7607
8367
|
is_active: boolean;
|
|
7608
8368
|
name: string;
|
|
@@ -7612,8 +8372,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
7612
8372
|
Insert: {
|
|
7613
8373
|
created_at?: string;
|
|
7614
8374
|
description?: string | null;
|
|
7615
|
-
head_product_id?: string | null;
|
|
7616
|
-
head_trade_item_floriday_id?: string | null;
|
|
7617
8375
|
id?: string;
|
|
7618
8376
|
is_active?: boolean;
|
|
7619
8377
|
name: string;
|
|
@@ -7623,130 +8381,24 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
7623
8381
|
Update: {
|
|
7624
8382
|
created_at?: string;
|
|
7625
8383
|
description?: string | null;
|
|
7626
|
-
head_product_id?: string | null;
|
|
7627
|
-
head_trade_item_floriday_id?: string | null;
|
|
7628
8384
|
id?: string;
|
|
7629
8385
|
is_active?: boolean;
|
|
7630
8386
|
name?: string;
|
|
7631
8387
|
tenant_id?: string;
|
|
7632
8388
|
updated_at?: string;
|
|
7633
8389
|
};
|
|
7634
|
-
Relationships: [{
|
|
7635
|
-
foreignKeyName: "product_groups_head_product_id_fkey";
|
|
7636
|
-
columns: ["head_product_id"];
|
|
7637
|
-
isOneToOne: false;
|
|
7638
|
-
referencedRelation: "products";
|
|
7639
|
-
referencedColumns: ["id"];
|
|
7640
|
-
}];
|
|
7641
|
-
};
|
|
7642
|
-
product_load_settings: {
|
|
7643
|
-
Row: {
|
|
7644
|
-
created_at: string;
|
|
7645
|
-
id: string;
|
|
7646
|
-
is_package: boolean;
|
|
7647
|
-
layers_per_load_carrier: number | null;
|
|
7648
|
-
load_carrier: string | null;
|
|
7649
|
-
package_id: string | null;
|
|
7650
|
-
package_label: string | null;
|
|
7651
|
-
packages_per_layer: number | null;
|
|
7652
|
-
product_id: string | null;
|
|
7653
|
-
tenant_id: string;
|
|
7654
|
-
trade_item_floriday_id: string | null;
|
|
7655
|
-
units_per_package: number | null;
|
|
7656
|
-
updated_at: string;
|
|
7657
|
-
};
|
|
7658
|
-
Insert: {
|
|
7659
|
-
created_at?: string;
|
|
7660
|
-
id?: string;
|
|
7661
|
-
is_package?: boolean;
|
|
7662
|
-
layers_per_load_carrier?: number | null;
|
|
7663
|
-
load_carrier?: string | null;
|
|
7664
|
-
package_id?: string | null;
|
|
7665
|
-
package_label?: string | null;
|
|
7666
|
-
packages_per_layer?: number | null;
|
|
7667
|
-
product_id?: string | null;
|
|
7668
|
-
tenant_id: string;
|
|
7669
|
-
trade_item_floriday_id?: string | null;
|
|
7670
|
-
units_per_package?: number | null;
|
|
7671
|
-
updated_at?: string;
|
|
7672
|
-
};
|
|
7673
|
-
Update: {
|
|
7674
|
-
created_at?: string;
|
|
7675
|
-
id?: string;
|
|
7676
|
-
is_package?: boolean;
|
|
7677
|
-
layers_per_load_carrier?: number | null;
|
|
7678
|
-
load_carrier?: string | null;
|
|
7679
|
-
package_id?: string | null;
|
|
7680
|
-
package_label?: string | null;
|
|
7681
|
-
packages_per_layer?: number | null;
|
|
7682
|
-
product_id?: string | null;
|
|
7683
|
-
tenant_id?: string;
|
|
7684
|
-
trade_item_floriday_id?: string | null;
|
|
7685
|
-
units_per_package?: number | null;
|
|
7686
|
-
updated_at?: string;
|
|
7687
|
-
};
|
|
7688
|
-
Relationships: [{
|
|
7689
|
-
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
7690
|
-
columns: ["package_id"];
|
|
7691
|
-
isOneToOne: false;
|
|
7692
|
-
referencedRelation: "packages";
|
|
7693
|
-
referencedColumns: ["id"];
|
|
7694
|
-
}, {
|
|
7695
|
-
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
7696
|
-
columns: ["product_id"];
|
|
7697
|
-
isOneToOne: false;
|
|
7698
|
-
referencedRelation: "products";
|
|
7699
|
-
referencedColumns: ["id"];
|
|
7700
|
-
}];
|
|
7701
|
-
};
|
|
7702
|
-
product_merge_log: {
|
|
7703
|
-
Row: {
|
|
7704
|
-
canonical_product_id: string | null;
|
|
7705
|
-
id: string;
|
|
7706
|
-
merged_at: string;
|
|
7707
|
-
merged_from_id: string;
|
|
7708
|
-
notes: string | null;
|
|
7709
|
-
snapshot: import("../integrations/supabase/types").Json;
|
|
7710
|
-
source_table: string;
|
|
7711
|
-
status: string;
|
|
7712
|
-
};
|
|
7713
|
-
Insert: {
|
|
7714
|
-
canonical_product_id?: string | null;
|
|
7715
|
-
id?: string;
|
|
7716
|
-
merged_at?: string;
|
|
7717
|
-
merged_from_id: string;
|
|
7718
|
-
notes?: string | null;
|
|
7719
|
-
snapshot?: import("../integrations/supabase/types").Json;
|
|
7720
|
-
source_table: string;
|
|
7721
|
-
status?: string;
|
|
7722
|
-
};
|
|
7723
|
-
Update: {
|
|
7724
|
-
canonical_product_id?: string | null;
|
|
7725
|
-
id?: string;
|
|
7726
|
-
merged_at?: string;
|
|
7727
|
-
merged_from_id?: string;
|
|
7728
|
-
notes?: string | null;
|
|
7729
|
-
snapshot?: import("../integrations/supabase/types").Json;
|
|
7730
|
-
source_table?: string;
|
|
7731
|
-
status?: string;
|
|
7732
|
-
};
|
|
7733
8390
|
Relationships: [];
|
|
7734
8391
|
};
|
|
7735
8392
|
products: {
|
|
7736
8393
|
Row: {
|
|
7737
|
-
article_number: string | null;
|
|
7738
8394
|
barcode: string | null;
|
|
7739
8395
|
batch: string;
|
|
7740
8396
|
crates_per_layer: number;
|
|
7741
8397
|
created_at: string;
|
|
7742
8398
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
7743
|
-
floriday_active: boolean;
|
|
7744
|
-
floriday_payload: import("../integrations/supabase/types").Json;
|
|
7745
|
-
floriday_trade_item_id: string | null;
|
|
7746
8399
|
id: string;
|
|
7747
8400
|
image_url: string | null;
|
|
7748
8401
|
incoming_quantity: number;
|
|
7749
|
-
is_layer: boolean;
|
|
7750
8402
|
layers_per_cart: number;
|
|
7751
8403
|
location: string;
|
|
7752
8404
|
min_quantity: number;
|
|
@@ -7762,19 +8414,14 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
7762
8414
|
weight: string | null;
|
|
7763
8415
|
};
|
|
7764
8416
|
Insert: {
|
|
7765
|
-
article_number?: string | null;
|
|
7766
8417
|
barcode?: string | null;
|
|
7767
8418
|
batch: string;
|
|
7768
8419
|
crates_per_layer?: number;
|
|
7769
8420
|
created_at?: string;
|
|
7770
8421
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
7771
|
-
floriday_active?: boolean;
|
|
7772
|
-
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
7773
|
-
floriday_trade_item_id?: string | null;
|
|
7774
8422
|
id?: string;
|
|
7775
8423
|
image_url?: string | null;
|
|
7776
8424
|
incoming_quantity?: number;
|
|
7777
|
-
is_layer?: boolean;
|
|
7778
8425
|
layers_per_cart?: number;
|
|
7779
8426
|
location: string;
|
|
7780
8427
|
min_quantity?: number;
|
|
@@ -7790,19 +8437,14 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
7790
8437
|
weight?: string | null;
|
|
7791
8438
|
};
|
|
7792
8439
|
Update: {
|
|
7793
|
-
article_number?: string | null;
|
|
7794
8440
|
barcode?: string | null;
|
|
7795
8441
|
batch?: string;
|
|
7796
8442
|
crates_per_layer?: number;
|
|
7797
8443
|
created_at?: string;
|
|
7798
8444
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
7799
|
-
floriday_active?: boolean;
|
|
7800
|
-
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
7801
|
-
floriday_trade_item_id?: string | null;
|
|
7802
8445
|
id?: string;
|
|
7803
8446
|
image_url?: string | null;
|
|
7804
8447
|
incoming_quantity?: number;
|
|
7805
|
-
is_layer?: boolean;
|
|
7806
8448
|
layers_per_cart?: number;
|
|
7807
8449
|
location?: string;
|
|
7808
8450
|
min_quantity?: number;
|
|
@@ -8708,10 +9350,8 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
8708
9350
|
order_id: string | null;
|
|
8709
9351
|
order_item_id: string | null;
|
|
8710
9352
|
order_source: string | null;
|
|
8711
|
-
parent_trade_item_key: string | null;
|
|
8712
9353
|
physical_after: number | null;
|
|
8713
9354
|
physical_before: number | null;
|
|
8714
|
-
production_batch_id: string | null;
|
|
8715
9355
|
qty_delta: number;
|
|
8716
9356
|
reason: string | null;
|
|
8717
9357
|
reserved_after: number | null;
|
|
@@ -8727,10 +9367,8 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
8727
9367
|
order_id?: string | null;
|
|
8728
9368
|
order_item_id?: string | null;
|
|
8729
9369
|
order_source?: string | null;
|
|
8730
|
-
parent_trade_item_key?: string | null;
|
|
8731
9370
|
physical_after?: number | null;
|
|
8732
9371
|
physical_before?: number | null;
|
|
8733
|
-
production_batch_id?: string | null;
|
|
8734
9372
|
qty_delta: number;
|
|
8735
9373
|
reason?: string | null;
|
|
8736
9374
|
reserved_after?: number | null;
|
|
@@ -8746,10 +9384,8 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
8746
9384
|
order_id?: string | null;
|
|
8747
9385
|
order_item_id?: string | null;
|
|
8748
9386
|
order_source?: string | null;
|
|
8749
|
-
parent_trade_item_key?: string | null;
|
|
8750
9387
|
physical_after?: number | null;
|
|
8751
9388
|
physical_before?: number | null;
|
|
8752
|
-
production_batch_id?: string | null;
|
|
8753
9389
|
qty_delta?: number;
|
|
8754
9390
|
reason?: string | null;
|
|
8755
9391
|
reserved_after?: number | null;
|
|
@@ -8851,6 +9487,27 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
8851
9487
|
};
|
|
8852
9488
|
Relationships: [];
|
|
8853
9489
|
};
|
|
9490
|
+
technician_rates: {
|
|
9491
|
+
Row: {
|
|
9492
|
+
created_at: string;
|
|
9493
|
+
hourly_rate_cents: number;
|
|
9494
|
+
updated_at: string;
|
|
9495
|
+
user_id: string;
|
|
9496
|
+
};
|
|
9497
|
+
Insert: {
|
|
9498
|
+
created_at?: string;
|
|
9499
|
+
hourly_rate_cents?: number;
|
|
9500
|
+
updated_at?: string;
|
|
9501
|
+
user_id: string;
|
|
9502
|
+
};
|
|
9503
|
+
Update: {
|
|
9504
|
+
created_at?: string;
|
|
9505
|
+
hourly_rate_cents?: number;
|
|
9506
|
+
updated_at?: string;
|
|
9507
|
+
user_id?: string;
|
|
9508
|
+
};
|
|
9509
|
+
Relationships: [];
|
|
9510
|
+
};
|
|
8854
9511
|
tenants: {
|
|
8855
9512
|
Row: {
|
|
8856
9513
|
created_at: string;
|
|
@@ -9208,7 +9865,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
9208
9865
|
twinfield_connections: {
|
|
9209
9866
|
Row: {
|
|
9210
9867
|
access_token: string | null;
|
|
9211
|
-
client_id: string
|
|
9868
|
+
client_id: string;
|
|
9212
9869
|
client_secret: string | null;
|
|
9213
9870
|
cluster_uri: string | null;
|
|
9214
9871
|
company_code: string | null;
|
|
@@ -9220,7 +9877,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
9220
9877
|
is_active: boolean;
|
|
9221
9878
|
label: string | null;
|
|
9222
9879
|
office_code: string | null;
|
|
9223
|
-
redirect_uri: string
|
|
9880
|
+
redirect_uri: string;
|
|
9224
9881
|
refresh_token: string | null;
|
|
9225
9882
|
token_expires_at: string | null;
|
|
9226
9883
|
updated_at: string;
|
|
@@ -9228,7 +9885,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
9228
9885
|
};
|
|
9229
9886
|
Insert: {
|
|
9230
9887
|
access_token?: string | null;
|
|
9231
|
-
client_id
|
|
9888
|
+
client_id: string;
|
|
9232
9889
|
client_secret?: string | null;
|
|
9233
9890
|
cluster_uri?: string | null;
|
|
9234
9891
|
company_code?: string | null;
|
|
@@ -9240,7 +9897,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
9240
9897
|
is_active?: boolean;
|
|
9241
9898
|
label?: string | null;
|
|
9242
9899
|
office_code?: string | null;
|
|
9243
|
-
redirect_uri
|
|
9900
|
+
redirect_uri: string;
|
|
9244
9901
|
refresh_token?: string | null;
|
|
9245
9902
|
token_expires_at?: string | null;
|
|
9246
9903
|
updated_at?: string;
|
|
@@ -9248,7 +9905,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
9248
9905
|
};
|
|
9249
9906
|
Update: {
|
|
9250
9907
|
access_token?: string | null;
|
|
9251
|
-
client_id?: string
|
|
9908
|
+
client_id?: string;
|
|
9252
9909
|
client_secret?: string | null;
|
|
9253
9910
|
cluster_uri?: string | null;
|
|
9254
9911
|
company_code?: string | null;
|
|
@@ -9260,7 +9917,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
9260
9917
|
is_active?: boolean;
|
|
9261
9918
|
label?: string | null;
|
|
9262
9919
|
office_code?: string | null;
|
|
9263
|
-
redirect_uri?: string
|
|
9920
|
+
redirect_uri?: string;
|
|
9264
9921
|
refresh_token?: string | null;
|
|
9265
9922
|
token_expires_at?: string | null;
|
|
9266
9923
|
updated_at?: string;
|
|
@@ -9320,6 +9977,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
9320
9977
|
country: string | null;
|
|
9321
9978
|
created_at: string;
|
|
9322
9979
|
email: string | null;
|
|
9980
|
+
external_group_key: string | null;
|
|
9323
9981
|
id: string;
|
|
9324
9982
|
last_synced_at: string | null;
|
|
9325
9983
|
name: string;
|
|
@@ -9338,6 +9996,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
9338
9996
|
country?: string | null;
|
|
9339
9997
|
created_at?: string;
|
|
9340
9998
|
email?: string | null;
|
|
9999
|
+
external_group_key?: string | null;
|
|
9341
10000
|
id?: string;
|
|
9342
10001
|
last_synced_at?: string | null;
|
|
9343
10002
|
name: string;
|
|
@@ -9356,6 +10015,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
9356
10015
|
country?: string | null;
|
|
9357
10016
|
created_at?: string;
|
|
9358
10017
|
email?: string | null;
|
|
10018
|
+
external_group_key?: string | null;
|
|
9359
10019
|
id?: string;
|
|
9360
10020
|
last_synced_at?: string | null;
|
|
9361
10021
|
name?: string;
|
|
@@ -9520,6 +10180,8 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
9520
10180
|
twinfield_invoice_settings: {
|
|
9521
10181
|
Row: {
|
|
9522
10182
|
created_at: string;
|
|
10183
|
+
debtor_gl_account: string;
|
|
10184
|
+
default_credit_invoice_type: string | null;
|
|
9523
10185
|
default_gl_account: string;
|
|
9524
10186
|
default_invoice_type: string;
|
|
9525
10187
|
default_payment_term_days: number;
|
|
@@ -9528,11 +10190,15 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
9528
10190
|
invoice_enabled_fo: boolean;
|
|
9529
10191
|
invoice_enabled_ho: boolean;
|
|
9530
10192
|
invoice_enabled_mo: boolean;
|
|
10193
|
+
payment_gl_account: string;
|
|
10194
|
+
payment_journal_code: string;
|
|
9531
10195
|
updated_at: string;
|
|
9532
10196
|
user_id: string;
|
|
9533
10197
|
};
|
|
9534
10198
|
Insert: {
|
|
9535
10199
|
created_at?: string;
|
|
10200
|
+
debtor_gl_account?: string;
|
|
10201
|
+
default_credit_invoice_type?: string | null;
|
|
9536
10202
|
default_gl_account?: string;
|
|
9537
10203
|
default_invoice_type?: string;
|
|
9538
10204
|
default_payment_term_days?: number;
|
|
@@ -9541,11 +10207,15 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
9541
10207
|
invoice_enabled_fo?: boolean;
|
|
9542
10208
|
invoice_enabled_ho?: boolean;
|
|
9543
10209
|
invoice_enabled_mo?: boolean;
|
|
10210
|
+
payment_gl_account?: string;
|
|
10211
|
+
payment_journal_code?: string;
|
|
9544
10212
|
updated_at?: string;
|
|
9545
10213
|
user_id: string;
|
|
9546
10214
|
};
|
|
9547
10215
|
Update: {
|
|
9548
10216
|
created_at?: string;
|
|
10217
|
+
debtor_gl_account?: string;
|
|
10218
|
+
default_credit_invoice_type?: string | null;
|
|
9549
10219
|
default_gl_account?: string;
|
|
9550
10220
|
default_invoice_type?: string;
|
|
9551
10221
|
default_payment_term_days?: number;
|
|
@@ -9554,6 +10224,8 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
9554
10224
|
invoice_enabled_fo?: boolean;
|
|
9555
10225
|
invoice_enabled_ho?: boolean;
|
|
9556
10226
|
invoice_enabled_mo?: boolean;
|
|
10227
|
+
payment_gl_account?: string;
|
|
10228
|
+
payment_journal_code?: string;
|
|
9557
10229
|
updated_at?: string;
|
|
9558
10230
|
user_id?: string;
|
|
9559
10231
|
};
|
|
@@ -9774,43 +10446,49 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
9774
10446
|
};
|
|
9775
10447
|
twinfield_push_queue: {
|
|
9776
10448
|
Row: {
|
|
10449
|
+
action: string;
|
|
9777
10450
|
attempts: number;
|
|
9778
10451
|
connection_id: string;
|
|
9779
10452
|
created_at: string;
|
|
10453
|
+
customer_id: string | null;
|
|
9780
10454
|
external_id: string | null;
|
|
9781
10455
|
id: string;
|
|
9782
10456
|
idempotency_key: string;
|
|
9783
10457
|
last_error: string | null;
|
|
9784
10458
|
next_attempt_at: string;
|
|
9785
|
-
office_code: string;
|
|
10459
|
+
office_code: string | null;
|
|
9786
10460
|
payload: import("../integrations/supabase/types").Json;
|
|
9787
10461
|
status: string;
|
|
9788
10462
|
updated_at: string;
|
|
9789
10463
|
};
|
|
9790
10464
|
Insert: {
|
|
10465
|
+
action?: string;
|
|
9791
10466
|
attempts?: number;
|
|
9792
10467
|
connection_id: string;
|
|
9793
10468
|
created_at?: string;
|
|
10469
|
+
customer_id?: string | null;
|
|
9794
10470
|
external_id?: string | null;
|
|
9795
10471
|
id?: string;
|
|
9796
10472
|
idempotency_key: string;
|
|
9797
10473
|
last_error?: string | null;
|
|
9798
10474
|
next_attempt_at?: string;
|
|
9799
|
-
office_code
|
|
10475
|
+
office_code?: string | null;
|
|
9800
10476
|
payload: import("../integrations/supabase/types").Json;
|
|
9801
10477
|
status?: string;
|
|
9802
10478
|
updated_at?: string;
|
|
9803
10479
|
};
|
|
9804
10480
|
Update: {
|
|
10481
|
+
action?: string;
|
|
9805
10482
|
attempts?: number;
|
|
9806
10483
|
connection_id?: string;
|
|
9807
10484
|
created_at?: string;
|
|
10485
|
+
customer_id?: string | null;
|
|
9808
10486
|
external_id?: string | null;
|
|
9809
10487
|
id?: string;
|
|
9810
10488
|
idempotency_key?: string;
|
|
9811
10489
|
last_error?: string | null;
|
|
9812
10490
|
next_attempt_at?: string;
|
|
9813
|
-
office_code?: string;
|
|
10491
|
+
office_code?: string | null;
|
|
9814
10492
|
payload?: import("../integrations/supabase/types").Json;
|
|
9815
10493
|
status?: string;
|
|
9816
10494
|
updated_at?: string;
|
|
@@ -9821,6 +10499,12 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
9821
10499
|
isOneToOne: false;
|
|
9822
10500
|
referencedRelation: "twinfield_connections";
|
|
9823
10501
|
referencedColumns: ["id"];
|
|
10502
|
+
}, {
|
|
10503
|
+
foreignKeyName: "twinfield_push_queue_customer_id_fkey";
|
|
10504
|
+
columns: ["customer_id"];
|
|
10505
|
+
isOneToOne: false;
|
|
10506
|
+
referencedRelation: "customers";
|
|
10507
|
+
referencedColumns: ["id"];
|
|
9824
10508
|
}];
|
|
9825
10509
|
};
|
|
9826
10510
|
twinfield_request_metrics: {
|
|
@@ -10029,72 +10713,318 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
10029
10713
|
size_bytes?: number | null;
|
|
10030
10714
|
};
|
|
10031
10715
|
Update: {
|
|
10032
|
-
action?: string;
|
|
10033
|
-
attempt_number?: number;
|
|
10034
|
-
caller?: string;
|
|
10035
|
-
client_user_id?: string | null;
|
|
10036
|
-
content_type?: string | null;
|
|
10716
|
+
action?: string;
|
|
10717
|
+
attempt_number?: number;
|
|
10718
|
+
caller?: string;
|
|
10719
|
+
client_user_id?: string | null;
|
|
10720
|
+
content_type?: string | null;
|
|
10721
|
+
created_at?: string;
|
|
10722
|
+
environment?: string;
|
|
10723
|
+
error_message?: string | null;
|
|
10724
|
+
filename?: string | null;
|
|
10725
|
+
id?: string;
|
|
10726
|
+
idempotency_key?: string | null;
|
|
10727
|
+
module?: string;
|
|
10728
|
+
path?: string;
|
|
10729
|
+
reference_id?: string | null;
|
|
10730
|
+
request_body_hash?: string | null;
|
|
10731
|
+
request_timestamp?: number | null;
|
|
10732
|
+
response_content_type?: string | null;
|
|
10733
|
+
response_status?: number | null;
|
|
10734
|
+
size_bytes?: number | null;
|
|
10735
|
+
};
|
|
10736
|
+
Relationships: [];
|
|
10737
|
+
};
|
|
10738
|
+
voorraad_publish_attempts: {
|
|
10739
|
+
Row: {
|
|
10740
|
+
action: string;
|
|
10741
|
+
connection_id: string | null;
|
|
10742
|
+
created_at: string;
|
|
10743
|
+
error: string | null;
|
|
10744
|
+
gateway_attempt_id: string | null;
|
|
10745
|
+
gateway_status: number | null;
|
|
10746
|
+
id: string;
|
|
10747
|
+
intent: string;
|
|
10748
|
+
ok: boolean;
|
|
10749
|
+
request_summary: import("../integrations/supabase/types").Json | null;
|
|
10750
|
+
trade_item_id: string | null;
|
|
10751
|
+
user_id: string;
|
|
10752
|
+
};
|
|
10753
|
+
Insert: {
|
|
10754
|
+
action: string;
|
|
10755
|
+
connection_id?: string | null;
|
|
10756
|
+
created_at?: string;
|
|
10757
|
+
error?: string | null;
|
|
10758
|
+
gateway_attempt_id?: string | null;
|
|
10759
|
+
gateway_status?: number | null;
|
|
10760
|
+
id?: string;
|
|
10761
|
+
intent: string;
|
|
10762
|
+
ok: boolean;
|
|
10763
|
+
request_summary?: import("../integrations/supabase/types").Json | null;
|
|
10764
|
+
trade_item_id?: string | null;
|
|
10765
|
+
user_id: string;
|
|
10766
|
+
};
|
|
10767
|
+
Update: {
|
|
10768
|
+
action?: string;
|
|
10769
|
+
connection_id?: string | null;
|
|
10770
|
+
created_at?: string;
|
|
10771
|
+
error?: string | null;
|
|
10772
|
+
gateway_attempt_id?: string | null;
|
|
10773
|
+
gateway_status?: number | null;
|
|
10774
|
+
id?: string;
|
|
10775
|
+
intent?: string;
|
|
10776
|
+
ok?: boolean;
|
|
10777
|
+
request_summary?: import("../integrations/supabase/types").Json | null;
|
|
10778
|
+
trade_item_id?: string | null;
|
|
10779
|
+
user_id?: string;
|
|
10780
|
+
};
|
|
10781
|
+
Relationships: [];
|
|
10782
|
+
};
|
|
10783
|
+
werkbon_package_lines: {
|
|
10784
|
+
Row: {
|
|
10785
|
+
created_at: string;
|
|
10786
|
+
created_by: string | null;
|
|
10787
|
+
id: string;
|
|
10788
|
+
package_id: string;
|
|
10789
|
+
quantity: number;
|
|
10790
|
+
unit_price_cents_snapshot: number;
|
|
10791
|
+
werkbon_id: string;
|
|
10792
|
+
};
|
|
10793
|
+
Insert: {
|
|
10794
|
+
created_at?: string;
|
|
10795
|
+
created_by?: string | null;
|
|
10796
|
+
id?: string;
|
|
10797
|
+
package_id: string;
|
|
10798
|
+
quantity?: number;
|
|
10799
|
+
unit_price_cents_snapshot?: number;
|
|
10800
|
+
werkbon_id: string;
|
|
10801
|
+
};
|
|
10802
|
+
Update: {
|
|
10803
|
+
created_at?: string;
|
|
10804
|
+
created_by?: string | null;
|
|
10805
|
+
id?: string;
|
|
10806
|
+
package_id?: string;
|
|
10807
|
+
quantity?: number;
|
|
10808
|
+
unit_price_cents_snapshot?: number;
|
|
10809
|
+
werkbon_id?: string;
|
|
10810
|
+
};
|
|
10811
|
+
Relationships: [{
|
|
10812
|
+
foreignKeyName: "werkbon_package_lines_package_id_fkey";
|
|
10813
|
+
columns: ["package_id"];
|
|
10814
|
+
isOneToOne: false;
|
|
10815
|
+
referencedRelation: "werkbon_packages";
|
|
10816
|
+
referencedColumns: ["id"];
|
|
10817
|
+
}, {
|
|
10818
|
+
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
10819
|
+
columns: ["werkbon_id"];
|
|
10820
|
+
isOneToOne: false;
|
|
10821
|
+
referencedRelation: "werkbonnen";
|
|
10822
|
+
referencedColumns: ["id"];
|
|
10823
|
+
}];
|
|
10824
|
+
};
|
|
10825
|
+
werkbon_packages: {
|
|
10826
|
+
Row: {
|
|
10827
|
+
active: boolean;
|
|
10828
|
+
code: string;
|
|
10829
|
+
created_at: string;
|
|
10830
|
+
default_quantity: number;
|
|
10831
|
+
description: string | null;
|
|
10832
|
+
id: string;
|
|
10833
|
+
name: string;
|
|
10834
|
+
unit_price_cents: number;
|
|
10835
|
+
updated_at: string;
|
|
10836
|
+
};
|
|
10837
|
+
Insert: {
|
|
10838
|
+
active?: boolean;
|
|
10839
|
+
code: string;
|
|
10840
|
+
created_at?: string;
|
|
10841
|
+
default_quantity?: number;
|
|
10842
|
+
description?: string | null;
|
|
10843
|
+
id?: string;
|
|
10844
|
+
name: string;
|
|
10845
|
+
unit_price_cents?: number;
|
|
10846
|
+
updated_at?: string;
|
|
10847
|
+
};
|
|
10848
|
+
Update: {
|
|
10849
|
+
active?: boolean;
|
|
10850
|
+
code?: string;
|
|
10851
|
+
created_at?: string;
|
|
10852
|
+
default_quantity?: number;
|
|
10853
|
+
description?: string | null;
|
|
10854
|
+
id?: string;
|
|
10855
|
+
name?: string;
|
|
10856
|
+
unit_price_cents?: number;
|
|
10857
|
+
updated_at?: string;
|
|
10858
|
+
};
|
|
10859
|
+
Relationships: [];
|
|
10860
|
+
};
|
|
10861
|
+
werkbon_photos: {
|
|
10862
|
+
Row: {
|
|
10863
|
+
created_at: string;
|
|
10864
|
+
id: string;
|
|
10865
|
+
storage_path: string;
|
|
10866
|
+
user_id: string;
|
|
10867
|
+
werkbon_id: string;
|
|
10868
|
+
};
|
|
10869
|
+
Insert: {
|
|
10870
|
+
created_at?: string;
|
|
10871
|
+
id?: string;
|
|
10872
|
+
storage_path: string;
|
|
10873
|
+
user_id: string;
|
|
10874
|
+
werkbon_id: string;
|
|
10875
|
+
};
|
|
10876
|
+
Update: {
|
|
10877
|
+
created_at?: string;
|
|
10878
|
+
id?: string;
|
|
10879
|
+
storage_path?: string;
|
|
10880
|
+
user_id?: string;
|
|
10881
|
+
werkbon_id?: string;
|
|
10882
|
+
};
|
|
10883
|
+
Relationships: [{
|
|
10884
|
+
foreignKeyName: "werkbon_photos_werkbon_id_fkey";
|
|
10885
|
+
columns: ["werkbon_id"];
|
|
10886
|
+
isOneToOne: false;
|
|
10887
|
+
referencedRelation: "werkbonnen";
|
|
10888
|
+
referencedColumns: ["id"];
|
|
10889
|
+
}];
|
|
10890
|
+
};
|
|
10891
|
+
werkbon_time_logs: {
|
|
10892
|
+
Row: {
|
|
10893
|
+
activity: string;
|
|
10894
|
+
created_at: string;
|
|
10895
|
+
ended_at: string | null;
|
|
10896
|
+
id: string;
|
|
10897
|
+
started_at: string;
|
|
10898
|
+
user_id: string;
|
|
10899
|
+
werkbon_id: string;
|
|
10900
|
+
};
|
|
10901
|
+
Insert: {
|
|
10902
|
+
activity: string;
|
|
10903
|
+
created_at?: string;
|
|
10904
|
+
ended_at?: string | null;
|
|
10905
|
+
id?: string;
|
|
10906
|
+
started_at?: string;
|
|
10907
|
+
user_id: string;
|
|
10908
|
+
werkbon_id: string;
|
|
10909
|
+
};
|
|
10910
|
+
Update: {
|
|
10911
|
+
activity?: string;
|
|
10037
10912
|
created_at?: string;
|
|
10038
|
-
|
|
10039
|
-
error_message?: string | null;
|
|
10040
|
-
filename?: string | null;
|
|
10913
|
+
ended_at?: string | null;
|
|
10041
10914
|
id?: string;
|
|
10042
|
-
|
|
10043
|
-
|
|
10044
|
-
|
|
10045
|
-
reference_id?: string | null;
|
|
10046
|
-
request_body_hash?: string | null;
|
|
10047
|
-
request_timestamp?: number | null;
|
|
10048
|
-
response_content_type?: string | null;
|
|
10049
|
-
response_status?: number | null;
|
|
10050
|
-
size_bytes?: number | null;
|
|
10915
|
+
started_at?: string;
|
|
10916
|
+
user_id?: string;
|
|
10917
|
+
werkbon_id?: string;
|
|
10051
10918
|
};
|
|
10052
|
-
Relationships: [
|
|
10919
|
+
Relationships: [{
|
|
10920
|
+
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
10921
|
+
columns: ["werkbon_id"];
|
|
10922
|
+
isOneToOne: false;
|
|
10923
|
+
referencedRelation: "werkbonnen";
|
|
10924
|
+
referencedColumns: ["id"];
|
|
10925
|
+
}];
|
|
10053
10926
|
};
|
|
10054
|
-
|
|
10927
|
+
werkbonnen: {
|
|
10055
10928
|
Row: {
|
|
10056
|
-
|
|
10057
|
-
|
|
10929
|
+
assigned_user_id: string | null;
|
|
10930
|
+
budget_mandate_cents: number;
|
|
10931
|
+
complaint_description: string | null;
|
|
10058
10932
|
created_at: string;
|
|
10059
|
-
|
|
10060
|
-
|
|
10061
|
-
|
|
10933
|
+
created_by: string | null;
|
|
10934
|
+
customer_id: string | null;
|
|
10935
|
+
externe_referentie: string | null;
|
|
10936
|
+
first_time_fix: boolean | null;
|
|
10062
10937
|
id: string;
|
|
10063
|
-
|
|
10064
|
-
|
|
10065
|
-
|
|
10066
|
-
|
|
10067
|
-
|
|
10938
|
+
internal_notes: string | null;
|
|
10939
|
+
parent_werkbon_id: string | null;
|
|
10940
|
+
parsed_payload: import("../integrations/supabase/types").Json | null;
|
|
10941
|
+
planning_status: string;
|
|
10942
|
+
project_number: string | null;
|
|
10943
|
+
room_number: string | null;
|
|
10944
|
+
scheduled_end_time: string | null;
|
|
10945
|
+
scheduled_start_time: string | null;
|
|
10946
|
+
sequence_number: number;
|
|
10947
|
+
source_pdf_path: string | null;
|
|
10948
|
+
status: string;
|
|
10949
|
+
technician_id: string | null;
|
|
10950
|
+
technician_notes: string | null;
|
|
10951
|
+
technician_notes_raw: string | null;
|
|
10952
|
+
technician_task_description: string | null;
|
|
10953
|
+
updated_at: string;
|
|
10954
|
+
version: number;
|
|
10955
|
+
work_address: string | null;
|
|
10068
10956
|
};
|
|
10069
10957
|
Insert: {
|
|
10070
|
-
|
|
10071
|
-
|
|
10958
|
+
assigned_user_id?: string | null;
|
|
10959
|
+
budget_mandate_cents?: number;
|
|
10960
|
+
complaint_description?: string | null;
|
|
10072
10961
|
created_at?: string;
|
|
10073
|
-
|
|
10074
|
-
|
|
10075
|
-
|
|
10962
|
+
created_by?: string | null;
|
|
10963
|
+
customer_id?: string | null;
|
|
10964
|
+
externe_referentie?: string | null;
|
|
10965
|
+
first_time_fix?: boolean | null;
|
|
10076
10966
|
id?: string;
|
|
10077
|
-
|
|
10078
|
-
|
|
10079
|
-
|
|
10080
|
-
|
|
10081
|
-
|
|
10967
|
+
internal_notes?: string | null;
|
|
10968
|
+
parent_werkbon_id?: string | null;
|
|
10969
|
+
parsed_payload?: import("../integrations/supabase/types").Json | null;
|
|
10970
|
+
planning_status?: string;
|
|
10971
|
+
project_number?: string | null;
|
|
10972
|
+
room_number?: string | null;
|
|
10973
|
+
scheduled_end_time?: string | null;
|
|
10974
|
+
scheduled_start_time?: string | null;
|
|
10975
|
+
sequence_number: number;
|
|
10976
|
+
source_pdf_path?: string | null;
|
|
10977
|
+
status?: string;
|
|
10978
|
+
technician_id?: string | null;
|
|
10979
|
+
technician_notes?: string | null;
|
|
10980
|
+
technician_notes_raw?: string | null;
|
|
10981
|
+
technician_task_description?: string | null;
|
|
10982
|
+
updated_at?: string;
|
|
10983
|
+
version?: number;
|
|
10984
|
+
work_address?: string | null;
|
|
10082
10985
|
};
|
|
10083
10986
|
Update: {
|
|
10084
|
-
|
|
10085
|
-
|
|
10987
|
+
assigned_user_id?: string | null;
|
|
10988
|
+
budget_mandate_cents?: number;
|
|
10989
|
+
complaint_description?: string | null;
|
|
10086
10990
|
created_at?: string;
|
|
10087
|
-
|
|
10088
|
-
|
|
10089
|
-
|
|
10991
|
+
created_by?: string | null;
|
|
10992
|
+
customer_id?: string | null;
|
|
10993
|
+
externe_referentie?: string | null;
|
|
10994
|
+
first_time_fix?: boolean | null;
|
|
10090
10995
|
id?: string;
|
|
10091
|
-
|
|
10092
|
-
|
|
10093
|
-
|
|
10094
|
-
|
|
10095
|
-
|
|
10996
|
+
internal_notes?: string | null;
|
|
10997
|
+
parent_werkbon_id?: string | null;
|
|
10998
|
+
parsed_payload?: import("../integrations/supabase/types").Json | null;
|
|
10999
|
+
planning_status?: string;
|
|
11000
|
+
project_number?: string | null;
|
|
11001
|
+
room_number?: string | null;
|
|
11002
|
+
scheduled_end_time?: string | null;
|
|
11003
|
+
scheduled_start_time?: string | null;
|
|
11004
|
+
sequence_number?: number;
|
|
11005
|
+
source_pdf_path?: string | null;
|
|
11006
|
+
status?: string;
|
|
11007
|
+
technician_id?: string | null;
|
|
11008
|
+
technician_notes?: string | null;
|
|
11009
|
+
technician_notes_raw?: string | null;
|
|
11010
|
+
technician_task_description?: string | null;
|
|
11011
|
+
updated_at?: string;
|
|
11012
|
+
version?: number;
|
|
11013
|
+
work_address?: string | null;
|
|
10096
11014
|
};
|
|
10097
|
-
Relationships: [
|
|
11015
|
+
Relationships: [{
|
|
11016
|
+
foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
|
|
11017
|
+
columns: ["parent_werkbon_id"];
|
|
11018
|
+
isOneToOne: false;
|
|
11019
|
+
referencedRelation: "werkbonnen";
|
|
11020
|
+
referencedColumns: ["id"];
|
|
11021
|
+
}, {
|
|
11022
|
+
foreignKeyName: "werkbonnen_technician_id_fkey";
|
|
11023
|
+
columns: ["technician_id"];
|
|
11024
|
+
isOneToOne: false;
|
|
11025
|
+
referencedRelation: "monteurs";
|
|
11026
|
+
referencedColumns: ["id"];
|
|
11027
|
+
}];
|
|
10098
11028
|
};
|
|
10099
11029
|
work_order_monteurs: {
|
|
10100
11030
|
Row: {
|
|
@@ -10266,6 +11196,8 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
10266
11196
|
created_at: string | null;
|
|
10267
11197
|
created_by: string | null;
|
|
10268
11198
|
display_name: string | null;
|
|
11199
|
+
graph_subscription_expires_at: string | null;
|
|
11200
|
+
graph_subscription_id: string | null;
|
|
10269
11201
|
has_access_token: boolean | null;
|
|
10270
11202
|
has_client_id: boolean | null;
|
|
10271
11203
|
has_client_secret: boolean | null;
|
|
@@ -10283,6 +11215,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
10283
11215
|
oauth_mode: string | null;
|
|
10284
11216
|
provider: string | null;
|
|
10285
11217
|
purpose_assignments: import("../integrations/supabase/types").Json | null;
|
|
11218
|
+
realtime_mode: string | null;
|
|
10286
11219
|
scopes: string[] | null;
|
|
10287
11220
|
smtp_host: string | null;
|
|
10288
11221
|
smtp_port: number | null;
|
|
@@ -10297,6 +11230,8 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
10297
11230
|
created_at?: string | null;
|
|
10298
11231
|
created_by?: string | null;
|
|
10299
11232
|
display_name?: string | null;
|
|
11233
|
+
graph_subscription_expires_at?: string | null;
|
|
11234
|
+
graph_subscription_id?: string | null;
|
|
10300
11235
|
has_access_token?: never;
|
|
10301
11236
|
has_client_id?: never;
|
|
10302
11237
|
has_client_secret?: never;
|
|
@@ -10314,6 +11249,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
10314
11249
|
oauth_mode?: string | null;
|
|
10315
11250
|
provider?: string | null;
|
|
10316
11251
|
purpose_assignments?: import("../integrations/supabase/types").Json | null;
|
|
11252
|
+
realtime_mode?: string | null;
|
|
10317
11253
|
scopes?: string[] | null;
|
|
10318
11254
|
smtp_host?: string | null;
|
|
10319
11255
|
smtp_port?: number | null;
|
|
@@ -10328,6 +11264,8 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
10328
11264
|
created_at?: string | null;
|
|
10329
11265
|
created_by?: string | null;
|
|
10330
11266
|
display_name?: string | null;
|
|
11267
|
+
graph_subscription_expires_at?: string | null;
|
|
11268
|
+
graph_subscription_id?: string | null;
|
|
10331
11269
|
has_access_token?: never;
|
|
10332
11270
|
has_client_id?: never;
|
|
10333
11271
|
has_client_secret?: never;
|
|
@@ -10345,6 +11283,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
10345
11283
|
oauth_mode?: string | null;
|
|
10346
11284
|
provider?: string | null;
|
|
10347
11285
|
purpose_assignments?: import("../integrations/supabase/types").Json | null;
|
|
11286
|
+
realtime_mode?: string | null;
|
|
10348
11287
|
scopes?: string[] | null;
|
|
10349
11288
|
smtp_host?: string | null;
|
|
10350
11289
|
smtp_port?: number | null;
|
|
@@ -10455,6 +11394,25 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
10455
11394
|
};
|
|
10456
11395
|
Relationships: [];
|
|
10457
11396
|
};
|
|
11397
|
+
floriday_customer_discounts: {
|
|
11398
|
+
Row: {
|
|
11399
|
+
base_price: number | null;
|
|
11400
|
+
buyer_organization_id: string | null;
|
|
11401
|
+
currency: string | null;
|
|
11402
|
+
discount_type: string | null;
|
|
11403
|
+
discount_value: number | null;
|
|
11404
|
+
min_quantity: number | null;
|
|
11405
|
+
net_price: number | null;
|
|
11406
|
+
product_group_id: string | null;
|
|
11407
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
11408
|
+
source: string | null;
|
|
11409
|
+
source_id: string | null;
|
|
11410
|
+
trade_item_id: string | null;
|
|
11411
|
+
valid_from: string | null;
|
|
11412
|
+
valid_until: string | null;
|
|
11413
|
+
};
|
|
11414
|
+
Relationships: [];
|
|
11415
|
+
};
|
|
10458
11416
|
local_customer_discounts: {
|
|
10459
11417
|
Row: {
|
|
10460
11418
|
base_price: number | null;
|
|
@@ -10758,13 +11716,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
10758
11716
|
};
|
|
10759
11717
|
Returns: number;
|
|
10760
11718
|
};
|
|
10761
|
-
_migrate_rewrite_stock_key: {
|
|
10762
|
-
Args: {
|
|
10763
|
-
_from_key: string;
|
|
10764
|
-
_to_key: string;
|
|
10765
|
-
};
|
|
10766
|
-
Returns: undefined;
|
|
10767
|
-
};
|
|
10768
11719
|
afh_city_code: {
|
|
10769
11720
|
Args: {
|
|
10770
11721
|
_city: string;
|
|
@@ -10876,31 +11827,36 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
10876
11827
|
};
|
|
10877
11828
|
Returns: import("../integrations/supabase/types").Json;
|
|
10878
11829
|
};
|
|
10879
|
-
|
|
10880
|
-
Args: never;
|
|
10881
|
-
Returns: undefined;
|
|
10882
|
-
};
|
|
10883
|
-
consume_bom_for_production: {
|
|
11830
|
+
claim_twinfield_push_batch: {
|
|
10884
11831
|
Args: {
|
|
10885
|
-
|
|
10886
|
-
p_parent_id: string;
|
|
10887
|
-
p_parent_key: string;
|
|
10888
|
-
p_parent_kind: string;
|
|
10889
|
-
p_quantity: number;
|
|
10890
|
-
p_user_id: string;
|
|
11832
|
+
_limit?: number;
|
|
10891
11833
|
};
|
|
10892
|
-
Returns:
|
|
10893
|
-
|
|
10894
|
-
|
|
10895
|
-
|
|
10896
|
-
|
|
10897
|
-
|
|
10898
|
-
|
|
10899
|
-
|
|
10900
|
-
|
|
10901
|
-
|
|
11834
|
+
Returns: {
|
|
11835
|
+
action: string;
|
|
11836
|
+
attempts: number;
|
|
11837
|
+
connection_id: string;
|
|
11838
|
+
created_at: string;
|
|
11839
|
+
customer_id: string | null;
|
|
11840
|
+
external_id: string | null;
|
|
11841
|
+
id: string;
|
|
11842
|
+
idempotency_key: string;
|
|
11843
|
+
last_error: string | null;
|
|
11844
|
+
next_attempt_at: string;
|
|
11845
|
+
office_code: string | null;
|
|
11846
|
+
payload: import("../integrations/supabase/types").Json;
|
|
11847
|
+
status: string;
|
|
11848
|
+
updated_at: string;
|
|
11849
|
+
}[];
|
|
11850
|
+
SetofOptions: {
|
|
11851
|
+
from: "*";
|
|
11852
|
+
to: "twinfield_push_queue";
|
|
11853
|
+
isOneToOne: false;
|
|
11854
|
+
isSetofReturn: true;
|
|
10902
11855
|
};
|
|
10903
|
-
|
|
11856
|
+
};
|
|
11857
|
+
cleanup_old_bookings: {
|
|
11858
|
+
Args: never;
|
|
11859
|
+
Returns: undefined;
|
|
10904
11860
|
};
|
|
10905
11861
|
consume_floriday_rate_limit: {
|
|
10906
11862
|
Args: {
|
|
@@ -10953,13 +11909,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
10953
11909
|
table_name: string;
|
|
10954
11910
|
}[];
|
|
10955
11911
|
};
|
|
10956
|
-
delete_samenstelling: {
|
|
10957
|
-
Args: {
|
|
10958
|
-
p_parent_id: string;
|
|
10959
|
-
p_parent_kind: string;
|
|
10960
|
-
};
|
|
10961
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
10962
|
-
};
|
|
10963
11912
|
dispatch_carrier_signups_sql: {
|
|
10964
11913
|
Args: {
|
|
10965
11914
|
_catchup?: string;
|
|
@@ -11001,6 +11950,16 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
11001
11950
|
status: string;
|
|
11002
11951
|
}[];
|
|
11003
11952
|
};
|
|
11953
|
+
email_auth_upsert_connection: {
|
|
11954
|
+
Args: {
|
|
11955
|
+
_account_email: string;
|
|
11956
|
+
_created_by: string;
|
|
11957
|
+
_is_active: boolean;
|
|
11958
|
+
_provider: string;
|
|
11959
|
+
_status: string;
|
|
11960
|
+
};
|
|
11961
|
+
Returns: string;
|
|
11962
|
+
};
|
|
11004
11963
|
enqueue_cart_replan_if_unlocked: {
|
|
11005
11964
|
Args: {
|
|
11006
11965
|
p_order_id: string;
|
|
@@ -11120,6 +12079,19 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
11120
12079
|
resource: string;
|
|
11121
12080
|
}[];
|
|
11122
12081
|
};
|
|
12082
|
+
get_floriday_agreements_active: {
|
|
12083
|
+
Args: {
|
|
12084
|
+
p_on_date?: string;
|
|
12085
|
+
};
|
|
12086
|
+
Returns: {
|
|
12087
|
+
buyer_organization_id: string;
|
|
12088
|
+
data: import("../integrations/supabase/types").Json;
|
|
12089
|
+
floriday_id: string;
|
|
12090
|
+
status: string;
|
|
12091
|
+
valid_from: string;
|
|
12092
|
+
valid_until: string;
|
|
12093
|
+
}[];
|
|
12094
|
+
};
|
|
11123
12095
|
get_floriday_clock_supplies_window: {
|
|
11124
12096
|
Args: {
|
|
11125
12097
|
p_from: string;
|
|
@@ -11192,21 +12164,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
11192
12164
|
minutes_since_success: number;
|
|
11193
12165
|
}[];
|
|
11194
12166
|
};
|
|
11195
|
-
get_group_allocation_keys: {
|
|
11196
|
-
Args: {
|
|
11197
|
-
p_product_id: string;
|
|
11198
|
-
};
|
|
11199
|
-
Returns: {
|
|
11200
|
-
k: string;
|
|
11201
|
-
ord: number;
|
|
11202
|
-
}[];
|
|
11203
|
-
};
|
|
11204
|
-
get_group_head_key: {
|
|
11205
|
-
Args: {
|
|
11206
|
-
p_group_id: string;
|
|
11207
|
-
};
|
|
11208
|
-
Returns: string;
|
|
11209
|
-
};
|
|
11210
12167
|
get_offer_by_link_code: {
|
|
11211
12168
|
Args: {
|
|
11212
12169
|
p_code: string;
|
|
@@ -11268,6 +12225,14 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
11268
12225
|
};
|
|
11269
12226
|
Returns: string;
|
|
11270
12227
|
};
|
|
12228
|
+
has_module_permission: {
|
|
12229
|
+
Args: {
|
|
12230
|
+
_min: string;
|
|
12231
|
+
_module_id: string;
|
|
12232
|
+
_user_id: string;
|
|
12233
|
+
};
|
|
12234
|
+
Returns: boolean;
|
|
12235
|
+
};
|
|
11271
12236
|
has_role: {
|
|
11272
12237
|
Args: {
|
|
11273
12238
|
_role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
@@ -11275,6 +12240,10 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
11275
12240
|
};
|
|
11276
12241
|
Returns: boolean;
|
|
11277
12242
|
};
|
|
12243
|
+
has_twinfield_link: {
|
|
12244
|
+
Args: never;
|
|
12245
|
+
Returns: boolean;
|
|
12246
|
+
};
|
|
11278
12247
|
is_authenticated: {
|
|
11279
12248
|
Args: never;
|
|
11280
12249
|
Returns: boolean;
|
|
@@ -11289,6 +12258,14 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
11289
12258
|
};
|
|
11290
12259
|
Returns: boolean;
|
|
11291
12260
|
};
|
|
12261
|
+
list_monteurs: {
|
|
12262
|
+
Args: never;
|
|
12263
|
+
Returns: {
|
|
12264
|
+
display_name: string;
|
|
12265
|
+
email: string;
|
|
12266
|
+
user_id: string;
|
|
12267
|
+
}[];
|
|
12268
|
+
};
|
|
11292
12269
|
local_effective_price: {
|
|
11293
12270
|
Args: {
|
|
11294
12271
|
_customer_id: string;
|
|
@@ -11317,32 +12294,12 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
11317
12294
|
};
|
|
11318
12295
|
Returns: undefined;
|
|
11319
12296
|
};
|
|
11320
|
-
mark_salesorder_controlled: {
|
|
11321
|
-
Args: {
|
|
11322
|
-
p_controlled: boolean;
|
|
11323
|
-
p_floriday_id: string;
|
|
11324
|
-
};
|
|
11325
|
-
Returns: undefined;
|
|
11326
|
-
};
|
|
11327
12297
|
mark_shipment_shipped: {
|
|
11328
12298
|
Args: {
|
|
11329
12299
|
p_shipment_id: string;
|
|
11330
12300
|
};
|
|
11331
12301
|
Returns: undefined;
|
|
11332
12302
|
};
|
|
11333
|
-
merge_products: {
|
|
11334
|
-
Args: {
|
|
11335
|
-
_canonical: string;
|
|
11336
|
-
_loser: string;
|
|
11337
|
-
};
|
|
11338
|
-
Returns: undefined;
|
|
11339
|
-
};
|
|
11340
|
-
next_manufacture_partij: {
|
|
11341
|
-
Args: {
|
|
11342
|
-
_tenant_id: string;
|
|
11343
|
-
};
|
|
11344
|
-
Returns: string;
|
|
11345
|
-
};
|
|
11346
12303
|
next_order_number: {
|
|
11347
12304
|
Args: {
|
|
11348
12305
|
p_prefix: string;
|
|
@@ -11356,6 +12313,10 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
11356
12313
|
};
|
|
11357
12314
|
Returns: string;
|
|
11358
12315
|
};
|
|
12316
|
+
next_twinfield_code: {
|
|
12317
|
+
Args: never;
|
|
12318
|
+
Returns: string;
|
|
12319
|
+
};
|
|
11359
12320
|
next_work_order_number: {
|
|
11360
12321
|
Args: {
|
|
11361
12322
|
p_parent_work_order_id?: string;
|
|
@@ -11421,14 +12382,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
11421
12382
|
};
|
|
11422
12383
|
Returns: undefined;
|
|
11423
12384
|
};
|
|
11424
|
-
produce_designed_product: {
|
|
11425
|
-
Args: {
|
|
11426
|
-
p_parent_id: string;
|
|
11427
|
-
p_parent_kind: string;
|
|
11428
|
-
p_quantity: number;
|
|
11429
|
-
};
|
|
11430
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
11431
|
-
};
|
|
11432
12385
|
promote_trade_item_key: {
|
|
11433
12386
|
Args: {
|
|
11434
12387
|
p_new: string;
|
|
@@ -11436,10 +12389,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
11436
12389
|
};
|
|
11437
12390
|
Returns: undefined;
|
|
11438
12391
|
};
|
|
11439
|
-
recompute_all_reserved_stock: {
|
|
11440
|
-
Args: never;
|
|
11441
|
-
Returns: undefined;
|
|
11442
|
-
};
|
|
11443
12392
|
recompute_order_status: {
|
|
11444
12393
|
Args: {
|
|
11445
12394
|
p_order_id: string;
|
|
@@ -11482,52 +12431,46 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
11482
12431
|
};
|
|
11483
12432
|
Returns: number;
|
|
11484
12433
|
};
|
|
11485
|
-
|
|
12434
|
+
reorder_customer_price_groups: {
|
|
11486
12435
|
Args: {
|
|
11487
|
-
|
|
11488
|
-
p_entity_type: string;
|
|
12436
|
+
_ids: string[];
|
|
11489
12437
|
};
|
|
11490
12438
|
Returns: undefined;
|
|
11491
12439
|
};
|
|
11492
|
-
|
|
12440
|
+
reset_floriday_sync_cursor: {
|
|
11493
12441
|
Args: {
|
|
11494
|
-
|
|
11495
|
-
|
|
12442
|
+
p_connection_id: string;
|
|
12443
|
+
p_entity_type: string;
|
|
11496
12444
|
};
|
|
11497
|
-
Returns:
|
|
11498
|
-
allocated: number;
|
|
11499
|
-
trade_item_id: string;
|
|
11500
|
-
}[];
|
|
12445
|
+
Returns: undefined;
|
|
11501
12446
|
};
|
|
11502
|
-
|
|
12447
|
+
resolve_product_id_for_item: {
|
|
11503
12448
|
Args: {
|
|
11504
|
-
|
|
12449
|
+
p_product_name: string;
|
|
11505
12450
|
};
|
|
11506
12451
|
Returns: string;
|
|
11507
12452
|
};
|
|
11508
|
-
|
|
12453
|
+
retry_twinfield_push: {
|
|
11509
12454
|
Args: {
|
|
11510
|
-
|
|
12455
|
+
_customer_id: string;
|
|
11511
12456
|
};
|
|
11512
|
-
Returns:
|
|
12457
|
+
Returns: number;
|
|
11513
12458
|
};
|
|
11514
|
-
|
|
12459
|
+
schedule_floriday_additional_services_sync: {
|
|
11515
12460
|
Args: {
|
|
11516
|
-
|
|
12461
|
+
p_apikey: string;
|
|
12462
|
+
p_url: string;
|
|
11517
12463
|
};
|
|
11518
|
-
Returns:
|
|
12464
|
+
Returns: number;
|
|
11519
12465
|
};
|
|
11520
|
-
|
|
12466
|
+
schedule_floriday_agreement_calloffs_sync: {
|
|
11521
12467
|
Args: {
|
|
11522
|
-
|
|
11523
|
-
|
|
11524
|
-
p_quantity: number;
|
|
11525
|
-
p_reason?: string;
|
|
11526
|
-
p_user_id?: string;
|
|
12468
|
+
p_apikey: string;
|
|
12469
|
+
p_url: string;
|
|
11527
12470
|
};
|
|
11528
|
-
Returns:
|
|
12471
|
+
Returns: number;
|
|
11529
12472
|
};
|
|
11530
|
-
|
|
12473
|
+
schedule_floriday_agreements_sync: {
|
|
11531
12474
|
Args: {
|
|
11532
12475
|
p_apikey: string;
|
|
11533
12476
|
p_url: string;
|
|
@@ -11802,12 +12745,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
11802
12745
|
};
|
|
11803
12746
|
Returns: undefined;
|
|
11804
12747
|
};
|
|
11805
|
-
sync_product_group_belading: {
|
|
11806
|
-
Args: {
|
|
11807
|
-
_group_id: string;
|
|
11808
|
-
};
|
|
11809
|
-
Returns: undefined;
|
|
11810
|
-
};
|
|
11811
12748
|
sync_product_packing_from_floriday_cache: {
|
|
11812
12749
|
Args: {
|
|
11813
12750
|
p_floriday_id: string;
|
|
@@ -11839,9 +12776,11 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
11839
12776
|
};
|
|
11840
12777
|
};
|
|
11841
12778
|
Enums: {
|
|
11842
|
-
app_role: "admin" | "
|
|
12779
|
+
app_role: "admin" | "planner" | "monteur" | "administratie";
|
|
11843
12780
|
exact_env: "staging" | "live";
|
|
11844
12781
|
exact_push_status: "pending" | "sent" | "error";
|
|
12782
|
+
itk_customer_segment: "Business" | "Private";
|
|
12783
|
+
itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
|
|
11845
12784
|
quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
|
|
11846
12785
|
};
|
|
11847
12786
|
CompositeTypes: { [_ in never]: never; };
|