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