@flowselections/floriday-authenticatie-module 1.0.58 → 1.0.65
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/integrations/supabase/types.d.ts +537 -3
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/base-supply-decision.d.ts +52 -0
- package/dist-lib/lib/base-supply-decision.d.ts.map +1 -0
- package/dist-lib/lib/base-supply-decision.js +76 -0
- package/dist-lib/lib/cron/process-stock-queue.d.ts +14 -3
- package/dist-lib/lib/cron/process-stock-queue.d.ts.map +1 -1
- package/dist-lib/lib/cron/process-stock-queue.js +35 -39
- package/dist-lib/lib/floriday-auto-process.server.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auto-process.server.js +12 -64
- package/dist-lib/lib/floriday-cart-approval.server.d.ts.map +1 -1
- package/dist-lib/lib/floriday-cart-approval.server.js +30 -16
- package/dist-lib/lib/floriday-order-stage.d.ts +31 -0
- package/dist-lib/lib/floriday-order-stage.d.ts.map +1 -0
- package/dist-lib/lib/floriday-order-stage.js +77 -0
- package/dist-lib/lib/floriday-sync.functions.d.ts +15 -0
- package/dist-lib/lib/floriday-sync.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-sync.functions.js +124 -1
- package/dist-lib/lib/floriday.functions.d.ts +0 -8
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.js +61 -45
- package/dist-lib/lib/gateway/fulfillment-order-body.d.ts +2 -0
- package/dist-lib/lib/gateway/fulfillment-order-body.d.ts.map +1 -1
- package/dist-lib/lib/gateway/fulfillment-order-body.js +6 -1
- package/dist-lib/lib/gateway/fulfillment-order-send.d.ts.map +1 -1
- package/dist-lib/lib/gateway/fulfillment-order-send.js +57 -4
- package/dist-lib/lib/gateway/fulfillment-order-status.d.ts +10 -0
- package/dist-lib/lib/gateway/fulfillment-order-status.d.ts.map +1 -1
- package/dist-lib/lib/gateway/fulfillment-order-status.js +107 -1
- package/dist-lib/lib/gateway/supply-line.d.ts.map +1 -1
- package/dist-lib/lib/gateway/supply-line.js +140 -63
- package/dist-lib/lib/gateway/webhook-subscribe.d.ts.map +1 -1
- package/dist-lib/lib/gateway/webhook-subscribe.js +24 -4
- package/dist-lib/lib/gateway/webhook.d.ts +6 -0
- package/dist-lib/lib/gateway/webhook.d.ts.map +1 -1
- package/dist-lib/lib/gateway/webhook.js +9 -0
- package/dist-lib/lib/shell-base.d.ts +14 -0
- package/dist-lib/lib/shell-base.d.ts.map +1 -1
- package/dist-lib/lib/shell-base.js +17 -0
- package/dist-lib/lib/shell-routes.d.ts +1 -1
- package/dist-lib/lib/shell-routes.d.ts.map +1 -1
- package/dist-lib/lib/shell-routes.js +1 -0
- package/package.json +9 -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,87 @@ export type Database = {
|
|
|
7443
7587
|
};
|
|
7444
7588
|
Relationships: [];
|
|
7445
7589
|
};
|
|
7590
|
+
floriday_loading_attempts: {
|
|
7591
|
+
Row: {
|
|
7592
|
+
code: string | null;
|
|
7593
|
+
created_at: string;
|
|
7594
|
+
created_by: string | null;
|
|
7595
|
+
delivery_note_url: string | null;
|
|
7596
|
+
delivery_order_id: string | null;
|
|
7597
|
+
fulfillment_order_id: string;
|
|
7598
|
+
http_status: number | null;
|
|
7599
|
+
id: string;
|
|
7600
|
+
message: string | null;
|
|
7601
|
+
order_refs: string[];
|
|
7602
|
+
request_summary: Json;
|
|
7603
|
+
sales_order_ids: string[];
|
|
7604
|
+
skipped_requests: Json;
|
|
7605
|
+
step: string;
|
|
7606
|
+
warnings: Json;
|
|
7607
|
+
};
|
|
7608
|
+
Insert: {
|
|
7609
|
+
code?: string | null;
|
|
7610
|
+
created_at?: string;
|
|
7611
|
+
created_by?: string | null;
|
|
7612
|
+
delivery_note_url?: string | null;
|
|
7613
|
+
delivery_order_id?: string | null;
|
|
7614
|
+
fulfillment_order_id: string;
|
|
7615
|
+
http_status?: number | null;
|
|
7616
|
+
id?: string;
|
|
7617
|
+
message?: string | null;
|
|
7618
|
+
order_refs?: string[];
|
|
7619
|
+
request_summary?: Json;
|
|
7620
|
+
sales_order_ids?: string[];
|
|
7621
|
+
skipped_requests?: Json;
|
|
7622
|
+
step: string;
|
|
7623
|
+
warnings?: Json;
|
|
7624
|
+
};
|
|
7625
|
+
Update: {
|
|
7626
|
+
code?: string | null;
|
|
7627
|
+
created_at?: string;
|
|
7628
|
+
created_by?: string | null;
|
|
7629
|
+
delivery_note_url?: string | null;
|
|
7630
|
+
delivery_order_id?: string | null;
|
|
7631
|
+
fulfillment_order_id?: string;
|
|
7632
|
+
http_status?: number | null;
|
|
7633
|
+
id?: string;
|
|
7634
|
+
message?: string | null;
|
|
7635
|
+
order_refs?: string[];
|
|
7636
|
+
request_summary?: Json;
|
|
7637
|
+
sales_order_ids?: string[];
|
|
7638
|
+
skipped_requests?: Json;
|
|
7639
|
+
step?: string;
|
|
7640
|
+
warnings?: Json;
|
|
7641
|
+
};
|
|
7642
|
+
Relationships: [];
|
|
7643
|
+
};
|
|
7644
|
+
floriday_loading_identifiers: {
|
|
7645
|
+
Row: {
|
|
7646
|
+
created_at: string;
|
|
7647
|
+
created_by: string | null;
|
|
7648
|
+
id: string;
|
|
7649
|
+
identifier: string;
|
|
7650
|
+
natural_key: string;
|
|
7651
|
+
scope: string;
|
|
7652
|
+
};
|
|
7653
|
+
Insert: {
|
|
7654
|
+
created_at?: string;
|
|
7655
|
+
created_by?: string | null;
|
|
7656
|
+
id?: string;
|
|
7657
|
+
identifier?: string;
|
|
7658
|
+
natural_key: string;
|
|
7659
|
+
scope: string;
|
|
7660
|
+
};
|
|
7661
|
+
Update: {
|
|
7662
|
+
created_at?: string;
|
|
7663
|
+
created_by?: string | null;
|
|
7664
|
+
id?: string;
|
|
7665
|
+
identifier?: string;
|
|
7666
|
+
natural_key?: string;
|
|
7667
|
+
scope?: string;
|
|
7668
|
+
};
|
|
7669
|
+
Relationships: [];
|
|
7670
|
+
};
|
|
7446
7671
|
floriday_log_retention: {
|
|
7447
7672
|
Row: {
|
|
7448
7673
|
created_at: string;
|
|
@@ -8648,7 +8873,7 @@ export type Database = {
|
|
|
8648
8873
|
note?: string | null;
|
|
8649
8874
|
reason?: string;
|
|
8650
8875
|
trade_item_key?: string | null;
|
|
8651
|
-
user_id
|
|
8876
|
+
user_id?: string;
|
|
8652
8877
|
};
|
|
8653
8878
|
Update: {
|
|
8654
8879
|
created_at?: string;
|
|
@@ -8709,7 +8934,7 @@ export type Database = {
|
|
|
8709
8934
|
stock?: number;
|
|
8710
8935
|
updated_at?: string;
|
|
8711
8936
|
used_by_count?: number;
|
|
8712
|
-
user_id
|
|
8937
|
+
user_id?: string;
|
|
8713
8938
|
vbn_code?: number | null;
|
|
8714
8939
|
width_mm?: number | null;
|
|
8715
8940
|
};
|
|
@@ -8893,6 +9118,8 @@ export type Database = {
|
|
|
8893
9118
|
};
|
|
8894
9119
|
inventory_recompute_limits: {
|
|
8895
9120
|
Row: {
|
|
9121
|
+
base_supply_batch: number;
|
|
9122
|
+
base_supply_uses_catalog_availability: boolean;
|
|
8896
9123
|
drain_batch: number;
|
|
8897
9124
|
id: boolean;
|
|
8898
9125
|
import_chunk_size: number;
|
|
@@ -8902,6 +9129,7 @@ export type Database = {
|
|
|
8902
9129
|
import_retention_days: number;
|
|
8903
9130
|
max_ms_inline: number;
|
|
8904
9131
|
max_parents_inline: number;
|
|
9132
|
+
queue_base_supply_timeout_minutes: number;
|
|
8905
9133
|
queue_cleanup_batch: number;
|
|
8906
9134
|
queue_cleanup_max_batches: number;
|
|
8907
9135
|
queue_failed_days: number;
|
|
@@ -8913,6 +9141,8 @@ export type Database = {
|
|
|
8913
9141
|
updated_at: string;
|
|
8914
9142
|
};
|
|
8915
9143
|
Insert: {
|
|
9144
|
+
base_supply_batch?: number;
|
|
9145
|
+
base_supply_uses_catalog_availability?: boolean;
|
|
8916
9146
|
drain_batch?: number;
|
|
8917
9147
|
id?: boolean;
|
|
8918
9148
|
import_chunk_size?: number;
|
|
@@ -8922,6 +9152,7 @@ export type Database = {
|
|
|
8922
9152
|
import_retention_days?: number;
|
|
8923
9153
|
max_ms_inline?: number;
|
|
8924
9154
|
max_parents_inline?: number;
|
|
9155
|
+
queue_base_supply_timeout_minutes?: number;
|
|
8925
9156
|
queue_cleanup_batch?: number;
|
|
8926
9157
|
queue_cleanup_max_batches?: number;
|
|
8927
9158
|
queue_failed_days?: number;
|
|
@@ -8933,6 +9164,8 @@ export type Database = {
|
|
|
8933
9164
|
updated_at?: string;
|
|
8934
9165
|
};
|
|
8935
9166
|
Update: {
|
|
9167
|
+
base_supply_batch?: number;
|
|
9168
|
+
base_supply_uses_catalog_availability?: boolean;
|
|
8936
9169
|
drain_batch?: number;
|
|
8937
9170
|
id?: boolean;
|
|
8938
9171
|
import_chunk_size?: number;
|
|
@@ -8942,6 +9175,7 @@ export type Database = {
|
|
|
8942
9175
|
import_retention_days?: number;
|
|
8943
9176
|
max_ms_inline?: number;
|
|
8944
9177
|
max_parents_inline?: number;
|
|
9178
|
+
queue_base_supply_timeout_minutes?: number;
|
|
8945
9179
|
queue_cleanup_batch?: number;
|
|
8946
9180
|
queue_cleanup_max_batches?: number;
|
|
8947
9181
|
queue_failed_days?: number;
|
|
@@ -12428,6 +12662,33 @@ export type Database = {
|
|
|
12428
12662
|
};
|
|
12429
12663
|
Relationships: [];
|
|
12430
12664
|
};
|
|
12665
|
+
logistics_plan_coverage_retries: {
|
|
12666
|
+
Row: {
|
|
12667
|
+
attempts: number;
|
|
12668
|
+
gave_up_at: string | null;
|
|
12669
|
+
last_at: string;
|
|
12670
|
+
last_pct: number | null;
|
|
12671
|
+
next_at: string;
|
|
12672
|
+
order_id: string;
|
|
12673
|
+
};
|
|
12674
|
+
Insert: {
|
|
12675
|
+
attempts?: number;
|
|
12676
|
+
gave_up_at?: string | null;
|
|
12677
|
+
last_at?: string;
|
|
12678
|
+
last_pct?: number | null;
|
|
12679
|
+
next_at?: string;
|
|
12680
|
+
order_id: string;
|
|
12681
|
+
};
|
|
12682
|
+
Update: {
|
|
12683
|
+
attempts?: number;
|
|
12684
|
+
gave_up_at?: string | null;
|
|
12685
|
+
last_at?: string;
|
|
12686
|
+
last_pct?: number | null;
|
|
12687
|
+
next_at?: string;
|
|
12688
|
+
order_id?: string;
|
|
12689
|
+
};
|
|
12690
|
+
Relationships: [];
|
|
12691
|
+
};
|
|
12431
12692
|
logistics_plan_locks: {
|
|
12432
12693
|
Row: {
|
|
12433
12694
|
created_at: string;
|
|
@@ -17798,6 +18059,12 @@ export type Database = {
|
|
|
17798
18059
|
email_purpose: string | null;
|
|
17799
18060
|
enabled: boolean;
|
|
17800
18061
|
id: boolean;
|
|
18062
|
+
overrun_auto_mail: boolean;
|
|
18063
|
+
overrun_body_template: string;
|
|
18064
|
+
overrun_enabled: boolean;
|
|
18065
|
+
overrun_mail_minutes: number;
|
|
18066
|
+
overrun_notice_minutes: number;
|
|
18067
|
+
overrun_subject_template: string;
|
|
17801
18068
|
reply_to: string | null;
|
|
17802
18069
|
reschedule_body_template: string;
|
|
17803
18070
|
reschedule_subject_template: string;
|
|
@@ -17814,6 +18081,12 @@ export type Database = {
|
|
|
17814
18081
|
email_purpose?: string | null;
|
|
17815
18082
|
enabled?: boolean;
|
|
17816
18083
|
id?: boolean;
|
|
18084
|
+
overrun_auto_mail?: boolean;
|
|
18085
|
+
overrun_body_template?: string;
|
|
18086
|
+
overrun_enabled?: boolean;
|
|
18087
|
+
overrun_mail_minutes?: number;
|
|
18088
|
+
overrun_notice_minutes?: number;
|
|
18089
|
+
overrun_subject_template?: string;
|
|
17817
18090
|
reply_to?: string | null;
|
|
17818
18091
|
reschedule_body_template?: string;
|
|
17819
18092
|
reschedule_subject_template?: string;
|
|
@@ -17830,6 +18103,12 @@ export type Database = {
|
|
|
17830
18103
|
email_purpose?: string | null;
|
|
17831
18104
|
enabled?: boolean;
|
|
17832
18105
|
id?: boolean;
|
|
18106
|
+
overrun_auto_mail?: boolean;
|
|
18107
|
+
overrun_body_template?: string;
|
|
18108
|
+
overrun_enabled?: boolean;
|
|
18109
|
+
overrun_mail_minutes?: number;
|
|
18110
|
+
overrun_notice_minutes?: number;
|
|
18111
|
+
overrun_subject_template?: string;
|
|
17833
18112
|
reply_to?: string | null;
|
|
17834
18113
|
reschedule_body_template?: string;
|
|
17835
18114
|
reschedule_subject_template?: string;
|
|
@@ -17921,6 +18200,66 @@ export type Database = {
|
|
|
17921
18200
|
};
|
|
17922
18201
|
Relationships: [];
|
|
17923
18202
|
};
|
|
18203
|
+
planning_overrun_events: {
|
|
18204
|
+
Row: {
|
|
18205
|
+
created_at: string;
|
|
18206
|
+
id: string;
|
|
18207
|
+
mail_level: number;
|
|
18208
|
+
mailed_at: string | null;
|
|
18209
|
+
mailed_item_id: string | null;
|
|
18210
|
+
mailed_items: Json;
|
|
18211
|
+
monteur_id: string | null;
|
|
18212
|
+
original_end_at: string;
|
|
18213
|
+
overrun_minutes: number;
|
|
18214
|
+
planning_item_id: string;
|
|
18215
|
+
shifted: Json;
|
|
18216
|
+
updated_at: string;
|
|
18217
|
+
};
|
|
18218
|
+
Insert: {
|
|
18219
|
+
created_at?: string;
|
|
18220
|
+
id?: string;
|
|
18221
|
+
mail_level?: number;
|
|
18222
|
+
mailed_at?: string | null;
|
|
18223
|
+
mailed_item_id?: string | null;
|
|
18224
|
+
mailed_items?: Json;
|
|
18225
|
+
monteur_id?: string | null;
|
|
18226
|
+
original_end_at: string;
|
|
18227
|
+
overrun_minutes?: number;
|
|
18228
|
+
planning_item_id: string;
|
|
18229
|
+
shifted?: Json;
|
|
18230
|
+
updated_at?: string;
|
|
18231
|
+
};
|
|
18232
|
+
Update: {
|
|
18233
|
+
created_at?: string;
|
|
18234
|
+
id?: string;
|
|
18235
|
+
mail_level?: number;
|
|
18236
|
+
mailed_at?: string | null;
|
|
18237
|
+
mailed_item_id?: string | null;
|
|
18238
|
+
mailed_items?: Json;
|
|
18239
|
+
monteur_id?: string | null;
|
|
18240
|
+
original_end_at?: string;
|
|
18241
|
+
overrun_minutes?: number;
|
|
18242
|
+
planning_item_id?: string;
|
|
18243
|
+
shifted?: Json;
|
|
18244
|
+
updated_at?: string;
|
|
18245
|
+
};
|
|
18246
|
+
Relationships: [
|
|
18247
|
+
{
|
|
18248
|
+
foreignKeyName: "planning_overrun_events_planning_item_id_fkey";
|
|
18249
|
+
columns: ["planning_item_id"];
|
|
18250
|
+
isOneToOne: true;
|
|
18251
|
+
referencedRelation: "planning_items";
|
|
18252
|
+
referencedColumns: ["id"];
|
|
18253
|
+
},
|
|
18254
|
+
{
|
|
18255
|
+
foreignKeyName: "planning_overrun_events_planning_item_id_fkey";
|
|
18256
|
+
columns: ["planning_item_id"];
|
|
18257
|
+
isOneToOne: true;
|
|
18258
|
+
referencedRelation: "planning_overview";
|
|
18259
|
+
referencedColumns: ["id"];
|
|
18260
|
+
}
|
|
18261
|
+
];
|
|
18262
|
+
};
|
|
17924
18263
|
planning_settings: {
|
|
17925
18264
|
Row: {
|
|
17926
18265
|
company_address: string | null;
|
|
@@ -22421,7 +22760,7 @@ export type Database = {
|
|
|
22421
22760
|
reserved_stock?: number;
|
|
22422
22761
|
trade_item_key: string;
|
|
22423
22762
|
updated_at?: string;
|
|
22424
|
-
user_id
|
|
22763
|
+
user_id?: string;
|
|
22425
22764
|
};
|
|
22426
22765
|
Update: {
|
|
22427
22766
|
change_source?: string;
|
|
@@ -27622,6 +27961,24 @@ export type Database = {
|
|
|
27622
27961
|
isSetofReturn: true;
|
|
27623
27962
|
};
|
|
27624
27963
|
};
|
|
27964
|
+
claim_floriday_base_supply: {
|
|
27965
|
+
Args: {
|
|
27966
|
+
p_worker?: string;
|
|
27967
|
+
};
|
|
27968
|
+
Returns: {
|
|
27969
|
+
attempts: number;
|
|
27970
|
+
id: string;
|
|
27971
|
+
number_of_pieces: number;
|
|
27972
|
+
product_id: string;
|
|
27973
|
+
sale_price: number;
|
|
27974
|
+
stock_mode: string;
|
|
27975
|
+
target_week: number;
|
|
27976
|
+
target_year: number;
|
|
27977
|
+
trade_item_id: string;
|
|
27978
|
+
unit: string;
|
|
27979
|
+
uses_catalog_availability: boolean;
|
|
27980
|
+
}[];
|
|
27981
|
+
};
|
|
27625
27982
|
claim_floriday_stock_queue: {
|
|
27626
27983
|
Args: {
|
|
27627
27984
|
p_limit?: number;
|
|
@@ -27630,6 +27987,7 @@ export type Database = {
|
|
|
27630
27987
|
Returns: {
|
|
27631
27988
|
attempts: number;
|
|
27632
27989
|
availability_sent_at: string | null;
|
|
27990
|
+
base_supply_outcome: string | null;
|
|
27633
27991
|
connection_id: string;
|
|
27634
27992
|
created_at: string;
|
|
27635
27993
|
dead_lettered_at: string | null;
|
|
@@ -27642,8 +28000,12 @@ export type Database = {
|
|
|
27642
28000
|
locked_by: string | null;
|
|
27643
28001
|
next_attempt_at: string;
|
|
27644
28002
|
number_of_pieces: number;
|
|
28003
|
+
price_note: string | null;
|
|
28004
|
+
price_sent: number | null;
|
|
28005
|
+
price_status: string | null;
|
|
27645
28006
|
product_id: string | null;
|
|
27646
28007
|
quantity_sent_at: string | null;
|
|
28008
|
+
result_label: string | null;
|
|
27647
28009
|
sent_at: string | null;
|
|
27648
28010
|
skip_reason: string | null;
|
|
27649
28011
|
status: string;
|
|
@@ -27907,6 +28269,19 @@ export type Database = {
|
|
|
27907
28269
|
Args: never;
|
|
27908
28270
|
Returns: undefined;
|
|
27909
28271
|
};
|
|
28272
|
+
complete_floriday_base_supply: {
|
|
28273
|
+
Args: {
|
|
28274
|
+
p_attempt_id?: string;
|
|
28275
|
+
p_error?: string;
|
|
28276
|
+
p_id: string;
|
|
28277
|
+
p_kind: string;
|
|
28278
|
+
p_label?: string;
|
|
28279
|
+
p_outcome?: string;
|
|
28280
|
+
p_price?: number;
|
|
28281
|
+
p_price_status?: string;
|
|
28282
|
+
};
|
|
28283
|
+
Returns: string;
|
|
28284
|
+
};
|
|
27910
28285
|
complete_floriday_stock_queue: {
|
|
27911
28286
|
Args: {
|
|
27912
28287
|
p_attempt_id?: string;
|
|
@@ -28083,6 +28458,19 @@ export type Database = {
|
|
|
28083
28458
|
};
|
|
28084
28459
|
Returns: Json;
|
|
28085
28460
|
};
|
|
28461
|
+
dashboard_funnel_betaald: {
|
|
28462
|
+
Args: {
|
|
28463
|
+
_bedragen: number[];
|
|
28464
|
+
_statussen: string[];
|
|
28465
|
+
};
|
|
28466
|
+
Returns: boolean;
|
|
28467
|
+
};
|
|
28468
|
+
dashboard_jaar_start: {
|
|
28469
|
+
Args: {
|
|
28470
|
+
_vandaag: string;
|
|
28471
|
+
};
|
|
28472
|
+
Returns: string;
|
|
28473
|
+
};
|
|
28086
28474
|
dashboard_list_public_schema: {
|
|
28087
28475
|
Args: never;
|
|
28088
28476
|
Returns: {
|
|
@@ -28091,6 +28479,29 @@ export type Database = {
|
|
|
28091
28479
|
table_name: string;
|
|
28092
28480
|
}[];
|
|
28093
28481
|
};
|
|
28482
|
+
dashboard_werkbon_funnel: {
|
|
28483
|
+
Args: {
|
|
28484
|
+
_periode?: string;
|
|
28485
|
+
};
|
|
28486
|
+
Returns: Json;
|
|
28487
|
+
};
|
|
28488
|
+
dashboard_werkbon_jaarstats: {
|
|
28489
|
+
Args: never;
|
|
28490
|
+
Returns: Json;
|
|
28491
|
+
};
|
|
28492
|
+
dashboard_werkbon_soort: {
|
|
28493
|
+
Args: {
|
|
28494
|
+
_source: string;
|
|
28495
|
+
};
|
|
28496
|
+
Returns: string;
|
|
28497
|
+
};
|
|
28498
|
+
dashboard_werkbon_teller_plus: {
|
|
28499
|
+
Args: {
|
|
28500
|
+
_soort: string;
|
|
28501
|
+
_ts: string;
|
|
28502
|
+
};
|
|
28503
|
+
Returns: undefined;
|
|
28504
|
+
};
|
|
28094
28505
|
delete_samenstelling: {
|
|
28095
28506
|
Args: {
|
|
28096
28507
|
p_parent_id: string;
|
|
@@ -28384,6 +28795,17 @@ export type Database = {
|
|
|
28384
28795
|
};
|
|
28385
28796
|
Returns: string;
|
|
28386
28797
|
};
|
|
28798
|
+
fust_negative_stock_report: {
|
|
28799
|
+
Args: never;
|
|
28800
|
+
Returns: {
|
|
28801
|
+
duplicate_names: number;
|
|
28802
|
+
fust_key: string;
|
|
28803
|
+
fust_type_id: string;
|
|
28804
|
+
name: string;
|
|
28805
|
+
shortage: number;
|
|
28806
|
+
stock: number;
|
|
28807
|
+
}[];
|
|
28808
|
+
};
|
|
28387
28809
|
get_active_floriday_connection_public: {
|
|
28388
28810
|
Args: never;
|
|
28389
28811
|
Returns: {
|
|
@@ -30303,6 +30725,10 @@ export type Database = {
|
|
|
30303
30725
|
Args: never;
|
|
30304
30726
|
Returns: number;
|
|
30305
30727
|
};
|
|
30728
|
+
logistics_is_beheer: {
|
|
30729
|
+
Args: never;
|
|
30730
|
+
Returns: boolean;
|
|
30731
|
+
};
|
|
30306
30732
|
logistics_is_engine_response: {
|
|
30307
30733
|
Args: {
|
|
30308
30734
|
p_content: string;
|
|
@@ -30510,6 +30936,12 @@ export type Database = {
|
|
|
30510
30936
|
};
|
|
30511
30937
|
Returns: boolean;
|
|
30512
30938
|
};
|
|
30939
|
+
logistics_order_is_frozen: {
|
|
30940
|
+
Args: {
|
|
30941
|
+
p_order_id: string;
|
|
30942
|
+
};
|
|
30943
|
+
Returns: boolean;
|
|
30944
|
+
};
|
|
30513
30945
|
logistics_order_is_topick: {
|
|
30514
30946
|
Args: {
|
|
30515
30947
|
p_order_id: string;
|
|
@@ -30572,6 +31004,30 @@ export type Database = {
|
|
|
30572
31004
|
};
|
|
30573
31005
|
Returns: string;
|
|
30574
31006
|
};
|
|
31007
|
+
logistics_order_plan_coverage: {
|
|
31008
|
+
Args: {
|
|
31009
|
+
p_order_id: string;
|
|
31010
|
+
};
|
|
31011
|
+
Returns: Json;
|
|
31012
|
+
};
|
|
31013
|
+
logistics_order_plan_coverage_list: {
|
|
31014
|
+
Args: {
|
|
31015
|
+
p_order_ids: string[];
|
|
31016
|
+
};
|
|
31017
|
+
Returns: {
|
|
31018
|
+
buffer_id: string;
|
|
31019
|
+
cart_count: number;
|
|
31020
|
+
label: string;
|
|
31021
|
+
order_id: string;
|
|
31022
|
+
order_number: string;
|
|
31023
|
+
pick_row_count: number;
|
|
31024
|
+
pick_status: string;
|
|
31025
|
+
picked_at: string;
|
|
31026
|
+
progress_pct: number;
|
|
31027
|
+
reason: string;
|
|
31028
|
+
state: string;
|
|
31029
|
+
}[];
|
|
31030
|
+
};
|
|
30575
31031
|
logistics_order_released: {
|
|
30576
31032
|
Args: {
|
|
30577
31033
|
p_order_ref: string;
|
|
@@ -30732,12 +31188,22 @@ export type Database = {
|
|
|
30732
31188
|
order_id: string;
|
|
30733
31189
|
}[];
|
|
30734
31190
|
};
|
|
31191
|
+
logistics_plan_coverage_check: {
|
|
31192
|
+
Args: {
|
|
31193
|
+
p_limit?: number;
|
|
31194
|
+
};
|
|
31195
|
+
Returns: Json;
|
|
31196
|
+
};
|
|
30735
31197
|
logistics_plan_defer: {
|
|
30736
31198
|
Args: {
|
|
30737
31199
|
p_id: string;
|
|
30738
31200
|
};
|
|
30739
31201
|
Returns: undefined;
|
|
30740
31202
|
};
|
|
31203
|
+
logistics_plan_due_count: {
|
|
31204
|
+
Args: never;
|
|
31205
|
+
Returns: number;
|
|
31206
|
+
};
|
|
30741
31207
|
logistics_plan_enqueue: {
|
|
30742
31208
|
Args: {
|
|
30743
31209
|
p_order_id: string;
|
|
@@ -31046,6 +31512,16 @@ export type Database = {
|
|
|
31046
31512
|
};
|
|
31047
31513
|
Returns: Json;
|
|
31048
31514
|
};
|
|
31515
|
+
logistics_replan_candidates: {
|
|
31516
|
+
Args: {
|
|
31517
|
+
p_delivery_date?: string;
|
|
31518
|
+
p_include_frozen?: boolean;
|
|
31519
|
+
};
|
|
31520
|
+
Returns: {
|
|
31521
|
+
frozen: boolean;
|
|
31522
|
+
order_id: string;
|
|
31523
|
+
}[];
|
|
31524
|
+
};
|
|
31049
31525
|
logistics_replan_clear_foreign_cart_items: {
|
|
31050
31526
|
Args: {
|
|
31051
31527
|
p_order_id: string;
|
|
@@ -31065,6 +31541,21 @@ export type Database = {
|
|
|
31065
31541
|
};
|
|
31066
31542
|
Returns: Json;
|
|
31067
31543
|
};
|
|
31544
|
+
logistics_replan_preview: {
|
|
31545
|
+
Args: {
|
|
31546
|
+
p_delivery_date?: string;
|
|
31547
|
+
p_include_frozen?: boolean;
|
|
31548
|
+
};
|
|
31549
|
+
Returns: Json;
|
|
31550
|
+
};
|
|
31551
|
+
logistics_replan_selected: {
|
|
31552
|
+
Args: {
|
|
31553
|
+
p_confirm_count: number;
|
|
31554
|
+
p_delivery_date?: string;
|
|
31555
|
+
p_include_frozen?: boolean;
|
|
31556
|
+
};
|
|
31557
|
+
Returns: Json;
|
|
31558
|
+
};
|
|
31068
31559
|
logistics_replan_selected_orders: {
|
|
31069
31560
|
Args: {
|
|
31070
31561
|
p_order_ids: string[];
|
|
@@ -31234,6 +31725,13 @@ export type Database = {
|
|
|
31234
31725
|
};
|
|
31235
31726
|
Returns: number;
|
|
31236
31727
|
};
|
|
31728
|
+
logistics_set_components_scaled: {
|
|
31729
|
+
Args: {
|
|
31730
|
+
p_order_item_id: string;
|
|
31731
|
+
p_plants: number;
|
|
31732
|
+
};
|
|
31733
|
+
Returns: Json;
|
|
31734
|
+
};
|
|
31237
31735
|
logistics_set_order_priority: {
|
|
31238
31736
|
Args: {
|
|
31239
31737
|
p_order_ref: string;
|
|
@@ -33194,6 +33692,10 @@ export type Database = {
|
|
|
33194
33692
|
};
|
|
33195
33693
|
Returns: number;
|
|
33196
33694
|
};
|
|
33695
|
+
run_floriday_base_supply_process: {
|
|
33696
|
+
Args: never;
|
|
33697
|
+
Returns: undefined;
|
|
33698
|
+
};
|
|
33197
33699
|
run_floriday_continuous_stock_sync: {
|
|
33198
33700
|
Args: never;
|
|
33199
33701
|
Returns: undefined;
|
|
@@ -34553,16 +35055,40 @@ export type Database = {
|
|
|
34553
35055
|
};
|
|
34554
35056
|
Returns: Json;
|
|
34555
35057
|
};
|
|
35058
|
+
voorraad_can_write: {
|
|
35059
|
+
Args: never;
|
|
35060
|
+
Returns: boolean;
|
|
35061
|
+
};
|
|
34556
35062
|
voorraad_cleanup_old_rows: {
|
|
34557
35063
|
Args: never;
|
|
34558
35064
|
Returns: Json;
|
|
34559
35065
|
};
|
|
35066
|
+
voorraad_production_enabled: {
|
|
35067
|
+
Args: never;
|
|
35068
|
+
Returns: boolean;
|
|
35069
|
+
};
|
|
35070
|
+
voorraad_week_is_past: {
|
|
35071
|
+
Args: {
|
|
35072
|
+
p_week: number;
|
|
35073
|
+
p_year: number;
|
|
35074
|
+
};
|
|
35075
|
+
Returns: boolean;
|
|
35076
|
+
};
|
|
34560
35077
|
wake_print_queue: {
|
|
34561
35078
|
Args: {
|
|
34562
35079
|
_min_interval_ms?: number;
|
|
34563
35080
|
};
|
|
34564
35081
|
Returns: number;
|
|
34565
35082
|
};
|
|
35083
|
+
werkbon_format_project_number: {
|
|
35084
|
+
Args: {
|
|
35085
|
+
_parent_project_number?: string;
|
|
35086
|
+
_sequence_number: number;
|
|
35087
|
+
_source_type: string;
|
|
35088
|
+
_version: number;
|
|
35089
|
+
};
|
|
35090
|
+
Returns: string;
|
|
35091
|
+
};
|
|
34566
35092
|
werkbon_pakket_tijden: {
|
|
34567
35093
|
Args: {
|
|
34568
35094
|
_werkbon_id: string;
|
|
@@ -34585,6 +35111,14 @@ export type Database = {
|
|
|
34585
35111
|
total_minutes: number;
|
|
34586
35112
|
}[];
|
|
34587
35113
|
};
|
|
35114
|
+
wo_boek_standby_uren: {
|
|
35115
|
+
Args: {
|
|
35116
|
+
_datum: string;
|
|
35117
|
+
_minuten: number;
|
|
35118
|
+
_werkbon_id: string;
|
|
35119
|
+
};
|
|
35120
|
+
Returns: Json;
|
|
35121
|
+
};
|
|
34588
35122
|
wo_create_from_source: {
|
|
34589
35123
|
Args: {
|
|
34590
35124
|
_payload?: Json;
|