@flowselections/floriday-klanten-module 1.0.14 → 1.0.16
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/assets/floriday-logo.png.asset.json +11 -0
- package/dist-lib/components/CustomerAvatar.js +1 -1
- package/dist-lib/components/klanten/BackLink.d.ts +12 -0
- package/dist-lib/components/klanten/BackLink.d.ts.map +1 -0
- package/dist-lib/components/klanten/BackLink.js +12 -0
- package/dist-lib/components/klanten/FloridayAssortmentTab.d.ts +4 -0
- package/dist-lib/components/klanten/FloridayAssortmentTab.d.ts.map +1 -0
- package/dist-lib/components/klanten/FloridayAssortmentTab.js +80 -0
- package/dist-lib/components/klanten/FloridayDeeplinkButton.d.ts +8 -0
- package/dist-lib/components/klanten/FloridayDeeplinkButton.d.ts.map +1 -0
- package/dist-lib/components/klanten/FloridayDeeplinkButton.js +9 -0
- package/dist-lib/components/klanten/GroupedKlantDetail.d.ts.map +1 -1
- package/dist-lib/components/klanten/GroupedKlantDetail.js +19 -5
- package/dist-lib/components/klanten/ImportKlanten.d.ts.map +1 -1
- package/dist-lib/components/klanten/ImportKlanten.js +46 -13
- package/dist-lib/components/klanten/KlantDetail.d.ts.map +1 -1
- package/dist-lib/components/klanten/KlantDetail.js +9 -3
- package/dist-lib/components/klanten/KlantenOverzicht.d.ts.map +1 -1
- package/dist-lib/components/klanten/KlantenOverzicht.js +6 -3
- package/dist-lib/components/klanten/NetwerkPagina.d.ts.map +1 -1
- package/dist-lib/components/klanten/NetwerkPagina.js +42 -10
- package/dist-lib/components/klanten/NieuweKlant.d.ts.map +1 -1
- package/dist-lib/components/klanten/NieuweKlant.js +23 -8
- package/dist-lib/components/klanten/PriceGroupBadges.d.ts +7 -0
- package/dist-lib/components/klanten/PriceGroupBadges.d.ts.map +1 -0
- package/dist-lib/components/klanten/PriceGroupBadges.js +13 -0
- package/dist-lib/components/klanten/SyncStatusChip.d.ts +4 -0
- package/dist-lib/components/klanten/SyncStatusChip.d.ts.map +1 -0
- package/dist-lib/components/klanten/SyncStatusChip.js +49 -0
- package/dist-lib/components/klanten/pricegroups/CustomerPickerDialog.d.ts +8 -0
- package/dist-lib/components/klanten/pricegroups/CustomerPickerDialog.d.ts.map +1 -0
- package/dist-lib/components/klanten/pricegroups/CustomerPickerDialog.js +75 -0
- package/dist-lib/components/klanten/pricegroups/PriceGroupFormPage.d.ts +4 -0
- package/dist-lib/components/klanten/pricegroups/PriceGroupFormPage.d.ts.map +1 -0
- package/dist-lib/components/klanten/pricegroups/PriceGroupFormPage.js +269 -0
- package/dist-lib/components/klanten/pricegroups/PriceGroupsPage.d.ts +2 -0
- package/dist-lib/components/klanten/pricegroups/PriceGroupsPage.d.ts.map +1 -0
- package/dist-lib/components/klanten/pricegroups/PriceGroupsPage.js +133 -0
- package/dist-lib/components/klanten/pricegroups/ProductPickerDialog.d.ts +8 -0
- package/dist-lib/components/klanten/pricegroups/ProductPickerDialog.d.ts.map +1 -0
- package/dist-lib/components/klanten/pricegroups/ProductPickerDialog.js +18 -0
- package/dist-lib/index.d.ts +1 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +6 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +762 -3
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +762 -3
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.js +4 -3
- package/dist-lib/integrations/supabase/client.server.d.ts +762 -3
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +789 -8
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/accounting/twinfield/client.server.d.ts +21 -0
- package/dist-lib/lib/accounting/twinfield/client.server.d.ts.map +1 -0
- package/dist-lib/lib/accounting/twinfield/client.server.js +171 -0
- package/dist-lib/lib/accounting/twinfield/mapping.d.ts +46 -0
- package/dist-lib/lib/accounting/twinfield/mapping.d.ts.map +1 -0
- package/dist-lib/lib/accounting/twinfield/mapping.js +109 -0
- package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +36318 -0
- package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -0
- package/dist-lib/lib/accounting/twinfield/worker.functions.js +48 -0
- package/dist-lib/lib/accounting/twinfield/worker.server.d.ts +12 -0
- package/dist-lib/lib/accounting/twinfield/worker.server.d.ts.map +1 -0
- package/dist-lib/lib/accounting/twinfield/worker.server.js +124 -0
- package/dist-lib/lib/accounting.functions.d.ts +2286 -9
- package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-analytics.functions.d.ts +762 -3
- package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-schemas.d.ts +48 -46
- package/dist-lib/lib/customer-schemas.d.ts.map +1 -1
- package/dist-lib/lib/customer-schemas.js +46 -3
- package/dist-lib/lib/customers.functions.d.ts +18288 -129
- package/dist-lib/lib/customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/customers.functions.js +146 -10
- package/dist-lib/lib/delivery-locations.functions.d.ts +3048 -12
- package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
- package/dist-lib/lib/external-customers.functions.d.ts +3048 -12
- package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-assortment.functions.d.ts +12127 -0
- package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -0
- package/dist-lib/lib/floriday-assortment.functions.js +213 -0
- package/dist-lib/lib/floriday-discounts.functions.d.ts +1800 -282
- package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-trade-items.functions.d.ts +12111 -0
- package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -0
- package/dist-lib/lib/floriday-trade-items.functions.js +107 -0
- package/dist-lib/lib/local-discounts.functions.d.ts +5336 -23
- package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
- package/dist-lib/lib/overdue-invoices.functions.d.ts +762 -3
- package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
- package/dist-lib/lib/price-groups-local.functions.d.ts +84841 -0
- package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -0
- package/dist-lib/lib/price-groups-local.functions.js +148 -0
- package/dist-lib/lib/price-groups.functions.d.ts +12120 -0
- package/dist-lib/lib/price-groups.functions.d.ts.map +1 -0
- package/dist-lib/lib/price-groups.functions.js +115 -0
- package/dist-lib/lib/pricing.d.ts +24 -0
- package/dist-lib/lib/pricing.d.ts.map +1 -0
- package/dist-lib/lib/pricing.js +60 -0
- package/package.json +6 -3
|
@@ -242,6 +242,237 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
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
|
+
};
|
|
281
|
+
ai_credentials: {
|
|
282
|
+
Row: {
|
|
283
|
+
active: boolean;
|
|
284
|
+
api_key: string;
|
|
285
|
+
created_at: string;
|
|
286
|
+
id: string;
|
|
287
|
+
label: string;
|
|
288
|
+
provider_id: string;
|
|
289
|
+
updated_at: string;
|
|
290
|
+
};
|
|
291
|
+
Insert: {
|
|
292
|
+
active?: boolean;
|
|
293
|
+
api_key: string;
|
|
294
|
+
created_at?: string;
|
|
295
|
+
id?: string;
|
|
296
|
+
label: string;
|
|
297
|
+
provider_id: string;
|
|
298
|
+
updated_at?: string;
|
|
299
|
+
};
|
|
300
|
+
Update: {
|
|
301
|
+
active?: boolean;
|
|
302
|
+
api_key?: string;
|
|
303
|
+
created_at?: string;
|
|
304
|
+
id?: string;
|
|
305
|
+
label?: string;
|
|
306
|
+
provider_id?: string;
|
|
307
|
+
updated_at?: string;
|
|
308
|
+
};
|
|
309
|
+
Relationships: [{
|
|
310
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
311
|
+
columns: ["provider_id"];
|
|
312
|
+
isOneToOne: false;
|
|
313
|
+
referencedRelation: "ai_providers";
|
|
314
|
+
referencedColumns: ["id"];
|
|
315
|
+
}];
|
|
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
|
+
};
|
|
356
|
+
ai_models: {
|
|
357
|
+
Row: {
|
|
358
|
+
active: boolean;
|
|
359
|
+
context_window: number | null;
|
|
360
|
+
created_at: string;
|
|
361
|
+
display_name: string;
|
|
362
|
+
id: string;
|
|
363
|
+
is_default: boolean;
|
|
364
|
+
modality: string;
|
|
365
|
+
provider_id: string;
|
|
366
|
+
slug: string;
|
|
367
|
+
updated_at: string;
|
|
368
|
+
};
|
|
369
|
+
Insert: {
|
|
370
|
+
active?: boolean;
|
|
371
|
+
context_window?: number | null;
|
|
372
|
+
created_at?: string;
|
|
373
|
+
display_name: string;
|
|
374
|
+
id?: string;
|
|
375
|
+
is_default?: boolean;
|
|
376
|
+
modality?: string;
|
|
377
|
+
provider_id: string;
|
|
378
|
+
slug: string;
|
|
379
|
+
updated_at?: string;
|
|
380
|
+
};
|
|
381
|
+
Update: {
|
|
382
|
+
active?: boolean;
|
|
383
|
+
context_window?: number | null;
|
|
384
|
+
created_at?: string;
|
|
385
|
+
display_name?: string;
|
|
386
|
+
id?: string;
|
|
387
|
+
is_default?: boolean;
|
|
388
|
+
modality?: string;
|
|
389
|
+
provider_id?: string;
|
|
390
|
+
slug?: string;
|
|
391
|
+
updated_at?: string;
|
|
392
|
+
};
|
|
393
|
+
Relationships: [{
|
|
394
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
395
|
+
columns: ["provider_id"];
|
|
396
|
+
isOneToOne: false;
|
|
397
|
+
referencedRelation: "ai_providers";
|
|
398
|
+
referencedColumns: ["id"];
|
|
399
|
+
}];
|
|
400
|
+
};
|
|
401
|
+
ai_module_bindings: {
|
|
402
|
+
Row: {
|
|
403
|
+
consumer_module_id: string;
|
|
404
|
+
created_at: string;
|
|
405
|
+
credential_id: string;
|
|
406
|
+
id: string;
|
|
407
|
+
model_id: string;
|
|
408
|
+
notes: string | null;
|
|
409
|
+
updated_at: string;
|
|
410
|
+
};
|
|
411
|
+
Insert: {
|
|
412
|
+
consumer_module_id: string;
|
|
413
|
+
created_at?: string;
|
|
414
|
+
credential_id: string;
|
|
415
|
+
id?: string;
|
|
416
|
+
model_id: string;
|
|
417
|
+
notes?: string | null;
|
|
418
|
+
updated_at?: string;
|
|
419
|
+
};
|
|
420
|
+
Update: {
|
|
421
|
+
consumer_module_id?: string;
|
|
422
|
+
created_at?: string;
|
|
423
|
+
credential_id?: string;
|
|
424
|
+
id?: string;
|
|
425
|
+
model_id?: string;
|
|
426
|
+
notes?: string | null;
|
|
427
|
+
updated_at?: string;
|
|
428
|
+
};
|
|
429
|
+
Relationships: [{
|
|
430
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
431
|
+
columns: ["credential_id"];
|
|
432
|
+
isOneToOne: false;
|
|
433
|
+
referencedRelation: "ai_credentials";
|
|
434
|
+
referencedColumns: ["id"];
|
|
435
|
+
}, {
|
|
436
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
437
|
+
columns: ["model_id"];
|
|
438
|
+
isOneToOne: false;
|
|
439
|
+
referencedRelation: "ai_models";
|
|
440
|
+
referencedColumns: ["id"];
|
|
441
|
+
}];
|
|
442
|
+
};
|
|
443
|
+
ai_providers: {
|
|
444
|
+
Row: {
|
|
445
|
+
active: boolean;
|
|
446
|
+
auth_type: string;
|
|
447
|
+
base_url: string | null;
|
|
448
|
+
created_at: string;
|
|
449
|
+
id: string;
|
|
450
|
+
name: string;
|
|
451
|
+
slug: string;
|
|
452
|
+
updated_at: string;
|
|
453
|
+
};
|
|
454
|
+
Insert: {
|
|
455
|
+
active?: boolean;
|
|
456
|
+
auth_type?: string;
|
|
457
|
+
base_url?: string | null;
|
|
458
|
+
created_at?: string;
|
|
459
|
+
id?: string;
|
|
460
|
+
name: string;
|
|
461
|
+
slug: string;
|
|
462
|
+
updated_at?: string;
|
|
463
|
+
};
|
|
464
|
+
Update: {
|
|
465
|
+
active?: boolean;
|
|
466
|
+
auth_type?: string;
|
|
467
|
+
base_url?: string | null;
|
|
468
|
+
created_at?: string;
|
|
469
|
+
id?: string;
|
|
470
|
+
name?: string;
|
|
471
|
+
slug?: string;
|
|
472
|
+
updated_at?: string;
|
|
473
|
+
};
|
|
474
|
+
Relationships: [];
|
|
475
|
+
};
|
|
245
476
|
app_settings: {
|
|
246
477
|
Row: {
|
|
247
478
|
created_at: string;
|
|
@@ -899,6 +1130,69 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
899
1130
|
referencedColumns: ["id"];
|
|
900
1131
|
}];
|
|
901
1132
|
};
|
|
1133
|
+
catalog_articles_cache: {
|
|
1134
|
+
Row: {
|
|
1135
|
+
created_at: string;
|
|
1136
|
+
default_price: number;
|
|
1137
|
+
default_vat_rate_ref: string | null;
|
|
1138
|
+
external_ref: string;
|
|
1139
|
+
id: string;
|
|
1140
|
+
name: string;
|
|
1141
|
+
updated_at: string;
|
|
1142
|
+
user_id: string;
|
|
1143
|
+
};
|
|
1144
|
+
Insert: {
|
|
1145
|
+
created_at?: string;
|
|
1146
|
+
default_price?: number;
|
|
1147
|
+
default_vat_rate_ref?: string | null;
|
|
1148
|
+
external_ref: string;
|
|
1149
|
+
id?: string;
|
|
1150
|
+
name: string;
|
|
1151
|
+
updated_at?: string;
|
|
1152
|
+
user_id: string;
|
|
1153
|
+
};
|
|
1154
|
+
Update: {
|
|
1155
|
+
created_at?: string;
|
|
1156
|
+
default_price?: number;
|
|
1157
|
+
default_vat_rate_ref?: string | null;
|
|
1158
|
+
external_ref?: string;
|
|
1159
|
+
id?: string;
|
|
1160
|
+
name?: string;
|
|
1161
|
+
updated_at?: string;
|
|
1162
|
+
user_id?: string;
|
|
1163
|
+
};
|
|
1164
|
+
Relationships: [];
|
|
1165
|
+
};
|
|
1166
|
+
catalog_vat_rates_cache: {
|
|
1167
|
+
Row: {
|
|
1168
|
+
created_at: string;
|
|
1169
|
+
external_ref: string;
|
|
1170
|
+
id: string;
|
|
1171
|
+
label: string;
|
|
1172
|
+
percentage: number;
|
|
1173
|
+
updated_at: string;
|
|
1174
|
+
user_id: string;
|
|
1175
|
+
};
|
|
1176
|
+
Insert: {
|
|
1177
|
+
created_at?: string;
|
|
1178
|
+
external_ref: string;
|
|
1179
|
+
id?: string;
|
|
1180
|
+
label: string;
|
|
1181
|
+
percentage?: number;
|
|
1182
|
+
updated_at?: string;
|
|
1183
|
+
user_id: string;
|
|
1184
|
+
};
|
|
1185
|
+
Update: {
|
|
1186
|
+
created_at?: string;
|
|
1187
|
+
external_ref?: string;
|
|
1188
|
+
id?: string;
|
|
1189
|
+
label?: string;
|
|
1190
|
+
percentage?: number;
|
|
1191
|
+
updated_at?: string;
|
|
1192
|
+
user_id?: string;
|
|
1193
|
+
};
|
|
1194
|
+
Relationships: [];
|
|
1195
|
+
};
|
|
902
1196
|
collections: {
|
|
903
1197
|
Row: {
|
|
904
1198
|
created_at: string;
|
|
@@ -1148,6 +1442,105 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
1148
1442
|
};
|
|
1149
1443
|
Relationships: [];
|
|
1150
1444
|
};
|
|
1445
|
+
customer_price_group_members: {
|
|
1446
|
+
Row: {
|
|
1447
|
+
created_at: string;
|
|
1448
|
+
customer_key: string;
|
|
1449
|
+
id: string;
|
|
1450
|
+
owner_id: string;
|
|
1451
|
+
price_group_id: string;
|
|
1452
|
+
};
|
|
1453
|
+
Insert: {
|
|
1454
|
+
created_at?: string;
|
|
1455
|
+
customer_key: string;
|
|
1456
|
+
id?: string;
|
|
1457
|
+
owner_id?: string;
|
|
1458
|
+
price_group_id: string;
|
|
1459
|
+
};
|
|
1460
|
+
Update: {
|
|
1461
|
+
created_at?: string;
|
|
1462
|
+
customer_key?: string;
|
|
1463
|
+
id?: string;
|
|
1464
|
+
owner_id?: string;
|
|
1465
|
+
price_group_id?: string;
|
|
1466
|
+
};
|
|
1467
|
+
Relationships: [{
|
|
1468
|
+
foreignKeyName: "customer_price_group_members_price_group_id_fkey";
|
|
1469
|
+
columns: ["price_group_id"];
|
|
1470
|
+
isOneToOne: false;
|
|
1471
|
+
referencedRelation: "customer_price_groups";
|
|
1472
|
+
referencedColumns: ["id"];
|
|
1473
|
+
}];
|
|
1474
|
+
};
|
|
1475
|
+
customer_price_groups: {
|
|
1476
|
+
Row: {
|
|
1477
|
+
calc_type: string | null;
|
|
1478
|
+
calc_value: number | null;
|
|
1479
|
+
calc_value_type: string | null;
|
|
1480
|
+
created_at: string;
|
|
1481
|
+
currency: string;
|
|
1482
|
+
distribute_over: string | null;
|
|
1483
|
+
group_type: string;
|
|
1484
|
+
handling_fee: number | null;
|
|
1485
|
+
id: string;
|
|
1486
|
+
include_stickers: boolean;
|
|
1487
|
+
is_active: boolean;
|
|
1488
|
+
name: string;
|
|
1489
|
+
owner_id: string;
|
|
1490
|
+
price_scope: string;
|
|
1491
|
+
pricing_mode: string;
|
|
1492
|
+
rounding: string;
|
|
1493
|
+
rounding_step: number;
|
|
1494
|
+
sort_order: number;
|
|
1495
|
+
unit: string;
|
|
1496
|
+
updated_at: string;
|
|
1497
|
+
};
|
|
1498
|
+
Insert: {
|
|
1499
|
+
calc_type?: string | null;
|
|
1500
|
+
calc_value?: number | null;
|
|
1501
|
+
calc_value_type?: string | null;
|
|
1502
|
+
created_at?: string;
|
|
1503
|
+
currency?: string;
|
|
1504
|
+
distribute_over?: string | null;
|
|
1505
|
+
group_type?: string;
|
|
1506
|
+
handling_fee?: number | null;
|
|
1507
|
+
id?: string;
|
|
1508
|
+
include_stickers?: boolean;
|
|
1509
|
+
is_active?: boolean;
|
|
1510
|
+
name: string;
|
|
1511
|
+
owner_id?: string;
|
|
1512
|
+
price_scope?: string;
|
|
1513
|
+
pricing_mode?: string;
|
|
1514
|
+
rounding?: string;
|
|
1515
|
+
rounding_step?: number;
|
|
1516
|
+
sort_order?: number;
|
|
1517
|
+
unit?: string;
|
|
1518
|
+
updated_at?: string;
|
|
1519
|
+
};
|
|
1520
|
+
Update: {
|
|
1521
|
+
calc_type?: string | null;
|
|
1522
|
+
calc_value?: number | null;
|
|
1523
|
+
calc_value_type?: string | null;
|
|
1524
|
+
created_at?: string;
|
|
1525
|
+
currency?: string;
|
|
1526
|
+
distribute_over?: string | null;
|
|
1527
|
+
group_type?: string;
|
|
1528
|
+
handling_fee?: number | null;
|
|
1529
|
+
id?: string;
|
|
1530
|
+
include_stickers?: boolean;
|
|
1531
|
+
is_active?: boolean;
|
|
1532
|
+
name?: string;
|
|
1533
|
+
owner_id?: string;
|
|
1534
|
+
price_scope?: string;
|
|
1535
|
+
pricing_mode?: string;
|
|
1536
|
+
rounding?: string;
|
|
1537
|
+
rounding_step?: number;
|
|
1538
|
+
sort_order?: number;
|
|
1539
|
+
unit?: string;
|
|
1540
|
+
updated_at?: string;
|
|
1541
|
+
};
|
|
1542
|
+
Relationships: [];
|
|
1543
|
+
};
|
|
1151
1544
|
customer_selected_assortment: {
|
|
1152
1545
|
Row: {
|
|
1153
1546
|
article_number: string | null;
|
|
@@ -1301,6 +1694,10 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
1301
1694
|
sync_error: string | null;
|
|
1302
1695
|
sync_status: string;
|
|
1303
1696
|
trade_forms: string[];
|
|
1697
|
+
twinfield_code: string | null;
|
|
1698
|
+
twinfield_last_hash: string | null;
|
|
1699
|
+
twinfield_sync_error: string | null;
|
|
1700
|
+
twinfield_synced_at: string | null;
|
|
1304
1701
|
updated_at: string;
|
|
1305
1702
|
vat_display: string | null;
|
|
1306
1703
|
vat_number: string | null;
|
|
@@ -1368,6 +1765,10 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
1368
1765
|
sync_error?: string | null;
|
|
1369
1766
|
sync_status?: string;
|
|
1370
1767
|
trade_forms?: string[];
|
|
1768
|
+
twinfield_code?: string | null;
|
|
1769
|
+
twinfield_last_hash?: string | null;
|
|
1770
|
+
twinfield_sync_error?: string | null;
|
|
1771
|
+
twinfield_synced_at?: string | null;
|
|
1371
1772
|
updated_at?: string;
|
|
1372
1773
|
vat_display?: string | null;
|
|
1373
1774
|
vat_number?: string | null;
|
|
@@ -1435,6 +1836,10 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
1435
1836
|
sync_error?: string | null;
|
|
1436
1837
|
sync_status?: string;
|
|
1437
1838
|
trade_forms?: string[];
|
|
1839
|
+
twinfield_code?: string | null;
|
|
1840
|
+
twinfield_last_hash?: string | null;
|
|
1841
|
+
twinfield_sync_error?: string | null;
|
|
1842
|
+
twinfield_synced_at?: string | null;
|
|
1438
1843
|
updated_at?: string;
|
|
1439
1844
|
vat_display?: string | null;
|
|
1440
1845
|
vat_number?: string | null;
|
|
@@ -8417,6 +8822,27 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
8417
8822
|
};
|
|
8418
8823
|
Relationships: [];
|
|
8419
8824
|
};
|
|
8825
|
+
technician_rates: {
|
|
8826
|
+
Row: {
|
|
8827
|
+
created_at: string;
|
|
8828
|
+
hourly_rate_cents: number;
|
|
8829
|
+
updated_at: string;
|
|
8830
|
+
user_id: string;
|
|
8831
|
+
};
|
|
8832
|
+
Insert: {
|
|
8833
|
+
created_at?: string;
|
|
8834
|
+
hourly_rate_cents?: number;
|
|
8835
|
+
updated_at?: string;
|
|
8836
|
+
user_id: string;
|
|
8837
|
+
};
|
|
8838
|
+
Update: {
|
|
8839
|
+
created_at?: string;
|
|
8840
|
+
hourly_rate_cents?: number;
|
|
8841
|
+
updated_at?: string;
|
|
8842
|
+
user_id?: string;
|
|
8843
|
+
};
|
|
8844
|
+
Relationships: [];
|
|
8845
|
+
};
|
|
8420
8846
|
tenants: {
|
|
8421
8847
|
Row: {
|
|
8422
8848
|
created_at: string;
|
|
@@ -8886,6 +9312,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
8886
9312
|
country: string | null;
|
|
8887
9313
|
created_at: string;
|
|
8888
9314
|
email: string | null;
|
|
9315
|
+
external_group_key: string | null;
|
|
8889
9316
|
id: string;
|
|
8890
9317
|
last_synced_at: string | null;
|
|
8891
9318
|
name: string;
|
|
@@ -8904,6 +9331,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
8904
9331
|
country?: string | null;
|
|
8905
9332
|
created_at?: string;
|
|
8906
9333
|
email?: string | null;
|
|
9334
|
+
external_group_key?: string | null;
|
|
8907
9335
|
id?: string;
|
|
8908
9336
|
last_synced_at?: string | null;
|
|
8909
9337
|
name: string;
|
|
@@ -8922,6 +9350,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
8922
9350
|
country?: string | null;
|
|
8923
9351
|
created_at?: string;
|
|
8924
9352
|
email?: string | null;
|
|
9353
|
+
external_group_key?: string | null;
|
|
8925
9354
|
id?: string;
|
|
8926
9355
|
last_synced_at?: string | null;
|
|
8927
9356
|
name?: string;
|
|
@@ -9086,6 +9515,8 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
9086
9515
|
twinfield_invoice_settings: {
|
|
9087
9516
|
Row: {
|
|
9088
9517
|
created_at: string;
|
|
9518
|
+
debtor_gl_account: string;
|
|
9519
|
+
default_credit_invoice_type: string | null;
|
|
9089
9520
|
default_gl_account: string;
|
|
9090
9521
|
default_invoice_type: string;
|
|
9091
9522
|
default_payment_term_days: number;
|
|
@@ -9094,11 +9525,15 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
9094
9525
|
invoice_enabled_fo: boolean;
|
|
9095
9526
|
invoice_enabled_ho: boolean;
|
|
9096
9527
|
invoice_enabled_mo: boolean;
|
|
9528
|
+
payment_gl_account: string;
|
|
9529
|
+
payment_journal_code: string;
|
|
9097
9530
|
updated_at: string;
|
|
9098
9531
|
user_id: string;
|
|
9099
9532
|
};
|
|
9100
9533
|
Insert: {
|
|
9101
9534
|
created_at?: string;
|
|
9535
|
+
debtor_gl_account?: string;
|
|
9536
|
+
default_credit_invoice_type?: string | null;
|
|
9102
9537
|
default_gl_account?: string;
|
|
9103
9538
|
default_invoice_type?: string;
|
|
9104
9539
|
default_payment_term_days?: number;
|
|
@@ -9107,11 +9542,15 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
9107
9542
|
invoice_enabled_fo?: boolean;
|
|
9108
9543
|
invoice_enabled_ho?: boolean;
|
|
9109
9544
|
invoice_enabled_mo?: boolean;
|
|
9545
|
+
payment_gl_account?: string;
|
|
9546
|
+
payment_journal_code?: string;
|
|
9110
9547
|
updated_at?: string;
|
|
9111
9548
|
user_id: string;
|
|
9112
9549
|
};
|
|
9113
9550
|
Update: {
|
|
9114
9551
|
created_at?: string;
|
|
9552
|
+
debtor_gl_account?: string;
|
|
9553
|
+
default_credit_invoice_type?: string | null;
|
|
9115
9554
|
default_gl_account?: string;
|
|
9116
9555
|
default_invoice_type?: string;
|
|
9117
9556
|
default_payment_term_days?: number;
|
|
@@ -9120,6 +9559,8 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
9120
9559
|
invoice_enabled_fo?: boolean;
|
|
9121
9560
|
invoice_enabled_ho?: boolean;
|
|
9122
9561
|
invoice_enabled_mo?: boolean;
|
|
9562
|
+
payment_gl_account?: string;
|
|
9563
|
+
payment_journal_code?: string;
|
|
9123
9564
|
updated_at?: string;
|
|
9124
9565
|
user_id?: string;
|
|
9125
9566
|
};
|
|
@@ -9340,43 +9781,49 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
9340
9781
|
};
|
|
9341
9782
|
twinfield_push_queue: {
|
|
9342
9783
|
Row: {
|
|
9784
|
+
action: string;
|
|
9343
9785
|
attempts: number;
|
|
9344
9786
|
connection_id: string;
|
|
9345
9787
|
created_at: string;
|
|
9788
|
+
customer_id: string | null;
|
|
9346
9789
|
external_id: string | null;
|
|
9347
9790
|
id: string;
|
|
9348
9791
|
idempotency_key: string;
|
|
9349
9792
|
last_error: string | null;
|
|
9350
9793
|
next_attempt_at: string;
|
|
9351
|
-
office_code: string;
|
|
9794
|
+
office_code: string | null;
|
|
9352
9795
|
payload: import("../integrations/supabase/types").Json;
|
|
9353
9796
|
status: string;
|
|
9354
9797
|
updated_at: string;
|
|
9355
9798
|
};
|
|
9356
9799
|
Insert: {
|
|
9800
|
+
action?: string;
|
|
9357
9801
|
attempts?: number;
|
|
9358
9802
|
connection_id: string;
|
|
9359
9803
|
created_at?: string;
|
|
9804
|
+
customer_id?: string | null;
|
|
9360
9805
|
external_id?: string | null;
|
|
9361
9806
|
id?: string;
|
|
9362
9807
|
idempotency_key: string;
|
|
9363
9808
|
last_error?: string | null;
|
|
9364
9809
|
next_attempt_at?: string;
|
|
9365
|
-
office_code
|
|
9810
|
+
office_code?: string | null;
|
|
9366
9811
|
payload: import("../integrations/supabase/types").Json;
|
|
9367
9812
|
status?: string;
|
|
9368
9813
|
updated_at?: string;
|
|
9369
9814
|
};
|
|
9370
9815
|
Update: {
|
|
9816
|
+
action?: string;
|
|
9371
9817
|
attempts?: number;
|
|
9372
9818
|
connection_id?: string;
|
|
9373
9819
|
created_at?: string;
|
|
9820
|
+
customer_id?: string | null;
|
|
9374
9821
|
external_id?: string | null;
|
|
9375
9822
|
id?: string;
|
|
9376
9823
|
idempotency_key?: string;
|
|
9377
9824
|
last_error?: string | null;
|
|
9378
9825
|
next_attempt_at?: string;
|
|
9379
|
-
office_code?: string;
|
|
9826
|
+
office_code?: string | null;
|
|
9380
9827
|
payload?: import("../integrations/supabase/types").Json;
|
|
9381
9828
|
status?: string;
|
|
9382
9829
|
updated_at?: string;
|
|
@@ -9387,6 +9834,12 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
9387
9834
|
isOneToOne: false;
|
|
9388
9835
|
referencedRelation: "twinfield_connections";
|
|
9389
9836
|
referencedColumns: ["id"];
|
|
9837
|
+
}, {
|
|
9838
|
+
foreignKeyName: "twinfield_push_queue_customer_id_fkey";
|
|
9839
|
+
columns: ["customer_id"];
|
|
9840
|
+
isOneToOne: false;
|
|
9841
|
+
referencedRelation: "customers";
|
|
9842
|
+
referencedColumns: ["id"];
|
|
9390
9843
|
}];
|
|
9391
9844
|
};
|
|
9392
9845
|
twinfield_request_metrics: {
|
|
@@ -9662,6 +10115,246 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
9662
10115
|
};
|
|
9663
10116
|
Relationships: [];
|
|
9664
10117
|
};
|
|
10118
|
+
werkbon_package_lines: {
|
|
10119
|
+
Row: {
|
|
10120
|
+
created_at: string;
|
|
10121
|
+
created_by: string | null;
|
|
10122
|
+
id: string;
|
|
10123
|
+
package_id: string;
|
|
10124
|
+
quantity: number;
|
|
10125
|
+
unit_price_cents_snapshot: number;
|
|
10126
|
+
werkbon_id: string;
|
|
10127
|
+
};
|
|
10128
|
+
Insert: {
|
|
10129
|
+
created_at?: string;
|
|
10130
|
+
created_by?: string | null;
|
|
10131
|
+
id?: string;
|
|
10132
|
+
package_id: string;
|
|
10133
|
+
quantity?: number;
|
|
10134
|
+
unit_price_cents_snapshot?: number;
|
|
10135
|
+
werkbon_id: string;
|
|
10136
|
+
};
|
|
10137
|
+
Update: {
|
|
10138
|
+
created_at?: string;
|
|
10139
|
+
created_by?: string | null;
|
|
10140
|
+
id?: string;
|
|
10141
|
+
package_id?: string;
|
|
10142
|
+
quantity?: number;
|
|
10143
|
+
unit_price_cents_snapshot?: number;
|
|
10144
|
+
werkbon_id?: string;
|
|
10145
|
+
};
|
|
10146
|
+
Relationships: [{
|
|
10147
|
+
foreignKeyName: "werkbon_package_lines_package_id_fkey";
|
|
10148
|
+
columns: ["package_id"];
|
|
10149
|
+
isOneToOne: false;
|
|
10150
|
+
referencedRelation: "werkbon_packages";
|
|
10151
|
+
referencedColumns: ["id"];
|
|
10152
|
+
}, {
|
|
10153
|
+
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
10154
|
+
columns: ["werkbon_id"];
|
|
10155
|
+
isOneToOne: false;
|
|
10156
|
+
referencedRelation: "werkbonnen";
|
|
10157
|
+
referencedColumns: ["id"];
|
|
10158
|
+
}];
|
|
10159
|
+
};
|
|
10160
|
+
werkbon_packages: {
|
|
10161
|
+
Row: {
|
|
10162
|
+
active: boolean;
|
|
10163
|
+
code: string;
|
|
10164
|
+
created_at: string;
|
|
10165
|
+
default_quantity: number;
|
|
10166
|
+
description: string | null;
|
|
10167
|
+
id: string;
|
|
10168
|
+
name: string;
|
|
10169
|
+
unit_price_cents: number;
|
|
10170
|
+
updated_at: string;
|
|
10171
|
+
};
|
|
10172
|
+
Insert: {
|
|
10173
|
+
active?: boolean;
|
|
10174
|
+
code: string;
|
|
10175
|
+
created_at?: string;
|
|
10176
|
+
default_quantity?: number;
|
|
10177
|
+
description?: string | null;
|
|
10178
|
+
id?: string;
|
|
10179
|
+
name: string;
|
|
10180
|
+
unit_price_cents?: number;
|
|
10181
|
+
updated_at?: string;
|
|
10182
|
+
};
|
|
10183
|
+
Update: {
|
|
10184
|
+
active?: boolean;
|
|
10185
|
+
code?: string;
|
|
10186
|
+
created_at?: string;
|
|
10187
|
+
default_quantity?: number;
|
|
10188
|
+
description?: string | null;
|
|
10189
|
+
id?: string;
|
|
10190
|
+
name?: string;
|
|
10191
|
+
unit_price_cents?: number;
|
|
10192
|
+
updated_at?: string;
|
|
10193
|
+
};
|
|
10194
|
+
Relationships: [];
|
|
10195
|
+
};
|
|
10196
|
+
werkbon_photos: {
|
|
10197
|
+
Row: {
|
|
10198
|
+
created_at: string;
|
|
10199
|
+
id: string;
|
|
10200
|
+
storage_path: string;
|
|
10201
|
+
user_id: string;
|
|
10202
|
+
werkbon_id: string;
|
|
10203
|
+
};
|
|
10204
|
+
Insert: {
|
|
10205
|
+
created_at?: string;
|
|
10206
|
+
id?: string;
|
|
10207
|
+
storage_path: string;
|
|
10208
|
+
user_id: string;
|
|
10209
|
+
werkbon_id: string;
|
|
10210
|
+
};
|
|
10211
|
+
Update: {
|
|
10212
|
+
created_at?: string;
|
|
10213
|
+
id?: string;
|
|
10214
|
+
storage_path?: string;
|
|
10215
|
+
user_id?: string;
|
|
10216
|
+
werkbon_id?: string;
|
|
10217
|
+
};
|
|
10218
|
+
Relationships: [{
|
|
10219
|
+
foreignKeyName: "werkbon_photos_werkbon_id_fkey";
|
|
10220
|
+
columns: ["werkbon_id"];
|
|
10221
|
+
isOneToOne: false;
|
|
10222
|
+
referencedRelation: "werkbonnen";
|
|
10223
|
+
referencedColumns: ["id"];
|
|
10224
|
+
}];
|
|
10225
|
+
};
|
|
10226
|
+
werkbon_time_logs: {
|
|
10227
|
+
Row: {
|
|
10228
|
+
activity: string;
|
|
10229
|
+
created_at: string;
|
|
10230
|
+
ended_at: string | null;
|
|
10231
|
+
id: string;
|
|
10232
|
+
started_at: string;
|
|
10233
|
+
user_id: string;
|
|
10234
|
+
werkbon_id: string;
|
|
10235
|
+
};
|
|
10236
|
+
Insert: {
|
|
10237
|
+
activity: string;
|
|
10238
|
+
created_at?: string;
|
|
10239
|
+
ended_at?: string | null;
|
|
10240
|
+
id?: string;
|
|
10241
|
+
started_at?: string;
|
|
10242
|
+
user_id: string;
|
|
10243
|
+
werkbon_id: string;
|
|
10244
|
+
};
|
|
10245
|
+
Update: {
|
|
10246
|
+
activity?: string;
|
|
10247
|
+
created_at?: string;
|
|
10248
|
+
ended_at?: string | null;
|
|
10249
|
+
id?: string;
|
|
10250
|
+
started_at?: string;
|
|
10251
|
+
user_id?: string;
|
|
10252
|
+
werkbon_id?: string;
|
|
10253
|
+
};
|
|
10254
|
+
Relationships: [{
|
|
10255
|
+
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
10256
|
+
columns: ["werkbon_id"];
|
|
10257
|
+
isOneToOne: false;
|
|
10258
|
+
referencedRelation: "werkbonnen";
|
|
10259
|
+
referencedColumns: ["id"];
|
|
10260
|
+
}];
|
|
10261
|
+
};
|
|
10262
|
+
werkbonnen: {
|
|
10263
|
+
Row: {
|
|
10264
|
+
assigned_user_id: string | null;
|
|
10265
|
+
budget_mandate_cents: number;
|
|
10266
|
+
complaint_description: string | null;
|
|
10267
|
+
created_at: string;
|
|
10268
|
+
created_by: string | null;
|
|
10269
|
+
customer_id: string | null;
|
|
10270
|
+
externe_referentie: string | null;
|
|
10271
|
+
first_time_fix: boolean | null;
|
|
10272
|
+
id: string;
|
|
10273
|
+
internal_notes: string | null;
|
|
10274
|
+
parent_werkbon_id: string | null;
|
|
10275
|
+
parsed_payload: import("../integrations/supabase/types").Json | null;
|
|
10276
|
+
project_number: string | null;
|
|
10277
|
+
room_number: string | null;
|
|
10278
|
+
scheduled_end_time: string | null;
|
|
10279
|
+
scheduled_start_time: string | null;
|
|
10280
|
+
sequence_number: number;
|
|
10281
|
+
source_pdf_path: string | null;
|
|
10282
|
+
status: string;
|
|
10283
|
+
technician_notes: string | null;
|
|
10284
|
+
technician_notes_raw: string | null;
|
|
10285
|
+
technician_task_description: string | null;
|
|
10286
|
+
updated_at: string;
|
|
10287
|
+
version: number;
|
|
10288
|
+
work_address: string | null;
|
|
10289
|
+
};
|
|
10290
|
+
Insert: {
|
|
10291
|
+
assigned_user_id?: string | null;
|
|
10292
|
+
budget_mandate_cents?: number;
|
|
10293
|
+
complaint_description?: string | null;
|
|
10294
|
+
created_at?: string;
|
|
10295
|
+
created_by?: string | null;
|
|
10296
|
+
customer_id?: string | null;
|
|
10297
|
+
externe_referentie?: string | null;
|
|
10298
|
+
first_time_fix?: boolean | null;
|
|
10299
|
+
id?: string;
|
|
10300
|
+
internal_notes?: string | null;
|
|
10301
|
+
parent_werkbon_id?: string | null;
|
|
10302
|
+
parsed_payload?: import("../integrations/supabase/types").Json | null;
|
|
10303
|
+
project_number?: string | null;
|
|
10304
|
+
room_number?: string | null;
|
|
10305
|
+
scheduled_end_time?: string | null;
|
|
10306
|
+
scheduled_start_time?: string | null;
|
|
10307
|
+
sequence_number: number;
|
|
10308
|
+
source_pdf_path?: string | null;
|
|
10309
|
+
status?: string;
|
|
10310
|
+
technician_notes?: string | null;
|
|
10311
|
+
technician_notes_raw?: string | null;
|
|
10312
|
+
technician_task_description?: string | null;
|
|
10313
|
+
updated_at?: string;
|
|
10314
|
+
version?: number;
|
|
10315
|
+
work_address?: string | null;
|
|
10316
|
+
};
|
|
10317
|
+
Update: {
|
|
10318
|
+
assigned_user_id?: string | null;
|
|
10319
|
+
budget_mandate_cents?: number;
|
|
10320
|
+
complaint_description?: string | null;
|
|
10321
|
+
created_at?: string;
|
|
10322
|
+
created_by?: string | null;
|
|
10323
|
+
customer_id?: string | null;
|
|
10324
|
+
externe_referentie?: string | null;
|
|
10325
|
+
first_time_fix?: boolean | null;
|
|
10326
|
+
id?: string;
|
|
10327
|
+
internal_notes?: string | null;
|
|
10328
|
+
parent_werkbon_id?: string | null;
|
|
10329
|
+
parsed_payload?: import("../integrations/supabase/types").Json | null;
|
|
10330
|
+
project_number?: string | null;
|
|
10331
|
+
room_number?: string | null;
|
|
10332
|
+
scheduled_end_time?: string | null;
|
|
10333
|
+
scheduled_start_time?: string | null;
|
|
10334
|
+
sequence_number?: number;
|
|
10335
|
+
source_pdf_path?: string | null;
|
|
10336
|
+
status?: string;
|
|
10337
|
+
technician_notes?: string | null;
|
|
10338
|
+
technician_notes_raw?: string | null;
|
|
10339
|
+
technician_task_description?: string | null;
|
|
10340
|
+
updated_at?: string;
|
|
10341
|
+
version?: number;
|
|
10342
|
+
work_address?: string | null;
|
|
10343
|
+
};
|
|
10344
|
+
Relationships: [{
|
|
10345
|
+
foreignKeyName: "werkbonnen_customer_id_fkey";
|
|
10346
|
+
columns: ["customer_id"];
|
|
10347
|
+
isOneToOne: false;
|
|
10348
|
+
referencedRelation: "customers";
|
|
10349
|
+
referencedColumns: ["id"];
|
|
10350
|
+
}, {
|
|
10351
|
+
foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
|
|
10352
|
+
columns: ["parent_werkbon_id"];
|
|
10353
|
+
isOneToOne: false;
|
|
10354
|
+
referencedRelation: "werkbonnen";
|
|
10355
|
+
referencedColumns: ["id"];
|
|
10356
|
+
}];
|
|
10357
|
+
};
|
|
9665
10358
|
work_order_monteurs: {
|
|
9666
10359
|
Row: {
|
|
9667
10360
|
created_at: string;
|
|
@@ -9832,6 +10525,8 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
9832
10525
|
created_at: string | null;
|
|
9833
10526
|
created_by: string | null;
|
|
9834
10527
|
display_name: string | null;
|
|
10528
|
+
graph_subscription_expires_at: string | null;
|
|
10529
|
+
graph_subscription_id: string | null;
|
|
9835
10530
|
has_access_token: boolean | null;
|
|
9836
10531
|
has_client_id: boolean | null;
|
|
9837
10532
|
has_client_secret: boolean | null;
|
|
@@ -9849,6 +10544,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
9849
10544
|
oauth_mode: string | null;
|
|
9850
10545
|
provider: string | null;
|
|
9851
10546
|
purpose_assignments: import("../integrations/supabase/types").Json | null;
|
|
10547
|
+
realtime_mode: string | null;
|
|
9852
10548
|
scopes: string[] | null;
|
|
9853
10549
|
smtp_host: string | null;
|
|
9854
10550
|
smtp_port: number | null;
|
|
@@ -9863,6 +10559,8 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
9863
10559
|
created_at?: string | null;
|
|
9864
10560
|
created_by?: string | null;
|
|
9865
10561
|
display_name?: string | null;
|
|
10562
|
+
graph_subscription_expires_at?: string | null;
|
|
10563
|
+
graph_subscription_id?: string | null;
|
|
9866
10564
|
has_access_token?: never;
|
|
9867
10565
|
has_client_id?: never;
|
|
9868
10566
|
has_client_secret?: never;
|
|
@@ -9880,6 +10578,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
9880
10578
|
oauth_mode?: string | null;
|
|
9881
10579
|
provider?: string | null;
|
|
9882
10580
|
purpose_assignments?: import("../integrations/supabase/types").Json | null;
|
|
10581
|
+
realtime_mode?: string | null;
|
|
9883
10582
|
scopes?: string[] | null;
|
|
9884
10583
|
smtp_host?: string | null;
|
|
9885
10584
|
smtp_port?: number | null;
|
|
@@ -9894,6 +10593,8 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
9894
10593
|
created_at?: string | null;
|
|
9895
10594
|
created_by?: string | null;
|
|
9896
10595
|
display_name?: string | null;
|
|
10596
|
+
graph_subscription_expires_at?: string | null;
|
|
10597
|
+
graph_subscription_id?: string | null;
|
|
9897
10598
|
has_access_token?: never;
|
|
9898
10599
|
has_client_id?: never;
|
|
9899
10600
|
has_client_secret?: never;
|
|
@@ -9911,6 +10612,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
9911
10612
|
oauth_mode?: string | null;
|
|
9912
10613
|
provider?: string | null;
|
|
9913
10614
|
purpose_assignments?: import("../integrations/supabase/types").Json | null;
|
|
10615
|
+
realtime_mode?: string | null;
|
|
9914
10616
|
scopes?: string[] | null;
|
|
9915
10617
|
smtp_host?: string | null;
|
|
9916
10618
|
smtp_port?: number | null;
|
|
@@ -10454,6 +11156,33 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
10454
11156
|
};
|
|
10455
11157
|
Returns: import("../integrations/supabase/types").Json;
|
|
10456
11158
|
};
|
|
11159
|
+
claim_twinfield_push_batch: {
|
|
11160
|
+
Args: {
|
|
11161
|
+
_limit?: number;
|
|
11162
|
+
};
|
|
11163
|
+
Returns: {
|
|
11164
|
+
action: string;
|
|
11165
|
+
attempts: number;
|
|
11166
|
+
connection_id: string;
|
|
11167
|
+
created_at: string;
|
|
11168
|
+
customer_id: string | null;
|
|
11169
|
+
external_id: string | null;
|
|
11170
|
+
id: string;
|
|
11171
|
+
idempotency_key: string;
|
|
11172
|
+
last_error: string | null;
|
|
11173
|
+
next_attempt_at: string;
|
|
11174
|
+
office_code: string | null;
|
|
11175
|
+
payload: import("../integrations/supabase/types").Json;
|
|
11176
|
+
status: string;
|
|
11177
|
+
updated_at: string;
|
|
11178
|
+
}[];
|
|
11179
|
+
SetofOptions: {
|
|
11180
|
+
from: "*";
|
|
11181
|
+
to: "twinfield_push_queue";
|
|
11182
|
+
isOneToOne: false;
|
|
11183
|
+
isSetofReturn: true;
|
|
11184
|
+
};
|
|
11185
|
+
};
|
|
10457
11186
|
cleanup_old_bookings: {
|
|
10458
11187
|
Args: never;
|
|
10459
11188
|
Returns: undefined;
|
|
@@ -10550,6 +11279,16 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
10550
11279
|
status: string;
|
|
10551
11280
|
}[];
|
|
10552
11281
|
};
|
|
11282
|
+
email_auth_upsert_connection: {
|
|
11283
|
+
Args: {
|
|
11284
|
+
_account_email: string;
|
|
11285
|
+
_created_by: string;
|
|
11286
|
+
_is_active: boolean;
|
|
11287
|
+
_provider: string;
|
|
11288
|
+
_status: string;
|
|
11289
|
+
};
|
|
11290
|
+
Returns: string;
|
|
11291
|
+
};
|
|
10553
11292
|
enqueue_cart_replan_if_unlocked: {
|
|
10554
11293
|
Args: {
|
|
10555
11294
|
p_order_id: string;
|
|
@@ -10822,6 +11561,10 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
10822
11561
|
};
|
|
10823
11562
|
Returns: boolean;
|
|
10824
11563
|
};
|
|
11564
|
+
has_twinfield_link: {
|
|
11565
|
+
Args: never;
|
|
11566
|
+
Returns: boolean;
|
|
11567
|
+
};
|
|
10825
11568
|
is_authenticated: {
|
|
10826
11569
|
Args: never;
|
|
10827
11570
|
Returns: boolean;
|
|
@@ -10877,6 +11620,10 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
10877
11620
|
};
|
|
10878
11621
|
Returns: string;
|
|
10879
11622
|
};
|
|
11623
|
+
next_twinfield_code: {
|
|
11624
|
+
Args: never;
|
|
11625
|
+
Returns: string;
|
|
11626
|
+
};
|
|
10880
11627
|
next_work_order_number: {
|
|
10881
11628
|
Args: {
|
|
10882
11629
|
p_parent_work_order_id?: string;
|
|
@@ -10991,6 +11738,12 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
10991
11738
|
};
|
|
10992
11739
|
Returns: number;
|
|
10993
11740
|
};
|
|
11741
|
+
reorder_customer_price_groups: {
|
|
11742
|
+
Args: {
|
|
11743
|
+
_ids: string[];
|
|
11744
|
+
};
|
|
11745
|
+
Returns: undefined;
|
|
11746
|
+
};
|
|
10994
11747
|
reset_floriday_sync_cursor: {
|
|
10995
11748
|
Args: {
|
|
10996
11749
|
p_connection_id: string;
|
|
@@ -11004,6 +11757,12 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
11004
11757
|
};
|
|
11005
11758
|
Returns: string;
|
|
11006
11759
|
};
|
|
11760
|
+
retry_twinfield_push: {
|
|
11761
|
+
Args: {
|
|
11762
|
+
_customer_id: string;
|
|
11763
|
+
};
|
|
11764
|
+
Returns: number;
|
|
11765
|
+
};
|
|
11007
11766
|
schedule_floriday_additional_services_sync: {
|
|
11008
11767
|
Args: {
|
|
11009
11768
|
p_apikey: string;
|
|
@@ -11581,6 +12340,237 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
11581
12340
|
};
|
|
11582
12341
|
Relationships: [];
|
|
11583
12342
|
};
|
|
12343
|
+
ai_admin_credentials: {
|
|
12344
|
+
Row: {
|
|
12345
|
+
active: boolean;
|
|
12346
|
+
admin_key: string;
|
|
12347
|
+
created_at: string;
|
|
12348
|
+
id: string;
|
|
12349
|
+
label: string;
|
|
12350
|
+
provider_id: string;
|
|
12351
|
+
updated_at: string;
|
|
12352
|
+
};
|
|
12353
|
+
Insert: {
|
|
12354
|
+
active?: boolean;
|
|
12355
|
+
admin_key: string;
|
|
12356
|
+
created_at?: string;
|
|
12357
|
+
id?: string;
|
|
12358
|
+
label: string;
|
|
12359
|
+
provider_id: string;
|
|
12360
|
+
updated_at?: string;
|
|
12361
|
+
};
|
|
12362
|
+
Update: {
|
|
12363
|
+
active?: boolean;
|
|
12364
|
+
admin_key?: string;
|
|
12365
|
+
created_at?: string;
|
|
12366
|
+
id?: string;
|
|
12367
|
+
label?: string;
|
|
12368
|
+
provider_id?: string;
|
|
12369
|
+
updated_at?: string;
|
|
12370
|
+
};
|
|
12371
|
+
Relationships: [{
|
|
12372
|
+
foreignKeyName: "ai_admin_credentials_provider_id_fkey";
|
|
12373
|
+
columns: ["provider_id"];
|
|
12374
|
+
isOneToOne: true;
|
|
12375
|
+
referencedRelation: "ai_providers";
|
|
12376
|
+
referencedColumns: ["id"];
|
|
12377
|
+
}];
|
|
12378
|
+
};
|
|
12379
|
+
ai_credentials: {
|
|
12380
|
+
Row: {
|
|
12381
|
+
active: boolean;
|
|
12382
|
+
api_key: string;
|
|
12383
|
+
created_at: string;
|
|
12384
|
+
id: string;
|
|
12385
|
+
label: string;
|
|
12386
|
+
provider_id: string;
|
|
12387
|
+
updated_at: string;
|
|
12388
|
+
};
|
|
12389
|
+
Insert: {
|
|
12390
|
+
active?: boolean;
|
|
12391
|
+
api_key: string;
|
|
12392
|
+
created_at?: string;
|
|
12393
|
+
id?: string;
|
|
12394
|
+
label: string;
|
|
12395
|
+
provider_id: string;
|
|
12396
|
+
updated_at?: string;
|
|
12397
|
+
};
|
|
12398
|
+
Update: {
|
|
12399
|
+
active?: boolean;
|
|
12400
|
+
api_key?: string;
|
|
12401
|
+
created_at?: string;
|
|
12402
|
+
id?: string;
|
|
12403
|
+
label?: string;
|
|
12404
|
+
provider_id?: string;
|
|
12405
|
+
updated_at?: string;
|
|
12406
|
+
};
|
|
12407
|
+
Relationships: [{
|
|
12408
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
12409
|
+
columns: ["provider_id"];
|
|
12410
|
+
isOneToOne: false;
|
|
12411
|
+
referencedRelation: "ai_providers";
|
|
12412
|
+
referencedColumns: ["id"];
|
|
12413
|
+
}];
|
|
12414
|
+
};
|
|
12415
|
+
ai_model_pricing: {
|
|
12416
|
+
Row: {
|
|
12417
|
+
created_at: string;
|
|
12418
|
+
currency: string;
|
|
12419
|
+
fetched_at: string;
|
|
12420
|
+
id: string;
|
|
12421
|
+
input_per_mtok: number | null;
|
|
12422
|
+
model_slug: string;
|
|
12423
|
+
output_per_mtok: number | null;
|
|
12424
|
+
provider_slug: string;
|
|
12425
|
+
source: string;
|
|
12426
|
+
updated_at: string;
|
|
12427
|
+
};
|
|
12428
|
+
Insert: {
|
|
12429
|
+
created_at?: string;
|
|
12430
|
+
currency?: string;
|
|
12431
|
+
fetched_at?: string;
|
|
12432
|
+
id?: string;
|
|
12433
|
+
input_per_mtok?: number | null;
|
|
12434
|
+
model_slug: string;
|
|
12435
|
+
output_per_mtok?: number | null;
|
|
12436
|
+
provider_slug: string;
|
|
12437
|
+
source?: string;
|
|
12438
|
+
updated_at?: string;
|
|
12439
|
+
};
|
|
12440
|
+
Update: {
|
|
12441
|
+
created_at?: string;
|
|
12442
|
+
currency?: string;
|
|
12443
|
+
fetched_at?: string;
|
|
12444
|
+
id?: string;
|
|
12445
|
+
input_per_mtok?: number | null;
|
|
12446
|
+
model_slug?: string;
|
|
12447
|
+
output_per_mtok?: number | null;
|
|
12448
|
+
provider_slug?: string;
|
|
12449
|
+
source?: string;
|
|
12450
|
+
updated_at?: string;
|
|
12451
|
+
};
|
|
12452
|
+
Relationships: [];
|
|
12453
|
+
};
|
|
12454
|
+
ai_models: {
|
|
12455
|
+
Row: {
|
|
12456
|
+
active: boolean;
|
|
12457
|
+
context_window: number | null;
|
|
12458
|
+
created_at: string;
|
|
12459
|
+
display_name: string;
|
|
12460
|
+
id: string;
|
|
12461
|
+
is_default: boolean;
|
|
12462
|
+
modality: string;
|
|
12463
|
+
provider_id: string;
|
|
12464
|
+
slug: string;
|
|
12465
|
+
updated_at: string;
|
|
12466
|
+
};
|
|
12467
|
+
Insert: {
|
|
12468
|
+
active?: boolean;
|
|
12469
|
+
context_window?: number | null;
|
|
12470
|
+
created_at?: string;
|
|
12471
|
+
display_name: string;
|
|
12472
|
+
id?: string;
|
|
12473
|
+
is_default?: boolean;
|
|
12474
|
+
modality?: string;
|
|
12475
|
+
provider_id: string;
|
|
12476
|
+
slug: string;
|
|
12477
|
+
updated_at?: string;
|
|
12478
|
+
};
|
|
12479
|
+
Update: {
|
|
12480
|
+
active?: boolean;
|
|
12481
|
+
context_window?: number | null;
|
|
12482
|
+
created_at?: string;
|
|
12483
|
+
display_name?: string;
|
|
12484
|
+
id?: string;
|
|
12485
|
+
is_default?: boolean;
|
|
12486
|
+
modality?: string;
|
|
12487
|
+
provider_id?: string;
|
|
12488
|
+
slug?: string;
|
|
12489
|
+
updated_at?: string;
|
|
12490
|
+
};
|
|
12491
|
+
Relationships: [{
|
|
12492
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
12493
|
+
columns: ["provider_id"];
|
|
12494
|
+
isOneToOne: false;
|
|
12495
|
+
referencedRelation: "ai_providers";
|
|
12496
|
+
referencedColumns: ["id"];
|
|
12497
|
+
}];
|
|
12498
|
+
};
|
|
12499
|
+
ai_module_bindings: {
|
|
12500
|
+
Row: {
|
|
12501
|
+
consumer_module_id: string;
|
|
12502
|
+
created_at: string;
|
|
12503
|
+
credential_id: string;
|
|
12504
|
+
id: string;
|
|
12505
|
+
model_id: string;
|
|
12506
|
+
notes: string | null;
|
|
12507
|
+
updated_at: string;
|
|
12508
|
+
};
|
|
12509
|
+
Insert: {
|
|
12510
|
+
consumer_module_id: string;
|
|
12511
|
+
created_at?: string;
|
|
12512
|
+
credential_id: string;
|
|
12513
|
+
id?: string;
|
|
12514
|
+
model_id: string;
|
|
12515
|
+
notes?: string | null;
|
|
12516
|
+
updated_at?: string;
|
|
12517
|
+
};
|
|
12518
|
+
Update: {
|
|
12519
|
+
consumer_module_id?: string;
|
|
12520
|
+
created_at?: string;
|
|
12521
|
+
credential_id?: string;
|
|
12522
|
+
id?: string;
|
|
12523
|
+
model_id?: string;
|
|
12524
|
+
notes?: string | null;
|
|
12525
|
+
updated_at?: string;
|
|
12526
|
+
};
|
|
12527
|
+
Relationships: [{
|
|
12528
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
12529
|
+
columns: ["credential_id"];
|
|
12530
|
+
isOneToOne: false;
|
|
12531
|
+
referencedRelation: "ai_credentials";
|
|
12532
|
+
referencedColumns: ["id"];
|
|
12533
|
+
}, {
|
|
12534
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
12535
|
+
columns: ["model_id"];
|
|
12536
|
+
isOneToOne: false;
|
|
12537
|
+
referencedRelation: "ai_models";
|
|
12538
|
+
referencedColumns: ["id"];
|
|
12539
|
+
}];
|
|
12540
|
+
};
|
|
12541
|
+
ai_providers: {
|
|
12542
|
+
Row: {
|
|
12543
|
+
active: boolean;
|
|
12544
|
+
auth_type: string;
|
|
12545
|
+
base_url: string | null;
|
|
12546
|
+
created_at: string;
|
|
12547
|
+
id: string;
|
|
12548
|
+
name: string;
|
|
12549
|
+
slug: string;
|
|
12550
|
+
updated_at: string;
|
|
12551
|
+
};
|
|
12552
|
+
Insert: {
|
|
12553
|
+
active?: boolean;
|
|
12554
|
+
auth_type?: string;
|
|
12555
|
+
base_url?: string | null;
|
|
12556
|
+
created_at?: string;
|
|
12557
|
+
id?: string;
|
|
12558
|
+
name: string;
|
|
12559
|
+
slug: string;
|
|
12560
|
+
updated_at?: string;
|
|
12561
|
+
};
|
|
12562
|
+
Update: {
|
|
12563
|
+
active?: boolean;
|
|
12564
|
+
auth_type?: string;
|
|
12565
|
+
base_url?: string | null;
|
|
12566
|
+
created_at?: string;
|
|
12567
|
+
id?: string;
|
|
12568
|
+
name?: string;
|
|
12569
|
+
slug?: string;
|
|
12570
|
+
updated_at?: string;
|
|
12571
|
+
};
|
|
12572
|
+
Relationships: [];
|
|
12573
|
+
};
|
|
11584
12574
|
app_settings: {
|
|
11585
12575
|
Row: {
|
|
11586
12576
|
created_at: string;
|
|
@@ -12238,6 +13228,69 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
12238
13228
|
referencedColumns: ["id"];
|
|
12239
13229
|
}];
|
|
12240
13230
|
};
|
|
13231
|
+
catalog_articles_cache: {
|
|
13232
|
+
Row: {
|
|
13233
|
+
created_at: string;
|
|
13234
|
+
default_price: number;
|
|
13235
|
+
default_vat_rate_ref: string | null;
|
|
13236
|
+
external_ref: string;
|
|
13237
|
+
id: string;
|
|
13238
|
+
name: string;
|
|
13239
|
+
updated_at: string;
|
|
13240
|
+
user_id: string;
|
|
13241
|
+
};
|
|
13242
|
+
Insert: {
|
|
13243
|
+
created_at?: string;
|
|
13244
|
+
default_price?: number;
|
|
13245
|
+
default_vat_rate_ref?: string | null;
|
|
13246
|
+
external_ref: string;
|
|
13247
|
+
id?: string;
|
|
13248
|
+
name: string;
|
|
13249
|
+
updated_at?: string;
|
|
13250
|
+
user_id: string;
|
|
13251
|
+
};
|
|
13252
|
+
Update: {
|
|
13253
|
+
created_at?: string;
|
|
13254
|
+
default_price?: number;
|
|
13255
|
+
default_vat_rate_ref?: string | null;
|
|
13256
|
+
external_ref?: string;
|
|
13257
|
+
id?: string;
|
|
13258
|
+
name?: string;
|
|
13259
|
+
updated_at?: string;
|
|
13260
|
+
user_id?: string;
|
|
13261
|
+
};
|
|
13262
|
+
Relationships: [];
|
|
13263
|
+
};
|
|
13264
|
+
catalog_vat_rates_cache: {
|
|
13265
|
+
Row: {
|
|
13266
|
+
created_at: string;
|
|
13267
|
+
external_ref: string;
|
|
13268
|
+
id: string;
|
|
13269
|
+
label: string;
|
|
13270
|
+
percentage: number;
|
|
13271
|
+
updated_at: string;
|
|
13272
|
+
user_id: string;
|
|
13273
|
+
};
|
|
13274
|
+
Insert: {
|
|
13275
|
+
created_at?: string;
|
|
13276
|
+
external_ref: string;
|
|
13277
|
+
id?: string;
|
|
13278
|
+
label: string;
|
|
13279
|
+
percentage?: number;
|
|
13280
|
+
updated_at?: string;
|
|
13281
|
+
user_id: string;
|
|
13282
|
+
};
|
|
13283
|
+
Update: {
|
|
13284
|
+
created_at?: string;
|
|
13285
|
+
external_ref?: string;
|
|
13286
|
+
id?: string;
|
|
13287
|
+
label?: string;
|
|
13288
|
+
percentage?: number;
|
|
13289
|
+
updated_at?: string;
|
|
13290
|
+
user_id?: string;
|
|
13291
|
+
};
|
|
13292
|
+
Relationships: [];
|
|
13293
|
+
};
|
|
12241
13294
|
collections: {
|
|
12242
13295
|
Row: {
|
|
12243
13296
|
created_at: string;
|
|
@@ -12487,6 +13540,105 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
12487
13540
|
};
|
|
12488
13541
|
Relationships: [];
|
|
12489
13542
|
};
|
|
13543
|
+
customer_price_group_members: {
|
|
13544
|
+
Row: {
|
|
13545
|
+
created_at: string;
|
|
13546
|
+
customer_key: string;
|
|
13547
|
+
id: string;
|
|
13548
|
+
owner_id: string;
|
|
13549
|
+
price_group_id: string;
|
|
13550
|
+
};
|
|
13551
|
+
Insert: {
|
|
13552
|
+
created_at?: string;
|
|
13553
|
+
customer_key: string;
|
|
13554
|
+
id?: string;
|
|
13555
|
+
owner_id?: string;
|
|
13556
|
+
price_group_id: string;
|
|
13557
|
+
};
|
|
13558
|
+
Update: {
|
|
13559
|
+
created_at?: string;
|
|
13560
|
+
customer_key?: string;
|
|
13561
|
+
id?: string;
|
|
13562
|
+
owner_id?: string;
|
|
13563
|
+
price_group_id?: string;
|
|
13564
|
+
};
|
|
13565
|
+
Relationships: [{
|
|
13566
|
+
foreignKeyName: "customer_price_group_members_price_group_id_fkey";
|
|
13567
|
+
columns: ["price_group_id"];
|
|
13568
|
+
isOneToOne: false;
|
|
13569
|
+
referencedRelation: "customer_price_groups";
|
|
13570
|
+
referencedColumns: ["id"];
|
|
13571
|
+
}];
|
|
13572
|
+
};
|
|
13573
|
+
customer_price_groups: {
|
|
13574
|
+
Row: {
|
|
13575
|
+
calc_type: string | null;
|
|
13576
|
+
calc_value: number | null;
|
|
13577
|
+
calc_value_type: string | null;
|
|
13578
|
+
created_at: string;
|
|
13579
|
+
currency: string;
|
|
13580
|
+
distribute_over: string | null;
|
|
13581
|
+
group_type: string;
|
|
13582
|
+
handling_fee: number | null;
|
|
13583
|
+
id: string;
|
|
13584
|
+
include_stickers: boolean;
|
|
13585
|
+
is_active: boolean;
|
|
13586
|
+
name: string;
|
|
13587
|
+
owner_id: string;
|
|
13588
|
+
price_scope: string;
|
|
13589
|
+
pricing_mode: string;
|
|
13590
|
+
rounding: string;
|
|
13591
|
+
rounding_step: number;
|
|
13592
|
+
sort_order: number;
|
|
13593
|
+
unit: string;
|
|
13594
|
+
updated_at: string;
|
|
13595
|
+
};
|
|
13596
|
+
Insert: {
|
|
13597
|
+
calc_type?: string | null;
|
|
13598
|
+
calc_value?: number | null;
|
|
13599
|
+
calc_value_type?: string | null;
|
|
13600
|
+
created_at?: string;
|
|
13601
|
+
currency?: string;
|
|
13602
|
+
distribute_over?: string | null;
|
|
13603
|
+
group_type?: string;
|
|
13604
|
+
handling_fee?: number | null;
|
|
13605
|
+
id?: string;
|
|
13606
|
+
include_stickers?: boolean;
|
|
13607
|
+
is_active?: boolean;
|
|
13608
|
+
name: string;
|
|
13609
|
+
owner_id?: string;
|
|
13610
|
+
price_scope?: string;
|
|
13611
|
+
pricing_mode?: string;
|
|
13612
|
+
rounding?: string;
|
|
13613
|
+
rounding_step?: number;
|
|
13614
|
+
sort_order?: number;
|
|
13615
|
+
unit?: string;
|
|
13616
|
+
updated_at?: string;
|
|
13617
|
+
};
|
|
13618
|
+
Update: {
|
|
13619
|
+
calc_type?: string | null;
|
|
13620
|
+
calc_value?: number | null;
|
|
13621
|
+
calc_value_type?: string | null;
|
|
13622
|
+
created_at?: string;
|
|
13623
|
+
currency?: string;
|
|
13624
|
+
distribute_over?: string | null;
|
|
13625
|
+
group_type?: string;
|
|
13626
|
+
handling_fee?: number | null;
|
|
13627
|
+
id?: string;
|
|
13628
|
+
include_stickers?: boolean;
|
|
13629
|
+
is_active?: boolean;
|
|
13630
|
+
name?: string;
|
|
13631
|
+
owner_id?: string;
|
|
13632
|
+
price_scope?: string;
|
|
13633
|
+
pricing_mode?: string;
|
|
13634
|
+
rounding?: string;
|
|
13635
|
+
rounding_step?: number;
|
|
13636
|
+
sort_order?: number;
|
|
13637
|
+
unit?: string;
|
|
13638
|
+
updated_at?: string;
|
|
13639
|
+
};
|
|
13640
|
+
Relationships: [];
|
|
13641
|
+
};
|
|
12490
13642
|
customer_selected_assortment: {
|
|
12491
13643
|
Row: {
|
|
12492
13644
|
article_number: string | null;
|
|
@@ -12640,6 +13792,10 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
12640
13792
|
sync_error: string | null;
|
|
12641
13793
|
sync_status: string;
|
|
12642
13794
|
trade_forms: string[];
|
|
13795
|
+
twinfield_code: string | null;
|
|
13796
|
+
twinfield_last_hash: string | null;
|
|
13797
|
+
twinfield_sync_error: string | null;
|
|
13798
|
+
twinfield_synced_at: string | null;
|
|
12643
13799
|
updated_at: string;
|
|
12644
13800
|
vat_display: string | null;
|
|
12645
13801
|
vat_number: string | null;
|
|
@@ -12707,6 +13863,10 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
12707
13863
|
sync_error?: string | null;
|
|
12708
13864
|
sync_status?: string;
|
|
12709
13865
|
trade_forms?: string[];
|
|
13866
|
+
twinfield_code?: string | null;
|
|
13867
|
+
twinfield_last_hash?: string | null;
|
|
13868
|
+
twinfield_sync_error?: string | null;
|
|
13869
|
+
twinfield_synced_at?: string | null;
|
|
12710
13870
|
updated_at?: string;
|
|
12711
13871
|
vat_display?: string | null;
|
|
12712
13872
|
vat_number?: string | null;
|
|
@@ -12774,6 +13934,10 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
12774
13934
|
sync_error?: string | null;
|
|
12775
13935
|
sync_status?: string;
|
|
12776
13936
|
trade_forms?: string[];
|
|
13937
|
+
twinfield_code?: string | null;
|
|
13938
|
+
twinfield_last_hash?: string | null;
|
|
13939
|
+
twinfield_sync_error?: string | null;
|
|
13940
|
+
twinfield_synced_at?: string | null;
|
|
12777
13941
|
updated_at?: string;
|
|
12778
13942
|
vat_display?: string | null;
|
|
12779
13943
|
vat_number?: string | null;
|
|
@@ -19756,6 +20920,27 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
19756
20920
|
};
|
|
19757
20921
|
Relationships: [];
|
|
19758
20922
|
};
|
|
20923
|
+
technician_rates: {
|
|
20924
|
+
Row: {
|
|
20925
|
+
created_at: string;
|
|
20926
|
+
hourly_rate_cents: number;
|
|
20927
|
+
updated_at: string;
|
|
20928
|
+
user_id: string;
|
|
20929
|
+
};
|
|
20930
|
+
Insert: {
|
|
20931
|
+
created_at?: string;
|
|
20932
|
+
hourly_rate_cents?: number;
|
|
20933
|
+
updated_at?: string;
|
|
20934
|
+
user_id: string;
|
|
20935
|
+
};
|
|
20936
|
+
Update: {
|
|
20937
|
+
created_at?: string;
|
|
20938
|
+
hourly_rate_cents?: number;
|
|
20939
|
+
updated_at?: string;
|
|
20940
|
+
user_id?: string;
|
|
20941
|
+
};
|
|
20942
|
+
Relationships: [];
|
|
20943
|
+
};
|
|
19759
20944
|
tenants: {
|
|
19760
20945
|
Row: {
|
|
19761
20946
|
created_at: string;
|
|
@@ -20225,6 +21410,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
20225
21410
|
country: string | null;
|
|
20226
21411
|
created_at: string;
|
|
20227
21412
|
email: string | null;
|
|
21413
|
+
external_group_key: string | null;
|
|
20228
21414
|
id: string;
|
|
20229
21415
|
last_synced_at: string | null;
|
|
20230
21416
|
name: string;
|
|
@@ -20243,6 +21429,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
20243
21429
|
country?: string | null;
|
|
20244
21430
|
created_at?: string;
|
|
20245
21431
|
email?: string | null;
|
|
21432
|
+
external_group_key?: string | null;
|
|
20246
21433
|
id?: string;
|
|
20247
21434
|
last_synced_at?: string | null;
|
|
20248
21435
|
name: string;
|
|
@@ -20261,6 +21448,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
20261
21448
|
country?: string | null;
|
|
20262
21449
|
created_at?: string;
|
|
20263
21450
|
email?: string | null;
|
|
21451
|
+
external_group_key?: string | null;
|
|
20264
21452
|
id?: string;
|
|
20265
21453
|
last_synced_at?: string | null;
|
|
20266
21454
|
name?: string;
|
|
@@ -20425,6 +21613,8 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
20425
21613
|
twinfield_invoice_settings: {
|
|
20426
21614
|
Row: {
|
|
20427
21615
|
created_at: string;
|
|
21616
|
+
debtor_gl_account: string;
|
|
21617
|
+
default_credit_invoice_type: string | null;
|
|
20428
21618
|
default_gl_account: string;
|
|
20429
21619
|
default_invoice_type: string;
|
|
20430
21620
|
default_payment_term_days: number;
|
|
@@ -20433,11 +21623,15 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
20433
21623
|
invoice_enabled_fo: boolean;
|
|
20434
21624
|
invoice_enabled_ho: boolean;
|
|
20435
21625
|
invoice_enabled_mo: boolean;
|
|
21626
|
+
payment_gl_account: string;
|
|
21627
|
+
payment_journal_code: string;
|
|
20436
21628
|
updated_at: string;
|
|
20437
21629
|
user_id: string;
|
|
20438
21630
|
};
|
|
20439
21631
|
Insert: {
|
|
20440
21632
|
created_at?: string;
|
|
21633
|
+
debtor_gl_account?: string;
|
|
21634
|
+
default_credit_invoice_type?: string | null;
|
|
20441
21635
|
default_gl_account?: string;
|
|
20442
21636
|
default_invoice_type?: string;
|
|
20443
21637
|
default_payment_term_days?: number;
|
|
@@ -20446,11 +21640,15 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
20446
21640
|
invoice_enabled_fo?: boolean;
|
|
20447
21641
|
invoice_enabled_ho?: boolean;
|
|
20448
21642
|
invoice_enabled_mo?: boolean;
|
|
21643
|
+
payment_gl_account?: string;
|
|
21644
|
+
payment_journal_code?: string;
|
|
20449
21645
|
updated_at?: string;
|
|
20450
21646
|
user_id: string;
|
|
20451
21647
|
};
|
|
20452
21648
|
Update: {
|
|
20453
21649
|
created_at?: string;
|
|
21650
|
+
debtor_gl_account?: string;
|
|
21651
|
+
default_credit_invoice_type?: string | null;
|
|
20454
21652
|
default_gl_account?: string;
|
|
20455
21653
|
default_invoice_type?: string;
|
|
20456
21654
|
default_payment_term_days?: number;
|
|
@@ -20459,6 +21657,8 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
20459
21657
|
invoice_enabled_fo?: boolean;
|
|
20460
21658
|
invoice_enabled_ho?: boolean;
|
|
20461
21659
|
invoice_enabled_mo?: boolean;
|
|
21660
|
+
payment_gl_account?: string;
|
|
21661
|
+
payment_journal_code?: string;
|
|
20462
21662
|
updated_at?: string;
|
|
20463
21663
|
user_id?: string;
|
|
20464
21664
|
};
|
|
@@ -20679,43 +21879,49 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
20679
21879
|
};
|
|
20680
21880
|
twinfield_push_queue: {
|
|
20681
21881
|
Row: {
|
|
21882
|
+
action: string;
|
|
20682
21883
|
attempts: number;
|
|
20683
21884
|
connection_id: string;
|
|
20684
21885
|
created_at: string;
|
|
21886
|
+
customer_id: string | null;
|
|
20685
21887
|
external_id: string | null;
|
|
20686
21888
|
id: string;
|
|
20687
21889
|
idempotency_key: string;
|
|
20688
21890
|
last_error: string | null;
|
|
20689
21891
|
next_attempt_at: string;
|
|
20690
|
-
office_code: string;
|
|
21892
|
+
office_code: string | null;
|
|
20691
21893
|
payload: import("../integrations/supabase/types").Json;
|
|
20692
21894
|
status: string;
|
|
20693
21895
|
updated_at: string;
|
|
20694
21896
|
};
|
|
20695
21897
|
Insert: {
|
|
21898
|
+
action?: string;
|
|
20696
21899
|
attempts?: number;
|
|
20697
21900
|
connection_id: string;
|
|
20698
21901
|
created_at?: string;
|
|
21902
|
+
customer_id?: string | null;
|
|
20699
21903
|
external_id?: string | null;
|
|
20700
21904
|
id?: string;
|
|
20701
21905
|
idempotency_key: string;
|
|
20702
21906
|
last_error?: string | null;
|
|
20703
21907
|
next_attempt_at?: string;
|
|
20704
|
-
office_code
|
|
21908
|
+
office_code?: string | null;
|
|
20705
21909
|
payload: import("../integrations/supabase/types").Json;
|
|
20706
21910
|
status?: string;
|
|
20707
21911
|
updated_at?: string;
|
|
20708
21912
|
};
|
|
20709
21913
|
Update: {
|
|
21914
|
+
action?: string;
|
|
20710
21915
|
attempts?: number;
|
|
20711
21916
|
connection_id?: string;
|
|
20712
21917
|
created_at?: string;
|
|
21918
|
+
customer_id?: string | null;
|
|
20713
21919
|
external_id?: string | null;
|
|
20714
21920
|
id?: string;
|
|
20715
21921
|
idempotency_key?: string;
|
|
20716
21922
|
last_error?: string | null;
|
|
20717
21923
|
next_attempt_at?: string;
|
|
20718
|
-
office_code?: string;
|
|
21924
|
+
office_code?: string | null;
|
|
20719
21925
|
payload?: import("../integrations/supabase/types").Json;
|
|
20720
21926
|
status?: string;
|
|
20721
21927
|
updated_at?: string;
|
|
@@ -20726,6 +21932,12 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
20726
21932
|
isOneToOne: false;
|
|
20727
21933
|
referencedRelation: "twinfield_connections";
|
|
20728
21934
|
referencedColumns: ["id"];
|
|
21935
|
+
}, {
|
|
21936
|
+
foreignKeyName: "twinfield_push_queue_customer_id_fkey";
|
|
21937
|
+
columns: ["customer_id"];
|
|
21938
|
+
isOneToOne: false;
|
|
21939
|
+
referencedRelation: "customers";
|
|
21940
|
+
referencedColumns: ["id"];
|
|
20729
21941
|
}];
|
|
20730
21942
|
};
|
|
20731
21943
|
twinfield_request_metrics: {
|
|
@@ -21001,6 +22213,246 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
21001
22213
|
};
|
|
21002
22214
|
Relationships: [];
|
|
21003
22215
|
};
|
|
22216
|
+
werkbon_package_lines: {
|
|
22217
|
+
Row: {
|
|
22218
|
+
created_at: string;
|
|
22219
|
+
created_by: string | null;
|
|
22220
|
+
id: string;
|
|
22221
|
+
package_id: string;
|
|
22222
|
+
quantity: number;
|
|
22223
|
+
unit_price_cents_snapshot: number;
|
|
22224
|
+
werkbon_id: string;
|
|
22225
|
+
};
|
|
22226
|
+
Insert: {
|
|
22227
|
+
created_at?: string;
|
|
22228
|
+
created_by?: string | null;
|
|
22229
|
+
id?: string;
|
|
22230
|
+
package_id: string;
|
|
22231
|
+
quantity?: number;
|
|
22232
|
+
unit_price_cents_snapshot?: number;
|
|
22233
|
+
werkbon_id: string;
|
|
22234
|
+
};
|
|
22235
|
+
Update: {
|
|
22236
|
+
created_at?: string;
|
|
22237
|
+
created_by?: string | null;
|
|
22238
|
+
id?: string;
|
|
22239
|
+
package_id?: string;
|
|
22240
|
+
quantity?: number;
|
|
22241
|
+
unit_price_cents_snapshot?: number;
|
|
22242
|
+
werkbon_id?: string;
|
|
22243
|
+
};
|
|
22244
|
+
Relationships: [{
|
|
22245
|
+
foreignKeyName: "werkbon_package_lines_package_id_fkey";
|
|
22246
|
+
columns: ["package_id"];
|
|
22247
|
+
isOneToOne: false;
|
|
22248
|
+
referencedRelation: "werkbon_packages";
|
|
22249
|
+
referencedColumns: ["id"];
|
|
22250
|
+
}, {
|
|
22251
|
+
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
22252
|
+
columns: ["werkbon_id"];
|
|
22253
|
+
isOneToOne: false;
|
|
22254
|
+
referencedRelation: "werkbonnen";
|
|
22255
|
+
referencedColumns: ["id"];
|
|
22256
|
+
}];
|
|
22257
|
+
};
|
|
22258
|
+
werkbon_packages: {
|
|
22259
|
+
Row: {
|
|
22260
|
+
active: boolean;
|
|
22261
|
+
code: string;
|
|
22262
|
+
created_at: string;
|
|
22263
|
+
default_quantity: number;
|
|
22264
|
+
description: string | null;
|
|
22265
|
+
id: string;
|
|
22266
|
+
name: string;
|
|
22267
|
+
unit_price_cents: number;
|
|
22268
|
+
updated_at: string;
|
|
22269
|
+
};
|
|
22270
|
+
Insert: {
|
|
22271
|
+
active?: boolean;
|
|
22272
|
+
code: string;
|
|
22273
|
+
created_at?: string;
|
|
22274
|
+
default_quantity?: number;
|
|
22275
|
+
description?: string | null;
|
|
22276
|
+
id?: string;
|
|
22277
|
+
name: string;
|
|
22278
|
+
unit_price_cents?: number;
|
|
22279
|
+
updated_at?: string;
|
|
22280
|
+
};
|
|
22281
|
+
Update: {
|
|
22282
|
+
active?: boolean;
|
|
22283
|
+
code?: string;
|
|
22284
|
+
created_at?: string;
|
|
22285
|
+
default_quantity?: number;
|
|
22286
|
+
description?: string | null;
|
|
22287
|
+
id?: string;
|
|
22288
|
+
name?: string;
|
|
22289
|
+
unit_price_cents?: number;
|
|
22290
|
+
updated_at?: string;
|
|
22291
|
+
};
|
|
22292
|
+
Relationships: [];
|
|
22293
|
+
};
|
|
22294
|
+
werkbon_photos: {
|
|
22295
|
+
Row: {
|
|
22296
|
+
created_at: string;
|
|
22297
|
+
id: string;
|
|
22298
|
+
storage_path: string;
|
|
22299
|
+
user_id: string;
|
|
22300
|
+
werkbon_id: string;
|
|
22301
|
+
};
|
|
22302
|
+
Insert: {
|
|
22303
|
+
created_at?: string;
|
|
22304
|
+
id?: string;
|
|
22305
|
+
storage_path: string;
|
|
22306
|
+
user_id: string;
|
|
22307
|
+
werkbon_id: string;
|
|
22308
|
+
};
|
|
22309
|
+
Update: {
|
|
22310
|
+
created_at?: string;
|
|
22311
|
+
id?: string;
|
|
22312
|
+
storage_path?: string;
|
|
22313
|
+
user_id?: string;
|
|
22314
|
+
werkbon_id?: string;
|
|
22315
|
+
};
|
|
22316
|
+
Relationships: [{
|
|
22317
|
+
foreignKeyName: "werkbon_photos_werkbon_id_fkey";
|
|
22318
|
+
columns: ["werkbon_id"];
|
|
22319
|
+
isOneToOne: false;
|
|
22320
|
+
referencedRelation: "werkbonnen";
|
|
22321
|
+
referencedColumns: ["id"];
|
|
22322
|
+
}];
|
|
22323
|
+
};
|
|
22324
|
+
werkbon_time_logs: {
|
|
22325
|
+
Row: {
|
|
22326
|
+
activity: string;
|
|
22327
|
+
created_at: string;
|
|
22328
|
+
ended_at: string | null;
|
|
22329
|
+
id: string;
|
|
22330
|
+
started_at: string;
|
|
22331
|
+
user_id: string;
|
|
22332
|
+
werkbon_id: string;
|
|
22333
|
+
};
|
|
22334
|
+
Insert: {
|
|
22335
|
+
activity: string;
|
|
22336
|
+
created_at?: string;
|
|
22337
|
+
ended_at?: string | null;
|
|
22338
|
+
id?: string;
|
|
22339
|
+
started_at?: string;
|
|
22340
|
+
user_id: string;
|
|
22341
|
+
werkbon_id: string;
|
|
22342
|
+
};
|
|
22343
|
+
Update: {
|
|
22344
|
+
activity?: string;
|
|
22345
|
+
created_at?: string;
|
|
22346
|
+
ended_at?: string | null;
|
|
22347
|
+
id?: string;
|
|
22348
|
+
started_at?: string;
|
|
22349
|
+
user_id?: string;
|
|
22350
|
+
werkbon_id?: string;
|
|
22351
|
+
};
|
|
22352
|
+
Relationships: [{
|
|
22353
|
+
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
22354
|
+
columns: ["werkbon_id"];
|
|
22355
|
+
isOneToOne: false;
|
|
22356
|
+
referencedRelation: "werkbonnen";
|
|
22357
|
+
referencedColumns: ["id"];
|
|
22358
|
+
}];
|
|
22359
|
+
};
|
|
22360
|
+
werkbonnen: {
|
|
22361
|
+
Row: {
|
|
22362
|
+
assigned_user_id: string | null;
|
|
22363
|
+
budget_mandate_cents: number;
|
|
22364
|
+
complaint_description: string | null;
|
|
22365
|
+
created_at: string;
|
|
22366
|
+
created_by: string | null;
|
|
22367
|
+
customer_id: string | null;
|
|
22368
|
+
externe_referentie: string | null;
|
|
22369
|
+
first_time_fix: boolean | null;
|
|
22370
|
+
id: string;
|
|
22371
|
+
internal_notes: string | null;
|
|
22372
|
+
parent_werkbon_id: string | null;
|
|
22373
|
+
parsed_payload: import("../integrations/supabase/types").Json | null;
|
|
22374
|
+
project_number: string | null;
|
|
22375
|
+
room_number: string | null;
|
|
22376
|
+
scheduled_end_time: string | null;
|
|
22377
|
+
scheduled_start_time: string | null;
|
|
22378
|
+
sequence_number: number;
|
|
22379
|
+
source_pdf_path: string | null;
|
|
22380
|
+
status: string;
|
|
22381
|
+
technician_notes: string | null;
|
|
22382
|
+
technician_notes_raw: string | null;
|
|
22383
|
+
technician_task_description: string | null;
|
|
22384
|
+
updated_at: string;
|
|
22385
|
+
version: number;
|
|
22386
|
+
work_address: string | null;
|
|
22387
|
+
};
|
|
22388
|
+
Insert: {
|
|
22389
|
+
assigned_user_id?: string | null;
|
|
22390
|
+
budget_mandate_cents?: number;
|
|
22391
|
+
complaint_description?: string | null;
|
|
22392
|
+
created_at?: string;
|
|
22393
|
+
created_by?: string | null;
|
|
22394
|
+
customer_id?: string | null;
|
|
22395
|
+
externe_referentie?: string | null;
|
|
22396
|
+
first_time_fix?: boolean | null;
|
|
22397
|
+
id?: string;
|
|
22398
|
+
internal_notes?: string | null;
|
|
22399
|
+
parent_werkbon_id?: string | null;
|
|
22400
|
+
parsed_payload?: import("../integrations/supabase/types").Json | null;
|
|
22401
|
+
project_number?: string | null;
|
|
22402
|
+
room_number?: string | null;
|
|
22403
|
+
scheduled_end_time?: string | null;
|
|
22404
|
+
scheduled_start_time?: string | null;
|
|
22405
|
+
sequence_number: number;
|
|
22406
|
+
source_pdf_path?: string | null;
|
|
22407
|
+
status?: string;
|
|
22408
|
+
technician_notes?: string | null;
|
|
22409
|
+
technician_notes_raw?: string | null;
|
|
22410
|
+
technician_task_description?: string | null;
|
|
22411
|
+
updated_at?: string;
|
|
22412
|
+
version?: number;
|
|
22413
|
+
work_address?: string | null;
|
|
22414
|
+
};
|
|
22415
|
+
Update: {
|
|
22416
|
+
assigned_user_id?: string | null;
|
|
22417
|
+
budget_mandate_cents?: number;
|
|
22418
|
+
complaint_description?: string | null;
|
|
22419
|
+
created_at?: string;
|
|
22420
|
+
created_by?: string | null;
|
|
22421
|
+
customer_id?: string | null;
|
|
22422
|
+
externe_referentie?: string | null;
|
|
22423
|
+
first_time_fix?: boolean | null;
|
|
22424
|
+
id?: string;
|
|
22425
|
+
internal_notes?: string | null;
|
|
22426
|
+
parent_werkbon_id?: string | null;
|
|
22427
|
+
parsed_payload?: import("../integrations/supabase/types").Json | null;
|
|
22428
|
+
project_number?: string | null;
|
|
22429
|
+
room_number?: string | null;
|
|
22430
|
+
scheduled_end_time?: string | null;
|
|
22431
|
+
scheduled_start_time?: string | null;
|
|
22432
|
+
sequence_number?: number;
|
|
22433
|
+
source_pdf_path?: string | null;
|
|
22434
|
+
status?: string;
|
|
22435
|
+
technician_notes?: string | null;
|
|
22436
|
+
technician_notes_raw?: string | null;
|
|
22437
|
+
technician_task_description?: string | null;
|
|
22438
|
+
updated_at?: string;
|
|
22439
|
+
version?: number;
|
|
22440
|
+
work_address?: string | null;
|
|
22441
|
+
};
|
|
22442
|
+
Relationships: [{
|
|
22443
|
+
foreignKeyName: "werkbonnen_customer_id_fkey";
|
|
22444
|
+
columns: ["customer_id"];
|
|
22445
|
+
isOneToOne: false;
|
|
22446
|
+
referencedRelation: "customers";
|
|
22447
|
+
referencedColumns: ["id"];
|
|
22448
|
+
}, {
|
|
22449
|
+
foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
|
|
22450
|
+
columns: ["parent_werkbon_id"];
|
|
22451
|
+
isOneToOne: false;
|
|
22452
|
+
referencedRelation: "werkbonnen";
|
|
22453
|
+
referencedColumns: ["id"];
|
|
22454
|
+
}];
|
|
22455
|
+
};
|
|
21004
22456
|
work_order_monteurs: {
|
|
21005
22457
|
Row: {
|
|
21006
22458
|
created_at: string;
|
|
@@ -21171,6 +22623,8 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
21171
22623
|
created_at: string | null;
|
|
21172
22624
|
created_by: string | null;
|
|
21173
22625
|
display_name: string | null;
|
|
22626
|
+
graph_subscription_expires_at: string | null;
|
|
22627
|
+
graph_subscription_id: string | null;
|
|
21174
22628
|
has_access_token: boolean | null;
|
|
21175
22629
|
has_client_id: boolean | null;
|
|
21176
22630
|
has_client_secret: boolean | null;
|
|
@@ -21188,6 +22642,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
21188
22642
|
oauth_mode: string | null;
|
|
21189
22643
|
provider: string | null;
|
|
21190
22644
|
purpose_assignments: import("../integrations/supabase/types").Json | null;
|
|
22645
|
+
realtime_mode: string | null;
|
|
21191
22646
|
scopes: string[] | null;
|
|
21192
22647
|
smtp_host: string | null;
|
|
21193
22648
|
smtp_port: number | null;
|
|
@@ -21202,6 +22657,8 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
21202
22657
|
created_at?: string | null;
|
|
21203
22658
|
created_by?: string | null;
|
|
21204
22659
|
display_name?: string | null;
|
|
22660
|
+
graph_subscription_expires_at?: string | null;
|
|
22661
|
+
graph_subscription_id?: string | null;
|
|
21205
22662
|
has_access_token?: never;
|
|
21206
22663
|
has_client_id?: never;
|
|
21207
22664
|
has_client_secret?: never;
|
|
@@ -21219,6 +22676,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
21219
22676
|
oauth_mode?: string | null;
|
|
21220
22677
|
provider?: string | null;
|
|
21221
22678
|
purpose_assignments?: import("../integrations/supabase/types").Json | null;
|
|
22679
|
+
realtime_mode?: string | null;
|
|
21222
22680
|
scopes?: string[] | null;
|
|
21223
22681
|
smtp_host?: string | null;
|
|
21224
22682
|
smtp_port?: number | null;
|
|
@@ -21233,6 +22691,8 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
21233
22691
|
created_at?: string | null;
|
|
21234
22692
|
created_by?: string | null;
|
|
21235
22693
|
display_name?: string | null;
|
|
22694
|
+
graph_subscription_expires_at?: string | null;
|
|
22695
|
+
graph_subscription_id?: string | null;
|
|
21236
22696
|
has_access_token?: never;
|
|
21237
22697
|
has_client_id?: never;
|
|
21238
22698
|
has_client_secret?: never;
|
|
@@ -21250,6 +22710,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
21250
22710
|
oauth_mode?: string | null;
|
|
21251
22711
|
provider?: string | null;
|
|
21252
22712
|
purpose_assignments?: import("../integrations/supabase/types").Json | null;
|
|
22713
|
+
realtime_mode?: string | null;
|
|
21253
22714
|
scopes?: string[] | null;
|
|
21254
22715
|
smtp_host?: string | null;
|
|
21255
22716
|
smtp_port?: number | null;
|
|
@@ -21793,6 +23254,33 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
21793
23254
|
};
|
|
21794
23255
|
Returns: import("../integrations/supabase/types").Json;
|
|
21795
23256
|
};
|
|
23257
|
+
claim_twinfield_push_batch: {
|
|
23258
|
+
Args: {
|
|
23259
|
+
_limit?: number;
|
|
23260
|
+
};
|
|
23261
|
+
Returns: {
|
|
23262
|
+
action: string;
|
|
23263
|
+
attempts: number;
|
|
23264
|
+
connection_id: string;
|
|
23265
|
+
created_at: string;
|
|
23266
|
+
customer_id: string | null;
|
|
23267
|
+
external_id: string | null;
|
|
23268
|
+
id: string;
|
|
23269
|
+
idempotency_key: string;
|
|
23270
|
+
last_error: string | null;
|
|
23271
|
+
next_attempt_at: string;
|
|
23272
|
+
office_code: string | null;
|
|
23273
|
+
payload: import("../integrations/supabase/types").Json;
|
|
23274
|
+
status: string;
|
|
23275
|
+
updated_at: string;
|
|
23276
|
+
}[];
|
|
23277
|
+
SetofOptions: {
|
|
23278
|
+
from: "*";
|
|
23279
|
+
to: "twinfield_push_queue";
|
|
23280
|
+
isOneToOne: false;
|
|
23281
|
+
isSetofReturn: true;
|
|
23282
|
+
};
|
|
23283
|
+
};
|
|
21796
23284
|
cleanup_old_bookings: {
|
|
21797
23285
|
Args: never;
|
|
21798
23286
|
Returns: undefined;
|
|
@@ -21889,6 +23377,16 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
21889
23377
|
status: string;
|
|
21890
23378
|
}[];
|
|
21891
23379
|
};
|
|
23380
|
+
email_auth_upsert_connection: {
|
|
23381
|
+
Args: {
|
|
23382
|
+
_account_email: string;
|
|
23383
|
+
_created_by: string;
|
|
23384
|
+
_is_active: boolean;
|
|
23385
|
+
_provider: string;
|
|
23386
|
+
_status: string;
|
|
23387
|
+
};
|
|
23388
|
+
Returns: string;
|
|
23389
|
+
};
|
|
21892
23390
|
enqueue_cart_replan_if_unlocked: {
|
|
21893
23391
|
Args: {
|
|
21894
23392
|
p_order_id: string;
|
|
@@ -22161,6 +23659,10 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
22161
23659
|
};
|
|
22162
23660
|
Returns: boolean;
|
|
22163
23661
|
};
|
|
23662
|
+
has_twinfield_link: {
|
|
23663
|
+
Args: never;
|
|
23664
|
+
Returns: boolean;
|
|
23665
|
+
};
|
|
22164
23666
|
is_authenticated: {
|
|
22165
23667
|
Args: never;
|
|
22166
23668
|
Returns: boolean;
|
|
@@ -22216,6 +23718,10 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
22216
23718
|
};
|
|
22217
23719
|
Returns: string;
|
|
22218
23720
|
};
|
|
23721
|
+
next_twinfield_code: {
|
|
23722
|
+
Args: never;
|
|
23723
|
+
Returns: string;
|
|
23724
|
+
};
|
|
22219
23725
|
next_work_order_number: {
|
|
22220
23726
|
Args: {
|
|
22221
23727
|
p_parent_work_order_id?: string;
|
|
@@ -22330,6 +23836,12 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
22330
23836
|
};
|
|
22331
23837
|
Returns: number;
|
|
22332
23838
|
};
|
|
23839
|
+
reorder_customer_price_groups: {
|
|
23840
|
+
Args: {
|
|
23841
|
+
_ids: string[];
|
|
23842
|
+
};
|
|
23843
|
+
Returns: undefined;
|
|
23844
|
+
};
|
|
22333
23845
|
reset_floriday_sync_cursor: {
|
|
22334
23846
|
Args: {
|
|
22335
23847
|
p_connection_id: string;
|
|
@@ -22343,6 +23855,12 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
22343
23855
|
};
|
|
22344
23856
|
Returns: string;
|
|
22345
23857
|
};
|
|
23858
|
+
retry_twinfield_push: {
|
|
23859
|
+
Args: {
|
|
23860
|
+
_customer_id: string;
|
|
23861
|
+
};
|
|
23862
|
+
Returns: number;
|
|
23863
|
+
};
|
|
22346
23864
|
schedule_floriday_additional_services_sync: {
|
|
22347
23865
|
Args: {
|
|
22348
23866
|
p_apikey: string;
|
|
@@ -22920,6 +24438,237 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
22920
24438
|
};
|
|
22921
24439
|
Relationships: [];
|
|
22922
24440
|
};
|
|
24441
|
+
ai_admin_credentials: {
|
|
24442
|
+
Row: {
|
|
24443
|
+
active: boolean;
|
|
24444
|
+
admin_key: string;
|
|
24445
|
+
created_at: string;
|
|
24446
|
+
id: string;
|
|
24447
|
+
label: string;
|
|
24448
|
+
provider_id: string;
|
|
24449
|
+
updated_at: string;
|
|
24450
|
+
};
|
|
24451
|
+
Insert: {
|
|
24452
|
+
active?: boolean;
|
|
24453
|
+
admin_key: string;
|
|
24454
|
+
created_at?: string;
|
|
24455
|
+
id?: string;
|
|
24456
|
+
label: string;
|
|
24457
|
+
provider_id: string;
|
|
24458
|
+
updated_at?: string;
|
|
24459
|
+
};
|
|
24460
|
+
Update: {
|
|
24461
|
+
active?: boolean;
|
|
24462
|
+
admin_key?: string;
|
|
24463
|
+
created_at?: string;
|
|
24464
|
+
id?: string;
|
|
24465
|
+
label?: string;
|
|
24466
|
+
provider_id?: string;
|
|
24467
|
+
updated_at?: string;
|
|
24468
|
+
};
|
|
24469
|
+
Relationships: [{
|
|
24470
|
+
foreignKeyName: "ai_admin_credentials_provider_id_fkey";
|
|
24471
|
+
columns: ["provider_id"];
|
|
24472
|
+
isOneToOne: true;
|
|
24473
|
+
referencedRelation: "ai_providers";
|
|
24474
|
+
referencedColumns: ["id"];
|
|
24475
|
+
}];
|
|
24476
|
+
};
|
|
24477
|
+
ai_credentials: {
|
|
24478
|
+
Row: {
|
|
24479
|
+
active: boolean;
|
|
24480
|
+
api_key: string;
|
|
24481
|
+
created_at: string;
|
|
24482
|
+
id: string;
|
|
24483
|
+
label: string;
|
|
24484
|
+
provider_id: string;
|
|
24485
|
+
updated_at: string;
|
|
24486
|
+
};
|
|
24487
|
+
Insert: {
|
|
24488
|
+
active?: boolean;
|
|
24489
|
+
api_key: string;
|
|
24490
|
+
created_at?: string;
|
|
24491
|
+
id?: string;
|
|
24492
|
+
label: string;
|
|
24493
|
+
provider_id: string;
|
|
24494
|
+
updated_at?: string;
|
|
24495
|
+
};
|
|
24496
|
+
Update: {
|
|
24497
|
+
active?: boolean;
|
|
24498
|
+
api_key?: string;
|
|
24499
|
+
created_at?: string;
|
|
24500
|
+
id?: string;
|
|
24501
|
+
label?: string;
|
|
24502
|
+
provider_id?: string;
|
|
24503
|
+
updated_at?: string;
|
|
24504
|
+
};
|
|
24505
|
+
Relationships: [{
|
|
24506
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
24507
|
+
columns: ["provider_id"];
|
|
24508
|
+
isOneToOne: false;
|
|
24509
|
+
referencedRelation: "ai_providers";
|
|
24510
|
+
referencedColumns: ["id"];
|
|
24511
|
+
}];
|
|
24512
|
+
};
|
|
24513
|
+
ai_model_pricing: {
|
|
24514
|
+
Row: {
|
|
24515
|
+
created_at: string;
|
|
24516
|
+
currency: string;
|
|
24517
|
+
fetched_at: string;
|
|
24518
|
+
id: string;
|
|
24519
|
+
input_per_mtok: number | null;
|
|
24520
|
+
model_slug: string;
|
|
24521
|
+
output_per_mtok: number | null;
|
|
24522
|
+
provider_slug: string;
|
|
24523
|
+
source: string;
|
|
24524
|
+
updated_at: string;
|
|
24525
|
+
};
|
|
24526
|
+
Insert: {
|
|
24527
|
+
created_at?: string;
|
|
24528
|
+
currency?: string;
|
|
24529
|
+
fetched_at?: string;
|
|
24530
|
+
id?: string;
|
|
24531
|
+
input_per_mtok?: number | null;
|
|
24532
|
+
model_slug: string;
|
|
24533
|
+
output_per_mtok?: number | null;
|
|
24534
|
+
provider_slug: string;
|
|
24535
|
+
source?: string;
|
|
24536
|
+
updated_at?: string;
|
|
24537
|
+
};
|
|
24538
|
+
Update: {
|
|
24539
|
+
created_at?: string;
|
|
24540
|
+
currency?: string;
|
|
24541
|
+
fetched_at?: string;
|
|
24542
|
+
id?: string;
|
|
24543
|
+
input_per_mtok?: number | null;
|
|
24544
|
+
model_slug?: string;
|
|
24545
|
+
output_per_mtok?: number | null;
|
|
24546
|
+
provider_slug?: string;
|
|
24547
|
+
source?: string;
|
|
24548
|
+
updated_at?: string;
|
|
24549
|
+
};
|
|
24550
|
+
Relationships: [];
|
|
24551
|
+
};
|
|
24552
|
+
ai_models: {
|
|
24553
|
+
Row: {
|
|
24554
|
+
active: boolean;
|
|
24555
|
+
context_window: number | null;
|
|
24556
|
+
created_at: string;
|
|
24557
|
+
display_name: string;
|
|
24558
|
+
id: string;
|
|
24559
|
+
is_default: boolean;
|
|
24560
|
+
modality: string;
|
|
24561
|
+
provider_id: string;
|
|
24562
|
+
slug: string;
|
|
24563
|
+
updated_at: string;
|
|
24564
|
+
};
|
|
24565
|
+
Insert: {
|
|
24566
|
+
active?: boolean;
|
|
24567
|
+
context_window?: number | null;
|
|
24568
|
+
created_at?: string;
|
|
24569
|
+
display_name: string;
|
|
24570
|
+
id?: string;
|
|
24571
|
+
is_default?: boolean;
|
|
24572
|
+
modality?: string;
|
|
24573
|
+
provider_id: string;
|
|
24574
|
+
slug: string;
|
|
24575
|
+
updated_at?: string;
|
|
24576
|
+
};
|
|
24577
|
+
Update: {
|
|
24578
|
+
active?: boolean;
|
|
24579
|
+
context_window?: number | null;
|
|
24580
|
+
created_at?: string;
|
|
24581
|
+
display_name?: string;
|
|
24582
|
+
id?: string;
|
|
24583
|
+
is_default?: boolean;
|
|
24584
|
+
modality?: string;
|
|
24585
|
+
provider_id?: string;
|
|
24586
|
+
slug?: string;
|
|
24587
|
+
updated_at?: string;
|
|
24588
|
+
};
|
|
24589
|
+
Relationships: [{
|
|
24590
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
24591
|
+
columns: ["provider_id"];
|
|
24592
|
+
isOneToOne: false;
|
|
24593
|
+
referencedRelation: "ai_providers";
|
|
24594
|
+
referencedColumns: ["id"];
|
|
24595
|
+
}];
|
|
24596
|
+
};
|
|
24597
|
+
ai_module_bindings: {
|
|
24598
|
+
Row: {
|
|
24599
|
+
consumer_module_id: string;
|
|
24600
|
+
created_at: string;
|
|
24601
|
+
credential_id: string;
|
|
24602
|
+
id: string;
|
|
24603
|
+
model_id: string;
|
|
24604
|
+
notes: string | null;
|
|
24605
|
+
updated_at: string;
|
|
24606
|
+
};
|
|
24607
|
+
Insert: {
|
|
24608
|
+
consumer_module_id: string;
|
|
24609
|
+
created_at?: string;
|
|
24610
|
+
credential_id: string;
|
|
24611
|
+
id?: string;
|
|
24612
|
+
model_id: string;
|
|
24613
|
+
notes?: string | null;
|
|
24614
|
+
updated_at?: string;
|
|
24615
|
+
};
|
|
24616
|
+
Update: {
|
|
24617
|
+
consumer_module_id?: string;
|
|
24618
|
+
created_at?: string;
|
|
24619
|
+
credential_id?: string;
|
|
24620
|
+
id?: string;
|
|
24621
|
+
model_id?: string;
|
|
24622
|
+
notes?: string | null;
|
|
24623
|
+
updated_at?: string;
|
|
24624
|
+
};
|
|
24625
|
+
Relationships: [{
|
|
24626
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
24627
|
+
columns: ["credential_id"];
|
|
24628
|
+
isOneToOne: false;
|
|
24629
|
+
referencedRelation: "ai_credentials";
|
|
24630
|
+
referencedColumns: ["id"];
|
|
24631
|
+
}, {
|
|
24632
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
24633
|
+
columns: ["model_id"];
|
|
24634
|
+
isOneToOne: false;
|
|
24635
|
+
referencedRelation: "ai_models";
|
|
24636
|
+
referencedColumns: ["id"];
|
|
24637
|
+
}];
|
|
24638
|
+
};
|
|
24639
|
+
ai_providers: {
|
|
24640
|
+
Row: {
|
|
24641
|
+
active: boolean;
|
|
24642
|
+
auth_type: string;
|
|
24643
|
+
base_url: string | null;
|
|
24644
|
+
created_at: string;
|
|
24645
|
+
id: string;
|
|
24646
|
+
name: string;
|
|
24647
|
+
slug: string;
|
|
24648
|
+
updated_at: string;
|
|
24649
|
+
};
|
|
24650
|
+
Insert: {
|
|
24651
|
+
active?: boolean;
|
|
24652
|
+
auth_type?: string;
|
|
24653
|
+
base_url?: string | null;
|
|
24654
|
+
created_at?: string;
|
|
24655
|
+
id?: string;
|
|
24656
|
+
name: string;
|
|
24657
|
+
slug: string;
|
|
24658
|
+
updated_at?: string;
|
|
24659
|
+
};
|
|
24660
|
+
Update: {
|
|
24661
|
+
active?: boolean;
|
|
24662
|
+
auth_type?: string;
|
|
24663
|
+
base_url?: string | null;
|
|
24664
|
+
created_at?: string;
|
|
24665
|
+
id?: string;
|
|
24666
|
+
name?: string;
|
|
24667
|
+
slug?: string;
|
|
24668
|
+
updated_at?: string;
|
|
24669
|
+
};
|
|
24670
|
+
Relationships: [];
|
|
24671
|
+
};
|
|
22923
24672
|
app_settings: {
|
|
22924
24673
|
Row: {
|
|
22925
24674
|
created_at: string;
|
|
@@ -23577,6 +25326,69 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
23577
25326
|
referencedColumns: ["id"];
|
|
23578
25327
|
}];
|
|
23579
25328
|
};
|
|
25329
|
+
catalog_articles_cache: {
|
|
25330
|
+
Row: {
|
|
25331
|
+
created_at: string;
|
|
25332
|
+
default_price: number;
|
|
25333
|
+
default_vat_rate_ref: string | null;
|
|
25334
|
+
external_ref: string;
|
|
25335
|
+
id: string;
|
|
25336
|
+
name: string;
|
|
25337
|
+
updated_at: string;
|
|
25338
|
+
user_id: string;
|
|
25339
|
+
};
|
|
25340
|
+
Insert: {
|
|
25341
|
+
created_at?: string;
|
|
25342
|
+
default_price?: number;
|
|
25343
|
+
default_vat_rate_ref?: string | null;
|
|
25344
|
+
external_ref: string;
|
|
25345
|
+
id?: string;
|
|
25346
|
+
name: string;
|
|
25347
|
+
updated_at?: string;
|
|
25348
|
+
user_id: string;
|
|
25349
|
+
};
|
|
25350
|
+
Update: {
|
|
25351
|
+
created_at?: string;
|
|
25352
|
+
default_price?: number;
|
|
25353
|
+
default_vat_rate_ref?: string | null;
|
|
25354
|
+
external_ref?: string;
|
|
25355
|
+
id?: string;
|
|
25356
|
+
name?: string;
|
|
25357
|
+
updated_at?: string;
|
|
25358
|
+
user_id?: string;
|
|
25359
|
+
};
|
|
25360
|
+
Relationships: [];
|
|
25361
|
+
};
|
|
25362
|
+
catalog_vat_rates_cache: {
|
|
25363
|
+
Row: {
|
|
25364
|
+
created_at: string;
|
|
25365
|
+
external_ref: string;
|
|
25366
|
+
id: string;
|
|
25367
|
+
label: string;
|
|
25368
|
+
percentage: number;
|
|
25369
|
+
updated_at: string;
|
|
25370
|
+
user_id: string;
|
|
25371
|
+
};
|
|
25372
|
+
Insert: {
|
|
25373
|
+
created_at?: string;
|
|
25374
|
+
external_ref: string;
|
|
25375
|
+
id?: string;
|
|
25376
|
+
label: string;
|
|
25377
|
+
percentage?: number;
|
|
25378
|
+
updated_at?: string;
|
|
25379
|
+
user_id: string;
|
|
25380
|
+
};
|
|
25381
|
+
Update: {
|
|
25382
|
+
created_at?: string;
|
|
25383
|
+
external_ref?: string;
|
|
25384
|
+
id?: string;
|
|
25385
|
+
label?: string;
|
|
25386
|
+
percentage?: number;
|
|
25387
|
+
updated_at?: string;
|
|
25388
|
+
user_id?: string;
|
|
25389
|
+
};
|
|
25390
|
+
Relationships: [];
|
|
25391
|
+
};
|
|
23580
25392
|
collections: {
|
|
23581
25393
|
Row: {
|
|
23582
25394
|
created_at: string;
|
|
@@ -23826,6 +25638,105 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
23826
25638
|
};
|
|
23827
25639
|
Relationships: [];
|
|
23828
25640
|
};
|
|
25641
|
+
customer_price_group_members: {
|
|
25642
|
+
Row: {
|
|
25643
|
+
created_at: string;
|
|
25644
|
+
customer_key: string;
|
|
25645
|
+
id: string;
|
|
25646
|
+
owner_id: string;
|
|
25647
|
+
price_group_id: string;
|
|
25648
|
+
};
|
|
25649
|
+
Insert: {
|
|
25650
|
+
created_at?: string;
|
|
25651
|
+
customer_key: string;
|
|
25652
|
+
id?: string;
|
|
25653
|
+
owner_id?: string;
|
|
25654
|
+
price_group_id: string;
|
|
25655
|
+
};
|
|
25656
|
+
Update: {
|
|
25657
|
+
created_at?: string;
|
|
25658
|
+
customer_key?: string;
|
|
25659
|
+
id?: string;
|
|
25660
|
+
owner_id?: string;
|
|
25661
|
+
price_group_id?: string;
|
|
25662
|
+
};
|
|
25663
|
+
Relationships: [{
|
|
25664
|
+
foreignKeyName: "customer_price_group_members_price_group_id_fkey";
|
|
25665
|
+
columns: ["price_group_id"];
|
|
25666
|
+
isOneToOne: false;
|
|
25667
|
+
referencedRelation: "customer_price_groups";
|
|
25668
|
+
referencedColumns: ["id"];
|
|
25669
|
+
}];
|
|
25670
|
+
};
|
|
25671
|
+
customer_price_groups: {
|
|
25672
|
+
Row: {
|
|
25673
|
+
calc_type: string | null;
|
|
25674
|
+
calc_value: number | null;
|
|
25675
|
+
calc_value_type: string | null;
|
|
25676
|
+
created_at: string;
|
|
25677
|
+
currency: string;
|
|
25678
|
+
distribute_over: string | null;
|
|
25679
|
+
group_type: string;
|
|
25680
|
+
handling_fee: number | null;
|
|
25681
|
+
id: string;
|
|
25682
|
+
include_stickers: boolean;
|
|
25683
|
+
is_active: boolean;
|
|
25684
|
+
name: string;
|
|
25685
|
+
owner_id: string;
|
|
25686
|
+
price_scope: string;
|
|
25687
|
+
pricing_mode: string;
|
|
25688
|
+
rounding: string;
|
|
25689
|
+
rounding_step: number;
|
|
25690
|
+
sort_order: number;
|
|
25691
|
+
unit: string;
|
|
25692
|
+
updated_at: string;
|
|
25693
|
+
};
|
|
25694
|
+
Insert: {
|
|
25695
|
+
calc_type?: string | null;
|
|
25696
|
+
calc_value?: number | null;
|
|
25697
|
+
calc_value_type?: string | null;
|
|
25698
|
+
created_at?: string;
|
|
25699
|
+
currency?: string;
|
|
25700
|
+
distribute_over?: string | null;
|
|
25701
|
+
group_type?: string;
|
|
25702
|
+
handling_fee?: number | null;
|
|
25703
|
+
id?: string;
|
|
25704
|
+
include_stickers?: boolean;
|
|
25705
|
+
is_active?: boolean;
|
|
25706
|
+
name: string;
|
|
25707
|
+
owner_id?: string;
|
|
25708
|
+
price_scope?: string;
|
|
25709
|
+
pricing_mode?: string;
|
|
25710
|
+
rounding?: string;
|
|
25711
|
+
rounding_step?: number;
|
|
25712
|
+
sort_order?: number;
|
|
25713
|
+
unit?: string;
|
|
25714
|
+
updated_at?: string;
|
|
25715
|
+
};
|
|
25716
|
+
Update: {
|
|
25717
|
+
calc_type?: string | null;
|
|
25718
|
+
calc_value?: number | null;
|
|
25719
|
+
calc_value_type?: string | null;
|
|
25720
|
+
created_at?: string;
|
|
25721
|
+
currency?: string;
|
|
25722
|
+
distribute_over?: string | null;
|
|
25723
|
+
group_type?: string;
|
|
25724
|
+
handling_fee?: number | null;
|
|
25725
|
+
id?: string;
|
|
25726
|
+
include_stickers?: boolean;
|
|
25727
|
+
is_active?: boolean;
|
|
25728
|
+
name?: string;
|
|
25729
|
+
owner_id?: string;
|
|
25730
|
+
price_scope?: string;
|
|
25731
|
+
pricing_mode?: string;
|
|
25732
|
+
rounding?: string;
|
|
25733
|
+
rounding_step?: number;
|
|
25734
|
+
sort_order?: number;
|
|
25735
|
+
unit?: string;
|
|
25736
|
+
updated_at?: string;
|
|
25737
|
+
};
|
|
25738
|
+
Relationships: [];
|
|
25739
|
+
};
|
|
23829
25740
|
customer_selected_assortment: {
|
|
23830
25741
|
Row: {
|
|
23831
25742
|
article_number: string | null;
|
|
@@ -23979,6 +25890,10 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
23979
25890
|
sync_error: string | null;
|
|
23980
25891
|
sync_status: string;
|
|
23981
25892
|
trade_forms: string[];
|
|
25893
|
+
twinfield_code: string | null;
|
|
25894
|
+
twinfield_last_hash: string | null;
|
|
25895
|
+
twinfield_sync_error: string | null;
|
|
25896
|
+
twinfield_synced_at: string | null;
|
|
23982
25897
|
updated_at: string;
|
|
23983
25898
|
vat_display: string | null;
|
|
23984
25899
|
vat_number: string | null;
|
|
@@ -24046,6 +25961,10 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
24046
25961
|
sync_error?: string | null;
|
|
24047
25962
|
sync_status?: string;
|
|
24048
25963
|
trade_forms?: string[];
|
|
25964
|
+
twinfield_code?: string | null;
|
|
25965
|
+
twinfield_last_hash?: string | null;
|
|
25966
|
+
twinfield_sync_error?: string | null;
|
|
25967
|
+
twinfield_synced_at?: string | null;
|
|
24049
25968
|
updated_at?: string;
|
|
24050
25969
|
vat_display?: string | null;
|
|
24051
25970
|
vat_number?: string | null;
|
|
@@ -24113,6 +26032,10 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
24113
26032
|
sync_error?: string | null;
|
|
24114
26033
|
sync_status?: string;
|
|
24115
26034
|
trade_forms?: string[];
|
|
26035
|
+
twinfield_code?: string | null;
|
|
26036
|
+
twinfield_last_hash?: string | null;
|
|
26037
|
+
twinfield_sync_error?: string | null;
|
|
26038
|
+
twinfield_synced_at?: string | null;
|
|
24116
26039
|
updated_at?: string;
|
|
24117
26040
|
vat_display?: string | null;
|
|
24118
26041
|
vat_number?: string | null;
|
|
@@ -31095,6 +33018,27 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
31095
33018
|
};
|
|
31096
33019
|
Relationships: [];
|
|
31097
33020
|
};
|
|
33021
|
+
technician_rates: {
|
|
33022
|
+
Row: {
|
|
33023
|
+
created_at: string;
|
|
33024
|
+
hourly_rate_cents: number;
|
|
33025
|
+
updated_at: string;
|
|
33026
|
+
user_id: string;
|
|
33027
|
+
};
|
|
33028
|
+
Insert: {
|
|
33029
|
+
created_at?: string;
|
|
33030
|
+
hourly_rate_cents?: number;
|
|
33031
|
+
updated_at?: string;
|
|
33032
|
+
user_id: string;
|
|
33033
|
+
};
|
|
33034
|
+
Update: {
|
|
33035
|
+
created_at?: string;
|
|
33036
|
+
hourly_rate_cents?: number;
|
|
33037
|
+
updated_at?: string;
|
|
33038
|
+
user_id?: string;
|
|
33039
|
+
};
|
|
33040
|
+
Relationships: [];
|
|
33041
|
+
};
|
|
31098
33042
|
tenants: {
|
|
31099
33043
|
Row: {
|
|
31100
33044
|
created_at: string;
|
|
@@ -31564,6 +33508,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
31564
33508
|
country: string | null;
|
|
31565
33509
|
created_at: string;
|
|
31566
33510
|
email: string | null;
|
|
33511
|
+
external_group_key: string | null;
|
|
31567
33512
|
id: string;
|
|
31568
33513
|
last_synced_at: string | null;
|
|
31569
33514
|
name: string;
|
|
@@ -31582,6 +33527,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
31582
33527
|
country?: string | null;
|
|
31583
33528
|
created_at?: string;
|
|
31584
33529
|
email?: string | null;
|
|
33530
|
+
external_group_key?: string | null;
|
|
31585
33531
|
id?: string;
|
|
31586
33532
|
last_synced_at?: string | null;
|
|
31587
33533
|
name: string;
|
|
@@ -31600,6 +33546,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
31600
33546
|
country?: string | null;
|
|
31601
33547
|
created_at?: string;
|
|
31602
33548
|
email?: string | null;
|
|
33549
|
+
external_group_key?: string | null;
|
|
31603
33550
|
id?: string;
|
|
31604
33551
|
last_synced_at?: string | null;
|
|
31605
33552
|
name?: string;
|
|
@@ -31764,6 +33711,8 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
31764
33711
|
twinfield_invoice_settings: {
|
|
31765
33712
|
Row: {
|
|
31766
33713
|
created_at: string;
|
|
33714
|
+
debtor_gl_account: string;
|
|
33715
|
+
default_credit_invoice_type: string | null;
|
|
31767
33716
|
default_gl_account: string;
|
|
31768
33717
|
default_invoice_type: string;
|
|
31769
33718
|
default_payment_term_days: number;
|
|
@@ -31772,11 +33721,15 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
31772
33721
|
invoice_enabled_fo: boolean;
|
|
31773
33722
|
invoice_enabled_ho: boolean;
|
|
31774
33723
|
invoice_enabled_mo: boolean;
|
|
33724
|
+
payment_gl_account: string;
|
|
33725
|
+
payment_journal_code: string;
|
|
31775
33726
|
updated_at: string;
|
|
31776
33727
|
user_id: string;
|
|
31777
33728
|
};
|
|
31778
33729
|
Insert: {
|
|
31779
33730
|
created_at?: string;
|
|
33731
|
+
debtor_gl_account?: string;
|
|
33732
|
+
default_credit_invoice_type?: string | null;
|
|
31780
33733
|
default_gl_account?: string;
|
|
31781
33734
|
default_invoice_type?: string;
|
|
31782
33735
|
default_payment_term_days?: number;
|
|
@@ -31785,11 +33738,15 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
31785
33738
|
invoice_enabled_fo?: boolean;
|
|
31786
33739
|
invoice_enabled_ho?: boolean;
|
|
31787
33740
|
invoice_enabled_mo?: boolean;
|
|
33741
|
+
payment_gl_account?: string;
|
|
33742
|
+
payment_journal_code?: string;
|
|
31788
33743
|
updated_at?: string;
|
|
31789
33744
|
user_id: string;
|
|
31790
33745
|
};
|
|
31791
33746
|
Update: {
|
|
31792
33747
|
created_at?: string;
|
|
33748
|
+
debtor_gl_account?: string;
|
|
33749
|
+
default_credit_invoice_type?: string | null;
|
|
31793
33750
|
default_gl_account?: string;
|
|
31794
33751
|
default_invoice_type?: string;
|
|
31795
33752
|
default_payment_term_days?: number;
|
|
@@ -31798,6 +33755,8 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
31798
33755
|
invoice_enabled_fo?: boolean;
|
|
31799
33756
|
invoice_enabled_ho?: boolean;
|
|
31800
33757
|
invoice_enabled_mo?: boolean;
|
|
33758
|
+
payment_gl_account?: string;
|
|
33759
|
+
payment_journal_code?: string;
|
|
31801
33760
|
updated_at?: string;
|
|
31802
33761
|
user_id?: string;
|
|
31803
33762
|
};
|
|
@@ -32018,43 +33977,49 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
32018
33977
|
};
|
|
32019
33978
|
twinfield_push_queue: {
|
|
32020
33979
|
Row: {
|
|
33980
|
+
action: string;
|
|
32021
33981
|
attempts: number;
|
|
32022
33982
|
connection_id: string;
|
|
32023
33983
|
created_at: string;
|
|
33984
|
+
customer_id: string | null;
|
|
32024
33985
|
external_id: string | null;
|
|
32025
33986
|
id: string;
|
|
32026
33987
|
idempotency_key: string;
|
|
32027
33988
|
last_error: string | null;
|
|
32028
33989
|
next_attempt_at: string;
|
|
32029
|
-
office_code: string;
|
|
33990
|
+
office_code: string | null;
|
|
32030
33991
|
payload: import("../integrations/supabase/types").Json;
|
|
32031
33992
|
status: string;
|
|
32032
33993
|
updated_at: string;
|
|
32033
33994
|
};
|
|
32034
33995
|
Insert: {
|
|
33996
|
+
action?: string;
|
|
32035
33997
|
attempts?: number;
|
|
32036
33998
|
connection_id: string;
|
|
32037
33999
|
created_at?: string;
|
|
34000
|
+
customer_id?: string | null;
|
|
32038
34001
|
external_id?: string | null;
|
|
32039
34002
|
id?: string;
|
|
32040
34003
|
idempotency_key: string;
|
|
32041
34004
|
last_error?: string | null;
|
|
32042
34005
|
next_attempt_at?: string;
|
|
32043
|
-
office_code
|
|
34006
|
+
office_code?: string | null;
|
|
32044
34007
|
payload: import("../integrations/supabase/types").Json;
|
|
32045
34008
|
status?: string;
|
|
32046
34009
|
updated_at?: string;
|
|
32047
34010
|
};
|
|
32048
34011
|
Update: {
|
|
34012
|
+
action?: string;
|
|
32049
34013
|
attempts?: number;
|
|
32050
34014
|
connection_id?: string;
|
|
32051
34015
|
created_at?: string;
|
|
34016
|
+
customer_id?: string | null;
|
|
32052
34017
|
external_id?: string | null;
|
|
32053
34018
|
id?: string;
|
|
32054
34019
|
idempotency_key?: string;
|
|
32055
34020
|
last_error?: string | null;
|
|
32056
34021
|
next_attempt_at?: string;
|
|
32057
|
-
office_code?: string;
|
|
34022
|
+
office_code?: string | null;
|
|
32058
34023
|
payload?: import("../integrations/supabase/types").Json;
|
|
32059
34024
|
status?: string;
|
|
32060
34025
|
updated_at?: string;
|
|
@@ -32065,6 +34030,12 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
32065
34030
|
isOneToOne: false;
|
|
32066
34031
|
referencedRelation: "twinfield_connections";
|
|
32067
34032
|
referencedColumns: ["id"];
|
|
34033
|
+
}, {
|
|
34034
|
+
foreignKeyName: "twinfield_push_queue_customer_id_fkey";
|
|
34035
|
+
columns: ["customer_id"];
|
|
34036
|
+
isOneToOne: false;
|
|
34037
|
+
referencedRelation: "customers";
|
|
34038
|
+
referencedColumns: ["id"];
|
|
32068
34039
|
}];
|
|
32069
34040
|
};
|
|
32070
34041
|
twinfield_request_metrics: {
|
|
@@ -32340,6 +34311,246 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
32340
34311
|
};
|
|
32341
34312
|
Relationships: [];
|
|
32342
34313
|
};
|
|
34314
|
+
werkbon_package_lines: {
|
|
34315
|
+
Row: {
|
|
34316
|
+
created_at: string;
|
|
34317
|
+
created_by: string | null;
|
|
34318
|
+
id: string;
|
|
34319
|
+
package_id: string;
|
|
34320
|
+
quantity: number;
|
|
34321
|
+
unit_price_cents_snapshot: number;
|
|
34322
|
+
werkbon_id: string;
|
|
34323
|
+
};
|
|
34324
|
+
Insert: {
|
|
34325
|
+
created_at?: string;
|
|
34326
|
+
created_by?: string | null;
|
|
34327
|
+
id?: string;
|
|
34328
|
+
package_id: string;
|
|
34329
|
+
quantity?: number;
|
|
34330
|
+
unit_price_cents_snapshot?: number;
|
|
34331
|
+
werkbon_id: string;
|
|
34332
|
+
};
|
|
34333
|
+
Update: {
|
|
34334
|
+
created_at?: string;
|
|
34335
|
+
created_by?: string | null;
|
|
34336
|
+
id?: string;
|
|
34337
|
+
package_id?: string;
|
|
34338
|
+
quantity?: number;
|
|
34339
|
+
unit_price_cents_snapshot?: number;
|
|
34340
|
+
werkbon_id?: string;
|
|
34341
|
+
};
|
|
34342
|
+
Relationships: [{
|
|
34343
|
+
foreignKeyName: "werkbon_package_lines_package_id_fkey";
|
|
34344
|
+
columns: ["package_id"];
|
|
34345
|
+
isOneToOne: false;
|
|
34346
|
+
referencedRelation: "werkbon_packages";
|
|
34347
|
+
referencedColumns: ["id"];
|
|
34348
|
+
}, {
|
|
34349
|
+
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
34350
|
+
columns: ["werkbon_id"];
|
|
34351
|
+
isOneToOne: false;
|
|
34352
|
+
referencedRelation: "werkbonnen";
|
|
34353
|
+
referencedColumns: ["id"];
|
|
34354
|
+
}];
|
|
34355
|
+
};
|
|
34356
|
+
werkbon_packages: {
|
|
34357
|
+
Row: {
|
|
34358
|
+
active: boolean;
|
|
34359
|
+
code: string;
|
|
34360
|
+
created_at: string;
|
|
34361
|
+
default_quantity: number;
|
|
34362
|
+
description: string | null;
|
|
34363
|
+
id: string;
|
|
34364
|
+
name: string;
|
|
34365
|
+
unit_price_cents: number;
|
|
34366
|
+
updated_at: string;
|
|
34367
|
+
};
|
|
34368
|
+
Insert: {
|
|
34369
|
+
active?: boolean;
|
|
34370
|
+
code: string;
|
|
34371
|
+
created_at?: string;
|
|
34372
|
+
default_quantity?: number;
|
|
34373
|
+
description?: string | null;
|
|
34374
|
+
id?: string;
|
|
34375
|
+
name: string;
|
|
34376
|
+
unit_price_cents?: number;
|
|
34377
|
+
updated_at?: string;
|
|
34378
|
+
};
|
|
34379
|
+
Update: {
|
|
34380
|
+
active?: boolean;
|
|
34381
|
+
code?: string;
|
|
34382
|
+
created_at?: string;
|
|
34383
|
+
default_quantity?: number;
|
|
34384
|
+
description?: string | null;
|
|
34385
|
+
id?: string;
|
|
34386
|
+
name?: string;
|
|
34387
|
+
unit_price_cents?: number;
|
|
34388
|
+
updated_at?: string;
|
|
34389
|
+
};
|
|
34390
|
+
Relationships: [];
|
|
34391
|
+
};
|
|
34392
|
+
werkbon_photos: {
|
|
34393
|
+
Row: {
|
|
34394
|
+
created_at: string;
|
|
34395
|
+
id: string;
|
|
34396
|
+
storage_path: string;
|
|
34397
|
+
user_id: string;
|
|
34398
|
+
werkbon_id: string;
|
|
34399
|
+
};
|
|
34400
|
+
Insert: {
|
|
34401
|
+
created_at?: string;
|
|
34402
|
+
id?: string;
|
|
34403
|
+
storage_path: string;
|
|
34404
|
+
user_id: string;
|
|
34405
|
+
werkbon_id: string;
|
|
34406
|
+
};
|
|
34407
|
+
Update: {
|
|
34408
|
+
created_at?: string;
|
|
34409
|
+
id?: string;
|
|
34410
|
+
storage_path?: string;
|
|
34411
|
+
user_id?: string;
|
|
34412
|
+
werkbon_id?: string;
|
|
34413
|
+
};
|
|
34414
|
+
Relationships: [{
|
|
34415
|
+
foreignKeyName: "werkbon_photos_werkbon_id_fkey";
|
|
34416
|
+
columns: ["werkbon_id"];
|
|
34417
|
+
isOneToOne: false;
|
|
34418
|
+
referencedRelation: "werkbonnen";
|
|
34419
|
+
referencedColumns: ["id"];
|
|
34420
|
+
}];
|
|
34421
|
+
};
|
|
34422
|
+
werkbon_time_logs: {
|
|
34423
|
+
Row: {
|
|
34424
|
+
activity: string;
|
|
34425
|
+
created_at: string;
|
|
34426
|
+
ended_at: string | null;
|
|
34427
|
+
id: string;
|
|
34428
|
+
started_at: string;
|
|
34429
|
+
user_id: string;
|
|
34430
|
+
werkbon_id: string;
|
|
34431
|
+
};
|
|
34432
|
+
Insert: {
|
|
34433
|
+
activity: string;
|
|
34434
|
+
created_at?: string;
|
|
34435
|
+
ended_at?: string | null;
|
|
34436
|
+
id?: string;
|
|
34437
|
+
started_at?: string;
|
|
34438
|
+
user_id: string;
|
|
34439
|
+
werkbon_id: string;
|
|
34440
|
+
};
|
|
34441
|
+
Update: {
|
|
34442
|
+
activity?: string;
|
|
34443
|
+
created_at?: string;
|
|
34444
|
+
ended_at?: string | null;
|
|
34445
|
+
id?: string;
|
|
34446
|
+
started_at?: string;
|
|
34447
|
+
user_id?: string;
|
|
34448
|
+
werkbon_id?: string;
|
|
34449
|
+
};
|
|
34450
|
+
Relationships: [{
|
|
34451
|
+
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
34452
|
+
columns: ["werkbon_id"];
|
|
34453
|
+
isOneToOne: false;
|
|
34454
|
+
referencedRelation: "werkbonnen";
|
|
34455
|
+
referencedColumns: ["id"];
|
|
34456
|
+
}];
|
|
34457
|
+
};
|
|
34458
|
+
werkbonnen: {
|
|
34459
|
+
Row: {
|
|
34460
|
+
assigned_user_id: string | null;
|
|
34461
|
+
budget_mandate_cents: number;
|
|
34462
|
+
complaint_description: string | null;
|
|
34463
|
+
created_at: string;
|
|
34464
|
+
created_by: string | null;
|
|
34465
|
+
customer_id: string | null;
|
|
34466
|
+
externe_referentie: string | null;
|
|
34467
|
+
first_time_fix: boolean | null;
|
|
34468
|
+
id: string;
|
|
34469
|
+
internal_notes: string | null;
|
|
34470
|
+
parent_werkbon_id: string | null;
|
|
34471
|
+
parsed_payload: import("../integrations/supabase/types").Json | null;
|
|
34472
|
+
project_number: string | null;
|
|
34473
|
+
room_number: string | null;
|
|
34474
|
+
scheduled_end_time: string | null;
|
|
34475
|
+
scheduled_start_time: string | null;
|
|
34476
|
+
sequence_number: number;
|
|
34477
|
+
source_pdf_path: string | null;
|
|
34478
|
+
status: string;
|
|
34479
|
+
technician_notes: string | null;
|
|
34480
|
+
technician_notes_raw: string | null;
|
|
34481
|
+
technician_task_description: string | null;
|
|
34482
|
+
updated_at: string;
|
|
34483
|
+
version: number;
|
|
34484
|
+
work_address: string | null;
|
|
34485
|
+
};
|
|
34486
|
+
Insert: {
|
|
34487
|
+
assigned_user_id?: string | null;
|
|
34488
|
+
budget_mandate_cents?: number;
|
|
34489
|
+
complaint_description?: string | null;
|
|
34490
|
+
created_at?: string;
|
|
34491
|
+
created_by?: string | null;
|
|
34492
|
+
customer_id?: string | null;
|
|
34493
|
+
externe_referentie?: string | null;
|
|
34494
|
+
first_time_fix?: boolean | null;
|
|
34495
|
+
id?: string;
|
|
34496
|
+
internal_notes?: string | null;
|
|
34497
|
+
parent_werkbon_id?: string | null;
|
|
34498
|
+
parsed_payload?: import("../integrations/supabase/types").Json | null;
|
|
34499
|
+
project_number?: string | null;
|
|
34500
|
+
room_number?: string | null;
|
|
34501
|
+
scheduled_end_time?: string | null;
|
|
34502
|
+
scheduled_start_time?: string | null;
|
|
34503
|
+
sequence_number: number;
|
|
34504
|
+
source_pdf_path?: string | null;
|
|
34505
|
+
status?: string;
|
|
34506
|
+
technician_notes?: string | null;
|
|
34507
|
+
technician_notes_raw?: string | null;
|
|
34508
|
+
technician_task_description?: string | null;
|
|
34509
|
+
updated_at?: string;
|
|
34510
|
+
version?: number;
|
|
34511
|
+
work_address?: string | null;
|
|
34512
|
+
};
|
|
34513
|
+
Update: {
|
|
34514
|
+
assigned_user_id?: string | null;
|
|
34515
|
+
budget_mandate_cents?: number;
|
|
34516
|
+
complaint_description?: string | null;
|
|
34517
|
+
created_at?: string;
|
|
34518
|
+
created_by?: string | null;
|
|
34519
|
+
customer_id?: string | null;
|
|
34520
|
+
externe_referentie?: string | null;
|
|
34521
|
+
first_time_fix?: boolean | null;
|
|
34522
|
+
id?: string;
|
|
34523
|
+
internal_notes?: string | null;
|
|
34524
|
+
parent_werkbon_id?: string | null;
|
|
34525
|
+
parsed_payload?: import("../integrations/supabase/types").Json | null;
|
|
34526
|
+
project_number?: string | null;
|
|
34527
|
+
room_number?: string | null;
|
|
34528
|
+
scheduled_end_time?: string | null;
|
|
34529
|
+
scheduled_start_time?: string | null;
|
|
34530
|
+
sequence_number?: number;
|
|
34531
|
+
source_pdf_path?: string | null;
|
|
34532
|
+
status?: string;
|
|
34533
|
+
technician_notes?: string | null;
|
|
34534
|
+
technician_notes_raw?: string | null;
|
|
34535
|
+
technician_task_description?: string | null;
|
|
34536
|
+
updated_at?: string;
|
|
34537
|
+
version?: number;
|
|
34538
|
+
work_address?: string | null;
|
|
34539
|
+
};
|
|
34540
|
+
Relationships: [{
|
|
34541
|
+
foreignKeyName: "werkbonnen_customer_id_fkey";
|
|
34542
|
+
columns: ["customer_id"];
|
|
34543
|
+
isOneToOne: false;
|
|
34544
|
+
referencedRelation: "customers";
|
|
34545
|
+
referencedColumns: ["id"];
|
|
34546
|
+
}, {
|
|
34547
|
+
foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
|
|
34548
|
+
columns: ["parent_werkbon_id"];
|
|
34549
|
+
isOneToOne: false;
|
|
34550
|
+
referencedRelation: "werkbonnen";
|
|
34551
|
+
referencedColumns: ["id"];
|
|
34552
|
+
}];
|
|
34553
|
+
};
|
|
32343
34554
|
work_order_monteurs: {
|
|
32344
34555
|
Row: {
|
|
32345
34556
|
created_at: string;
|
|
@@ -32510,6 +34721,8 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
32510
34721
|
created_at: string | null;
|
|
32511
34722
|
created_by: string | null;
|
|
32512
34723
|
display_name: string | null;
|
|
34724
|
+
graph_subscription_expires_at: string | null;
|
|
34725
|
+
graph_subscription_id: string | null;
|
|
32513
34726
|
has_access_token: boolean | null;
|
|
32514
34727
|
has_client_id: boolean | null;
|
|
32515
34728
|
has_client_secret: boolean | null;
|
|
@@ -32527,6 +34740,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
32527
34740
|
oauth_mode: string | null;
|
|
32528
34741
|
provider: string | null;
|
|
32529
34742
|
purpose_assignments: import("../integrations/supabase/types").Json | null;
|
|
34743
|
+
realtime_mode: string | null;
|
|
32530
34744
|
scopes: string[] | null;
|
|
32531
34745
|
smtp_host: string | null;
|
|
32532
34746
|
smtp_port: number | null;
|
|
@@ -32541,6 +34755,8 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
32541
34755
|
created_at?: string | null;
|
|
32542
34756
|
created_by?: string | null;
|
|
32543
34757
|
display_name?: string | null;
|
|
34758
|
+
graph_subscription_expires_at?: string | null;
|
|
34759
|
+
graph_subscription_id?: string | null;
|
|
32544
34760
|
has_access_token?: never;
|
|
32545
34761
|
has_client_id?: never;
|
|
32546
34762
|
has_client_secret?: never;
|
|
@@ -32558,6 +34774,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
32558
34774
|
oauth_mode?: string | null;
|
|
32559
34775
|
provider?: string | null;
|
|
32560
34776
|
purpose_assignments?: import("../integrations/supabase/types").Json | null;
|
|
34777
|
+
realtime_mode?: string | null;
|
|
32561
34778
|
scopes?: string[] | null;
|
|
32562
34779
|
smtp_host?: string | null;
|
|
32563
34780
|
smtp_port?: number | null;
|
|
@@ -32572,6 +34789,8 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
32572
34789
|
created_at?: string | null;
|
|
32573
34790
|
created_by?: string | null;
|
|
32574
34791
|
display_name?: string | null;
|
|
34792
|
+
graph_subscription_expires_at?: string | null;
|
|
34793
|
+
graph_subscription_id?: string | null;
|
|
32575
34794
|
has_access_token?: never;
|
|
32576
34795
|
has_client_id?: never;
|
|
32577
34796
|
has_client_secret?: never;
|
|
@@ -32589,6 +34808,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
32589
34808
|
oauth_mode?: string | null;
|
|
32590
34809
|
provider?: string | null;
|
|
32591
34810
|
purpose_assignments?: import("../integrations/supabase/types").Json | null;
|
|
34811
|
+
realtime_mode?: string | null;
|
|
32592
34812
|
scopes?: string[] | null;
|
|
32593
34813
|
smtp_host?: string | null;
|
|
32594
34814
|
smtp_port?: number | null;
|
|
@@ -33132,6 +35352,33 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
33132
35352
|
};
|
|
33133
35353
|
Returns: import("../integrations/supabase/types").Json;
|
|
33134
35354
|
};
|
|
35355
|
+
claim_twinfield_push_batch: {
|
|
35356
|
+
Args: {
|
|
35357
|
+
_limit?: number;
|
|
35358
|
+
};
|
|
35359
|
+
Returns: {
|
|
35360
|
+
action: string;
|
|
35361
|
+
attempts: number;
|
|
35362
|
+
connection_id: string;
|
|
35363
|
+
created_at: string;
|
|
35364
|
+
customer_id: string | null;
|
|
35365
|
+
external_id: string | null;
|
|
35366
|
+
id: string;
|
|
35367
|
+
idempotency_key: string;
|
|
35368
|
+
last_error: string | null;
|
|
35369
|
+
next_attempt_at: string;
|
|
35370
|
+
office_code: string | null;
|
|
35371
|
+
payload: import("../integrations/supabase/types").Json;
|
|
35372
|
+
status: string;
|
|
35373
|
+
updated_at: string;
|
|
35374
|
+
}[];
|
|
35375
|
+
SetofOptions: {
|
|
35376
|
+
from: "*";
|
|
35377
|
+
to: "twinfield_push_queue";
|
|
35378
|
+
isOneToOne: false;
|
|
35379
|
+
isSetofReturn: true;
|
|
35380
|
+
};
|
|
35381
|
+
};
|
|
33135
35382
|
cleanup_old_bookings: {
|
|
33136
35383
|
Args: never;
|
|
33137
35384
|
Returns: undefined;
|
|
@@ -33228,6 +35475,16 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
33228
35475
|
status: string;
|
|
33229
35476
|
}[];
|
|
33230
35477
|
};
|
|
35478
|
+
email_auth_upsert_connection: {
|
|
35479
|
+
Args: {
|
|
35480
|
+
_account_email: string;
|
|
35481
|
+
_created_by: string;
|
|
35482
|
+
_is_active: boolean;
|
|
35483
|
+
_provider: string;
|
|
35484
|
+
_status: string;
|
|
35485
|
+
};
|
|
35486
|
+
Returns: string;
|
|
35487
|
+
};
|
|
33231
35488
|
enqueue_cart_replan_if_unlocked: {
|
|
33232
35489
|
Args: {
|
|
33233
35490
|
p_order_id: string;
|
|
@@ -33500,6 +35757,10 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
33500
35757
|
};
|
|
33501
35758
|
Returns: boolean;
|
|
33502
35759
|
};
|
|
35760
|
+
has_twinfield_link: {
|
|
35761
|
+
Args: never;
|
|
35762
|
+
Returns: boolean;
|
|
35763
|
+
};
|
|
33503
35764
|
is_authenticated: {
|
|
33504
35765
|
Args: never;
|
|
33505
35766
|
Returns: boolean;
|
|
@@ -33555,6 +35816,10 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
33555
35816
|
};
|
|
33556
35817
|
Returns: string;
|
|
33557
35818
|
};
|
|
35819
|
+
next_twinfield_code: {
|
|
35820
|
+
Args: never;
|
|
35821
|
+
Returns: string;
|
|
35822
|
+
};
|
|
33558
35823
|
next_work_order_number: {
|
|
33559
35824
|
Args: {
|
|
33560
35825
|
p_parent_work_order_id?: string;
|
|
@@ -33669,6 +35934,12 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
33669
35934
|
};
|
|
33670
35935
|
Returns: number;
|
|
33671
35936
|
};
|
|
35937
|
+
reorder_customer_price_groups: {
|
|
35938
|
+
Args: {
|
|
35939
|
+
_ids: string[];
|
|
35940
|
+
};
|
|
35941
|
+
Returns: undefined;
|
|
35942
|
+
};
|
|
33672
35943
|
reset_floriday_sync_cursor: {
|
|
33673
35944
|
Args: {
|
|
33674
35945
|
p_connection_id: string;
|
|
@@ -33682,6 +35953,12 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
33682
35953
|
};
|
|
33683
35954
|
Returns: string;
|
|
33684
35955
|
};
|
|
35956
|
+
retry_twinfield_push: {
|
|
35957
|
+
Args: {
|
|
35958
|
+
_customer_id: string;
|
|
35959
|
+
};
|
|
35960
|
+
Returns: number;
|
|
35961
|
+
};
|
|
33685
35962
|
schedule_floriday_additional_services_sync: {
|
|
33686
35963
|
Args: {
|
|
33687
35964
|
p_apikey: string;
|