@flowselections/floriday-verkoop-module 1.0.74 → 1.0.76
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/verkoop/OrderKarindelingCard.d.ts.map +1 -1
- package/dist-lib/components/verkoop/OrderKarindelingCard.js +36 -114
- package/dist-lib/components/verkoop/PlanCoverageBadge.d.ts +6 -0
- package/dist-lib/components/verkoop/PlanCoverageBadge.d.ts.map +1 -0
- package/dist-lib/components/verkoop/PlanCoverageBadge.js +23 -0
- package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrderDetailView.js +2 -1
- package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrdersTable.js +2 -1
- package/dist-lib/integrations/supabase/types.d.ts +483 -3
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +2 -22
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.js +10 -163
- package/dist-lib/lib/create-order.functions.d.ts +0 -57
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.js +1 -205
- package/dist-lib/lib/logistics-engine.server.d.ts.map +1 -1
- package/dist-lib/lib/logistics-engine.server.js +8 -3
- package/dist-lib/lib/plan-coverage.d.ts +56 -0
- package/dist-lib/lib/plan-coverage.d.ts.map +1 -0
- package/dist-lib/lib/plan-coverage.js +120 -0
- package/dist-lib/lib/plan-coverage.server.d.ts +3 -0
- package/dist-lib/lib/plan-coverage.server.d.ts.map +1 -0
- package/dist-lib/lib/plan-coverage.server.js +97 -0
- package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.server.js +43 -82
- package/dist-lib/lib/salesorders-mapping.d.ts +5 -0
- package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.js +21 -18
- package/package.json +1 -1
|
@@ -3125,6 +3125,135 @@ export type Database = {
|
|
|
3125
3125
|
};
|
|
3126
3126
|
Relationships: [];
|
|
3127
3127
|
};
|
|
3128
|
+
dashboard_werkbon_dagtellers: {
|
|
3129
|
+
Row: {
|
|
3130
|
+
aantal: number;
|
|
3131
|
+
created_at: string;
|
|
3132
|
+
datum: string;
|
|
3133
|
+
soort: string;
|
|
3134
|
+
updated_at: string;
|
|
3135
|
+
};
|
|
3136
|
+
Insert: {
|
|
3137
|
+
aantal?: number;
|
|
3138
|
+
created_at?: string;
|
|
3139
|
+
datum: string;
|
|
3140
|
+
soort: string;
|
|
3141
|
+
updated_at?: string;
|
|
3142
|
+
};
|
|
3143
|
+
Update: {
|
|
3144
|
+
aantal?: number;
|
|
3145
|
+
created_at?: string;
|
|
3146
|
+
datum?: string;
|
|
3147
|
+
soort?: string;
|
|
3148
|
+
updated_at?: string;
|
|
3149
|
+
};
|
|
3150
|
+
Relationships: [];
|
|
3151
|
+
};
|
|
3152
|
+
dashboard_werkbon_factuurhistorie: {
|
|
3153
|
+
Row: {
|
|
3154
|
+
bedrag_cents: number;
|
|
3155
|
+
created_at: string;
|
|
3156
|
+
factuur_id: string;
|
|
3157
|
+
status: string;
|
|
3158
|
+
updated_at: string;
|
|
3159
|
+
werkbon_id: string;
|
|
3160
|
+
};
|
|
3161
|
+
Insert: {
|
|
3162
|
+
bedrag_cents: number;
|
|
3163
|
+
created_at?: string;
|
|
3164
|
+
factuur_id: string;
|
|
3165
|
+
status: string;
|
|
3166
|
+
updated_at?: string;
|
|
3167
|
+
werkbon_id: string;
|
|
3168
|
+
};
|
|
3169
|
+
Update: {
|
|
3170
|
+
bedrag_cents?: number;
|
|
3171
|
+
created_at?: string;
|
|
3172
|
+
factuur_id?: string;
|
|
3173
|
+
status?: string;
|
|
3174
|
+
updated_at?: string;
|
|
3175
|
+
werkbon_id?: string;
|
|
3176
|
+
};
|
|
3177
|
+
Relationships: [];
|
|
3178
|
+
};
|
|
3179
|
+
dashboard_werkbon_historie: {
|
|
3180
|
+
Row: {
|
|
3181
|
+
aangemaakt_op: string;
|
|
3182
|
+
afgerond_op: string | null;
|
|
3183
|
+
created_at: string;
|
|
3184
|
+
parent_werkbon_id: string | null;
|
|
3185
|
+
soort: string;
|
|
3186
|
+
updated_at: string;
|
|
3187
|
+
werkbon_id: string;
|
|
3188
|
+
};
|
|
3189
|
+
Insert: {
|
|
3190
|
+
aangemaakt_op: string;
|
|
3191
|
+
afgerond_op?: string | null;
|
|
3192
|
+
created_at?: string;
|
|
3193
|
+
parent_werkbon_id?: string | null;
|
|
3194
|
+
soort: string;
|
|
3195
|
+
updated_at?: string;
|
|
3196
|
+
werkbon_id: string;
|
|
3197
|
+
};
|
|
3198
|
+
Update: {
|
|
3199
|
+
aangemaakt_op?: string;
|
|
3200
|
+
afgerond_op?: string | null;
|
|
3201
|
+
created_at?: string;
|
|
3202
|
+
parent_werkbon_id?: string | null;
|
|
3203
|
+
soort?: string;
|
|
3204
|
+
updated_at?: string;
|
|
3205
|
+
werkbon_id?: string;
|
|
3206
|
+
};
|
|
3207
|
+
Relationships: [];
|
|
3208
|
+
};
|
|
3209
|
+
dashboard_werkbon_mailhistorie: {
|
|
3210
|
+
Row: {
|
|
3211
|
+
created_at: string;
|
|
3212
|
+
goedgekeurd_op: string;
|
|
3213
|
+
updated_at: string;
|
|
3214
|
+
voorstel_id: string;
|
|
3215
|
+
werkbon_id: string | null;
|
|
3216
|
+
};
|
|
3217
|
+
Insert: {
|
|
3218
|
+
created_at?: string;
|
|
3219
|
+
goedgekeurd_op: string;
|
|
3220
|
+
updated_at?: string;
|
|
3221
|
+
voorstel_id: string;
|
|
3222
|
+
werkbon_id?: string | null;
|
|
3223
|
+
};
|
|
3224
|
+
Update: {
|
|
3225
|
+
created_at?: string;
|
|
3226
|
+
goedgekeurd_op?: string;
|
|
3227
|
+
updated_at?: string;
|
|
3228
|
+
voorstel_id?: string;
|
|
3229
|
+
werkbon_id?: string | null;
|
|
3230
|
+
};
|
|
3231
|
+
Relationships: [];
|
|
3232
|
+
};
|
|
3233
|
+
dashboard_werkbon_tellers: {
|
|
3234
|
+
Row: {
|
|
3235
|
+
aantal: number;
|
|
3236
|
+
jaar: number;
|
|
3237
|
+
maand: number;
|
|
3238
|
+
soort: string;
|
|
3239
|
+
updated_at: string;
|
|
3240
|
+
};
|
|
3241
|
+
Insert: {
|
|
3242
|
+
aantal?: number;
|
|
3243
|
+
jaar: number;
|
|
3244
|
+
maand: number;
|
|
3245
|
+
soort: string;
|
|
3246
|
+
updated_at?: string;
|
|
3247
|
+
};
|
|
3248
|
+
Update: {
|
|
3249
|
+
aantal?: number;
|
|
3250
|
+
jaar?: number;
|
|
3251
|
+
maand?: number;
|
|
3252
|
+
soort?: string;
|
|
3253
|
+
updated_at?: string;
|
|
3254
|
+
};
|
|
3255
|
+
Relationships: [];
|
|
3256
|
+
};
|
|
3128
3257
|
delivery_notes: {
|
|
3129
3258
|
Row: {
|
|
3130
3259
|
byte_size: number | null;
|
|
@@ -6648,6 +6777,7 @@ export type Database = {
|
|
|
6648
6777
|
Row: {
|
|
6649
6778
|
attempts: number;
|
|
6650
6779
|
availability_sent_at: string | null;
|
|
6780
|
+
base_supply_outcome: string | null;
|
|
6651
6781
|
connection_id: string;
|
|
6652
6782
|
created_at: string;
|
|
6653
6783
|
dead_lettered_at: string | null;
|
|
@@ -6660,8 +6790,12 @@ export type Database = {
|
|
|
6660
6790
|
locked_by: string | null;
|
|
6661
6791
|
next_attempt_at: string;
|
|
6662
6792
|
number_of_pieces: number;
|
|
6793
|
+
price_note: string | null;
|
|
6794
|
+
price_sent: number | null;
|
|
6795
|
+
price_status: string | null;
|
|
6663
6796
|
product_id: string | null;
|
|
6664
6797
|
quantity_sent_at: string | null;
|
|
6798
|
+
result_label: string | null;
|
|
6665
6799
|
sent_at: string | null;
|
|
6666
6800
|
skip_reason: string | null;
|
|
6667
6801
|
status: string;
|
|
@@ -6676,6 +6810,7 @@ export type Database = {
|
|
|
6676
6810
|
Insert: {
|
|
6677
6811
|
attempts?: number;
|
|
6678
6812
|
availability_sent_at?: string | null;
|
|
6813
|
+
base_supply_outcome?: string | null;
|
|
6679
6814
|
connection_id: string;
|
|
6680
6815
|
created_at?: string;
|
|
6681
6816
|
dead_lettered_at?: string | null;
|
|
@@ -6688,8 +6823,12 @@ export type Database = {
|
|
|
6688
6823
|
locked_by?: string | null;
|
|
6689
6824
|
next_attempt_at?: string;
|
|
6690
6825
|
number_of_pieces?: number;
|
|
6826
|
+
price_note?: string | null;
|
|
6827
|
+
price_sent?: number | null;
|
|
6828
|
+
price_status?: string | null;
|
|
6691
6829
|
product_id?: string | null;
|
|
6692
6830
|
quantity_sent_at?: string | null;
|
|
6831
|
+
result_label?: string | null;
|
|
6693
6832
|
sent_at?: string | null;
|
|
6694
6833
|
skip_reason?: string | null;
|
|
6695
6834
|
status?: string;
|
|
@@ -6704,6 +6843,7 @@ export type Database = {
|
|
|
6704
6843
|
Update: {
|
|
6705
6844
|
attempts?: number;
|
|
6706
6845
|
availability_sent_at?: string | null;
|
|
6846
|
+
base_supply_outcome?: string | null;
|
|
6707
6847
|
connection_id?: string;
|
|
6708
6848
|
created_at?: string;
|
|
6709
6849
|
dead_lettered_at?: string | null;
|
|
@@ -6716,8 +6856,12 @@ export type Database = {
|
|
|
6716
6856
|
locked_by?: string | null;
|
|
6717
6857
|
next_attempt_at?: string;
|
|
6718
6858
|
number_of_pieces?: number;
|
|
6859
|
+
price_note?: string | null;
|
|
6860
|
+
price_sent?: number | null;
|
|
6861
|
+
price_status?: string | null;
|
|
6719
6862
|
product_id?: string | null;
|
|
6720
6863
|
quantity_sent_at?: string | null;
|
|
6864
|
+
result_label?: string | null;
|
|
6721
6865
|
sent_at?: string | null;
|
|
6722
6866
|
skip_reason?: string | null;
|
|
6723
6867
|
status?: string;
|
|
@@ -7443,6 +7587,33 @@ export type Database = {
|
|
|
7443
7587
|
};
|
|
7444
7588
|
Relationships: [];
|
|
7445
7589
|
};
|
|
7590
|
+
floriday_loading_identifiers: {
|
|
7591
|
+
Row: {
|
|
7592
|
+
created_at: string;
|
|
7593
|
+
created_by: string | null;
|
|
7594
|
+
id: string;
|
|
7595
|
+
identifier: string;
|
|
7596
|
+
natural_key: string;
|
|
7597
|
+
scope: string;
|
|
7598
|
+
};
|
|
7599
|
+
Insert: {
|
|
7600
|
+
created_at?: string;
|
|
7601
|
+
created_by?: string | null;
|
|
7602
|
+
id?: string;
|
|
7603
|
+
identifier?: string;
|
|
7604
|
+
natural_key: string;
|
|
7605
|
+
scope: string;
|
|
7606
|
+
};
|
|
7607
|
+
Update: {
|
|
7608
|
+
created_at?: string;
|
|
7609
|
+
created_by?: string | null;
|
|
7610
|
+
id?: string;
|
|
7611
|
+
identifier?: string;
|
|
7612
|
+
natural_key?: string;
|
|
7613
|
+
scope?: string;
|
|
7614
|
+
};
|
|
7615
|
+
Relationships: [];
|
|
7616
|
+
};
|
|
7446
7617
|
floriday_log_retention: {
|
|
7447
7618
|
Row: {
|
|
7448
7619
|
created_at: string;
|
|
@@ -8648,7 +8819,7 @@ export type Database = {
|
|
|
8648
8819
|
note?: string | null;
|
|
8649
8820
|
reason?: string;
|
|
8650
8821
|
trade_item_key?: string | null;
|
|
8651
|
-
user_id
|
|
8822
|
+
user_id?: string;
|
|
8652
8823
|
};
|
|
8653
8824
|
Update: {
|
|
8654
8825
|
created_at?: string;
|
|
@@ -8709,7 +8880,7 @@ export type Database = {
|
|
|
8709
8880
|
stock?: number;
|
|
8710
8881
|
updated_at?: string;
|
|
8711
8882
|
used_by_count?: number;
|
|
8712
|
-
user_id
|
|
8883
|
+
user_id?: string;
|
|
8713
8884
|
vbn_code?: number | null;
|
|
8714
8885
|
width_mm?: number | null;
|
|
8715
8886
|
};
|
|
@@ -8893,6 +9064,8 @@ export type Database = {
|
|
|
8893
9064
|
};
|
|
8894
9065
|
inventory_recompute_limits: {
|
|
8895
9066
|
Row: {
|
|
9067
|
+
base_supply_batch: number;
|
|
9068
|
+
base_supply_uses_catalog_availability: boolean;
|
|
8896
9069
|
drain_batch: number;
|
|
8897
9070
|
id: boolean;
|
|
8898
9071
|
import_chunk_size: number;
|
|
@@ -8902,6 +9075,7 @@ export type Database = {
|
|
|
8902
9075
|
import_retention_days: number;
|
|
8903
9076
|
max_ms_inline: number;
|
|
8904
9077
|
max_parents_inline: number;
|
|
9078
|
+
queue_base_supply_timeout_minutes: number;
|
|
8905
9079
|
queue_cleanup_batch: number;
|
|
8906
9080
|
queue_cleanup_max_batches: number;
|
|
8907
9081
|
queue_failed_days: number;
|
|
@@ -8913,6 +9087,8 @@ export type Database = {
|
|
|
8913
9087
|
updated_at: string;
|
|
8914
9088
|
};
|
|
8915
9089
|
Insert: {
|
|
9090
|
+
base_supply_batch?: number;
|
|
9091
|
+
base_supply_uses_catalog_availability?: boolean;
|
|
8916
9092
|
drain_batch?: number;
|
|
8917
9093
|
id?: boolean;
|
|
8918
9094
|
import_chunk_size?: number;
|
|
@@ -8922,6 +9098,7 @@ export type Database = {
|
|
|
8922
9098
|
import_retention_days?: number;
|
|
8923
9099
|
max_ms_inline?: number;
|
|
8924
9100
|
max_parents_inline?: number;
|
|
9101
|
+
queue_base_supply_timeout_minutes?: number;
|
|
8925
9102
|
queue_cleanup_batch?: number;
|
|
8926
9103
|
queue_cleanup_max_batches?: number;
|
|
8927
9104
|
queue_failed_days?: number;
|
|
@@ -8933,6 +9110,8 @@ export type Database = {
|
|
|
8933
9110
|
updated_at?: string;
|
|
8934
9111
|
};
|
|
8935
9112
|
Update: {
|
|
9113
|
+
base_supply_batch?: number;
|
|
9114
|
+
base_supply_uses_catalog_availability?: boolean;
|
|
8936
9115
|
drain_batch?: number;
|
|
8937
9116
|
id?: boolean;
|
|
8938
9117
|
import_chunk_size?: number;
|
|
@@ -8942,6 +9121,7 @@ export type Database = {
|
|
|
8942
9121
|
import_retention_days?: number;
|
|
8943
9122
|
max_ms_inline?: number;
|
|
8944
9123
|
max_parents_inline?: number;
|
|
9124
|
+
queue_base_supply_timeout_minutes?: number;
|
|
8945
9125
|
queue_cleanup_batch?: number;
|
|
8946
9126
|
queue_cleanup_max_batches?: number;
|
|
8947
9127
|
queue_failed_days?: number;
|
|
@@ -12428,6 +12608,33 @@ export type Database = {
|
|
|
12428
12608
|
};
|
|
12429
12609
|
Relationships: [];
|
|
12430
12610
|
};
|
|
12611
|
+
logistics_plan_coverage_retries: {
|
|
12612
|
+
Row: {
|
|
12613
|
+
attempts: number;
|
|
12614
|
+
gave_up_at: string | null;
|
|
12615
|
+
last_at: string;
|
|
12616
|
+
last_pct: number | null;
|
|
12617
|
+
next_at: string;
|
|
12618
|
+
order_id: string;
|
|
12619
|
+
};
|
|
12620
|
+
Insert: {
|
|
12621
|
+
attempts?: number;
|
|
12622
|
+
gave_up_at?: string | null;
|
|
12623
|
+
last_at?: string;
|
|
12624
|
+
last_pct?: number | null;
|
|
12625
|
+
next_at?: string;
|
|
12626
|
+
order_id: string;
|
|
12627
|
+
};
|
|
12628
|
+
Update: {
|
|
12629
|
+
attempts?: number;
|
|
12630
|
+
gave_up_at?: string | null;
|
|
12631
|
+
last_at?: string;
|
|
12632
|
+
last_pct?: number | null;
|
|
12633
|
+
next_at?: string;
|
|
12634
|
+
order_id?: string;
|
|
12635
|
+
};
|
|
12636
|
+
Relationships: [];
|
|
12637
|
+
};
|
|
12431
12638
|
logistics_plan_locks: {
|
|
12432
12639
|
Row: {
|
|
12433
12640
|
created_at: string;
|
|
@@ -17798,6 +18005,12 @@ export type Database = {
|
|
|
17798
18005
|
email_purpose: string | null;
|
|
17799
18006
|
enabled: boolean;
|
|
17800
18007
|
id: boolean;
|
|
18008
|
+
overrun_auto_mail: boolean;
|
|
18009
|
+
overrun_body_template: string;
|
|
18010
|
+
overrun_enabled: boolean;
|
|
18011
|
+
overrun_mail_minutes: number;
|
|
18012
|
+
overrun_notice_minutes: number;
|
|
18013
|
+
overrun_subject_template: string;
|
|
17801
18014
|
reply_to: string | null;
|
|
17802
18015
|
reschedule_body_template: string;
|
|
17803
18016
|
reschedule_subject_template: string;
|
|
@@ -17814,6 +18027,12 @@ export type Database = {
|
|
|
17814
18027
|
email_purpose?: string | null;
|
|
17815
18028
|
enabled?: boolean;
|
|
17816
18029
|
id?: boolean;
|
|
18030
|
+
overrun_auto_mail?: boolean;
|
|
18031
|
+
overrun_body_template?: string;
|
|
18032
|
+
overrun_enabled?: boolean;
|
|
18033
|
+
overrun_mail_minutes?: number;
|
|
18034
|
+
overrun_notice_minutes?: number;
|
|
18035
|
+
overrun_subject_template?: string;
|
|
17817
18036
|
reply_to?: string | null;
|
|
17818
18037
|
reschedule_body_template?: string;
|
|
17819
18038
|
reschedule_subject_template?: string;
|
|
@@ -17830,6 +18049,12 @@ export type Database = {
|
|
|
17830
18049
|
email_purpose?: string | null;
|
|
17831
18050
|
enabled?: boolean;
|
|
17832
18051
|
id?: boolean;
|
|
18052
|
+
overrun_auto_mail?: boolean;
|
|
18053
|
+
overrun_body_template?: string;
|
|
18054
|
+
overrun_enabled?: boolean;
|
|
18055
|
+
overrun_mail_minutes?: number;
|
|
18056
|
+
overrun_notice_minutes?: number;
|
|
18057
|
+
overrun_subject_template?: string;
|
|
17833
18058
|
reply_to?: string | null;
|
|
17834
18059
|
reschedule_body_template?: string;
|
|
17835
18060
|
reschedule_subject_template?: string;
|
|
@@ -17921,6 +18146,66 @@ export type Database = {
|
|
|
17921
18146
|
};
|
|
17922
18147
|
Relationships: [];
|
|
17923
18148
|
};
|
|
18149
|
+
planning_overrun_events: {
|
|
18150
|
+
Row: {
|
|
18151
|
+
created_at: string;
|
|
18152
|
+
id: string;
|
|
18153
|
+
mail_level: number;
|
|
18154
|
+
mailed_at: string | null;
|
|
18155
|
+
mailed_item_id: string | null;
|
|
18156
|
+
mailed_items: Json;
|
|
18157
|
+
monteur_id: string | null;
|
|
18158
|
+
original_end_at: string;
|
|
18159
|
+
overrun_minutes: number;
|
|
18160
|
+
planning_item_id: string;
|
|
18161
|
+
shifted: Json;
|
|
18162
|
+
updated_at: string;
|
|
18163
|
+
};
|
|
18164
|
+
Insert: {
|
|
18165
|
+
created_at?: string;
|
|
18166
|
+
id?: string;
|
|
18167
|
+
mail_level?: number;
|
|
18168
|
+
mailed_at?: string | null;
|
|
18169
|
+
mailed_item_id?: string | null;
|
|
18170
|
+
mailed_items?: Json;
|
|
18171
|
+
monteur_id?: string | null;
|
|
18172
|
+
original_end_at: string;
|
|
18173
|
+
overrun_minutes?: number;
|
|
18174
|
+
planning_item_id: string;
|
|
18175
|
+
shifted?: Json;
|
|
18176
|
+
updated_at?: string;
|
|
18177
|
+
};
|
|
18178
|
+
Update: {
|
|
18179
|
+
created_at?: string;
|
|
18180
|
+
id?: string;
|
|
18181
|
+
mail_level?: number;
|
|
18182
|
+
mailed_at?: string | null;
|
|
18183
|
+
mailed_item_id?: string | null;
|
|
18184
|
+
mailed_items?: Json;
|
|
18185
|
+
monteur_id?: string | null;
|
|
18186
|
+
original_end_at?: string;
|
|
18187
|
+
overrun_minutes?: number;
|
|
18188
|
+
planning_item_id?: string;
|
|
18189
|
+
shifted?: Json;
|
|
18190
|
+
updated_at?: string;
|
|
18191
|
+
};
|
|
18192
|
+
Relationships: [
|
|
18193
|
+
{
|
|
18194
|
+
foreignKeyName: "planning_overrun_events_planning_item_id_fkey";
|
|
18195
|
+
columns: ["planning_item_id"];
|
|
18196
|
+
isOneToOne: true;
|
|
18197
|
+
referencedRelation: "planning_items";
|
|
18198
|
+
referencedColumns: ["id"];
|
|
18199
|
+
},
|
|
18200
|
+
{
|
|
18201
|
+
foreignKeyName: "planning_overrun_events_planning_item_id_fkey";
|
|
18202
|
+
columns: ["planning_item_id"];
|
|
18203
|
+
isOneToOne: true;
|
|
18204
|
+
referencedRelation: "planning_overview";
|
|
18205
|
+
referencedColumns: ["id"];
|
|
18206
|
+
}
|
|
18207
|
+
];
|
|
18208
|
+
};
|
|
17924
18209
|
planning_settings: {
|
|
17925
18210
|
Row: {
|
|
17926
18211
|
company_address: string | null;
|
|
@@ -22421,7 +22706,7 @@ export type Database = {
|
|
|
22421
22706
|
reserved_stock?: number;
|
|
22422
22707
|
trade_item_key: string;
|
|
22423
22708
|
updated_at?: string;
|
|
22424
|
-
user_id
|
|
22709
|
+
user_id?: string;
|
|
22425
22710
|
};
|
|
22426
22711
|
Update: {
|
|
22427
22712
|
change_source?: string;
|
|
@@ -27622,6 +27907,24 @@ export type Database = {
|
|
|
27622
27907
|
isSetofReturn: true;
|
|
27623
27908
|
};
|
|
27624
27909
|
};
|
|
27910
|
+
claim_floriday_base_supply: {
|
|
27911
|
+
Args: {
|
|
27912
|
+
p_worker?: string;
|
|
27913
|
+
};
|
|
27914
|
+
Returns: {
|
|
27915
|
+
attempts: number;
|
|
27916
|
+
id: string;
|
|
27917
|
+
number_of_pieces: number;
|
|
27918
|
+
product_id: string;
|
|
27919
|
+
sale_price: number;
|
|
27920
|
+
stock_mode: string;
|
|
27921
|
+
target_week: number;
|
|
27922
|
+
target_year: number;
|
|
27923
|
+
trade_item_id: string;
|
|
27924
|
+
unit: string;
|
|
27925
|
+
uses_catalog_availability: boolean;
|
|
27926
|
+
}[];
|
|
27927
|
+
};
|
|
27625
27928
|
claim_floriday_stock_queue: {
|
|
27626
27929
|
Args: {
|
|
27627
27930
|
p_limit?: number;
|
|
@@ -27630,6 +27933,7 @@ export type Database = {
|
|
|
27630
27933
|
Returns: {
|
|
27631
27934
|
attempts: number;
|
|
27632
27935
|
availability_sent_at: string | null;
|
|
27936
|
+
base_supply_outcome: string | null;
|
|
27633
27937
|
connection_id: string;
|
|
27634
27938
|
created_at: string;
|
|
27635
27939
|
dead_lettered_at: string | null;
|
|
@@ -27642,8 +27946,12 @@ export type Database = {
|
|
|
27642
27946
|
locked_by: string | null;
|
|
27643
27947
|
next_attempt_at: string;
|
|
27644
27948
|
number_of_pieces: number;
|
|
27949
|
+
price_note: string | null;
|
|
27950
|
+
price_sent: number | null;
|
|
27951
|
+
price_status: string | null;
|
|
27645
27952
|
product_id: string | null;
|
|
27646
27953
|
quantity_sent_at: string | null;
|
|
27954
|
+
result_label: string | null;
|
|
27647
27955
|
sent_at: string | null;
|
|
27648
27956
|
skip_reason: string | null;
|
|
27649
27957
|
status: string;
|
|
@@ -27907,6 +28215,19 @@ export type Database = {
|
|
|
27907
28215
|
Args: never;
|
|
27908
28216
|
Returns: undefined;
|
|
27909
28217
|
};
|
|
28218
|
+
complete_floriday_base_supply: {
|
|
28219
|
+
Args: {
|
|
28220
|
+
p_attempt_id?: string;
|
|
28221
|
+
p_error?: string;
|
|
28222
|
+
p_id: string;
|
|
28223
|
+
p_kind: string;
|
|
28224
|
+
p_label?: string;
|
|
28225
|
+
p_outcome?: string;
|
|
28226
|
+
p_price?: number;
|
|
28227
|
+
p_price_status?: string;
|
|
28228
|
+
};
|
|
28229
|
+
Returns: string;
|
|
28230
|
+
};
|
|
27910
28231
|
complete_floriday_stock_queue: {
|
|
27911
28232
|
Args: {
|
|
27912
28233
|
p_attempt_id?: string;
|
|
@@ -28083,6 +28404,19 @@ export type Database = {
|
|
|
28083
28404
|
};
|
|
28084
28405
|
Returns: Json;
|
|
28085
28406
|
};
|
|
28407
|
+
dashboard_funnel_betaald: {
|
|
28408
|
+
Args: {
|
|
28409
|
+
_bedragen: number[];
|
|
28410
|
+
_statussen: string[];
|
|
28411
|
+
};
|
|
28412
|
+
Returns: boolean;
|
|
28413
|
+
};
|
|
28414
|
+
dashboard_jaar_start: {
|
|
28415
|
+
Args: {
|
|
28416
|
+
_vandaag: string;
|
|
28417
|
+
};
|
|
28418
|
+
Returns: string;
|
|
28419
|
+
};
|
|
28086
28420
|
dashboard_list_public_schema: {
|
|
28087
28421
|
Args: never;
|
|
28088
28422
|
Returns: {
|
|
@@ -28091,6 +28425,29 @@ export type Database = {
|
|
|
28091
28425
|
table_name: string;
|
|
28092
28426
|
}[];
|
|
28093
28427
|
};
|
|
28428
|
+
dashboard_werkbon_funnel: {
|
|
28429
|
+
Args: {
|
|
28430
|
+
_periode?: string;
|
|
28431
|
+
};
|
|
28432
|
+
Returns: Json;
|
|
28433
|
+
};
|
|
28434
|
+
dashboard_werkbon_jaarstats: {
|
|
28435
|
+
Args: never;
|
|
28436
|
+
Returns: Json;
|
|
28437
|
+
};
|
|
28438
|
+
dashboard_werkbon_soort: {
|
|
28439
|
+
Args: {
|
|
28440
|
+
_source: string;
|
|
28441
|
+
};
|
|
28442
|
+
Returns: string;
|
|
28443
|
+
};
|
|
28444
|
+
dashboard_werkbon_teller_plus: {
|
|
28445
|
+
Args: {
|
|
28446
|
+
_soort: string;
|
|
28447
|
+
_ts: string;
|
|
28448
|
+
};
|
|
28449
|
+
Returns: undefined;
|
|
28450
|
+
};
|
|
28094
28451
|
delete_samenstelling: {
|
|
28095
28452
|
Args: {
|
|
28096
28453
|
p_parent_id: string;
|
|
@@ -28384,6 +28741,17 @@ export type Database = {
|
|
|
28384
28741
|
};
|
|
28385
28742
|
Returns: string;
|
|
28386
28743
|
};
|
|
28744
|
+
fust_negative_stock_report: {
|
|
28745
|
+
Args: never;
|
|
28746
|
+
Returns: {
|
|
28747
|
+
duplicate_names: number;
|
|
28748
|
+
fust_key: string;
|
|
28749
|
+
fust_type_id: string;
|
|
28750
|
+
name: string;
|
|
28751
|
+
shortage: number;
|
|
28752
|
+
stock: number;
|
|
28753
|
+
}[];
|
|
28754
|
+
};
|
|
28387
28755
|
get_active_floriday_connection_public: {
|
|
28388
28756
|
Args: never;
|
|
28389
28757
|
Returns: {
|
|
@@ -30303,6 +30671,10 @@ export type Database = {
|
|
|
30303
30671
|
Args: never;
|
|
30304
30672
|
Returns: number;
|
|
30305
30673
|
};
|
|
30674
|
+
logistics_is_beheer: {
|
|
30675
|
+
Args: never;
|
|
30676
|
+
Returns: boolean;
|
|
30677
|
+
};
|
|
30306
30678
|
logistics_is_engine_response: {
|
|
30307
30679
|
Args: {
|
|
30308
30680
|
p_content: string;
|
|
@@ -30510,6 +30882,12 @@ export type Database = {
|
|
|
30510
30882
|
};
|
|
30511
30883
|
Returns: boolean;
|
|
30512
30884
|
};
|
|
30885
|
+
logistics_order_is_frozen: {
|
|
30886
|
+
Args: {
|
|
30887
|
+
p_order_id: string;
|
|
30888
|
+
};
|
|
30889
|
+
Returns: boolean;
|
|
30890
|
+
};
|
|
30513
30891
|
logistics_order_is_topick: {
|
|
30514
30892
|
Args: {
|
|
30515
30893
|
p_order_id: string;
|
|
@@ -30572,6 +30950,30 @@ export type Database = {
|
|
|
30572
30950
|
};
|
|
30573
30951
|
Returns: string;
|
|
30574
30952
|
};
|
|
30953
|
+
logistics_order_plan_coverage: {
|
|
30954
|
+
Args: {
|
|
30955
|
+
p_order_id: string;
|
|
30956
|
+
};
|
|
30957
|
+
Returns: Json;
|
|
30958
|
+
};
|
|
30959
|
+
logistics_order_plan_coverage_list: {
|
|
30960
|
+
Args: {
|
|
30961
|
+
p_order_ids: string[];
|
|
30962
|
+
};
|
|
30963
|
+
Returns: {
|
|
30964
|
+
buffer_id: string;
|
|
30965
|
+
cart_count: number;
|
|
30966
|
+
label: string;
|
|
30967
|
+
order_id: string;
|
|
30968
|
+
order_number: string;
|
|
30969
|
+
pick_row_count: number;
|
|
30970
|
+
pick_status: string;
|
|
30971
|
+
picked_at: string;
|
|
30972
|
+
progress_pct: number;
|
|
30973
|
+
reason: string;
|
|
30974
|
+
state: string;
|
|
30975
|
+
}[];
|
|
30976
|
+
};
|
|
30575
30977
|
logistics_order_released: {
|
|
30576
30978
|
Args: {
|
|
30577
30979
|
p_order_ref: string;
|
|
@@ -30732,12 +31134,22 @@ export type Database = {
|
|
|
30732
31134
|
order_id: string;
|
|
30733
31135
|
}[];
|
|
30734
31136
|
};
|
|
31137
|
+
logistics_plan_coverage_check: {
|
|
31138
|
+
Args: {
|
|
31139
|
+
p_limit?: number;
|
|
31140
|
+
};
|
|
31141
|
+
Returns: Json;
|
|
31142
|
+
};
|
|
30735
31143
|
logistics_plan_defer: {
|
|
30736
31144
|
Args: {
|
|
30737
31145
|
p_id: string;
|
|
30738
31146
|
};
|
|
30739
31147
|
Returns: undefined;
|
|
30740
31148
|
};
|
|
31149
|
+
logistics_plan_due_count: {
|
|
31150
|
+
Args: never;
|
|
31151
|
+
Returns: number;
|
|
31152
|
+
};
|
|
30741
31153
|
logistics_plan_enqueue: {
|
|
30742
31154
|
Args: {
|
|
30743
31155
|
p_order_id: string;
|
|
@@ -31046,6 +31458,16 @@ export type Database = {
|
|
|
31046
31458
|
};
|
|
31047
31459
|
Returns: Json;
|
|
31048
31460
|
};
|
|
31461
|
+
logistics_replan_candidates: {
|
|
31462
|
+
Args: {
|
|
31463
|
+
p_delivery_date?: string;
|
|
31464
|
+
p_include_frozen?: boolean;
|
|
31465
|
+
};
|
|
31466
|
+
Returns: {
|
|
31467
|
+
frozen: boolean;
|
|
31468
|
+
order_id: string;
|
|
31469
|
+
}[];
|
|
31470
|
+
};
|
|
31049
31471
|
logistics_replan_clear_foreign_cart_items: {
|
|
31050
31472
|
Args: {
|
|
31051
31473
|
p_order_id: string;
|
|
@@ -31065,6 +31487,21 @@ export type Database = {
|
|
|
31065
31487
|
};
|
|
31066
31488
|
Returns: Json;
|
|
31067
31489
|
};
|
|
31490
|
+
logistics_replan_preview: {
|
|
31491
|
+
Args: {
|
|
31492
|
+
p_delivery_date?: string;
|
|
31493
|
+
p_include_frozen?: boolean;
|
|
31494
|
+
};
|
|
31495
|
+
Returns: Json;
|
|
31496
|
+
};
|
|
31497
|
+
logistics_replan_selected: {
|
|
31498
|
+
Args: {
|
|
31499
|
+
p_confirm_count: number;
|
|
31500
|
+
p_delivery_date?: string;
|
|
31501
|
+
p_include_frozen?: boolean;
|
|
31502
|
+
};
|
|
31503
|
+
Returns: Json;
|
|
31504
|
+
};
|
|
31068
31505
|
logistics_replan_selected_orders: {
|
|
31069
31506
|
Args: {
|
|
31070
31507
|
p_order_ids: string[];
|
|
@@ -31234,6 +31671,13 @@ export type Database = {
|
|
|
31234
31671
|
};
|
|
31235
31672
|
Returns: number;
|
|
31236
31673
|
};
|
|
31674
|
+
logistics_set_components_scaled: {
|
|
31675
|
+
Args: {
|
|
31676
|
+
p_order_item_id: string;
|
|
31677
|
+
p_plants: number;
|
|
31678
|
+
};
|
|
31679
|
+
Returns: Json;
|
|
31680
|
+
};
|
|
31237
31681
|
logistics_set_order_priority: {
|
|
31238
31682
|
Args: {
|
|
31239
31683
|
p_order_ref: string;
|
|
@@ -33194,6 +33638,10 @@ export type Database = {
|
|
|
33194
33638
|
};
|
|
33195
33639
|
Returns: number;
|
|
33196
33640
|
};
|
|
33641
|
+
run_floriday_base_supply_process: {
|
|
33642
|
+
Args: never;
|
|
33643
|
+
Returns: undefined;
|
|
33644
|
+
};
|
|
33197
33645
|
run_floriday_continuous_stock_sync: {
|
|
33198
33646
|
Args: never;
|
|
33199
33647
|
Returns: undefined;
|
|
@@ -34553,16 +35001,40 @@ export type Database = {
|
|
|
34553
35001
|
};
|
|
34554
35002
|
Returns: Json;
|
|
34555
35003
|
};
|
|
35004
|
+
voorraad_can_write: {
|
|
35005
|
+
Args: never;
|
|
35006
|
+
Returns: boolean;
|
|
35007
|
+
};
|
|
34556
35008
|
voorraad_cleanup_old_rows: {
|
|
34557
35009
|
Args: never;
|
|
34558
35010
|
Returns: Json;
|
|
34559
35011
|
};
|
|
35012
|
+
voorraad_production_enabled: {
|
|
35013
|
+
Args: never;
|
|
35014
|
+
Returns: boolean;
|
|
35015
|
+
};
|
|
35016
|
+
voorraad_week_is_past: {
|
|
35017
|
+
Args: {
|
|
35018
|
+
p_week: number;
|
|
35019
|
+
p_year: number;
|
|
35020
|
+
};
|
|
35021
|
+
Returns: boolean;
|
|
35022
|
+
};
|
|
34560
35023
|
wake_print_queue: {
|
|
34561
35024
|
Args: {
|
|
34562
35025
|
_min_interval_ms?: number;
|
|
34563
35026
|
};
|
|
34564
35027
|
Returns: number;
|
|
34565
35028
|
};
|
|
35029
|
+
werkbon_format_project_number: {
|
|
35030
|
+
Args: {
|
|
35031
|
+
_parent_project_number?: string;
|
|
35032
|
+
_sequence_number: number;
|
|
35033
|
+
_source_type: string;
|
|
35034
|
+
_version: number;
|
|
35035
|
+
};
|
|
35036
|
+
Returns: string;
|
|
35037
|
+
};
|
|
34566
35038
|
werkbon_pakket_tijden: {
|
|
34567
35039
|
Args: {
|
|
34568
35040
|
_werkbon_id: string;
|
|
@@ -34585,6 +35057,14 @@ export type Database = {
|
|
|
34585
35057
|
total_minutes: number;
|
|
34586
35058
|
}[];
|
|
34587
35059
|
};
|
|
35060
|
+
wo_boek_standby_uren: {
|
|
35061
|
+
Args: {
|
|
35062
|
+
_datum: string;
|
|
35063
|
+
_minuten: number;
|
|
35064
|
+
_werkbon_id: string;
|
|
35065
|
+
};
|
|
35066
|
+
Returns: Json;
|
|
35067
|
+
};
|
|
34588
35068
|
wo_create_from_source: {
|
|
34589
35069
|
Args: {
|
|
34590
35070
|
_payload?: Json;
|