@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
|
@@ -246,12 +246,47 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
246
246
|
};
|
|
247
247
|
Relationships: [];
|
|
248
248
|
};
|
|
249
|
+
ai_admin_credentials: {
|
|
250
|
+
Row: {
|
|
251
|
+
active: boolean;
|
|
252
|
+
admin_key: string;
|
|
253
|
+
created_at: string;
|
|
254
|
+
id: string;
|
|
255
|
+
label: string;
|
|
256
|
+
provider_id: string;
|
|
257
|
+
updated_at: string;
|
|
258
|
+
};
|
|
259
|
+
Insert: {
|
|
260
|
+
active?: boolean;
|
|
261
|
+
admin_key: string;
|
|
262
|
+
created_at?: string;
|
|
263
|
+
id?: string;
|
|
264
|
+
label: string;
|
|
265
|
+
provider_id: string;
|
|
266
|
+
updated_at?: string;
|
|
267
|
+
};
|
|
268
|
+
Update: {
|
|
269
|
+
active?: boolean;
|
|
270
|
+
admin_key?: string;
|
|
271
|
+
created_at?: string;
|
|
272
|
+
id?: string;
|
|
273
|
+
label?: string;
|
|
274
|
+
provider_id?: string;
|
|
275
|
+
updated_at?: string;
|
|
276
|
+
};
|
|
277
|
+
Relationships: [{
|
|
278
|
+
foreignKeyName: "ai_admin_credentials_provider_id_fkey";
|
|
279
|
+
columns: ["provider_id"];
|
|
280
|
+
isOneToOne: true;
|
|
281
|
+
referencedRelation: "ai_providers";
|
|
282
|
+
referencedColumns: ["id"];
|
|
283
|
+
}];
|
|
284
|
+
};
|
|
249
285
|
ai_credentials: {
|
|
250
286
|
Row: {
|
|
251
287
|
active: boolean;
|
|
252
288
|
api_key: string;
|
|
253
289
|
created_at: string;
|
|
254
|
-
created_by: string | null;
|
|
255
290
|
id: string;
|
|
256
291
|
label: string;
|
|
257
292
|
provider_id: string;
|
|
@@ -261,7 +296,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
261
296
|
active?: boolean;
|
|
262
297
|
api_key: string;
|
|
263
298
|
created_at?: string;
|
|
264
|
-
created_by?: string | null;
|
|
265
299
|
id?: string;
|
|
266
300
|
label: string;
|
|
267
301
|
provider_id: string;
|
|
@@ -271,7 +305,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
271
305
|
active?: boolean;
|
|
272
306
|
api_key?: string;
|
|
273
307
|
created_at?: string;
|
|
274
|
-
created_by?: string | null;
|
|
275
308
|
id?: string;
|
|
276
309
|
label?: string;
|
|
277
310
|
provider_id?: string;
|
|
@@ -285,6 +318,45 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
285
318
|
referencedColumns: ["id"];
|
|
286
319
|
}];
|
|
287
320
|
};
|
|
321
|
+
ai_model_pricing: {
|
|
322
|
+
Row: {
|
|
323
|
+
created_at: string;
|
|
324
|
+
currency: string;
|
|
325
|
+
fetched_at: string;
|
|
326
|
+
id: string;
|
|
327
|
+
input_per_mtok: number | null;
|
|
328
|
+
model_slug: string;
|
|
329
|
+
output_per_mtok: number | null;
|
|
330
|
+
provider_slug: string;
|
|
331
|
+
source: string;
|
|
332
|
+
updated_at: string;
|
|
333
|
+
};
|
|
334
|
+
Insert: {
|
|
335
|
+
created_at?: string;
|
|
336
|
+
currency?: string;
|
|
337
|
+
fetched_at?: string;
|
|
338
|
+
id?: string;
|
|
339
|
+
input_per_mtok?: number | null;
|
|
340
|
+
model_slug: string;
|
|
341
|
+
output_per_mtok?: number | null;
|
|
342
|
+
provider_slug: string;
|
|
343
|
+
source?: string;
|
|
344
|
+
updated_at?: string;
|
|
345
|
+
};
|
|
346
|
+
Update: {
|
|
347
|
+
created_at?: string;
|
|
348
|
+
currency?: string;
|
|
349
|
+
fetched_at?: string;
|
|
350
|
+
id?: string;
|
|
351
|
+
input_per_mtok?: number | null;
|
|
352
|
+
model_slug?: string;
|
|
353
|
+
output_per_mtok?: number | null;
|
|
354
|
+
provider_slug?: string;
|
|
355
|
+
source?: string;
|
|
356
|
+
updated_at?: string;
|
|
357
|
+
};
|
|
358
|
+
Relationships: [];
|
|
359
|
+
};
|
|
288
360
|
ai_models: {
|
|
289
361
|
Row: {
|
|
290
362
|
active: boolean;
|
|
@@ -1032,6 +1104,141 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
1032
1104
|
};
|
|
1033
1105
|
Relationships: [];
|
|
1034
1106
|
};
|
|
1107
|
+
cart_planning_pick_times: {
|
|
1108
|
+
Row: {
|
|
1109
|
+
created_at: string;
|
|
1110
|
+
id: string;
|
|
1111
|
+
pot_size: string;
|
|
1112
|
+
seconds_per_cart: number;
|
|
1113
|
+
updated_at: string;
|
|
1114
|
+
};
|
|
1115
|
+
Insert: {
|
|
1116
|
+
created_at?: string;
|
|
1117
|
+
id?: string;
|
|
1118
|
+
pot_size: string;
|
|
1119
|
+
seconds_per_cart: number;
|
|
1120
|
+
updated_at?: string;
|
|
1121
|
+
};
|
|
1122
|
+
Update: {
|
|
1123
|
+
created_at?: string;
|
|
1124
|
+
id?: string;
|
|
1125
|
+
pot_size?: string;
|
|
1126
|
+
seconds_per_cart?: number;
|
|
1127
|
+
updated_at?: string;
|
|
1128
|
+
};
|
|
1129
|
+
Relationships: [];
|
|
1130
|
+
};
|
|
1131
|
+
cart_planning_product_overrides: {
|
|
1132
|
+
Row: {
|
|
1133
|
+
created_at: string;
|
|
1134
|
+
id: string;
|
|
1135
|
+
max_party_share_per_layer_pct_override: number | null;
|
|
1136
|
+
never_mix: boolean;
|
|
1137
|
+
notes: string | null;
|
|
1138
|
+
product_id: string;
|
|
1139
|
+
updated_at: string;
|
|
1140
|
+
};
|
|
1141
|
+
Insert: {
|
|
1142
|
+
created_at?: string;
|
|
1143
|
+
id?: string;
|
|
1144
|
+
max_party_share_per_layer_pct_override?: number | null;
|
|
1145
|
+
never_mix?: boolean;
|
|
1146
|
+
notes?: string | null;
|
|
1147
|
+
product_id: string;
|
|
1148
|
+
updated_at?: string;
|
|
1149
|
+
};
|
|
1150
|
+
Update: {
|
|
1151
|
+
created_at?: string;
|
|
1152
|
+
id?: string;
|
|
1153
|
+
max_party_share_per_layer_pct_override?: number | null;
|
|
1154
|
+
never_mix?: boolean;
|
|
1155
|
+
notes?: string | null;
|
|
1156
|
+
product_id?: string;
|
|
1157
|
+
updated_at?: string;
|
|
1158
|
+
};
|
|
1159
|
+
Relationships: [{
|
|
1160
|
+
foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
|
|
1161
|
+
columns: ["product_id"];
|
|
1162
|
+
isOneToOne: true;
|
|
1163
|
+
referencedRelation: "products";
|
|
1164
|
+
referencedColumns: ["id"];
|
|
1165
|
+
}];
|
|
1166
|
+
};
|
|
1167
|
+
cart_planning_settings: {
|
|
1168
|
+
Row: {
|
|
1169
|
+
allow_editing_after_pickstation_send: boolean;
|
|
1170
|
+
buffer_grouping_mode: string;
|
|
1171
|
+
combine_floriday_orders: boolean;
|
|
1172
|
+
combine_floriday_orders_window: string;
|
|
1173
|
+
combine_orders_scope: string;
|
|
1174
|
+
default_workers: number;
|
|
1175
|
+
id: number;
|
|
1176
|
+
max_beladingen_per_layer: number;
|
|
1177
|
+
max_customers_per_cart: number;
|
|
1178
|
+
max_one_customer_per_layer: boolean;
|
|
1179
|
+
max_party_share_per_layer_pct: number;
|
|
1180
|
+
optimization_strategy: string;
|
|
1181
|
+
own_cart_from_layers: number;
|
|
1182
|
+
pick_time_mode: string;
|
|
1183
|
+
plants_per_day: number;
|
|
1184
|
+
plants_per_hour: number;
|
|
1185
|
+
require_same_carrier: boolean;
|
|
1186
|
+
require_same_crate_type: boolean;
|
|
1187
|
+
require_same_delivery_date: boolean;
|
|
1188
|
+
require_same_delivery_location: boolean;
|
|
1189
|
+
updated_at: string;
|
|
1190
|
+
updated_by: string | null;
|
|
1191
|
+
};
|
|
1192
|
+
Insert: {
|
|
1193
|
+
allow_editing_after_pickstation_send?: boolean;
|
|
1194
|
+
buffer_grouping_mode?: string;
|
|
1195
|
+
combine_floriday_orders?: boolean;
|
|
1196
|
+
combine_floriday_orders_window?: string;
|
|
1197
|
+
combine_orders_scope?: string;
|
|
1198
|
+
default_workers?: number;
|
|
1199
|
+
id?: number;
|
|
1200
|
+
max_beladingen_per_layer?: number;
|
|
1201
|
+
max_customers_per_cart?: number;
|
|
1202
|
+
max_one_customer_per_layer?: boolean;
|
|
1203
|
+
max_party_share_per_layer_pct?: number;
|
|
1204
|
+
optimization_strategy?: string;
|
|
1205
|
+
own_cart_from_layers?: number;
|
|
1206
|
+
pick_time_mode?: string;
|
|
1207
|
+
plants_per_day?: number;
|
|
1208
|
+
plants_per_hour?: number;
|
|
1209
|
+
require_same_carrier?: boolean;
|
|
1210
|
+
require_same_crate_type?: boolean;
|
|
1211
|
+
require_same_delivery_date?: boolean;
|
|
1212
|
+
require_same_delivery_location?: boolean;
|
|
1213
|
+
updated_at?: string;
|
|
1214
|
+
updated_by?: string | null;
|
|
1215
|
+
};
|
|
1216
|
+
Update: {
|
|
1217
|
+
allow_editing_after_pickstation_send?: boolean;
|
|
1218
|
+
buffer_grouping_mode?: string;
|
|
1219
|
+
combine_floriday_orders?: boolean;
|
|
1220
|
+
combine_floriday_orders_window?: string;
|
|
1221
|
+
combine_orders_scope?: string;
|
|
1222
|
+
default_workers?: number;
|
|
1223
|
+
id?: number;
|
|
1224
|
+
max_beladingen_per_layer?: number;
|
|
1225
|
+
max_customers_per_cart?: number;
|
|
1226
|
+
max_one_customer_per_layer?: boolean;
|
|
1227
|
+
max_party_share_per_layer_pct?: number;
|
|
1228
|
+
optimization_strategy?: string;
|
|
1229
|
+
own_cart_from_layers?: number;
|
|
1230
|
+
pick_time_mode?: string;
|
|
1231
|
+
plants_per_day?: number;
|
|
1232
|
+
plants_per_hour?: number;
|
|
1233
|
+
require_same_carrier?: boolean;
|
|
1234
|
+
require_same_crate_type?: boolean;
|
|
1235
|
+
require_same_delivery_date?: boolean;
|
|
1236
|
+
require_same_delivery_location?: boolean;
|
|
1237
|
+
updated_at?: string;
|
|
1238
|
+
updated_by?: string | null;
|
|
1239
|
+
};
|
|
1240
|
+
Relationships: [];
|
|
1241
|
+
};
|
|
1035
1242
|
cart_replan_queue: {
|
|
1036
1243
|
Row: {
|
|
1037
1244
|
attempts: number;
|
|
@@ -1062,6 +1269,102 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
1062
1269
|
referencedColumns: ["id"];
|
|
1063
1270
|
}];
|
|
1064
1271
|
};
|
|
1272
|
+
cart_types: {
|
|
1273
|
+
Row: {
|
|
1274
|
+
created_at: string;
|
|
1275
|
+
id: string;
|
|
1276
|
+
is_default: boolean;
|
|
1277
|
+
layer_length_cm: number;
|
|
1278
|
+
layer_width_cm: number;
|
|
1279
|
+
layers_per_cart: number;
|
|
1280
|
+
name: string;
|
|
1281
|
+
updated_at: string;
|
|
1282
|
+
};
|
|
1283
|
+
Insert: {
|
|
1284
|
+
created_at?: string;
|
|
1285
|
+
id?: string;
|
|
1286
|
+
is_default?: boolean;
|
|
1287
|
+
layer_length_cm: number;
|
|
1288
|
+
layer_width_cm: number;
|
|
1289
|
+
layers_per_cart?: number;
|
|
1290
|
+
name: string;
|
|
1291
|
+
updated_at?: string;
|
|
1292
|
+
};
|
|
1293
|
+
Update: {
|
|
1294
|
+
created_at?: string;
|
|
1295
|
+
id?: string;
|
|
1296
|
+
is_default?: boolean;
|
|
1297
|
+
layer_length_cm?: number;
|
|
1298
|
+
layer_width_cm?: number;
|
|
1299
|
+
layers_per_cart?: number;
|
|
1300
|
+
name?: string;
|
|
1301
|
+
updated_at?: string;
|
|
1302
|
+
};
|
|
1303
|
+
Relationships: [];
|
|
1304
|
+
};
|
|
1305
|
+
catalog_articles_cache: {
|
|
1306
|
+
Row: {
|
|
1307
|
+
created_at: string;
|
|
1308
|
+
default_price: number;
|
|
1309
|
+
default_vat_rate_ref: string | null;
|
|
1310
|
+
external_ref: string;
|
|
1311
|
+
id: string;
|
|
1312
|
+
name: string;
|
|
1313
|
+
updated_at: string;
|
|
1314
|
+
user_id: string;
|
|
1315
|
+
};
|
|
1316
|
+
Insert: {
|
|
1317
|
+
created_at?: string;
|
|
1318
|
+
default_price?: number;
|
|
1319
|
+
default_vat_rate_ref?: string | null;
|
|
1320
|
+
external_ref: string;
|
|
1321
|
+
id?: string;
|
|
1322
|
+
name: string;
|
|
1323
|
+
updated_at?: string;
|
|
1324
|
+
user_id: string;
|
|
1325
|
+
};
|
|
1326
|
+
Update: {
|
|
1327
|
+
created_at?: string;
|
|
1328
|
+
default_price?: number;
|
|
1329
|
+
default_vat_rate_ref?: string | null;
|
|
1330
|
+
external_ref?: string;
|
|
1331
|
+
id?: string;
|
|
1332
|
+
name?: string;
|
|
1333
|
+
updated_at?: string;
|
|
1334
|
+
user_id?: string;
|
|
1335
|
+
};
|
|
1336
|
+
Relationships: [];
|
|
1337
|
+
};
|
|
1338
|
+
catalog_vat_rates_cache: {
|
|
1339
|
+
Row: {
|
|
1340
|
+
created_at: string;
|
|
1341
|
+
external_ref: string;
|
|
1342
|
+
id: string;
|
|
1343
|
+
label: string;
|
|
1344
|
+
percentage: number;
|
|
1345
|
+
updated_at: string;
|
|
1346
|
+
user_id: string;
|
|
1347
|
+
};
|
|
1348
|
+
Insert: {
|
|
1349
|
+
created_at?: string;
|
|
1350
|
+
external_ref: string;
|
|
1351
|
+
id?: string;
|
|
1352
|
+
label: string;
|
|
1353
|
+
percentage?: number;
|
|
1354
|
+
updated_at?: string;
|
|
1355
|
+
user_id: string;
|
|
1356
|
+
};
|
|
1357
|
+
Update: {
|
|
1358
|
+
created_at?: string;
|
|
1359
|
+
external_ref?: string;
|
|
1360
|
+
id?: string;
|
|
1361
|
+
label?: string;
|
|
1362
|
+
percentage?: number;
|
|
1363
|
+
updated_at?: string;
|
|
1364
|
+
user_id?: string;
|
|
1365
|
+
};
|
|
1366
|
+
Relationships: [];
|
|
1367
|
+
};
|
|
1065
1368
|
collections: {
|
|
1066
1369
|
Row: {
|
|
1067
1370
|
created_at: string;
|
|
@@ -1086,6 +1389,36 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
1086
1389
|
};
|
|
1087
1390
|
Relationships: [];
|
|
1088
1391
|
};
|
|
1392
|
+
crate_types: {
|
|
1393
|
+
Row: {
|
|
1394
|
+
created_at: string;
|
|
1395
|
+
id: string;
|
|
1396
|
+
length_cm: number;
|
|
1397
|
+
name: string;
|
|
1398
|
+
plants_per_crate: number;
|
|
1399
|
+
updated_at: string;
|
|
1400
|
+
width_cm: number;
|
|
1401
|
+
};
|
|
1402
|
+
Insert: {
|
|
1403
|
+
created_at?: string;
|
|
1404
|
+
id?: string;
|
|
1405
|
+
length_cm: number;
|
|
1406
|
+
name: string;
|
|
1407
|
+
plants_per_crate?: number;
|
|
1408
|
+
updated_at?: string;
|
|
1409
|
+
width_cm: number;
|
|
1410
|
+
};
|
|
1411
|
+
Update: {
|
|
1412
|
+
created_at?: string;
|
|
1413
|
+
id?: string;
|
|
1414
|
+
length_cm?: number;
|
|
1415
|
+
name?: string;
|
|
1416
|
+
plants_per_crate?: number;
|
|
1417
|
+
updated_at?: string;
|
|
1418
|
+
width_cm?: number;
|
|
1419
|
+
};
|
|
1420
|
+
Relationships: [];
|
|
1421
|
+
};
|
|
1089
1422
|
customer_audit_log: {
|
|
1090
1423
|
Row: {
|
|
1091
1424
|
action: string;
|
|
@@ -1311,68 +1644,167 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
1311
1644
|
};
|
|
1312
1645
|
Relationships: [];
|
|
1313
1646
|
};
|
|
1314
|
-
|
|
1647
|
+
customer_price_group_members: {
|
|
1315
1648
|
Row: {
|
|
1316
|
-
article_number: string | null;
|
|
1317
1649
|
created_at: string;
|
|
1318
|
-
|
|
1319
|
-
floriday_item_id: string | null;
|
|
1650
|
+
customer_key: string;
|
|
1320
1651
|
id: string;
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
product_name: string;
|
|
1324
|
-
raw: import("../integrations/supabase/types").Json | null;
|
|
1325
|
-
unit: string | null;
|
|
1326
|
-
updated_at: string;
|
|
1652
|
+
owner_id: string;
|
|
1653
|
+
price_group_id: string;
|
|
1327
1654
|
};
|
|
1328
1655
|
Insert: {
|
|
1329
|
-
article_number?: string | null;
|
|
1330
1656
|
created_at?: string;
|
|
1331
|
-
|
|
1332
|
-
floriday_item_id?: string | null;
|
|
1657
|
+
customer_key: string;
|
|
1333
1658
|
id?: string;
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
product_name: string;
|
|
1337
|
-
raw?: import("../integrations/supabase/types").Json | null;
|
|
1338
|
-
unit?: string | null;
|
|
1339
|
-
updated_at?: string;
|
|
1659
|
+
owner_id?: string;
|
|
1660
|
+
price_group_id: string;
|
|
1340
1661
|
};
|
|
1341
1662
|
Update: {
|
|
1342
|
-
article_number?: string | null;
|
|
1343
1663
|
created_at?: string;
|
|
1344
|
-
|
|
1345
|
-
floriday_item_id?: string | null;
|
|
1664
|
+
customer_key?: string;
|
|
1346
1665
|
id?: string;
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
product_name?: string;
|
|
1350
|
-
raw?: import("../integrations/supabase/types").Json | null;
|
|
1351
|
-
unit?: string | null;
|
|
1352
|
-
updated_at?: string;
|
|
1666
|
+
owner_id?: string;
|
|
1667
|
+
price_group_id?: string;
|
|
1353
1668
|
};
|
|
1354
1669
|
Relationships: [{
|
|
1355
|
-
foreignKeyName: "
|
|
1356
|
-
columns: ["
|
|
1670
|
+
foreignKeyName: "customer_price_group_members_price_group_id_fkey";
|
|
1671
|
+
columns: ["price_group_id"];
|
|
1357
1672
|
isOneToOne: false;
|
|
1358
|
-
referencedRelation: "
|
|
1673
|
+
referencedRelation: "customer_price_groups";
|
|
1359
1674
|
referencedColumns: ["id"];
|
|
1360
1675
|
}];
|
|
1361
1676
|
};
|
|
1362
|
-
|
|
1677
|
+
customer_price_groups: {
|
|
1363
1678
|
Row: {
|
|
1364
|
-
|
|
1679
|
+
calc_type: string | null;
|
|
1680
|
+
calc_value: number | null;
|
|
1681
|
+
calc_value_type: string | null;
|
|
1365
1682
|
created_at: string;
|
|
1366
|
-
|
|
1683
|
+
currency: string;
|
|
1684
|
+
distribute_over: string | null;
|
|
1685
|
+
group_type: string;
|
|
1686
|
+
handling_fee: number | null;
|
|
1367
1687
|
id: string;
|
|
1688
|
+
include_stickers: boolean;
|
|
1368
1689
|
is_active: boolean;
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1690
|
+
name: string;
|
|
1691
|
+
owner_id: string;
|
|
1692
|
+
price_scope: string;
|
|
1693
|
+
pricing_mode: string;
|
|
1694
|
+
rounding: string;
|
|
1695
|
+
rounding_step: number;
|
|
1696
|
+
sort_order: number;
|
|
1697
|
+
unit: string;
|
|
1372
1698
|
updated_at: string;
|
|
1373
1699
|
};
|
|
1374
1700
|
Insert: {
|
|
1375
|
-
|
|
1701
|
+
calc_type?: string | null;
|
|
1702
|
+
calc_value?: number | null;
|
|
1703
|
+
calc_value_type?: string | null;
|
|
1704
|
+
created_at?: string;
|
|
1705
|
+
currency?: string;
|
|
1706
|
+
distribute_over?: string | null;
|
|
1707
|
+
group_type?: string;
|
|
1708
|
+
handling_fee?: number | null;
|
|
1709
|
+
id?: string;
|
|
1710
|
+
include_stickers?: boolean;
|
|
1711
|
+
is_active?: boolean;
|
|
1712
|
+
name: string;
|
|
1713
|
+
owner_id?: string;
|
|
1714
|
+
price_scope?: string;
|
|
1715
|
+
pricing_mode?: string;
|
|
1716
|
+
rounding?: string;
|
|
1717
|
+
rounding_step?: number;
|
|
1718
|
+
sort_order?: number;
|
|
1719
|
+
unit?: string;
|
|
1720
|
+
updated_at?: string;
|
|
1721
|
+
};
|
|
1722
|
+
Update: {
|
|
1723
|
+
calc_type?: string | null;
|
|
1724
|
+
calc_value?: number | null;
|
|
1725
|
+
calc_value_type?: string | null;
|
|
1726
|
+
created_at?: string;
|
|
1727
|
+
currency?: string;
|
|
1728
|
+
distribute_over?: string | null;
|
|
1729
|
+
group_type?: string;
|
|
1730
|
+
handling_fee?: number | null;
|
|
1731
|
+
id?: string;
|
|
1732
|
+
include_stickers?: boolean;
|
|
1733
|
+
is_active?: boolean;
|
|
1734
|
+
name?: string;
|
|
1735
|
+
owner_id?: string;
|
|
1736
|
+
price_scope?: string;
|
|
1737
|
+
pricing_mode?: string;
|
|
1738
|
+
rounding?: string;
|
|
1739
|
+
rounding_step?: number;
|
|
1740
|
+
sort_order?: number;
|
|
1741
|
+
unit?: string;
|
|
1742
|
+
updated_at?: string;
|
|
1743
|
+
};
|
|
1744
|
+
Relationships: [];
|
|
1745
|
+
};
|
|
1746
|
+
customer_selected_assortment: {
|
|
1747
|
+
Row: {
|
|
1748
|
+
article_number: string | null;
|
|
1749
|
+
created_at: string;
|
|
1750
|
+
customer_id: string;
|
|
1751
|
+
floriday_item_id: string | null;
|
|
1752
|
+
id: string;
|
|
1753
|
+
price: number | null;
|
|
1754
|
+
product_group: string | null;
|
|
1755
|
+
product_name: string;
|
|
1756
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
1757
|
+
unit: string | null;
|
|
1758
|
+
updated_at: string;
|
|
1759
|
+
};
|
|
1760
|
+
Insert: {
|
|
1761
|
+
article_number?: string | null;
|
|
1762
|
+
created_at?: string;
|
|
1763
|
+
customer_id: string;
|
|
1764
|
+
floriday_item_id?: string | null;
|
|
1765
|
+
id?: string;
|
|
1766
|
+
price?: number | null;
|
|
1767
|
+
product_group?: string | null;
|
|
1768
|
+
product_name: string;
|
|
1769
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
1770
|
+
unit?: string | null;
|
|
1771
|
+
updated_at?: string;
|
|
1772
|
+
};
|
|
1773
|
+
Update: {
|
|
1774
|
+
article_number?: string | null;
|
|
1775
|
+
created_at?: string;
|
|
1776
|
+
customer_id?: string;
|
|
1777
|
+
floriday_item_id?: string | null;
|
|
1778
|
+
id?: string;
|
|
1779
|
+
price?: number | null;
|
|
1780
|
+
product_group?: string | null;
|
|
1781
|
+
product_name?: string;
|
|
1782
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
1783
|
+
unit?: string | null;
|
|
1784
|
+
updated_at?: string;
|
|
1785
|
+
};
|
|
1786
|
+
Relationships: [{
|
|
1787
|
+
foreignKeyName: "customer_selected_assortment_customer_id_fkey";
|
|
1788
|
+
columns: ["customer_id"];
|
|
1789
|
+
isOneToOne: false;
|
|
1790
|
+
referencedRelation: "customers";
|
|
1791
|
+
referencedColumns: ["id"];
|
|
1792
|
+
}];
|
|
1793
|
+
};
|
|
1794
|
+
customer_trade_settings: {
|
|
1795
|
+
Row: {
|
|
1796
|
+
category: string;
|
|
1797
|
+
created_at: string;
|
|
1798
|
+
customer_id: string;
|
|
1799
|
+
id: string;
|
|
1800
|
+
is_active: boolean;
|
|
1801
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
1802
|
+
setting_key: string;
|
|
1803
|
+
setting_label: string;
|
|
1804
|
+
updated_at: string;
|
|
1805
|
+
};
|
|
1806
|
+
Insert: {
|
|
1807
|
+
category?: string;
|
|
1376
1808
|
created_at?: string;
|
|
1377
1809
|
customer_id: string;
|
|
1378
1810
|
id?: string;
|
|
@@ -1464,6 +1896,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
1464
1896
|
sync_error: string | null;
|
|
1465
1897
|
sync_status: string;
|
|
1466
1898
|
trade_forms: string[];
|
|
1899
|
+
twinfield_code: string | null;
|
|
1900
|
+
twinfield_last_hash: string | null;
|
|
1901
|
+
twinfield_sync_error: string | null;
|
|
1902
|
+
twinfield_synced_at: string | null;
|
|
1467
1903
|
updated_at: string;
|
|
1468
1904
|
vat_display: string | null;
|
|
1469
1905
|
vat_number: string | null;
|
|
@@ -1531,6 +1967,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
1531
1967
|
sync_error?: string | null;
|
|
1532
1968
|
sync_status?: string;
|
|
1533
1969
|
trade_forms?: string[];
|
|
1970
|
+
twinfield_code?: string | null;
|
|
1971
|
+
twinfield_last_hash?: string | null;
|
|
1972
|
+
twinfield_sync_error?: string | null;
|
|
1973
|
+
twinfield_synced_at?: string | null;
|
|
1534
1974
|
updated_at?: string;
|
|
1535
1975
|
vat_display?: string | null;
|
|
1536
1976
|
vat_number?: string | null;
|
|
@@ -1598,6 +2038,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
1598
2038
|
sync_error?: string | null;
|
|
1599
2039
|
sync_status?: string;
|
|
1600
2040
|
trade_forms?: string[];
|
|
2041
|
+
twinfield_code?: string | null;
|
|
2042
|
+
twinfield_last_hash?: string | null;
|
|
2043
|
+
twinfield_sync_error?: string | null;
|
|
2044
|
+
twinfield_synced_at?: string | null;
|
|
1601
2045
|
updated_at?: string;
|
|
1602
2046
|
vat_display?: string | null;
|
|
1603
2047
|
vat_number?: string | null;
|
|
@@ -3411,6 +3855,105 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
3411
3855
|
referencedColumns: ["id"];
|
|
3412
3856
|
}];
|
|
3413
3857
|
};
|
|
3858
|
+
floriday_agreement_calloffs_cache: {
|
|
3859
|
+
Row: {
|
|
3860
|
+
agreement_id: string | null;
|
|
3861
|
+
connection_id: string;
|
|
3862
|
+
data: import("../integrations/supabase/types").Json;
|
|
3863
|
+
delivery_date: string | null;
|
|
3864
|
+
fetched_at: string;
|
|
3865
|
+
floriday_id: string;
|
|
3866
|
+
id: string;
|
|
3867
|
+
is_deleted: boolean;
|
|
3868
|
+
sequence_number: number;
|
|
3869
|
+
status: string | null;
|
|
3870
|
+
updated_at: string;
|
|
3871
|
+
};
|
|
3872
|
+
Insert: {
|
|
3873
|
+
agreement_id?: string | null;
|
|
3874
|
+
connection_id: string;
|
|
3875
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3876
|
+
delivery_date?: string | null;
|
|
3877
|
+
fetched_at?: string;
|
|
3878
|
+
floriday_id: string;
|
|
3879
|
+
id?: string;
|
|
3880
|
+
is_deleted?: boolean;
|
|
3881
|
+
sequence_number?: number;
|
|
3882
|
+
status?: string | null;
|
|
3883
|
+
updated_at?: string;
|
|
3884
|
+
};
|
|
3885
|
+
Update: {
|
|
3886
|
+
agreement_id?: string | null;
|
|
3887
|
+
connection_id?: string;
|
|
3888
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3889
|
+
delivery_date?: string | null;
|
|
3890
|
+
fetched_at?: string;
|
|
3891
|
+
floriday_id?: string;
|
|
3892
|
+
id?: string;
|
|
3893
|
+
is_deleted?: boolean;
|
|
3894
|
+
sequence_number?: number;
|
|
3895
|
+
status?: string | null;
|
|
3896
|
+
updated_at?: string;
|
|
3897
|
+
};
|
|
3898
|
+
Relationships: [{
|
|
3899
|
+
foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
|
|
3900
|
+
columns: ["connection_id"];
|
|
3901
|
+
isOneToOne: false;
|
|
3902
|
+
referencedRelation: "floriday_connections";
|
|
3903
|
+
referencedColumns: ["id"];
|
|
3904
|
+
}];
|
|
3905
|
+
};
|
|
3906
|
+
floriday_agreements_cache: {
|
|
3907
|
+
Row: {
|
|
3908
|
+
buyer_organization_id: string | null;
|
|
3909
|
+
connection_id: string;
|
|
3910
|
+
data: import("../integrations/supabase/types").Json;
|
|
3911
|
+
fetched_at: string;
|
|
3912
|
+
floriday_id: string;
|
|
3913
|
+
id: string;
|
|
3914
|
+
is_deleted: boolean;
|
|
3915
|
+
sequence_number: number;
|
|
3916
|
+
status: string | null;
|
|
3917
|
+
updated_at: string;
|
|
3918
|
+
valid_from: string | null;
|
|
3919
|
+
valid_until: string | null;
|
|
3920
|
+
};
|
|
3921
|
+
Insert: {
|
|
3922
|
+
buyer_organization_id?: string | null;
|
|
3923
|
+
connection_id: string;
|
|
3924
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3925
|
+
fetched_at?: string;
|
|
3926
|
+
floriday_id: string;
|
|
3927
|
+
id?: string;
|
|
3928
|
+
is_deleted?: boolean;
|
|
3929
|
+
sequence_number?: number;
|
|
3930
|
+
status?: string | null;
|
|
3931
|
+
updated_at?: string;
|
|
3932
|
+
valid_from?: string | null;
|
|
3933
|
+
valid_until?: string | null;
|
|
3934
|
+
};
|
|
3935
|
+
Update: {
|
|
3936
|
+
buyer_organization_id?: string | null;
|
|
3937
|
+
connection_id?: string;
|
|
3938
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3939
|
+
fetched_at?: string;
|
|
3940
|
+
floriday_id?: string;
|
|
3941
|
+
id?: string;
|
|
3942
|
+
is_deleted?: boolean;
|
|
3943
|
+
sequence_number?: number;
|
|
3944
|
+
status?: string | null;
|
|
3945
|
+
updated_at?: string;
|
|
3946
|
+
valid_from?: string | null;
|
|
3947
|
+
valid_until?: string | null;
|
|
3948
|
+
};
|
|
3949
|
+
Relationships: [{
|
|
3950
|
+
foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
|
|
3951
|
+
columns: ["connection_id"];
|
|
3952
|
+
isOneToOne: false;
|
|
3953
|
+
referencedRelation: "floriday_connections";
|
|
3954
|
+
referencedColumns: ["id"];
|
|
3955
|
+
}];
|
|
3956
|
+
};
|
|
3414
3957
|
floriday_auction_letters_cache: {
|
|
3415
3958
|
Row: {
|
|
3416
3959
|
auction_letter_code: string;
|
|
@@ -3909,27 +4452,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
3909
4452
|
referencedColumns: ["id"];
|
|
3910
4453
|
}];
|
|
3911
4454
|
};
|
|
3912
|
-
floriday_continuous_stock_cache: {
|
|
3913
|
-
Row: {
|
|
3914
|
-
connection_id: string;
|
|
3915
|
-
fetched_at: string;
|
|
3916
|
-
number_of_pieces: number;
|
|
3917
|
-
trade_item_id: string;
|
|
3918
|
-
};
|
|
3919
|
-
Insert: {
|
|
3920
|
-
connection_id: string;
|
|
3921
|
-
fetched_at?: string;
|
|
3922
|
-
number_of_pieces?: number;
|
|
3923
|
-
trade_item_id: string;
|
|
3924
|
-
};
|
|
3925
|
-
Update: {
|
|
3926
|
-
connection_id?: string;
|
|
3927
|
-
fetched_at?: string;
|
|
3928
|
-
number_of_pieces?: number;
|
|
3929
|
-
trade_item_id?: string;
|
|
3930
|
-
};
|
|
3931
|
-
Relationships: [];
|
|
3932
|
-
};
|
|
3933
4455
|
floriday_continuous_stock_queue: {
|
|
3934
4456
|
Row: {
|
|
3935
4457
|
attempts: number;
|
|
@@ -4705,8 +5227,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
4705
5227
|
Row: {
|
|
4706
5228
|
buyer_organization_id: string | null;
|
|
4707
5229
|
connection_id: string;
|
|
4708
|
-
controlled_at: string | null;
|
|
4709
|
-
controlled_by: string | null;
|
|
4710
5230
|
created_at: string;
|
|
4711
5231
|
data: import("../integrations/supabase/types").Json;
|
|
4712
5232
|
floriday_id: string;
|
|
@@ -4718,8 +5238,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
4718
5238
|
Insert: {
|
|
4719
5239
|
buyer_organization_id?: string | null;
|
|
4720
5240
|
connection_id: string;
|
|
4721
|
-
controlled_at?: string | null;
|
|
4722
|
-
controlled_by?: string | null;
|
|
4723
5241
|
created_at?: string;
|
|
4724
5242
|
data: import("../integrations/supabase/types").Json;
|
|
4725
5243
|
floriday_id: string;
|
|
@@ -4731,8 +5249,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
4731
5249
|
Update: {
|
|
4732
5250
|
buyer_organization_id?: string | null;
|
|
4733
5251
|
connection_id?: string;
|
|
4734
|
-
controlled_at?: string | null;
|
|
4735
|
-
controlled_by?: string | null;
|
|
4736
5252
|
created_at?: string;
|
|
4737
5253
|
data?: import("../integrations/supabase/types").Json;
|
|
4738
5254
|
floriday_id?: string;
|
|
@@ -4914,45 +5430,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
4914
5430
|
referencedColumns: ["id"];
|
|
4915
5431
|
}];
|
|
4916
5432
|
};
|
|
4917
|
-
floriday_trade_settings_customers_cache: {
|
|
4918
|
-
Row: {
|
|
4919
|
-
connection_id: string;
|
|
4920
|
-
data: import("../integrations/supabase/types").Json;
|
|
4921
|
-
fetched_at: string;
|
|
4922
|
-
floriday_id: string;
|
|
4923
|
-
id: string;
|
|
4924
|
-
is_deleted: boolean;
|
|
4925
|
-
sequence_number: number;
|
|
4926
|
-
updated_at: string;
|
|
4927
|
-
};
|
|
4928
|
-
Insert: {
|
|
4929
|
-
connection_id: string;
|
|
4930
|
-
data: import("../integrations/supabase/types").Json;
|
|
4931
|
-
fetched_at?: string;
|
|
4932
|
-
floriday_id: string;
|
|
4933
|
-
id?: string;
|
|
4934
|
-
is_deleted?: boolean;
|
|
4935
|
-
sequence_number?: number;
|
|
4936
|
-
updated_at?: string;
|
|
4937
|
-
};
|
|
4938
|
-
Update: {
|
|
4939
|
-
connection_id?: string;
|
|
4940
|
-
data?: import("../integrations/supabase/types").Json;
|
|
4941
|
-
fetched_at?: string;
|
|
4942
|
-
floriday_id?: string;
|
|
4943
|
-
id?: string;
|
|
4944
|
-
is_deleted?: boolean;
|
|
4945
|
-
sequence_number?: number;
|
|
4946
|
-
updated_at?: string;
|
|
4947
|
-
};
|
|
4948
|
-
Relationships: [{
|
|
4949
|
-
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
4950
|
-
columns: ["connection_id"];
|
|
4951
|
-
isOneToOne: false;
|
|
4952
|
-
referencedRelation: "floriday_connections";
|
|
4953
|
-
referencedColumns: ["id"];
|
|
4954
|
-
}];
|
|
4955
|
-
};
|
|
4956
5433
|
floriday_trips_cache: {
|
|
4957
5434
|
Row: {
|
|
4958
5435
|
carrier_organization_id: string | null;
|
|
@@ -5332,154 +5809,436 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
5332
5809
|
updated_at?: string;
|
|
5333
5810
|
visible_columns?: string[];
|
|
5334
5811
|
};
|
|
5335
|
-
Relationships: [];
|
|
5812
|
+
Relationships: [];
|
|
5813
|
+
};
|
|
5814
|
+
invoice_push_log: {
|
|
5815
|
+
Row: {
|
|
5816
|
+
connection_id: string | null;
|
|
5817
|
+
created_at: string;
|
|
5818
|
+
created_by: string;
|
|
5819
|
+
customer_id: string | null;
|
|
5820
|
+
id: string;
|
|
5821
|
+
last_error: string | null;
|
|
5822
|
+
last_polled_at: string | null;
|
|
5823
|
+
payload: import("../integrations/supabase/types").Json;
|
|
5824
|
+
provider_id: string;
|
|
5825
|
+
queue_id: string | null;
|
|
5826
|
+
status: string;
|
|
5827
|
+
updated_at: string;
|
|
5828
|
+
};
|
|
5829
|
+
Insert: {
|
|
5830
|
+
connection_id?: string | null;
|
|
5831
|
+
created_at?: string;
|
|
5832
|
+
created_by?: string;
|
|
5833
|
+
customer_id?: string | null;
|
|
5834
|
+
id?: string;
|
|
5835
|
+
last_error?: string | null;
|
|
5836
|
+
last_polled_at?: string | null;
|
|
5837
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
5838
|
+
provider_id: string;
|
|
5839
|
+
queue_id?: string | null;
|
|
5840
|
+
status?: string;
|
|
5841
|
+
updated_at?: string;
|
|
5842
|
+
};
|
|
5843
|
+
Update: {
|
|
5844
|
+
connection_id?: string | null;
|
|
5845
|
+
created_at?: string;
|
|
5846
|
+
created_by?: string;
|
|
5847
|
+
customer_id?: string | null;
|
|
5848
|
+
id?: string;
|
|
5849
|
+
last_error?: string | null;
|
|
5850
|
+
last_polled_at?: string | null;
|
|
5851
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
5852
|
+
provider_id?: string;
|
|
5853
|
+
queue_id?: string | null;
|
|
5854
|
+
status?: string;
|
|
5855
|
+
updated_at?: string;
|
|
5856
|
+
};
|
|
5857
|
+
Relationships: [{
|
|
5858
|
+
foreignKeyName: "invoice_push_log_provider_id_fkey";
|
|
5859
|
+
columns: ["provider_id"];
|
|
5860
|
+
isOneToOne: false;
|
|
5861
|
+
referencedRelation: "external_invoice_providers";
|
|
5862
|
+
referencedColumns: ["provider"];
|
|
5863
|
+
}];
|
|
5864
|
+
};
|
|
5865
|
+
invoice_run_items: {
|
|
5866
|
+
Row: {
|
|
5867
|
+
booking_id: string | null;
|
|
5868
|
+
company_name: string | null;
|
|
5869
|
+
created_at: string;
|
|
5870
|
+
customer_email: string | null;
|
|
5871
|
+
description: string | null;
|
|
5872
|
+
exact_article_id: string | null;
|
|
5873
|
+
id: string;
|
|
5874
|
+
invoice_run_id: string | null;
|
|
5875
|
+
quantity: number | null;
|
|
5876
|
+
total_excl_vat: number | null;
|
|
5877
|
+
total_incl_vat: number | null;
|
|
5878
|
+
unit_price: number | null;
|
|
5879
|
+
vat_amount: number | null;
|
|
5880
|
+
};
|
|
5881
|
+
Insert: {
|
|
5882
|
+
booking_id?: string | null;
|
|
5883
|
+
company_name?: string | null;
|
|
5884
|
+
created_at?: string;
|
|
5885
|
+
customer_email?: string | null;
|
|
5886
|
+
description?: string | null;
|
|
5887
|
+
exact_article_id?: string | null;
|
|
5888
|
+
id?: string;
|
|
5889
|
+
invoice_run_id?: string | null;
|
|
5890
|
+
quantity?: number | null;
|
|
5891
|
+
total_excl_vat?: number | null;
|
|
5892
|
+
total_incl_vat?: number | null;
|
|
5893
|
+
unit_price?: number | null;
|
|
5894
|
+
vat_amount?: number | null;
|
|
5895
|
+
};
|
|
5896
|
+
Update: {
|
|
5897
|
+
booking_id?: string | null;
|
|
5898
|
+
company_name?: string | null;
|
|
5899
|
+
created_at?: string;
|
|
5900
|
+
customer_email?: string | null;
|
|
5901
|
+
description?: string | null;
|
|
5902
|
+
exact_article_id?: string | null;
|
|
5903
|
+
id?: string;
|
|
5904
|
+
invoice_run_id?: string | null;
|
|
5905
|
+
quantity?: number | null;
|
|
5906
|
+
total_excl_vat?: number | null;
|
|
5907
|
+
total_incl_vat?: number | null;
|
|
5908
|
+
unit_price?: number | null;
|
|
5909
|
+
vat_amount?: number | null;
|
|
5910
|
+
};
|
|
5911
|
+
Relationships: [{
|
|
5912
|
+
foreignKeyName: "invoice_run_items_booking_id_fkey";
|
|
5913
|
+
columns: ["booking_id"];
|
|
5914
|
+
isOneToOne: false;
|
|
5915
|
+
referencedRelation: "bookings";
|
|
5916
|
+
referencedColumns: ["id"];
|
|
5917
|
+
}, {
|
|
5918
|
+
foreignKeyName: "invoice_run_items_invoice_run_id_fkey";
|
|
5919
|
+
columns: ["invoice_run_id"];
|
|
5920
|
+
isOneToOne: false;
|
|
5921
|
+
referencedRelation: "invoice_runs";
|
|
5922
|
+
referencedColumns: ["id"];
|
|
5923
|
+
}];
|
|
5924
|
+
};
|
|
5925
|
+
invoice_runs: {
|
|
5926
|
+
Row: {
|
|
5927
|
+
created_at: string;
|
|
5928
|
+
created_by: string | null;
|
|
5929
|
+
id: string;
|
|
5930
|
+
period_end: string;
|
|
5931
|
+
period_start: string;
|
|
5932
|
+
status: string;
|
|
5933
|
+
total_excl_vat: number | null;
|
|
5934
|
+
total_incl_vat: number | null;
|
|
5935
|
+
vat_amount: number | null;
|
|
5936
|
+
};
|
|
5937
|
+
Insert: {
|
|
5938
|
+
created_at?: string;
|
|
5939
|
+
created_by?: string | null;
|
|
5940
|
+
id?: string;
|
|
5941
|
+
period_end: string;
|
|
5942
|
+
period_start: string;
|
|
5943
|
+
status?: string;
|
|
5944
|
+
total_excl_vat?: number | null;
|
|
5945
|
+
total_incl_vat?: number | null;
|
|
5946
|
+
vat_amount?: number | null;
|
|
5947
|
+
};
|
|
5948
|
+
Update: {
|
|
5949
|
+
created_at?: string;
|
|
5950
|
+
created_by?: string | null;
|
|
5951
|
+
id?: string;
|
|
5952
|
+
period_end?: string;
|
|
5953
|
+
period_start?: string;
|
|
5954
|
+
status?: string;
|
|
5955
|
+
total_excl_vat?: number | null;
|
|
5956
|
+
total_incl_vat?: number | null;
|
|
5957
|
+
vat_amount?: number | null;
|
|
5958
|
+
};
|
|
5959
|
+
Relationships: [];
|
|
5960
|
+
};
|
|
5961
|
+
itk_contact_persons: {
|
|
5962
|
+
Row: {
|
|
5963
|
+
created_at: string;
|
|
5964
|
+
customer_id: string;
|
|
5965
|
+
email: string | null;
|
|
5966
|
+
id: string;
|
|
5967
|
+
name: string;
|
|
5968
|
+
phone: string | null;
|
|
5969
|
+
role: string | null;
|
|
5970
|
+
updated_at: string;
|
|
5971
|
+
};
|
|
5972
|
+
Insert: {
|
|
5973
|
+
created_at?: string;
|
|
5974
|
+
customer_id: string;
|
|
5975
|
+
email?: string | null;
|
|
5976
|
+
id?: string;
|
|
5977
|
+
name: string;
|
|
5978
|
+
phone?: string | null;
|
|
5979
|
+
role?: string | null;
|
|
5980
|
+
updated_at?: string;
|
|
5981
|
+
};
|
|
5982
|
+
Update: {
|
|
5983
|
+
created_at?: string;
|
|
5984
|
+
customer_id?: string;
|
|
5985
|
+
email?: string | null;
|
|
5986
|
+
id?: string;
|
|
5987
|
+
name?: string;
|
|
5988
|
+
phone?: string | null;
|
|
5989
|
+
role?: string | null;
|
|
5990
|
+
updated_at?: string;
|
|
5991
|
+
};
|
|
5992
|
+
Relationships: [{
|
|
5993
|
+
foreignKeyName: "itk_contact_persons_customer_id_fkey";
|
|
5994
|
+
columns: ["customer_id"];
|
|
5995
|
+
isOneToOne: false;
|
|
5996
|
+
referencedRelation: "itk_customers";
|
|
5997
|
+
referencedColumns: ["id"];
|
|
5998
|
+
}];
|
|
5999
|
+
};
|
|
6000
|
+
itk_customer_dynamic_values: {
|
|
6001
|
+
Row: {
|
|
6002
|
+
created_at: string;
|
|
6003
|
+
customer_id: string;
|
|
6004
|
+
field_id: string;
|
|
6005
|
+
id: string;
|
|
6006
|
+
updated_at: string;
|
|
6007
|
+
value: string | null;
|
|
6008
|
+
};
|
|
6009
|
+
Insert: {
|
|
6010
|
+
created_at?: string;
|
|
6011
|
+
customer_id: string;
|
|
6012
|
+
field_id: string;
|
|
6013
|
+
id?: string;
|
|
6014
|
+
updated_at?: string;
|
|
6015
|
+
value?: string | null;
|
|
6016
|
+
};
|
|
6017
|
+
Update: {
|
|
6018
|
+
created_at?: string;
|
|
6019
|
+
customer_id?: string;
|
|
6020
|
+
field_id?: string;
|
|
6021
|
+
id?: string;
|
|
6022
|
+
updated_at?: string;
|
|
6023
|
+
value?: string | null;
|
|
6024
|
+
};
|
|
6025
|
+
Relationships: [{
|
|
6026
|
+
foreignKeyName: "itk_customer_dynamic_values_customer_id_fkey";
|
|
6027
|
+
columns: ["customer_id"];
|
|
6028
|
+
isOneToOne: false;
|
|
6029
|
+
referencedRelation: "itk_customers";
|
|
6030
|
+
referencedColumns: ["id"];
|
|
6031
|
+
}, {
|
|
6032
|
+
foreignKeyName: "itk_customer_dynamic_values_field_id_fkey";
|
|
6033
|
+
columns: ["field_id"];
|
|
6034
|
+
isOneToOne: false;
|
|
6035
|
+
referencedRelation: "itk_dynamic_fields";
|
|
6036
|
+
referencedColumns: ["id"];
|
|
6037
|
+
}];
|
|
6038
|
+
};
|
|
6039
|
+
itk_customer_notes: {
|
|
6040
|
+
Row: {
|
|
6041
|
+
body: string;
|
|
6042
|
+
created_at: string;
|
|
6043
|
+
created_by: string | null;
|
|
6044
|
+
customer_id: string;
|
|
6045
|
+
id: string;
|
|
6046
|
+
note_type: string;
|
|
6047
|
+
updated_at: string;
|
|
6048
|
+
};
|
|
6049
|
+
Insert: {
|
|
6050
|
+
body: string;
|
|
6051
|
+
created_at?: string;
|
|
6052
|
+
created_by?: string | null;
|
|
6053
|
+
customer_id: string;
|
|
6054
|
+
id?: string;
|
|
6055
|
+
note_type?: string;
|
|
6056
|
+
updated_at?: string;
|
|
6057
|
+
};
|
|
6058
|
+
Update: {
|
|
6059
|
+
body?: string;
|
|
6060
|
+
created_at?: string;
|
|
6061
|
+
created_by?: string | null;
|
|
6062
|
+
customer_id?: string;
|
|
6063
|
+
id?: string;
|
|
6064
|
+
note_type?: string;
|
|
6065
|
+
updated_at?: string;
|
|
6066
|
+
};
|
|
6067
|
+
Relationships: [{
|
|
6068
|
+
foreignKeyName: "itk_customer_notes_customer_id_fkey";
|
|
6069
|
+
columns: ["customer_id"];
|
|
6070
|
+
isOneToOne: false;
|
|
6071
|
+
referencedRelation: "itk_customers";
|
|
6072
|
+
referencedColumns: ["id"];
|
|
6073
|
+
}];
|
|
6074
|
+
};
|
|
6075
|
+
itk_customers: {
|
|
6076
|
+
Row: {
|
|
6077
|
+
billing_city: string | null;
|
|
6078
|
+
billing_postcode: string | null;
|
|
6079
|
+
billing_street: string | null;
|
|
6080
|
+
created_at: string;
|
|
6081
|
+
general_email: string | null;
|
|
6082
|
+
general_phone: string | null;
|
|
6083
|
+
id: string;
|
|
6084
|
+
legacy_customer_id: string | null;
|
|
6085
|
+
name: string;
|
|
6086
|
+
segment: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
|
|
6087
|
+
updated_at: string;
|
|
6088
|
+
};
|
|
6089
|
+
Insert: {
|
|
6090
|
+
billing_city?: string | null;
|
|
6091
|
+
billing_postcode?: string | null;
|
|
6092
|
+
billing_street?: string | null;
|
|
6093
|
+
created_at?: string;
|
|
6094
|
+
general_email?: string | null;
|
|
6095
|
+
general_phone?: string | null;
|
|
6096
|
+
id?: string;
|
|
6097
|
+
legacy_customer_id?: string | null;
|
|
6098
|
+
name: string;
|
|
6099
|
+
segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
|
|
6100
|
+
updated_at?: string;
|
|
6101
|
+
};
|
|
6102
|
+
Update: {
|
|
6103
|
+
billing_city?: string | null;
|
|
6104
|
+
billing_postcode?: string | null;
|
|
6105
|
+
billing_street?: string | null;
|
|
6106
|
+
created_at?: string;
|
|
6107
|
+
general_email?: string | null;
|
|
6108
|
+
general_phone?: string | null;
|
|
6109
|
+
id?: string;
|
|
6110
|
+
legacy_customer_id?: string | null;
|
|
6111
|
+
name?: string;
|
|
6112
|
+
segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
|
|
6113
|
+
updated_at?: string;
|
|
6114
|
+
};
|
|
6115
|
+
Relationships: [{
|
|
6116
|
+
foreignKeyName: "itk_customers_legacy_customer_id_fkey";
|
|
6117
|
+
columns: ["legacy_customer_id"];
|
|
6118
|
+
isOneToOne: false;
|
|
6119
|
+
referencedRelation: "customers";
|
|
6120
|
+
referencedColumns: ["id"];
|
|
6121
|
+
}];
|
|
5336
6122
|
};
|
|
5337
|
-
|
|
6123
|
+
itk_dynamic_fields: {
|
|
5338
6124
|
Row: {
|
|
5339
|
-
connection_id: string | null;
|
|
5340
6125
|
created_at: string;
|
|
5341
|
-
|
|
5342
|
-
|
|
6126
|
+
field_name: string;
|
|
6127
|
+
field_type: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_dynamic_field_type"];
|
|
5343
6128
|
id: string;
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
payload: import("../integrations/supabase/types").Json;
|
|
5347
|
-
provider_id: string;
|
|
5348
|
-
queue_id: string | null;
|
|
5349
|
-
status: string;
|
|
6129
|
+
options: import("../integrations/supabase/types").Json;
|
|
6130
|
+
sort_order: number;
|
|
5350
6131
|
updated_at: string;
|
|
5351
6132
|
};
|
|
5352
6133
|
Insert: {
|
|
5353
|
-
connection_id?: string | null;
|
|
5354
6134
|
created_at?: string;
|
|
5355
|
-
|
|
5356
|
-
|
|
6135
|
+
field_name: string;
|
|
6136
|
+
field_type?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_dynamic_field_type"];
|
|
5357
6137
|
id?: string;
|
|
5358
|
-
|
|
5359
|
-
|
|
5360
|
-
payload?: import("../integrations/supabase/types").Json;
|
|
5361
|
-
provider_id: string;
|
|
5362
|
-
queue_id?: string | null;
|
|
5363
|
-
status?: string;
|
|
6138
|
+
options?: import("../integrations/supabase/types").Json;
|
|
6139
|
+
sort_order?: number;
|
|
5364
6140
|
updated_at?: string;
|
|
5365
6141
|
};
|
|
5366
6142
|
Update: {
|
|
5367
|
-
connection_id?: string | null;
|
|
5368
6143
|
created_at?: string;
|
|
5369
|
-
|
|
5370
|
-
|
|
6144
|
+
field_name?: string;
|
|
6145
|
+
field_type?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_dynamic_field_type"];
|
|
5371
6146
|
id?: string;
|
|
5372
|
-
|
|
5373
|
-
|
|
5374
|
-
payload?: import("../integrations/supabase/types").Json;
|
|
5375
|
-
provider_id?: string;
|
|
5376
|
-
queue_id?: string | null;
|
|
5377
|
-
status?: string;
|
|
6147
|
+
options?: import("../integrations/supabase/types").Json;
|
|
6148
|
+
sort_order?: number;
|
|
5378
6149
|
updated_at?: string;
|
|
5379
6150
|
};
|
|
5380
|
-
Relationships: [
|
|
5381
|
-
foreignKeyName: "invoice_push_log_provider_id_fkey";
|
|
5382
|
-
columns: ["provider_id"];
|
|
5383
|
-
isOneToOne: false;
|
|
5384
|
-
referencedRelation: "external_invoice_providers";
|
|
5385
|
-
referencedColumns: ["provider"];
|
|
5386
|
-
}];
|
|
6151
|
+
Relationships: [];
|
|
5387
6152
|
};
|
|
5388
|
-
|
|
6153
|
+
itk_work_locations: {
|
|
5389
6154
|
Row: {
|
|
5390
|
-
|
|
5391
|
-
company_name: string | null;
|
|
6155
|
+
city: string | null;
|
|
5392
6156
|
created_at: string;
|
|
5393
|
-
|
|
5394
|
-
description: string | null;
|
|
5395
|
-
exact_article_id: string | null;
|
|
6157
|
+
customer_id: string;
|
|
5396
6158
|
id: string;
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
6159
|
+
instructions: string | null;
|
|
6160
|
+
label: string;
|
|
6161
|
+
latitude: number | null;
|
|
6162
|
+
longitude: number | null;
|
|
6163
|
+
postcode: string | null;
|
|
6164
|
+
street: string | null;
|
|
6165
|
+
updated_at: string;
|
|
5403
6166
|
};
|
|
5404
6167
|
Insert: {
|
|
5405
|
-
|
|
5406
|
-
company_name?: string | null;
|
|
6168
|
+
city?: string | null;
|
|
5407
6169
|
created_at?: string;
|
|
5408
|
-
|
|
5409
|
-
description?: string | null;
|
|
5410
|
-
exact_article_id?: string | null;
|
|
6170
|
+
customer_id: string;
|
|
5411
6171
|
id?: string;
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
|
|
6172
|
+
instructions?: string | null;
|
|
6173
|
+
label: string;
|
|
6174
|
+
latitude?: number | null;
|
|
6175
|
+
longitude?: number | null;
|
|
6176
|
+
postcode?: string | null;
|
|
6177
|
+
street?: string | null;
|
|
6178
|
+
updated_at?: string;
|
|
5418
6179
|
};
|
|
5419
6180
|
Update: {
|
|
5420
|
-
|
|
5421
|
-
company_name?: string | null;
|
|
6181
|
+
city?: string | null;
|
|
5422
6182
|
created_at?: string;
|
|
5423
|
-
|
|
5424
|
-
description?: string | null;
|
|
5425
|
-
exact_article_id?: string | null;
|
|
6183
|
+
customer_id?: string;
|
|
5426
6184
|
id?: string;
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
6185
|
+
instructions?: string | null;
|
|
6186
|
+
label?: string;
|
|
6187
|
+
latitude?: number | null;
|
|
6188
|
+
longitude?: number | null;
|
|
6189
|
+
postcode?: string | null;
|
|
6190
|
+
street?: string | null;
|
|
6191
|
+
updated_at?: string;
|
|
5433
6192
|
};
|
|
5434
6193
|
Relationships: [{
|
|
5435
|
-
foreignKeyName: "
|
|
5436
|
-
columns: ["
|
|
5437
|
-
isOneToOne: false;
|
|
5438
|
-
referencedRelation: "bookings";
|
|
5439
|
-
referencedColumns: ["id"];
|
|
5440
|
-
}, {
|
|
5441
|
-
foreignKeyName: "invoice_run_items_invoice_run_id_fkey";
|
|
5442
|
-
columns: ["invoice_run_id"];
|
|
6194
|
+
foreignKeyName: "itk_work_locations_customer_id_fkey";
|
|
6195
|
+
columns: ["customer_id"];
|
|
5443
6196
|
isOneToOne: false;
|
|
5444
|
-
referencedRelation: "
|
|
6197
|
+
referencedRelation: "itk_customers";
|
|
5445
6198
|
referencedColumns: ["id"];
|
|
5446
6199
|
}];
|
|
5447
6200
|
};
|
|
5448
|
-
|
|
6201
|
+
leave_requests: {
|
|
5449
6202
|
Row: {
|
|
5450
6203
|
created_at: string;
|
|
5451
|
-
|
|
6204
|
+
end_date: string;
|
|
5452
6205
|
id: string;
|
|
5453
|
-
|
|
5454
|
-
|
|
6206
|
+
reason: string | null;
|
|
6207
|
+
start_date: string;
|
|
5455
6208
|
status: string;
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
6209
|
+
tenant_id: string;
|
|
6210
|
+
updated_at: string;
|
|
6211
|
+
user_id: string;
|
|
5459
6212
|
};
|
|
5460
6213
|
Insert: {
|
|
5461
6214
|
created_at?: string;
|
|
5462
|
-
|
|
6215
|
+
end_date: string;
|
|
5463
6216
|
id?: string;
|
|
5464
|
-
|
|
5465
|
-
|
|
6217
|
+
reason?: string | null;
|
|
6218
|
+
start_date: string;
|
|
5466
6219
|
status?: string;
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
6220
|
+
tenant_id?: string;
|
|
6221
|
+
updated_at?: string;
|
|
6222
|
+
user_id: string;
|
|
5470
6223
|
};
|
|
5471
6224
|
Update: {
|
|
5472
6225
|
created_at?: string;
|
|
5473
|
-
|
|
6226
|
+
end_date?: string;
|
|
5474
6227
|
id?: string;
|
|
5475
|
-
|
|
5476
|
-
|
|
6228
|
+
reason?: string | null;
|
|
6229
|
+
start_date?: string;
|
|
5477
6230
|
status?: string;
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
6231
|
+
tenant_id?: string;
|
|
6232
|
+
updated_at?: string;
|
|
6233
|
+
user_id?: string;
|
|
5481
6234
|
};
|
|
5482
|
-
Relationships: [
|
|
6235
|
+
Relationships: [{
|
|
6236
|
+
foreignKeyName: "leave_requests_user_id_fkey";
|
|
6237
|
+
columns: ["user_id"];
|
|
6238
|
+
isOneToOne: false;
|
|
6239
|
+
referencedRelation: "monteurs";
|
|
6240
|
+
referencedColumns: ["id"];
|
|
6241
|
+
}];
|
|
5483
6242
|
};
|
|
5484
6243
|
local_customer_agreements: {
|
|
5485
6244
|
Row: {
|
|
@@ -6098,60 +6857,66 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
6098
6857
|
};
|
|
6099
6858
|
manufacture_products: {
|
|
6100
6859
|
Row: {
|
|
6101
|
-
aantal_te_produceren: number;
|
|
6102
6860
|
created_at: string;
|
|
6103
6861
|
description: string | null;
|
|
6104
6862
|
id: string;
|
|
6105
6863
|
is_active: boolean;
|
|
6106
|
-
location_id: string | null;
|
|
6107
6864
|
name: string;
|
|
6108
|
-
partij_nummer: string | null;
|
|
6109
|
-
photos: import("../integrations/supabase/types").Json;
|
|
6110
6865
|
produced_stock: number;
|
|
6111
6866
|
product_code: string;
|
|
6112
6867
|
tenant_id: string;
|
|
6113
|
-
unit: string;
|
|
6114
6868
|
updated_at: string;
|
|
6115
6869
|
};
|
|
6116
6870
|
Insert: {
|
|
6117
|
-
aantal_te_produceren?: number;
|
|
6118
6871
|
created_at?: string;
|
|
6119
6872
|
description?: string | null;
|
|
6120
6873
|
id?: string;
|
|
6121
6874
|
is_active?: boolean;
|
|
6122
|
-
location_id?: string | null;
|
|
6123
6875
|
name: string;
|
|
6124
|
-
partij_nummer?: string | null;
|
|
6125
|
-
photos?: import("../integrations/supabase/types").Json;
|
|
6126
6876
|
produced_stock?: number;
|
|
6127
6877
|
product_code: string;
|
|
6128
6878
|
tenant_id: string;
|
|
6129
|
-
unit?: string;
|
|
6130
6879
|
updated_at?: string;
|
|
6131
6880
|
};
|
|
6132
6881
|
Update: {
|
|
6133
|
-
aantal_te_produceren?: number;
|
|
6134
6882
|
created_at?: string;
|
|
6135
6883
|
description?: string | null;
|
|
6136
6884
|
id?: string;
|
|
6137
6885
|
is_active?: boolean;
|
|
6138
|
-
location_id?: string | null;
|
|
6139
6886
|
name?: string;
|
|
6140
|
-
partij_nummer?: string | null;
|
|
6141
|
-
photos?: import("../integrations/supabase/types").Json;
|
|
6142
6887
|
produced_stock?: number;
|
|
6143
6888
|
product_code?: string;
|
|
6144
6889
|
tenant_id?: string;
|
|
6145
|
-
unit?: string;
|
|
6146
6890
|
updated_at?: string;
|
|
6147
6891
|
};
|
|
6148
|
-
Relationships: [
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
|
|
6153
|
-
|
|
6154
|
-
|
|
6892
|
+
Relationships: [];
|
|
6893
|
+
};
|
|
6894
|
+
module_permissions: {
|
|
6895
|
+
Row: {
|
|
6896
|
+
created_at: string;
|
|
6897
|
+
id: string;
|
|
6898
|
+
module_id: string;
|
|
6899
|
+
permission: string;
|
|
6900
|
+
role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
6901
|
+
updated_at: string;
|
|
6902
|
+
};
|
|
6903
|
+
Insert: {
|
|
6904
|
+
created_at?: string;
|
|
6905
|
+
id?: string;
|
|
6906
|
+
module_id: string;
|
|
6907
|
+
permission: string;
|
|
6908
|
+
role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
6909
|
+
updated_at?: string;
|
|
6910
|
+
};
|
|
6911
|
+
Update: {
|
|
6912
|
+
created_at?: string;
|
|
6913
|
+
id?: string;
|
|
6914
|
+
module_id?: string;
|
|
6915
|
+
permission?: string;
|
|
6916
|
+
role?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
6917
|
+
updated_at?: string;
|
|
6918
|
+
};
|
|
6919
|
+
Relationships: [];
|
|
6155
6920
|
};
|
|
6156
6921
|
monteurs: {
|
|
6157
6922
|
Row: {
|
|
@@ -6882,6 +7647,42 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
6882
7647
|
};
|
|
6883
7648
|
Relationships: [];
|
|
6884
7649
|
};
|
|
7650
|
+
order_buffers: {
|
|
7651
|
+
Row: {
|
|
7652
|
+
buffer_key: string;
|
|
7653
|
+
created_at: string;
|
|
7654
|
+
customer_id: string | null;
|
|
7655
|
+
grouping_mode: string;
|
|
7656
|
+
id: string;
|
|
7657
|
+
pickup_date: string | null;
|
|
7658
|
+
pickup_location: string | null;
|
|
7659
|
+
plan_locked_at: string | null;
|
|
7660
|
+
updated_at: string;
|
|
7661
|
+
};
|
|
7662
|
+
Insert: {
|
|
7663
|
+
buffer_key: string;
|
|
7664
|
+
created_at?: string;
|
|
7665
|
+
customer_id?: string | null;
|
|
7666
|
+
grouping_mode: string;
|
|
7667
|
+
id?: string;
|
|
7668
|
+
pickup_date?: string | null;
|
|
7669
|
+
pickup_location?: string | null;
|
|
7670
|
+
plan_locked_at?: string | null;
|
|
7671
|
+
updated_at?: string;
|
|
7672
|
+
};
|
|
7673
|
+
Update: {
|
|
7674
|
+
buffer_key?: string;
|
|
7675
|
+
created_at?: string;
|
|
7676
|
+
customer_id?: string | null;
|
|
7677
|
+
grouping_mode?: string;
|
|
7678
|
+
id?: string;
|
|
7679
|
+
pickup_date?: string | null;
|
|
7680
|
+
pickup_location?: string | null;
|
|
7681
|
+
plan_locked_at?: string | null;
|
|
7682
|
+
updated_at?: string;
|
|
7683
|
+
};
|
|
7684
|
+
Relationships: [];
|
|
7685
|
+
};
|
|
6885
7686
|
order_cart_items: {
|
|
6886
7687
|
Row: {
|
|
6887
7688
|
cart_id: string;
|
|
@@ -6948,6 +7749,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
6948
7749
|
order_carts: {
|
|
6949
7750
|
Row: {
|
|
6950
7751
|
algorithm_version: number;
|
|
7752
|
+
buffer_id: string | null;
|
|
6951
7753
|
cart_number: number;
|
|
6952
7754
|
created_at: string;
|
|
6953
7755
|
id: string;
|
|
@@ -6955,13 +7757,14 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
6955
7757
|
is_complete: boolean;
|
|
6956
7758
|
notes: string | null;
|
|
6957
7759
|
occupancy_pct: number;
|
|
6958
|
-
order_id: string;
|
|
7760
|
+
order_id: string | null;
|
|
6959
7761
|
source: string;
|
|
6960
7762
|
total_layers_used: number;
|
|
6961
7763
|
updated_at: string;
|
|
6962
7764
|
};
|
|
6963
7765
|
Insert: {
|
|
6964
7766
|
algorithm_version?: number;
|
|
7767
|
+
buffer_id?: string | null;
|
|
6965
7768
|
cart_number: number;
|
|
6966
7769
|
created_at?: string;
|
|
6967
7770
|
id?: string;
|
|
@@ -6969,13 +7772,14 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
6969
7772
|
is_complete?: boolean;
|
|
6970
7773
|
notes?: string | null;
|
|
6971
7774
|
occupancy_pct?: number;
|
|
6972
|
-
order_id
|
|
7775
|
+
order_id?: string | null;
|
|
6973
7776
|
source?: string;
|
|
6974
7777
|
total_layers_used?: number;
|
|
6975
7778
|
updated_at?: string;
|
|
6976
7779
|
};
|
|
6977
7780
|
Update: {
|
|
6978
7781
|
algorithm_version?: number;
|
|
7782
|
+
buffer_id?: string | null;
|
|
6979
7783
|
cart_number?: number;
|
|
6980
7784
|
created_at?: string;
|
|
6981
7785
|
id?: string;
|
|
@@ -6983,12 +7787,18 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
6983
7787
|
is_complete?: boolean;
|
|
6984
7788
|
notes?: string | null;
|
|
6985
7789
|
occupancy_pct?: number;
|
|
6986
|
-
order_id?: string;
|
|
7790
|
+
order_id?: string | null;
|
|
6987
7791
|
source?: string;
|
|
6988
7792
|
total_layers_used?: number;
|
|
6989
7793
|
updated_at?: string;
|
|
6990
7794
|
};
|
|
6991
7795
|
Relationships: [{
|
|
7796
|
+
foreignKeyName: "order_carts_buffer_id_fkey";
|
|
7797
|
+
columns: ["buffer_id"];
|
|
7798
|
+
isOneToOne: false;
|
|
7799
|
+
referencedRelation: "order_buffers";
|
|
7800
|
+
referencedColumns: ["id"];
|
|
7801
|
+
}, {
|
|
6992
7802
|
foreignKeyName: "order_carts_order_id_fkey";
|
|
6993
7803
|
columns: ["order_id"];
|
|
6994
7804
|
isOneToOne: false;
|
|
@@ -7226,12 +8036,14 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7226
8036
|
};
|
|
7227
8037
|
orders: {
|
|
7228
8038
|
Row: {
|
|
8039
|
+
buffer_id: string | null;
|
|
7229
8040
|
created_at: string;
|
|
7230
8041
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
7231
8042
|
customer_id: string | null;
|
|
7232
8043
|
customer_name: string;
|
|
7233
8044
|
deleted_at: string | null;
|
|
7234
8045
|
delivery_date: string | null;
|
|
8046
|
+
floriday_sales_order_id: string | null;
|
|
7235
8047
|
id: string;
|
|
7236
8048
|
is_reservation: boolean;
|
|
7237
8049
|
notes: string | null;
|
|
@@ -7245,12 +8057,14 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7245
8057
|
updated_at: string;
|
|
7246
8058
|
};
|
|
7247
8059
|
Insert: {
|
|
8060
|
+
buffer_id?: string | null;
|
|
7248
8061
|
created_at?: string;
|
|
7249
8062
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
7250
8063
|
customer_id?: string | null;
|
|
7251
8064
|
customer_name?: string;
|
|
7252
8065
|
deleted_at?: string | null;
|
|
7253
8066
|
delivery_date?: string | null;
|
|
8067
|
+
floriday_sales_order_id?: string | null;
|
|
7254
8068
|
id?: string;
|
|
7255
8069
|
is_reservation?: boolean;
|
|
7256
8070
|
notes?: string | null;
|
|
@@ -7264,12 +8078,14 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7264
8078
|
updated_at?: string;
|
|
7265
8079
|
};
|
|
7266
8080
|
Update: {
|
|
8081
|
+
buffer_id?: string | null;
|
|
7267
8082
|
created_at?: string;
|
|
7268
8083
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
7269
8084
|
customer_id?: string | null;
|
|
7270
8085
|
customer_name?: string;
|
|
7271
8086
|
deleted_at?: string | null;
|
|
7272
8087
|
delivery_date?: string | null;
|
|
8088
|
+
floriday_sales_order_id?: string | null;
|
|
7273
8089
|
id?: string;
|
|
7274
8090
|
is_reservation?: boolean;
|
|
7275
8091
|
notes?: string | null;
|
|
@@ -7283,6 +8099,12 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7283
8099
|
updated_at?: string;
|
|
7284
8100
|
};
|
|
7285
8101
|
Relationships: [{
|
|
8102
|
+
foreignKeyName: "orders_buffer_id_fkey";
|
|
8103
|
+
columns: ["buffer_id"];
|
|
8104
|
+
isOneToOne: false;
|
|
8105
|
+
referencedRelation: "order_buffers";
|
|
8106
|
+
referencedColumns: ["id"];
|
|
8107
|
+
}, {
|
|
7286
8108
|
foreignKeyName: "orders_customer_id_fkey";
|
|
7287
8109
|
columns: ["customer_id"];
|
|
7288
8110
|
isOneToOne: false;
|
|
@@ -7413,63 +8235,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7413
8235
|
};
|
|
7414
8236
|
Relationships: [];
|
|
7415
8237
|
};
|
|
7416
|
-
product_bom_items: {
|
|
7417
|
-
Row: {
|
|
7418
|
-
component_product_id: string | null;
|
|
7419
|
-
component_trade_item_floriday_id: string | null;
|
|
7420
|
-
created_at: string;
|
|
7421
|
-
id: string;
|
|
7422
|
-
notes: string | null;
|
|
7423
|
-
parent_product_id: string | null;
|
|
7424
|
-
parent_trade_item_floriday_id: string | null;
|
|
7425
|
-
quantity: number;
|
|
7426
|
-
sort_order: number;
|
|
7427
|
-
tenant_id: string;
|
|
7428
|
-
unit: string;
|
|
7429
|
-
updated_at: string;
|
|
7430
|
-
};
|
|
7431
|
-
Insert: {
|
|
7432
|
-
component_product_id?: string | null;
|
|
7433
|
-
component_trade_item_floriday_id?: string | null;
|
|
7434
|
-
created_at?: string;
|
|
7435
|
-
id?: string;
|
|
7436
|
-
notes?: string | null;
|
|
7437
|
-
parent_product_id?: string | null;
|
|
7438
|
-
parent_trade_item_floriday_id?: string | null;
|
|
7439
|
-
quantity?: number;
|
|
7440
|
-
sort_order?: number;
|
|
7441
|
-
tenant_id: string;
|
|
7442
|
-
unit?: string;
|
|
7443
|
-
updated_at?: string;
|
|
7444
|
-
};
|
|
7445
|
-
Update: {
|
|
7446
|
-
component_product_id?: string | null;
|
|
7447
|
-
component_trade_item_floriday_id?: string | null;
|
|
7448
|
-
created_at?: string;
|
|
7449
|
-
id?: string;
|
|
7450
|
-
notes?: string | null;
|
|
7451
|
-
parent_product_id?: string | null;
|
|
7452
|
-
parent_trade_item_floriday_id?: string | null;
|
|
7453
|
-
quantity?: number;
|
|
7454
|
-
sort_order?: number;
|
|
7455
|
-
tenant_id?: string;
|
|
7456
|
-
unit?: string;
|
|
7457
|
-
updated_at?: string;
|
|
7458
|
-
};
|
|
7459
|
-
Relationships: [{
|
|
7460
|
-
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
7461
|
-
columns: ["component_product_id"];
|
|
7462
|
-
isOneToOne: false;
|
|
7463
|
-
referencedRelation: "products";
|
|
7464
|
-
referencedColumns: ["id"];
|
|
7465
|
-
}, {
|
|
7466
|
-
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
7467
|
-
columns: ["parent_product_id"];
|
|
7468
|
-
isOneToOne: false;
|
|
7469
|
-
referencedRelation: "products";
|
|
7470
|
-
referencedColumns: ["id"];
|
|
7471
|
-
}];
|
|
7472
|
-
};
|
|
7473
8238
|
product_categories: {
|
|
7474
8239
|
Row: {
|
|
7475
8240
|
color: string;
|
|
@@ -7575,7 +8340,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7575
8340
|
id: string;
|
|
7576
8341
|
product_group_id: string;
|
|
7577
8342
|
quantity: number;
|
|
7578
|
-
sort_order: number;
|
|
7579
8343
|
trade_item_id: string;
|
|
7580
8344
|
};
|
|
7581
8345
|
Insert: {
|
|
@@ -7583,7 +8347,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7583
8347
|
id?: string;
|
|
7584
8348
|
product_group_id: string;
|
|
7585
8349
|
quantity?: number;
|
|
7586
|
-
sort_order?: number;
|
|
7587
8350
|
trade_item_id: string;
|
|
7588
8351
|
};
|
|
7589
8352
|
Update: {
|
|
@@ -7591,7 +8354,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7591
8354
|
id?: string;
|
|
7592
8355
|
product_group_id?: string;
|
|
7593
8356
|
quantity?: number;
|
|
7594
|
-
sort_order?: number;
|
|
7595
8357
|
trade_item_id?: string;
|
|
7596
8358
|
};
|
|
7597
8359
|
Relationships: [{
|
|
@@ -7606,8 +8368,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7606
8368
|
Row: {
|
|
7607
8369
|
created_at: string;
|
|
7608
8370
|
description: string | null;
|
|
7609
|
-
head_product_id: string | null;
|
|
7610
|
-
head_trade_item_floriday_id: string | null;
|
|
7611
8371
|
id: string;
|
|
7612
8372
|
is_active: boolean;
|
|
7613
8373
|
name: string;
|
|
@@ -7617,8 +8377,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7617
8377
|
Insert: {
|
|
7618
8378
|
created_at?: string;
|
|
7619
8379
|
description?: string | null;
|
|
7620
|
-
head_product_id?: string | null;
|
|
7621
|
-
head_trade_item_floriday_id?: string | null;
|
|
7622
8380
|
id?: string;
|
|
7623
8381
|
is_active?: boolean;
|
|
7624
8382
|
name: string;
|
|
@@ -7628,130 +8386,24 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7628
8386
|
Update: {
|
|
7629
8387
|
created_at?: string;
|
|
7630
8388
|
description?: string | null;
|
|
7631
|
-
head_product_id?: string | null;
|
|
7632
|
-
head_trade_item_floriday_id?: string | null;
|
|
7633
8389
|
id?: string;
|
|
7634
8390
|
is_active?: boolean;
|
|
7635
8391
|
name?: string;
|
|
7636
8392
|
tenant_id?: string;
|
|
7637
8393
|
updated_at?: string;
|
|
7638
8394
|
};
|
|
7639
|
-
Relationships: [{
|
|
7640
|
-
foreignKeyName: "product_groups_head_product_id_fkey";
|
|
7641
|
-
columns: ["head_product_id"];
|
|
7642
|
-
isOneToOne: false;
|
|
7643
|
-
referencedRelation: "products";
|
|
7644
|
-
referencedColumns: ["id"];
|
|
7645
|
-
}];
|
|
7646
|
-
};
|
|
7647
|
-
product_load_settings: {
|
|
7648
|
-
Row: {
|
|
7649
|
-
created_at: string;
|
|
7650
|
-
id: string;
|
|
7651
|
-
is_package: boolean;
|
|
7652
|
-
layers_per_load_carrier: number | null;
|
|
7653
|
-
load_carrier: string | null;
|
|
7654
|
-
package_id: string | null;
|
|
7655
|
-
package_label: string | null;
|
|
7656
|
-
packages_per_layer: number | null;
|
|
7657
|
-
product_id: string | null;
|
|
7658
|
-
tenant_id: string;
|
|
7659
|
-
trade_item_floriday_id: string | null;
|
|
7660
|
-
units_per_package: number | null;
|
|
7661
|
-
updated_at: string;
|
|
7662
|
-
};
|
|
7663
|
-
Insert: {
|
|
7664
|
-
created_at?: string;
|
|
7665
|
-
id?: string;
|
|
7666
|
-
is_package?: boolean;
|
|
7667
|
-
layers_per_load_carrier?: number | null;
|
|
7668
|
-
load_carrier?: string | null;
|
|
7669
|
-
package_id?: string | null;
|
|
7670
|
-
package_label?: string | null;
|
|
7671
|
-
packages_per_layer?: number | null;
|
|
7672
|
-
product_id?: string | null;
|
|
7673
|
-
tenant_id: string;
|
|
7674
|
-
trade_item_floriday_id?: string | null;
|
|
7675
|
-
units_per_package?: number | null;
|
|
7676
|
-
updated_at?: string;
|
|
7677
|
-
};
|
|
7678
|
-
Update: {
|
|
7679
|
-
created_at?: string;
|
|
7680
|
-
id?: string;
|
|
7681
|
-
is_package?: boolean;
|
|
7682
|
-
layers_per_load_carrier?: number | null;
|
|
7683
|
-
load_carrier?: string | null;
|
|
7684
|
-
package_id?: string | null;
|
|
7685
|
-
package_label?: string | null;
|
|
7686
|
-
packages_per_layer?: number | null;
|
|
7687
|
-
product_id?: string | null;
|
|
7688
|
-
tenant_id?: string;
|
|
7689
|
-
trade_item_floriday_id?: string | null;
|
|
7690
|
-
units_per_package?: number | null;
|
|
7691
|
-
updated_at?: string;
|
|
7692
|
-
};
|
|
7693
|
-
Relationships: [{
|
|
7694
|
-
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
7695
|
-
columns: ["package_id"];
|
|
7696
|
-
isOneToOne: false;
|
|
7697
|
-
referencedRelation: "packages";
|
|
7698
|
-
referencedColumns: ["id"];
|
|
7699
|
-
}, {
|
|
7700
|
-
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
7701
|
-
columns: ["product_id"];
|
|
7702
|
-
isOneToOne: false;
|
|
7703
|
-
referencedRelation: "products";
|
|
7704
|
-
referencedColumns: ["id"];
|
|
7705
|
-
}];
|
|
7706
|
-
};
|
|
7707
|
-
product_merge_log: {
|
|
7708
|
-
Row: {
|
|
7709
|
-
canonical_product_id: string | null;
|
|
7710
|
-
id: string;
|
|
7711
|
-
merged_at: string;
|
|
7712
|
-
merged_from_id: string;
|
|
7713
|
-
notes: string | null;
|
|
7714
|
-
snapshot: import("../integrations/supabase/types").Json;
|
|
7715
|
-
source_table: string;
|
|
7716
|
-
status: string;
|
|
7717
|
-
};
|
|
7718
|
-
Insert: {
|
|
7719
|
-
canonical_product_id?: string | null;
|
|
7720
|
-
id?: string;
|
|
7721
|
-
merged_at?: string;
|
|
7722
|
-
merged_from_id: string;
|
|
7723
|
-
notes?: string | null;
|
|
7724
|
-
snapshot?: import("../integrations/supabase/types").Json;
|
|
7725
|
-
source_table: string;
|
|
7726
|
-
status?: string;
|
|
7727
|
-
};
|
|
7728
|
-
Update: {
|
|
7729
|
-
canonical_product_id?: string | null;
|
|
7730
|
-
id?: string;
|
|
7731
|
-
merged_at?: string;
|
|
7732
|
-
merged_from_id?: string;
|
|
7733
|
-
notes?: string | null;
|
|
7734
|
-
snapshot?: import("../integrations/supabase/types").Json;
|
|
7735
|
-
source_table?: string;
|
|
7736
|
-
status?: string;
|
|
7737
|
-
};
|
|
7738
8395
|
Relationships: [];
|
|
7739
8396
|
};
|
|
7740
8397
|
products: {
|
|
7741
8398
|
Row: {
|
|
7742
|
-
article_number: string | null;
|
|
7743
8399
|
barcode: string | null;
|
|
7744
8400
|
batch: string;
|
|
7745
8401
|
crates_per_layer: number;
|
|
7746
8402
|
created_at: string;
|
|
7747
8403
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
7748
|
-
floriday_active: boolean;
|
|
7749
|
-
floriday_payload: import("../integrations/supabase/types").Json;
|
|
7750
|
-
floriday_trade_item_id: string | null;
|
|
7751
8404
|
id: string;
|
|
7752
8405
|
image_url: string | null;
|
|
7753
8406
|
incoming_quantity: number;
|
|
7754
|
-
is_layer: boolean;
|
|
7755
8407
|
layers_per_cart: number;
|
|
7756
8408
|
location: string;
|
|
7757
8409
|
min_quantity: number;
|
|
@@ -7767,19 +8419,14 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7767
8419
|
weight: string | null;
|
|
7768
8420
|
};
|
|
7769
8421
|
Insert: {
|
|
7770
|
-
article_number?: string | null;
|
|
7771
8422
|
barcode?: string | null;
|
|
7772
8423
|
batch: string;
|
|
7773
8424
|
crates_per_layer?: number;
|
|
7774
8425
|
created_at?: string;
|
|
7775
8426
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
7776
|
-
floriday_active?: boolean;
|
|
7777
|
-
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
7778
|
-
floriday_trade_item_id?: string | null;
|
|
7779
8427
|
id?: string;
|
|
7780
8428
|
image_url?: string | null;
|
|
7781
8429
|
incoming_quantity?: number;
|
|
7782
|
-
is_layer?: boolean;
|
|
7783
8430
|
layers_per_cart?: number;
|
|
7784
8431
|
location: string;
|
|
7785
8432
|
min_quantity?: number;
|
|
@@ -7795,19 +8442,14 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7795
8442
|
weight?: string | null;
|
|
7796
8443
|
};
|
|
7797
8444
|
Update: {
|
|
7798
|
-
article_number?: string | null;
|
|
7799
8445
|
barcode?: string | null;
|
|
7800
8446
|
batch?: string;
|
|
7801
8447
|
crates_per_layer?: number;
|
|
7802
8448
|
created_at?: string;
|
|
7803
8449
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
7804
|
-
floriday_active?: boolean;
|
|
7805
|
-
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
7806
|
-
floriday_trade_item_id?: string | null;
|
|
7807
8450
|
id?: string;
|
|
7808
8451
|
image_url?: string | null;
|
|
7809
8452
|
incoming_quantity?: number;
|
|
7810
|
-
is_layer?: boolean;
|
|
7811
8453
|
layers_per_cart?: number;
|
|
7812
8454
|
location?: string;
|
|
7813
8455
|
min_quantity?: number;
|
|
@@ -8713,10 +9355,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
8713
9355
|
order_id: string | null;
|
|
8714
9356
|
order_item_id: string | null;
|
|
8715
9357
|
order_source: string | null;
|
|
8716
|
-
parent_trade_item_key: string | null;
|
|
8717
9358
|
physical_after: number | null;
|
|
8718
9359
|
physical_before: number | null;
|
|
8719
|
-
production_batch_id: string | null;
|
|
8720
9360
|
qty_delta: number;
|
|
8721
9361
|
reason: string | null;
|
|
8722
9362
|
reserved_after: number | null;
|
|
@@ -8732,10 +9372,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
8732
9372
|
order_id?: string | null;
|
|
8733
9373
|
order_item_id?: string | null;
|
|
8734
9374
|
order_source?: string | null;
|
|
8735
|
-
parent_trade_item_key?: string | null;
|
|
8736
9375
|
physical_after?: number | null;
|
|
8737
9376
|
physical_before?: number | null;
|
|
8738
|
-
production_batch_id?: string | null;
|
|
8739
9377
|
qty_delta: number;
|
|
8740
9378
|
reason?: string | null;
|
|
8741
9379
|
reserved_after?: number | null;
|
|
@@ -8751,10 +9389,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
8751
9389
|
order_id?: string | null;
|
|
8752
9390
|
order_item_id?: string | null;
|
|
8753
9391
|
order_source?: string | null;
|
|
8754
|
-
parent_trade_item_key?: string | null;
|
|
8755
9392
|
physical_after?: number | null;
|
|
8756
9393
|
physical_before?: number | null;
|
|
8757
|
-
production_batch_id?: string | null;
|
|
8758
9394
|
qty_delta?: number;
|
|
8759
9395
|
reason?: string | null;
|
|
8760
9396
|
reserved_after?: number | null;
|
|
@@ -8856,6 +9492,27 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
8856
9492
|
};
|
|
8857
9493
|
Relationships: [];
|
|
8858
9494
|
};
|
|
9495
|
+
technician_rates: {
|
|
9496
|
+
Row: {
|
|
9497
|
+
created_at: string;
|
|
9498
|
+
hourly_rate_cents: number;
|
|
9499
|
+
updated_at: string;
|
|
9500
|
+
user_id: string;
|
|
9501
|
+
};
|
|
9502
|
+
Insert: {
|
|
9503
|
+
created_at?: string;
|
|
9504
|
+
hourly_rate_cents?: number;
|
|
9505
|
+
updated_at?: string;
|
|
9506
|
+
user_id: string;
|
|
9507
|
+
};
|
|
9508
|
+
Update: {
|
|
9509
|
+
created_at?: string;
|
|
9510
|
+
hourly_rate_cents?: number;
|
|
9511
|
+
updated_at?: string;
|
|
9512
|
+
user_id?: string;
|
|
9513
|
+
};
|
|
9514
|
+
Relationships: [];
|
|
9515
|
+
};
|
|
8859
9516
|
tenants: {
|
|
8860
9517
|
Row: {
|
|
8861
9518
|
created_at: string;
|
|
@@ -9213,7 +9870,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
9213
9870
|
twinfield_connections: {
|
|
9214
9871
|
Row: {
|
|
9215
9872
|
access_token: string | null;
|
|
9216
|
-
client_id: string
|
|
9873
|
+
client_id: string;
|
|
9217
9874
|
client_secret: string | null;
|
|
9218
9875
|
cluster_uri: string | null;
|
|
9219
9876
|
company_code: string | null;
|
|
@@ -9225,7 +9882,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
9225
9882
|
is_active: boolean;
|
|
9226
9883
|
label: string | null;
|
|
9227
9884
|
office_code: string | null;
|
|
9228
|
-
redirect_uri: string
|
|
9885
|
+
redirect_uri: string;
|
|
9229
9886
|
refresh_token: string | null;
|
|
9230
9887
|
token_expires_at: string | null;
|
|
9231
9888
|
updated_at: string;
|
|
@@ -9233,7 +9890,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
9233
9890
|
};
|
|
9234
9891
|
Insert: {
|
|
9235
9892
|
access_token?: string | null;
|
|
9236
|
-
client_id
|
|
9893
|
+
client_id: string;
|
|
9237
9894
|
client_secret?: string | null;
|
|
9238
9895
|
cluster_uri?: string | null;
|
|
9239
9896
|
company_code?: string | null;
|
|
@@ -9245,7 +9902,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
9245
9902
|
is_active?: boolean;
|
|
9246
9903
|
label?: string | null;
|
|
9247
9904
|
office_code?: string | null;
|
|
9248
|
-
redirect_uri
|
|
9905
|
+
redirect_uri: string;
|
|
9249
9906
|
refresh_token?: string | null;
|
|
9250
9907
|
token_expires_at?: string | null;
|
|
9251
9908
|
updated_at?: string;
|
|
@@ -9253,7 +9910,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
9253
9910
|
};
|
|
9254
9911
|
Update: {
|
|
9255
9912
|
access_token?: string | null;
|
|
9256
|
-
client_id?: string
|
|
9913
|
+
client_id?: string;
|
|
9257
9914
|
client_secret?: string | null;
|
|
9258
9915
|
cluster_uri?: string | null;
|
|
9259
9916
|
company_code?: string | null;
|
|
@@ -9265,7 +9922,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
9265
9922
|
is_active?: boolean;
|
|
9266
9923
|
label?: string | null;
|
|
9267
9924
|
office_code?: string | null;
|
|
9268
|
-
redirect_uri?: string
|
|
9925
|
+
redirect_uri?: string;
|
|
9269
9926
|
refresh_token?: string | null;
|
|
9270
9927
|
token_expires_at?: string | null;
|
|
9271
9928
|
updated_at?: string;
|
|
@@ -9325,6 +9982,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
9325
9982
|
country: string | null;
|
|
9326
9983
|
created_at: string;
|
|
9327
9984
|
email: string | null;
|
|
9985
|
+
external_group_key: string | null;
|
|
9328
9986
|
id: string;
|
|
9329
9987
|
last_synced_at: string | null;
|
|
9330
9988
|
name: string;
|
|
@@ -9343,6 +10001,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
9343
10001
|
country?: string | null;
|
|
9344
10002
|
created_at?: string;
|
|
9345
10003
|
email?: string | null;
|
|
10004
|
+
external_group_key?: string | null;
|
|
9346
10005
|
id?: string;
|
|
9347
10006
|
last_synced_at?: string | null;
|
|
9348
10007
|
name: string;
|
|
@@ -9361,6 +10020,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
9361
10020
|
country?: string | null;
|
|
9362
10021
|
created_at?: string;
|
|
9363
10022
|
email?: string | null;
|
|
10023
|
+
external_group_key?: string | null;
|
|
9364
10024
|
id?: string;
|
|
9365
10025
|
last_synced_at?: string | null;
|
|
9366
10026
|
name?: string;
|
|
@@ -9525,6 +10185,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
9525
10185
|
twinfield_invoice_settings: {
|
|
9526
10186
|
Row: {
|
|
9527
10187
|
created_at: string;
|
|
10188
|
+
debtor_gl_account: string;
|
|
10189
|
+
default_credit_invoice_type: string | null;
|
|
9528
10190
|
default_gl_account: string;
|
|
9529
10191
|
default_invoice_type: string;
|
|
9530
10192
|
default_payment_term_days: number;
|
|
@@ -9533,11 +10195,15 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
9533
10195
|
invoice_enabled_fo: boolean;
|
|
9534
10196
|
invoice_enabled_ho: boolean;
|
|
9535
10197
|
invoice_enabled_mo: boolean;
|
|
10198
|
+
payment_gl_account: string;
|
|
10199
|
+
payment_journal_code: string;
|
|
9536
10200
|
updated_at: string;
|
|
9537
10201
|
user_id: string;
|
|
9538
10202
|
};
|
|
9539
10203
|
Insert: {
|
|
9540
10204
|
created_at?: string;
|
|
10205
|
+
debtor_gl_account?: string;
|
|
10206
|
+
default_credit_invoice_type?: string | null;
|
|
9541
10207
|
default_gl_account?: string;
|
|
9542
10208
|
default_invoice_type?: string;
|
|
9543
10209
|
default_payment_term_days?: number;
|
|
@@ -9546,11 +10212,15 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
9546
10212
|
invoice_enabled_fo?: boolean;
|
|
9547
10213
|
invoice_enabled_ho?: boolean;
|
|
9548
10214
|
invoice_enabled_mo?: boolean;
|
|
10215
|
+
payment_gl_account?: string;
|
|
10216
|
+
payment_journal_code?: string;
|
|
9549
10217
|
updated_at?: string;
|
|
9550
10218
|
user_id: string;
|
|
9551
10219
|
};
|
|
9552
10220
|
Update: {
|
|
9553
10221
|
created_at?: string;
|
|
10222
|
+
debtor_gl_account?: string;
|
|
10223
|
+
default_credit_invoice_type?: string | null;
|
|
9554
10224
|
default_gl_account?: string;
|
|
9555
10225
|
default_invoice_type?: string;
|
|
9556
10226
|
default_payment_term_days?: number;
|
|
@@ -9559,6 +10229,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
9559
10229
|
invoice_enabled_fo?: boolean;
|
|
9560
10230
|
invoice_enabled_ho?: boolean;
|
|
9561
10231
|
invoice_enabled_mo?: boolean;
|
|
10232
|
+
payment_gl_account?: string;
|
|
10233
|
+
payment_journal_code?: string;
|
|
9562
10234
|
updated_at?: string;
|
|
9563
10235
|
user_id?: string;
|
|
9564
10236
|
};
|
|
@@ -9779,43 +10451,49 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
9779
10451
|
};
|
|
9780
10452
|
twinfield_push_queue: {
|
|
9781
10453
|
Row: {
|
|
10454
|
+
action: string;
|
|
9782
10455
|
attempts: number;
|
|
9783
10456
|
connection_id: string;
|
|
9784
10457
|
created_at: string;
|
|
10458
|
+
customer_id: string | null;
|
|
9785
10459
|
external_id: string | null;
|
|
9786
10460
|
id: string;
|
|
9787
10461
|
idempotency_key: string;
|
|
9788
10462
|
last_error: string | null;
|
|
9789
10463
|
next_attempt_at: string;
|
|
9790
|
-
office_code: string;
|
|
10464
|
+
office_code: string | null;
|
|
9791
10465
|
payload: import("../integrations/supabase/types").Json;
|
|
9792
10466
|
status: string;
|
|
9793
10467
|
updated_at: string;
|
|
9794
10468
|
};
|
|
9795
10469
|
Insert: {
|
|
10470
|
+
action?: string;
|
|
9796
10471
|
attempts?: number;
|
|
9797
10472
|
connection_id: string;
|
|
9798
10473
|
created_at?: string;
|
|
10474
|
+
customer_id?: string | null;
|
|
9799
10475
|
external_id?: string | null;
|
|
9800
10476
|
id?: string;
|
|
9801
10477
|
idempotency_key: string;
|
|
9802
10478
|
last_error?: string | null;
|
|
9803
10479
|
next_attempt_at?: string;
|
|
9804
|
-
office_code
|
|
10480
|
+
office_code?: string | null;
|
|
9805
10481
|
payload: import("../integrations/supabase/types").Json;
|
|
9806
10482
|
status?: string;
|
|
9807
10483
|
updated_at?: string;
|
|
9808
10484
|
};
|
|
9809
10485
|
Update: {
|
|
10486
|
+
action?: string;
|
|
9810
10487
|
attempts?: number;
|
|
9811
10488
|
connection_id?: string;
|
|
9812
10489
|
created_at?: string;
|
|
10490
|
+
customer_id?: string | null;
|
|
9813
10491
|
external_id?: string | null;
|
|
9814
10492
|
id?: string;
|
|
9815
10493
|
idempotency_key?: string;
|
|
9816
10494
|
last_error?: string | null;
|
|
9817
10495
|
next_attempt_at?: string;
|
|
9818
|
-
office_code?: string;
|
|
10496
|
+
office_code?: string | null;
|
|
9819
10497
|
payload?: import("../integrations/supabase/types").Json;
|
|
9820
10498
|
status?: string;
|
|
9821
10499
|
updated_at?: string;
|
|
@@ -9826,6 +10504,12 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
9826
10504
|
isOneToOne: false;
|
|
9827
10505
|
referencedRelation: "twinfield_connections";
|
|
9828
10506
|
referencedColumns: ["id"];
|
|
10507
|
+
}, {
|
|
10508
|
+
foreignKeyName: "twinfield_push_queue_customer_id_fkey";
|
|
10509
|
+
columns: ["customer_id"];
|
|
10510
|
+
isOneToOne: false;
|
|
10511
|
+
referencedRelation: "customers";
|
|
10512
|
+
referencedColumns: ["id"];
|
|
9829
10513
|
}];
|
|
9830
10514
|
};
|
|
9831
10515
|
twinfield_request_metrics: {
|
|
@@ -10034,72 +10718,318 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
10034
10718
|
size_bytes?: number | null;
|
|
10035
10719
|
};
|
|
10036
10720
|
Update: {
|
|
10037
|
-
action?: string;
|
|
10038
|
-
attempt_number?: number;
|
|
10039
|
-
caller?: string;
|
|
10040
|
-
client_user_id?: string | null;
|
|
10041
|
-
content_type?: string | null;
|
|
10721
|
+
action?: string;
|
|
10722
|
+
attempt_number?: number;
|
|
10723
|
+
caller?: string;
|
|
10724
|
+
client_user_id?: string | null;
|
|
10725
|
+
content_type?: string | null;
|
|
10726
|
+
created_at?: string;
|
|
10727
|
+
environment?: string;
|
|
10728
|
+
error_message?: string | null;
|
|
10729
|
+
filename?: string | null;
|
|
10730
|
+
id?: string;
|
|
10731
|
+
idempotency_key?: string | null;
|
|
10732
|
+
module?: string;
|
|
10733
|
+
path?: string;
|
|
10734
|
+
reference_id?: string | null;
|
|
10735
|
+
request_body_hash?: string | null;
|
|
10736
|
+
request_timestamp?: number | null;
|
|
10737
|
+
response_content_type?: string | null;
|
|
10738
|
+
response_status?: number | null;
|
|
10739
|
+
size_bytes?: number | null;
|
|
10740
|
+
};
|
|
10741
|
+
Relationships: [];
|
|
10742
|
+
};
|
|
10743
|
+
voorraad_publish_attempts: {
|
|
10744
|
+
Row: {
|
|
10745
|
+
action: string;
|
|
10746
|
+
connection_id: string | null;
|
|
10747
|
+
created_at: string;
|
|
10748
|
+
error: string | null;
|
|
10749
|
+
gateway_attempt_id: string | null;
|
|
10750
|
+
gateway_status: number | null;
|
|
10751
|
+
id: string;
|
|
10752
|
+
intent: string;
|
|
10753
|
+
ok: boolean;
|
|
10754
|
+
request_summary: import("../integrations/supabase/types").Json | null;
|
|
10755
|
+
trade_item_id: string | null;
|
|
10756
|
+
user_id: string;
|
|
10757
|
+
};
|
|
10758
|
+
Insert: {
|
|
10759
|
+
action: string;
|
|
10760
|
+
connection_id?: string | null;
|
|
10761
|
+
created_at?: string;
|
|
10762
|
+
error?: string | null;
|
|
10763
|
+
gateway_attempt_id?: string | null;
|
|
10764
|
+
gateway_status?: number | null;
|
|
10765
|
+
id?: string;
|
|
10766
|
+
intent: string;
|
|
10767
|
+
ok: boolean;
|
|
10768
|
+
request_summary?: import("../integrations/supabase/types").Json | null;
|
|
10769
|
+
trade_item_id?: string | null;
|
|
10770
|
+
user_id: string;
|
|
10771
|
+
};
|
|
10772
|
+
Update: {
|
|
10773
|
+
action?: string;
|
|
10774
|
+
connection_id?: string | null;
|
|
10775
|
+
created_at?: string;
|
|
10776
|
+
error?: string | null;
|
|
10777
|
+
gateway_attempt_id?: string | null;
|
|
10778
|
+
gateway_status?: number | null;
|
|
10779
|
+
id?: string;
|
|
10780
|
+
intent?: string;
|
|
10781
|
+
ok?: boolean;
|
|
10782
|
+
request_summary?: import("../integrations/supabase/types").Json | null;
|
|
10783
|
+
trade_item_id?: string | null;
|
|
10784
|
+
user_id?: string;
|
|
10785
|
+
};
|
|
10786
|
+
Relationships: [];
|
|
10787
|
+
};
|
|
10788
|
+
werkbon_package_lines: {
|
|
10789
|
+
Row: {
|
|
10790
|
+
created_at: string;
|
|
10791
|
+
created_by: string | null;
|
|
10792
|
+
id: string;
|
|
10793
|
+
package_id: string;
|
|
10794
|
+
quantity: number;
|
|
10795
|
+
unit_price_cents_snapshot: number;
|
|
10796
|
+
werkbon_id: string;
|
|
10797
|
+
};
|
|
10798
|
+
Insert: {
|
|
10799
|
+
created_at?: string;
|
|
10800
|
+
created_by?: string | null;
|
|
10801
|
+
id?: string;
|
|
10802
|
+
package_id: string;
|
|
10803
|
+
quantity?: number;
|
|
10804
|
+
unit_price_cents_snapshot?: number;
|
|
10805
|
+
werkbon_id: string;
|
|
10806
|
+
};
|
|
10807
|
+
Update: {
|
|
10808
|
+
created_at?: string;
|
|
10809
|
+
created_by?: string | null;
|
|
10810
|
+
id?: string;
|
|
10811
|
+
package_id?: string;
|
|
10812
|
+
quantity?: number;
|
|
10813
|
+
unit_price_cents_snapshot?: number;
|
|
10814
|
+
werkbon_id?: string;
|
|
10815
|
+
};
|
|
10816
|
+
Relationships: [{
|
|
10817
|
+
foreignKeyName: "werkbon_package_lines_package_id_fkey";
|
|
10818
|
+
columns: ["package_id"];
|
|
10819
|
+
isOneToOne: false;
|
|
10820
|
+
referencedRelation: "werkbon_packages";
|
|
10821
|
+
referencedColumns: ["id"];
|
|
10822
|
+
}, {
|
|
10823
|
+
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
10824
|
+
columns: ["werkbon_id"];
|
|
10825
|
+
isOneToOne: false;
|
|
10826
|
+
referencedRelation: "werkbonnen";
|
|
10827
|
+
referencedColumns: ["id"];
|
|
10828
|
+
}];
|
|
10829
|
+
};
|
|
10830
|
+
werkbon_packages: {
|
|
10831
|
+
Row: {
|
|
10832
|
+
active: boolean;
|
|
10833
|
+
code: string;
|
|
10834
|
+
created_at: string;
|
|
10835
|
+
default_quantity: number;
|
|
10836
|
+
description: string | null;
|
|
10837
|
+
id: string;
|
|
10838
|
+
name: string;
|
|
10839
|
+
unit_price_cents: number;
|
|
10840
|
+
updated_at: string;
|
|
10841
|
+
};
|
|
10842
|
+
Insert: {
|
|
10843
|
+
active?: boolean;
|
|
10844
|
+
code: string;
|
|
10845
|
+
created_at?: string;
|
|
10846
|
+
default_quantity?: number;
|
|
10847
|
+
description?: string | null;
|
|
10848
|
+
id?: string;
|
|
10849
|
+
name: string;
|
|
10850
|
+
unit_price_cents?: number;
|
|
10851
|
+
updated_at?: string;
|
|
10852
|
+
};
|
|
10853
|
+
Update: {
|
|
10854
|
+
active?: boolean;
|
|
10855
|
+
code?: string;
|
|
10856
|
+
created_at?: string;
|
|
10857
|
+
default_quantity?: number;
|
|
10858
|
+
description?: string | null;
|
|
10859
|
+
id?: string;
|
|
10860
|
+
name?: string;
|
|
10861
|
+
unit_price_cents?: number;
|
|
10862
|
+
updated_at?: string;
|
|
10863
|
+
};
|
|
10864
|
+
Relationships: [];
|
|
10865
|
+
};
|
|
10866
|
+
werkbon_photos: {
|
|
10867
|
+
Row: {
|
|
10868
|
+
created_at: string;
|
|
10869
|
+
id: string;
|
|
10870
|
+
storage_path: string;
|
|
10871
|
+
user_id: string;
|
|
10872
|
+
werkbon_id: string;
|
|
10873
|
+
};
|
|
10874
|
+
Insert: {
|
|
10875
|
+
created_at?: string;
|
|
10876
|
+
id?: string;
|
|
10877
|
+
storage_path: string;
|
|
10878
|
+
user_id: string;
|
|
10879
|
+
werkbon_id: string;
|
|
10880
|
+
};
|
|
10881
|
+
Update: {
|
|
10882
|
+
created_at?: string;
|
|
10883
|
+
id?: string;
|
|
10884
|
+
storage_path?: string;
|
|
10885
|
+
user_id?: string;
|
|
10886
|
+
werkbon_id?: string;
|
|
10887
|
+
};
|
|
10888
|
+
Relationships: [{
|
|
10889
|
+
foreignKeyName: "werkbon_photos_werkbon_id_fkey";
|
|
10890
|
+
columns: ["werkbon_id"];
|
|
10891
|
+
isOneToOne: false;
|
|
10892
|
+
referencedRelation: "werkbonnen";
|
|
10893
|
+
referencedColumns: ["id"];
|
|
10894
|
+
}];
|
|
10895
|
+
};
|
|
10896
|
+
werkbon_time_logs: {
|
|
10897
|
+
Row: {
|
|
10898
|
+
activity: string;
|
|
10899
|
+
created_at: string;
|
|
10900
|
+
ended_at: string | null;
|
|
10901
|
+
id: string;
|
|
10902
|
+
started_at: string;
|
|
10903
|
+
user_id: string;
|
|
10904
|
+
werkbon_id: string;
|
|
10905
|
+
};
|
|
10906
|
+
Insert: {
|
|
10907
|
+
activity: string;
|
|
10908
|
+
created_at?: string;
|
|
10909
|
+
ended_at?: string | null;
|
|
10910
|
+
id?: string;
|
|
10911
|
+
started_at?: string;
|
|
10912
|
+
user_id: string;
|
|
10913
|
+
werkbon_id: string;
|
|
10914
|
+
};
|
|
10915
|
+
Update: {
|
|
10916
|
+
activity?: string;
|
|
10042
10917
|
created_at?: string;
|
|
10043
|
-
|
|
10044
|
-
error_message?: string | null;
|
|
10045
|
-
filename?: string | null;
|
|
10918
|
+
ended_at?: string | null;
|
|
10046
10919
|
id?: string;
|
|
10047
|
-
|
|
10048
|
-
|
|
10049
|
-
|
|
10050
|
-
reference_id?: string | null;
|
|
10051
|
-
request_body_hash?: string | null;
|
|
10052
|
-
request_timestamp?: number | null;
|
|
10053
|
-
response_content_type?: string | null;
|
|
10054
|
-
response_status?: number | null;
|
|
10055
|
-
size_bytes?: number | null;
|
|
10920
|
+
started_at?: string;
|
|
10921
|
+
user_id?: string;
|
|
10922
|
+
werkbon_id?: string;
|
|
10056
10923
|
};
|
|
10057
|
-
Relationships: [
|
|
10924
|
+
Relationships: [{
|
|
10925
|
+
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
10926
|
+
columns: ["werkbon_id"];
|
|
10927
|
+
isOneToOne: false;
|
|
10928
|
+
referencedRelation: "werkbonnen";
|
|
10929
|
+
referencedColumns: ["id"];
|
|
10930
|
+
}];
|
|
10058
10931
|
};
|
|
10059
|
-
|
|
10932
|
+
werkbonnen: {
|
|
10060
10933
|
Row: {
|
|
10061
|
-
|
|
10062
|
-
|
|
10934
|
+
assigned_user_id: string | null;
|
|
10935
|
+
budget_mandate_cents: number;
|
|
10936
|
+
complaint_description: string | null;
|
|
10063
10937
|
created_at: string;
|
|
10064
|
-
|
|
10065
|
-
|
|
10066
|
-
|
|
10938
|
+
created_by: string | null;
|
|
10939
|
+
customer_id: string | null;
|
|
10940
|
+
externe_referentie: string | null;
|
|
10941
|
+
first_time_fix: boolean | null;
|
|
10067
10942
|
id: string;
|
|
10068
|
-
|
|
10069
|
-
|
|
10070
|
-
|
|
10071
|
-
|
|
10072
|
-
|
|
10943
|
+
internal_notes: string | null;
|
|
10944
|
+
parent_werkbon_id: string | null;
|
|
10945
|
+
parsed_payload: import("../integrations/supabase/types").Json | null;
|
|
10946
|
+
planning_status: string;
|
|
10947
|
+
project_number: string | null;
|
|
10948
|
+
room_number: string | null;
|
|
10949
|
+
scheduled_end_time: string | null;
|
|
10950
|
+
scheduled_start_time: string | null;
|
|
10951
|
+
sequence_number: number;
|
|
10952
|
+
source_pdf_path: string | null;
|
|
10953
|
+
status: string;
|
|
10954
|
+
technician_id: string | null;
|
|
10955
|
+
technician_notes: string | null;
|
|
10956
|
+
technician_notes_raw: string | null;
|
|
10957
|
+
technician_task_description: string | null;
|
|
10958
|
+
updated_at: string;
|
|
10959
|
+
version: number;
|
|
10960
|
+
work_address: string | null;
|
|
10073
10961
|
};
|
|
10074
10962
|
Insert: {
|
|
10075
|
-
|
|
10076
|
-
|
|
10963
|
+
assigned_user_id?: string | null;
|
|
10964
|
+
budget_mandate_cents?: number;
|
|
10965
|
+
complaint_description?: string | null;
|
|
10077
10966
|
created_at?: string;
|
|
10078
|
-
|
|
10079
|
-
|
|
10080
|
-
|
|
10967
|
+
created_by?: string | null;
|
|
10968
|
+
customer_id?: string | null;
|
|
10969
|
+
externe_referentie?: string | null;
|
|
10970
|
+
first_time_fix?: boolean | null;
|
|
10081
10971
|
id?: string;
|
|
10082
|
-
|
|
10083
|
-
|
|
10084
|
-
|
|
10085
|
-
|
|
10086
|
-
|
|
10972
|
+
internal_notes?: string | null;
|
|
10973
|
+
parent_werkbon_id?: string | null;
|
|
10974
|
+
parsed_payload?: import("../integrations/supabase/types").Json | null;
|
|
10975
|
+
planning_status?: string;
|
|
10976
|
+
project_number?: string | null;
|
|
10977
|
+
room_number?: string | null;
|
|
10978
|
+
scheduled_end_time?: string | null;
|
|
10979
|
+
scheduled_start_time?: string | null;
|
|
10980
|
+
sequence_number: number;
|
|
10981
|
+
source_pdf_path?: string | null;
|
|
10982
|
+
status?: string;
|
|
10983
|
+
technician_id?: string | null;
|
|
10984
|
+
technician_notes?: string | null;
|
|
10985
|
+
technician_notes_raw?: string | null;
|
|
10986
|
+
technician_task_description?: string | null;
|
|
10987
|
+
updated_at?: string;
|
|
10988
|
+
version?: number;
|
|
10989
|
+
work_address?: string | null;
|
|
10087
10990
|
};
|
|
10088
10991
|
Update: {
|
|
10089
|
-
|
|
10090
|
-
|
|
10992
|
+
assigned_user_id?: string | null;
|
|
10993
|
+
budget_mandate_cents?: number;
|
|
10994
|
+
complaint_description?: string | null;
|
|
10091
10995
|
created_at?: string;
|
|
10092
|
-
|
|
10093
|
-
|
|
10094
|
-
|
|
10996
|
+
created_by?: string | null;
|
|
10997
|
+
customer_id?: string | null;
|
|
10998
|
+
externe_referentie?: string | null;
|
|
10999
|
+
first_time_fix?: boolean | null;
|
|
10095
11000
|
id?: string;
|
|
10096
|
-
|
|
10097
|
-
|
|
10098
|
-
|
|
10099
|
-
|
|
10100
|
-
|
|
11001
|
+
internal_notes?: string | null;
|
|
11002
|
+
parent_werkbon_id?: string | null;
|
|
11003
|
+
parsed_payload?: import("../integrations/supabase/types").Json | null;
|
|
11004
|
+
planning_status?: string;
|
|
11005
|
+
project_number?: string | null;
|
|
11006
|
+
room_number?: string | null;
|
|
11007
|
+
scheduled_end_time?: string | null;
|
|
11008
|
+
scheduled_start_time?: string | null;
|
|
11009
|
+
sequence_number?: number;
|
|
11010
|
+
source_pdf_path?: string | null;
|
|
11011
|
+
status?: string;
|
|
11012
|
+
technician_id?: string | null;
|
|
11013
|
+
technician_notes?: string | null;
|
|
11014
|
+
technician_notes_raw?: string | null;
|
|
11015
|
+
technician_task_description?: string | null;
|
|
11016
|
+
updated_at?: string;
|
|
11017
|
+
version?: number;
|
|
11018
|
+
work_address?: string | null;
|
|
10101
11019
|
};
|
|
10102
|
-
Relationships: [
|
|
11020
|
+
Relationships: [{
|
|
11021
|
+
foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
|
|
11022
|
+
columns: ["parent_werkbon_id"];
|
|
11023
|
+
isOneToOne: false;
|
|
11024
|
+
referencedRelation: "werkbonnen";
|
|
11025
|
+
referencedColumns: ["id"];
|
|
11026
|
+
}, {
|
|
11027
|
+
foreignKeyName: "werkbonnen_technician_id_fkey";
|
|
11028
|
+
columns: ["technician_id"];
|
|
11029
|
+
isOneToOne: false;
|
|
11030
|
+
referencedRelation: "monteurs";
|
|
11031
|
+
referencedColumns: ["id"];
|
|
11032
|
+
}];
|
|
10103
11033
|
};
|
|
10104
11034
|
work_order_monteurs: {
|
|
10105
11035
|
Row: {
|
|
@@ -10271,6 +11201,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
10271
11201
|
created_at: string | null;
|
|
10272
11202
|
created_by: string | null;
|
|
10273
11203
|
display_name: string | null;
|
|
11204
|
+
graph_subscription_expires_at: string | null;
|
|
11205
|
+
graph_subscription_id: string | null;
|
|
10274
11206
|
has_access_token: boolean | null;
|
|
10275
11207
|
has_client_id: boolean | null;
|
|
10276
11208
|
has_client_secret: boolean | null;
|
|
@@ -10288,6 +11220,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
10288
11220
|
oauth_mode: string | null;
|
|
10289
11221
|
provider: string | null;
|
|
10290
11222
|
purpose_assignments: import("../integrations/supabase/types").Json | null;
|
|
11223
|
+
realtime_mode: string | null;
|
|
10291
11224
|
scopes: string[] | null;
|
|
10292
11225
|
smtp_host: string | null;
|
|
10293
11226
|
smtp_port: number | null;
|
|
@@ -10302,6 +11235,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
10302
11235
|
created_at?: string | null;
|
|
10303
11236
|
created_by?: string | null;
|
|
10304
11237
|
display_name?: string | null;
|
|
11238
|
+
graph_subscription_expires_at?: string | null;
|
|
11239
|
+
graph_subscription_id?: string | null;
|
|
10305
11240
|
has_access_token?: never;
|
|
10306
11241
|
has_client_id?: never;
|
|
10307
11242
|
has_client_secret?: never;
|
|
@@ -10319,6 +11254,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
10319
11254
|
oauth_mode?: string | null;
|
|
10320
11255
|
provider?: string | null;
|
|
10321
11256
|
purpose_assignments?: import("../integrations/supabase/types").Json | null;
|
|
11257
|
+
realtime_mode?: string | null;
|
|
10322
11258
|
scopes?: string[] | null;
|
|
10323
11259
|
smtp_host?: string | null;
|
|
10324
11260
|
smtp_port?: number | null;
|
|
@@ -10333,6 +11269,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
10333
11269
|
created_at?: string | null;
|
|
10334
11270
|
created_by?: string | null;
|
|
10335
11271
|
display_name?: string | null;
|
|
11272
|
+
graph_subscription_expires_at?: string | null;
|
|
11273
|
+
graph_subscription_id?: string | null;
|
|
10336
11274
|
has_access_token?: never;
|
|
10337
11275
|
has_client_id?: never;
|
|
10338
11276
|
has_client_secret?: never;
|
|
@@ -10350,6 +11288,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
10350
11288
|
oauth_mode?: string | null;
|
|
10351
11289
|
provider?: string | null;
|
|
10352
11290
|
purpose_assignments?: import("../integrations/supabase/types").Json | null;
|
|
11291
|
+
realtime_mode?: string | null;
|
|
10353
11292
|
scopes?: string[] | null;
|
|
10354
11293
|
smtp_host?: string | null;
|
|
10355
11294
|
smtp_port?: number | null;
|
|
@@ -10460,6 +11399,25 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
10460
11399
|
};
|
|
10461
11400
|
Relationships: [];
|
|
10462
11401
|
};
|
|
11402
|
+
floriday_customer_discounts: {
|
|
11403
|
+
Row: {
|
|
11404
|
+
base_price: number | null;
|
|
11405
|
+
buyer_organization_id: string | null;
|
|
11406
|
+
currency: string | null;
|
|
11407
|
+
discount_type: string | null;
|
|
11408
|
+
discount_value: number | null;
|
|
11409
|
+
min_quantity: number | null;
|
|
11410
|
+
net_price: number | null;
|
|
11411
|
+
product_group_id: string | null;
|
|
11412
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
11413
|
+
source: string | null;
|
|
11414
|
+
source_id: string | null;
|
|
11415
|
+
trade_item_id: string | null;
|
|
11416
|
+
valid_from: string | null;
|
|
11417
|
+
valid_until: string | null;
|
|
11418
|
+
};
|
|
11419
|
+
Relationships: [];
|
|
11420
|
+
};
|
|
10463
11421
|
local_customer_discounts: {
|
|
10464
11422
|
Row: {
|
|
10465
11423
|
base_price: number | null;
|
|
@@ -10763,13 +11721,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
10763
11721
|
};
|
|
10764
11722
|
Returns: number;
|
|
10765
11723
|
};
|
|
10766
|
-
_migrate_rewrite_stock_key: {
|
|
10767
|
-
Args: {
|
|
10768
|
-
_from_key: string;
|
|
10769
|
-
_to_key: string;
|
|
10770
|
-
};
|
|
10771
|
-
Returns: undefined;
|
|
10772
|
-
};
|
|
10773
11724
|
afh_city_code: {
|
|
10774
11725
|
Args: {
|
|
10775
11726
|
_city: string;
|
|
@@ -10881,31 +11832,36 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
10881
11832
|
};
|
|
10882
11833
|
Returns: import("../integrations/supabase/types").Json;
|
|
10883
11834
|
};
|
|
10884
|
-
|
|
10885
|
-
Args: never;
|
|
10886
|
-
Returns: undefined;
|
|
10887
|
-
};
|
|
10888
|
-
consume_bom_for_production: {
|
|
11835
|
+
claim_twinfield_push_batch: {
|
|
10889
11836
|
Args: {
|
|
10890
|
-
|
|
10891
|
-
p_parent_id: string;
|
|
10892
|
-
p_parent_key: string;
|
|
10893
|
-
p_parent_kind: string;
|
|
10894
|
-
p_quantity: number;
|
|
10895
|
-
p_user_id: string;
|
|
11837
|
+
_limit?: number;
|
|
10896
11838
|
};
|
|
10897
|
-
Returns:
|
|
10898
|
-
|
|
10899
|
-
|
|
10900
|
-
|
|
10901
|
-
|
|
10902
|
-
|
|
10903
|
-
|
|
10904
|
-
|
|
10905
|
-
|
|
10906
|
-
|
|
11839
|
+
Returns: {
|
|
11840
|
+
action: string;
|
|
11841
|
+
attempts: number;
|
|
11842
|
+
connection_id: string;
|
|
11843
|
+
created_at: string;
|
|
11844
|
+
customer_id: string | null;
|
|
11845
|
+
external_id: string | null;
|
|
11846
|
+
id: string;
|
|
11847
|
+
idempotency_key: string;
|
|
11848
|
+
last_error: string | null;
|
|
11849
|
+
next_attempt_at: string;
|
|
11850
|
+
office_code: string | null;
|
|
11851
|
+
payload: import("../integrations/supabase/types").Json;
|
|
11852
|
+
status: string;
|
|
11853
|
+
updated_at: string;
|
|
11854
|
+
}[];
|
|
11855
|
+
SetofOptions: {
|
|
11856
|
+
from: "*";
|
|
11857
|
+
to: "twinfield_push_queue";
|
|
11858
|
+
isOneToOne: false;
|
|
11859
|
+
isSetofReturn: true;
|
|
10907
11860
|
};
|
|
10908
|
-
|
|
11861
|
+
};
|
|
11862
|
+
cleanup_old_bookings: {
|
|
11863
|
+
Args: never;
|
|
11864
|
+
Returns: undefined;
|
|
10909
11865
|
};
|
|
10910
11866
|
consume_floriday_rate_limit: {
|
|
10911
11867
|
Args: {
|
|
@@ -10958,13 +11914,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
10958
11914
|
table_name: string;
|
|
10959
11915
|
}[];
|
|
10960
11916
|
};
|
|
10961
|
-
delete_samenstelling: {
|
|
10962
|
-
Args: {
|
|
10963
|
-
p_parent_id: string;
|
|
10964
|
-
p_parent_kind: string;
|
|
10965
|
-
};
|
|
10966
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
10967
|
-
};
|
|
10968
11917
|
dispatch_carrier_signups_sql: {
|
|
10969
11918
|
Args: {
|
|
10970
11919
|
_catchup?: string;
|
|
@@ -11006,6 +11955,16 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
11006
11955
|
status: string;
|
|
11007
11956
|
}[];
|
|
11008
11957
|
};
|
|
11958
|
+
email_auth_upsert_connection: {
|
|
11959
|
+
Args: {
|
|
11960
|
+
_account_email: string;
|
|
11961
|
+
_created_by: string;
|
|
11962
|
+
_is_active: boolean;
|
|
11963
|
+
_provider: string;
|
|
11964
|
+
_status: string;
|
|
11965
|
+
};
|
|
11966
|
+
Returns: string;
|
|
11967
|
+
};
|
|
11009
11968
|
enqueue_cart_replan_if_unlocked: {
|
|
11010
11969
|
Args: {
|
|
11011
11970
|
p_order_id: string;
|
|
@@ -11125,6 +12084,19 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
11125
12084
|
resource: string;
|
|
11126
12085
|
}[];
|
|
11127
12086
|
};
|
|
12087
|
+
get_floriday_agreements_active: {
|
|
12088
|
+
Args: {
|
|
12089
|
+
p_on_date?: string;
|
|
12090
|
+
};
|
|
12091
|
+
Returns: {
|
|
12092
|
+
buyer_organization_id: string;
|
|
12093
|
+
data: import("../integrations/supabase/types").Json;
|
|
12094
|
+
floriday_id: string;
|
|
12095
|
+
status: string;
|
|
12096
|
+
valid_from: string;
|
|
12097
|
+
valid_until: string;
|
|
12098
|
+
}[];
|
|
12099
|
+
};
|
|
11128
12100
|
get_floriday_clock_supplies_window: {
|
|
11129
12101
|
Args: {
|
|
11130
12102
|
p_from: string;
|
|
@@ -11197,21 +12169,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
11197
12169
|
minutes_since_success: number;
|
|
11198
12170
|
}[];
|
|
11199
12171
|
};
|
|
11200
|
-
get_group_allocation_keys: {
|
|
11201
|
-
Args: {
|
|
11202
|
-
p_product_id: string;
|
|
11203
|
-
};
|
|
11204
|
-
Returns: {
|
|
11205
|
-
k: string;
|
|
11206
|
-
ord: number;
|
|
11207
|
-
}[];
|
|
11208
|
-
};
|
|
11209
|
-
get_group_head_key: {
|
|
11210
|
-
Args: {
|
|
11211
|
-
p_group_id: string;
|
|
11212
|
-
};
|
|
11213
|
-
Returns: string;
|
|
11214
|
-
};
|
|
11215
12172
|
get_offer_by_link_code: {
|
|
11216
12173
|
Args: {
|
|
11217
12174
|
p_code: string;
|
|
@@ -11273,6 +12230,14 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
11273
12230
|
};
|
|
11274
12231
|
Returns: string;
|
|
11275
12232
|
};
|
|
12233
|
+
has_module_permission: {
|
|
12234
|
+
Args: {
|
|
12235
|
+
_min: string;
|
|
12236
|
+
_module_id: string;
|
|
12237
|
+
_user_id: string;
|
|
12238
|
+
};
|
|
12239
|
+
Returns: boolean;
|
|
12240
|
+
};
|
|
11276
12241
|
has_role: {
|
|
11277
12242
|
Args: {
|
|
11278
12243
|
_role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
@@ -11280,6 +12245,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
11280
12245
|
};
|
|
11281
12246
|
Returns: boolean;
|
|
11282
12247
|
};
|
|
12248
|
+
has_twinfield_link: {
|
|
12249
|
+
Args: never;
|
|
12250
|
+
Returns: boolean;
|
|
12251
|
+
};
|
|
11283
12252
|
is_authenticated: {
|
|
11284
12253
|
Args: never;
|
|
11285
12254
|
Returns: boolean;
|
|
@@ -11294,6 +12263,14 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
11294
12263
|
};
|
|
11295
12264
|
Returns: boolean;
|
|
11296
12265
|
};
|
|
12266
|
+
list_monteurs: {
|
|
12267
|
+
Args: never;
|
|
12268
|
+
Returns: {
|
|
12269
|
+
display_name: string;
|
|
12270
|
+
email: string;
|
|
12271
|
+
user_id: string;
|
|
12272
|
+
}[];
|
|
12273
|
+
};
|
|
11297
12274
|
local_effective_price: {
|
|
11298
12275
|
Args: {
|
|
11299
12276
|
_customer_id: string;
|
|
@@ -11322,32 +12299,12 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
11322
12299
|
};
|
|
11323
12300
|
Returns: undefined;
|
|
11324
12301
|
};
|
|
11325
|
-
mark_salesorder_controlled: {
|
|
11326
|
-
Args: {
|
|
11327
|
-
p_controlled: boolean;
|
|
11328
|
-
p_floriday_id: string;
|
|
11329
|
-
};
|
|
11330
|
-
Returns: undefined;
|
|
11331
|
-
};
|
|
11332
12302
|
mark_shipment_shipped: {
|
|
11333
12303
|
Args: {
|
|
11334
12304
|
p_shipment_id: string;
|
|
11335
12305
|
};
|
|
11336
12306
|
Returns: undefined;
|
|
11337
12307
|
};
|
|
11338
|
-
merge_products: {
|
|
11339
|
-
Args: {
|
|
11340
|
-
_canonical: string;
|
|
11341
|
-
_loser: string;
|
|
11342
|
-
};
|
|
11343
|
-
Returns: undefined;
|
|
11344
|
-
};
|
|
11345
|
-
next_manufacture_partij: {
|
|
11346
|
-
Args: {
|
|
11347
|
-
_tenant_id: string;
|
|
11348
|
-
};
|
|
11349
|
-
Returns: string;
|
|
11350
|
-
};
|
|
11351
12308
|
next_order_number: {
|
|
11352
12309
|
Args: {
|
|
11353
12310
|
p_prefix: string;
|
|
@@ -11361,6 +12318,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
11361
12318
|
};
|
|
11362
12319
|
Returns: string;
|
|
11363
12320
|
};
|
|
12321
|
+
next_twinfield_code: {
|
|
12322
|
+
Args: never;
|
|
12323
|
+
Returns: string;
|
|
12324
|
+
};
|
|
11364
12325
|
next_work_order_number: {
|
|
11365
12326
|
Args: {
|
|
11366
12327
|
p_parent_work_order_id?: string;
|
|
@@ -11426,14 +12387,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
11426
12387
|
};
|
|
11427
12388
|
Returns: undefined;
|
|
11428
12389
|
};
|
|
11429
|
-
produce_designed_product: {
|
|
11430
|
-
Args: {
|
|
11431
|
-
p_parent_id: string;
|
|
11432
|
-
p_parent_kind: string;
|
|
11433
|
-
p_quantity: number;
|
|
11434
|
-
};
|
|
11435
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
11436
|
-
};
|
|
11437
12390
|
promote_trade_item_key: {
|
|
11438
12391
|
Args: {
|
|
11439
12392
|
p_new: string;
|
|
@@ -11441,10 +12394,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
11441
12394
|
};
|
|
11442
12395
|
Returns: undefined;
|
|
11443
12396
|
};
|
|
11444
|
-
recompute_all_reserved_stock: {
|
|
11445
|
-
Args: never;
|
|
11446
|
-
Returns: undefined;
|
|
11447
|
-
};
|
|
11448
12397
|
recompute_order_status: {
|
|
11449
12398
|
Args: {
|
|
11450
12399
|
p_order_id: string;
|
|
@@ -11487,52 +12436,46 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
11487
12436
|
};
|
|
11488
12437
|
Returns: number;
|
|
11489
12438
|
};
|
|
11490
|
-
|
|
12439
|
+
reorder_customer_price_groups: {
|
|
11491
12440
|
Args: {
|
|
11492
|
-
|
|
11493
|
-
p_entity_type: string;
|
|
12441
|
+
_ids: string[];
|
|
11494
12442
|
};
|
|
11495
12443
|
Returns: undefined;
|
|
11496
12444
|
};
|
|
11497
|
-
|
|
12445
|
+
reset_floriday_sync_cursor: {
|
|
11498
12446
|
Args: {
|
|
11499
|
-
|
|
11500
|
-
|
|
12447
|
+
p_connection_id: string;
|
|
12448
|
+
p_entity_type: string;
|
|
11501
12449
|
};
|
|
11502
|
-
Returns:
|
|
11503
|
-
allocated: number;
|
|
11504
|
-
trade_item_id: string;
|
|
11505
|
-
}[];
|
|
12450
|
+
Returns: undefined;
|
|
11506
12451
|
};
|
|
11507
|
-
|
|
12452
|
+
resolve_product_id_for_item: {
|
|
11508
12453
|
Args: {
|
|
11509
|
-
|
|
12454
|
+
p_product_name: string;
|
|
11510
12455
|
};
|
|
11511
12456
|
Returns: string;
|
|
11512
12457
|
};
|
|
11513
|
-
|
|
12458
|
+
retry_twinfield_push: {
|
|
11514
12459
|
Args: {
|
|
11515
|
-
|
|
12460
|
+
_customer_id: string;
|
|
11516
12461
|
};
|
|
11517
|
-
Returns:
|
|
12462
|
+
Returns: number;
|
|
11518
12463
|
};
|
|
11519
|
-
|
|
12464
|
+
schedule_floriday_additional_services_sync: {
|
|
11520
12465
|
Args: {
|
|
11521
|
-
|
|
12466
|
+
p_apikey: string;
|
|
12467
|
+
p_url: string;
|
|
11522
12468
|
};
|
|
11523
|
-
Returns:
|
|
12469
|
+
Returns: number;
|
|
11524
12470
|
};
|
|
11525
|
-
|
|
12471
|
+
schedule_floriday_agreement_calloffs_sync: {
|
|
11526
12472
|
Args: {
|
|
11527
|
-
|
|
11528
|
-
|
|
11529
|
-
p_quantity: number;
|
|
11530
|
-
p_reason?: string;
|
|
11531
|
-
p_user_id?: string;
|
|
12473
|
+
p_apikey: string;
|
|
12474
|
+
p_url: string;
|
|
11532
12475
|
};
|
|
11533
|
-
Returns:
|
|
12476
|
+
Returns: number;
|
|
11534
12477
|
};
|
|
11535
|
-
|
|
12478
|
+
schedule_floriday_agreements_sync: {
|
|
11536
12479
|
Args: {
|
|
11537
12480
|
p_apikey: string;
|
|
11538
12481
|
p_url: string;
|
|
@@ -11807,12 +12750,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
11807
12750
|
};
|
|
11808
12751
|
Returns: undefined;
|
|
11809
12752
|
};
|
|
11810
|
-
sync_product_group_belading: {
|
|
11811
|
-
Args: {
|
|
11812
|
-
_group_id: string;
|
|
11813
|
-
};
|
|
11814
|
-
Returns: undefined;
|
|
11815
|
-
};
|
|
11816
12753
|
sync_product_packing_from_floriday_cache: {
|
|
11817
12754
|
Args: {
|
|
11818
12755
|
p_floriday_id: string;
|
|
@@ -11844,9 +12781,11 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
11844
12781
|
};
|
|
11845
12782
|
};
|
|
11846
12783
|
Enums: {
|
|
11847
|
-
app_role: "admin" | "
|
|
12784
|
+
app_role: "admin" | "planner" | "monteur" | "administratie";
|
|
11848
12785
|
exact_env: "staging" | "live";
|
|
11849
12786
|
exact_push_status: "pending" | "sent" | "error";
|
|
12787
|
+
itk_customer_segment: "Business" | "Private";
|
|
12788
|
+
itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
|
|
11850
12789
|
quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
|
|
11851
12790
|
};
|
|
11852
12791
|
CompositeTypes: { [_ in never]: never; };
|