@flowselections/layout-maker 1.51.3 → 1.51.4
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/AfdrukKnop.js +64 -64
- package/dist-lib/components/NetwerkPrintersDialog.js +79 -79
- package/dist-lib/integrations/supabase/client.server.js +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +1 -31688
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +3159 -92
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -704,8 +704,10 @@ export type Database = {
|
|
|
704
704
|
eenheid: string;
|
|
705
705
|
fabrikant: string | null;
|
|
706
706
|
fetched_at: string;
|
|
707
|
+
foto_pad: string | null;
|
|
707
708
|
gtin: string | null;
|
|
708
709
|
id: string;
|
|
710
|
+
marge_procent: number | null;
|
|
709
711
|
naam: string;
|
|
710
712
|
netto_prijs_cent: number | null;
|
|
711
713
|
omschrijving: string | null;
|
|
@@ -722,8 +724,10 @@ export type Database = {
|
|
|
722
724
|
eenheid?: string;
|
|
723
725
|
fabrikant?: string | null;
|
|
724
726
|
fetched_at?: string;
|
|
727
|
+
foto_pad?: string | null;
|
|
725
728
|
gtin?: string | null;
|
|
726
729
|
id?: string;
|
|
730
|
+
marge_procent?: number | null;
|
|
727
731
|
naam: string;
|
|
728
732
|
netto_prijs_cent?: number | null;
|
|
729
733
|
omschrijving?: string | null;
|
|
@@ -740,8 +744,10 @@ export type Database = {
|
|
|
740
744
|
eenheid?: string;
|
|
741
745
|
fabrikant?: string | null;
|
|
742
746
|
fetched_at?: string;
|
|
747
|
+
foto_pad?: string | null;
|
|
743
748
|
gtin?: string | null;
|
|
744
749
|
id?: string;
|
|
750
|
+
marge_procent?: number | null;
|
|
745
751
|
naam?: string;
|
|
746
752
|
netto_prijs_cent?: number | null;
|
|
747
753
|
omschrijving?: string | null;
|
|
@@ -1046,6 +1052,7 @@ export type Database = {
|
|
|
1046
1052
|
auto_break_unpaid: boolean;
|
|
1047
1053
|
auto_stop_after_hours: number;
|
|
1048
1054
|
callout_fee: number;
|
|
1055
|
+
company_number: string | null;
|
|
1049
1056
|
created_at: string;
|
|
1050
1057
|
daily_regular_hours: number;
|
|
1051
1058
|
default_hourly_rate: number;
|
|
@@ -1077,6 +1084,7 @@ export type Database = {
|
|
|
1077
1084
|
auto_break_unpaid?: boolean;
|
|
1078
1085
|
auto_stop_after_hours?: number;
|
|
1079
1086
|
callout_fee?: number;
|
|
1087
|
+
company_number?: string | null;
|
|
1080
1088
|
created_at?: string;
|
|
1081
1089
|
daily_regular_hours?: number;
|
|
1082
1090
|
default_hourly_rate?: number;
|
|
@@ -1108,6 +1116,7 @@ export type Database = {
|
|
|
1108
1116
|
auto_break_unpaid?: boolean;
|
|
1109
1117
|
auto_stop_after_hours?: number;
|
|
1110
1118
|
callout_fee?: number;
|
|
1119
|
+
company_number?: string | null;
|
|
1111
1120
|
created_at?: string;
|
|
1112
1121
|
daily_regular_hours?: number;
|
|
1113
1122
|
default_hourly_rate?: number;
|
|
@@ -2536,6 +2545,8 @@ export type Database = {
|
|
|
2536
2545
|
billing_email: string | null;
|
|
2537
2546
|
bio: string | null;
|
|
2538
2547
|
blocked: boolean;
|
|
2548
|
+
blocked_locked: boolean | null;
|
|
2549
|
+
blocked_modified: string | null;
|
|
2539
2550
|
city: string | null;
|
|
2540
2551
|
coc_number: string | null;
|
|
2541
2552
|
commercial_name: string | null;
|
|
@@ -2545,6 +2556,9 @@ export type Database = {
|
|
|
2545
2556
|
country: string | null;
|
|
2546
2557
|
created_at: string;
|
|
2547
2558
|
credit_limit: number;
|
|
2559
|
+
credit_manager: string | null;
|
|
2560
|
+
credit_manager_name: string | null;
|
|
2561
|
+
credit_manager_shortname: string | null;
|
|
2548
2562
|
custom_fields: Json;
|
|
2549
2563
|
customer_class: string | null;
|
|
2550
2564
|
customer_number: string | null;
|
|
@@ -2577,6 +2591,7 @@ export type Database = {
|
|
|
2577
2591
|
phone: string | null;
|
|
2578
2592
|
postal_code: string | null;
|
|
2579
2593
|
product_groups: string[];
|
|
2594
|
+
reminder_email: string | null;
|
|
2580
2595
|
segments: string[];
|
|
2581
2596
|
send_reminder: string;
|
|
2582
2597
|
source: string;
|
|
@@ -2584,10 +2599,16 @@ export type Database = {
|
|
|
2584
2599
|
sync_error: string | null;
|
|
2585
2600
|
sync_status: string;
|
|
2586
2601
|
trade_forms: string[];
|
|
2602
|
+
twinfield_base_snapshot: Json | null;
|
|
2603
|
+
twinfield_base_version: number | null;
|
|
2587
2604
|
twinfield_code: string | null;
|
|
2588
2605
|
twinfield_last_hash: string | null;
|
|
2606
|
+
twinfield_missing_since: string | null;
|
|
2607
|
+
twinfield_present: boolean;
|
|
2589
2608
|
twinfield_sync_error: string | null;
|
|
2590
2609
|
twinfield_synced_at: string | null;
|
|
2610
|
+
twinfield_uid: string | null;
|
|
2611
|
+
twinfield_vat_code: string | null;
|
|
2591
2612
|
updated_at: string;
|
|
2592
2613
|
vat_display: string | null;
|
|
2593
2614
|
vat_number: string | null;
|
|
@@ -2615,6 +2636,8 @@ export type Database = {
|
|
|
2615
2636
|
billing_email?: string | null;
|
|
2616
2637
|
bio?: string | null;
|
|
2617
2638
|
blocked?: boolean;
|
|
2639
|
+
blocked_locked?: boolean | null;
|
|
2640
|
+
blocked_modified?: string | null;
|
|
2618
2641
|
city?: string | null;
|
|
2619
2642
|
coc_number?: string | null;
|
|
2620
2643
|
commercial_name?: string | null;
|
|
@@ -2624,6 +2647,9 @@ export type Database = {
|
|
|
2624
2647
|
country?: string | null;
|
|
2625
2648
|
created_at?: string;
|
|
2626
2649
|
credit_limit?: number;
|
|
2650
|
+
credit_manager?: string | null;
|
|
2651
|
+
credit_manager_name?: string | null;
|
|
2652
|
+
credit_manager_shortname?: string | null;
|
|
2627
2653
|
custom_fields?: Json;
|
|
2628
2654
|
customer_class?: string | null;
|
|
2629
2655
|
customer_number?: string | null;
|
|
@@ -2656,6 +2682,7 @@ export type Database = {
|
|
|
2656
2682
|
phone?: string | null;
|
|
2657
2683
|
postal_code?: string | null;
|
|
2658
2684
|
product_groups?: string[];
|
|
2685
|
+
reminder_email?: string | null;
|
|
2659
2686
|
segments?: string[];
|
|
2660
2687
|
send_reminder?: string;
|
|
2661
2688
|
source?: string;
|
|
@@ -2663,10 +2690,16 @@ export type Database = {
|
|
|
2663
2690
|
sync_error?: string | null;
|
|
2664
2691
|
sync_status?: string;
|
|
2665
2692
|
trade_forms?: string[];
|
|
2693
|
+
twinfield_base_snapshot?: Json | null;
|
|
2694
|
+
twinfield_base_version?: number | null;
|
|
2666
2695
|
twinfield_code?: string | null;
|
|
2667
2696
|
twinfield_last_hash?: string | null;
|
|
2697
|
+
twinfield_missing_since?: string | null;
|
|
2698
|
+
twinfield_present?: boolean;
|
|
2668
2699
|
twinfield_sync_error?: string | null;
|
|
2669
2700
|
twinfield_synced_at?: string | null;
|
|
2701
|
+
twinfield_uid?: string | null;
|
|
2702
|
+
twinfield_vat_code?: string | null;
|
|
2670
2703
|
updated_at?: string;
|
|
2671
2704
|
vat_display?: string | null;
|
|
2672
2705
|
vat_number?: string | null;
|
|
@@ -2694,6 +2727,8 @@ export type Database = {
|
|
|
2694
2727
|
billing_email?: string | null;
|
|
2695
2728
|
bio?: string | null;
|
|
2696
2729
|
blocked?: boolean;
|
|
2730
|
+
blocked_locked?: boolean | null;
|
|
2731
|
+
blocked_modified?: string | null;
|
|
2697
2732
|
city?: string | null;
|
|
2698
2733
|
coc_number?: string | null;
|
|
2699
2734
|
commercial_name?: string | null;
|
|
@@ -2703,6 +2738,9 @@ export type Database = {
|
|
|
2703
2738
|
country?: string | null;
|
|
2704
2739
|
created_at?: string;
|
|
2705
2740
|
credit_limit?: number;
|
|
2741
|
+
credit_manager?: string | null;
|
|
2742
|
+
credit_manager_name?: string | null;
|
|
2743
|
+
credit_manager_shortname?: string | null;
|
|
2706
2744
|
custom_fields?: Json;
|
|
2707
2745
|
customer_class?: string | null;
|
|
2708
2746
|
customer_number?: string | null;
|
|
@@ -2735,6 +2773,7 @@ export type Database = {
|
|
|
2735
2773
|
phone?: string | null;
|
|
2736
2774
|
postal_code?: string | null;
|
|
2737
2775
|
product_groups?: string[];
|
|
2776
|
+
reminder_email?: string | null;
|
|
2738
2777
|
segments?: string[];
|
|
2739
2778
|
send_reminder?: string;
|
|
2740
2779
|
source?: string;
|
|
@@ -2742,10 +2781,16 @@ export type Database = {
|
|
|
2742
2781
|
sync_error?: string | null;
|
|
2743
2782
|
sync_status?: string;
|
|
2744
2783
|
trade_forms?: string[];
|
|
2784
|
+
twinfield_base_snapshot?: Json | null;
|
|
2785
|
+
twinfield_base_version?: number | null;
|
|
2745
2786
|
twinfield_code?: string | null;
|
|
2746
2787
|
twinfield_last_hash?: string | null;
|
|
2788
|
+
twinfield_missing_since?: string | null;
|
|
2789
|
+
twinfield_present?: boolean;
|
|
2747
2790
|
twinfield_sync_error?: string | null;
|
|
2748
2791
|
twinfield_synced_at?: string | null;
|
|
2792
|
+
twinfield_uid?: string | null;
|
|
2793
|
+
twinfield_vat_code?: string | null;
|
|
2749
2794
|
updated_at?: string;
|
|
2750
2795
|
vat_display?: string | null;
|
|
2751
2796
|
vat_number?: string | null;
|
|
@@ -3014,6 +3059,27 @@ export type Database = {
|
|
|
3014
3059
|
}
|
|
3015
3060
|
];
|
|
3016
3061
|
};
|
|
3062
|
+
dashboard_funnel_indelingen: {
|
|
3063
|
+
Row: {
|
|
3064
|
+
created_at: string;
|
|
3065
|
+
posities: Json;
|
|
3066
|
+
updated_at: string;
|
|
3067
|
+
user_id: string;
|
|
3068
|
+
};
|
|
3069
|
+
Insert: {
|
|
3070
|
+
created_at?: string;
|
|
3071
|
+
posities?: Json;
|
|
3072
|
+
updated_at?: string;
|
|
3073
|
+
user_id?: string;
|
|
3074
|
+
};
|
|
3075
|
+
Update: {
|
|
3076
|
+
created_at?: string;
|
|
3077
|
+
posities?: Json;
|
|
3078
|
+
updated_at?: string;
|
|
3079
|
+
user_id?: string;
|
|
3080
|
+
};
|
|
3081
|
+
Relationships: [];
|
|
3082
|
+
};
|
|
3017
3083
|
dashboard_pages: {
|
|
3018
3084
|
Row: {
|
|
3019
3085
|
created_at: string;
|
|
@@ -3080,6 +3146,165 @@ export type Database = {
|
|
|
3080
3146
|
};
|
|
3081
3147
|
Relationships: [];
|
|
3082
3148
|
};
|
|
3149
|
+
dashboard_snelkoppelingen: {
|
|
3150
|
+
Row: {
|
|
3151
|
+
created_at: string;
|
|
3152
|
+
id: string;
|
|
3153
|
+
pad: string;
|
|
3154
|
+
titel: string;
|
|
3155
|
+
updated_at: string;
|
|
3156
|
+
user_id: string;
|
|
3157
|
+
volgorde: number;
|
|
3158
|
+
};
|
|
3159
|
+
Insert: {
|
|
3160
|
+
created_at?: string;
|
|
3161
|
+
id?: string;
|
|
3162
|
+
pad: string;
|
|
3163
|
+
titel: string;
|
|
3164
|
+
updated_at?: string;
|
|
3165
|
+
user_id?: string;
|
|
3166
|
+
volgorde?: number;
|
|
3167
|
+
};
|
|
3168
|
+
Update: {
|
|
3169
|
+
created_at?: string;
|
|
3170
|
+
id?: string;
|
|
3171
|
+
pad?: string;
|
|
3172
|
+
titel?: string;
|
|
3173
|
+
updated_at?: string;
|
|
3174
|
+
user_id?: string;
|
|
3175
|
+
volgorde?: number;
|
|
3176
|
+
};
|
|
3177
|
+
Relationships: [];
|
|
3178
|
+
};
|
|
3179
|
+
dashboard_werkbon_dagtellers: {
|
|
3180
|
+
Row: {
|
|
3181
|
+
aantal: number;
|
|
3182
|
+
created_at: string;
|
|
3183
|
+
datum: string;
|
|
3184
|
+
soort: string;
|
|
3185
|
+
updated_at: string;
|
|
3186
|
+
};
|
|
3187
|
+
Insert: {
|
|
3188
|
+
aantal?: number;
|
|
3189
|
+
created_at?: string;
|
|
3190
|
+
datum: string;
|
|
3191
|
+
soort: string;
|
|
3192
|
+
updated_at?: string;
|
|
3193
|
+
};
|
|
3194
|
+
Update: {
|
|
3195
|
+
aantal?: number;
|
|
3196
|
+
created_at?: string;
|
|
3197
|
+
datum?: string;
|
|
3198
|
+
soort?: string;
|
|
3199
|
+
updated_at?: string;
|
|
3200
|
+
};
|
|
3201
|
+
Relationships: [];
|
|
3202
|
+
};
|
|
3203
|
+
dashboard_werkbon_factuurhistorie: {
|
|
3204
|
+
Row: {
|
|
3205
|
+
bedrag_cents: number;
|
|
3206
|
+
created_at: string;
|
|
3207
|
+
factuur_id: string;
|
|
3208
|
+
status: string;
|
|
3209
|
+
updated_at: string;
|
|
3210
|
+
werkbon_id: string;
|
|
3211
|
+
};
|
|
3212
|
+
Insert: {
|
|
3213
|
+
bedrag_cents: number;
|
|
3214
|
+
created_at?: string;
|
|
3215
|
+
factuur_id: string;
|
|
3216
|
+
status: string;
|
|
3217
|
+
updated_at?: string;
|
|
3218
|
+
werkbon_id: string;
|
|
3219
|
+
};
|
|
3220
|
+
Update: {
|
|
3221
|
+
bedrag_cents?: number;
|
|
3222
|
+
created_at?: string;
|
|
3223
|
+
factuur_id?: string;
|
|
3224
|
+
status?: string;
|
|
3225
|
+
updated_at?: string;
|
|
3226
|
+
werkbon_id?: string;
|
|
3227
|
+
};
|
|
3228
|
+
Relationships: [];
|
|
3229
|
+
};
|
|
3230
|
+
dashboard_werkbon_historie: {
|
|
3231
|
+
Row: {
|
|
3232
|
+
aangemaakt_op: string;
|
|
3233
|
+
afgerond_op: string | null;
|
|
3234
|
+
created_at: string;
|
|
3235
|
+
parent_werkbon_id: string | null;
|
|
3236
|
+
soort: string;
|
|
3237
|
+
updated_at: string;
|
|
3238
|
+
werkbon_id: string;
|
|
3239
|
+
};
|
|
3240
|
+
Insert: {
|
|
3241
|
+
aangemaakt_op: string;
|
|
3242
|
+
afgerond_op?: string | null;
|
|
3243
|
+
created_at?: string;
|
|
3244
|
+
parent_werkbon_id?: string | null;
|
|
3245
|
+
soort: string;
|
|
3246
|
+
updated_at?: string;
|
|
3247
|
+
werkbon_id: string;
|
|
3248
|
+
};
|
|
3249
|
+
Update: {
|
|
3250
|
+
aangemaakt_op?: string;
|
|
3251
|
+
afgerond_op?: string | null;
|
|
3252
|
+
created_at?: string;
|
|
3253
|
+
parent_werkbon_id?: string | null;
|
|
3254
|
+
soort?: string;
|
|
3255
|
+
updated_at?: string;
|
|
3256
|
+
werkbon_id?: string;
|
|
3257
|
+
};
|
|
3258
|
+
Relationships: [];
|
|
3259
|
+
};
|
|
3260
|
+
dashboard_werkbon_mailhistorie: {
|
|
3261
|
+
Row: {
|
|
3262
|
+
created_at: string;
|
|
3263
|
+
goedgekeurd_op: string;
|
|
3264
|
+
updated_at: string;
|
|
3265
|
+
voorstel_id: string;
|
|
3266
|
+
werkbon_id: string | null;
|
|
3267
|
+
};
|
|
3268
|
+
Insert: {
|
|
3269
|
+
created_at?: string;
|
|
3270
|
+
goedgekeurd_op: string;
|
|
3271
|
+
updated_at?: string;
|
|
3272
|
+
voorstel_id: string;
|
|
3273
|
+
werkbon_id?: string | null;
|
|
3274
|
+
};
|
|
3275
|
+
Update: {
|
|
3276
|
+
created_at?: string;
|
|
3277
|
+
goedgekeurd_op?: string;
|
|
3278
|
+
updated_at?: string;
|
|
3279
|
+
voorstel_id?: string;
|
|
3280
|
+
werkbon_id?: string | null;
|
|
3281
|
+
};
|
|
3282
|
+
Relationships: [];
|
|
3283
|
+
};
|
|
3284
|
+
dashboard_werkbon_tellers: {
|
|
3285
|
+
Row: {
|
|
3286
|
+
aantal: number;
|
|
3287
|
+
jaar: number;
|
|
3288
|
+
maand: number;
|
|
3289
|
+
soort: string;
|
|
3290
|
+
updated_at: string;
|
|
3291
|
+
};
|
|
3292
|
+
Insert: {
|
|
3293
|
+
aantal?: number;
|
|
3294
|
+
jaar: number;
|
|
3295
|
+
maand: number;
|
|
3296
|
+
soort: string;
|
|
3297
|
+
updated_at?: string;
|
|
3298
|
+
};
|
|
3299
|
+
Update: {
|
|
3300
|
+
aantal?: number;
|
|
3301
|
+
jaar?: number;
|
|
3302
|
+
maand?: number;
|
|
3303
|
+
soort?: string;
|
|
3304
|
+
updated_at?: string;
|
|
3305
|
+
};
|
|
3306
|
+
Relationships: [];
|
|
3307
|
+
};
|
|
3083
3308
|
delivery_notes: {
|
|
3084
3309
|
Row: {
|
|
3085
3310
|
byte_size: number | null;
|
|
@@ -6602,19 +6827,28 @@ export type Database = {
|
|
|
6602
6827
|
floriday_continuous_stock_queue: {
|
|
6603
6828
|
Row: {
|
|
6604
6829
|
attempts: number;
|
|
6830
|
+
availability_sent_at: string | null;
|
|
6831
|
+
base_supply_outcome: string | null;
|
|
6605
6832
|
connection_id: string;
|
|
6606
6833
|
created_at: string;
|
|
6607
6834
|
dead_lettered_at: string | null;
|
|
6608
6835
|
desired_available: boolean | null;
|
|
6609
6836
|
gateway_attempt_id: string | null;
|
|
6837
|
+
gateway_unreachable_since: string | null;
|
|
6610
6838
|
id: string;
|
|
6611
6839
|
last_error: string | null;
|
|
6612
6840
|
locked_at: string | null;
|
|
6613
6841
|
locked_by: string | null;
|
|
6614
6842
|
next_attempt_at: string;
|
|
6615
6843
|
number_of_pieces: number;
|
|
6844
|
+
price_note: string | null;
|
|
6845
|
+
price_sent: number | null;
|
|
6846
|
+
price_status: string | null;
|
|
6616
6847
|
product_id: string | null;
|
|
6848
|
+
quantity_sent_at: string | null;
|
|
6849
|
+
result_label: string | null;
|
|
6617
6850
|
sent_at: string | null;
|
|
6851
|
+
skip_reason: string | null;
|
|
6618
6852
|
status: string;
|
|
6619
6853
|
stock_mode: string | null;
|
|
6620
6854
|
superseded_by: string | null;
|
|
@@ -6626,19 +6860,28 @@ export type Database = {
|
|
|
6626
6860
|
};
|
|
6627
6861
|
Insert: {
|
|
6628
6862
|
attempts?: number;
|
|
6863
|
+
availability_sent_at?: string | null;
|
|
6864
|
+
base_supply_outcome?: string | null;
|
|
6629
6865
|
connection_id: string;
|
|
6630
6866
|
created_at?: string;
|
|
6631
6867
|
dead_lettered_at?: string | null;
|
|
6632
6868
|
desired_available?: boolean | null;
|
|
6633
6869
|
gateway_attempt_id?: string | null;
|
|
6870
|
+
gateway_unreachable_since?: string | null;
|
|
6634
6871
|
id?: string;
|
|
6635
6872
|
last_error?: string | null;
|
|
6636
6873
|
locked_at?: string | null;
|
|
6637
6874
|
locked_by?: string | null;
|
|
6638
6875
|
next_attempt_at?: string;
|
|
6639
6876
|
number_of_pieces?: number;
|
|
6877
|
+
price_note?: string | null;
|
|
6878
|
+
price_sent?: number | null;
|
|
6879
|
+
price_status?: string | null;
|
|
6640
6880
|
product_id?: string | null;
|
|
6881
|
+
quantity_sent_at?: string | null;
|
|
6882
|
+
result_label?: string | null;
|
|
6641
6883
|
sent_at?: string | null;
|
|
6884
|
+
skip_reason?: string | null;
|
|
6642
6885
|
status?: string;
|
|
6643
6886
|
stock_mode?: string | null;
|
|
6644
6887
|
superseded_by?: string | null;
|
|
@@ -6650,19 +6893,28 @@ export type Database = {
|
|
|
6650
6893
|
};
|
|
6651
6894
|
Update: {
|
|
6652
6895
|
attempts?: number;
|
|
6896
|
+
availability_sent_at?: string | null;
|
|
6897
|
+
base_supply_outcome?: string | null;
|
|
6653
6898
|
connection_id?: string;
|
|
6654
6899
|
created_at?: string;
|
|
6655
6900
|
dead_lettered_at?: string | null;
|
|
6656
6901
|
desired_available?: boolean | null;
|
|
6657
6902
|
gateway_attempt_id?: string | null;
|
|
6903
|
+
gateway_unreachable_since?: string | null;
|
|
6658
6904
|
id?: string;
|
|
6659
6905
|
last_error?: string | null;
|
|
6660
6906
|
locked_at?: string | null;
|
|
6661
6907
|
locked_by?: string | null;
|
|
6662
6908
|
next_attempt_at?: string;
|
|
6663
6909
|
number_of_pieces?: number;
|
|
6910
|
+
price_note?: string | null;
|
|
6911
|
+
price_sent?: number | null;
|
|
6912
|
+
price_status?: string | null;
|
|
6664
6913
|
product_id?: string | null;
|
|
6914
|
+
quantity_sent_at?: string | null;
|
|
6915
|
+
result_label?: string | null;
|
|
6665
6916
|
sent_at?: string | null;
|
|
6917
|
+
skip_reason?: string | null;
|
|
6666
6918
|
status?: string;
|
|
6667
6919
|
stock_mode?: string | null;
|
|
6668
6920
|
superseded_by?: string | null;
|
|
@@ -6860,9 +7112,15 @@ export type Database = {
|
|
|
6860
7112
|
fetched_at: string;
|
|
6861
7113
|
gln_code: string | null;
|
|
6862
7114
|
is_deleted: boolean;
|
|
7115
|
+
mailing_address: Json | null;
|
|
6863
7116
|
name: string | null;
|
|
6864
7117
|
organization_id: string;
|
|
7118
|
+
payment_providers: Json | null;
|
|
7119
|
+
physical_address: Json | null;
|
|
7120
|
+
rfh_company_account_id: string | null;
|
|
7121
|
+
rfh_relation_id: string | null;
|
|
6865
7122
|
sequence_number: number | null;
|
|
7123
|
+
updated_at: string | null;
|
|
6866
7124
|
};
|
|
6867
7125
|
Insert: {
|
|
6868
7126
|
connection_id?: string | null;
|
|
@@ -6870,9 +7128,15 @@ export type Database = {
|
|
|
6870
7128
|
fetched_at?: string;
|
|
6871
7129
|
gln_code?: string | null;
|
|
6872
7130
|
is_deleted?: boolean;
|
|
7131
|
+
mailing_address?: Json | null;
|
|
6873
7132
|
name?: string | null;
|
|
6874
7133
|
organization_id: string;
|
|
7134
|
+
payment_providers?: Json | null;
|
|
7135
|
+
physical_address?: Json | null;
|
|
7136
|
+
rfh_company_account_id?: string | null;
|
|
7137
|
+
rfh_relation_id?: string | null;
|
|
6875
7138
|
sequence_number?: number | null;
|
|
7139
|
+
updated_at?: string | null;
|
|
6876
7140
|
};
|
|
6877
7141
|
Update: {
|
|
6878
7142
|
connection_id?: string | null;
|
|
@@ -6880,9 +7144,15 @@ export type Database = {
|
|
|
6880
7144
|
fetched_at?: string;
|
|
6881
7145
|
gln_code?: string | null;
|
|
6882
7146
|
is_deleted?: boolean;
|
|
7147
|
+
mailing_address?: Json | null;
|
|
6883
7148
|
name?: string | null;
|
|
6884
7149
|
organization_id?: string;
|
|
7150
|
+
payment_providers?: Json | null;
|
|
7151
|
+
physical_address?: Json | null;
|
|
7152
|
+
rfh_company_account_id?: string | null;
|
|
7153
|
+
rfh_relation_id?: string | null;
|
|
6885
7154
|
sequence_number?: number | null;
|
|
7155
|
+
updated_at?: string | null;
|
|
6886
7156
|
};
|
|
6887
7157
|
Relationships: [
|
|
6888
7158
|
{
|
|
@@ -7170,7 +7440,9 @@ export type Database = {
|
|
|
7170
7440
|
};
|
|
7171
7441
|
floriday_inventory_settings: {
|
|
7172
7442
|
Row: {
|
|
7443
|
+
action_reason: string | null;
|
|
7173
7444
|
buffer_quantity: number;
|
|
7445
|
+
computed_available: number | null;
|
|
7174
7446
|
connection_id: string;
|
|
7175
7447
|
created_at: string;
|
|
7176
7448
|
desired_availability: boolean;
|
|
@@ -7182,21 +7454,27 @@ export type Database = {
|
|
|
7182
7454
|
last_enqueued_at: string | null;
|
|
7183
7455
|
last_published_at: string | null;
|
|
7184
7456
|
last_sync_error: string | null;
|
|
7457
|
+
limiting_product_id: string | null;
|
|
7185
7458
|
manual_quantity: number | null;
|
|
7186
7459
|
maximum_quantity: number | null;
|
|
7460
|
+
packing_size: number | null;
|
|
7187
7461
|
product_id: string;
|
|
7462
|
+
product_type: string | null;
|
|
7188
7463
|
quantity_control: string;
|
|
7189
7464
|
remote_available: boolean | null;
|
|
7190
7465
|
remote_checked_at: string | null;
|
|
7191
7466
|
remote_quantity: number | null;
|
|
7192
7467
|
stock_mode: string;
|
|
7468
|
+
structure_detail: Json | null;
|
|
7193
7469
|
sync_status: string;
|
|
7194
7470
|
updated_at: string;
|
|
7195
7471
|
updated_by: string | null;
|
|
7196
7472
|
user_id: string;
|
|
7197
7473
|
};
|
|
7198
7474
|
Insert: {
|
|
7475
|
+
action_reason?: string | null;
|
|
7199
7476
|
buffer_quantity?: number;
|
|
7477
|
+
computed_available?: number | null;
|
|
7200
7478
|
connection_id: string;
|
|
7201
7479
|
created_at?: string;
|
|
7202
7480
|
desired_availability?: boolean;
|
|
@@ -7208,21 +7486,27 @@ export type Database = {
|
|
|
7208
7486
|
last_enqueued_at?: string | null;
|
|
7209
7487
|
last_published_at?: string | null;
|
|
7210
7488
|
last_sync_error?: string | null;
|
|
7489
|
+
limiting_product_id?: string | null;
|
|
7211
7490
|
manual_quantity?: number | null;
|
|
7212
7491
|
maximum_quantity?: number | null;
|
|
7492
|
+
packing_size?: number | null;
|
|
7213
7493
|
product_id: string;
|
|
7494
|
+
product_type?: string | null;
|
|
7214
7495
|
quantity_control?: string;
|
|
7215
7496
|
remote_available?: boolean | null;
|
|
7216
7497
|
remote_checked_at?: string | null;
|
|
7217
7498
|
remote_quantity?: number | null;
|
|
7218
7499
|
stock_mode?: string;
|
|
7500
|
+
structure_detail?: Json | null;
|
|
7219
7501
|
sync_status?: string;
|
|
7220
7502
|
updated_at?: string;
|
|
7221
7503
|
updated_by?: string | null;
|
|
7222
7504
|
user_id: string;
|
|
7223
7505
|
};
|
|
7224
7506
|
Update: {
|
|
7507
|
+
action_reason?: string | null;
|
|
7225
7508
|
buffer_quantity?: number;
|
|
7509
|
+
computed_available?: number | null;
|
|
7226
7510
|
connection_id?: string;
|
|
7227
7511
|
created_at?: string;
|
|
7228
7512
|
desired_availability?: boolean;
|
|
@@ -7234,20 +7518,39 @@ export type Database = {
|
|
|
7234
7518
|
last_enqueued_at?: string | null;
|
|
7235
7519
|
last_published_at?: string | null;
|
|
7236
7520
|
last_sync_error?: string | null;
|
|
7521
|
+
limiting_product_id?: string | null;
|
|
7237
7522
|
manual_quantity?: number | null;
|
|
7238
7523
|
maximum_quantity?: number | null;
|
|
7524
|
+
packing_size?: number | null;
|
|
7239
7525
|
product_id?: string;
|
|
7526
|
+
product_type?: string | null;
|
|
7240
7527
|
quantity_control?: string;
|
|
7241
7528
|
remote_available?: boolean | null;
|
|
7242
7529
|
remote_checked_at?: string | null;
|
|
7243
7530
|
remote_quantity?: number | null;
|
|
7244
7531
|
stock_mode?: string;
|
|
7532
|
+
structure_detail?: Json | null;
|
|
7245
7533
|
sync_status?: string;
|
|
7246
7534
|
updated_at?: string;
|
|
7247
7535
|
updated_by?: string | null;
|
|
7248
7536
|
user_id?: string;
|
|
7249
7537
|
};
|
|
7250
|
-
Relationships: [
|
|
7538
|
+
Relationships: [
|
|
7539
|
+
{
|
|
7540
|
+
foreignKeyName: "floriday_inventory_settings_product_id_fkey";
|
|
7541
|
+
columns: ["product_id"];
|
|
7542
|
+
isOneToOne: false;
|
|
7543
|
+
referencedRelation: "logistics_product_dimensions";
|
|
7544
|
+
referencedColumns: ["product_id"];
|
|
7545
|
+
},
|
|
7546
|
+
{
|
|
7547
|
+
foreignKeyName: "floriday_inventory_settings_product_id_fkey";
|
|
7548
|
+
columns: ["product_id"];
|
|
7549
|
+
isOneToOne: false;
|
|
7550
|
+
referencedRelation: "products";
|
|
7551
|
+
referencedColumns: ["id"];
|
|
7552
|
+
}
|
|
7553
|
+
];
|
|
7251
7554
|
};
|
|
7252
7555
|
floriday_invoices_cache: {
|
|
7253
7556
|
Row: {
|
|
@@ -7335,6 +7638,87 @@ export type Database = {
|
|
|
7335
7638
|
};
|
|
7336
7639
|
Relationships: [];
|
|
7337
7640
|
};
|
|
7641
|
+
floriday_loading_attempts: {
|
|
7642
|
+
Row: {
|
|
7643
|
+
code: string | null;
|
|
7644
|
+
created_at: string;
|
|
7645
|
+
created_by: string | null;
|
|
7646
|
+
delivery_note_url: string | null;
|
|
7647
|
+
delivery_order_id: string | null;
|
|
7648
|
+
fulfillment_order_id: string;
|
|
7649
|
+
http_status: number | null;
|
|
7650
|
+
id: string;
|
|
7651
|
+
message: string | null;
|
|
7652
|
+
order_refs: string[];
|
|
7653
|
+
request_summary: Json;
|
|
7654
|
+
sales_order_ids: string[];
|
|
7655
|
+
skipped_requests: Json;
|
|
7656
|
+
step: string;
|
|
7657
|
+
warnings: Json;
|
|
7658
|
+
};
|
|
7659
|
+
Insert: {
|
|
7660
|
+
code?: string | null;
|
|
7661
|
+
created_at?: string;
|
|
7662
|
+
created_by?: string | null;
|
|
7663
|
+
delivery_note_url?: string | null;
|
|
7664
|
+
delivery_order_id?: string | null;
|
|
7665
|
+
fulfillment_order_id: string;
|
|
7666
|
+
http_status?: number | null;
|
|
7667
|
+
id?: string;
|
|
7668
|
+
message?: string | null;
|
|
7669
|
+
order_refs?: string[];
|
|
7670
|
+
request_summary?: Json;
|
|
7671
|
+
sales_order_ids?: string[];
|
|
7672
|
+
skipped_requests?: Json;
|
|
7673
|
+
step: string;
|
|
7674
|
+
warnings?: Json;
|
|
7675
|
+
};
|
|
7676
|
+
Update: {
|
|
7677
|
+
code?: string | null;
|
|
7678
|
+
created_at?: string;
|
|
7679
|
+
created_by?: string | null;
|
|
7680
|
+
delivery_note_url?: string | null;
|
|
7681
|
+
delivery_order_id?: string | null;
|
|
7682
|
+
fulfillment_order_id?: string;
|
|
7683
|
+
http_status?: number | null;
|
|
7684
|
+
id?: string;
|
|
7685
|
+
message?: string | null;
|
|
7686
|
+
order_refs?: string[];
|
|
7687
|
+
request_summary?: Json;
|
|
7688
|
+
sales_order_ids?: string[];
|
|
7689
|
+
skipped_requests?: Json;
|
|
7690
|
+
step?: string;
|
|
7691
|
+
warnings?: Json;
|
|
7692
|
+
};
|
|
7693
|
+
Relationships: [];
|
|
7694
|
+
};
|
|
7695
|
+
floriday_loading_identifiers: {
|
|
7696
|
+
Row: {
|
|
7697
|
+
created_at: string;
|
|
7698
|
+
created_by: string | null;
|
|
7699
|
+
id: string;
|
|
7700
|
+
identifier: string;
|
|
7701
|
+
natural_key: string;
|
|
7702
|
+
scope: string;
|
|
7703
|
+
};
|
|
7704
|
+
Insert: {
|
|
7705
|
+
created_at?: string;
|
|
7706
|
+
created_by?: string | null;
|
|
7707
|
+
id?: string;
|
|
7708
|
+
identifier?: string;
|
|
7709
|
+
natural_key: string;
|
|
7710
|
+
scope: string;
|
|
7711
|
+
};
|
|
7712
|
+
Update: {
|
|
7713
|
+
created_at?: string;
|
|
7714
|
+
created_by?: string | null;
|
|
7715
|
+
id?: string;
|
|
7716
|
+
identifier?: string;
|
|
7717
|
+
natural_key?: string;
|
|
7718
|
+
scope?: string;
|
|
7719
|
+
};
|
|
7720
|
+
Relationships: [];
|
|
7721
|
+
};
|
|
7338
7722
|
floriday_log_retention: {
|
|
7339
7723
|
Row: {
|
|
7340
7724
|
created_at: string;
|
|
@@ -7409,6 +7793,39 @@ export type Database = {
|
|
|
7409
7793
|
}
|
|
7410
7794
|
];
|
|
7411
7795
|
};
|
|
7796
|
+
floriday_merge_log: {
|
|
7797
|
+
Row: {
|
|
7798
|
+
action: string;
|
|
7799
|
+
created_at: string;
|
|
7800
|
+
floriday_sales_order_ids: Json;
|
|
7801
|
+
id: string;
|
|
7802
|
+
kept_order_id: string | null;
|
|
7803
|
+
lines: Json;
|
|
7804
|
+
reason: string | null;
|
|
7805
|
+
removed_order_id: string | null;
|
|
7806
|
+
};
|
|
7807
|
+
Insert: {
|
|
7808
|
+
action: string;
|
|
7809
|
+
created_at?: string;
|
|
7810
|
+
floriday_sales_order_ids?: Json;
|
|
7811
|
+
id?: string;
|
|
7812
|
+
kept_order_id?: string | null;
|
|
7813
|
+
lines?: Json;
|
|
7814
|
+
reason?: string | null;
|
|
7815
|
+
removed_order_id?: string | null;
|
|
7816
|
+
};
|
|
7817
|
+
Update: {
|
|
7818
|
+
action?: string;
|
|
7819
|
+
created_at?: string;
|
|
7820
|
+
floriday_sales_order_ids?: Json;
|
|
7821
|
+
id?: string;
|
|
7822
|
+
kept_order_id?: string | null;
|
|
7823
|
+
lines?: Json;
|
|
7824
|
+
reason?: string | null;
|
|
7825
|
+
removed_order_id?: string | null;
|
|
7826
|
+
};
|
|
7827
|
+
Relationships: [];
|
|
7828
|
+
};
|
|
7412
7829
|
floriday_network_cache: {
|
|
7413
7830
|
Row: {
|
|
7414
7831
|
city: string | null;
|
|
@@ -7563,16 +7980,49 @@ export type Database = {
|
|
|
7563
7980
|
}
|
|
7564
7981
|
];
|
|
7565
7982
|
};
|
|
7566
|
-
|
|
7983
|
+
floriday_queue_cleanup_runs: {
|
|
7567
7984
|
Row: {
|
|
7568
|
-
|
|
7569
|
-
|
|
7570
|
-
|
|
7985
|
+
created_at: string;
|
|
7986
|
+
deleted: Json;
|
|
7987
|
+
error: string | null;
|
|
7988
|
+
finished_at: string | null;
|
|
7989
|
+
id: string;
|
|
7990
|
+
more_remaining: boolean;
|
|
7991
|
+
orphan_settings: number | null;
|
|
7992
|
+
started_at: string;
|
|
7571
7993
|
};
|
|
7572
7994
|
Insert: {
|
|
7573
|
-
|
|
7574
|
-
|
|
7575
|
-
|
|
7995
|
+
created_at?: string;
|
|
7996
|
+
deleted?: Json;
|
|
7997
|
+
error?: string | null;
|
|
7998
|
+
finished_at?: string | null;
|
|
7999
|
+
id?: string;
|
|
8000
|
+
more_remaining?: boolean;
|
|
8001
|
+
orphan_settings?: number | null;
|
|
8002
|
+
started_at?: string;
|
|
8003
|
+
};
|
|
8004
|
+
Update: {
|
|
8005
|
+
created_at?: string;
|
|
8006
|
+
deleted?: Json;
|
|
8007
|
+
error?: string | null;
|
|
8008
|
+
finished_at?: string | null;
|
|
8009
|
+
id?: string;
|
|
8010
|
+
more_remaining?: boolean;
|
|
8011
|
+
orphan_settings?: number | null;
|
|
8012
|
+
started_at?: string;
|
|
8013
|
+
};
|
|
8014
|
+
Relationships: [];
|
|
8015
|
+
};
|
|
8016
|
+
floriday_rate_limit_state: {
|
|
8017
|
+
Row: {
|
|
8018
|
+
bucket: string;
|
|
8019
|
+
last_refill_at: string;
|
|
8020
|
+
tokens: number;
|
|
8021
|
+
};
|
|
8022
|
+
Insert: {
|
|
8023
|
+
bucket: string;
|
|
8024
|
+
last_refill_at?: string;
|
|
8025
|
+
tokens: number;
|
|
7576
8026
|
};
|
|
7577
8027
|
Update: {
|
|
7578
8028
|
bucket?: string;
|
|
@@ -7581,6 +8031,60 @@ export type Database = {
|
|
|
7581
8031
|
};
|
|
7582
8032
|
Relationships: [];
|
|
7583
8033
|
};
|
|
8034
|
+
floriday_reconcile_runs: {
|
|
8035
|
+
Row: {
|
|
8036
|
+
connection_id: string | null;
|
|
8037
|
+
created_at: string;
|
|
8038
|
+
finished_at: string | null;
|
|
8039
|
+
first_error: string | null;
|
|
8040
|
+
id: string;
|
|
8041
|
+
items_checked: number;
|
|
8042
|
+
items_drift: number;
|
|
8043
|
+
items_no_supply: number;
|
|
8044
|
+
last_http_status: number | null;
|
|
8045
|
+
rate_limited: number;
|
|
8046
|
+
read_errors: number;
|
|
8047
|
+
reads: number;
|
|
8048
|
+
response: Json | null;
|
|
8049
|
+
started_at: string;
|
|
8050
|
+
status: string;
|
|
8051
|
+
};
|
|
8052
|
+
Insert: {
|
|
8053
|
+
connection_id?: string | null;
|
|
8054
|
+
created_at?: string;
|
|
8055
|
+
finished_at?: string | null;
|
|
8056
|
+
first_error?: string | null;
|
|
8057
|
+
id?: string;
|
|
8058
|
+
items_checked?: number;
|
|
8059
|
+
items_drift?: number;
|
|
8060
|
+
items_no_supply?: number;
|
|
8061
|
+
last_http_status?: number | null;
|
|
8062
|
+
rate_limited?: number;
|
|
8063
|
+
read_errors?: number;
|
|
8064
|
+
reads?: number;
|
|
8065
|
+
response?: Json | null;
|
|
8066
|
+
started_at?: string;
|
|
8067
|
+
status?: string;
|
|
8068
|
+
};
|
|
8069
|
+
Update: {
|
|
8070
|
+
connection_id?: string | null;
|
|
8071
|
+
created_at?: string;
|
|
8072
|
+
finished_at?: string | null;
|
|
8073
|
+
first_error?: string | null;
|
|
8074
|
+
id?: string;
|
|
8075
|
+
items_checked?: number;
|
|
8076
|
+
items_drift?: number;
|
|
8077
|
+
items_no_supply?: number;
|
|
8078
|
+
last_http_status?: number | null;
|
|
8079
|
+
rate_limited?: number;
|
|
8080
|
+
read_errors?: number;
|
|
8081
|
+
reads?: number;
|
|
8082
|
+
response?: Json | null;
|
|
8083
|
+
started_at?: string;
|
|
8084
|
+
status?: string;
|
|
8085
|
+
};
|
|
8086
|
+
Relationships: [];
|
|
8087
|
+
};
|
|
7584
8088
|
floriday_resource_schemas: {
|
|
7585
8089
|
Row: {
|
|
7586
8090
|
enums: Json;
|
|
@@ -7982,6 +8486,7 @@ export type Database = {
|
|
|
7982
8486
|
floriday_trade_settings_customers_cache: {
|
|
7983
8487
|
Row: {
|
|
7984
8488
|
connection_id: string;
|
|
8489
|
+
customer_organization_id: string | null;
|
|
7985
8490
|
data: Json;
|
|
7986
8491
|
fetched_at: string;
|
|
7987
8492
|
floriday_id: string;
|
|
@@ -7992,6 +8497,7 @@ export type Database = {
|
|
|
7992
8497
|
};
|
|
7993
8498
|
Insert: {
|
|
7994
8499
|
connection_id: string;
|
|
8500
|
+
customer_organization_id?: string | null;
|
|
7995
8501
|
data: Json;
|
|
7996
8502
|
fetched_at?: string;
|
|
7997
8503
|
floriday_id: string;
|
|
@@ -8002,6 +8508,7 @@ export type Database = {
|
|
|
8002
8508
|
};
|
|
8003
8509
|
Update: {
|
|
8004
8510
|
connection_id?: string;
|
|
8511
|
+
customer_organization_id?: string | null;
|
|
8005
8512
|
data?: Json;
|
|
8006
8513
|
fetched_at?: string;
|
|
8007
8514
|
floriday_id?: string;
|
|
@@ -8138,6 +8645,148 @@ export type Database = {
|
|
|
8138
8645
|
}
|
|
8139
8646
|
];
|
|
8140
8647
|
};
|
|
8648
|
+
floriday_webhook_events: {
|
|
8649
|
+
Row: {
|
|
8650
|
+
aggregate_id: string | null;
|
|
8651
|
+
aggregate_type: string | null;
|
|
8652
|
+
attempts: number;
|
|
8653
|
+
connection_id: string | null;
|
|
8654
|
+
dedupe_key: string;
|
|
8655
|
+
duplicate_count: number;
|
|
8656
|
+
event_type: string | null;
|
|
8657
|
+
id: string;
|
|
8658
|
+
last_error: string | null;
|
|
8659
|
+
max_attempts: number;
|
|
8660
|
+
message_type: string | null;
|
|
8661
|
+
next_attempt_at: string | null;
|
|
8662
|
+
payload: Json | null;
|
|
8663
|
+
processed_at: string | null;
|
|
8664
|
+
received_at: string;
|
|
8665
|
+
status: string;
|
|
8666
|
+
updated_at: string;
|
|
8667
|
+
};
|
|
8668
|
+
Insert: {
|
|
8669
|
+
aggregate_id?: string | null;
|
|
8670
|
+
aggregate_type?: string | null;
|
|
8671
|
+
attempts?: number;
|
|
8672
|
+
connection_id?: string | null;
|
|
8673
|
+
dedupe_key: string;
|
|
8674
|
+
duplicate_count?: number;
|
|
8675
|
+
event_type?: string | null;
|
|
8676
|
+
id?: string;
|
|
8677
|
+
last_error?: string | null;
|
|
8678
|
+
max_attempts?: number;
|
|
8679
|
+
message_type?: string | null;
|
|
8680
|
+
next_attempt_at?: string | null;
|
|
8681
|
+
payload?: Json | null;
|
|
8682
|
+
processed_at?: string | null;
|
|
8683
|
+
received_at?: string;
|
|
8684
|
+
status?: string;
|
|
8685
|
+
updated_at?: string;
|
|
8686
|
+
};
|
|
8687
|
+
Update: {
|
|
8688
|
+
aggregate_id?: string | null;
|
|
8689
|
+
aggregate_type?: string | null;
|
|
8690
|
+
attempts?: number;
|
|
8691
|
+
connection_id?: string | null;
|
|
8692
|
+
dedupe_key?: string;
|
|
8693
|
+
duplicate_count?: number;
|
|
8694
|
+
event_type?: string | null;
|
|
8695
|
+
id?: string;
|
|
8696
|
+
last_error?: string | null;
|
|
8697
|
+
max_attempts?: number;
|
|
8698
|
+
message_type?: string | null;
|
|
8699
|
+
next_attempt_at?: string | null;
|
|
8700
|
+
payload?: Json | null;
|
|
8701
|
+
processed_at?: string | null;
|
|
8702
|
+
received_at?: string;
|
|
8703
|
+
status?: string;
|
|
8704
|
+
updated_at?: string;
|
|
8705
|
+
};
|
|
8706
|
+
Relationships: [
|
|
8707
|
+
{
|
|
8708
|
+
foreignKeyName: "floriday_webhook_events_connection_id_fkey";
|
|
8709
|
+
columns: ["connection_id"];
|
|
8710
|
+
isOneToOne: false;
|
|
8711
|
+
referencedRelation: "floriday_connections";
|
|
8712
|
+
referencedColumns: ["id"];
|
|
8713
|
+
}
|
|
8714
|
+
];
|
|
8715
|
+
};
|
|
8716
|
+
floriday_webhook_subscriptions: {
|
|
8717
|
+
Row: {
|
|
8718
|
+
attempts: number;
|
|
8719
|
+
callback_token_hash: string;
|
|
8720
|
+
callback_url: string;
|
|
8721
|
+
confirmed_at: string | null;
|
|
8722
|
+
connection_id: string;
|
|
8723
|
+
created_at: string;
|
|
8724
|
+
environment: string;
|
|
8725
|
+
id: string;
|
|
8726
|
+
last_attempt_at: string | null;
|
|
8727
|
+
last_error: string | null;
|
|
8728
|
+
last_error_kind: string | null;
|
|
8729
|
+
last_event_at: string | null;
|
|
8730
|
+
locked_until: string | null;
|
|
8731
|
+
managed_by: string;
|
|
8732
|
+
next_attempt_at: string | null;
|
|
8733
|
+
status: string;
|
|
8734
|
+
subscribe_url: string | null;
|
|
8735
|
+
subscribed_at: string;
|
|
8736
|
+
updated_at: string;
|
|
8737
|
+
};
|
|
8738
|
+
Insert: {
|
|
8739
|
+
attempts?: number;
|
|
8740
|
+
callback_token_hash: string;
|
|
8741
|
+
callback_url: string;
|
|
8742
|
+
confirmed_at?: string | null;
|
|
8743
|
+
connection_id: string;
|
|
8744
|
+
created_at?: string;
|
|
8745
|
+
environment: string;
|
|
8746
|
+
id?: string;
|
|
8747
|
+
last_attempt_at?: string | null;
|
|
8748
|
+
last_error?: string | null;
|
|
8749
|
+
last_error_kind?: string | null;
|
|
8750
|
+
last_event_at?: string | null;
|
|
8751
|
+
locked_until?: string | null;
|
|
8752
|
+
managed_by?: string;
|
|
8753
|
+
next_attempt_at?: string | null;
|
|
8754
|
+
status?: string;
|
|
8755
|
+
subscribe_url?: string | null;
|
|
8756
|
+
subscribed_at?: string;
|
|
8757
|
+
updated_at?: string;
|
|
8758
|
+
};
|
|
8759
|
+
Update: {
|
|
8760
|
+
attempts?: number;
|
|
8761
|
+
callback_token_hash?: string;
|
|
8762
|
+
callback_url?: string;
|
|
8763
|
+
confirmed_at?: string | null;
|
|
8764
|
+
connection_id?: string;
|
|
8765
|
+
created_at?: string;
|
|
8766
|
+
environment?: string;
|
|
8767
|
+
id?: string;
|
|
8768
|
+
last_attempt_at?: string | null;
|
|
8769
|
+
last_error?: string | null;
|
|
8770
|
+
last_error_kind?: string | null;
|
|
8771
|
+
last_event_at?: string | null;
|
|
8772
|
+
locked_until?: string | null;
|
|
8773
|
+
managed_by?: string;
|
|
8774
|
+
next_attempt_at?: string | null;
|
|
8775
|
+
status?: string;
|
|
8776
|
+
subscribe_url?: string | null;
|
|
8777
|
+
subscribed_at?: string;
|
|
8778
|
+
updated_at?: string;
|
|
8779
|
+
};
|
|
8780
|
+
Relationships: [
|
|
8781
|
+
{
|
|
8782
|
+
foreignKeyName: "floriday_webhook_subscriptions_connection_id_fkey";
|
|
8783
|
+
columns: ["connection_id"];
|
|
8784
|
+
isOneToOne: true;
|
|
8785
|
+
referencedRelation: "floriday_connections";
|
|
8786
|
+
referencedColumns: ["id"];
|
|
8787
|
+
}
|
|
8788
|
+
];
|
|
8789
|
+
};
|
|
8141
8790
|
floriday_write_log: {
|
|
8142
8791
|
Row: {
|
|
8143
8792
|
action: string;
|
|
@@ -8275,7 +8924,7 @@ export type Database = {
|
|
|
8275
8924
|
note?: string | null;
|
|
8276
8925
|
reason?: string;
|
|
8277
8926
|
trade_item_key?: string | null;
|
|
8278
|
-
user_id
|
|
8927
|
+
user_id?: string;
|
|
8279
8928
|
};
|
|
8280
8929
|
Update: {
|
|
8281
8930
|
created_at?: string;
|
|
@@ -8336,7 +8985,7 @@ export type Database = {
|
|
|
8336
8985
|
stock?: number;
|
|
8337
8986
|
updated_at?: string;
|
|
8338
8987
|
used_by_count?: number;
|
|
8339
|
-
user_id
|
|
8988
|
+
user_id?: string;
|
|
8340
8989
|
vbn_code?: number | null;
|
|
8341
8990
|
width_mm?: number | null;
|
|
8342
8991
|
};
|
|
@@ -8518,6 +9167,108 @@ export type Database = {
|
|
|
8518
9167
|
}
|
|
8519
9168
|
];
|
|
8520
9169
|
};
|
|
9170
|
+
inventory_recompute_limits: {
|
|
9171
|
+
Row: {
|
|
9172
|
+
base_supply_batch: number;
|
|
9173
|
+
base_supply_uses_catalog_availability: boolean;
|
|
9174
|
+
drain_batch: number;
|
|
9175
|
+
id: boolean;
|
|
9176
|
+
import_chunk_size: number;
|
|
9177
|
+
import_max_bytes: number;
|
|
9178
|
+
import_max_rows: number;
|
|
9179
|
+
import_new_chunk_size: number;
|
|
9180
|
+
import_retention_days: number;
|
|
9181
|
+
max_ms_inline: number;
|
|
9182
|
+
max_parents_inline: number;
|
|
9183
|
+
queue_base_supply_timeout_minutes: number;
|
|
9184
|
+
queue_cleanup_batch: number;
|
|
9185
|
+
queue_cleanup_max_batches: number;
|
|
9186
|
+
queue_failed_days: number;
|
|
9187
|
+
queue_gateway_backoff_minutes: number[];
|
|
9188
|
+
queue_gateway_give_up_hours: number;
|
|
9189
|
+
queue_sent_days: number;
|
|
9190
|
+
queue_skipped_days: number;
|
|
9191
|
+
queue_superseded_days: number;
|
|
9192
|
+
updated_at: string;
|
|
9193
|
+
};
|
|
9194
|
+
Insert: {
|
|
9195
|
+
base_supply_batch?: number;
|
|
9196
|
+
base_supply_uses_catalog_availability?: boolean;
|
|
9197
|
+
drain_batch?: number;
|
|
9198
|
+
id?: boolean;
|
|
9199
|
+
import_chunk_size?: number;
|
|
9200
|
+
import_max_bytes?: number;
|
|
9201
|
+
import_max_rows?: number;
|
|
9202
|
+
import_new_chunk_size?: number;
|
|
9203
|
+
import_retention_days?: number;
|
|
9204
|
+
max_ms_inline?: number;
|
|
9205
|
+
max_parents_inline?: number;
|
|
9206
|
+
queue_base_supply_timeout_minutes?: number;
|
|
9207
|
+
queue_cleanup_batch?: number;
|
|
9208
|
+
queue_cleanup_max_batches?: number;
|
|
9209
|
+
queue_failed_days?: number;
|
|
9210
|
+
queue_gateway_backoff_minutes?: number[];
|
|
9211
|
+
queue_gateway_give_up_hours?: number;
|
|
9212
|
+
queue_sent_days?: number;
|
|
9213
|
+
queue_skipped_days?: number;
|
|
9214
|
+
queue_superseded_days?: number;
|
|
9215
|
+
updated_at?: string;
|
|
9216
|
+
};
|
|
9217
|
+
Update: {
|
|
9218
|
+
base_supply_batch?: number;
|
|
9219
|
+
base_supply_uses_catalog_availability?: boolean;
|
|
9220
|
+
drain_batch?: number;
|
|
9221
|
+
id?: boolean;
|
|
9222
|
+
import_chunk_size?: number;
|
|
9223
|
+
import_max_bytes?: number;
|
|
9224
|
+
import_max_rows?: number;
|
|
9225
|
+
import_new_chunk_size?: number;
|
|
9226
|
+
import_retention_days?: number;
|
|
9227
|
+
max_ms_inline?: number;
|
|
9228
|
+
max_parents_inline?: number;
|
|
9229
|
+
queue_base_supply_timeout_minutes?: number;
|
|
9230
|
+
queue_cleanup_batch?: number;
|
|
9231
|
+
queue_cleanup_max_batches?: number;
|
|
9232
|
+
queue_failed_days?: number;
|
|
9233
|
+
queue_gateway_backoff_minutes?: number[];
|
|
9234
|
+
queue_gateway_give_up_hours?: number;
|
|
9235
|
+
queue_sent_days?: number;
|
|
9236
|
+
queue_skipped_days?: number;
|
|
9237
|
+
queue_superseded_days?: number;
|
|
9238
|
+
updated_at?: string;
|
|
9239
|
+
};
|
|
9240
|
+
Relationships: [];
|
|
9241
|
+
};
|
|
9242
|
+
inventory_recompute_queue: {
|
|
9243
|
+
Row: {
|
|
9244
|
+
attempts: number;
|
|
9245
|
+
created_at: string;
|
|
9246
|
+
enqueued_at: string;
|
|
9247
|
+
last_error: string | null;
|
|
9248
|
+
product_id: string;
|
|
9249
|
+
reason: string | null;
|
|
9250
|
+
updated_at: string;
|
|
9251
|
+
};
|
|
9252
|
+
Insert: {
|
|
9253
|
+
attempts?: number;
|
|
9254
|
+
created_at?: string;
|
|
9255
|
+
enqueued_at?: string;
|
|
9256
|
+
last_error?: string | null;
|
|
9257
|
+
product_id: string;
|
|
9258
|
+
reason?: string | null;
|
|
9259
|
+
updated_at?: string;
|
|
9260
|
+
};
|
|
9261
|
+
Update: {
|
|
9262
|
+
attempts?: number;
|
|
9263
|
+
created_at?: string;
|
|
9264
|
+
enqueued_at?: string;
|
|
9265
|
+
last_error?: string | null;
|
|
9266
|
+
product_id?: string;
|
|
9267
|
+
reason?: string | null;
|
|
9268
|
+
updated_at?: string;
|
|
9269
|
+
};
|
|
9270
|
+
Relationships: [];
|
|
9271
|
+
};
|
|
8521
9272
|
inventory_settings: {
|
|
8522
9273
|
Row: {
|
|
8523
9274
|
created_at: string;
|
|
@@ -8710,8 +9461,16 @@ export type Database = {
|
|
|
8710
9461
|
client_request_id: string;
|
|
8711
9462
|
completed_at: string | null;
|
|
8712
9463
|
created_at: string;
|
|
9464
|
+
customer_code: string | null;
|
|
8713
9465
|
error_message: string | null;
|
|
8714
9466
|
invoice_number: string | null;
|
|
9467
|
+
invoice_type: string | null;
|
|
9468
|
+
last_known_number: number | null;
|
|
9469
|
+
last_search_at: string | null;
|
|
9470
|
+
phase: string | null;
|
|
9471
|
+
reference: string | null;
|
|
9472
|
+
search_attempts: number;
|
|
9473
|
+
sending_at: string | null;
|
|
8715
9474
|
status: string;
|
|
8716
9475
|
user_id: string;
|
|
8717
9476
|
};
|
|
@@ -8720,8 +9479,16 @@ export type Database = {
|
|
|
8720
9479
|
client_request_id: string;
|
|
8721
9480
|
completed_at?: string | null;
|
|
8722
9481
|
created_at?: string;
|
|
9482
|
+
customer_code?: string | null;
|
|
8723
9483
|
error_message?: string | null;
|
|
8724
9484
|
invoice_number?: string | null;
|
|
9485
|
+
invoice_type?: string | null;
|
|
9486
|
+
last_known_number?: number | null;
|
|
9487
|
+
last_search_at?: string | null;
|
|
9488
|
+
phase?: string | null;
|
|
9489
|
+
reference?: string | null;
|
|
9490
|
+
search_attempts?: number;
|
|
9491
|
+
sending_at?: string | null;
|
|
8725
9492
|
status?: string;
|
|
8726
9493
|
user_id: string;
|
|
8727
9494
|
};
|
|
@@ -8730,8 +9497,16 @@ export type Database = {
|
|
|
8730
9497
|
client_request_id?: string;
|
|
8731
9498
|
completed_at?: string | null;
|
|
8732
9499
|
created_at?: string;
|
|
9500
|
+
customer_code?: string | null;
|
|
8733
9501
|
error_message?: string | null;
|
|
8734
9502
|
invoice_number?: string | null;
|
|
9503
|
+
invoice_type?: string | null;
|
|
9504
|
+
last_known_number?: number | null;
|
|
9505
|
+
last_search_at?: string | null;
|
|
9506
|
+
phase?: string | null;
|
|
9507
|
+
reference?: string | null;
|
|
9508
|
+
search_attempts?: number;
|
|
9509
|
+
sending_at?: string | null;
|
|
8735
9510
|
status?: string;
|
|
8736
9511
|
user_id?: string;
|
|
8737
9512
|
};
|
|
@@ -9859,6 +10634,7 @@ export type Database = {
|
|
|
9859
10634
|
id: string;
|
|
9860
10635
|
singleton: boolean;
|
|
9861
10636
|
updated_at: string;
|
|
10637
|
+
voorwaarden: string | null;
|
|
9862
10638
|
};
|
|
9863
10639
|
Insert: {
|
|
9864
10640
|
auto_convert_binnen_mandaat?: boolean;
|
|
@@ -9869,6 +10645,7 @@ export type Database = {
|
|
|
9869
10645
|
id?: string;
|
|
9870
10646
|
singleton?: boolean;
|
|
9871
10647
|
updated_at?: string;
|
|
10648
|
+
voorwaarden?: string | null;
|
|
9872
10649
|
};
|
|
9873
10650
|
Update: {
|
|
9874
10651
|
auto_convert_binnen_mandaat?: boolean;
|
|
@@ -9879,6 +10656,7 @@ export type Database = {
|
|
|
9879
10656
|
id?: string;
|
|
9880
10657
|
singleton?: boolean;
|
|
9881
10658
|
updated_at?: string;
|
|
10659
|
+
voorwaarden?: string | null;
|
|
9882
10660
|
};
|
|
9883
10661
|
Relationships: [];
|
|
9884
10662
|
};
|
|
@@ -10689,69 +11467,183 @@ export type Database = {
|
|
|
10689
11467
|
};
|
|
10690
11468
|
Relationships: [];
|
|
10691
11469
|
};
|
|
10692
|
-
|
|
11470
|
+
logistics_allocation_fingerprint: {
|
|
10693
11471
|
Row: {
|
|
10694
|
-
available_minutes: number;
|
|
10695
|
-
carts_short: number;
|
|
10696
|
-
carts_total: number;
|
|
10697
11472
|
created_at: string;
|
|
10698
|
-
|
|
10699
|
-
|
|
10700
|
-
|
|
10701
|
-
|
|
10702
|
-
email_status: string;
|
|
10703
|
-
id: string;
|
|
10704
|
-
moved_carts: Json;
|
|
10705
|
-
notification_enabled: boolean;
|
|
10706
|
-
notification_id: string | null;
|
|
10707
|
-
pickup_label: string | null;
|
|
10708
|
-
pickup_moment_id: string | null;
|
|
10709
|
-
pickup_time: string | null;
|
|
10710
|
-
plan_date: string;
|
|
10711
|
-
required_minutes: number;
|
|
10712
|
-
resolved_at: string | null;
|
|
10713
|
-
shortage_minutes: number;
|
|
10714
|
-
status: string;
|
|
10715
|
-
unplanned_carts: Json;
|
|
11473
|
+
fingerprint: string;
|
|
11474
|
+
last_replan_at: string | null;
|
|
11475
|
+
order_id: string;
|
|
11476
|
+
pending_since: string | null;
|
|
10716
11477
|
updated_at: string;
|
|
10717
|
-
user_id: string;
|
|
10718
11478
|
};
|
|
10719
11479
|
Insert: {
|
|
10720
|
-
available_minutes?: number;
|
|
10721
|
-
carts_short?: number;
|
|
10722
|
-
carts_total?: number;
|
|
10723
11480
|
created_at?: string;
|
|
10724
|
-
|
|
10725
|
-
|
|
10726
|
-
|
|
10727
|
-
|
|
10728
|
-
email_status?: string;
|
|
10729
|
-
id?: string;
|
|
10730
|
-
moved_carts?: Json;
|
|
10731
|
-
notification_enabled?: boolean;
|
|
10732
|
-
notification_id?: string | null;
|
|
10733
|
-
pickup_label?: string | null;
|
|
10734
|
-
pickup_moment_id?: string | null;
|
|
10735
|
-
pickup_time?: string | null;
|
|
10736
|
-
plan_date: string;
|
|
10737
|
-
required_minutes?: number;
|
|
10738
|
-
resolved_at?: string | null;
|
|
10739
|
-
shortage_minutes?: number;
|
|
10740
|
-
status?: string;
|
|
10741
|
-
unplanned_carts?: Json;
|
|
11481
|
+
fingerprint: string;
|
|
11482
|
+
last_replan_at?: string | null;
|
|
11483
|
+
order_id: string;
|
|
11484
|
+
pending_since?: string | null;
|
|
10742
11485
|
updated_at?: string;
|
|
10743
|
-
user_id?: string;
|
|
10744
11486
|
};
|
|
10745
11487
|
Update: {
|
|
10746
|
-
available_minutes?: number;
|
|
10747
|
-
carts_short?: number;
|
|
10748
|
-
carts_total?: number;
|
|
10749
11488
|
created_at?: string;
|
|
10750
|
-
|
|
10751
|
-
|
|
10752
|
-
|
|
10753
|
-
|
|
10754
|
-
|
|
11489
|
+
fingerprint?: string;
|
|
11490
|
+
last_replan_at?: string | null;
|
|
11491
|
+
order_id?: string;
|
|
11492
|
+
pending_since?: string | null;
|
|
11493
|
+
updated_at?: string;
|
|
11494
|
+
};
|
|
11495
|
+
Relationships: [];
|
|
11496
|
+
};
|
|
11497
|
+
logistics_autolink_audit: {
|
|
11498
|
+
Row: {
|
|
11499
|
+
created_at: string;
|
|
11500
|
+
id: string;
|
|
11501
|
+
match_type: string;
|
|
11502
|
+
order_id: string | null;
|
|
11503
|
+
order_item_id: string | null;
|
|
11504
|
+
order_source: string | null;
|
|
11505
|
+
product_floriday_id: string | null;
|
|
11506
|
+
product_id: string | null;
|
|
11507
|
+
product_name: string | null;
|
|
11508
|
+
};
|
|
11509
|
+
Insert: {
|
|
11510
|
+
created_at?: string;
|
|
11511
|
+
id?: string;
|
|
11512
|
+
match_type: string;
|
|
11513
|
+
order_id?: string | null;
|
|
11514
|
+
order_item_id?: string | null;
|
|
11515
|
+
order_source?: string | null;
|
|
11516
|
+
product_floriday_id?: string | null;
|
|
11517
|
+
product_id?: string | null;
|
|
11518
|
+
product_name?: string | null;
|
|
11519
|
+
};
|
|
11520
|
+
Update: {
|
|
11521
|
+
created_at?: string;
|
|
11522
|
+
id?: string;
|
|
11523
|
+
match_type?: string;
|
|
11524
|
+
order_id?: string | null;
|
|
11525
|
+
order_item_id?: string | null;
|
|
11526
|
+
order_source?: string | null;
|
|
11527
|
+
product_floriday_id?: string | null;
|
|
11528
|
+
product_id?: string | null;
|
|
11529
|
+
product_name?: string | null;
|
|
11530
|
+
};
|
|
11531
|
+
Relationships: [];
|
|
11532
|
+
};
|
|
11533
|
+
logistics_base_url_checks: {
|
|
11534
|
+
Row: {
|
|
11535
|
+
candidate_host: string | null;
|
|
11536
|
+
candidate_url: string | null;
|
|
11537
|
+
detail: string | null;
|
|
11538
|
+
id: number;
|
|
11539
|
+
ping_ok: boolean | null;
|
|
11540
|
+
ping_request_id: number | null;
|
|
11541
|
+
ping_status: number | null;
|
|
11542
|
+
previous_url: string | null;
|
|
11543
|
+
resolved_at: string | null;
|
|
11544
|
+
route_ok: boolean | null;
|
|
11545
|
+
route_request_id: number | null;
|
|
11546
|
+
route_status: number | null;
|
|
11547
|
+
started_at: string;
|
|
11548
|
+
status: string;
|
|
11549
|
+
};
|
|
11550
|
+
Insert: {
|
|
11551
|
+
candidate_host?: string | null;
|
|
11552
|
+
candidate_url?: string | null;
|
|
11553
|
+
detail?: string | null;
|
|
11554
|
+
id?: never;
|
|
11555
|
+
ping_ok?: boolean | null;
|
|
11556
|
+
ping_request_id?: number | null;
|
|
11557
|
+
ping_status?: number | null;
|
|
11558
|
+
previous_url?: string | null;
|
|
11559
|
+
resolved_at?: string | null;
|
|
11560
|
+
route_ok?: boolean | null;
|
|
11561
|
+
route_request_id?: number | null;
|
|
11562
|
+
route_status?: number | null;
|
|
11563
|
+
started_at?: string;
|
|
11564
|
+
status: string;
|
|
11565
|
+
};
|
|
11566
|
+
Update: {
|
|
11567
|
+
candidate_host?: string | null;
|
|
11568
|
+
candidate_url?: string | null;
|
|
11569
|
+
detail?: string | null;
|
|
11570
|
+
id?: never;
|
|
11571
|
+
ping_ok?: boolean | null;
|
|
11572
|
+
ping_request_id?: number | null;
|
|
11573
|
+
ping_status?: number | null;
|
|
11574
|
+
previous_url?: string | null;
|
|
11575
|
+
resolved_at?: string | null;
|
|
11576
|
+
route_ok?: boolean | null;
|
|
11577
|
+
route_request_id?: number | null;
|
|
11578
|
+
route_status?: number | null;
|
|
11579
|
+
started_at?: string;
|
|
11580
|
+
status?: string;
|
|
11581
|
+
};
|
|
11582
|
+
Relationships: [];
|
|
11583
|
+
};
|
|
11584
|
+
logistics_capacity_alerts: {
|
|
11585
|
+
Row: {
|
|
11586
|
+
available_minutes: number;
|
|
11587
|
+
carts_short: number;
|
|
11588
|
+
carts_total: number;
|
|
11589
|
+
created_at: string;
|
|
11590
|
+
email_enabled: boolean;
|
|
11591
|
+
email_error: string | null;
|
|
11592
|
+
email_recipients: string[];
|
|
11593
|
+
email_sent_at: string | null;
|
|
11594
|
+
email_status: string;
|
|
11595
|
+
id: string;
|
|
11596
|
+
moved_carts: Json;
|
|
11597
|
+
notification_enabled: boolean;
|
|
11598
|
+
notification_id: string | null;
|
|
11599
|
+
pickup_label: string | null;
|
|
11600
|
+
pickup_moment_id: string | null;
|
|
11601
|
+
pickup_time: string | null;
|
|
11602
|
+
plan_date: string;
|
|
11603
|
+
required_minutes: number;
|
|
11604
|
+
resolved_at: string | null;
|
|
11605
|
+
shortage_minutes: number;
|
|
11606
|
+
status: string;
|
|
11607
|
+
unplanned_carts: Json;
|
|
11608
|
+
updated_at: string;
|
|
11609
|
+
user_id: string;
|
|
11610
|
+
};
|
|
11611
|
+
Insert: {
|
|
11612
|
+
available_minutes?: number;
|
|
11613
|
+
carts_short?: number;
|
|
11614
|
+
carts_total?: number;
|
|
11615
|
+
created_at?: string;
|
|
11616
|
+
email_enabled?: boolean;
|
|
11617
|
+
email_error?: string | null;
|
|
11618
|
+
email_recipients?: string[];
|
|
11619
|
+
email_sent_at?: string | null;
|
|
11620
|
+
email_status?: string;
|
|
11621
|
+
id?: string;
|
|
11622
|
+
moved_carts?: Json;
|
|
11623
|
+
notification_enabled?: boolean;
|
|
11624
|
+
notification_id?: string | null;
|
|
11625
|
+
pickup_label?: string | null;
|
|
11626
|
+
pickup_moment_id?: string | null;
|
|
11627
|
+
pickup_time?: string | null;
|
|
11628
|
+
plan_date: string;
|
|
11629
|
+
required_minutes?: number;
|
|
11630
|
+
resolved_at?: string | null;
|
|
11631
|
+
shortage_minutes?: number;
|
|
11632
|
+
status?: string;
|
|
11633
|
+
unplanned_carts?: Json;
|
|
11634
|
+
updated_at?: string;
|
|
11635
|
+
user_id?: string;
|
|
11636
|
+
};
|
|
11637
|
+
Update: {
|
|
11638
|
+
available_minutes?: number;
|
|
11639
|
+
carts_short?: number;
|
|
11640
|
+
carts_total?: number;
|
|
11641
|
+
created_at?: string;
|
|
11642
|
+
email_enabled?: boolean;
|
|
11643
|
+
email_error?: string | null;
|
|
11644
|
+
email_recipients?: string[];
|
|
11645
|
+
email_sent_at?: string | null;
|
|
11646
|
+
email_status?: string;
|
|
10755
11647
|
id?: string;
|
|
10756
11648
|
moved_carts?: Json;
|
|
10757
11649
|
notification_enabled?: boolean;
|
|
@@ -10891,6 +11783,7 @@ export type Database = {
|
|
|
10891
11783
|
approved_at: string | null;
|
|
10892
11784
|
attempts: number;
|
|
10893
11785
|
barcode: string;
|
|
11786
|
+
bron: string | null;
|
|
10894
11787
|
cart_id: string;
|
|
10895
11788
|
created_at: string;
|
|
10896
11789
|
document_url: string | null;
|
|
@@ -10913,6 +11806,7 @@ export type Database = {
|
|
|
10913
11806
|
approved_at?: string | null;
|
|
10914
11807
|
attempts?: number;
|
|
10915
11808
|
barcode: string;
|
|
11809
|
+
bron?: string | null;
|
|
10916
11810
|
cart_id: string;
|
|
10917
11811
|
created_at?: string;
|
|
10918
11812
|
document_url?: string | null;
|
|
@@ -10935,6 +11829,7 @@ export type Database = {
|
|
|
10935
11829
|
approved_at?: string | null;
|
|
10936
11830
|
attempts?: number;
|
|
10937
11831
|
barcode?: string;
|
|
11832
|
+
bron?: string | null;
|
|
10938
11833
|
cart_id?: string;
|
|
10939
11834
|
created_at?: string;
|
|
10940
11835
|
document_url?: string | null;
|
|
@@ -11587,6 +12482,60 @@ export type Database = {
|
|
|
11587
12482
|
};
|
|
11588
12483
|
Relationships: [];
|
|
11589
12484
|
};
|
|
12485
|
+
logistics_order_merge_lines: {
|
|
12486
|
+
Row: {
|
|
12487
|
+
from_order_id: string;
|
|
12488
|
+
from_order_number: string | null;
|
|
12489
|
+
group_key: string;
|
|
12490
|
+
id: string;
|
|
12491
|
+
merged_at: string;
|
|
12492
|
+
order_item_id: string;
|
|
12493
|
+
ordered_at: string | null;
|
|
12494
|
+
product_id: string | null;
|
|
12495
|
+
product_name: string | null;
|
|
12496
|
+
quantity: number | null;
|
|
12497
|
+
reason: string;
|
|
12498
|
+
sales_order_id: string | null;
|
|
12499
|
+
source_line_key: string | null;
|
|
12500
|
+
to_order_id: string;
|
|
12501
|
+
to_order_number: string | null;
|
|
12502
|
+
};
|
|
12503
|
+
Insert: {
|
|
12504
|
+
from_order_id: string;
|
|
12505
|
+
from_order_number?: string | null;
|
|
12506
|
+
group_key: string;
|
|
12507
|
+
id?: string;
|
|
12508
|
+
merged_at?: string;
|
|
12509
|
+
order_item_id: string;
|
|
12510
|
+
ordered_at?: string | null;
|
|
12511
|
+
product_id?: string | null;
|
|
12512
|
+
product_name?: string | null;
|
|
12513
|
+
quantity?: number | null;
|
|
12514
|
+
reason: string;
|
|
12515
|
+
sales_order_id?: string | null;
|
|
12516
|
+
source_line_key?: string | null;
|
|
12517
|
+
to_order_id: string;
|
|
12518
|
+
to_order_number?: string | null;
|
|
12519
|
+
};
|
|
12520
|
+
Update: {
|
|
12521
|
+
from_order_id?: string;
|
|
12522
|
+
from_order_number?: string | null;
|
|
12523
|
+
group_key?: string;
|
|
12524
|
+
id?: string;
|
|
12525
|
+
merged_at?: string;
|
|
12526
|
+
order_item_id?: string;
|
|
12527
|
+
ordered_at?: string | null;
|
|
12528
|
+
product_id?: string | null;
|
|
12529
|
+
product_name?: string | null;
|
|
12530
|
+
quantity?: number | null;
|
|
12531
|
+
reason?: string;
|
|
12532
|
+
sales_order_id?: string | null;
|
|
12533
|
+
source_line_key?: string | null;
|
|
12534
|
+
to_order_id?: string;
|
|
12535
|
+
to_order_number?: string | null;
|
|
12536
|
+
};
|
|
12537
|
+
Relationships: [];
|
|
12538
|
+
};
|
|
11590
12539
|
logistics_order_merges: {
|
|
11591
12540
|
Row: {
|
|
11592
12541
|
group_key: string;
|
|
@@ -11623,6 +12572,32 @@ export type Database = {
|
|
|
11623
12572
|
};
|
|
11624
12573
|
Relationships: [];
|
|
11625
12574
|
};
|
|
12575
|
+
logistics_order_plan_exclusion: {
|
|
12576
|
+
Row: {
|
|
12577
|
+
created_at: string;
|
|
12578
|
+
order_id: string;
|
|
12579
|
+
reason: string;
|
|
12580
|
+
};
|
|
12581
|
+
Insert: {
|
|
12582
|
+
created_at?: string;
|
|
12583
|
+
order_id: string;
|
|
12584
|
+
reason: string;
|
|
12585
|
+
};
|
|
12586
|
+
Update: {
|
|
12587
|
+
created_at?: string;
|
|
12588
|
+
order_id?: string;
|
|
12589
|
+
reason?: string;
|
|
12590
|
+
};
|
|
12591
|
+
Relationships: [
|
|
12592
|
+
{
|
|
12593
|
+
foreignKeyName: "logistics_order_plan_exclusion_order_id_fkey";
|
|
12594
|
+
columns: ["order_id"];
|
|
12595
|
+
isOneToOne: true;
|
|
12596
|
+
referencedRelation: "orders";
|
|
12597
|
+
referencedColumns: ["id"];
|
|
12598
|
+
}
|
|
12599
|
+
];
|
|
12600
|
+
};
|
|
11626
12601
|
logistics_packing_deviations: {
|
|
11627
12602
|
Row: {
|
|
11628
12603
|
auto_fixed_at: string | null;
|
|
@@ -11767,6 +12742,33 @@ export type Database = {
|
|
|
11767
12742
|
};
|
|
11768
12743
|
Relationships: [];
|
|
11769
12744
|
};
|
|
12745
|
+
logistics_plan_coverage_retries: {
|
|
12746
|
+
Row: {
|
|
12747
|
+
attempts: number;
|
|
12748
|
+
gave_up_at: string | null;
|
|
12749
|
+
last_at: string;
|
|
12750
|
+
last_pct: number | null;
|
|
12751
|
+
next_at: string;
|
|
12752
|
+
order_id: string;
|
|
12753
|
+
};
|
|
12754
|
+
Insert: {
|
|
12755
|
+
attempts?: number;
|
|
12756
|
+
gave_up_at?: string | null;
|
|
12757
|
+
last_at?: string;
|
|
12758
|
+
last_pct?: number | null;
|
|
12759
|
+
next_at?: string;
|
|
12760
|
+
order_id: string;
|
|
12761
|
+
};
|
|
12762
|
+
Update: {
|
|
12763
|
+
attempts?: number;
|
|
12764
|
+
gave_up_at?: string | null;
|
|
12765
|
+
last_at?: string;
|
|
12766
|
+
last_pct?: number | null;
|
|
12767
|
+
next_at?: string;
|
|
12768
|
+
order_id?: string;
|
|
12769
|
+
};
|
|
12770
|
+
Relationships: [];
|
|
12771
|
+
};
|
|
11770
12772
|
logistics_plan_locks: {
|
|
11771
12773
|
Row: {
|
|
11772
12774
|
created_at: string;
|
|
@@ -12157,6 +13159,45 @@ export type Database = {
|
|
|
12157
13159
|
};
|
|
12158
13160
|
Relationships: [];
|
|
12159
13161
|
};
|
|
13162
|
+
logistics_reservation_allocations: {
|
|
13163
|
+
Row: {
|
|
13164
|
+
computed_at: string;
|
|
13165
|
+
created_at: string;
|
|
13166
|
+
group_id: string | null;
|
|
13167
|
+
id: string;
|
|
13168
|
+
line_qty: number | null;
|
|
13169
|
+
order_item_id: string;
|
|
13170
|
+
qty: number;
|
|
13171
|
+
source: string;
|
|
13172
|
+
trade_item_key: string;
|
|
13173
|
+
updated_at: string;
|
|
13174
|
+
};
|
|
13175
|
+
Insert: {
|
|
13176
|
+
computed_at?: string;
|
|
13177
|
+
created_at?: string;
|
|
13178
|
+
group_id?: string | null;
|
|
13179
|
+
id?: string;
|
|
13180
|
+
line_qty?: number | null;
|
|
13181
|
+
order_item_id: string;
|
|
13182
|
+
qty: number;
|
|
13183
|
+
source: string;
|
|
13184
|
+
trade_item_key: string;
|
|
13185
|
+
updated_at?: string;
|
|
13186
|
+
};
|
|
13187
|
+
Update: {
|
|
13188
|
+
computed_at?: string;
|
|
13189
|
+
created_at?: string;
|
|
13190
|
+
group_id?: string | null;
|
|
13191
|
+
id?: string;
|
|
13192
|
+
line_qty?: number | null;
|
|
13193
|
+
order_item_id?: string;
|
|
13194
|
+
qty?: number;
|
|
13195
|
+
source?: string;
|
|
13196
|
+
trade_item_key?: string;
|
|
13197
|
+
updated_at?: string;
|
|
13198
|
+
};
|
|
13199
|
+
Relationships: [];
|
|
13200
|
+
};
|
|
12160
13201
|
logistics_rule_configs: {
|
|
12161
13202
|
Row: {
|
|
12162
13203
|
created_at: string;
|
|
@@ -12301,6 +13342,7 @@ export type Database = {
|
|
|
12301
13342
|
slip_job_id: string;
|
|
12302
13343
|
status: string;
|
|
12303
13344
|
updated_at: string;
|
|
13345
|
+
voor_herstel: boolean;
|
|
12304
13346
|
};
|
|
12305
13347
|
Insert: {
|
|
12306
13348
|
attempts?: number;
|
|
@@ -12321,6 +13363,7 @@ export type Database = {
|
|
|
12321
13363
|
slip_job_id: string;
|
|
12322
13364
|
status?: string;
|
|
12323
13365
|
updated_at?: string;
|
|
13366
|
+
voor_herstel?: boolean;
|
|
12324
13367
|
};
|
|
12325
13368
|
Update: {
|
|
12326
13369
|
attempts?: number;
|
|
@@ -12341,6 +13384,7 @@ export type Database = {
|
|
|
12341
13384
|
slip_job_id?: string;
|
|
12342
13385
|
status?: string;
|
|
12343
13386
|
updated_at?: string;
|
|
13387
|
+
voor_herstel?: boolean;
|
|
12344
13388
|
};
|
|
12345
13389
|
Relationships: [];
|
|
12346
13390
|
};
|
|
@@ -12668,6 +13712,48 @@ export type Database = {
|
|
|
12668
13712
|
}
|
|
12669
13713
|
];
|
|
12670
13714
|
};
|
|
13715
|
+
logistics_tick_calls: {
|
|
13716
|
+
Row: {
|
|
13717
|
+
called_at: string;
|
|
13718
|
+
engine_ok: boolean | null;
|
|
13719
|
+
error: string | null;
|
|
13720
|
+
id: number;
|
|
13721
|
+
module_project: boolean | null;
|
|
13722
|
+
module_version: string | null;
|
|
13723
|
+
request_id: number | null;
|
|
13724
|
+
resolved_at: string | null;
|
|
13725
|
+
skipped_reason: string | null;
|
|
13726
|
+
status_code: number | null;
|
|
13727
|
+
target_host: string | null;
|
|
13728
|
+
};
|
|
13729
|
+
Insert: {
|
|
13730
|
+
called_at?: string;
|
|
13731
|
+
engine_ok?: boolean | null;
|
|
13732
|
+
error?: string | null;
|
|
13733
|
+
id?: never;
|
|
13734
|
+
module_project?: boolean | null;
|
|
13735
|
+
module_version?: string | null;
|
|
13736
|
+
request_id?: number | null;
|
|
13737
|
+
resolved_at?: string | null;
|
|
13738
|
+
skipped_reason?: string | null;
|
|
13739
|
+
status_code?: number | null;
|
|
13740
|
+
target_host?: string | null;
|
|
13741
|
+
};
|
|
13742
|
+
Update: {
|
|
13743
|
+
called_at?: string;
|
|
13744
|
+
engine_ok?: boolean | null;
|
|
13745
|
+
error?: string | null;
|
|
13746
|
+
id?: never;
|
|
13747
|
+
module_project?: boolean | null;
|
|
13748
|
+
module_version?: string | null;
|
|
13749
|
+
request_id?: number | null;
|
|
13750
|
+
resolved_at?: string | null;
|
|
13751
|
+
skipped_reason?: string | null;
|
|
13752
|
+
status_code?: number | null;
|
|
13753
|
+
target_host?: string | null;
|
|
13754
|
+
};
|
|
13755
|
+
Relationships: [];
|
|
13756
|
+
};
|
|
12671
13757
|
logistics_tick_heartbeat: {
|
|
12672
13758
|
Row: {
|
|
12673
13759
|
id: boolean;
|
|
@@ -13852,6 +14938,7 @@ export type Database = {
|
|
|
13852
14938
|
Row: {
|
|
13853
14939
|
color: string | null;
|
|
13854
14940
|
created_at: string;
|
|
14941
|
+
functie: string | null;
|
|
13855
14942
|
hours_fri: number | null;
|
|
13856
14943
|
hours_mon: number | null;
|
|
13857
14944
|
hours_thu: number | null;
|
|
@@ -13868,6 +14955,7 @@ export type Database = {
|
|
|
13868
14955
|
Insert: {
|
|
13869
14956
|
color?: string | null;
|
|
13870
14957
|
created_at?: string;
|
|
14958
|
+
functie?: string | null;
|
|
13871
14959
|
hours_fri?: number | null;
|
|
13872
14960
|
hours_mon?: number | null;
|
|
13873
14961
|
hours_thu?: number | null;
|
|
@@ -13884,6 +14972,7 @@ export type Database = {
|
|
|
13884
14972
|
Update: {
|
|
13885
14973
|
color?: string | null;
|
|
13886
14974
|
created_at?: string;
|
|
14975
|
+
functie?: string | null;
|
|
13887
14976
|
hours_fri?: number | null;
|
|
13888
14977
|
hours_mon?: number | null;
|
|
13889
14978
|
hours_thu?: number | null;
|
|
@@ -14856,6 +15945,7 @@ export type Database = {
|
|
|
14856
15945
|
Row: {
|
|
14857
15946
|
boxes: number | null;
|
|
14858
15947
|
cart_id: string;
|
|
15948
|
+
components: Json | null;
|
|
14859
15949
|
crates: number;
|
|
14860
15950
|
crates_in_layer: number | null;
|
|
14861
15951
|
crates_per_layer: number;
|
|
@@ -14874,6 +15964,7 @@ export type Database = {
|
|
|
14874
15964
|
Insert: {
|
|
14875
15965
|
boxes?: number | null;
|
|
14876
15966
|
cart_id: string;
|
|
15967
|
+
components?: Json | null;
|
|
14877
15968
|
crates: number;
|
|
14878
15969
|
crates_in_layer?: number | null;
|
|
14879
15970
|
crates_per_layer?: number;
|
|
@@ -14892,6 +15983,7 @@ export type Database = {
|
|
|
14892
15983
|
Update: {
|
|
14893
15984
|
boxes?: number | null;
|
|
14894
15985
|
cart_id?: string;
|
|
15986
|
+
components?: Json | null;
|
|
14895
15987
|
crates?: number;
|
|
14896
15988
|
crates_in_layer?: number | null;
|
|
14897
15989
|
crates_per_layer?: number;
|
|
@@ -15305,6 +16397,9 @@ export type Database = {
|
|
|
15305
16397
|
product_id: string | null;
|
|
15306
16398
|
product_name: string;
|
|
15307
16399
|
quantity: number;
|
|
16400
|
+
quarantine_reason: string | null;
|
|
16401
|
+
quarantined_at: string | null;
|
|
16402
|
+
quarantined_into_order_id: string | null;
|
|
15308
16403
|
source_line_key: string | null;
|
|
15309
16404
|
unit: string;
|
|
15310
16405
|
unit_price: number | null;
|
|
@@ -15321,6 +16416,9 @@ export type Database = {
|
|
|
15321
16416
|
product_id?: string | null;
|
|
15322
16417
|
product_name: string;
|
|
15323
16418
|
quantity?: number;
|
|
16419
|
+
quarantine_reason?: string | null;
|
|
16420
|
+
quarantined_at?: string | null;
|
|
16421
|
+
quarantined_into_order_id?: string | null;
|
|
15324
16422
|
source_line_key?: string | null;
|
|
15325
16423
|
unit?: string;
|
|
15326
16424
|
unit_price?: number | null;
|
|
@@ -15337,6 +16435,9 @@ export type Database = {
|
|
|
15337
16435
|
product_id?: string | null;
|
|
15338
16436
|
product_name?: string;
|
|
15339
16437
|
quantity?: number;
|
|
16438
|
+
quarantine_reason?: string | null;
|
|
16439
|
+
quarantined_at?: string | null;
|
|
16440
|
+
quarantined_into_order_id?: string | null;
|
|
15340
16441
|
source_line_key?: string | null;
|
|
15341
16442
|
unit?: string;
|
|
15342
16443
|
unit_price?: number | null;
|
|
@@ -16693,19 +17794,52 @@ export type Database = {
|
|
|
16693
17794
|
};
|
|
16694
17795
|
Relationships: [];
|
|
16695
17796
|
};
|
|
16696
|
-
|
|
17797
|
+
pick_taken: {
|
|
16697
17798
|
Row: {
|
|
17799
|
+
bron_module: string | null;
|
|
16698
17800
|
created_at: string;
|
|
16699
|
-
document_type_id: string;
|
|
16700
17801
|
id: string;
|
|
16701
|
-
|
|
17802
|
+
klantnaam: string | null;
|
|
17803
|
+
opmerking: string | null;
|
|
17804
|
+
order_ref: string | null;
|
|
17805
|
+
status: string;
|
|
17806
|
+
updated_at: string;
|
|
16702
17807
|
};
|
|
16703
17808
|
Insert: {
|
|
17809
|
+
bron_module?: string | null;
|
|
16704
17810
|
created_at?: string;
|
|
16705
|
-
document_type_id: string;
|
|
16706
17811
|
id?: string;
|
|
16707
|
-
|
|
16708
|
-
|
|
17812
|
+
klantnaam?: string | null;
|
|
17813
|
+
opmerking?: string | null;
|
|
17814
|
+
order_ref?: string | null;
|
|
17815
|
+
status?: string;
|
|
17816
|
+
updated_at?: string;
|
|
17817
|
+
};
|
|
17818
|
+
Update: {
|
|
17819
|
+
bron_module?: string | null;
|
|
17820
|
+
created_at?: string;
|
|
17821
|
+
id?: string;
|
|
17822
|
+
klantnaam?: string | null;
|
|
17823
|
+
opmerking?: string | null;
|
|
17824
|
+
order_ref?: string | null;
|
|
17825
|
+
status?: string;
|
|
17826
|
+
updated_at?: string;
|
|
17827
|
+
};
|
|
17828
|
+
Relationships: [];
|
|
17829
|
+
};
|
|
17830
|
+
pick_task_document_types: {
|
|
17831
|
+
Row: {
|
|
17832
|
+
created_at: string;
|
|
17833
|
+
document_type_id: string;
|
|
17834
|
+
id: string;
|
|
17835
|
+
task_id: string;
|
|
17836
|
+
};
|
|
17837
|
+
Insert: {
|
|
17838
|
+
created_at?: string;
|
|
17839
|
+
document_type_id: string;
|
|
17840
|
+
id?: string;
|
|
17841
|
+
task_id: string;
|
|
17842
|
+
};
|
|
16709
17843
|
Update: {
|
|
16710
17844
|
created_at?: string;
|
|
16711
17845
|
document_type_id?: string;
|
|
@@ -16816,11 +17950,48 @@ export type Database = {
|
|
|
16816
17950
|
};
|
|
16817
17951
|
Relationships: [];
|
|
16818
17952
|
};
|
|
17953
|
+
planning_absence_notices: {
|
|
17954
|
+
Row: {
|
|
17955
|
+
created_at: string;
|
|
17956
|
+
day: string;
|
|
17957
|
+
handled_at: string | null;
|
|
17958
|
+
handled_by: string | null;
|
|
17959
|
+
id: string;
|
|
17960
|
+
items: Json;
|
|
17961
|
+
kind: string;
|
|
17962
|
+
monteur_id: string;
|
|
17963
|
+
updated_at: string;
|
|
17964
|
+
};
|
|
17965
|
+
Insert: {
|
|
17966
|
+
created_at?: string;
|
|
17967
|
+
day: string;
|
|
17968
|
+
handled_at?: string | null;
|
|
17969
|
+
handled_by?: string | null;
|
|
17970
|
+
id?: string;
|
|
17971
|
+
items?: Json;
|
|
17972
|
+
kind?: string;
|
|
17973
|
+
monteur_id: string;
|
|
17974
|
+
updated_at?: string;
|
|
17975
|
+
};
|
|
17976
|
+
Update: {
|
|
17977
|
+
created_at?: string;
|
|
17978
|
+
day?: string;
|
|
17979
|
+
handled_at?: string | null;
|
|
17980
|
+
handled_by?: string | null;
|
|
17981
|
+
id?: string;
|
|
17982
|
+
items?: Json;
|
|
17983
|
+
kind?: string;
|
|
17984
|
+
monteur_id?: string;
|
|
17985
|
+
updated_at?: string;
|
|
17986
|
+
};
|
|
17987
|
+
Relationships: [];
|
|
17988
|
+
};
|
|
16819
17989
|
planning_confirmation_log: {
|
|
16820
17990
|
Row: {
|
|
16821
17991
|
created_at: string;
|
|
16822
17992
|
end_at: string;
|
|
16823
17993
|
id: string;
|
|
17994
|
+
kind: string;
|
|
16824
17995
|
outbox_id: string | null;
|
|
16825
17996
|
planning_item_id: string;
|
|
16826
17997
|
reason: string | null;
|
|
@@ -16832,6 +18003,7 @@ export type Database = {
|
|
|
16832
18003
|
created_at?: string;
|
|
16833
18004
|
end_at: string;
|
|
16834
18005
|
id?: string;
|
|
18006
|
+
kind?: string;
|
|
16835
18007
|
outbox_id?: string | null;
|
|
16836
18008
|
planning_item_id: string;
|
|
16837
18009
|
reason?: string | null;
|
|
@@ -16843,6 +18015,7 @@ export type Database = {
|
|
|
16843
18015
|
created_at?: string;
|
|
16844
18016
|
end_at?: string;
|
|
16845
18017
|
id?: string;
|
|
18018
|
+
kind?: string;
|
|
16846
18019
|
outbox_id?: string | null;
|
|
16847
18020
|
planning_item_id?: string;
|
|
16848
18021
|
reason?: string | null;
|
|
@@ -16966,7 +18139,15 @@ export type Database = {
|
|
|
16966
18139
|
email_purpose: string | null;
|
|
16967
18140
|
enabled: boolean;
|
|
16968
18141
|
id: boolean;
|
|
18142
|
+
overrun_auto_mail: boolean;
|
|
18143
|
+
overrun_body_template: string;
|
|
18144
|
+
overrun_enabled: boolean;
|
|
18145
|
+
overrun_mail_minutes: number;
|
|
18146
|
+
overrun_notice_minutes: number;
|
|
18147
|
+
overrun_subject_template: string;
|
|
16969
18148
|
reply_to: string | null;
|
|
18149
|
+
reschedule_body_template: string;
|
|
18150
|
+
reschedule_subject_template: string;
|
|
16970
18151
|
subject_template: string;
|
|
16971
18152
|
timezone: string;
|
|
16972
18153
|
updated_at: string;
|
|
@@ -16980,7 +18161,15 @@ export type Database = {
|
|
|
16980
18161
|
email_purpose?: string | null;
|
|
16981
18162
|
enabled?: boolean;
|
|
16982
18163
|
id?: boolean;
|
|
18164
|
+
overrun_auto_mail?: boolean;
|
|
18165
|
+
overrun_body_template?: string;
|
|
18166
|
+
overrun_enabled?: boolean;
|
|
18167
|
+
overrun_mail_minutes?: number;
|
|
18168
|
+
overrun_notice_minutes?: number;
|
|
18169
|
+
overrun_subject_template?: string;
|
|
16983
18170
|
reply_to?: string | null;
|
|
18171
|
+
reschedule_body_template?: string;
|
|
18172
|
+
reschedule_subject_template?: string;
|
|
16984
18173
|
subject_template?: string;
|
|
16985
18174
|
timezone?: string;
|
|
16986
18175
|
updated_at?: string;
|
|
@@ -16994,7 +18183,15 @@ export type Database = {
|
|
|
16994
18183
|
email_purpose?: string | null;
|
|
16995
18184
|
enabled?: boolean;
|
|
16996
18185
|
id?: boolean;
|
|
18186
|
+
overrun_auto_mail?: boolean;
|
|
18187
|
+
overrun_body_template?: string;
|
|
18188
|
+
overrun_enabled?: boolean;
|
|
18189
|
+
overrun_mail_minutes?: number;
|
|
18190
|
+
overrun_notice_minutes?: number;
|
|
18191
|
+
overrun_subject_template?: string;
|
|
16997
18192
|
reply_to?: string | null;
|
|
18193
|
+
reschedule_body_template?: string;
|
|
18194
|
+
reschedule_subject_template?: string;
|
|
16998
18195
|
subject_template?: string;
|
|
16999
18196
|
timezone?: string;
|
|
17000
18197
|
updated_at?: string;
|
|
@@ -17083,6 +18280,66 @@ export type Database = {
|
|
|
17083
18280
|
};
|
|
17084
18281
|
Relationships: [];
|
|
17085
18282
|
};
|
|
18283
|
+
planning_overrun_events: {
|
|
18284
|
+
Row: {
|
|
18285
|
+
created_at: string;
|
|
18286
|
+
id: string;
|
|
18287
|
+
mail_level: number;
|
|
18288
|
+
mailed_at: string | null;
|
|
18289
|
+
mailed_item_id: string | null;
|
|
18290
|
+
mailed_items: Json;
|
|
18291
|
+
monteur_id: string | null;
|
|
18292
|
+
original_end_at: string;
|
|
18293
|
+
overrun_minutes: number;
|
|
18294
|
+
planning_item_id: string;
|
|
18295
|
+
shifted: Json;
|
|
18296
|
+
updated_at: string;
|
|
18297
|
+
};
|
|
18298
|
+
Insert: {
|
|
18299
|
+
created_at?: string;
|
|
18300
|
+
id?: string;
|
|
18301
|
+
mail_level?: number;
|
|
18302
|
+
mailed_at?: string | null;
|
|
18303
|
+
mailed_item_id?: string | null;
|
|
18304
|
+
mailed_items?: Json;
|
|
18305
|
+
monteur_id?: string | null;
|
|
18306
|
+
original_end_at: string;
|
|
18307
|
+
overrun_minutes?: number;
|
|
18308
|
+
planning_item_id: string;
|
|
18309
|
+
shifted?: Json;
|
|
18310
|
+
updated_at?: string;
|
|
18311
|
+
};
|
|
18312
|
+
Update: {
|
|
18313
|
+
created_at?: string;
|
|
18314
|
+
id?: string;
|
|
18315
|
+
mail_level?: number;
|
|
18316
|
+
mailed_at?: string | null;
|
|
18317
|
+
mailed_item_id?: string | null;
|
|
18318
|
+
mailed_items?: Json;
|
|
18319
|
+
monteur_id?: string | null;
|
|
18320
|
+
original_end_at?: string;
|
|
18321
|
+
overrun_minutes?: number;
|
|
18322
|
+
planning_item_id?: string;
|
|
18323
|
+
shifted?: Json;
|
|
18324
|
+
updated_at?: string;
|
|
18325
|
+
};
|
|
18326
|
+
Relationships: [
|
|
18327
|
+
{
|
|
18328
|
+
foreignKeyName: "planning_overrun_events_planning_item_id_fkey";
|
|
18329
|
+
columns: ["planning_item_id"];
|
|
18330
|
+
isOneToOne: true;
|
|
18331
|
+
referencedRelation: "planning_items";
|
|
18332
|
+
referencedColumns: ["id"];
|
|
18333
|
+
},
|
|
18334
|
+
{
|
|
18335
|
+
foreignKeyName: "planning_overrun_events_planning_item_id_fkey";
|
|
18336
|
+
columns: ["planning_item_id"];
|
|
18337
|
+
isOneToOne: true;
|
|
18338
|
+
referencedRelation: "planning_overview";
|
|
18339
|
+
referencedColumns: ["id"];
|
|
18340
|
+
}
|
|
18341
|
+
];
|
|
18342
|
+
};
|
|
17086
18343
|
planning_settings: {
|
|
17087
18344
|
Row: {
|
|
17088
18345
|
company_address: string | null;
|
|
@@ -18412,7 +19669,7 @@ export type Database = {
|
|
|
18412
19669
|
id?: string;
|
|
18413
19670
|
product_group_id: string;
|
|
18414
19671
|
quantity?: number;
|
|
18415
|
-
sort_order
|
|
19672
|
+
sort_order: number;
|
|
18416
19673
|
trade_item_id: string;
|
|
18417
19674
|
};
|
|
18418
19675
|
Update: {
|
|
@@ -19643,6 +20900,7 @@ export type Database = {
|
|
|
19643
20900
|
is_protected: boolean;
|
|
19644
20901
|
key: string;
|
|
19645
20902
|
name: string;
|
|
20903
|
+
permissions_initialized: boolean;
|
|
19646
20904
|
updated_at: string;
|
|
19647
20905
|
};
|
|
19648
20906
|
Insert: {
|
|
@@ -19651,6 +20909,7 @@ export type Database = {
|
|
|
19651
20909
|
is_protected?: boolean;
|
|
19652
20910
|
key: string;
|
|
19653
20911
|
name: string;
|
|
20912
|
+
permissions_initialized?: boolean;
|
|
19654
20913
|
updated_at?: string;
|
|
19655
20914
|
};
|
|
19656
20915
|
Update: {
|
|
@@ -19659,6 +20918,7 @@ export type Database = {
|
|
|
19659
20918
|
is_protected?: boolean;
|
|
19660
20919
|
key?: string;
|
|
19661
20920
|
name?: string;
|
|
20921
|
+
permissions_initialized?: boolean;
|
|
19662
20922
|
updated_at?: string;
|
|
19663
20923
|
};
|
|
19664
20924
|
Relationships: [];
|
|
@@ -20281,6 +21541,50 @@ export type Database = {
|
|
|
20281
21541
|
};
|
|
20282
21542
|
Relationships: [];
|
|
20283
21543
|
};
|
|
21544
|
+
standby_planning: {
|
|
21545
|
+
Row: {
|
|
21546
|
+
created_at: string;
|
|
21547
|
+
created_by: string | null;
|
|
21548
|
+
employee_id: string;
|
|
21549
|
+
end_date: string;
|
|
21550
|
+
id: string;
|
|
21551
|
+
notes: string | null;
|
|
21552
|
+
soort: string;
|
|
21553
|
+
start_date: string;
|
|
21554
|
+
updated_at: string;
|
|
21555
|
+
};
|
|
21556
|
+
Insert: {
|
|
21557
|
+
created_at?: string;
|
|
21558
|
+
created_by?: string | null;
|
|
21559
|
+
employee_id: string;
|
|
21560
|
+
end_date: string;
|
|
21561
|
+
id?: string;
|
|
21562
|
+
notes?: string | null;
|
|
21563
|
+
soort: string;
|
|
21564
|
+
start_date: string;
|
|
21565
|
+
updated_at?: string;
|
|
21566
|
+
};
|
|
21567
|
+
Update: {
|
|
21568
|
+
created_at?: string;
|
|
21569
|
+
created_by?: string | null;
|
|
21570
|
+
employee_id?: string;
|
|
21571
|
+
end_date?: string;
|
|
21572
|
+
id?: string;
|
|
21573
|
+
notes?: string | null;
|
|
21574
|
+
soort?: string;
|
|
21575
|
+
start_date?: string;
|
|
21576
|
+
updated_at?: string;
|
|
21577
|
+
};
|
|
21578
|
+
Relationships: [
|
|
21579
|
+
{
|
|
21580
|
+
foreignKeyName: "standby_planning_employee_id_fkey";
|
|
21581
|
+
columns: ["employee_id"];
|
|
21582
|
+
isOneToOne: false;
|
|
21583
|
+
referencedRelation: "profiles";
|
|
21584
|
+
referencedColumns: ["id"];
|
|
21585
|
+
}
|
|
21586
|
+
];
|
|
21587
|
+
};
|
|
20284
21588
|
stock_consumption_alerts: {
|
|
20285
21589
|
Row: {
|
|
20286
21590
|
alert_type: string;
|
|
@@ -20320,69 +21624,274 @@ export type Database = {
|
|
|
20320
21624
|
};
|
|
20321
21625
|
Relationships: [];
|
|
20322
21626
|
};
|
|
21627
|
+
stock_import_chunks: {
|
|
21628
|
+
Row: {
|
|
21629
|
+
chunk_no: number;
|
|
21630
|
+
created_at: string;
|
|
21631
|
+
duration_ms: number | null;
|
|
21632
|
+
processed_at: string | null;
|
|
21633
|
+
run_id: string;
|
|
21634
|
+
status: string;
|
|
21635
|
+
undone_at: string | null;
|
|
21636
|
+
updated_at: string;
|
|
21637
|
+
};
|
|
21638
|
+
Insert: {
|
|
21639
|
+
chunk_no: number;
|
|
21640
|
+
created_at?: string;
|
|
21641
|
+
duration_ms?: number | null;
|
|
21642
|
+
processed_at?: string | null;
|
|
21643
|
+
run_id: string;
|
|
21644
|
+
status?: string;
|
|
21645
|
+
undone_at?: string | null;
|
|
21646
|
+
updated_at?: string;
|
|
21647
|
+
};
|
|
21648
|
+
Update: {
|
|
21649
|
+
chunk_no?: number;
|
|
21650
|
+
created_at?: string;
|
|
21651
|
+
duration_ms?: number | null;
|
|
21652
|
+
processed_at?: string | null;
|
|
21653
|
+
run_id?: string;
|
|
21654
|
+
status?: string;
|
|
21655
|
+
undone_at?: string | null;
|
|
21656
|
+
updated_at?: string;
|
|
21657
|
+
};
|
|
21658
|
+
Relationships: [
|
|
21659
|
+
{
|
|
21660
|
+
foreignKeyName: "stock_import_chunks_run_id_fkey";
|
|
21661
|
+
columns: ["run_id"];
|
|
21662
|
+
isOneToOne: false;
|
|
21663
|
+
referencedRelation: "stock_import_runs";
|
|
21664
|
+
referencedColumns: ["id"];
|
|
21665
|
+
}
|
|
21666
|
+
];
|
|
21667
|
+
};
|
|
21668
|
+
stock_import_rows: {
|
|
21669
|
+
Row: {
|
|
21670
|
+
article_code: string | null;
|
|
21671
|
+
article_name: string | null;
|
|
21672
|
+
chunk_no: number;
|
|
21673
|
+
connection_id: string | null;
|
|
21674
|
+
created_at: string;
|
|
21675
|
+
custom_values: Json | null;
|
|
21676
|
+
error: string | null;
|
|
21677
|
+
id: string;
|
|
21678
|
+
incoming_after: number | null;
|
|
21679
|
+
incoming_before: number | null;
|
|
21680
|
+
incoming_in: number | null;
|
|
21681
|
+
is_new: boolean;
|
|
21682
|
+
minimum_after: number | null;
|
|
21683
|
+
minimum_before: number | null;
|
|
21684
|
+
minimum_in: number | null;
|
|
21685
|
+
new_payload: Json | null;
|
|
21686
|
+
note: string | null;
|
|
21687
|
+
physical_after: number | null;
|
|
21688
|
+
physical_before: number | null;
|
|
21689
|
+
physical_in: number | null;
|
|
21690
|
+
processed_at: string | null;
|
|
21691
|
+
product_id: string | null;
|
|
21692
|
+
row_no: number;
|
|
21693
|
+
run_id: string;
|
|
21694
|
+
status: string;
|
|
21695
|
+
trade_item_key: string | null;
|
|
21696
|
+
updated_at: string;
|
|
21697
|
+
};
|
|
21698
|
+
Insert: {
|
|
21699
|
+
article_code?: string | null;
|
|
21700
|
+
article_name?: string | null;
|
|
21701
|
+
chunk_no: number;
|
|
21702
|
+
connection_id?: string | null;
|
|
21703
|
+
created_at?: string;
|
|
21704
|
+
custom_values?: Json | null;
|
|
21705
|
+
error?: string | null;
|
|
21706
|
+
id?: string;
|
|
21707
|
+
incoming_after?: number | null;
|
|
21708
|
+
incoming_before?: number | null;
|
|
21709
|
+
incoming_in?: number | null;
|
|
21710
|
+
is_new?: boolean;
|
|
21711
|
+
minimum_after?: number | null;
|
|
21712
|
+
minimum_before?: number | null;
|
|
21713
|
+
minimum_in?: number | null;
|
|
21714
|
+
new_payload?: Json | null;
|
|
21715
|
+
note?: string | null;
|
|
21716
|
+
physical_after?: number | null;
|
|
21717
|
+
physical_before?: number | null;
|
|
21718
|
+
physical_in?: number | null;
|
|
21719
|
+
processed_at?: string | null;
|
|
21720
|
+
product_id?: string | null;
|
|
21721
|
+
row_no: number;
|
|
21722
|
+
run_id: string;
|
|
21723
|
+
status?: string;
|
|
21724
|
+
trade_item_key?: string | null;
|
|
21725
|
+
updated_at?: string;
|
|
21726
|
+
};
|
|
21727
|
+
Update: {
|
|
21728
|
+
article_code?: string | null;
|
|
21729
|
+
article_name?: string | null;
|
|
21730
|
+
chunk_no?: number;
|
|
21731
|
+
connection_id?: string | null;
|
|
21732
|
+
created_at?: string;
|
|
21733
|
+
custom_values?: Json | null;
|
|
21734
|
+
error?: string | null;
|
|
21735
|
+
id?: string;
|
|
21736
|
+
incoming_after?: number | null;
|
|
21737
|
+
incoming_before?: number | null;
|
|
21738
|
+
incoming_in?: number | null;
|
|
21739
|
+
is_new?: boolean;
|
|
21740
|
+
minimum_after?: number | null;
|
|
21741
|
+
minimum_before?: number | null;
|
|
21742
|
+
minimum_in?: number | null;
|
|
21743
|
+
new_payload?: Json | null;
|
|
21744
|
+
note?: string | null;
|
|
21745
|
+
physical_after?: number | null;
|
|
21746
|
+
physical_before?: number | null;
|
|
21747
|
+
physical_in?: number | null;
|
|
21748
|
+
processed_at?: string | null;
|
|
21749
|
+
product_id?: string | null;
|
|
21750
|
+
row_no?: number;
|
|
21751
|
+
run_id?: string;
|
|
21752
|
+
status?: string;
|
|
21753
|
+
trade_item_key?: string | null;
|
|
21754
|
+
updated_at?: string;
|
|
21755
|
+
};
|
|
21756
|
+
Relationships: [
|
|
21757
|
+
{
|
|
21758
|
+
foreignKeyName: "stock_import_rows_run_id_fkey";
|
|
21759
|
+
columns: ["run_id"];
|
|
21760
|
+
isOneToOne: false;
|
|
21761
|
+
referencedRelation: "stock_import_runs";
|
|
21762
|
+
referencedColumns: ["id"];
|
|
21763
|
+
}
|
|
21764
|
+
];
|
|
21765
|
+
};
|
|
20323
21766
|
stock_import_runs: {
|
|
20324
21767
|
Row: {
|
|
21768
|
+
chunk_size: number | null;
|
|
20325
21769
|
connection_id: string | null;
|
|
20326
21770
|
created_at: string;
|
|
20327
21771
|
created_rows: number;
|
|
21772
|
+
done_chunks: number;
|
|
20328
21773
|
errors: Json;
|
|
21774
|
+
file_hash: string | null;
|
|
20329
21775
|
filename: string | null;
|
|
21776
|
+
finished_at: string | null;
|
|
20330
21777
|
id: string;
|
|
20331
21778
|
mutations: Json;
|
|
21779
|
+
rows_purged_at: string | null;
|
|
20332
21780
|
skipped_rows: number;
|
|
21781
|
+
status: string;
|
|
21782
|
+
total_chunks: number;
|
|
20333
21783
|
total_rows: number;
|
|
21784
|
+
undo_skipped_rows: number;
|
|
21785
|
+
undone_rows: number;
|
|
21786
|
+
updated_at: string;
|
|
20334
21787
|
updated_rows: number;
|
|
20335
21788
|
user_id: string;
|
|
20336
21789
|
};
|
|
20337
21790
|
Insert: {
|
|
21791
|
+
chunk_size?: number | null;
|
|
20338
21792
|
connection_id?: string | null;
|
|
20339
21793
|
created_at?: string;
|
|
20340
21794
|
created_rows?: number;
|
|
21795
|
+
done_chunks?: number;
|
|
20341
21796
|
errors?: Json;
|
|
21797
|
+
file_hash?: string | null;
|
|
20342
21798
|
filename?: string | null;
|
|
21799
|
+
finished_at?: string | null;
|
|
20343
21800
|
id?: string;
|
|
20344
21801
|
mutations?: Json;
|
|
21802
|
+
rows_purged_at?: string | null;
|
|
20345
21803
|
skipped_rows?: number;
|
|
21804
|
+
status?: string;
|
|
21805
|
+
total_chunks?: number;
|
|
20346
21806
|
total_rows?: number;
|
|
21807
|
+
undo_skipped_rows?: number;
|
|
21808
|
+
undone_rows?: number;
|
|
21809
|
+
updated_at?: string;
|
|
20347
21810
|
updated_rows?: number;
|
|
20348
21811
|
user_id: string;
|
|
20349
21812
|
};
|
|
20350
21813
|
Update: {
|
|
21814
|
+
chunk_size?: number | null;
|
|
20351
21815
|
connection_id?: string | null;
|
|
20352
21816
|
created_at?: string;
|
|
20353
21817
|
created_rows?: number;
|
|
21818
|
+
done_chunks?: number;
|
|
20354
21819
|
errors?: Json;
|
|
21820
|
+
file_hash?: string | null;
|
|
20355
21821
|
filename?: string | null;
|
|
21822
|
+
finished_at?: string | null;
|
|
20356
21823
|
id?: string;
|
|
20357
21824
|
mutations?: Json;
|
|
21825
|
+
rows_purged_at?: string | null;
|
|
20358
21826
|
skipped_rows?: number;
|
|
21827
|
+
status?: string;
|
|
21828
|
+
total_chunks?: number;
|
|
20359
21829
|
total_rows?: number;
|
|
21830
|
+
undo_skipped_rows?: number;
|
|
21831
|
+
undone_rows?: number;
|
|
21832
|
+
updated_at?: string;
|
|
20360
21833
|
updated_rows?: number;
|
|
20361
21834
|
user_id?: string;
|
|
20362
21835
|
};
|
|
20363
21836
|
Relationships: [];
|
|
20364
21837
|
};
|
|
20365
|
-
|
|
21838
|
+
stock_integrity_alerts: {
|
|
20366
21839
|
Row: {
|
|
20367
|
-
|
|
21840
|
+
acknowledged_at: string | null;
|
|
21841
|
+
acknowledged_by: string | null;
|
|
21842
|
+
alert_kind: string;
|
|
20368
21843
|
created_at: string;
|
|
20369
|
-
created_by: string | null;
|
|
20370
21844
|
id: string;
|
|
20371
|
-
|
|
20372
|
-
|
|
20373
|
-
|
|
20374
|
-
|
|
20375
|
-
physical_after: number | null;
|
|
20376
|
-
physical_before: number | null;
|
|
20377
|
-
production_batch_id: string | null;
|
|
20378
|
-
qty_delta: number;
|
|
20379
|
-
reason: string | null;
|
|
20380
|
-
reserved_after: number | null;
|
|
20381
|
-
reserved_before: number | null;
|
|
20382
|
-
trade_item_key: string | null;
|
|
21845
|
+
item_count: number;
|
|
21846
|
+
items: Json;
|
|
21847
|
+
tx_id: number;
|
|
21848
|
+
updated_at: string;
|
|
20383
21849
|
};
|
|
20384
21850
|
Insert: {
|
|
20385
|
-
|
|
21851
|
+
acknowledged_at?: string | null;
|
|
21852
|
+
acknowledged_by?: string | null;
|
|
21853
|
+
alert_kind?: string;
|
|
21854
|
+
created_at?: string;
|
|
21855
|
+
id?: string;
|
|
21856
|
+
item_count?: number;
|
|
21857
|
+
items?: Json;
|
|
21858
|
+
tx_id: number;
|
|
21859
|
+
updated_at?: string;
|
|
21860
|
+
};
|
|
21861
|
+
Update: {
|
|
21862
|
+
acknowledged_at?: string | null;
|
|
21863
|
+
acknowledged_by?: string | null;
|
|
21864
|
+
alert_kind?: string;
|
|
21865
|
+
created_at?: string;
|
|
21866
|
+
id?: string;
|
|
21867
|
+
item_count?: number;
|
|
21868
|
+
items?: Json;
|
|
21869
|
+
tx_id?: number;
|
|
21870
|
+
updated_at?: string;
|
|
21871
|
+
};
|
|
21872
|
+
Relationships: [];
|
|
21873
|
+
};
|
|
21874
|
+
stock_mutation_log: {
|
|
21875
|
+
Row: {
|
|
21876
|
+
connection_id: string | null;
|
|
21877
|
+
created_at: string;
|
|
21878
|
+
created_by: string | null;
|
|
21879
|
+
id: string;
|
|
21880
|
+
mutation_type: string;
|
|
21881
|
+
order_id: string | null;
|
|
21882
|
+
order_item_id: string | null;
|
|
21883
|
+
order_source: string | null;
|
|
21884
|
+
physical_after: number | null;
|
|
21885
|
+
physical_before: number | null;
|
|
21886
|
+
production_batch_id: string | null;
|
|
21887
|
+
qty_delta: number;
|
|
21888
|
+
reason: string | null;
|
|
21889
|
+
reserved_after: number | null;
|
|
21890
|
+
reserved_before: number | null;
|
|
21891
|
+
trade_item_key: string | null;
|
|
21892
|
+
};
|
|
21893
|
+
Insert: {
|
|
21894
|
+
connection_id?: string | null;
|
|
20386
21895
|
created_at?: string;
|
|
20387
21896
|
created_by?: string | null;
|
|
20388
21897
|
id?: string;
|
|
@@ -20419,6 +21928,45 @@ export type Database = {
|
|
|
20419
21928
|
};
|
|
20420
21929
|
Relationships: [];
|
|
20421
21930
|
};
|
|
21931
|
+
structure_cleanup_log: {
|
|
21932
|
+
Row: {
|
|
21933
|
+
action: string;
|
|
21934
|
+
batch: string;
|
|
21935
|
+
created_at: string;
|
|
21936
|
+
id: string;
|
|
21937
|
+
new_row: Json | null;
|
|
21938
|
+
old_row: Json;
|
|
21939
|
+
reason: string;
|
|
21940
|
+
row_id: string;
|
|
21941
|
+
step: number;
|
|
21942
|
+
table_name: string;
|
|
21943
|
+
};
|
|
21944
|
+
Insert: {
|
|
21945
|
+
action: string;
|
|
21946
|
+
batch: string;
|
|
21947
|
+
created_at?: string;
|
|
21948
|
+
id?: string;
|
|
21949
|
+
new_row?: Json | null;
|
|
21950
|
+
old_row: Json;
|
|
21951
|
+
reason: string;
|
|
21952
|
+
row_id: string;
|
|
21953
|
+
step: number;
|
|
21954
|
+
table_name: string;
|
|
21955
|
+
};
|
|
21956
|
+
Update: {
|
|
21957
|
+
action?: string;
|
|
21958
|
+
batch?: string;
|
|
21959
|
+
created_at?: string;
|
|
21960
|
+
id?: string;
|
|
21961
|
+
new_row?: Json | null;
|
|
21962
|
+
old_row?: Json;
|
|
21963
|
+
reason?: string;
|
|
21964
|
+
row_id?: string;
|
|
21965
|
+
step?: number;
|
|
21966
|
+
table_name?: string;
|
|
21967
|
+
};
|
|
21968
|
+
Relationships: [];
|
|
21969
|
+
};
|
|
20422
21970
|
supplier_contacts: {
|
|
20423
21971
|
Row: {
|
|
20424
21972
|
created_at: string;
|
|
@@ -20850,6 +22398,59 @@ export type Database = {
|
|
|
20850
22398
|
}
|
|
20851
22399
|
];
|
|
20852
22400
|
};
|
|
22401
|
+
time_compensation_log: {
|
|
22402
|
+
Row: {
|
|
22403
|
+
actie: string;
|
|
22404
|
+
created_at: string;
|
|
22405
|
+
employee_id: string;
|
|
22406
|
+
entry_date: string;
|
|
22407
|
+
id: string;
|
|
22408
|
+
km: number;
|
|
22409
|
+
maaltijd: number;
|
|
22410
|
+
notities: string | null;
|
|
22411
|
+
performed_by: string | null;
|
|
22412
|
+
standby_avond: number;
|
|
22413
|
+
standby_weekend: number;
|
|
22414
|
+
tvt: number;
|
|
22415
|
+
};
|
|
22416
|
+
Insert: {
|
|
22417
|
+
actie: string;
|
|
22418
|
+
created_at?: string;
|
|
22419
|
+
employee_id: string;
|
|
22420
|
+
entry_date: string;
|
|
22421
|
+
id?: string;
|
|
22422
|
+
km?: number;
|
|
22423
|
+
maaltijd?: number;
|
|
22424
|
+
notities?: string | null;
|
|
22425
|
+
performed_by?: string | null;
|
|
22426
|
+
standby_avond?: number;
|
|
22427
|
+
standby_weekend?: number;
|
|
22428
|
+
tvt?: number;
|
|
22429
|
+
};
|
|
22430
|
+
Update: {
|
|
22431
|
+
actie?: string;
|
|
22432
|
+
created_at?: string;
|
|
22433
|
+
employee_id?: string;
|
|
22434
|
+
entry_date?: string;
|
|
22435
|
+
id?: string;
|
|
22436
|
+
km?: number;
|
|
22437
|
+
maaltijd?: number;
|
|
22438
|
+
notities?: string | null;
|
|
22439
|
+
performed_by?: string | null;
|
|
22440
|
+
standby_avond?: number;
|
|
22441
|
+
standby_weekend?: number;
|
|
22442
|
+
tvt?: number;
|
|
22443
|
+
};
|
|
22444
|
+
Relationships: [
|
|
22445
|
+
{
|
|
22446
|
+
foreignKeyName: "time_compensation_log_employee_id_fkey";
|
|
22447
|
+
columns: ["employee_id"];
|
|
22448
|
+
isOneToOne: false;
|
|
22449
|
+
referencedRelation: "profiles";
|
|
22450
|
+
referencedColumns: ["id"];
|
|
22451
|
+
}
|
|
22452
|
+
];
|
|
22453
|
+
};
|
|
20853
22454
|
time_entries: {
|
|
20854
22455
|
Row: {
|
|
20855
22456
|
created_at: string;
|
|
@@ -20950,6 +22551,9 @@ export type Database = {
|
|
|
20950
22551
|
};
|
|
20951
22552
|
time_logs: {
|
|
20952
22553
|
Row: {
|
|
22554
|
+
aangepast_door_monteur: boolean;
|
|
22555
|
+
aangepast_op: string | null;
|
|
22556
|
+
aanpassing_reden: string | null;
|
|
20953
22557
|
auto_stop_reason: string | null;
|
|
20954
22558
|
auto_stopped: boolean;
|
|
20955
22559
|
created_at: string;
|
|
@@ -20984,6 +22588,9 @@ export type Database = {
|
|
|
20984
22588
|
work_order_id: string | null;
|
|
20985
22589
|
};
|
|
20986
22590
|
Insert: {
|
|
22591
|
+
aangepast_door_monteur?: boolean;
|
|
22592
|
+
aangepast_op?: string | null;
|
|
22593
|
+
aanpassing_reden?: string | null;
|
|
20987
22594
|
auto_stop_reason?: string | null;
|
|
20988
22595
|
auto_stopped?: boolean;
|
|
20989
22596
|
created_at?: string;
|
|
@@ -21018,6 +22625,9 @@ export type Database = {
|
|
|
21018
22625
|
work_order_id?: string | null;
|
|
21019
22626
|
};
|
|
21020
22627
|
Update: {
|
|
22628
|
+
aangepast_door_monteur?: boolean;
|
|
22629
|
+
aangepast_op?: string | null;
|
|
22630
|
+
aanpassing_reden?: string | null;
|
|
21021
22631
|
auto_stop_reason?: string | null;
|
|
21022
22632
|
auto_stopped?: boolean;
|
|
21023
22633
|
created_at?: string;
|
|
@@ -21230,7 +22840,7 @@ export type Database = {
|
|
|
21230
22840
|
reserved_stock?: number;
|
|
21231
22841
|
trade_item_key: string;
|
|
21232
22842
|
updated_at?: string;
|
|
21233
|
-
user_id
|
|
22843
|
+
user_id?: string;
|
|
21234
22844
|
};
|
|
21235
22845
|
Update: {
|
|
21236
22846
|
change_source?: string;
|
|
@@ -21368,13 +22978,19 @@ export type Database = {
|
|
|
21368
22978
|
created_at: string;
|
|
21369
22979
|
disconnected_at: string | null;
|
|
21370
22980
|
environment: string;
|
|
22981
|
+
granted_scopes: string[] | null;
|
|
21371
22982
|
id: string;
|
|
21372
22983
|
initial_sync_completed_at: string | null;
|
|
22984
|
+
initial_sync_last_error: string | null;
|
|
22985
|
+
initial_sync_plan: Json | null;
|
|
21373
22986
|
initial_sync_started_at: string | null;
|
|
21374
22987
|
is_active: boolean;
|
|
21375
22988
|
label: string | null;
|
|
22989
|
+
missing_scopes: string[] | null;
|
|
21376
22990
|
office_code: string | null;
|
|
21377
22991
|
redirect_uri: string | null;
|
|
22992
|
+
scope_checked_at: string | null;
|
|
22993
|
+
scope_state: string | null;
|
|
21378
22994
|
superseded_at: string | null;
|
|
21379
22995
|
updated_at: string;
|
|
21380
22996
|
user_id: string;
|
|
@@ -21388,13 +23004,19 @@ export type Database = {
|
|
|
21388
23004
|
created_at?: string;
|
|
21389
23005
|
disconnected_at?: string | null;
|
|
21390
23006
|
environment: string;
|
|
23007
|
+
granted_scopes?: string[] | null;
|
|
21391
23008
|
id?: string;
|
|
21392
23009
|
initial_sync_completed_at?: string | null;
|
|
23010
|
+
initial_sync_last_error?: string | null;
|
|
23011
|
+
initial_sync_plan?: Json | null;
|
|
21393
23012
|
initial_sync_started_at?: string | null;
|
|
21394
23013
|
is_active?: boolean;
|
|
21395
23014
|
label?: string | null;
|
|
23015
|
+
missing_scopes?: string[] | null;
|
|
21396
23016
|
office_code?: string | null;
|
|
21397
23017
|
redirect_uri?: string | null;
|
|
23018
|
+
scope_checked_at?: string | null;
|
|
23019
|
+
scope_state?: string | null;
|
|
21398
23020
|
superseded_at?: string | null;
|
|
21399
23021
|
updated_at?: string;
|
|
21400
23022
|
user_id: string;
|
|
@@ -21408,13 +23030,19 @@ export type Database = {
|
|
|
21408
23030
|
created_at?: string;
|
|
21409
23031
|
disconnected_at?: string | null;
|
|
21410
23032
|
environment?: string;
|
|
23033
|
+
granted_scopes?: string[] | null;
|
|
21411
23034
|
id?: string;
|
|
21412
23035
|
initial_sync_completed_at?: string | null;
|
|
23036
|
+
initial_sync_last_error?: string | null;
|
|
23037
|
+
initial_sync_plan?: Json | null;
|
|
21413
23038
|
initial_sync_started_at?: string | null;
|
|
21414
23039
|
is_active?: boolean;
|
|
21415
23040
|
label?: string | null;
|
|
23041
|
+
missing_scopes?: string[] | null;
|
|
21416
23042
|
office_code?: string | null;
|
|
21417
23043
|
redirect_uri?: string | null;
|
|
23044
|
+
scope_checked_at?: string | null;
|
|
23045
|
+
scope_state?: string | null;
|
|
21418
23046
|
superseded_at?: string | null;
|
|
21419
23047
|
updated_at?: string;
|
|
21420
23048
|
user_id?: string;
|
|
@@ -21540,33 +23168,51 @@ export type Database = {
|
|
|
21540
23168
|
connection_id: string;
|
|
21541
23169
|
country: string | null;
|
|
21542
23170
|
data: Json;
|
|
23171
|
+
deactivated_at: string | null;
|
|
21543
23172
|
email: string | null;
|
|
21544
23173
|
fetched_at: string;
|
|
23174
|
+
is_active: boolean;
|
|
21545
23175
|
modified_at: string | null;
|
|
21546
23176
|
name: string | null;
|
|
23177
|
+
seen_at: string | null;
|
|
21547
23178
|
twinfield_code: string;
|
|
23179
|
+
twinfield_status: string | null;
|
|
23180
|
+
twinfield_uid: string | null;
|
|
23181
|
+
twinfield_version: number | null;
|
|
21548
23182
|
vat_number: string | null;
|
|
21549
23183
|
};
|
|
21550
23184
|
Insert: {
|
|
21551
23185
|
connection_id: string;
|
|
21552
23186
|
country?: string | null;
|
|
21553
23187
|
data?: Json;
|
|
23188
|
+
deactivated_at?: string | null;
|
|
21554
23189
|
email?: string | null;
|
|
21555
23190
|
fetched_at?: string;
|
|
23191
|
+
is_active?: boolean;
|
|
21556
23192
|
modified_at?: string | null;
|
|
21557
23193
|
name?: string | null;
|
|
23194
|
+
seen_at?: string | null;
|
|
21558
23195
|
twinfield_code: string;
|
|
23196
|
+
twinfield_status?: string | null;
|
|
23197
|
+
twinfield_uid?: string | null;
|
|
23198
|
+
twinfield_version?: number | null;
|
|
21559
23199
|
vat_number?: string | null;
|
|
21560
23200
|
};
|
|
21561
23201
|
Update: {
|
|
21562
23202
|
connection_id?: string;
|
|
21563
23203
|
country?: string | null;
|
|
21564
23204
|
data?: Json;
|
|
23205
|
+
deactivated_at?: string | null;
|
|
21565
23206
|
email?: string | null;
|
|
21566
23207
|
fetched_at?: string;
|
|
23208
|
+
is_active?: boolean;
|
|
21567
23209
|
modified_at?: string | null;
|
|
21568
23210
|
name?: string | null;
|
|
23211
|
+
seen_at?: string | null;
|
|
21569
23212
|
twinfield_code?: string;
|
|
23213
|
+
twinfield_status?: string | null;
|
|
23214
|
+
twinfield_uid?: string | null;
|
|
23215
|
+
twinfield_version?: number | null;
|
|
21570
23216
|
vat_number?: string | null;
|
|
21571
23217
|
};
|
|
21572
23218
|
Relationships: [
|
|
@@ -21579,6 +23225,59 @@ export type Database = {
|
|
|
21579
23225
|
}
|
|
21580
23226
|
];
|
|
21581
23227
|
};
|
|
23228
|
+
twinfield_dimension_types_cache: {
|
|
23229
|
+
Row: {
|
|
23230
|
+
connection_id: string | null;
|
|
23231
|
+
dim_type: string;
|
|
23232
|
+
fetched_at: string;
|
|
23233
|
+
label1: string | null;
|
|
23234
|
+
label2: string | null;
|
|
23235
|
+
label3: string | null;
|
|
23236
|
+
label4: string | null;
|
|
23237
|
+
label5: string | null;
|
|
23238
|
+
label6: string | null;
|
|
23239
|
+
mask: string | null;
|
|
23240
|
+
name: string | null;
|
|
23241
|
+
office_code: string;
|
|
23242
|
+
};
|
|
23243
|
+
Insert: {
|
|
23244
|
+
connection_id?: string | null;
|
|
23245
|
+
dim_type: string;
|
|
23246
|
+
fetched_at?: string;
|
|
23247
|
+
label1?: string | null;
|
|
23248
|
+
label2?: string | null;
|
|
23249
|
+
label3?: string | null;
|
|
23250
|
+
label4?: string | null;
|
|
23251
|
+
label5?: string | null;
|
|
23252
|
+
label6?: string | null;
|
|
23253
|
+
mask?: string | null;
|
|
23254
|
+
name?: string | null;
|
|
23255
|
+
office_code: string;
|
|
23256
|
+
};
|
|
23257
|
+
Update: {
|
|
23258
|
+
connection_id?: string | null;
|
|
23259
|
+
dim_type?: string;
|
|
23260
|
+
fetched_at?: string;
|
|
23261
|
+
label1?: string | null;
|
|
23262
|
+
label2?: string | null;
|
|
23263
|
+
label3?: string | null;
|
|
23264
|
+
label4?: string | null;
|
|
23265
|
+
label5?: string | null;
|
|
23266
|
+
label6?: string | null;
|
|
23267
|
+
mask?: string | null;
|
|
23268
|
+
name?: string | null;
|
|
23269
|
+
office_code?: string;
|
|
23270
|
+
};
|
|
23271
|
+
Relationships: [
|
|
23272
|
+
{
|
|
23273
|
+
foreignKeyName: "twinfield_dimension_types_cache_connection_id_fkey";
|
|
23274
|
+
columns: ["connection_id"];
|
|
23275
|
+
isOneToOne: false;
|
|
23276
|
+
referencedRelation: "twinfield_connections";
|
|
23277
|
+
referencedColumns: ["id"];
|
|
23278
|
+
}
|
|
23279
|
+
];
|
|
23280
|
+
};
|
|
21582
23281
|
twinfield_invoice_lines: {
|
|
21583
23282
|
Row: {
|
|
21584
23283
|
article_code: string | null;
|
|
@@ -22175,24 +23874,39 @@ export type Database = {
|
|
|
22175
23874
|
twinfield_request_metrics: {
|
|
22176
23875
|
Row: {
|
|
22177
23876
|
bucket_hour: string;
|
|
23877
|
+
clientid_limit: number | null;
|
|
23878
|
+
clientid_remaining: number | null;
|
|
22178
23879
|
connection_id: string;
|
|
22179
23880
|
error_count: number;
|
|
23881
|
+
rate_limit_limit: number | null;
|
|
23882
|
+
rate_limit_remaining: number | null;
|
|
23883
|
+
rate_limit_seen_at: string | null;
|
|
22180
23884
|
rate_limited_count: number;
|
|
22181
23885
|
request_count: number;
|
|
22182
23886
|
updated_at: string;
|
|
22183
23887
|
};
|
|
22184
23888
|
Insert: {
|
|
22185
23889
|
bucket_hour: string;
|
|
23890
|
+
clientid_limit?: number | null;
|
|
23891
|
+
clientid_remaining?: number | null;
|
|
22186
23892
|
connection_id: string;
|
|
22187
23893
|
error_count?: number;
|
|
23894
|
+
rate_limit_limit?: number | null;
|
|
23895
|
+
rate_limit_remaining?: number | null;
|
|
23896
|
+
rate_limit_seen_at?: string | null;
|
|
22188
23897
|
rate_limited_count?: number;
|
|
22189
23898
|
request_count?: number;
|
|
22190
23899
|
updated_at?: string;
|
|
22191
23900
|
};
|
|
22192
23901
|
Update: {
|
|
22193
23902
|
bucket_hour?: string;
|
|
23903
|
+
clientid_limit?: number | null;
|
|
23904
|
+
clientid_remaining?: number | null;
|
|
22194
23905
|
connection_id?: string;
|
|
22195
23906
|
error_count?: number;
|
|
23907
|
+
rate_limit_limit?: number | null;
|
|
23908
|
+
rate_limit_remaining?: number | null;
|
|
23909
|
+
rate_limit_seen_at?: string | null;
|
|
22196
23910
|
rate_limited_count?: number;
|
|
22197
23911
|
request_count?: number;
|
|
22198
23912
|
updated_at?: string;
|
|
@@ -22247,24 +23961,226 @@ export type Database = {
|
|
|
22247
23961
|
twinfield_settings: {
|
|
22248
23962
|
Row: {
|
|
22249
23963
|
active_environment: string;
|
|
23964
|
+
cron_registered_at: string | null;
|
|
23965
|
+
cron_registration_error: string | null;
|
|
23966
|
+
cron_schedules: Json;
|
|
23967
|
+
cron_timeouts: Json;
|
|
22250
23968
|
id: number;
|
|
22251
23969
|
public_base_url: string | null;
|
|
22252
23970
|
updated_at: string;
|
|
22253
23971
|
};
|
|
22254
23972
|
Insert: {
|
|
22255
23973
|
active_environment?: string;
|
|
23974
|
+
cron_registered_at?: string | null;
|
|
23975
|
+
cron_registration_error?: string | null;
|
|
23976
|
+
cron_schedules?: Json;
|
|
23977
|
+
cron_timeouts?: Json;
|
|
22256
23978
|
id?: number;
|
|
22257
23979
|
public_base_url?: string | null;
|
|
22258
23980
|
updated_at?: string;
|
|
22259
23981
|
};
|
|
22260
23982
|
Update: {
|
|
22261
23983
|
active_environment?: string;
|
|
23984
|
+
cron_registered_at?: string | null;
|
|
23985
|
+
cron_registration_error?: string | null;
|
|
23986
|
+
cron_schedules?: Json;
|
|
23987
|
+
cron_timeouts?: Json;
|
|
22262
23988
|
id?: number;
|
|
22263
23989
|
public_base_url?: string | null;
|
|
22264
23990
|
updated_at?: string;
|
|
22265
23991
|
};
|
|
22266
23992
|
Relationships: [];
|
|
22267
23993
|
};
|
|
23994
|
+
twinfield_sync_runs: {
|
|
23995
|
+
Row: {
|
|
23996
|
+
calls: number;
|
|
23997
|
+
changed: number;
|
|
23998
|
+
connection_id: string | null;
|
|
23999
|
+
deactivated: number;
|
|
24000
|
+
details: Json;
|
|
24001
|
+
error: string | null;
|
|
24002
|
+
fetched: number;
|
|
24003
|
+
finished_at: string | null;
|
|
24004
|
+
id: string;
|
|
24005
|
+
item_errors: number;
|
|
24006
|
+
kind: string;
|
|
24007
|
+
rate_limited: number;
|
|
24008
|
+
started_at: string;
|
|
24009
|
+
status: string;
|
|
24010
|
+
};
|
|
24011
|
+
Insert: {
|
|
24012
|
+
calls?: number;
|
|
24013
|
+
changed?: number;
|
|
24014
|
+
connection_id?: string | null;
|
|
24015
|
+
deactivated?: number;
|
|
24016
|
+
details?: Json;
|
|
24017
|
+
error?: string | null;
|
|
24018
|
+
fetched?: number;
|
|
24019
|
+
finished_at?: string | null;
|
|
24020
|
+
id?: string;
|
|
24021
|
+
item_errors?: number;
|
|
24022
|
+
kind: string;
|
|
24023
|
+
rate_limited?: number;
|
|
24024
|
+
started_at?: string;
|
|
24025
|
+
status?: string;
|
|
24026
|
+
};
|
|
24027
|
+
Update: {
|
|
24028
|
+
calls?: number;
|
|
24029
|
+
changed?: number;
|
|
24030
|
+
connection_id?: string | null;
|
|
24031
|
+
deactivated?: number;
|
|
24032
|
+
details?: Json;
|
|
24033
|
+
error?: string | null;
|
|
24034
|
+
fetched?: number;
|
|
24035
|
+
finished_at?: string | null;
|
|
24036
|
+
id?: string;
|
|
24037
|
+
item_errors?: number;
|
|
24038
|
+
kind?: string;
|
|
24039
|
+
rate_limited?: number;
|
|
24040
|
+
started_at?: string;
|
|
24041
|
+
status?: string;
|
|
24042
|
+
};
|
|
24043
|
+
Relationships: [
|
|
24044
|
+
{
|
|
24045
|
+
foreignKeyName: "twinfield_sync_runs_connection_id_fkey";
|
|
24046
|
+
columns: ["connection_id"];
|
|
24047
|
+
isOneToOne: false;
|
|
24048
|
+
referencedRelation: "twinfield_connections";
|
|
24049
|
+
referencedColumns: ["id"];
|
|
24050
|
+
}
|
|
24051
|
+
];
|
|
24052
|
+
};
|
|
24053
|
+
twinfield_sync_settings: {
|
|
24054
|
+
Row: {
|
|
24055
|
+
batch_size: number;
|
|
24056
|
+
change_overlap_seconds: number;
|
|
24057
|
+
change_poll_interval_seconds: number;
|
|
24058
|
+
connection_id: string;
|
|
24059
|
+
created_at: string;
|
|
24060
|
+
currency: string | null;
|
|
24061
|
+
currency_at: string | null;
|
|
24062
|
+
currency_source: string | null;
|
|
24063
|
+
customer_gl_account: string | null;
|
|
24064
|
+
customer_gl_account_at: string | null;
|
|
24065
|
+
customer_gl_account_source: string | null;
|
|
24066
|
+
customers_written_by_module: boolean;
|
|
24067
|
+
default_country: string | null;
|
|
24068
|
+
default_country_at: string | null;
|
|
24069
|
+
default_country_source: string | null;
|
|
24070
|
+
default_language: string | null;
|
|
24071
|
+
default_language_at: string | null;
|
|
24072
|
+
default_language_source: string | null;
|
|
24073
|
+
nightly_full_scan_cron: string;
|
|
24074
|
+
payment_term_min_invoices: number;
|
|
24075
|
+
payment_term_min_share: number;
|
|
24076
|
+
rate_limit_floor: number;
|
|
24077
|
+
requires_manual_approval: boolean;
|
|
24078
|
+
run_budget_ms: number;
|
|
24079
|
+
sales_daybook: string | null;
|
|
24080
|
+
sales_daybook_confirmed_at: string | null;
|
|
24081
|
+
sales_daybook_confirmed_by: string | null;
|
|
24082
|
+
sales_gl_account: string | null;
|
|
24083
|
+
sales_gl_account_at: string | null;
|
|
24084
|
+
sales_gl_account_source: string | null;
|
|
24085
|
+
sales_invoice_type: string | null;
|
|
24086
|
+
sales_invoice_type_confirmed_at: string | null;
|
|
24087
|
+
sales_invoice_type_confirmed_by: string | null;
|
|
24088
|
+
sales_payment_term_at: string | null;
|
|
24089
|
+
sales_payment_term_days: number | null;
|
|
24090
|
+
sales_payment_term_source: string | null;
|
|
24091
|
+
suggestion_warnings: Json;
|
|
24092
|
+
updated_at: string;
|
|
24093
|
+
};
|
|
24094
|
+
Insert: {
|
|
24095
|
+
batch_size?: number;
|
|
24096
|
+
change_overlap_seconds?: number;
|
|
24097
|
+
change_poll_interval_seconds?: number;
|
|
24098
|
+
connection_id: string;
|
|
24099
|
+
created_at?: string;
|
|
24100
|
+
currency?: string | null;
|
|
24101
|
+
currency_at?: string | null;
|
|
24102
|
+
currency_source?: string | null;
|
|
24103
|
+
customer_gl_account?: string | null;
|
|
24104
|
+
customer_gl_account_at?: string | null;
|
|
24105
|
+
customer_gl_account_source?: string | null;
|
|
24106
|
+
customers_written_by_module?: boolean;
|
|
24107
|
+
default_country?: string | null;
|
|
24108
|
+
default_country_at?: string | null;
|
|
24109
|
+
default_country_source?: string | null;
|
|
24110
|
+
default_language?: string | null;
|
|
24111
|
+
default_language_at?: string | null;
|
|
24112
|
+
default_language_source?: string | null;
|
|
24113
|
+
nightly_full_scan_cron?: string;
|
|
24114
|
+
payment_term_min_invoices?: number;
|
|
24115
|
+
payment_term_min_share?: number;
|
|
24116
|
+
rate_limit_floor?: number;
|
|
24117
|
+
requires_manual_approval?: boolean;
|
|
24118
|
+
run_budget_ms?: number;
|
|
24119
|
+
sales_daybook?: string | null;
|
|
24120
|
+
sales_daybook_confirmed_at?: string | null;
|
|
24121
|
+
sales_daybook_confirmed_by?: string | null;
|
|
24122
|
+
sales_gl_account?: string | null;
|
|
24123
|
+
sales_gl_account_at?: string | null;
|
|
24124
|
+
sales_gl_account_source?: string | null;
|
|
24125
|
+
sales_invoice_type?: string | null;
|
|
24126
|
+
sales_invoice_type_confirmed_at?: string | null;
|
|
24127
|
+
sales_invoice_type_confirmed_by?: string | null;
|
|
24128
|
+
sales_payment_term_at?: string | null;
|
|
24129
|
+
sales_payment_term_days?: number | null;
|
|
24130
|
+
sales_payment_term_source?: string | null;
|
|
24131
|
+
suggestion_warnings?: Json;
|
|
24132
|
+
updated_at?: string;
|
|
24133
|
+
};
|
|
24134
|
+
Update: {
|
|
24135
|
+
batch_size?: number;
|
|
24136
|
+
change_overlap_seconds?: number;
|
|
24137
|
+
change_poll_interval_seconds?: number;
|
|
24138
|
+
connection_id?: string;
|
|
24139
|
+
created_at?: string;
|
|
24140
|
+
currency?: string | null;
|
|
24141
|
+
currency_at?: string | null;
|
|
24142
|
+
currency_source?: string | null;
|
|
24143
|
+
customer_gl_account?: string | null;
|
|
24144
|
+
customer_gl_account_at?: string | null;
|
|
24145
|
+
customer_gl_account_source?: string | null;
|
|
24146
|
+
customers_written_by_module?: boolean;
|
|
24147
|
+
default_country?: string | null;
|
|
24148
|
+
default_country_at?: string | null;
|
|
24149
|
+
default_country_source?: string | null;
|
|
24150
|
+
default_language?: string | null;
|
|
24151
|
+
default_language_at?: string | null;
|
|
24152
|
+
default_language_source?: string | null;
|
|
24153
|
+
nightly_full_scan_cron?: string;
|
|
24154
|
+
payment_term_min_invoices?: number;
|
|
24155
|
+
payment_term_min_share?: number;
|
|
24156
|
+
rate_limit_floor?: number;
|
|
24157
|
+
requires_manual_approval?: boolean;
|
|
24158
|
+
run_budget_ms?: number;
|
|
24159
|
+
sales_daybook?: string | null;
|
|
24160
|
+
sales_daybook_confirmed_at?: string | null;
|
|
24161
|
+
sales_daybook_confirmed_by?: string | null;
|
|
24162
|
+
sales_gl_account?: string | null;
|
|
24163
|
+
sales_gl_account_at?: string | null;
|
|
24164
|
+
sales_gl_account_source?: string | null;
|
|
24165
|
+
sales_invoice_type?: string | null;
|
|
24166
|
+
sales_invoice_type_confirmed_at?: string | null;
|
|
24167
|
+
sales_invoice_type_confirmed_by?: string | null;
|
|
24168
|
+
sales_payment_term_at?: string | null;
|
|
24169
|
+
sales_payment_term_days?: number | null;
|
|
24170
|
+
sales_payment_term_source?: string | null;
|
|
24171
|
+
suggestion_warnings?: Json;
|
|
24172
|
+
updated_at?: string;
|
|
24173
|
+
};
|
|
24174
|
+
Relationships: [
|
|
24175
|
+
{
|
|
24176
|
+
foreignKeyName: "twinfield_sync_settings_connection_id_fkey";
|
|
24177
|
+
columns: ["connection_id"];
|
|
24178
|
+
isOneToOne: true;
|
|
24179
|
+
referencedRelation: "twinfield_connections";
|
|
24180
|
+
referencedColumns: ["id"];
|
|
24181
|
+
}
|
|
24182
|
+
];
|
|
24183
|
+
};
|
|
22268
24184
|
twinfield_sync_state: {
|
|
22269
24185
|
Row: {
|
|
22270
24186
|
connection_id: string;
|
|
@@ -22300,6 +24216,51 @@ export type Database = {
|
|
|
22300
24216
|
}
|
|
22301
24217
|
];
|
|
22302
24218
|
};
|
|
24219
|
+
twinfield_vat_code_map: {
|
|
24220
|
+
Row: {
|
|
24221
|
+
confirmed_at: string | null;
|
|
24222
|
+
confirmed_by: string | null;
|
|
24223
|
+
fetched_at: string;
|
|
24224
|
+
id: string;
|
|
24225
|
+
is_default: boolean;
|
|
24226
|
+
name: string | null;
|
|
24227
|
+
office_code: string;
|
|
24228
|
+
percentage: number | null;
|
|
24229
|
+
source: string;
|
|
24230
|
+
vat_category: string | null;
|
|
24231
|
+
vat_code: string;
|
|
24232
|
+
vat_type: string | null;
|
|
24233
|
+
};
|
|
24234
|
+
Insert: {
|
|
24235
|
+
confirmed_at?: string | null;
|
|
24236
|
+
confirmed_by?: string | null;
|
|
24237
|
+
fetched_at?: string;
|
|
24238
|
+
id?: string;
|
|
24239
|
+
is_default?: boolean;
|
|
24240
|
+
name?: string | null;
|
|
24241
|
+
office_code: string;
|
|
24242
|
+
percentage?: number | null;
|
|
24243
|
+
source?: string;
|
|
24244
|
+
vat_category?: string | null;
|
|
24245
|
+
vat_code: string;
|
|
24246
|
+
vat_type?: string | null;
|
|
24247
|
+
};
|
|
24248
|
+
Update: {
|
|
24249
|
+
confirmed_at?: string | null;
|
|
24250
|
+
confirmed_by?: string | null;
|
|
24251
|
+
fetched_at?: string;
|
|
24252
|
+
id?: string;
|
|
24253
|
+
is_default?: boolean;
|
|
24254
|
+
name?: string | null;
|
|
24255
|
+
office_code?: string;
|
|
24256
|
+
percentage?: number | null;
|
|
24257
|
+
source?: string;
|
|
24258
|
+
vat_category?: string | null;
|
|
24259
|
+
vat_code?: string;
|
|
24260
|
+
vat_type?: string | null;
|
|
24261
|
+
};
|
|
24262
|
+
Relationships: [];
|
|
24263
|
+
};
|
|
22303
24264
|
uren_beschikbare_dagen: {
|
|
22304
24265
|
Row: {
|
|
22305
24266
|
bron: string;
|
|
@@ -22480,6 +24441,36 @@ export type Database = {
|
|
|
22480
24441
|
};
|
|
22481
24442
|
Relationships: [];
|
|
22482
24443
|
};
|
|
24444
|
+
uren_indirecte_uren: {
|
|
24445
|
+
Row: {
|
|
24446
|
+
created_at: string;
|
|
24447
|
+
datum: string;
|
|
24448
|
+
id: string;
|
|
24449
|
+
minuten: number;
|
|
24450
|
+
monteur_id: string;
|
|
24451
|
+
toelichting: string;
|
|
24452
|
+
updated_at: string;
|
|
24453
|
+
};
|
|
24454
|
+
Insert: {
|
|
24455
|
+
created_at?: string;
|
|
24456
|
+
datum: string;
|
|
24457
|
+
id?: string;
|
|
24458
|
+
minuten: number;
|
|
24459
|
+
monteur_id: string;
|
|
24460
|
+
toelichting: string;
|
|
24461
|
+
updated_at?: string;
|
|
24462
|
+
};
|
|
24463
|
+
Update: {
|
|
24464
|
+
created_at?: string;
|
|
24465
|
+
datum?: string;
|
|
24466
|
+
id?: string;
|
|
24467
|
+
minuten?: number;
|
|
24468
|
+
monteur_id?: string;
|
|
24469
|
+
toelichting?: string;
|
|
24470
|
+
updated_at?: string;
|
|
24471
|
+
};
|
|
24472
|
+
Relationships: [];
|
|
24473
|
+
};
|
|
22483
24474
|
uren_maandafsluitingen: {
|
|
22484
24475
|
Row: {
|
|
22485
24476
|
afgesloten_at: string | null;
|
|
@@ -22562,50 +24553,77 @@ export type Database = {
|
|
|
22562
24553
|
Row: {
|
|
22563
24554
|
beoordeeld_door: string | null;
|
|
22564
24555
|
beoordeeld_op: string | null;
|
|
24556
|
+
blokken: Json;
|
|
24557
|
+
cancellation_requested_at: string | null;
|
|
24558
|
+
cancellation_status: string | null;
|
|
22565
24559
|
created_at: string;
|
|
22566
24560
|
datum: string;
|
|
22567
24561
|
eind_tijd: string | null;
|
|
22568
24562
|
id: string;
|
|
22569
24563
|
ingediend_at: string;
|
|
22570
24564
|
monteur_id: string;
|
|
24565
|
+
ov178_uren: number;
|
|
24566
|
+
ov189_uren: number;
|
|
22571
24567
|
overuren: number;
|
|
22572
24568
|
reden_afkeur: string | null;
|
|
22573
24569
|
start_tijd: string | null;
|
|
22574
24570
|
status: string;
|
|
22575
|
-
toelichting: string;
|
|
24571
|
+
toelichting: string | null;
|
|
24572
|
+
tvt_uren: number;
|
|
22576
24573
|
updated_at: string;
|
|
24574
|
+
uren_na: number;
|
|
24575
|
+
uren_voor: number;
|
|
24576
|
+
verwerking: string;
|
|
22577
24577
|
};
|
|
22578
24578
|
Insert: {
|
|
22579
24579
|
beoordeeld_door?: string | null;
|
|
22580
24580
|
beoordeeld_op?: string | null;
|
|
24581
|
+
blokken?: Json;
|
|
24582
|
+
cancellation_requested_at?: string | null;
|
|
24583
|
+
cancellation_status?: string | null;
|
|
22581
24584
|
created_at?: string;
|
|
22582
24585
|
datum: string;
|
|
22583
24586
|
eind_tijd?: string | null;
|
|
22584
24587
|
id?: string;
|
|
22585
24588
|
ingediend_at?: string;
|
|
22586
24589
|
monteur_id: string;
|
|
24590
|
+
ov178_uren?: number;
|
|
24591
|
+
ov189_uren?: number;
|
|
22587
24592
|
overuren: number;
|
|
22588
24593
|
reden_afkeur?: string | null;
|
|
22589
24594
|
start_tijd?: string | null;
|
|
22590
24595
|
status?: string;
|
|
22591
|
-
toelichting
|
|
24596
|
+
toelichting?: string | null;
|
|
24597
|
+
tvt_uren?: number;
|
|
22592
24598
|
updated_at?: string;
|
|
24599
|
+
uren_na?: number;
|
|
24600
|
+
uren_voor?: number;
|
|
24601
|
+
verwerking?: string;
|
|
22593
24602
|
};
|
|
22594
24603
|
Update: {
|
|
22595
24604
|
beoordeeld_door?: string | null;
|
|
22596
24605
|
beoordeeld_op?: string | null;
|
|
24606
|
+
blokken?: Json;
|
|
24607
|
+
cancellation_requested_at?: string | null;
|
|
24608
|
+
cancellation_status?: string | null;
|
|
22597
24609
|
created_at?: string;
|
|
22598
24610
|
datum?: string;
|
|
22599
24611
|
eind_tijd?: string | null;
|
|
22600
24612
|
id?: string;
|
|
22601
24613
|
ingediend_at?: string;
|
|
22602
24614
|
monteur_id?: string;
|
|
24615
|
+
ov178_uren?: number;
|
|
24616
|
+
ov189_uren?: number;
|
|
22603
24617
|
overuren?: number;
|
|
22604
24618
|
reden_afkeur?: string | null;
|
|
22605
24619
|
start_tijd?: string | null;
|
|
22606
24620
|
status?: string;
|
|
22607
|
-
toelichting?: string;
|
|
24621
|
+
toelichting?: string | null;
|
|
24622
|
+
tvt_uren?: number;
|
|
22608
24623
|
updated_at?: string;
|
|
24624
|
+
uren_na?: number;
|
|
24625
|
+
uren_voor?: number;
|
|
24626
|
+
verwerking?: string;
|
|
22609
24627
|
};
|
|
22610
24628
|
Relationships: [];
|
|
22611
24629
|
};
|
|
@@ -24376,6 +26394,7 @@ export type Database = {
|
|
|
24376
26394
|
created_by: string;
|
|
24377
26395
|
customer_id: string | null;
|
|
24378
26396
|
id: string;
|
|
26397
|
+
offerte_id: string | null;
|
|
24379
26398
|
payload: Json;
|
|
24380
26399
|
reden: string | null;
|
|
24381
26400
|
status: string;
|
|
@@ -24391,6 +26410,7 @@ export type Database = {
|
|
|
24391
26410
|
created_by?: string;
|
|
24392
26411
|
customer_id?: string | null;
|
|
24393
26412
|
id?: string;
|
|
26413
|
+
offerte_id?: string | null;
|
|
24394
26414
|
payload?: Json;
|
|
24395
26415
|
reden?: string | null;
|
|
24396
26416
|
status?: string;
|
|
@@ -24406,6 +26426,7 @@ export type Database = {
|
|
|
24406
26426
|
created_by?: string;
|
|
24407
26427
|
customer_id?: string | null;
|
|
24408
26428
|
id?: string;
|
|
26429
|
+
offerte_id?: string | null;
|
|
24409
26430
|
payload?: Json;
|
|
24410
26431
|
reden?: string | null;
|
|
24411
26432
|
status?: string;
|
|
@@ -24447,12 +26468,14 @@ export type Database = {
|
|
|
24447
26468
|
};
|
|
24448
26469
|
werkbonnen: {
|
|
24449
26470
|
Row: {
|
|
26471
|
+
afgerond_op: string | null;
|
|
24450
26472
|
assigned_user_id: string | null;
|
|
24451
26473
|
budget_mandate_cents: number;
|
|
24452
26474
|
complaint_description: string | null;
|
|
24453
26475
|
created_at: string;
|
|
24454
26476
|
created_by: string | null;
|
|
24455
26477
|
customer_id: string | null;
|
|
26478
|
+
customer_name: string | null;
|
|
24456
26479
|
deadline_date: string | null;
|
|
24457
26480
|
estimated_days: number | null;
|
|
24458
26481
|
estimated_duration_minutes: number | null;
|
|
@@ -24462,6 +26485,8 @@ export type Database = {
|
|
|
24462
26485
|
id: string;
|
|
24463
26486
|
internal_notes: string | null;
|
|
24464
26487
|
needs_detail_review: boolean;
|
|
26488
|
+
offerte_teruggestuurd_id: string | null;
|
|
26489
|
+
offerte_teruggestuurd_op: string | null;
|
|
24465
26490
|
parent_werkbon_id: string | null;
|
|
24466
26491
|
parsed_payload: Json | null;
|
|
24467
26492
|
planning_status: string;
|
|
@@ -24489,12 +26514,14 @@ export type Database = {
|
|
|
24489
26514
|
workday_hours: number | null;
|
|
24490
26515
|
};
|
|
24491
26516
|
Insert: {
|
|
26517
|
+
afgerond_op?: string | null;
|
|
24492
26518
|
assigned_user_id?: string | null;
|
|
24493
26519
|
budget_mandate_cents?: number;
|
|
24494
26520
|
complaint_description?: string | null;
|
|
24495
26521
|
created_at?: string;
|
|
24496
26522
|
created_by?: string | null;
|
|
24497
26523
|
customer_id?: string | null;
|
|
26524
|
+
customer_name?: string | null;
|
|
24498
26525
|
deadline_date?: string | null;
|
|
24499
26526
|
estimated_days?: number | null;
|
|
24500
26527
|
estimated_duration_minutes?: number | null;
|
|
@@ -24504,6 +26531,8 @@ export type Database = {
|
|
|
24504
26531
|
id?: string;
|
|
24505
26532
|
internal_notes?: string | null;
|
|
24506
26533
|
needs_detail_review?: boolean;
|
|
26534
|
+
offerte_teruggestuurd_id?: string | null;
|
|
26535
|
+
offerte_teruggestuurd_op?: string | null;
|
|
24507
26536
|
parent_werkbon_id?: string | null;
|
|
24508
26537
|
parsed_payload?: Json | null;
|
|
24509
26538
|
planning_status?: string;
|
|
@@ -24531,12 +26560,14 @@ export type Database = {
|
|
|
24531
26560
|
workday_hours?: number | null;
|
|
24532
26561
|
};
|
|
24533
26562
|
Update: {
|
|
26563
|
+
afgerond_op?: string | null;
|
|
24534
26564
|
assigned_user_id?: string | null;
|
|
24535
26565
|
budget_mandate_cents?: number;
|
|
24536
26566
|
complaint_description?: string | null;
|
|
24537
26567
|
created_at?: string;
|
|
24538
26568
|
created_by?: string | null;
|
|
24539
26569
|
customer_id?: string | null;
|
|
26570
|
+
customer_name?: string | null;
|
|
24540
26571
|
deadline_date?: string | null;
|
|
24541
26572
|
estimated_days?: number | null;
|
|
24542
26573
|
estimated_duration_minutes?: number | null;
|
|
@@ -24546,6 +26577,8 @@ export type Database = {
|
|
|
24546
26577
|
id?: string;
|
|
24547
26578
|
internal_notes?: string | null;
|
|
24548
26579
|
needs_detail_review?: boolean;
|
|
26580
|
+
offerte_teruggestuurd_id?: string | null;
|
|
26581
|
+
offerte_teruggestuurd_op?: string | null;
|
|
24549
26582
|
parent_werkbon_id?: string | null;
|
|
24550
26583
|
parsed_payload?: Json | null;
|
|
24551
26584
|
planning_status?: string;
|
|
@@ -24940,6 +26973,7 @@ export type Database = {
|
|
|
24940
26973
|
group_key: string | null;
|
|
24941
26974
|
is_active: boolean | null;
|
|
24942
26975
|
is_merged: boolean | null;
|
|
26976
|
+
last_changed_at: string | null;
|
|
24943
26977
|
logo_url: string | null;
|
|
24944
26978
|
match_key: string | null;
|
|
24945
26979
|
phone: string | null;
|
|
@@ -24953,6 +26987,7 @@ export type Database = {
|
|
|
24953
26987
|
};
|
|
24954
26988
|
external_customers_unified: {
|
|
24955
26989
|
Row: {
|
|
26990
|
+
changed_at: string | null;
|
|
24956
26991
|
city: string | null;
|
|
24957
26992
|
commercial_name: string | null;
|
|
24958
26993
|
company_name: string | null;
|
|
@@ -25363,6 +27398,7 @@ export type Database = {
|
|
|
25363
27398
|
};
|
|
25364
27399
|
v_external_customers_floriday: {
|
|
25365
27400
|
Row: {
|
|
27401
|
+
changed_at: string | null;
|
|
25366
27402
|
city: string | null;
|
|
25367
27403
|
commercial_name: string | null;
|
|
25368
27404
|
company_name: string | null;
|
|
@@ -25398,6 +27434,7 @@ export type Database = {
|
|
|
25398
27434
|
};
|
|
25399
27435
|
v_external_customers_local: {
|
|
25400
27436
|
Row: {
|
|
27437
|
+
changed_at: string | null;
|
|
25401
27438
|
city: string | null;
|
|
25402
27439
|
commercial_name: string | null;
|
|
25403
27440
|
company_name: string | null;
|
|
@@ -25422,6 +27459,7 @@ export type Database = {
|
|
|
25422
27459
|
website: string | null;
|
|
25423
27460
|
};
|
|
25424
27461
|
Insert: {
|
|
27462
|
+
changed_at?: never;
|
|
25425
27463
|
city?: string | null;
|
|
25426
27464
|
commercial_name?: string | null;
|
|
25427
27465
|
company_name?: string | null;
|
|
@@ -25446,6 +27484,7 @@ export type Database = {
|
|
|
25446
27484
|
website?: string | null;
|
|
25447
27485
|
};
|
|
25448
27486
|
Update: {
|
|
27487
|
+
changed_at?: never;
|
|
25449
27488
|
city?: string | null;
|
|
25450
27489
|
commercial_name?: string | null;
|
|
25451
27490
|
company_name?: string | null;
|
|
@@ -25473,6 +27512,7 @@ export type Database = {
|
|
|
25473
27512
|
};
|
|
25474
27513
|
v_external_customers_twinfield: {
|
|
25475
27514
|
Row: {
|
|
27515
|
+
changed_at: string | null;
|
|
25476
27516
|
city: string | null;
|
|
25477
27517
|
commercial_name: string | null;
|
|
25478
27518
|
company_name: string | null;
|
|
@@ -25706,6 +27746,15 @@ export type Database = {
|
|
|
25706
27746
|
};
|
|
25707
27747
|
};
|
|
25708
27748
|
Functions: {
|
|
27749
|
+
_floriday_queue_cleanup_batch: {
|
|
27750
|
+
Args: {
|
|
27751
|
+
p_days: number;
|
|
27752
|
+
p_keep_latest: boolean;
|
|
27753
|
+
p_limit: number;
|
|
27754
|
+
p_statuses: string[];
|
|
27755
|
+
};
|
|
27756
|
+
Returns: number;
|
|
27757
|
+
};
|
|
25709
27758
|
_floriday_schedule_job: {
|
|
25710
27759
|
Args: {
|
|
25711
27760
|
p_apikey: string;
|
|
@@ -25729,6 +27778,12 @@ export type Database = {
|
|
|
25729
27778
|
};
|
|
25730
27779
|
Returns: Json;
|
|
25731
27780
|
};
|
|
27781
|
+
_stock_import_caller: {
|
|
27782
|
+
Args: {
|
|
27783
|
+
p_owner: string;
|
|
27784
|
+
};
|
|
27785
|
+
Returns: boolean;
|
|
27786
|
+
};
|
|
25732
27787
|
_wo_is_planner: {
|
|
25733
27788
|
Args: never;
|
|
25734
27789
|
Returns: boolean;
|
|
@@ -25861,6 +27916,8 @@ export type Database = {
|
|
|
25861
27916
|
desired_availability: boolean;
|
|
25862
27917
|
desired_quantity: number;
|
|
25863
27918
|
erp_available: number;
|
|
27919
|
+
packing_size: number;
|
|
27920
|
+
reason: string;
|
|
25864
27921
|
stock_mode: string;
|
|
25865
27922
|
}[];
|
|
25866
27923
|
};
|
|
@@ -25870,6 +27927,15 @@ export type Database = {
|
|
|
25870
27927
|
};
|
|
25871
27928
|
Returns: number;
|
|
25872
27929
|
};
|
|
27930
|
+
calculate_structure_available: {
|
|
27931
|
+
Args: {
|
|
27932
|
+
p_connection_id: string;
|
|
27933
|
+
p_level?: number;
|
|
27934
|
+
p_path?: string[];
|
|
27935
|
+
p_product_id: string;
|
|
27936
|
+
};
|
|
27937
|
+
Returns: Json;
|
|
27938
|
+
};
|
|
25873
27939
|
call_exact_route: {
|
|
25874
27940
|
Args: {
|
|
25875
27941
|
path: string;
|
|
@@ -25898,6 +27964,19 @@ export type Database = {
|
|
|
25898
27964
|
};
|
|
25899
27965
|
Returns: Json;
|
|
25900
27966
|
};
|
|
27967
|
+
check_product_structure: {
|
|
27968
|
+
Args: {
|
|
27969
|
+
p_child: string;
|
|
27970
|
+
p_kind: string;
|
|
27971
|
+
p_name?: string;
|
|
27972
|
+
p_parent: string;
|
|
27973
|
+
};
|
|
27974
|
+
Returns: {
|
|
27975
|
+
code: string;
|
|
27976
|
+
message: string;
|
|
27977
|
+
ok: boolean;
|
|
27978
|
+
}[];
|
|
27979
|
+
};
|
|
25901
27980
|
check_trade_item_available_stock: {
|
|
25902
27981
|
Args: {
|
|
25903
27982
|
p_connection_id?: string;
|
|
@@ -25971,6 +28050,24 @@ export type Database = {
|
|
|
25971
28050
|
isSetofReturn: true;
|
|
25972
28051
|
};
|
|
25973
28052
|
};
|
|
28053
|
+
claim_floriday_base_supply: {
|
|
28054
|
+
Args: {
|
|
28055
|
+
p_worker?: string;
|
|
28056
|
+
};
|
|
28057
|
+
Returns: {
|
|
28058
|
+
attempts: number;
|
|
28059
|
+
id: string;
|
|
28060
|
+
number_of_pieces: number;
|
|
28061
|
+
product_id: string;
|
|
28062
|
+
sale_price: number;
|
|
28063
|
+
stock_mode: string;
|
|
28064
|
+
target_week: number;
|
|
28065
|
+
target_year: number;
|
|
28066
|
+
trade_item_id: string;
|
|
28067
|
+
unit: string;
|
|
28068
|
+
uses_catalog_availability: boolean;
|
|
28069
|
+
}[];
|
|
28070
|
+
};
|
|
25974
28071
|
claim_floriday_stock_queue: {
|
|
25975
28072
|
Args: {
|
|
25976
28073
|
p_limit?: number;
|
|
@@ -25978,19 +28075,28 @@ export type Database = {
|
|
|
25978
28075
|
};
|
|
25979
28076
|
Returns: {
|
|
25980
28077
|
attempts: number;
|
|
28078
|
+
availability_sent_at: string | null;
|
|
28079
|
+
base_supply_outcome: string | null;
|
|
25981
28080
|
connection_id: string;
|
|
25982
28081
|
created_at: string;
|
|
25983
28082
|
dead_lettered_at: string | null;
|
|
25984
28083
|
desired_available: boolean | null;
|
|
25985
28084
|
gateway_attempt_id: string | null;
|
|
28085
|
+
gateway_unreachable_since: string | null;
|
|
25986
28086
|
id: string;
|
|
25987
28087
|
last_error: string | null;
|
|
25988
28088
|
locked_at: string | null;
|
|
25989
28089
|
locked_by: string | null;
|
|
25990
28090
|
next_attempt_at: string;
|
|
25991
28091
|
number_of_pieces: number;
|
|
28092
|
+
price_note: string | null;
|
|
28093
|
+
price_sent: number | null;
|
|
28094
|
+
price_status: string | null;
|
|
25992
28095
|
product_id: string | null;
|
|
28096
|
+
quantity_sent_at: string | null;
|
|
28097
|
+
result_label: string | null;
|
|
25993
28098
|
sent_at: string | null;
|
|
28099
|
+
skip_reason: string | null;
|
|
25994
28100
|
status: string;
|
|
25995
28101
|
stock_mode: string | null;
|
|
25996
28102
|
superseded_by: string | null;
|
|
@@ -26240,10 +28346,31 @@ export type Database = {
|
|
|
26240
28346
|
Args: never;
|
|
26241
28347
|
Returns: undefined;
|
|
26242
28348
|
};
|
|
28349
|
+
cleanup_standby_planning: {
|
|
28350
|
+
Args: never;
|
|
28351
|
+
Returns: number;
|
|
28352
|
+
};
|
|
28353
|
+
cleanup_time_compensation_log: {
|
|
28354
|
+
Args: never;
|
|
28355
|
+
Returns: number;
|
|
28356
|
+
};
|
|
26243
28357
|
cleanup_voorraad_module_history: {
|
|
26244
28358
|
Args: never;
|
|
26245
28359
|
Returns: undefined;
|
|
26246
28360
|
};
|
|
28361
|
+
complete_floriday_base_supply: {
|
|
28362
|
+
Args: {
|
|
28363
|
+
p_attempt_id?: string;
|
|
28364
|
+
p_error?: string;
|
|
28365
|
+
p_id: string;
|
|
28366
|
+
p_kind: string;
|
|
28367
|
+
p_label?: string;
|
|
28368
|
+
p_outcome?: string;
|
|
28369
|
+
p_price?: number;
|
|
28370
|
+
p_price_status?: string;
|
|
28371
|
+
};
|
|
28372
|
+
Returns: string;
|
|
28373
|
+
};
|
|
26247
28374
|
complete_floriday_stock_queue: {
|
|
26248
28375
|
Args: {
|
|
26249
28376
|
p_attempt_id?: string;
|
|
@@ -26254,6 +28381,18 @@ export type Database = {
|
|
|
26254
28381
|
};
|
|
26255
28382
|
Returns: undefined;
|
|
26256
28383
|
};
|
|
28384
|
+
complete_floriday_stock_queue_outcome: {
|
|
28385
|
+
Args: {
|
|
28386
|
+
p_attempt_id?: string;
|
|
28387
|
+
p_availability_sent?: boolean;
|
|
28388
|
+
p_error?: string;
|
|
28389
|
+
p_id: string;
|
|
28390
|
+
p_outcome: string;
|
|
28391
|
+
p_permanent?: boolean;
|
|
28392
|
+
p_quantity_sent?: boolean;
|
|
28393
|
+
};
|
|
28394
|
+
Returns: undefined;
|
|
28395
|
+
};
|
|
26257
28396
|
consume_bom_for_production: {
|
|
26258
28397
|
Args: {
|
|
26259
28398
|
p_connection_id: string;
|
|
@@ -26288,6 +28427,15 @@ export type Database = {
|
|
|
26288
28427
|
wait_ms: number;
|
|
26289
28428
|
}[];
|
|
26290
28429
|
};
|
|
28430
|
+
consume_order_item: {
|
|
28431
|
+
Args: {
|
|
28432
|
+
p_order_id: string;
|
|
28433
|
+
p_order_item_id: string;
|
|
28434
|
+
p_reason: string;
|
|
28435
|
+
p_source: string;
|
|
28436
|
+
};
|
|
28437
|
+
Returns: number;
|
|
28438
|
+
};
|
|
26291
28439
|
consume_print_agent_pairing: {
|
|
26292
28440
|
Args: {
|
|
26293
28441
|
_pairing_hash: string;
|
|
@@ -26399,6 +28547,19 @@ export type Database = {
|
|
|
26399
28547
|
};
|
|
26400
28548
|
Returns: Json;
|
|
26401
28549
|
};
|
|
28550
|
+
dashboard_funnel_betaald: {
|
|
28551
|
+
Args: {
|
|
28552
|
+
_bedragen: number[];
|
|
28553
|
+
_statussen: string[];
|
|
28554
|
+
};
|
|
28555
|
+
Returns: boolean;
|
|
28556
|
+
};
|
|
28557
|
+
dashboard_jaar_start: {
|
|
28558
|
+
Args: {
|
|
28559
|
+
_vandaag: string;
|
|
28560
|
+
};
|
|
28561
|
+
Returns: string;
|
|
28562
|
+
};
|
|
26402
28563
|
dashboard_list_public_schema: {
|
|
26403
28564
|
Args: never;
|
|
26404
28565
|
Returns: {
|
|
@@ -26407,6 +28568,29 @@ export type Database = {
|
|
|
26407
28568
|
table_name: string;
|
|
26408
28569
|
}[];
|
|
26409
28570
|
};
|
|
28571
|
+
dashboard_werkbon_funnel: {
|
|
28572
|
+
Args: {
|
|
28573
|
+
_periode?: string;
|
|
28574
|
+
};
|
|
28575
|
+
Returns: Json;
|
|
28576
|
+
};
|
|
28577
|
+
dashboard_werkbon_jaarstats: {
|
|
28578
|
+
Args: never;
|
|
28579
|
+
Returns: Json;
|
|
28580
|
+
};
|
|
28581
|
+
dashboard_werkbon_soort: {
|
|
28582
|
+
Args: {
|
|
28583
|
+
_source: string;
|
|
28584
|
+
};
|
|
28585
|
+
Returns: string;
|
|
28586
|
+
};
|
|
28587
|
+
dashboard_werkbon_teller_plus: {
|
|
28588
|
+
Args: {
|
|
28589
|
+
_soort: string;
|
|
28590
|
+
_ts: string;
|
|
28591
|
+
};
|
|
28592
|
+
Returns: undefined;
|
|
28593
|
+
};
|
|
26410
28594
|
delete_samenstelling: {
|
|
26411
28595
|
Args: {
|
|
26412
28596
|
p_parent_id: string;
|
|
@@ -26420,6 +28604,10 @@ export type Database = {
|
|
|
26420
28604
|
};
|
|
26421
28605
|
Returns: Json;
|
|
26422
28606
|
};
|
|
28607
|
+
drain_inventory_recompute_queue: {
|
|
28608
|
+
Args: never;
|
|
28609
|
+
Returns: number;
|
|
28610
|
+
};
|
|
26423
28611
|
effective_module_permission: {
|
|
26424
28612
|
Args: {
|
|
26425
28613
|
_module_id: string;
|
|
@@ -26492,6 +28680,18 @@ export type Database = {
|
|
|
26492
28680
|
};
|
|
26493
28681
|
Returns: undefined;
|
|
26494
28682
|
};
|
|
28683
|
+
enqueue_structure_recompute: {
|
|
28684
|
+
Args: {
|
|
28685
|
+
p_include_self?: boolean;
|
|
28686
|
+
p_product_ids: string[];
|
|
28687
|
+
p_reason: string;
|
|
28688
|
+
};
|
|
28689
|
+
Returns: number;
|
|
28690
|
+
};
|
|
28691
|
+
ensure_inventory_recompute_drain: {
|
|
28692
|
+
Args: never;
|
|
28693
|
+
Returns: undefined;
|
|
28694
|
+
};
|
|
26495
28695
|
ensure_system_roles: {
|
|
26496
28696
|
Args: never;
|
|
26497
28697
|
Returns: {
|
|
@@ -26505,6 +28705,12 @@ export type Database = {
|
|
|
26505
28705
|
};
|
|
26506
28706
|
Returns: undefined;
|
|
26507
28707
|
};
|
|
28708
|
+
ensure_trade_item_stock_row_key: {
|
|
28709
|
+
Args: {
|
|
28710
|
+
p_key: string;
|
|
28711
|
+
};
|
|
28712
|
+
Returns: string;
|
|
28713
|
+
};
|
|
26508
28714
|
ensure_user_tenant: {
|
|
26509
28715
|
Args: never;
|
|
26510
28716
|
Returns: string;
|
|
@@ -26591,7 +28797,7 @@ export type Database = {
|
|
|
26591
28797
|
};
|
|
26592
28798
|
floriday_cleanup_stock_queue_v2: {
|
|
26593
28799
|
Args: never;
|
|
26594
|
-
Returns:
|
|
28800
|
+
Returns: Json;
|
|
26595
28801
|
};
|
|
26596
28802
|
floriday_compact_stock_snapshots: {
|
|
26597
28803
|
Args: never;
|
|
@@ -26603,6 +28809,19 @@ export type Database = {
|
|
|
26603
28809
|
};
|
|
26604
28810
|
Returns: string;
|
|
26605
28811
|
};
|
|
28812
|
+
floriday_desired_stock_regression_check: {
|
|
28813
|
+
Args: never;
|
|
28814
|
+
Returns: {
|
|
28815
|
+
actual: number;
|
|
28816
|
+
available: number;
|
|
28817
|
+
equal: boolean;
|
|
28818
|
+
expected: number;
|
|
28819
|
+
packing: number;
|
|
28820
|
+
product_id: string;
|
|
28821
|
+
product_name: string;
|
|
28822
|
+
stock_mode: string;
|
|
28823
|
+
}[];
|
|
28824
|
+
};
|
|
26606
28825
|
floriday_effective_price: {
|
|
26607
28826
|
Args: {
|
|
26608
28827
|
_buyer_id: string;
|
|
@@ -26630,6 +28849,10 @@ export type Database = {
|
|
|
26630
28849
|
};
|
|
26631
28850
|
Returns: number;
|
|
26632
28851
|
};
|
|
28852
|
+
floriday_orphan_settings_count: {
|
|
28853
|
+
Args: never;
|
|
28854
|
+
Returns: number;
|
|
28855
|
+
};
|
|
26633
28856
|
floriday_publish_horizon_weeks: {
|
|
26634
28857
|
Args: never;
|
|
26635
28858
|
Returns: number;
|
|
@@ -26661,6 +28884,17 @@ export type Database = {
|
|
|
26661
28884
|
};
|
|
26662
28885
|
Returns: string;
|
|
26663
28886
|
};
|
|
28887
|
+
fust_negative_stock_report: {
|
|
28888
|
+
Args: never;
|
|
28889
|
+
Returns: {
|
|
28890
|
+
duplicate_names: number;
|
|
28891
|
+
fust_key: string;
|
|
28892
|
+
fust_type_id: string;
|
|
28893
|
+
name: string;
|
|
28894
|
+
shortage: number;
|
|
28895
|
+
stock: number;
|
|
28896
|
+
}[];
|
|
28897
|
+
};
|
|
26664
28898
|
get_active_floriday_connection_public: {
|
|
26665
28899
|
Args: never;
|
|
26666
28900
|
Returns: {
|
|
@@ -26861,6 +29095,18 @@ export type Database = {
|
|
|
26861
29095
|
updated_at: string;
|
|
26862
29096
|
}[];
|
|
26863
29097
|
};
|
|
29098
|
+
get_product_structure_totals: {
|
|
29099
|
+
Args: {
|
|
29100
|
+
p_product_id: string;
|
|
29101
|
+
};
|
|
29102
|
+
Returns: Json;
|
|
29103
|
+
};
|
|
29104
|
+
get_product_structure_totals_batch: {
|
|
29105
|
+
Args: {
|
|
29106
|
+
p_product_ids: string[];
|
|
29107
|
+
};
|
|
29108
|
+
Returns: Json[];
|
|
29109
|
+
};
|
|
26864
29110
|
get_room_busy_windows: {
|
|
26865
29111
|
Args: {
|
|
26866
29112
|
p_from: string;
|
|
@@ -27158,6 +29404,12 @@ export type Database = {
|
|
|
27158
29404
|
Args: never;
|
|
27159
29405
|
Returns: boolean;
|
|
27160
29406
|
};
|
|
29407
|
+
import_floriday_delivery_locations: {
|
|
29408
|
+
Args: {
|
|
29409
|
+
_org_id: string;
|
|
29410
|
+
};
|
|
29411
|
+
Returns: number;
|
|
29412
|
+
};
|
|
27161
29413
|
inkoop_apply_price_list: {
|
|
27162
29414
|
Args: {
|
|
27163
29415
|
_price_list_id: string;
|
|
@@ -27278,6 +29530,16 @@ export type Database = {
|
|
|
27278
29530
|
};
|
|
27279
29531
|
Returns: number;
|
|
27280
29532
|
};
|
|
29533
|
+
inventory_inline_budget_ok: {
|
|
29534
|
+
Args: never;
|
|
29535
|
+
Returns: boolean;
|
|
29536
|
+
};
|
|
29537
|
+
invoice_auto_concept_for_work_order: {
|
|
29538
|
+
Args: {
|
|
29539
|
+
_wo_id: string;
|
|
29540
|
+
};
|
|
29541
|
+
Returns: undefined;
|
|
29542
|
+
};
|
|
27281
29543
|
invoice_branding_snapshot: {
|
|
27282
29544
|
Args: never;
|
|
27283
29545
|
Returns: Json;
|
|
@@ -27339,6 +29601,12 @@ export type Database = {
|
|
|
27339
29601
|
};
|
|
27340
29602
|
Returns: Json;
|
|
27341
29603
|
};
|
|
29604
|
+
invoice_resync_concept_from_work_order: {
|
|
29605
|
+
Args: {
|
|
29606
|
+
_werkbon_id: string;
|
|
29607
|
+
};
|
|
29608
|
+
Returns: undefined;
|
|
29609
|
+
};
|
|
27342
29610
|
invoice_save_branding_settings: {
|
|
27343
29611
|
Args: {
|
|
27344
29612
|
_payload: Json;
|
|
@@ -27545,6 +29813,24 @@ export type Database = {
|
|
|
27545
29813
|
};
|
|
27546
29814
|
Returns: string;
|
|
27547
29815
|
};
|
|
29816
|
+
logistics_allocation_check_changes: {
|
|
29817
|
+
Args: {
|
|
29818
|
+
p_order_item_ids?: string[];
|
|
29819
|
+
};
|
|
29820
|
+
Returns: Json;
|
|
29821
|
+
};
|
|
29822
|
+
logistics_allocation_fp: {
|
|
29823
|
+
Args: {
|
|
29824
|
+
p_order_id: string;
|
|
29825
|
+
};
|
|
29826
|
+
Returns: string;
|
|
29827
|
+
};
|
|
29828
|
+
logistics_allocation_frozen: {
|
|
29829
|
+
Args: {
|
|
29830
|
+
p_order_id: string;
|
|
29831
|
+
};
|
|
29832
|
+
Returns: boolean;
|
|
29833
|
+
};
|
|
27548
29834
|
logistics_allowed_load_carriers: {
|
|
27549
29835
|
Args: {
|
|
27550
29836
|
p_strategy_id?: string;
|
|
@@ -27558,6 +29844,13 @@ export type Database = {
|
|
|
27558
29844
|
};
|
|
27559
29845
|
Returns: string;
|
|
27560
29846
|
};
|
|
29847
|
+
logistics_apply_cart_swap: {
|
|
29848
|
+
Args: {
|
|
29849
|
+
p_delete_ids: string[];
|
|
29850
|
+
p_new_carts: Json;
|
|
29851
|
+
};
|
|
29852
|
+
Returns: Json;
|
|
29853
|
+
};
|
|
27561
29854
|
logistics_apply_document_layouts: {
|
|
27562
29855
|
Args: never;
|
|
27563
29856
|
Returns: undefined;
|
|
@@ -27586,6 +29879,18 @@ export type Database = {
|
|
|
27586
29879
|
};
|
|
27587
29880
|
Returns: Json;
|
|
27588
29881
|
};
|
|
29882
|
+
logistics_base_url_check_status: {
|
|
29883
|
+
Args: never;
|
|
29884
|
+
Returns: Json;
|
|
29885
|
+
};
|
|
29886
|
+
logistics_base_url_checks_resolve: {
|
|
29887
|
+
Args: never;
|
|
29888
|
+
Returns: number;
|
|
29889
|
+
};
|
|
29890
|
+
logistics_belading_verstuurder: {
|
|
29891
|
+
Args: never;
|
|
29892
|
+
Returns: string;
|
|
29893
|
+
};
|
|
27589
29894
|
logistics_block_reason_code: {
|
|
27590
29895
|
Args: {
|
|
27591
29896
|
p_details?: Json;
|
|
@@ -28091,6 +30396,7 @@ export type Database = {
|
|
|
28091
30396
|
approved_at: string | null;
|
|
28092
30397
|
attempts: number;
|
|
28093
30398
|
barcode: string;
|
|
30399
|
+
bron: string | null;
|
|
28094
30400
|
cart_id: string;
|
|
28095
30401
|
created_at: string;
|
|
28096
30402
|
document_url: string | null;
|
|
@@ -28149,6 +30455,13 @@ export type Database = {
|
|
|
28149
30455
|
};
|
|
28150
30456
|
Returns: Json;
|
|
28151
30457
|
};
|
|
30458
|
+
logistics_control_scan_record_afmelding: {
|
|
30459
|
+
Args: {
|
|
30460
|
+
p_bron: string;
|
|
30461
|
+
p_order_id: string;
|
|
30462
|
+
};
|
|
30463
|
+
Returns: number;
|
|
30464
|
+
};
|
|
28152
30465
|
logistics_control_scan_retry: {
|
|
28153
30466
|
Args: {
|
|
28154
30467
|
_id: string;
|
|
@@ -28226,6 +30539,15 @@ export type Database = {
|
|
|
28226
30539
|
};
|
|
28227
30540
|
Returns: Database["public"]["Enums"]["doc_layout_type"][];
|
|
28228
30541
|
};
|
|
30542
|
+
logistics_double_group_lines: {
|
|
30543
|
+
Args: {
|
|
30544
|
+
p_order_id?: string;
|
|
30545
|
+
};
|
|
30546
|
+
Returns: {
|
|
30547
|
+
group_id: string;
|
|
30548
|
+
order_item_id: string;
|
|
30549
|
+
}[];
|
|
30550
|
+
};
|
|
28229
30551
|
logistics_emit_event: {
|
|
28230
30552
|
Args: {
|
|
28231
30553
|
p_event_type: string;
|
|
@@ -28281,6 +30603,20 @@ export type Database = {
|
|
|
28281
30603
|
};
|
|
28282
30604
|
Returns: Json;
|
|
28283
30605
|
};
|
|
30606
|
+
logistics_expand_line: {
|
|
30607
|
+
Args: {
|
|
30608
|
+
p_depth?: number;
|
|
30609
|
+
p_path?: string[];
|
|
30610
|
+
p_product_id: string;
|
|
30611
|
+
p_qty: number;
|
|
30612
|
+
};
|
|
30613
|
+
Returns: {
|
|
30614
|
+
kind: string;
|
|
30615
|
+
note: string;
|
|
30616
|
+
qty: number;
|
|
30617
|
+
ref: string;
|
|
30618
|
+
}[];
|
|
30619
|
+
};
|
|
28284
30620
|
logistics_fail_task: {
|
|
28285
30621
|
Args: {
|
|
28286
30622
|
p_error: string;
|
|
@@ -28470,6 +30806,18 @@ export type Database = {
|
|
|
28470
30806
|
};
|
|
28471
30807
|
Returns: boolean;
|
|
28472
30808
|
};
|
|
30809
|
+
logistics_frozen_allocation_scaled: {
|
|
30810
|
+
Args: {
|
|
30811
|
+
p_new_qty: number;
|
|
30812
|
+
p_order_item_id: string;
|
|
30813
|
+
};
|
|
30814
|
+
Returns: {
|
|
30815
|
+
group_id: string;
|
|
30816
|
+
qty: number;
|
|
30817
|
+
source: string;
|
|
30818
|
+
trade_item_key: string;
|
|
30819
|
+
}[];
|
|
30820
|
+
};
|
|
28473
30821
|
logistics_fulfill_barcode_requests: {
|
|
28474
30822
|
Args: {
|
|
28475
30823
|
p_limit?: number;
|
|
@@ -28484,12 +30832,35 @@ export type Database = {
|
|
|
28484
30832
|
Args: never;
|
|
28485
30833
|
Returns: number;
|
|
28486
30834
|
};
|
|
30835
|
+
logistics_is_beheer: {
|
|
30836
|
+
Args: never;
|
|
30837
|
+
Returns: boolean;
|
|
30838
|
+
};
|
|
30839
|
+
logistics_is_engine_response: {
|
|
30840
|
+
Args: {
|
|
30841
|
+
p_content: string;
|
|
30842
|
+
p_status: number;
|
|
30843
|
+
};
|
|
30844
|
+
Returns: boolean;
|
|
30845
|
+
};
|
|
30846
|
+
logistics_is_group_label: {
|
|
30847
|
+
Args: {
|
|
30848
|
+
p_label: string;
|
|
30849
|
+
};
|
|
30850
|
+
Returns: boolean;
|
|
30851
|
+
};
|
|
28487
30852
|
logistics_is_pick_workday: {
|
|
28488
30853
|
Args: {
|
|
28489
30854
|
p_date: string;
|
|
28490
30855
|
};
|
|
28491
30856
|
Returns: boolean;
|
|
28492
30857
|
};
|
|
30858
|
+
logistics_key_product: {
|
|
30859
|
+
Args: {
|
|
30860
|
+
p_key: string;
|
|
30861
|
+
};
|
|
30862
|
+
Returns: string;
|
|
30863
|
+
};
|
|
28493
30864
|
logistics_layout_method_status: {
|
|
28494
30865
|
Args: never;
|
|
28495
30866
|
Returns: Json;
|
|
@@ -28564,12 +30935,24 @@ export type Database = {
|
|
|
28564
30935
|
Args: never;
|
|
28565
30936
|
Returns: string;
|
|
28566
30937
|
};
|
|
30938
|
+
logistics_order_afgemeld: {
|
|
30939
|
+
Args: {
|
|
30940
|
+
p_order_id: string;
|
|
30941
|
+
};
|
|
30942
|
+
Returns: boolean;
|
|
30943
|
+
};
|
|
28567
30944
|
logistics_order_backlog_info: {
|
|
28568
30945
|
Args: {
|
|
28569
30946
|
p_order_id: string;
|
|
28570
30947
|
};
|
|
28571
30948
|
Returns: Json;
|
|
28572
30949
|
};
|
|
30950
|
+
logistics_order_buffer_excluded: {
|
|
30951
|
+
Args: {
|
|
30952
|
+
p_order_id: string;
|
|
30953
|
+
};
|
|
30954
|
+
Returns: boolean;
|
|
30955
|
+
};
|
|
28573
30956
|
logistics_order_cart_approval: {
|
|
28574
30957
|
Args: {
|
|
28575
30958
|
_order_ref: string;
|
|
@@ -28592,6 +30975,12 @@ export type Database = {
|
|
|
28592
30975
|
};
|
|
28593
30976
|
Returns: undefined;
|
|
28594
30977
|
};
|
|
30978
|
+
logistics_order_current_warnings: {
|
|
30979
|
+
Args: {
|
|
30980
|
+
p_order_id: string;
|
|
30981
|
+
};
|
|
30982
|
+
Returns: string[];
|
|
30983
|
+
};
|
|
28595
30984
|
logistics_order_documents_ready: {
|
|
28596
30985
|
Args: {
|
|
28597
30986
|
p_order_ref: string;
|
|
@@ -28666,13 +31055,31 @@ export type Database = {
|
|
|
28666
31055
|
};
|
|
28667
31056
|
Returns: boolean;
|
|
28668
31057
|
};
|
|
28669
|
-
|
|
31058
|
+
logistics_order_is_frozen: {
|
|
31059
|
+
Args: {
|
|
31060
|
+
p_order_id: string;
|
|
31061
|
+
};
|
|
31062
|
+
Returns: boolean;
|
|
31063
|
+
};
|
|
31064
|
+
logistics_order_is_topick: {
|
|
28670
31065
|
Args: {
|
|
28671
31066
|
p_order_id: string;
|
|
28672
31067
|
p_order_number: string;
|
|
28673
31068
|
};
|
|
28674
31069
|
Returns: boolean;
|
|
28675
31070
|
};
|
|
31071
|
+
logistics_order_line_allocation: {
|
|
31072
|
+
Args: {
|
|
31073
|
+
p_order_item_id: string;
|
|
31074
|
+
};
|
|
31075
|
+
Returns: {
|
|
31076
|
+
group_id: string;
|
|
31077
|
+
note: string;
|
|
31078
|
+
qty: number;
|
|
31079
|
+
source: string;
|
|
31080
|
+
trade_item_key: string;
|
|
31081
|
+
}[];
|
|
31082
|
+
};
|
|
28676
31083
|
logistics_order_line_duplicates: {
|
|
28677
31084
|
Args: {
|
|
28678
31085
|
p_order_id: string;
|
|
@@ -28691,6 +31098,12 @@ export type Database = {
|
|
|
28691
31098
|
};
|
|
28692
31099
|
Returns: boolean;
|
|
28693
31100
|
};
|
|
31101
|
+
logistics_order_on_frozen_shared_cart: {
|
|
31102
|
+
Args: {
|
|
31103
|
+
p_order_id: string;
|
|
31104
|
+
};
|
|
31105
|
+
Returns: boolean;
|
|
31106
|
+
};
|
|
28694
31107
|
logistics_order_overview: {
|
|
28695
31108
|
Args: {
|
|
28696
31109
|
p_from?: string;
|
|
@@ -28716,6 +31129,30 @@ export type Database = {
|
|
|
28716
31129
|
};
|
|
28717
31130
|
Returns: string;
|
|
28718
31131
|
};
|
|
31132
|
+
logistics_order_plan_coverage: {
|
|
31133
|
+
Args: {
|
|
31134
|
+
p_order_id: string;
|
|
31135
|
+
};
|
|
31136
|
+
Returns: Json;
|
|
31137
|
+
};
|
|
31138
|
+
logistics_order_plan_coverage_list: {
|
|
31139
|
+
Args: {
|
|
31140
|
+
p_order_ids: string[];
|
|
31141
|
+
};
|
|
31142
|
+
Returns: {
|
|
31143
|
+
buffer_id: string;
|
|
31144
|
+
cart_count: number;
|
|
31145
|
+
label: string;
|
|
31146
|
+
order_id: string;
|
|
31147
|
+
order_number: string;
|
|
31148
|
+
pick_row_count: number;
|
|
31149
|
+
pick_status: string;
|
|
31150
|
+
picked_at: string;
|
|
31151
|
+
progress_pct: number;
|
|
31152
|
+
reason: string;
|
|
31153
|
+
state: string;
|
|
31154
|
+
}[];
|
|
31155
|
+
};
|
|
28719
31156
|
logistics_order_released: {
|
|
28720
31157
|
Args: {
|
|
28721
31158
|
p_order_ref: string;
|
|
@@ -28876,12 +31313,22 @@ export type Database = {
|
|
|
28876
31313
|
order_id: string;
|
|
28877
31314
|
}[];
|
|
28878
31315
|
};
|
|
31316
|
+
logistics_plan_coverage_check: {
|
|
31317
|
+
Args: {
|
|
31318
|
+
p_limit?: number;
|
|
31319
|
+
};
|
|
31320
|
+
Returns: Json;
|
|
31321
|
+
};
|
|
28879
31322
|
logistics_plan_defer: {
|
|
28880
31323
|
Args: {
|
|
28881
31324
|
p_id: string;
|
|
28882
31325
|
};
|
|
28883
31326
|
Returns: undefined;
|
|
28884
31327
|
};
|
|
31328
|
+
logistics_plan_due_count: {
|
|
31329
|
+
Args: never;
|
|
31330
|
+
Returns: number;
|
|
31331
|
+
};
|
|
28885
31332
|
logistics_plan_enqueue: {
|
|
28886
31333
|
Args: {
|
|
28887
31334
|
p_order_id: string;
|
|
@@ -29032,6 +31479,21 @@ export type Database = {
|
|
|
29032
31479
|
Args: never;
|
|
29033
31480
|
Returns: number;
|
|
29034
31481
|
};
|
|
31482
|
+
logistics_plan_wachttijd: {
|
|
31483
|
+
Args: {
|
|
31484
|
+
p_order_id: string;
|
|
31485
|
+
p_reason: string;
|
|
31486
|
+
};
|
|
31487
|
+
Returns: Json;
|
|
31488
|
+
};
|
|
31489
|
+
logistics_plan_wachttijd_melden: {
|
|
31490
|
+
Args: {
|
|
31491
|
+
p_order_id: string;
|
|
31492
|
+
p_reason: string;
|
|
31493
|
+
p_wacht: Json;
|
|
31494
|
+
};
|
|
31495
|
+
Returns: undefined;
|
|
31496
|
+
};
|
|
29035
31497
|
logistics_planner_cart_snapshot: {
|
|
29036
31498
|
Args: {
|
|
29037
31499
|
p_buffer_id: string;
|
|
@@ -29047,6 +31509,23 @@ export type Database = {
|
|
|
29047
31509
|
Args: never;
|
|
29048
31510
|
Returns: number;
|
|
29049
31511
|
};
|
|
31512
|
+
logistics_planner_lines: {
|
|
31513
|
+
Args: {
|
|
31514
|
+
p_order_id: string;
|
|
31515
|
+
};
|
|
31516
|
+
Returns: {
|
|
31517
|
+
components: Json;
|
|
31518
|
+
frozen: boolean;
|
|
31519
|
+
group_id: string;
|
|
31520
|
+
note: string;
|
|
31521
|
+
order_item_id: string;
|
|
31522
|
+
product_id: string;
|
|
31523
|
+
product_name: string;
|
|
31524
|
+
qty: number;
|
|
31525
|
+
trade_item_key: string;
|
|
31526
|
+
unit_kind: string;
|
|
31527
|
+
}[];
|
|
31528
|
+
};
|
|
29050
31529
|
logistics_prepare_pick_documents: {
|
|
29051
31530
|
Args: {
|
|
29052
31531
|
p_limit?: number;
|
|
@@ -29088,6 +31567,12 @@ export type Database = {
|
|
|
29088
31567
|
};
|
|
29089
31568
|
Returns: string;
|
|
29090
31569
|
};
|
|
31570
|
+
logistics_queue_row_has_open_peer: {
|
|
31571
|
+
Args: {
|
|
31572
|
+
p_payload: Json;
|
|
31573
|
+
};
|
|
31574
|
+
Returns: boolean;
|
|
31575
|
+
};
|
|
29091
31576
|
logistics_queue_stock_email: {
|
|
29092
31577
|
Args: {
|
|
29093
31578
|
p_alert_id: string;
|
|
@@ -29118,6 +31603,12 @@ export type Database = {
|
|
|
29118
31603
|
Args: never;
|
|
29119
31604
|
Returns: number;
|
|
29120
31605
|
};
|
|
31606
|
+
logistics_recompute_reserved_targeted: {
|
|
31607
|
+
Args: {
|
|
31608
|
+
p_product_id: string;
|
|
31609
|
+
};
|
|
31610
|
+
Returns: Json;
|
|
31611
|
+
};
|
|
29121
31612
|
logistics_reconcile_missing_plan_queue: {
|
|
29122
31613
|
Args: never;
|
|
29123
31614
|
Returns: number;
|
|
@@ -29152,6 +31643,16 @@ export type Database = {
|
|
|
29152
31643
|
};
|
|
29153
31644
|
Returns: Json;
|
|
29154
31645
|
};
|
|
31646
|
+
logistics_replan_candidates: {
|
|
31647
|
+
Args: {
|
|
31648
|
+
p_delivery_date?: string;
|
|
31649
|
+
p_include_frozen?: boolean;
|
|
31650
|
+
};
|
|
31651
|
+
Returns: {
|
|
31652
|
+
frozen: boolean;
|
|
31653
|
+
order_id: string;
|
|
31654
|
+
}[];
|
|
31655
|
+
};
|
|
29155
31656
|
logistics_replan_clear_foreign_cart_items: {
|
|
29156
31657
|
Args: {
|
|
29157
31658
|
p_order_id: string;
|
|
@@ -29171,6 +31672,28 @@ export type Database = {
|
|
|
29171
31672
|
};
|
|
29172
31673
|
Returns: Json;
|
|
29173
31674
|
};
|
|
31675
|
+
logistics_replan_preview: {
|
|
31676
|
+
Args: {
|
|
31677
|
+
p_delivery_date?: string;
|
|
31678
|
+
p_include_frozen?: boolean;
|
|
31679
|
+
};
|
|
31680
|
+
Returns: Json;
|
|
31681
|
+
};
|
|
31682
|
+
logistics_replan_selected: {
|
|
31683
|
+
Args: {
|
|
31684
|
+
p_confirm_count: number;
|
|
31685
|
+
p_delivery_date?: string;
|
|
31686
|
+
p_include_frozen?: boolean;
|
|
31687
|
+
};
|
|
31688
|
+
Returns: Json;
|
|
31689
|
+
};
|
|
31690
|
+
logistics_replan_selected_orders: {
|
|
31691
|
+
Args: {
|
|
31692
|
+
p_order_ids: string[];
|
|
31693
|
+
p_reason?: string;
|
|
31694
|
+
};
|
|
31695
|
+
Returns: Json;
|
|
31696
|
+
};
|
|
29174
31697
|
logistics_report_delay: {
|
|
29175
31698
|
Args: {
|
|
29176
31699
|
p_expected_date?: string;
|
|
@@ -29187,6 +31710,12 @@ export type Database = {
|
|
|
29187
31710
|
};
|
|
29188
31711
|
Returns: string;
|
|
29189
31712
|
};
|
|
31713
|
+
logistics_report_frozen_shortage: {
|
|
31714
|
+
Args: {
|
|
31715
|
+
p_order_item_ids: string[];
|
|
31716
|
+
};
|
|
31717
|
+
Returns: undefined;
|
|
31718
|
+
};
|
|
29190
31719
|
logistics_rescan_orders: {
|
|
29191
31720
|
Args: {
|
|
29192
31721
|
p_days?: number;
|
|
@@ -29215,6 +31744,19 @@ export type Database = {
|
|
|
29215
31744
|
};
|
|
29216
31745
|
Returns: Json;
|
|
29217
31746
|
};
|
|
31747
|
+
logistics_reserved_fast_skip: {
|
|
31748
|
+
Args: {
|
|
31749
|
+
p_key: string;
|
|
31750
|
+
p_raw: string;
|
|
31751
|
+
};
|
|
31752
|
+
Returns: boolean;
|
|
31753
|
+
};
|
|
31754
|
+
logistics_reserved_key: {
|
|
31755
|
+
Args: {
|
|
31756
|
+
p_key: string;
|
|
31757
|
+
};
|
|
31758
|
+
Returns: string;
|
|
31759
|
+
};
|
|
29218
31760
|
logistics_reserved_stock_nightly: {
|
|
29219
31761
|
Args: never;
|
|
29220
31762
|
Returns: undefined;
|
|
@@ -29234,6 +31776,12 @@ export type Database = {
|
|
|
29234
31776
|
};
|
|
29235
31777
|
Returns: string;
|
|
29236
31778
|
};
|
|
31779
|
+
logistics_resolve_product_match: {
|
|
31780
|
+
Args: {
|
|
31781
|
+
p_label: string;
|
|
31782
|
+
};
|
|
31783
|
+
Returns: Record<string, unknown>;
|
|
31784
|
+
};
|
|
29237
31785
|
logistics_resolve_settings: {
|
|
29238
31786
|
Args: {
|
|
29239
31787
|
p_config_id: string;
|
|
@@ -29308,6 +31856,13 @@ export type Database = {
|
|
|
29308
31856
|
};
|
|
29309
31857
|
Returns: number;
|
|
29310
31858
|
};
|
|
31859
|
+
logistics_set_components_scaled: {
|
|
31860
|
+
Args: {
|
|
31861
|
+
p_order_item_id: string;
|
|
31862
|
+
p_plants: number;
|
|
31863
|
+
};
|
|
31864
|
+
Returns: Json;
|
|
31865
|
+
};
|
|
29311
31866
|
logistics_set_order_priority: {
|
|
29312
31867
|
Args: {
|
|
29313
31868
|
p_order_ref: string;
|
|
@@ -29323,6 +31878,17 @@ export type Database = {
|
|
|
29323
31878
|
};
|
|
29324
31879
|
Returns: Json;
|
|
29325
31880
|
};
|
|
31881
|
+
logistics_shared_cart_peers: {
|
|
31882
|
+
Args: {
|
|
31883
|
+
p_order_id: string;
|
|
31884
|
+
};
|
|
31885
|
+
Returns: {
|
|
31886
|
+
buffer_id: string;
|
|
31887
|
+
cart_id: string;
|
|
31888
|
+
cart_number: number;
|
|
31889
|
+
peer_order_id: string;
|
|
31890
|
+
}[];
|
|
31891
|
+
};
|
|
29326
31892
|
logistics_shift_to_workday: {
|
|
29327
31893
|
Args: {
|
|
29328
31894
|
p_days: string[];
|
|
@@ -29354,6 +31920,16 @@ export type Database = {
|
|
|
29354
31920
|
};
|
|
29355
31921
|
Returns: string;
|
|
29356
31922
|
};
|
|
31923
|
+
logistics_shipping_note_max_attempts: {
|
|
31924
|
+
Args: never;
|
|
31925
|
+
Returns: number;
|
|
31926
|
+
};
|
|
31927
|
+
logistics_shipping_note_release: {
|
|
31928
|
+
Args: {
|
|
31929
|
+
_order_number?: string;
|
|
31930
|
+
};
|
|
31931
|
+
Returns: number;
|
|
31932
|
+
};
|
|
29357
31933
|
logistics_shipping_note_status: {
|
|
29358
31934
|
Args: {
|
|
29359
31935
|
p_cart_id?: string;
|
|
@@ -29361,6 +31937,12 @@ export type Database = {
|
|
|
29361
31937
|
};
|
|
29362
31938
|
Returns: Json;
|
|
29363
31939
|
};
|
|
31940
|
+
logistics_shipping_note_wake: {
|
|
31941
|
+
Args: {
|
|
31942
|
+
_slip_job_id: string;
|
|
31943
|
+
};
|
|
31944
|
+
Returns: number;
|
|
31945
|
+
};
|
|
29364
31946
|
logistics_shipping_notes_wake_all: {
|
|
29365
31947
|
Args: never;
|
|
29366
31948
|
Returns: Json;
|
|
@@ -29395,6 +31977,7 @@ export type Database = {
|
|
|
29395
31977
|
slip_job_id: string;
|
|
29396
31978
|
status: string;
|
|
29397
31979
|
updated_at: string;
|
|
31980
|
+
voor_herstel: boolean;
|
|
29398
31981
|
}[];
|
|
29399
31982
|
SetofOptions: {
|
|
29400
31983
|
from: "*";
|
|
@@ -29415,6 +31998,27 @@ export type Database = {
|
|
|
29415
31998
|
};
|
|
29416
31999
|
Returns: undefined;
|
|
29417
32000
|
};
|
|
32001
|
+
logistics_slip_note_hold: {
|
|
32002
|
+
Args: {
|
|
32003
|
+
_id: string;
|
|
32004
|
+
_reason: string;
|
|
32005
|
+
};
|
|
32006
|
+
Returns: undefined;
|
|
32007
|
+
};
|
|
32008
|
+
logistics_slip_note_hold_belading: {
|
|
32009
|
+
Args: {
|
|
32010
|
+
_id: string;
|
|
32011
|
+
_reason: string;
|
|
32012
|
+
};
|
|
32013
|
+
Returns: undefined;
|
|
32014
|
+
};
|
|
32015
|
+
logistics_slip_note_hold_kenmerk: {
|
|
32016
|
+
Args: {
|
|
32017
|
+
_id: string;
|
|
32018
|
+
_reason: string;
|
|
32019
|
+
};
|
|
32020
|
+
Returns: undefined;
|
|
32021
|
+
};
|
|
29418
32022
|
logistics_slip_note_keep_waiting: {
|
|
29419
32023
|
Args: {
|
|
29420
32024
|
_class?: string;
|
|
@@ -29502,6 +32106,18 @@ export type Database = {
|
|
|
29502
32106
|
Args: never;
|
|
29503
32107
|
Returns: Json;
|
|
29504
32108
|
};
|
|
32109
|
+
logistics_tick_base_url_check: {
|
|
32110
|
+
Args: never;
|
|
32111
|
+
Returns: Json;
|
|
32112
|
+
};
|
|
32113
|
+
logistics_tick_calls_resolve: {
|
|
32114
|
+
Args: never;
|
|
32115
|
+
Returns: number;
|
|
32116
|
+
};
|
|
32117
|
+
logistics_tick_health: {
|
|
32118
|
+
Args: never;
|
|
32119
|
+
Returns: Json;
|
|
32120
|
+
};
|
|
29505
32121
|
logistics_tick_ping: {
|
|
29506
32122
|
Args: never;
|
|
29507
32123
|
Returns: string;
|
|
@@ -30646,6 +33262,31 @@ export type Database = {
|
|
|
30646
33262
|
};
|
|
30647
33263
|
Returns: undefined;
|
|
30648
33264
|
};
|
|
33265
|
+
plan_standby_batch: {
|
|
33266
|
+
Args: {
|
|
33267
|
+
_items: Json;
|
|
33268
|
+
_notes: string;
|
|
33269
|
+
_remove_ids?: string[];
|
|
33270
|
+
_soort: string;
|
|
33271
|
+
};
|
|
33272
|
+
Returns: {
|
|
33273
|
+
created_at: string;
|
|
33274
|
+
created_by: string | null;
|
|
33275
|
+
employee_id: string;
|
|
33276
|
+
end_date: string;
|
|
33277
|
+
id: string;
|
|
33278
|
+
notes: string | null;
|
|
33279
|
+
soort: string;
|
|
33280
|
+
start_date: string;
|
|
33281
|
+
updated_at: string;
|
|
33282
|
+
}[];
|
|
33283
|
+
SetofOptions: {
|
|
33284
|
+
from: "*";
|
|
33285
|
+
to: "standby_planning";
|
|
33286
|
+
isOneToOne: false;
|
|
33287
|
+
isSetofReturn: true;
|
|
33288
|
+
};
|
|
33289
|
+
};
|
|
30649
33290
|
planning_apply_schedule_updates: {
|
|
30650
33291
|
Args: {
|
|
30651
33292
|
_updates: Json;
|
|
@@ -30668,6 +33309,12 @@ export type Database = {
|
|
|
30668
33309
|
};
|
|
30669
33310
|
Returns: undefined;
|
|
30670
33311
|
};
|
|
33312
|
+
planning_html_escape: {
|
|
33313
|
+
Args: {
|
|
33314
|
+
t: string;
|
|
33315
|
+
};
|
|
33316
|
+
Returns: string;
|
|
33317
|
+
};
|
|
30671
33318
|
planning_list: {
|
|
30672
33319
|
Args: {
|
|
30673
33320
|
_from: string;
|
|
@@ -30722,6 +33369,12 @@ export type Database = {
|
|
|
30722
33369
|
id: string;
|
|
30723
33370
|
}[];
|
|
30724
33371
|
};
|
|
33372
|
+
planning_urlencode: {
|
|
33373
|
+
Args: {
|
|
33374
|
+
t: string;
|
|
33375
|
+
};
|
|
33376
|
+
Returns: string;
|
|
33377
|
+
};
|
|
30725
33378
|
print_preview_toestaan: {
|
|
30726
33379
|
Args: {
|
|
30727
33380
|
_max?: number;
|
|
@@ -30769,6 +33422,12 @@ export type Database = {
|
|
|
30769
33422
|
};
|
|
30770
33423
|
Returns: Json;
|
|
30771
33424
|
};
|
|
33425
|
+
process_inventory_recompute_queue: {
|
|
33426
|
+
Args: {
|
|
33427
|
+
p_limit?: number;
|
|
33428
|
+
};
|
|
33429
|
+
Returns: number;
|
|
33430
|
+
};
|
|
30772
33431
|
process_logistics_event: {
|
|
30773
33432
|
Args: {
|
|
30774
33433
|
p_event_id: string;
|
|
@@ -30783,6 +33442,90 @@ export type Database = {
|
|
|
30783
33442
|
};
|
|
30784
33443
|
Returns: Json;
|
|
30785
33444
|
};
|
|
33445
|
+
product_active_group_id: {
|
|
33446
|
+
Args: {
|
|
33447
|
+
p_product_id: string;
|
|
33448
|
+
};
|
|
33449
|
+
Returns: string;
|
|
33450
|
+
};
|
|
33451
|
+
product_id_from_ref: {
|
|
33452
|
+
Args: {
|
|
33453
|
+
p_ref: string;
|
|
33454
|
+
};
|
|
33455
|
+
Returns: string;
|
|
33456
|
+
};
|
|
33457
|
+
product_is_set: {
|
|
33458
|
+
Args: {
|
|
33459
|
+
p_product_id: string;
|
|
33460
|
+
};
|
|
33461
|
+
Returns: boolean;
|
|
33462
|
+
};
|
|
33463
|
+
product_label: {
|
|
33464
|
+
Args: {
|
|
33465
|
+
p_id: string;
|
|
33466
|
+
};
|
|
33467
|
+
Returns: string;
|
|
33468
|
+
};
|
|
33469
|
+
product_member_group_ids: {
|
|
33470
|
+
Args: {
|
|
33471
|
+
p_product_id: string;
|
|
33472
|
+
};
|
|
33473
|
+
Returns: string[];
|
|
33474
|
+
};
|
|
33475
|
+
product_own_available: {
|
|
33476
|
+
Args: {
|
|
33477
|
+
p_connection_id: string;
|
|
33478
|
+
p_product_id: string;
|
|
33479
|
+
};
|
|
33480
|
+
Returns: Record<string, unknown>;
|
|
33481
|
+
};
|
|
33482
|
+
product_set_depth_above: {
|
|
33483
|
+
Args: {
|
|
33484
|
+
p_path?: string[];
|
|
33485
|
+
p_product_id: string;
|
|
33486
|
+
};
|
|
33487
|
+
Returns: number;
|
|
33488
|
+
};
|
|
33489
|
+
product_set_depth_below: {
|
|
33490
|
+
Args: {
|
|
33491
|
+
p_path?: string[];
|
|
33492
|
+
p_product_id: string;
|
|
33493
|
+
};
|
|
33494
|
+
Returns: number;
|
|
33495
|
+
};
|
|
33496
|
+
product_structure_ancestors: {
|
|
33497
|
+
Args: {
|
|
33498
|
+
p_product_ids: string[];
|
|
33499
|
+
};
|
|
33500
|
+
Returns: string[];
|
|
33501
|
+
};
|
|
33502
|
+
product_structure_max_depth: {
|
|
33503
|
+
Args: never;
|
|
33504
|
+
Returns: number;
|
|
33505
|
+
};
|
|
33506
|
+
product_structure_path: {
|
|
33507
|
+
Args: {
|
|
33508
|
+
p_from: string;
|
|
33509
|
+
p_target: string;
|
|
33510
|
+
};
|
|
33511
|
+
Returns: string[];
|
|
33512
|
+
};
|
|
33513
|
+
product_type: {
|
|
33514
|
+
Args: {
|
|
33515
|
+
p_product_id: string;
|
|
33516
|
+
};
|
|
33517
|
+
Returns: string;
|
|
33518
|
+
};
|
|
33519
|
+
promote_floriday_customer: {
|
|
33520
|
+
Args: {
|
|
33521
|
+
_org_id: string;
|
|
33522
|
+
};
|
|
33523
|
+
Returns: string;
|
|
33524
|
+
};
|
|
33525
|
+
promote_floriday_order_customers: {
|
|
33526
|
+
Args: never;
|
|
33527
|
+
Returns: number;
|
|
33528
|
+
};
|
|
30786
33529
|
promote_trade_item_key: {
|
|
30787
33530
|
Args: {
|
|
30788
33531
|
p_new: string;
|
|
@@ -30962,6 +33705,10 @@ export type Database = {
|
|
|
30962
33705
|
};
|
|
30963
33706
|
Returns: number;
|
|
30964
33707
|
};
|
|
33708
|
+
refresh_floriday_delivery_locations: {
|
|
33709
|
+
Args: never;
|
|
33710
|
+
Returns: number;
|
|
33711
|
+
};
|
|
30965
33712
|
release_debtor_lock: {
|
|
30966
33713
|
Args: {
|
|
30967
33714
|
_group_key: string;
|
|
@@ -31009,6 +33756,14 @@ export type Database = {
|
|
|
31009
33756
|
};
|
|
31010
33757
|
Returns: Json;
|
|
31011
33758
|
};
|
|
33759
|
+
requeue_skipped_stock_rows: {
|
|
33760
|
+
Args: {
|
|
33761
|
+
p_connection_id: string;
|
|
33762
|
+
p_status: string;
|
|
33763
|
+
p_trade_item_id?: string;
|
|
33764
|
+
};
|
|
33765
|
+
Returns: number;
|
|
33766
|
+
};
|
|
31012
33767
|
reset_cart_layer_positions: {
|
|
31013
33768
|
Args: {
|
|
31014
33769
|
p_cart_id: string;
|
|
@@ -31093,6 +33848,10 @@ export type Database = {
|
|
|
31093
33848
|
};
|
|
31094
33849
|
Returns: number;
|
|
31095
33850
|
};
|
|
33851
|
+
run_floriday_base_supply_process: {
|
|
33852
|
+
Args: never;
|
|
33853
|
+
Returns: undefined;
|
|
33854
|
+
};
|
|
31096
33855
|
run_floriday_continuous_stock_sync: {
|
|
31097
33856
|
Args: never;
|
|
31098
33857
|
Returns: undefined;
|
|
@@ -31121,6 +33880,41 @@ export type Database = {
|
|
|
31121
33880
|
Args: never;
|
|
31122
33881
|
Returns: undefined;
|
|
31123
33882
|
};
|
|
33883
|
+
save_belading: {
|
|
33884
|
+
Args: {
|
|
33885
|
+
p_expected_updated_at: string;
|
|
33886
|
+
p_packing_configuration_id: string;
|
|
33887
|
+
p_product_id: string;
|
|
33888
|
+
p_tenant_id: string;
|
|
33889
|
+
p_trade_item_floriday_id: string;
|
|
33890
|
+
p_values: Json;
|
|
33891
|
+
};
|
|
33892
|
+
Returns: Json;
|
|
33893
|
+
};
|
|
33894
|
+
save_product_group: {
|
|
33895
|
+
Args: {
|
|
33896
|
+
p_description: string;
|
|
33897
|
+
p_expected_updated_at: string;
|
|
33898
|
+
p_head_product_id: string;
|
|
33899
|
+
p_id: string;
|
|
33900
|
+
p_is_active: boolean;
|
|
33901
|
+
p_members: Json;
|
|
33902
|
+
p_name: string;
|
|
33903
|
+
};
|
|
33904
|
+
Returns: Json;
|
|
33905
|
+
};
|
|
33906
|
+
save_samenstelling: {
|
|
33907
|
+
Args: {
|
|
33908
|
+
p_components: Json;
|
|
33909
|
+
p_expected_updated_at: string;
|
|
33910
|
+
p_external: Json;
|
|
33911
|
+
p_packing_configuration_id: string;
|
|
33912
|
+
p_parent_id: string;
|
|
33913
|
+
p_parent_kind: string;
|
|
33914
|
+
p_tenant_id: string;
|
|
33915
|
+
};
|
|
33916
|
+
Returns: Json;
|
|
33917
|
+
};
|
|
31124
33918
|
scan_cancel_kar: {
|
|
31125
33919
|
Args: {
|
|
31126
33920
|
p_kar_id: string;
|
|
@@ -31602,6 +34396,10 @@ export type Database = {
|
|
|
31602
34396
|
Args: never;
|
|
31603
34397
|
Returns: number;
|
|
31604
34398
|
};
|
|
34399
|
+
server_now: {
|
|
34400
|
+
Args: never;
|
|
34401
|
+
Returns: string;
|
|
34402
|
+
};
|
|
31605
34403
|
set_planning_status: {
|
|
31606
34404
|
Args: {
|
|
31607
34405
|
_id: string;
|
|
@@ -31650,6 +34448,40 @@ export type Database = {
|
|
|
31650
34448
|
};
|
|
31651
34449
|
Returns: Json;
|
|
31652
34450
|
};
|
|
34451
|
+
stock_import_cleanup: {
|
|
34452
|
+
Args: never;
|
|
34453
|
+
Returns: number;
|
|
34454
|
+
};
|
|
34455
|
+
stock_import_create: {
|
|
34456
|
+
Args: {
|
|
34457
|
+
p_connection_id: string;
|
|
34458
|
+
p_file_hash: string;
|
|
34459
|
+
p_filename: string;
|
|
34460
|
+
p_force?: boolean;
|
|
34461
|
+
p_rows: Json;
|
|
34462
|
+
};
|
|
34463
|
+
Returns: Json;
|
|
34464
|
+
};
|
|
34465
|
+
stock_import_process_chunk: {
|
|
34466
|
+
Args: {
|
|
34467
|
+
p_chunk_no: number;
|
|
34468
|
+
p_run_id: string;
|
|
34469
|
+
};
|
|
34470
|
+
Returns: Json;
|
|
34471
|
+
};
|
|
34472
|
+
stock_import_stop: {
|
|
34473
|
+
Args: {
|
|
34474
|
+
p_run_id: string;
|
|
34475
|
+
};
|
|
34476
|
+
Returns: Json;
|
|
34477
|
+
};
|
|
34478
|
+
stock_import_undo_chunk: {
|
|
34479
|
+
Args: {
|
|
34480
|
+
p_chunk_no: number;
|
|
34481
|
+
p_run_id: string;
|
|
34482
|
+
};
|
|
34483
|
+
Returns: Json;
|
|
34484
|
+
};
|
|
31653
34485
|
stop_time_log: {
|
|
31654
34486
|
Args: {
|
|
31655
34487
|
p_employee_id: string;
|
|
@@ -31665,6 +34497,9 @@ export type Database = {
|
|
|
31665
34497
|
p_log_id: string;
|
|
31666
34498
|
};
|
|
31667
34499
|
Returns: {
|
|
34500
|
+
aangepast_door_monteur: boolean;
|
|
34501
|
+
aangepast_op: string | null;
|
|
34502
|
+
aanpassing_reden: string | null;
|
|
31668
34503
|
auto_stop_reason: string | null;
|
|
31669
34504
|
auto_stopped: boolean;
|
|
31670
34505
|
created_at: string;
|
|
@@ -31835,6 +34670,28 @@ export type Database = {
|
|
|
31835
34670
|
};
|
|
31836
34671
|
Returns: Json;
|
|
31837
34672
|
};
|
|
34673
|
+
twinfield_sync_apply: {
|
|
34674
|
+
Args: {
|
|
34675
|
+
_base: Json;
|
|
34676
|
+
_customer_id: string;
|
|
34677
|
+
_patch: Json;
|
|
34678
|
+
_uid: string;
|
|
34679
|
+
_version: number;
|
|
34680
|
+
};
|
|
34681
|
+
Returns: undefined;
|
|
34682
|
+
};
|
|
34683
|
+
twinfield_sync_insert: {
|
|
34684
|
+
Args: {
|
|
34685
|
+
_row: Json;
|
|
34686
|
+
};
|
|
34687
|
+
Returns: string;
|
|
34688
|
+
};
|
|
34689
|
+
twinfield_sync_mark_missing: {
|
|
34690
|
+
Args: {
|
|
34691
|
+
_ids: string[];
|
|
34692
|
+
};
|
|
34693
|
+
Returns: undefined;
|
|
34694
|
+
};
|
|
31838
34695
|
twinfield_upsert_connection_by_account_key: {
|
|
31839
34696
|
Args: {
|
|
31840
34697
|
p_account_key: string;
|
|
@@ -31860,6 +34717,55 @@ export type Database = {
|
|
|
31860
34717
|
};
|
|
31861
34718
|
Returns: undefined;
|
|
31862
34719
|
};
|
|
34720
|
+
uren_collega_agenda: {
|
|
34721
|
+
Args: {
|
|
34722
|
+
_monteur: string;
|
|
34723
|
+
_tot: string;
|
|
34724
|
+
_van: string;
|
|
34725
|
+
};
|
|
34726
|
+
Returns: {
|
|
34727
|
+
afwezig: string;
|
|
34728
|
+
datum: string;
|
|
34729
|
+
gepland: number;
|
|
34730
|
+
kort_vrij: Json;
|
|
34731
|
+
overuren: number;
|
|
34732
|
+
standby_avond: boolean;
|
|
34733
|
+
standby_ingepland: string;
|
|
34734
|
+
standby_weekend: boolean;
|
|
34735
|
+
werk_eind: string;
|
|
34736
|
+
werk_start: string;
|
|
34737
|
+
}[];
|
|
34738
|
+
};
|
|
34739
|
+
uren_dag_controle: {
|
|
34740
|
+
Args: {
|
|
34741
|
+
_datum: string;
|
|
34742
|
+
_monteur: string;
|
|
34743
|
+
_toekomst_toegestaan: boolean;
|
|
34744
|
+
};
|
|
34745
|
+
Returns: undefined;
|
|
34746
|
+
};
|
|
34747
|
+
uren_dag_controle_vrij: {
|
|
34748
|
+
Args: {
|
|
34749
|
+
_datum: string;
|
|
34750
|
+
_monteur: string;
|
|
34751
|
+
};
|
|
34752
|
+
Returns: undefined;
|
|
34753
|
+
};
|
|
34754
|
+
uren_dag_km_opslaan: {
|
|
34755
|
+
Args: {
|
|
34756
|
+
_datum: string;
|
|
34757
|
+
_km: number;
|
|
34758
|
+
};
|
|
34759
|
+
Returns: undefined;
|
|
34760
|
+
};
|
|
34761
|
+
uren_dag_registraties_aanpassen: {
|
|
34762
|
+
Args: {
|
|
34763
|
+
_datum: string;
|
|
34764
|
+
_reden: string;
|
|
34765
|
+
_regels: Json;
|
|
34766
|
+
};
|
|
34767
|
+
Returns: number;
|
|
34768
|
+
};
|
|
31863
34769
|
uren_employee_day_hours: {
|
|
31864
34770
|
Args: {
|
|
31865
34771
|
_day: string;
|
|
@@ -31871,6 +34777,20 @@ export type Database = {
|
|
|
31871
34777
|
Args: never;
|
|
31872
34778
|
Returns: boolean;
|
|
31873
34779
|
};
|
|
34780
|
+
uren_indirect_opslaan: {
|
|
34781
|
+
Args: {
|
|
34782
|
+
_datum: string;
|
|
34783
|
+
_minuten: number;
|
|
34784
|
+
_toelichting: string;
|
|
34785
|
+
};
|
|
34786
|
+
Returns: string;
|
|
34787
|
+
};
|
|
34788
|
+
uren_indirect_verwijderen: {
|
|
34789
|
+
Args: {
|
|
34790
|
+
_id: string;
|
|
34791
|
+
};
|
|
34792
|
+
Returns: undefined;
|
|
34793
|
+
};
|
|
31874
34794
|
uren_is_beheerder: {
|
|
31875
34795
|
Args: never;
|
|
31876
34796
|
Returns: boolean;
|
|
@@ -31911,6 +34831,13 @@ export type Database = {
|
|
|
31911
34831
|
roles: string[];
|
|
31912
34832
|
}[];
|
|
31913
34833
|
};
|
|
34834
|
+
uren_list_monteurs: {
|
|
34835
|
+
Args: never;
|
|
34836
|
+
Returns: {
|
|
34837
|
+
id: string;
|
|
34838
|
+
naam: string;
|
|
34839
|
+
}[];
|
|
34840
|
+
};
|
|
31914
34841
|
uren_list_planner_contacten: {
|
|
31915
34842
|
Args: never;
|
|
31916
34843
|
Returns: {
|
|
@@ -31954,6 +34881,16 @@ export type Database = {
|
|
|
31954
34881
|
Args: never;
|
|
31955
34882
|
Returns: string;
|
|
31956
34883
|
};
|
|
34884
|
+
uren_overuren_indienen: {
|
|
34885
|
+
Args: {
|
|
34886
|
+
_datum: string;
|
|
34887
|
+
_toelichting?: string;
|
|
34888
|
+
_uren_na: number;
|
|
34889
|
+
_uren_voor: number;
|
|
34890
|
+
_verwerking: string;
|
|
34891
|
+
};
|
|
34892
|
+
Returns: undefined;
|
|
34893
|
+
};
|
|
31957
34894
|
uren_pagina_toegang_instellen: {
|
|
31958
34895
|
Args: {
|
|
31959
34896
|
_toegang: boolean;
|
|
@@ -32021,6 +34958,36 @@ export type Database = {
|
|
|
32021
34958
|
};
|
|
32022
34959
|
Returns: undefined;
|
|
32023
34960
|
};
|
|
34961
|
+
uren_standby_opslaan: {
|
|
34962
|
+
Args: {
|
|
34963
|
+
_datums: string[];
|
|
34964
|
+
_soort: string;
|
|
34965
|
+
_tot: string;
|
|
34966
|
+
_van: string;
|
|
34967
|
+
};
|
|
34968
|
+
Returns: undefined;
|
|
34969
|
+
};
|
|
34970
|
+
uren_standby_overdragen: {
|
|
34971
|
+
Args: {
|
|
34972
|
+
_datum: string;
|
|
34973
|
+
_naar: string;
|
|
34974
|
+
};
|
|
34975
|
+
Returns: undefined;
|
|
34976
|
+
};
|
|
34977
|
+
uren_standby_ruil: {
|
|
34978
|
+
Args: {
|
|
34979
|
+
_aan: boolean;
|
|
34980
|
+
_datum: string;
|
|
34981
|
+
};
|
|
34982
|
+
Returns: undefined;
|
|
34983
|
+
};
|
|
34984
|
+
uren_standby_sync: {
|
|
34985
|
+
Args: {
|
|
34986
|
+
_tot: string;
|
|
34987
|
+
_van: string;
|
|
34988
|
+
};
|
|
34989
|
+
Returns: undefined;
|
|
34990
|
+
};
|
|
32024
34991
|
uren_stop_time_log: {
|
|
32025
34992
|
Args: {
|
|
32026
34993
|
p_employee_id: string;
|
|
@@ -32054,6 +35021,13 @@ export type Database = {
|
|
|
32054
35021
|
};
|
|
32055
35022
|
Returns: string;
|
|
32056
35023
|
};
|
|
35024
|
+
uren_vakantiedag_verwijderen: {
|
|
35025
|
+
Args: {
|
|
35026
|
+
_datum: string;
|
|
35027
|
+
_leave_id: string;
|
|
35028
|
+
};
|
|
35029
|
+
Returns: undefined;
|
|
35030
|
+
};
|
|
32057
35031
|
uren_vakantiedag_wijzigen: {
|
|
32058
35032
|
Args: {
|
|
32059
35033
|
_date: string;
|
|
@@ -32205,6 +35179,25 @@ export type Database = {
|
|
|
32205
35179
|
user_id: string;
|
|
32206
35180
|
}[];
|
|
32207
35181
|
};
|
|
35182
|
+
vakantie_tvt_overzicht: {
|
|
35183
|
+
Args: {
|
|
35184
|
+
_year?: number;
|
|
35185
|
+
};
|
|
35186
|
+
Returns: {
|
|
35187
|
+
earned_from_tvt_days: number;
|
|
35188
|
+
hours_to_next_tvt_day: number;
|
|
35189
|
+
tvt_hours: number;
|
|
35190
|
+
tvt_remainder_hours: number;
|
|
35191
|
+
user_id: string;
|
|
35192
|
+
}[];
|
|
35193
|
+
};
|
|
35194
|
+
vakantie_tvt_uren: {
|
|
35195
|
+
Args: {
|
|
35196
|
+
_user_id: string;
|
|
35197
|
+
_year: number;
|
|
35198
|
+
};
|
|
35199
|
+
Returns: number;
|
|
35200
|
+
};
|
|
32208
35201
|
vervang_printer: {
|
|
32209
35202
|
Args: {
|
|
32210
35203
|
_nieuw: string;
|
|
@@ -32218,16 +35211,57 @@ export type Database = {
|
|
|
32218
35211
|
};
|
|
32219
35212
|
Returns: Json;
|
|
32220
35213
|
};
|
|
35214
|
+
voorraad_can_write: {
|
|
35215
|
+
Args: never;
|
|
35216
|
+
Returns: boolean;
|
|
35217
|
+
};
|
|
32221
35218
|
voorraad_cleanup_old_rows: {
|
|
32222
35219
|
Args: never;
|
|
32223
35220
|
Returns: Json;
|
|
32224
35221
|
};
|
|
35222
|
+
voorraad_hook_base_url: {
|
|
35223
|
+
Args: never;
|
|
35224
|
+
Returns: string;
|
|
35225
|
+
};
|
|
35226
|
+
voorraad_hook_on: {
|
|
35227
|
+
Args: {
|
|
35228
|
+
p_name: string;
|
|
35229
|
+
};
|
|
35230
|
+
Returns: boolean;
|
|
35231
|
+
};
|
|
35232
|
+
voorraad_hook_post: {
|
|
35233
|
+
Args: {
|
|
35234
|
+
p_path: string;
|
|
35235
|
+
p_timeout?: number;
|
|
35236
|
+
};
|
|
35237
|
+
Returns: undefined;
|
|
35238
|
+
};
|
|
35239
|
+
voorraad_production_enabled: {
|
|
35240
|
+
Args: never;
|
|
35241
|
+
Returns: boolean;
|
|
35242
|
+
};
|
|
35243
|
+
voorraad_week_is_past: {
|
|
35244
|
+
Args: {
|
|
35245
|
+
p_week: number;
|
|
35246
|
+
p_year: number;
|
|
35247
|
+
};
|
|
35248
|
+
Returns: boolean;
|
|
35249
|
+
};
|
|
32225
35250
|
wake_print_queue: {
|
|
32226
35251
|
Args: {
|
|
32227
35252
|
_min_interval_ms?: number;
|
|
32228
35253
|
};
|
|
32229
35254
|
Returns: number;
|
|
32230
35255
|
};
|
|
35256
|
+
werkbon_format_project_number: {
|
|
35257
|
+
Args: {
|
|
35258
|
+
_parent_project_number?: string;
|
|
35259
|
+
_sequence_number: number;
|
|
35260
|
+
_source_type: string;
|
|
35261
|
+
_version: number;
|
|
35262
|
+
};
|
|
35263
|
+
Returns: string;
|
|
35264
|
+
};
|
|
32231
35265
|
werkbon_pakket_tijden: {
|
|
32232
35266
|
Args: {
|
|
32233
35267
|
_werkbon_id: string;
|
|
@@ -32250,6 +35284,14 @@ export type Database = {
|
|
|
32250
35284
|
total_minutes: number;
|
|
32251
35285
|
}[];
|
|
32252
35286
|
};
|
|
35287
|
+
wo_boek_standby_uren: {
|
|
35288
|
+
Args: {
|
|
35289
|
+
_datum: string;
|
|
35290
|
+
_minuten: number;
|
|
35291
|
+
_werkbon_id: string;
|
|
35292
|
+
};
|
|
35293
|
+
Returns: Json;
|
|
35294
|
+
};
|
|
32253
35295
|
wo_create_from_source: {
|
|
32254
35296
|
Args: {
|
|
32255
35297
|
_payload?: Json;
|
|
@@ -32270,6 +35312,12 @@ export type Database = {
|
|
|
32270
35312
|
};
|
|
32271
35313
|
Returns: Json;
|
|
32272
35314
|
};
|
|
35315
|
+
wo_is_planned_monteur: {
|
|
35316
|
+
Args: {
|
|
35317
|
+
_werkbon_id: string;
|
|
35318
|
+
};
|
|
35319
|
+
Returns: boolean;
|
|
35320
|
+
};
|
|
32273
35321
|
wo_list_colleague_planning: {
|
|
32274
35322
|
Args: {
|
|
32275
35323
|
_from: string;
|
|
@@ -32297,6 +35345,12 @@ export type Database = {
|
|
|
32297
35345
|
};
|
|
32298
35346
|
Returns: Json;
|
|
32299
35347
|
};
|
|
35348
|
+
wo_open_standby: {
|
|
35349
|
+
Args: {
|
|
35350
|
+
_standby_id: string;
|
|
35351
|
+
};
|
|
35352
|
+
Returns: string;
|
|
35353
|
+
};
|
|
32300
35354
|
wo_process_offerte_request: {
|
|
32301
35355
|
Args: {
|
|
32302
35356
|
_queue_id: string;
|
|
@@ -32324,6 +35378,19 @@ export type Database = {
|
|
|
32324
35378
|
};
|
|
32325
35379
|
Returns: Json;
|
|
32326
35380
|
};
|
|
35381
|
+
wo_send_proposal_to_quote: {
|
|
35382
|
+
Args: {
|
|
35383
|
+
_id: string;
|
|
35384
|
+
_overrides?: Json;
|
|
35385
|
+
};
|
|
35386
|
+
Returns: Json;
|
|
35387
|
+
};
|
|
35388
|
+
wo_send_to_quote: {
|
|
35389
|
+
Args: {
|
|
35390
|
+
_werkbon_id: string;
|
|
35391
|
+
};
|
|
35392
|
+
Returns: Json;
|
|
35393
|
+
};
|
|
32327
35394
|
wo_set_status: {
|
|
32328
35395
|
Args: {
|
|
32329
35396
|
_reason?: string;
|