@flowselections/floriday-afhandeling-module 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/afhandeling/LeveringenPage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/LeveringenPage.js +9 -67
- package/dist-lib/components/afhandeling/PickAgendaView.d.ts +6 -0
- package/dist-lib/components/afhandeling/PickAgendaView.d.ts.map +1 -0
- package/dist-lib/components/afhandeling/PickAgendaView.js +31 -0
- package/dist-lib/components/afhandeling/PickingPage.d.ts +2 -0
- package/dist-lib/components/afhandeling/PickingPage.d.ts.map +1 -0
- package/dist-lib/components/afhandeling/PickingPage.js +5 -0
- package/dist-lib/components/afhandeling/PlanningAgendaPage.d.ts +9 -0
- package/dist-lib/components/afhandeling/PlanningAgendaPage.d.ts.map +1 -0
- package/dist-lib/components/afhandeling/PlanningAgendaPage.js +7 -0
- package/dist-lib/components/afhandeling/VervoerderForm.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/VervoerderForm.js +24 -10
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts +12 -0
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts.map +1 -0
- package/dist-lib/components/afhandeling/WeekAgendaView.js +107 -0
- package/dist-lib/components/pickstation/LanguagePicker.d.ts +5 -0
- package/dist-lib/components/pickstation/LanguagePicker.d.ts.map +1 -0
- package/dist-lib/components/pickstation/LanguagePicker.js +5 -0
- package/dist-lib/components/pickstation/PakbonTemplate.d.ts +17 -0
- package/dist-lib/components/pickstation/PakbonTemplate.d.ts.map +1 -0
- package/dist-lib/components/pickstation/PakbonTemplate.js +74 -0
- package/dist-lib/components/pickstation/printDocuments.d.ts +3 -0
- package/dist-lib/components/pickstation/printDocuments.d.ts.map +1 -0
- package/dist-lib/components/pickstation/printDocuments.js +53 -0
- package/dist-lib/components/settings/AfhandelingSettingsCard.d.ts +2 -0
- package/dist-lib/components/settings/AfhandelingSettingsCard.d.ts.map +1 -0
- package/dist-lib/components/settings/AfhandelingSettingsCard.js +60 -0
- package/dist-lib/components/settings/VervoerdersSettingsCard.d.ts +2 -0
- package/dist-lib/components/settings/VervoerdersSettingsCard.d.ts.map +1 -0
- package/dist-lib/components/settings/VervoerdersSettingsCard.js +30 -0
- package/dist-lib/hooks/useOrderPlanning.d.ts +14 -0
- package/dist-lib/hooks/useOrderPlanning.d.ts.map +1 -0
- package/dist-lib/hooks/useOrderPlanning.js +90 -0
- package/dist-lib/index.d.ts +5 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +16 -6
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +531 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +531 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +531 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +544 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +1 -0
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +14338 -0
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -0
- package/dist-lib/lib/afhandelingSettings.functions.js +73 -0
- package/dist-lib/lib/carriers.functions.d.ts +2176 -44
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/carriers.functions.js +43 -6
- package/dist-lib/lib/floriday.functions.d.ts +532 -0
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.js +6 -1
- package/dist-lib/lib/pickDate.d.ts +21 -0
- package/dist-lib/lib/pickDate.d.ts.map +1 -0
- package/dist-lib/lib/pickDate.js +71 -0
- package/dist-lib/lib/pickstationI18n.d.ts +31 -0
- package/dist-lib/lib/pickstationI18n.d.ts.map +1 -0
- package/dist-lib/lib/pickstationI18n.js +147 -0
- package/dist-lib/lib/pickstationOrders.server.d.ts +9 -0
- package/dist-lib/lib/pickstationOrders.server.d.ts.map +1 -0
- package/dist-lib/lib/pickstationOrders.server.js +244 -0
- package/dist-lib/lib/pickstationTypes.d.ts +17 -0
- package/dist-lib/lib/pickstationTypes.d.ts.map +1 -0
- package/dist-lib/lib/pickstationTypes.js +1 -0
- package/dist-lib/lib/planning.d.ts +66 -0
- package/dist-lib/lib/planning.d.ts.map +1 -0
- package/dist-lib/lib/planning.js +180 -0
- package/package.json +12 -6
|
@@ -9,10 +9,44 @@ export interface FloridayOrder {
|
|
|
9
9
|
lineCount: number;
|
|
10
10
|
totalAmount: number | null;
|
|
11
11
|
currency: string | null;
|
|
12
|
+
createdAt: string | null;
|
|
12
13
|
}
|
|
13
14
|
export declare const getFloridayOrders: import("@tanstack/start-client-core").OptionalFetcher<readonly [import("@tanstack/start-client-core").FunctionMiddlewareAfterServer<{}, unknown, undefined, {
|
|
14
15
|
supabase: SupabaseClient<import("../integrations/supabase/types").Database, "public", "public", {
|
|
15
16
|
Tables: {
|
|
17
|
+
afhandeling_settings: {
|
|
18
|
+
Row: {
|
|
19
|
+
created_at: string;
|
|
20
|
+
id: string;
|
|
21
|
+
max_workdays_earlier_pick: number;
|
|
22
|
+
pick_days_before_transport: number;
|
|
23
|
+
pick_distribution_enabled: boolean;
|
|
24
|
+
transport_register_days_before: number;
|
|
25
|
+
updated_at: string;
|
|
26
|
+
user_id: string;
|
|
27
|
+
};
|
|
28
|
+
Insert: {
|
|
29
|
+
created_at?: string;
|
|
30
|
+
id?: string;
|
|
31
|
+
max_workdays_earlier_pick?: number;
|
|
32
|
+
pick_days_before_transport?: number;
|
|
33
|
+
pick_distribution_enabled?: boolean;
|
|
34
|
+
transport_register_days_before?: number;
|
|
35
|
+
updated_at?: string;
|
|
36
|
+
user_id: string;
|
|
37
|
+
};
|
|
38
|
+
Update: {
|
|
39
|
+
created_at?: string;
|
|
40
|
+
id?: string;
|
|
41
|
+
max_workdays_earlier_pick?: number;
|
|
42
|
+
pick_days_before_transport?: number;
|
|
43
|
+
pick_distribution_enabled?: boolean;
|
|
44
|
+
transport_register_days_before?: number;
|
|
45
|
+
updated_at?: string;
|
|
46
|
+
user_id?: string;
|
|
47
|
+
};
|
|
48
|
+
Relationships: [];
|
|
49
|
+
};
|
|
16
50
|
agenda_connections: {
|
|
17
51
|
Row: {
|
|
18
52
|
account_email: string | null;
|
|
@@ -281,6 +315,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
281
315
|
invoice_run_id: string | null;
|
|
282
316
|
invoice_status: string | null;
|
|
283
317
|
invoiced_at: string | null;
|
|
318
|
+
notes: string | null;
|
|
284
319
|
number_of_people: number;
|
|
285
320
|
room_id: string;
|
|
286
321
|
start_time: string;
|
|
@@ -305,6 +340,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
305
340
|
invoice_run_id?: string | null;
|
|
306
341
|
invoice_status?: string | null;
|
|
307
342
|
invoiced_at?: string | null;
|
|
343
|
+
notes?: string | null;
|
|
308
344
|
number_of_people?: number;
|
|
309
345
|
room_id: string;
|
|
310
346
|
start_time: string;
|
|
@@ -329,6 +365,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
329
365
|
invoice_run_id?: string | null;
|
|
330
366
|
invoice_status?: string | null;
|
|
331
367
|
invoiced_at?: string | null;
|
|
368
|
+
notes?: string | null;
|
|
332
369
|
number_of_people?: number;
|
|
333
370
|
room_id?: string;
|
|
334
371
|
start_time?: string;
|
|
@@ -420,9 +457,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
420
457
|
delivery_days: number | null;
|
|
421
458
|
email: string | null;
|
|
422
459
|
id: string;
|
|
460
|
+
is_default: boolean;
|
|
423
461
|
name: string;
|
|
424
462
|
notes: string | null;
|
|
425
463
|
phone: string | null;
|
|
464
|
+
pickup_moments: import("../integrations/supabase/types").Json;
|
|
465
|
+
signup_days_before_delivery: number;
|
|
426
466
|
signup_time_1: string | null;
|
|
427
467
|
signup_time_2: string | null;
|
|
428
468
|
updated_at: string;
|
|
@@ -435,9 +475,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
435
475
|
delivery_days?: number | null;
|
|
436
476
|
email?: string | null;
|
|
437
477
|
id?: string;
|
|
478
|
+
is_default?: boolean;
|
|
438
479
|
name: string;
|
|
439
480
|
notes?: string | null;
|
|
440
481
|
phone?: string | null;
|
|
482
|
+
pickup_moments?: import("../integrations/supabase/types").Json;
|
|
483
|
+
signup_days_before_delivery?: number;
|
|
441
484
|
signup_time_1?: string | null;
|
|
442
485
|
signup_time_2?: string | null;
|
|
443
486
|
updated_at?: string;
|
|
@@ -450,9 +493,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
450
493
|
delivery_days?: number | null;
|
|
451
494
|
email?: string | null;
|
|
452
495
|
id?: string;
|
|
496
|
+
is_default?: boolean;
|
|
453
497
|
name?: string;
|
|
454
498
|
notes?: string | null;
|
|
455
499
|
phone?: string | null;
|
|
500
|
+
pickup_moments?: import("../integrations/supabase/types").Json;
|
|
501
|
+
signup_days_before_delivery?: number;
|
|
456
502
|
signup_time_1?: string | null;
|
|
457
503
|
signup_time_2?: string | null;
|
|
458
504
|
updated_at?: string;
|
|
@@ -2200,6 +2246,51 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2200
2246
|
referencedColumns: ["id"];
|
|
2201
2247
|
}];
|
|
2202
2248
|
};
|
|
2249
|
+
exact_push_queue: {
|
|
2250
|
+
Row: {
|
|
2251
|
+
attempts: number;
|
|
2252
|
+
connection_id: string;
|
|
2253
|
+
created_at: string;
|
|
2254
|
+
external_id: string | null;
|
|
2255
|
+
id: string;
|
|
2256
|
+
idempotency_hash: string;
|
|
2257
|
+
last_error: string | null;
|
|
2258
|
+
payload: import("../integrations/supabase/types").Json;
|
|
2259
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_push_status"];
|
|
2260
|
+
updated_at: string;
|
|
2261
|
+
};
|
|
2262
|
+
Insert: {
|
|
2263
|
+
attempts?: number;
|
|
2264
|
+
connection_id: string;
|
|
2265
|
+
created_at?: string;
|
|
2266
|
+
external_id?: string | null;
|
|
2267
|
+
id?: string;
|
|
2268
|
+
idempotency_hash: string;
|
|
2269
|
+
last_error?: string | null;
|
|
2270
|
+
payload: import("../integrations/supabase/types").Json;
|
|
2271
|
+
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_push_status"];
|
|
2272
|
+
updated_at?: string;
|
|
2273
|
+
};
|
|
2274
|
+
Update: {
|
|
2275
|
+
attempts?: number;
|
|
2276
|
+
connection_id?: string;
|
|
2277
|
+
created_at?: string;
|
|
2278
|
+
external_id?: string | null;
|
|
2279
|
+
id?: string;
|
|
2280
|
+
idempotency_hash?: string;
|
|
2281
|
+
last_error?: string | null;
|
|
2282
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
2283
|
+
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_push_status"];
|
|
2284
|
+
updated_at?: string;
|
|
2285
|
+
};
|
|
2286
|
+
Relationships: [{
|
|
2287
|
+
foreignKeyName: "exact_push_queue_connection_id_fkey";
|
|
2288
|
+
columns: ["connection_id"];
|
|
2289
|
+
isOneToOne: false;
|
|
2290
|
+
referencedRelation: "exact_connections";
|
|
2291
|
+
referencedColumns: ["id"];
|
|
2292
|
+
}];
|
|
2293
|
+
};
|
|
2203
2294
|
exact_refresh_locks: {
|
|
2204
2295
|
Row: {
|
|
2205
2296
|
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
@@ -2262,6 +2353,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2262
2353
|
connection_id: string;
|
|
2263
2354
|
last_error: string | null;
|
|
2264
2355
|
last_modified_cursor: string | null;
|
|
2356
|
+
last_modified_cursor_customers: string | null;
|
|
2357
|
+
last_modified_cursor_invoices: string | null;
|
|
2265
2358
|
last_synced_at: string | null;
|
|
2266
2359
|
status: string;
|
|
2267
2360
|
updated_at: string;
|
|
@@ -2270,6 +2363,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2270
2363
|
connection_id: string;
|
|
2271
2364
|
last_error?: string | null;
|
|
2272
2365
|
last_modified_cursor?: string | null;
|
|
2366
|
+
last_modified_cursor_customers?: string | null;
|
|
2367
|
+
last_modified_cursor_invoices?: string | null;
|
|
2273
2368
|
last_synced_at?: string | null;
|
|
2274
2369
|
status?: string;
|
|
2275
2370
|
updated_at?: string;
|
|
@@ -2278,6 +2373,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2278
2373
|
connection_id?: string;
|
|
2279
2374
|
last_error?: string | null;
|
|
2280
2375
|
last_modified_cursor?: string | null;
|
|
2376
|
+
last_modified_cursor_customers?: string | null;
|
|
2377
|
+
last_modified_cursor_invoices?: string | null;
|
|
2281
2378
|
last_synced_at?: string | null;
|
|
2282
2379
|
status?: string;
|
|
2283
2380
|
updated_at?: string;
|
|
@@ -2320,6 +2417,54 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2320
2417
|
};
|
|
2321
2418
|
Relationships: [];
|
|
2322
2419
|
};
|
|
2420
|
+
external_invoice_providers: {
|
|
2421
|
+
Row: {
|
|
2422
|
+
color: string | null;
|
|
2423
|
+
created_at: string;
|
|
2424
|
+
hmac_secret_name: string | null;
|
|
2425
|
+
icon: string | null;
|
|
2426
|
+
is_enabled: boolean;
|
|
2427
|
+
label: string;
|
|
2428
|
+
last_synced_at: string | null;
|
|
2429
|
+
provider: string;
|
|
2430
|
+
push_endpoint: string | null;
|
|
2431
|
+
sort_order: number;
|
|
2432
|
+
status_endpoint: string | null;
|
|
2433
|
+
sync_endpoint: string | null;
|
|
2434
|
+
updated_at: string;
|
|
2435
|
+
};
|
|
2436
|
+
Insert: {
|
|
2437
|
+
color?: string | null;
|
|
2438
|
+
created_at?: string;
|
|
2439
|
+
hmac_secret_name?: string | null;
|
|
2440
|
+
icon?: string | null;
|
|
2441
|
+
is_enabled?: boolean;
|
|
2442
|
+
label: string;
|
|
2443
|
+
last_synced_at?: string | null;
|
|
2444
|
+
provider: string;
|
|
2445
|
+
push_endpoint?: string | null;
|
|
2446
|
+
sort_order?: number;
|
|
2447
|
+
status_endpoint?: string | null;
|
|
2448
|
+
sync_endpoint?: string | null;
|
|
2449
|
+
updated_at?: string;
|
|
2450
|
+
};
|
|
2451
|
+
Update: {
|
|
2452
|
+
color?: string | null;
|
|
2453
|
+
created_at?: string;
|
|
2454
|
+
hmac_secret_name?: string | null;
|
|
2455
|
+
icon?: string | null;
|
|
2456
|
+
is_enabled?: boolean;
|
|
2457
|
+
label?: string;
|
|
2458
|
+
last_synced_at?: string | null;
|
|
2459
|
+
provider?: string;
|
|
2460
|
+
push_endpoint?: string | null;
|
|
2461
|
+
sort_order?: number;
|
|
2462
|
+
status_endpoint?: string | null;
|
|
2463
|
+
sync_endpoint?: string | null;
|
|
2464
|
+
updated_at?: string;
|
|
2465
|
+
};
|
|
2466
|
+
Relationships: [];
|
|
2467
|
+
};
|
|
2323
2468
|
extra_categories: {
|
|
2324
2469
|
Row: {
|
|
2325
2470
|
created_at: string;
|
|
@@ -3028,6 +3173,57 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
3028
3173
|
};
|
|
3029
3174
|
Relationships: [];
|
|
3030
3175
|
};
|
|
3176
|
+
invoice_push_log: {
|
|
3177
|
+
Row: {
|
|
3178
|
+
connection_id: string | null;
|
|
3179
|
+
created_at: string;
|
|
3180
|
+
created_by: string;
|
|
3181
|
+
customer_id: string | null;
|
|
3182
|
+
id: string;
|
|
3183
|
+
last_error: string | null;
|
|
3184
|
+
last_polled_at: string | null;
|
|
3185
|
+
payload: import("../integrations/supabase/types").Json;
|
|
3186
|
+
provider_id: string;
|
|
3187
|
+
queue_id: string | null;
|
|
3188
|
+
status: string;
|
|
3189
|
+
updated_at: string;
|
|
3190
|
+
};
|
|
3191
|
+
Insert: {
|
|
3192
|
+
connection_id?: string | null;
|
|
3193
|
+
created_at?: string;
|
|
3194
|
+
created_by?: string;
|
|
3195
|
+
customer_id?: string | null;
|
|
3196
|
+
id?: string;
|
|
3197
|
+
last_error?: string | null;
|
|
3198
|
+
last_polled_at?: string | null;
|
|
3199
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
3200
|
+
provider_id: string;
|
|
3201
|
+
queue_id?: string | null;
|
|
3202
|
+
status?: string;
|
|
3203
|
+
updated_at?: string;
|
|
3204
|
+
};
|
|
3205
|
+
Update: {
|
|
3206
|
+
connection_id?: string | null;
|
|
3207
|
+
created_at?: string;
|
|
3208
|
+
created_by?: string;
|
|
3209
|
+
customer_id?: string | null;
|
|
3210
|
+
id?: string;
|
|
3211
|
+
last_error?: string | null;
|
|
3212
|
+
last_polled_at?: string | null;
|
|
3213
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
3214
|
+
provider_id?: string;
|
|
3215
|
+
queue_id?: string | null;
|
|
3216
|
+
status?: string;
|
|
3217
|
+
updated_at?: string;
|
|
3218
|
+
};
|
|
3219
|
+
Relationships: [{
|
|
3220
|
+
foreignKeyName: "invoice_push_log_provider_id_fkey";
|
|
3221
|
+
columns: ["provider_id"];
|
|
3222
|
+
isOneToOne: false;
|
|
3223
|
+
referencedRelation: "external_invoice_providers";
|
|
3224
|
+
referencedColumns: ["provider"];
|
|
3225
|
+
}];
|
|
3226
|
+
};
|
|
3031
3227
|
invoice_run_items: {
|
|
3032
3228
|
Row: {
|
|
3033
3229
|
booking_id: string | null;
|
|
@@ -4135,6 +4331,36 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4135
4331
|
};
|
|
4136
4332
|
Relationships: [];
|
|
4137
4333
|
};
|
|
4334
|
+
pickstation_print_log: {
|
|
4335
|
+
Row: {
|
|
4336
|
+
customer_name: string | null;
|
|
4337
|
+
documents: string[];
|
|
4338
|
+
id: string;
|
|
4339
|
+
ip_address: string | null;
|
|
4340
|
+
order_id: string;
|
|
4341
|
+
order_number: string | null;
|
|
4342
|
+
printed_at: string;
|
|
4343
|
+
};
|
|
4344
|
+
Insert: {
|
|
4345
|
+
customer_name?: string | null;
|
|
4346
|
+
documents?: string[];
|
|
4347
|
+
id?: string;
|
|
4348
|
+
ip_address?: string | null;
|
|
4349
|
+
order_id: string;
|
|
4350
|
+
order_number?: string | null;
|
|
4351
|
+
printed_at?: string;
|
|
4352
|
+
};
|
|
4353
|
+
Update: {
|
|
4354
|
+
customer_name?: string | null;
|
|
4355
|
+
documents?: string[];
|
|
4356
|
+
id?: string;
|
|
4357
|
+
ip_address?: string | null;
|
|
4358
|
+
order_id?: string;
|
|
4359
|
+
order_number?: string | null;
|
|
4360
|
+
printed_at?: string;
|
|
4361
|
+
};
|
|
4362
|
+
Relationships: [];
|
|
4363
|
+
};
|
|
4138
4364
|
pipeline_settings: {
|
|
4139
4365
|
Row: {
|
|
4140
4366
|
created_at: string;
|
|
@@ -5578,9 +5804,11 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5578
5804
|
fetched_at: string;
|
|
5579
5805
|
invoice_number: string;
|
|
5580
5806
|
line_number: number;
|
|
5807
|
+
line_total: number | null;
|
|
5581
5808
|
quantity: number | null;
|
|
5582
5809
|
unit_price: number | null;
|
|
5583
5810
|
vat_code: string | null;
|
|
5811
|
+
vat_rate: number | null;
|
|
5584
5812
|
};
|
|
5585
5813
|
Insert: {
|
|
5586
5814
|
article_code?: string | null;
|
|
@@ -5590,9 +5818,11 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5590
5818
|
fetched_at?: string;
|
|
5591
5819
|
invoice_number: string;
|
|
5592
5820
|
line_number: number;
|
|
5821
|
+
line_total?: number | null;
|
|
5593
5822
|
quantity?: number | null;
|
|
5594
5823
|
unit_price?: number | null;
|
|
5595
5824
|
vat_code?: string | null;
|
|
5825
|
+
vat_rate?: number | null;
|
|
5596
5826
|
};
|
|
5597
5827
|
Update: {
|
|
5598
5828
|
article_code?: string | null;
|
|
@@ -5602,9 +5832,11 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5602
5832
|
fetched_at?: string;
|
|
5603
5833
|
invoice_number?: string;
|
|
5604
5834
|
line_number?: number;
|
|
5835
|
+
line_total?: number | null;
|
|
5605
5836
|
quantity?: number | null;
|
|
5606
5837
|
unit_price?: number | null;
|
|
5607
5838
|
vat_code?: string | null;
|
|
5839
|
+
vat_rate?: number | null;
|
|
5608
5840
|
};
|
|
5609
5841
|
Relationships: [{
|
|
5610
5842
|
foreignKeyName: "twinfield_invoice_lines_cache_v2_connection_id_fkey";
|
|
@@ -5781,9 +6013,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5781
6013
|
invoice_date: string | null;
|
|
5782
6014
|
invoice_number: string;
|
|
5783
6015
|
modified_at: string | null;
|
|
6016
|
+
outstanding_amount: number | null;
|
|
5784
6017
|
status: string | null;
|
|
6018
|
+
status_label: string | null;
|
|
5785
6019
|
total_excl: number | null;
|
|
5786
6020
|
total_incl: number | null;
|
|
6021
|
+
vat_amount: number | null;
|
|
5787
6022
|
};
|
|
5788
6023
|
Insert: {
|
|
5789
6024
|
connection_id: string;
|
|
@@ -5795,9 +6030,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5795
6030
|
invoice_date?: string | null;
|
|
5796
6031
|
invoice_number: string;
|
|
5797
6032
|
modified_at?: string | null;
|
|
6033
|
+
outstanding_amount?: number | null;
|
|
5798
6034
|
status?: string | null;
|
|
6035
|
+
status_label?: string | null;
|
|
5799
6036
|
total_excl?: number | null;
|
|
5800
6037
|
total_incl?: number | null;
|
|
6038
|
+
vat_amount?: number | null;
|
|
5801
6039
|
};
|
|
5802
6040
|
Update: {
|
|
5803
6041
|
connection_id?: string;
|
|
@@ -5809,9 +6047,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5809
6047
|
invoice_date?: string | null;
|
|
5810
6048
|
invoice_number?: string;
|
|
5811
6049
|
modified_at?: string | null;
|
|
6050
|
+
outstanding_amount?: number | null;
|
|
5812
6051
|
status?: string | null;
|
|
6052
|
+
status_label?: string | null;
|
|
5813
6053
|
total_excl?: number | null;
|
|
5814
6054
|
total_incl?: number | null;
|
|
6055
|
+
vat_amount?: number | null;
|
|
5815
6056
|
};
|
|
5816
6057
|
Relationships: [{
|
|
5817
6058
|
foreignKeyName: "twinfield_invoices_cache_v2_connection_id_fkey";
|
|
@@ -5845,6 +6086,57 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5845
6086
|
};
|
|
5846
6087
|
Relationships: [];
|
|
5847
6088
|
};
|
|
6089
|
+
twinfield_push_queue: {
|
|
6090
|
+
Row: {
|
|
6091
|
+
attempts: number;
|
|
6092
|
+
connection_id: string;
|
|
6093
|
+
created_at: string;
|
|
6094
|
+
external_id: string | null;
|
|
6095
|
+
id: string;
|
|
6096
|
+
idempotency_key: string;
|
|
6097
|
+
last_error: string | null;
|
|
6098
|
+
next_attempt_at: string;
|
|
6099
|
+
office_code: string;
|
|
6100
|
+
payload: import("../integrations/supabase/types").Json;
|
|
6101
|
+
status: string;
|
|
6102
|
+
updated_at: string;
|
|
6103
|
+
};
|
|
6104
|
+
Insert: {
|
|
6105
|
+
attempts?: number;
|
|
6106
|
+
connection_id: string;
|
|
6107
|
+
created_at?: string;
|
|
6108
|
+
external_id?: string | null;
|
|
6109
|
+
id?: string;
|
|
6110
|
+
idempotency_key: string;
|
|
6111
|
+
last_error?: string | null;
|
|
6112
|
+
next_attempt_at?: string;
|
|
6113
|
+
office_code: string;
|
|
6114
|
+
payload: import("../integrations/supabase/types").Json;
|
|
6115
|
+
status?: string;
|
|
6116
|
+
updated_at?: string;
|
|
6117
|
+
};
|
|
6118
|
+
Update: {
|
|
6119
|
+
attempts?: number;
|
|
6120
|
+
connection_id?: string;
|
|
6121
|
+
created_at?: string;
|
|
6122
|
+
external_id?: string | null;
|
|
6123
|
+
id?: string;
|
|
6124
|
+
idempotency_key?: string;
|
|
6125
|
+
last_error?: string | null;
|
|
6126
|
+
next_attempt_at?: string;
|
|
6127
|
+
office_code?: string;
|
|
6128
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
6129
|
+
status?: string;
|
|
6130
|
+
updated_at?: string;
|
|
6131
|
+
};
|
|
6132
|
+
Relationships: [{
|
|
6133
|
+
foreignKeyName: "twinfield_push_queue_connection_id_fkey";
|
|
6134
|
+
columns: ["connection_id"];
|
|
6135
|
+
isOneToOne: false;
|
|
6136
|
+
referencedRelation: "twinfield_connections";
|
|
6137
|
+
referencedColumns: ["id"];
|
|
6138
|
+
}];
|
|
6139
|
+
};
|
|
5848
6140
|
twinfield_settings: {
|
|
5849
6141
|
Row: {
|
|
5850
6142
|
active_environment: string;
|
|
@@ -6267,6 +6559,132 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6267
6559
|
};
|
|
6268
6560
|
Relationships: [];
|
|
6269
6561
|
};
|
|
6562
|
+
external_invoices_grouped: {
|
|
6563
|
+
Row: {
|
|
6564
|
+
currency: string | null;
|
|
6565
|
+
customer_external_id: string | null;
|
|
6566
|
+
customer_name: string | null;
|
|
6567
|
+
customer_vat: string | null;
|
|
6568
|
+
due_at: string | null;
|
|
6569
|
+
group_key: string | null;
|
|
6570
|
+
invoice_number: string | null;
|
|
6571
|
+
is_merged: boolean | null;
|
|
6572
|
+
issued_at: string | null;
|
|
6573
|
+
modified_at: string | null;
|
|
6574
|
+
open_amount: number | null;
|
|
6575
|
+
paid_at: string | null;
|
|
6576
|
+
providers: string[] | null;
|
|
6577
|
+
source_count: number | null;
|
|
6578
|
+
sources: import("../integrations/supabase/types").Json | null;
|
|
6579
|
+
status: string | null;
|
|
6580
|
+
total_excl: number | null;
|
|
6581
|
+
total_incl: number | null;
|
|
6582
|
+
total_vat: number | null;
|
|
6583
|
+
};
|
|
6584
|
+
Relationships: [];
|
|
6585
|
+
};
|
|
6586
|
+
external_invoices_unified: {
|
|
6587
|
+
Row: {
|
|
6588
|
+
connection_id: string | null;
|
|
6589
|
+
currency: string | null;
|
|
6590
|
+
customer_external_id: string | null;
|
|
6591
|
+
customer_name: string | null;
|
|
6592
|
+
customer_vat: string | null;
|
|
6593
|
+
due_at: string | null;
|
|
6594
|
+
external_id: string | null;
|
|
6595
|
+
invoice_number: string | null;
|
|
6596
|
+
issued_at: string | null;
|
|
6597
|
+
open_amount: number | null;
|
|
6598
|
+
owner_user_id: string | null;
|
|
6599
|
+
paid_at: string | null;
|
|
6600
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
6601
|
+
source: string | null;
|
|
6602
|
+
status: string | null;
|
|
6603
|
+
synced_at: string | null;
|
|
6604
|
+
total_excl: number | null;
|
|
6605
|
+
total_incl: number | null;
|
|
6606
|
+
total_vat: number | null;
|
|
6607
|
+
};
|
|
6608
|
+
Relationships: [];
|
|
6609
|
+
};
|
|
6610
|
+
v_external_customers_exact: {
|
|
6611
|
+
Row: {
|
|
6612
|
+
account_number: string | null;
|
|
6613
|
+
city: string | null;
|
|
6614
|
+
coc_number: string | null;
|
|
6615
|
+
company_name: string | null;
|
|
6616
|
+
connection_id: string | null;
|
|
6617
|
+
country: string | null;
|
|
6618
|
+
currency: string | null;
|
|
6619
|
+
email: string | null;
|
|
6620
|
+
external_id: string | null;
|
|
6621
|
+
is_sales: boolean | null;
|
|
6622
|
+
is_supplier: boolean | null;
|
|
6623
|
+
language: string | null;
|
|
6624
|
+
modified_at: string | null;
|
|
6625
|
+
phone: string | null;
|
|
6626
|
+
postal_code: string | null;
|
|
6627
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
6628
|
+
source: string | null;
|
|
6629
|
+
street: string | null;
|
|
6630
|
+
synced_at: string | null;
|
|
6631
|
+
vat_number: string | null;
|
|
6632
|
+
website: string | null;
|
|
6633
|
+
};
|
|
6634
|
+
Insert: {
|
|
6635
|
+
account_number?: string | null;
|
|
6636
|
+
city?: string | null;
|
|
6637
|
+
coc_number?: string | null;
|
|
6638
|
+
company_name?: string | null;
|
|
6639
|
+
connection_id?: string | null;
|
|
6640
|
+
country?: string | null;
|
|
6641
|
+
currency?: string | null;
|
|
6642
|
+
email?: string | null;
|
|
6643
|
+
external_id?: string | null;
|
|
6644
|
+
is_sales?: boolean | null;
|
|
6645
|
+
is_supplier?: boolean | null;
|
|
6646
|
+
language?: string | null;
|
|
6647
|
+
modified_at?: string | null;
|
|
6648
|
+
phone?: string | null;
|
|
6649
|
+
postal_code?: string | null;
|
|
6650
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
6651
|
+
source?: never;
|
|
6652
|
+
street?: string | null;
|
|
6653
|
+
synced_at?: string | null;
|
|
6654
|
+
vat_number?: string | null;
|
|
6655
|
+
website?: string | null;
|
|
6656
|
+
};
|
|
6657
|
+
Update: {
|
|
6658
|
+
account_number?: string | null;
|
|
6659
|
+
city?: string | null;
|
|
6660
|
+
coc_number?: string | null;
|
|
6661
|
+
company_name?: string | null;
|
|
6662
|
+
connection_id?: string | null;
|
|
6663
|
+
country?: string | null;
|
|
6664
|
+
currency?: string | null;
|
|
6665
|
+
email?: string | null;
|
|
6666
|
+
external_id?: string | null;
|
|
6667
|
+
is_sales?: boolean | null;
|
|
6668
|
+
is_supplier?: boolean | null;
|
|
6669
|
+
language?: string | null;
|
|
6670
|
+
modified_at?: string | null;
|
|
6671
|
+
phone?: string | null;
|
|
6672
|
+
postal_code?: string | null;
|
|
6673
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
6674
|
+
source?: never;
|
|
6675
|
+
street?: string | null;
|
|
6676
|
+
synced_at?: string | null;
|
|
6677
|
+
vat_number?: string | null;
|
|
6678
|
+
website?: string | null;
|
|
6679
|
+
};
|
|
6680
|
+
Relationships: [{
|
|
6681
|
+
foreignKeyName: "exact_customers_cache_connection_id_fkey";
|
|
6682
|
+
columns: ["connection_id"];
|
|
6683
|
+
isOneToOne: false;
|
|
6684
|
+
referencedRelation: "exact_connections";
|
|
6685
|
+
referencedColumns: ["id"];
|
|
6686
|
+
}];
|
|
6687
|
+
};
|
|
6270
6688
|
v_external_customers_floriday: {
|
|
6271
6689
|
Row: {
|
|
6272
6690
|
city: string | null;
|
|
@@ -6333,8 +6751,113 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6333
6751
|
referencedColumns: ["id"];
|
|
6334
6752
|
}];
|
|
6335
6753
|
};
|
|
6754
|
+
v_external_invoices_exact: {
|
|
6755
|
+
Row: {
|
|
6756
|
+
connection_id: string | null;
|
|
6757
|
+
currency: string | null;
|
|
6758
|
+
customer_external_id: string | null;
|
|
6759
|
+
customer_name: string | null;
|
|
6760
|
+
customer_vat: string | null;
|
|
6761
|
+
due_at: string | null;
|
|
6762
|
+
external_id: string | null;
|
|
6763
|
+
invoice_number: string | null;
|
|
6764
|
+
issued_at: string | null;
|
|
6765
|
+
open_amount: number | null;
|
|
6766
|
+
paid_at: string | null;
|
|
6767
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
6768
|
+
source: string | null;
|
|
6769
|
+
status: string | null;
|
|
6770
|
+
synced_at: string | null;
|
|
6771
|
+
total_excl: number | null;
|
|
6772
|
+
total_incl: number | null;
|
|
6773
|
+
total_vat: number | null;
|
|
6774
|
+
};
|
|
6775
|
+
Insert: {
|
|
6776
|
+
connection_id?: string | null;
|
|
6777
|
+
currency?: never;
|
|
6778
|
+
customer_external_id?: string | null;
|
|
6779
|
+
customer_name?: string | null;
|
|
6780
|
+
customer_vat?: never;
|
|
6781
|
+
due_at?: string | null;
|
|
6782
|
+
external_id?: string | null;
|
|
6783
|
+
invoice_number?: string | null;
|
|
6784
|
+
issued_at?: string | null;
|
|
6785
|
+
open_amount?: number | null;
|
|
6786
|
+
paid_at?: string | null;
|
|
6787
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
6788
|
+
source?: never;
|
|
6789
|
+
status?: string | null;
|
|
6790
|
+
synced_at?: string | null;
|
|
6791
|
+
total_excl?: number | null;
|
|
6792
|
+
total_incl?: number | null;
|
|
6793
|
+
total_vat?: number | null;
|
|
6794
|
+
};
|
|
6795
|
+
Update: {
|
|
6796
|
+
connection_id?: string | null;
|
|
6797
|
+
currency?: never;
|
|
6798
|
+
customer_external_id?: string | null;
|
|
6799
|
+
customer_name?: string | null;
|
|
6800
|
+
customer_vat?: never;
|
|
6801
|
+
due_at?: string | null;
|
|
6802
|
+
external_id?: string | null;
|
|
6803
|
+
invoice_number?: string | null;
|
|
6804
|
+
issued_at?: string | null;
|
|
6805
|
+
open_amount?: number | null;
|
|
6806
|
+
paid_at?: string | null;
|
|
6807
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
6808
|
+
source?: never;
|
|
6809
|
+
status?: string | null;
|
|
6810
|
+
synced_at?: string | null;
|
|
6811
|
+
total_excl?: number | null;
|
|
6812
|
+
total_incl?: number | null;
|
|
6813
|
+
total_vat?: number | null;
|
|
6814
|
+
};
|
|
6815
|
+
Relationships: [{
|
|
6816
|
+
foreignKeyName: "exact_invoices_cache_connection_id_fkey";
|
|
6817
|
+
columns: ["connection_id"];
|
|
6818
|
+
isOneToOne: false;
|
|
6819
|
+
referencedRelation: "exact_connections";
|
|
6820
|
+
referencedColumns: ["id"];
|
|
6821
|
+
}];
|
|
6822
|
+
};
|
|
6823
|
+
v_external_invoices_twinfield: {
|
|
6824
|
+
Row: {
|
|
6825
|
+
connection_id: string | null;
|
|
6826
|
+
currency: string | null;
|
|
6827
|
+
customer_external_id: string | null;
|
|
6828
|
+
customer_name: string | null;
|
|
6829
|
+
customer_vat: string | null;
|
|
6830
|
+
due_at: string | null;
|
|
6831
|
+
external_id: string | null;
|
|
6832
|
+
invoice_number: string | null;
|
|
6833
|
+
issued_at: string | null;
|
|
6834
|
+
open_amount: number | null;
|
|
6835
|
+
owner_user_id: string | null;
|
|
6836
|
+
paid_at: string | null;
|
|
6837
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
6838
|
+
source: string | null;
|
|
6839
|
+
status: string | null;
|
|
6840
|
+
synced_at: string | null;
|
|
6841
|
+
total_excl: number | null;
|
|
6842
|
+
total_incl: number | null;
|
|
6843
|
+
total_vat: number | null;
|
|
6844
|
+
};
|
|
6845
|
+
Relationships: [{
|
|
6846
|
+
foreignKeyName: "twinfield_invoices_cache_v2_connection_id_fkey";
|
|
6847
|
+
columns: ["connection_id"];
|
|
6848
|
+
isOneToOne: false;
|
|
6849
|
+
referencedRelation: "twinfield_connections";
|
|
6850
|
+
referencedColumns: ["id"];
|
|
6851
|
+
}];
|
|
6852
|
+
};
|
|
6336
6853
|
};
|
|
6337
6854
|
Functions: {
|
|
6855
|
+
call_exact_route: {
|
|
6856
|
+
Args: {
|
|
6857
|
+
path: string;
|
|
6858
|
+
};
|
|
6859
|
+
Returns: number;
|
|
6860
|
+
};
|
|
6338
6861
|
dashboard_list_public_schema: {
|
|
6339
6862
|
Args: never;
|
|
6340
6863
|
Returns: {
|
|
@@ -6590,6 +7113,14 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6590
7113
|
};
|
|
6591
7114
|
Returns: number;
|
|
6592
7115
|
};
|
|
7116
|
+
schedule_twinfield_push_queue_flush: {
|
|
7117
|
+
Args: {
|
|
7118
|
+
p_apikey: string;
|
|
7119
|
+
p_cron_secret?: string;
|
|
7120
|
+
p_url: string;
|
|
7121
|
+
};
|
|
7122
|
+
Returns: number;
|
|
7123
|
+
};
|
|
6593
7124
|
schedule_twinfield_token_refresh: {
|
|
6594
7125
|
Args: {
|
|
6595
7126
|
p_apikey: string;
|
|
@@ -6630,6 +7161,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6630
7161
|
Enums: {
|
|
6631
7162
|
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
6632
7163
|
exact_env: "staging" | "live";
|
|
7164
|
+
exact_push_status: "pending" | "sent" | "error";
|
|
6633
7165
|
quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
|
|
6634
7166
|
};
|
|
6635
7167
|
CompositeTypes: { [_ in never]: never; };
|