@flowselections/layout-maker 1.7.0 → 1.7.2
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/README.md +20 -4
- package/dist-lib/index.js +1 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +242 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +242 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +242 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/aiLayout.functions.d.ts +242 -0
- package/dist-lib/lib/aiLayout.functions.d.ts.map +1 -1
- package/dist-lib/lib/printApi.d.ts.map +1 -1
- package/dist-lib/lib/printApi.js +13 -0
- package/dist-lib/lib/printService.functions.d.ts +1210 -0
- package/dist-lib/lib/printService.functions.d.ts.map +1 -1
- package/dist-lib/lib/queueTick.d.ts +6 -0
- package/dist-lib/lib/queueTick.d.ts.map +1 -0
- package/dist-lib/lib/queueTick.js +44 -0
- package/package.json +15 -1
|
@@ -6479,6 +6479,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
|
|
|
6479
6479
|
Row: {
|
|
6480
6480
|
buyer_organization_id: string | null;
|
|
6481
6481
|
connection_id: string;
|
|
6482
|
+
controlled_at: string | null;
|
|
6482
6483
|
created_at: string;
|
|
6483
6484
|
data: import("../integrations/supabase/types").Json;
|
|
6484
6485
|
floriday_id: string;
|
|
@@ -6490,6 +6491,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
|
|
|
6490
6491
|
Insert: {
|
|
6491
6492
|
buyer_organization_id?: string | null;
|
|
6492
6493
|
connection_id: string;
|
|
6494
|
+
controlled_at?: string | null;
|
|
6493
6495
|
created_at?: string;
|
|
6494
6496
|
data: import("../integrations/supabase/types").Json;
|
|
6495
6497
|
floriday_id: string;
|
|
@@ -6501,6 +6503,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
|
|
|
6501
6503
|
Update: {
|
|
6502
6504
|
buyer_organization_id?: string | null;
|
|
6503
6505
|
connection_id?: string;
|
|
6506
|
+
controlled_at?: string | null;
|
|
6504
6507
|
created_at?: string;
|
|
6505
6508
|
data?: import("../integrations/supabase/types").Json;
|
|
6506
6509
|
floriday_id?: string;
|
|
@@ -7402,6 +7405,54 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
|
|
|
7402
7405
|
};
|
|
7403
7406
|
Relationships: [];
|
|
7404
7407
|
};
|
|
7408
|
+
invoice_timing_settings: {
|
|
7409
|
+
Row: {
|
|
7410
|
+
anchor: string;
|
|
7411
|
+
business_days_only: boolean;
|
|
7412
|
+
created_at: string;
|
|
7413
|
+
enabled: boolean;
|
|
7414
|
+
id: string;
|
|
7415
|
+
offset_days: number;
|
|
7416
|
+
pickup_anchor: string;
|
|
7417
|
+
pickup_business_days_only: boolean;
|
|
7418
|
+
pickup_offset_days: number;
|
|
7419
|
+
pickup_time_of_day: string;
|
|
7420
|
+
singleton: boolean;
|
|
7421
|
+
time_of_day: string;
|
|
7422
|
+
updated_at: string;
|
|
7423
|
+
};
|
|
7424
|
+
Insert: {
|
|
7425
|
+
anchor?: string;
|
|
7426
|
+
business_days_only?: boolean;
|
|
7427
|
+
created_at?: string;
|
|
7428
|
+
enabled?: boolean;
|
|
7429
|
+
id?: string;
|
|
7430
|
+
offset_days?: number;
|
|
7431
|
+
pickup_anchor?: string;
|
|
7432
|
+
pickup_business_days_only?: boolean;
|
|
7433
|
+
pickup_offset_days?: number;
|
|
7434
|
+
pickup_time_of_day?: string;
|
|
7435
|
+
singleton?: boolean;
|
|
7436
|
+
time_of_day?: string;
|
|
7437
|
+
updated_at?: string;
|
|
7438
|
+
};
|
|
7439
|
+
Update: {
|
|
7440
|
+
anchor?: string;
|
|
7441
|
+
business_days_only?: boolean;
|
|
7442
|
+
created_at?: string;
|
|
7443
|
+
enabled?: boolean;
|
|
7444
|
+
id?: string;
|
|
7445
|
+
offset_days?: number;
|
|
7446
|
+
pickup_anchor?: string;
|
|
7447
|
+
pickup_business_days_only?: boolean;
|
|
7448
|
+
pickup_offset_days?: number;
|
|
7449
|
+
pickup_time_of_day?: string;
|
|
7450
|
+
singleton?: boolean;
|
|
7451
|
+
time_of_day?: string;
|
|
7452
|
+
updated_at?: string;
|
|
7453
|
+
};
|
|
7454
|
+
Relationships: [];
|
|
7455
|
+
};
|
|
7405
7456
|
itk_contact_persons: {
|
|
7406
7457
|
Row: {
|
|
7407
7458
|
created_at: string;
|
|
@@ -8632,6 +8683,45 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
|
|
|
8632
8683
|
};
|
|
8633
8684
|
Relationships: [];
|
|
8634
8685
|
};
|
|
8686
|
+
logistics_plan_queue: {
|
|
8687
|
+
Row: {
|
|
8688
|
+
attempts: number;
|
|
8689
|
+
claimed_at: string | null;
|
|
8690
|
+
enqueued_at: string;
|
|
8691
|
+
error: string | null;
|
|
8692
|
+
id: string;
|
|
8693
|
+
next_attempt_at: string;
|
|
8694
|
+
order_id: string;
|
|
8695
|
+
reason: string;
|
|
8696
|
+
status: string;
|
|
8697
|
+
updated_at: string;
|
|
8698
|
+
};
|
|
8699
|
+
Insert: {
|
|
8700
|
+
attempts?: number;
|
|
8701
|
+
claimed_at?: string | null;
|
|
8702
|
+
enqueued_at?: string;
|
|
8703
|
+
error?: string | null;
|
|
8704
|
+
id?: string;
|
|
8705
|
+
next_attempt_at?: string;
|
|
8706
|
+
order_id: string;
|
|
8707
|
+
reason?: string;
|
|
8708
|
+
status?: string;
|
|
8709
|
+
updated_at?: string;
|
|
8710
|
+
};
|
|
8711
|
+
Update: {
|
|
8712
|
+
attempts?: number;
|
|
8713
|
+
claimed_at?: string | null;
|
|
8714
|
+
enqueued_at?: string;
|
|
8715
|
+
error?: string | null;
|
|
8716
|
+
id?: string;
|
|
8717
|
+
next_attempt_at?: string;
|
|
8718
|
+
order_id?: string;
|
|
8719
|
+
reason?: string;
|
|
8720
|
+
status?: string;
|
|
8721
|
+
updated_at?: string;
|
|
8722
|
+
};
|
|
8723
|
+
Relationships: [];
|
|
8724
|
+
};
|
|
8635
8725
|
logistics_plan_runs: {
|
|
8636
8726
|
Row: {
|
|
8637
8727
|
created_at: string;
|
|
@@ -8707,6 +8797,24 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
|
|
|
8707
8797
|
referencedColumns: ["id"];
|
|
8708
8798
|
}];
|
|
8709
8799
|
};
|
|
8800
|
+
logistics_plan_settings: {
|
|
8801
|
+
Row: {
|
|
8802
|
+
key: string;
|
|
8803
|
+
updated_at: string;
|
|
8804
|
+
value: string;
|
|
8805
|
+
};
|
|
8806
|
+
Insert: {
|
|
8807
|
+
key: string;
|
|
8808
|
+
updated_at?: string;
|
|
8809
|
+
value: string;
|
|
8810
|
+
};
|
|
8811
|
+
Update: {
|
|
8812
|
+
key?: string;
|
|
8813
|
+
updated_at?: string;
|
|
8814
|
+
value?: string;
|
|
8815
|
+
};
|
|
8816
|
+
Relationships: [];
|
|
8817
|
+
};
|
|
8710
8818
|
logistics_rebuffer_state: {
|
|
8711
8819
|
Row: {
|
|
8712
8820
|
created_at: string;
|
|
@@ -10978,6 +11086,45 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
|
|
|
10978
11086
|
};
|
|
10979
11087
|
Relationships: [];
|
|
10980
11088
|
};
|
|
11089
|
+
order_invoice_links: {
|
|
11090
|
+
Row: {
|
|
11091
|
+
attempts: number;
|
|
11092
|
+
created_at: string;
|
|
11093
|
+
error_message: string | null;
|
|
11094
|
+
id: string;
|
|
11095
|
+
invoice_number: string | null;
|
|
11096
|
+
next_attempt_at: string;
|
|
11097
|
+
order_id: string;
|
|
11098
|
+
processed_at: string | null;
|
|
11099
|
+
status: string;
|
|
11100
|
+
updated_at: string;
|
|
11101
|
+
};
|
|
11102
|
+
Insert: {
|
|
11103
|
+
attempts?: number;
|
|
11104
|
+
created_at?: string;
|
|
11105
|
+
error_message?: string | null;
|
|
11106
|
+
id?: string;
|
|
11107
|
+
invoice_number?: string | null;
|
|
11108
|
+
next_attempt_at?: string;
|
|
11109
|
+
order_id: string;
|
|
11110
|
+
processed_at?: string | null;
|
|
11111
|
+
status?: string;
|
|
11112
|
+
updated_at?: string;
|
|
11113
|
+
};
|
|
11114
|
+
Update: {
|
|
11115
|
+
attempts?: number;
|
|
11116
|
+
created_at?: string;
|
|
11117
|
+
error_message?: string | null;
|
|
11118
|
+
id?: string;
|
|
11119
|
+
invoice_number?: string | null;
|
|
11120
|
+
next_attempt_at?: string;
|
|
11121
|
+
order_id?: string;
|
|
11122
|
+
processed_at?: string | null;
|
|
11123
|
+
status?: string;
|
|
11124
|
+
updated_at?: string;
|
|
11125
|
+
};
|
|
11126
|
+
Relationships: [];
|
|
11127
|
+
};
|
|
10981
11128
|
order_items: {
|
|
10982
11129
|
Row: {
|
|
10983
11130
|
crates_per_layer: number | null;
|
|
@@ -11160,6 +11307,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
|
|
|
11160
11307
|
delivery_date: string | null;
|
|
11161
11308
|
floriday_sales_order_id: string | null;
|
|
11162
11309
|
id: string;
|
|
11310
|
+
invoice_due_at: string | null;
|
|
11163
11311
|
is_reservation: boolean;
|
|
11164
11312
|
notes: string | null;
|
|
11165
11313
|
order_date: string;
|
|
@@ -11181,6 +11329,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
|
|
|
11181
11329
|
delivery_date?: string | null;
|
|
11182
11330
|
floriday_sales_order_id?: string | null;
|
|
11183
11331
|
id?: string;
|
|
11332
|
+
invoice_due_at?: string | null;
|
|
11184
11333
|
is_reservation?: boolean;
|
|
11185
11334
|
notes?: string | null;
|
|
11186
11335
|
order_date?: string;
|
|
@@ -11202,6 +11351,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
|
|
|
11202
11351
|
delivery_date?: string | null;
|
|
11203
11352
|
floriday_sales_order_id?: string | null;
|
|
11204
11353
|
id?: string;
|
|
11354
|
+
invoice_due_at?: string | null;
|
|
11205
11355
|
is_reservation?: boolean;
|
|
11206
11356
|
notes?: string | null;
|
|
11207
11357
|
order_date?: string;
|
|
@@ -12506,6 +12656,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
|
|
|
12506
12656
|
created_at: string;
|
|
12507
12657
|
id: string;
|
|
12508
12658
|
laatst_gezien: string;
|
|
12659
|
+
laatste_fout: string | null;
|
|
12660
|
+
laatste_request_id: number | null;
|
|
12661
|
+
mislukte_posts: number;
|
|
12509
12662
|
tick_sleutel: string;
|
|
12510
12663
|
updated_at: string;
|
|
12511
12664
|
};
|
|
@@ -12515,6 +12668,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
|
|
|
12515
12668
|
created_at?: string;
|
|
12516
12669
|
id?: string;
|
|
12517
12670
|
laatst_gezien?: string;
|
|
12671
|
+
laatste_fout?: string | null;
|
|
12672
|
+
laatste_request_id?: number | null;
|
|
12673
|
+
mislukte_posts?: number;
|
|
12518
12674
|
tick_sleutel?: string;
|
|
12519
12675
|
updated_at?: string;
|
|
12520
12676
|
};
|
|
@@ -12524,6 +12680,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
|
|
|
12524
12680
|
created_at?: string;
|
|
12525
12681
|
id?: string;
|
|
12526
12682
|
laatst_gezien?: string;
|
|
12683
|
+
laatste_fout?: string | null;
|
|
12684
|
+
laatste_request_id?: number | null;
|
|
12685
|
+
mislukte_posts?: number;
|
|
12527
12686
|
tick_sleutel?: string;
|
|
12528
12687
|
updated_at?: string;
|
|
12529
12688
|
};
|
|
@@ -15396,6 +15555,8 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
|
|
|
15396
15555
|
};
|
|
15397
15556
|
twinfield_invoice_settings: {
|
|
15398
15557
|
Row: {
|
|
15558
|
+
auto_invoice_enabled: boolean;
|
|
15559
|
+
auto_invoice_trigger_statuses: string[];
|
|
15399
15560
|
created_at: string;
|
|
15400
15561
|
debtor_gl_account: string;
|
|
15401
15562
|
default_credit_invoice_type: string | null;
|
|
@@ -15416,6 +15577,8 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
|
|
|
15416
15577
|
vat_code_export: string | null;
|
|
15417
15578
|
};
|
|
15418
15579
|
Insert: {
|
|
15580
|
+
auto_invoice_enabled?: boolean;
|
|
15581
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15419
15582
|
created_at?: string;
|
|
15420
15583
|
debtor_gl_account?: string;
|
|
15421
15584
|
default_credit_invoice_type?: string | null;
|
|
@@ -15436,6 +15599,8 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
|
|
|
15436
15599
|
vat_code_export?: string | null;
|
|
15437
15600
|
};
|
|
15438
15601
|
Update: {
|
|
15602
|
+
auto_invoice_enabled?: boolean;
|
|
15603
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15439
15604
|
created_at?: string;
|
|
15440
15605
|
debtor_gl_account?: string;
|
|
15441
15606
|
default_credit_invoice_type?: string | null;
|
|
@@ -18358,6 +18523,10 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
|
|
|
18358
18523
|
processed_items: number;
|
|
18359
18524
|
}[];
|
|
18360
18525
|
};
|
|
18526
|
+
backfill_order_auto_invoice_queue: {
|
|
18527
|
+
Args: never;
|
|
18528
|
+
Returns: number;
|
|
18529
|
+
};
|
|
18361
18530
|
calculate_layer_stock: {
|
|
18362
18531
|
Args: {
|
|
18363
18532
|
p_product_id: string;
|
|
@@ -18588,6 +18757,10 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
|
|
|
18588
18757
|
Args: never;
|
|
18589
18758
|
Returns: undefined;
|
|
18590
18759
|
};
|
|
18760
|
+
cleanup_voorraad_module_history: {
|
|
18761
|
+
Args: never;
|
|
18762
|
+
Returns: undefined;
|
|
18763
|
+
};
|
|
18591
18764
|
complete_floriday_stock_queue: {
|
|
18592
18765
|
Args: {
|
|
18593
18766
|
p_attempt_id?: string;
|
|
@@ -19616,6 +19789,65 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
|
|
|
19616
19789
|
};
|
|
19617
19790
|
Returns: number;
|
|
19618
19791
|
};
|
|
19792
|
+
logistics_plan_claim: {
|
|
19793
|
+
Args: {
|
|
19794
|
+
p_limit?: number;
|
|
19795
|
+
};
|
|
19796
|
+
Returns: {
|
|
19797
|
+
attempts: number;
|
|
19798
|
+
id: string;
|
|
19799
|
+
order_id: string;
|
|
19800
|
+
}[];
|
|
19801
|
+
};
|
|
19802
|
+
logistics_plan_enqueue: {
|
|
19803
|
+
Args: {
|
|
19804
|
+
p_order_id: string;
|
|
19805
|
+
p_reason?: string;
|
|
19806
|
+
};
|
|
19807
|
+
Returns: undefined;
|
|
19808
|
+
};
|
|
19809
|
+
logistics_plan_ensure_event: {
|
|
19810
|
+
Args: {
|
|
19811
|
+
p_order_id: string;
|
|
19812
|
+
};
|
|
19813
|
+
Returns: boolean;
|
|
19814
|
+
};
|
|
19815
|
+
logistics_plan_finish: {
|
|
19816
|
+
Args: {
|
|
19817
|
+
p_error?: string;
|
|
19818
|
+
p_id: string;
|
|
19819
|
+
};
|
|
19820
|
+
Returns: undefined;
|
|
19821
|
+
};
|
|
19822
|
+
logistics_plan_impact_orders: {
|
|
19823
|
+
Args: {
|
|
19824
|
+
p_order_id: string;
|
|
19825
|
+
};
|
|
19826
|
+
Returns: {
|
|
19827
|
+
buffer_id: string;
|
|
19828
|
+
order_id: string;
|
|
19829
|
+
plan_date: string;
|
|
19830
|
+
}[];
|
|
19831
|
+
};
|
|
19832
|
+
logistics_plan_kick: {
|
|
19833
|
+
Args: never;
|
|
19834
|
+
Returns: undefined;
|
|
19835
|
+
};
|
|
19836
|
+
logistics_plan_prune: {
|
|
19837
|
+
Args: never;
|
|
19838
|
+
Returns: number;
|
|
19839
|
+
};
|
|
19840
|
+
logistics_plan_release_stale: {
|
|
19841
|
+
Args: never;
|
|
19842
|
+
Returns: number;
|
|
19843
|
+
};
|
|
19844
|
+
logistics_plan_setting: {
|
|
19845
|
+
Args: {
|
|
19846
|
+
p_default: number;
|
|
19847
|
+
p_key: string;
|
|
19848
|
+
};
|
|
19849
|
+
Returns: number;
|
|
19850
|
+
};
|
|
19619
19851
|
logistics_queue_capacity_email: {
|
|
19620
19852
|
Args: {
|
|
19621
19853
|
p_alert_id: string;
|
|
@@ -20312,6 +20544,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
|
|
|
20312
20544
|
};
|
|
20313
20545
|
Returns: undefined;
|
|
20314
20546
|
};
|
|
20547
|
+
reset_stalled_floriday_stock_queue: {
|
|
20548
|
+
Args: {
|
|
20549
|
+
p_include_failed?: boolean;
|
|
20550
|
+
};
|
|
20551
|
+
Returns: number;
|
|
20552
|
+
};
|
|
20315
20553
|
resolve_group_allocation: {
|
|
20316
20554
|
Args: {
|
|
20317
20555
|
_needed: number;
|
|
@@ -20366,6 +20604,10 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
|
|
|
20366
20604
|
Args: never;
|
|
20367
20605
|
Returns: undefined;
|
|
20368
20606
|
};
|
|
20607
|
+
run_floriday_stock_queue_process: {
|
|
20608
|
+
Args: never;
|
|
20609
|
+
Returns: undefined;
|
|
20610
|
+
};
|
|
20369
20611
|
run_logistics_tasks_dispatch: {
|
|
20370
20612
|
Args: never;
|
|
20371
20613
|
Returns: undefined;
|