@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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
242
242
|
};
|
|
243
243
|
Relationships: [];
|
|
244
244
|
};
|
|
245
|
+
ai_admin_credentials: {
|
|
246
|
+
Row: {
|
|
247
|
+
active: boolean;
|
|
248
|
+
admin_key: string;
|
|
249
|
+
created_at: string;
|
|
250
|
+
id: string;
|
|
251
|
+
label: string;
|
|
252
|
+
provider_id: string;
|
|
253
|
+
updated_at: string;
|
|
254
|
+
};
|
|
255
|
+
Insert: {
|
|
256
|
+
active?: boolean;
|
|
257
|
+
admin_key: string;
|
|
258
|
+
created_at?: string;
|
|
259
|
+
id?: string;
|
|
260
|
+
label: string;
|
|
261
|
+
provider_id: string;
|
|
262
|
+
updated_at?: string;
|
|
263
|
+
};
|
|
264
|
+
Update: {
|
|
265
|
+
active?: boolean;
|
|
266
|
+
admin_key?: string;
|
|
267
|
+
created_at?: string;
|
|
268
|
+
id?: string;
|
|
269
|
+
label?: string;
|
|
270
|
+
provider_id?: string;
|
|
271
|
+
updated_at?: string;
|
|
272
|
+
};
|
|
273
|
+
Relationships: [{
|
|
274
|
+
foreignKeyName: "ai_admin_credentials_provider_id_fkey";
|
|
275
|
+
columns: ["provider_id"];
|
|
276
|
+
isOneToOne: true;
|
|
277
|
+
referencedRelation: "ai_providers";
|
|
278
|
+
referencedColumns: ["id"];
|
|
279
|
+
}];
|
|
280
|
+
};
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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("./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("./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("./types").Json;
|
|
9381
9828
|
status?: string;
|
|
9382
9829
|
updated_at?: string;
|
|
@@ -9387,6 +9834,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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("./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("./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("./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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9849
10544
|
oauth_mode: string | null;
|
|
9850
10545
|
provider: string | null;
|
|
9851
10546
|
purpose_assignments: import("./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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9880
10578
|
oauth_mode?: string | null;
|
|
9881
10579
|
provider?: string | null;
|
|
9882
10580
|
purpose_assignments?: import("./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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9911
10612
|
oauth_mode?: string | null;
|
|
9912
10613
|
provider?: string | null;
|
|
9913
10614
|
purpose_assignments?: import("./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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10454
11156
|
};
|
|
10455
11157
|
Returns: import("./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("./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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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;
|