@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
|
@@ -6646,6 +6646,7 @@ export type Database = {
|
|
|
6646
6646
|
Row: {
|
|
6647
6647
|
buyer_organization_id: string | null;
|
|
6648
6648
|
connection_id: string;
|
|
6649
|
+
controlled_at: string | null;
|
|
6649
6650
|
created_at: string;
|
|
6650
6651
|
data: Json;
|
|
6651
6652
|
floriday_id: string;
|
|
@@ -6657,6 +6658,7 @@ export type Database = {
|
|
|
6657
6658
|
Insert: {
|
|
6658
6659
|
buyer_organization_id?: string | null;
|
|
6659
6660
|
connection_id: string;
|
|
6661
|
+
controlled_at?: string | null;
|
|
6660
6662
|
created_at?: string;
|
|
6661
6663
|
data: Json;
|
|
6662
6664
|
floriday_id: string;
|
|
@@ -6668,6 +6670,7 @@ export type Database = {
|
|
|
6668
6670
|
Update: {
|
|
6669
6671
|
buyer_organization_id?: string | null;
|
|
6670
6672
|
connection_id?: string;
|
|
6673
|
+
controlled_at?: string | null;
|
|
6671
6674
|
created_at?: string;
|
|
6672
6675
|
data?: Json;
|
|
6673
6676
|
floriday_id?: string;
|
|
@@ -7601,6 +7604,54 @@ export type Database = {
|
|
|
7601
7604
|
};
|
|
7602
7605
|
Relationships: [];
|
|
7603
7606
|
};
|
|
7607
|
+
invoice_timing_settings: {
|
|
7608
|
+
Row: {
|
|
7609
|
+
anchor: string;
|
|
7610
|
+
business_days_only: boolean;
|
|
7611
|
+
created_at: string;
|
|
7612
|
+
enabled: boolean;
|
|
7613
|
+
id: string;
|
|
7614
|
+
offset_days: number;
|
|
7615
|
+
pickup_anchor: string;
|
|
7616
|
+
pickup_business_days_only: boolean;
|
|
7617
|
+
pickup_offset_days: number;
|
|
7618
|
+
pickup_time_of_day: string;
|
|
7619
|
+
singleton: boolean;
|
|
7620
|
+
time_of_day: string;
|
|
7621
|
+
updated_at: string;
|
|
7622
|
+
};
|
|
7623
|
+
Insert: {
|
|
7624
|
+
anchor?: string;
|
|
7625
|
+
business_days_only?: boolean;
|
|
7626
|
+
created_at?: string;
|
|
7627
|
+
enabled?: boolean;
|
|
7628
|
+
id?: string;
|
|
7629
|
+
offset_days?: number;
|
|
7630
|
+
pickup_anchor?: string;
|
|
7631
|
+
pickup_business_days_only?: boolean;
|
|
7632
|
+
pickup_offset_days?: number;
|
|
7633
|
+
pickup_time_of_day?: string;
|
|
7634
|
+
singleton?: boolean;
|
|
7635
|
+
time_of_day?: string;
|
|
7636
|
+
updated_at?: string;
|
|
7637
|
+
};
|
|
7638
|
+
Update: {
|
|
7639
|
+
anchor?: string;
|
|
7640
|
+
business_days_only?: boolean;
|
|
7641
|
+
created_at?: string;
|
|
7642
|
+
enabled?: boolean;
|
|
7643
|
+
id?: string;
|
|
7644
|
+
offset_days?: number;
|
|
7645
|
+
pickup_anchor?: string;
|
|
7646
|
+
pickup_business_days_only?: boolean;
|
|
7647
|
+
pickup_offset_days?: number;
|
|
7648
|
+
pickup_time_of_day?: string;
|
|
7649
|
+
singleton?: boolean;
|
|
7650
|
+
time_of_day?: string;
|
|
7651
|
+
updated_at?: string;
|
|
7652
|
+
};
|
|
7653
|
+
Relationships: [];
|
|
7654
|
+
};
|
|
7604
7655
|
itk_contact_persons: {
|
|
7605
7656
|
Row: {
|
|
7606
7657
|
created_at: string;
|
|
@@ -8867,6 +8918,45 @@ export type Database = {
|
|
|
8867
8918
|
};
|
|
8868
8919
|
Relationships: [];
|
|
8869
8920
|
};
|
|
8921
|
+
logistics_plan_queue: {
|
|
8922
|
+
Row: {
|
|
8923
|
+
attempts: number;
|
|
8924
|
+
claimed_at: string | null;
|
|
8925
|
+
enqueued_at: string;
|
|
8926
|
+
error: string | null;
|
|
8927
|
+
id: string;
|
|
8928
|
+
next_attempt_at: string;
|
|
8929
|
+
order_id: string;
|
|
8930
|
+
reason: string;
|
|
8931
|
+
status: string;
|
|
8932
|
+
updated_at: string;
|
|
8933
|
+
};
|
|
8934
|
+
Insert: {
|
|
8935
|
+
attempts?: number;
|
|
8936
|
+
claimed_at?: string | null;
|
|
8937
|
+
enqueued_at?: string;
|
|
8938
|
+
error?: string | null;
|
|
8939
|
+
id?: string;
|
|
8940
|
+
next_attempt_at?: string;
|
|
8941
|
+
order_id: string;
|
|
8942
|
+
reason?: string;
|
|
8943
|
+
status?: string;
|
|
8944
|
+
updated_at?: string;
|
|
8945
|
+
};
|
|
8946
|
+
Update: {
|
|
8947
|
+
attempts?: number;
|
|
8948
|
+
claimed_at?: string | null;
|
|
8949
|
+
enqueued_at?: string;
|
|
8950
|
+
error?: string | null;
|
|
8951
|
+
id?: string;
|
|
8952
|
+
next_attempt_at?: string;
|
|
8953
|
+
order_id?: string;
|
|
8954
|
+
reason?: string;
|
|
8955
|
+
status?: string;
|
|
8956
|
+
updated_at?: string;
|
|
8957
|
+
};
|
|
8958
|
+
Relationships: [];
|
|
8959
|
+
};
|
|
8870
8960
|
logistics_plan_runs: {
|
|
8871
8961
|
Row: {
|
|
8872
8962
|
created_at: string;
|
|
@@ -8945,6 +9035,24 @@ export type Database = {
|
|
|
8945
9035
|
}
|
|
8946
9036
|
];
|
|
8947
9037
|
};
|
|
9038
|
+
logistics_plan_settings: {
|
|
9039
|
+
Row: {
|
|
9040
|
+
key: string;
|
|
9041
|
+
updated_at: string;
|
|
9042
|
+
value: string;
|
|
9043
|
+
};
|
|
9044
|
+
Insert: {
|
|
9045
|
+
key: string;
|
|
9046
|
+
updated_at?: string;
|
|
9047
|
+
value: string;
|
|
9048
|
+
};
|
|
9049
|
+
Update: {
|
|
9050
|
+
key?: string;
|
|
9051
|
+
updated_at?: string;
|
|
9052
|
+
value?: string;
|
|
9053
|
+
};
|
|
9054
|
+
Relationships: [];
|
|
9055
|
+
};
|
|
8948
9056
|
logistics_rebuffer_state: {
|
|
8949
9057
|
Row: {
|
|
8950
9058
|
created_at: string;
|
|
@@ -11280,6 +11388,45 @@ export type Database = {
|
|
|
11280
11388
|
};
|
|
11281
11389
|
Relationships: [];
|
|
11282
11390
|
};
|
|
11391
|
+
order_invoice_links: {
|
|
11392
|
+
Row: {
|
|
11393
|
+
attempts: number;
|
|
11394
|
+
created_at: string;
|
|
11395
|
+
error_message: string | null;
|
|
11396
|
+
id: string;
|
|
11397
|
+
invoice_number: string | null;
|
|
11398
|
+
next_attempt_at: string;
|
|
11399
|
+
order_id: string;
|
|
11400
|
+
processed_at: string | null;
|
|
11401
|
+
status: string;
|
|
11402
|
+
updated_at: string;
|
|
11403
|
+
};
|
|
11404
|
+
Insert: {
|
|
11405
|
+
attempts?: number;
|
|
11406
|
+
created_at?: string;
|
|
11407
|
+
error_message?: string | null;
|
|
11408
|
+
id?: string;
|
|
11409
|
+
invoice_number?: string | null;
|
|
11410
|
+
next_attempt_at?: string;
|
|
11411
|
+
order_id: string;
|
|
11412
|
+
processed_at?: string | null;
|
|
11413
|
+
status?: string;
|
|
11414
|
+
updated_at?: string;
|
|
11415
|
+
};
|
|
11416
|
+
Update: {
|
|
11417
|
+
attempts?: number;
|
|
11418
|
+
created_at?: string;
|
|
11419
|
+
error_message?: string | null;
|
|
11420
|
+
id?: string;
|
|
11421
|
+
invoice_number?: string | null;
|
|
11422
|
+
next_attempt_at?: string;
|
|
11423
|
+
order_id?: string;
|
|
11424
|
+
processed_at?: string | null;
|
|
11425
|
+
status?: string;
|
|
11426
|
+
updated_at?: string;
|
|
11427
|
+
};
|
|
11428
|
+
Relationships: [];
|
|
11429
|
+
};
|
|
11283
11430
|
order_items: {
|
|
11284
11431
|
Row: {
|
|
11285
11432
|
crates_per_layer: number | null;
|
|
@@ -11471,6 +11618,7 @@ export type Database = {
|
|
|
11471
11618
|
delivery_date: string | null;
|
|
11472
11619
|
floriday_sales_order_id: string | null;
|
|
11473
11620
|
id: string;
|
|
11621
|
+
invoice_due_at: string | null;
|
|
11474
11622
|
is_reservation: boolean;
|
|
11475
11623
|
notes: string | null;
|
|
11476
11624
|
order_date: string;
|
|
@@ -11492,6 +11640,7 @@ export type Database = {
|
|
|
11492
11640
|
delivery_date?: string | null;
|
|
11493
11641
|
floriday_sales_order_id?: string | null;
|
|
11494
11642
|
id?: string;
|
|
11643
|
+
invoice_due_at?: string | null;
|
|
11495
11644
|
is_reservation?: boolean;
|
|
11496
11645
|
notes?: string | null;
|
|
11497
11646
|
order_date?: string;
|
|
@@ -11513,6 +11662,7 @@ export type Database = {
|
|
|
11513
11662
|
delivery_date?: string | null;
|
|
11514
11663
|
floriday_sales_order_id?: string | null;
|
|
11515
11664
|
id?: string;
|
|
11665
|
+
invoice_due_at?: string | null;
|
|
11516
11666
|
is_reservation?: boolean;
|
|
11517
11667
|
notes?: string | null;
|
|
11518
11668
|
order_date?: string;
|
|
@@ -12865,6 +13015,9 @@ export type Database = {
|
|
|
12865
13015
|
created_at: string;
|
|
12866
13016
|
id: string;
|
|
12867
13017
|
laatst_gezien: string;
|
|
13018
|
+
laatste_fout: string | null;
|
|
13019
|
+
laatste_request_id: number | null;
|
|
13020
|
+
mislukte_posts: number;
|
|
12868
13021
|
tick_sleutel: string;
|
|
12869
13022
|
updated_at: string;
|
|
12870
13023
|
};
|
|
@@ -12874,6 +13027,9 @@ export type Database = {
|
|
|
12874
13027
|
created_at?: string;
|
|
12875
13028
|
id?: string;
|
|
12876
13029
|
laatst_gezien?: string;
|
|
13030
|
+
laatste_fout?: string | null;
|
|
13031
|
+
laatste_request_id?: number | null;
|
|
13032
|
+
mislukte_posts?: number;
|
|
12877
13033
|
tick_sleutel?: string;
|
|
12878
13034
|
updated_at?: string;
|
|
12879
13035
|
};
|
|
@@ -12883,6 +13039,9 @@ export type Database = {
|
|
|
12883
13039
|
created_at?: string;
|
|
12884
13040
|
id?: string;
|
|
12885
13041
|
laatst_gezien?: string;
|
|
13042
|
+
laatste_fout?: string | null;
|
|
13043
|
+
laatste_request_id?: number | null;
|
|
13044
|
+
mislukte_posts?: number;
|
|
12886
13045
|
tick_sleutel?: string;
|
|
12887
13046
|
updated_at?: string;
|
|
12888
13047
|
};
|
|
@@ -15838,6 +15997,8 @@ export type Database = {
|
|
|
15838
15997
|
};
|
|
15839
15998
|
twinfield_invoice_settings: {
|
|
15840
15999
|
Row: {
|
|
16000
|
+
auto_invoice_enabled: boolean;
|
|
16001
|
+
auto_invoice_trigger_statuses: string[];
|
|
15841
16002
|
created_at: string;
|
|
15842
16003
|
debtor_gl_account: string;
|
|
15843
16004
|
default_credit_invoice_type: string | null;
|
|
@@ -15858,6 +16019,8 @@ export type Database = {
|
|
|
15858
16019
|
vat_code_export: string | null;
|
|
15859
16020
|
};
|
|
15860
16021
|
Insert: {
|
|
16022
|
+
auto_invoice_enabled?: boolean;
|
|
16023
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15861
16024
|
created_at?: string;
|
|
15862
16025
|
debtor_gl_account?: string;
|
|
15863
16026
|
default_credit_invoice_type?: string | null;
|
|
@@ -15878,6 +16041,8 @@ export type Database = {
|
|
|
15878
16041
|
vat_code_export?: string | null;
|
|
15879
16042
|
};
|
|
15880
16043
|
Update: {
|
|
16044
|
+
auto_invoice_enabled?: boolean;
|
|
16045
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15881
16046
|
created_at?: string;
|
|
15882
16047
|
debtor_gl_account?: string;
|
|
15883
16048
|
default_credit_invoice_type?: string | null;
|
|
@@ -18868,6 +19033,10 @@ export type Database = {
|
|
|
18868
19033
|
processed_items: number;
|
|
18869
19034
|
}[];
|
|
18870
19035
|
};
|
|
19036
|
+
backfill_order_auto_invoice_queue: {
|
|
19037
|
+
Args: never;
|
|
19038
|
+
Returns: number;
|
|
19039
|
+
};
|
|
18871
19040
|
calculate_layer_stock: {
|
|
18872
19041
|
Args: {
|
|
18873
19042
|
p_product_id: string;
|
|
@@ -19098,6 +19267,10 @@ export type Database = {
|
|
|
19098
19267
|
Args: never;
|
|
19099
19268
|
Returns: undefined;
|
|
19100
19269
|
};
|
|
19270
|
+
cleanup_voorraad_module_history: {
|
|
19271
|
+
Args: never;
|
|
19272
|
+
Returns: undefined;
|
|
19273
|
+
};
|
|
19101
19274
|
complete_floriday_stock_queue: {
|
|
19102
19275
|
Args: {
|
|
19103
19276
|
p_attempt_id?: string;
|
|
@@ -20126,6 +20299,65 @@ export type Database = {
|
|
|
20126
20299
|
};
|
|
20127
20300
|
Returns: number;
|
|
20128
20301
|
};
|
|
20302
|
+
logistics_plan_claim: {
|
|
20303
|
+
Args: {
|
|
20304
|
+
p_limit?: number;
|
|
20305
|
+
};
|
|
20306
|
+
Returns: {
|
|
20307
|
+
attempts: number;
|
|
20308
|
+
id: string;
|
|
20309
|
+
order_id: string;
|
|
20310
|
+
}[];
|
|
20311
|
+
};
|
|
20312
|
+
logistics_plan_enqueue: {
|
|
20313
|
+
Args: {
|
|
20314
|
+
p_order_id: string;
|
|
20315
|
+
p_reason?: string;
|
|
20316
|
+
};
|
|
20317
|
+
Returns: undefined;
|
|
20318
|
+
};
|
|
20319
|
+
logistics_plan_ensure_event: {
|
|
20320
|
+
Args: {
|
|
20321
|
+
p_order_id: string;
|
|
20322
|
+
};
|
|
20323
|
+
Returns: boolean;
|
|
20324
|
+
};
|
|
20325
|
+
logistics_plan_finish: {
|
|
20326
|
+
Args: {
|
|
20327
|
+
p_error?: string;
|
|
20328
|
+
p_id: string;
|
|
20329
|
+
};
|
|
20330
|
+
Returns: undefined;
|
|
20331
|
+
};
|
|
20332
|
+
logistics_plan_impact_orders: {
|
|
20333
|
+
Args: {
|
|
20334
|
+
p_order_id: string;
|
|
20335
|
+
};
|
|
20336
|
+
Returns: {
|
|
20337
|
+
buffer_id: string;
|
|
20338
|
+
order_id: string;
|
|
20339
|
+
plan_date: string;
|
|
20340
|
+
}[];
|
|
20341
|
+
};
|
|
20342
|
+
logistics_plan_kick: {
|
|
20343
|
+
Args: never;
|
|
20344
|
+
Returns: undefined;
|
|
20345
|
+
};
|
|
20346
|
+
logistics_plan_prune: {
|
|
20347
|
+
Args: never;
|
|
20348
|
+
Returns: number;
|
|
20349
|
+
};
|
|
20350
|
+
logistics_plan_release_stale: {
|
|
20351
|
+
Args: never;
|
|
20352
|
+
Returns: number;
|
|
20353
|
+
};
|
|
20354
|
+
logistics_plan_setting: {
|
|
20355
|
+
Args: {
|
|
20356
|
+
p_default: number;
|
|
20357
|
+
p_key: string;
|
|
20358
|
+
};
|
|
20359
|
+
Returns: number;
|
|
20360
|
+
};
|
|
20129
20361
|
logistics_queue_capacity_email: {
|
|
20130
20362
|
Args: {
|
|
20131
20363
|
p_alert_id: string;
|
|
@@ -20822,6 +21054,12 @@ export type Database = {
|
|
|
20822
21054
|
};
|
|
20823
21055
|
Returns: undefined;
|
|
20824
21056
|
};
|
|
21057
|
+
reset_stalled_floriday_stock_queue: {
|
|
21058
|
+
Args: {
|
|
21059
|
+
p_include_failed?: boolean;
|
|
21060
|
+
};
|
|
21061
|
+
Returns: number;
|
|
21062
|
+
};
|
|
20825
21063
|
resolve_group_allocation: {
|
|
20826
21064
|
Args: {
|
|
20827
21065
|
_needed: number;
|
|
@@ -20876,6 +21114,10 @@ export type Database = {
|
|
|
20876
21114
|
Args: never;
|
|
20877
21115
|
Returns: undefined;
|
|
20878
21116
|
};
|
|
21117
|
+
run_floriday_stock_queue_process: {
|
|
21118
|
+
Args: never;
|
|
21119
|
+
Returns: undefined;
|
|
21120
|
+
};
|
|
20879
21121
|
run_logistics_tasks_dispatch: {
|
|
20880
21122
|
Args: never;
|
|
20881
21123
|
Returns: undefined;
|