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