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