@flowselections/floriday-verkoop-module 1.0.70 → 1.0.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrderDetailView.js +1 -1
- package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrdersTable.js +5 -1
- package/dist-lib/integrations/supabase/types.d.ts +1775 -7
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.d.ts +5 -0
- package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.js +133 -22
- package/dist-lib/lib/floriday-order-level.d.ts +26 -0
- package/dist-lib/lib/floriday-order-level.d.ts.map +1 -0
- package/dist-lib/lib/floriday-order-level.js +32 -0
- package/dist-lib/lib/floriday-unlinked-products.d.ts +9 -0
- package/dist-lib/lib/floriday-unlinked-products.d.ts.map +1 -0
- package/dist-lib/lib/floriday-unlinked-products.js +27 -0
- package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.server.js +6 -1
- package/dist-lib/lib/salesorders-mapping.d.ts +7 -0
- package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.js +4 -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;
|
|
@@ -6602,6 +6647,7 @@ export type Database = {
|
|
|
6602
6647
|
floriday_continuous_stock_queue: {
|
|
6603
6648
|
Row: {
|
|
6604
6649
|
attempts: number;
|
|
6650
|
+
availability_sent_at: string | null;
|
|
6605
6651
|
connection_id: string;
|
|
6606
6652
|
created_at: string;
|
|
6607
6653
|
dead_lettered_at: string | null;
|
|
@@ -6614,7 +6660,9 @@ export type Database = {
|
|
|
6614
6660
|
next_attempt_at: string;
|
|
6615
6661
|
number_of_pieces: number;
|
|
6616
6662
|
product_id: string | null;
|
|
6663
|
+
quantity_sent_at: string | null;
|
|
6617
6664
|
sent_at: string | null;
|
|
6665
|
+
skip_reason: string | null;
|
|
6618
6666
|
status: string;
|
|
6619
6667
|
stock_mode: string | null;
|
|
6620
6668
|
superseded_by: string | null;
|
|
@@ -6626,6 +6674,7 @@ export type Database = {
|
|
|
6626
6674
|
};
|
|
6627
6675
|
Insert: {
|
|
6628
6676
|
attempts?: number;
|
|
6677
|
+
availability_sent_at?: string | null;
|
|
6629
6678
|
connection_id: string;
|
|
6630
6679
|
created_at?: string;
|
|
6631
6680
|
dead_lettered_at?: string | null;
|
|
@@ -6638,7 +6687,9 @@ export type Database = {
|
|
|
6638
6687
|
next_attempt_at?: string;
|
|
6639
6688
|
number_of_pieces?: number;
|
|
6640
6689
|
product_id?: string | null;
|
|
6690
|
+
quantity_sent_at?: string | null;
|
|
6641
6691
|
sent_at?: string | null;
|
|
6692
|
+
skip_reason?: string | null;
|
|
6642
6693
|
status?: string;
|
|
6643
6694
|
stock_mode?: string | null;
|
|
6644
6695
|
superseded_by?: string | null;
|
|
@@ -6650,6 +6701,7 @@ export type Database = {
|
|
|
6650
6701
|
};
|
|
6651
6702
|
Update: {
|
|
6652
6703
|
attempts?: number;
|
|
6704
|
+
availability_sent_at?: string | null;
|
|
6653
6705
|
connection_id?: string;
|
|
6654
6706
|
created_at?: string;
|
|
6655
6707
|
dead_lettered_at?: string | null;
|
|
@@ -6662,7 +6714,9 @@ export type Database = {
|
|
|
6662
6714
|
next_attempt_at?: string;
|
|
6663
6715
|
number_of_pieces?: number;
|
|
6664
6716
|
product_id?: string | null;
|
|
6717
|
+
quantity_sent_at?: string | null;
|
|
6665
6718
|
sent_at?: string | null;
|
|
6719
|
+
skip_reason?: string | null;
|
|
6666
6720
|
status?: string;
|
|
6667
6721
|
stock_mode?: string | null;
|
|
6668
6722
|
superseded_by?: string | null;
|
|
@@ -6868,6 +6922,7 @@ export type Database = {
|
|
|
6868
6922
|
rfh_company_account_id: string | null;
|
|
6869
6923
|
rfh_relation_id: string | null;
|
|
6870
6924
|
sequence_number: number | null;
|
|
6925
|
+
updated_at: string | null;
|
|
6871
6926
|
};
|
|
6872
6927
|
Insert: {
|
|
6873
6928
|
connection_id?: string | null;
|
|
@@ -6883,6 +6938,7 @@ export type Database = {
|
|
|
6883
6938
|
rfh_company_account_id?: string | null;
|
|
6884
6939
|
rfh_relation_id?: string | null;
|
|
6885
6940
|
sequence_number?: number | null;
|
|
6941
|
+
updated_at?: string | null;
|
|
6886
6942
|
};
|
|
6887
6943
|
Update: {
|
|
6888
6944
|
connection_id?: string | null;
|
|
@@ -6898,6 +6954,7 @@ export type Database = {
|
|
|
6898
6954
|
rfh_company_account_id?: string | null;
|
|
6899
6955
|
rfh_relation_id?: string | null;
|
|
6900
6956
|
sequence_number?: number | null;
|
|
6957
|
+
updated_at?: string | null;
|
|
6901
6958
|
};
|
|
6902
6959
|
Relationships: [
|
|
6903
6960
|
{
|
|
@@ -7185,7 +7242,9 @@ export type Database = {
|
|
|
7185
7242
|
};
|
|
7186
7243
|
floriday_inventory_settings: {
|
|
7187
7244
|
Row: {
|
|
7245
|
+
action_reason: string | null;
|
|
7188
7246
|
buffer_quantity: number;
|
|
7247
|
+
computed_available: number | null;
|
|
7189
7248
|
connection_id: string;
|
|
7190
7249
|
created_at: string;
|
|
7191
7250
|
desired_availability: boolean;
|
|
@@ -7197,21 +7256,27 @@ export type Database = {
|
|
|
7197
7256
|
last_enqueued_at: string | null;
|
|
7198
7257
|
last_published_at: string | null;
|
|
7199
7258
|
last_sync_error: string | null;
|
|
7259
|
+
limiting_product_id: string | null;
|
|
7200
7260
|
manual_quantity: number | null;
|
|
7201
7261
|
maximum_quantity: number | null;
|
|
7262
|
+
packing_size: number | null;
|
|
7202
7263
|
product_id: string;
|
|
7264
|
+
product_type: string | null;
|
|
7203
7265
|
quantity_control: string;
|
|
7204
7266
|
remote_available: boolean | null;
|
|
7205
7267
|
remote_checked_at: string | null;
|
|
7206
7268
|
remote_quantity: number | null;
|
|
7207
7269
|
stock_mode: string;
|
|
7270
|
+
structure_detail: Json | null;
|
|
7208
7271
|
sync_status: string;
|
|
7209
7272
|
updated_at: string;
|
|
7210
7273
|
updated_by: string | null;
|
|
7211
7274
|
user_id: string;
|
|
7212
7275
|
};
|
|
7213
7276
|
Insert: {
|
|
7277
|
+
action_reason?: string | null;
|
|
7214
7278
|
buffer_quantity?: number;
|
|
7279
|
+
computed_available?: number | null;
|
|
7215
7280
|
connection_id: string;
|
|
7216
7281
|
created_at?: string;
|
|
7217
7282
|
desired_availability?: boolean;
|
|
@@ -7223,21 +7288,27 @@ export type Database = {
|
|
|
7223
7288
|
last_enqueued_at?: string | null;
|
|
7224
7289
|
last_published_at?: string | null;
|
|
7225
7290
|
last_sync_error?: string | null;
|
|
7291
|
+
limiting_product_id?: string | null;
|
|
7226
7292
|
manual_quantity?: number | null;
|
|
7227
7293
|
maximum_quantity?: number | null;
|
|
7294
|
+
packing_size?: number | null;
|
|
7228
7295
|
product_id: string;
|
|
7296
|
+
product_type?: string | null;
|
|
7229
7297
|
quantity_control?: string;
|
|
7230
7298
|
remote_available?: boolean | null;
|
|
7231
7299
|
remote_checked_at?: string | null;
|
|
7232
7300
|
remote_quantity?: number | null;
|
|
7233
7301
|
stock_mode?: string;
|
|
7302
|
+
structure_detail?: Json | null;
|
|
7234
7303
|
sync_status?: string;
|
|
7235
7304
|
updated_at?: string;
|
|
7236
7305
|
updated_by?: string | null;
|
|
7237
7306
|
user_id: string;
|
|
7238
7307
|
};
|
|
7239
7308
|
Update: {
|
|
7309
|
+
action_reason?: string | null;
|
|
7240
7310
|
buffer_quantity?: number;
|
|
7311
|
+
computed_available?: number | null;
|
|
7241
7312
|
connection_id?: string;
|
|
7242
7313
|
created_at?: string;
|
|
7243
7314
|
desired_availability?: boolean;
|
|
@@ -7249,20 +7320,39 @@ export type Database = {
|
|
|
7249
7320
|
last_enqueued_at?: string | null;
|
|
7250
7321
|
last_published_at?: string | null;
|
|
7251
7322
|
last_sync_error?: string | null;
|
|
7323
|
+
limiting_product_id?: string | null;
|
|
7252
7324
|
manual_quantity?: number | null;
|
|
7253
7325
|
maximum_quantity?: number | null;
|
|
7326
|
+
packing_size?: number | null;
|
|
7254
7327
|
product_id?: string;
|
|
7328
|
+
product_type?: string | null;
|
|
7255
7329
|
quantity_control?: string;
|
|
7256
7330
|
remote_available?: boolean | null;
|
|
7257
7331
|
remote_checked_at?: string | null;
|
|
7258
7332
|
remote_quantity?: number | null;
|
|
7259
7333
|
stock_mode?: string;
|
|
7334
|
+
structure_detail?: Json | null;
|
|
7260
7335
|
sync_status?: string;
|
|
7261
7336
|
updated_at?: string;
|
|
7262
7337
|
updated_by?: string | null;
|
|
7263
7338
|
user_id?: string;
|
|
7264
7339
|
};
|
|
7265
|
-
Relationships: [
|
|
7340
|
+
Relationships: [
|
|
7341
|
+
{
|
|
7342
|
+
foreignKeyName: "floriday_inventory_settings_product_id_fkey";
|
|
7343
|
+
columns: ["product_id"];
|
|
7344
|
+
isOneToOne: false;
|
|
7345
|
+
referencedRelation: "logistics_product_dimensions";
|
|
7346
|
+
referencedColumns: ["product_id"];
|
|
7347
|
+
},
|
|
7348
|
+
{
|
|
7349
|
+
foreignKeyName: "floriday_inventory_settings_product_id_fkey";
|
|
7350
|
+
columns: ["product_id"];
|
|
7351
|
+
isOneToOne: false;
|
|
7352
|
+
referencedRelation: "products";
|
|
7353
|
+
referencedColumns: ["id"];
|
|
7354
|
+
}
|
|
7355
|
+
];
|
|
7266
7356
|
};
|
|
7267
7357
|
floriday_invoices_cache: {
|
|
7268
7358
|
Row: {
|
|
@@ -7611,6 +7701,39 @@ export type Database = {
|
|
|
7611
7701
|
}
|
|
7612
7702
|
];
|
|
7613
7703
|
};
|
|
7704
|
+
floriday_queue_cleanup_runs: {
|
|
7705
|
+
Row: {
|
|
7706
|
+
created_at: string;
|
|
7707
|
+
deleted: Json;
|
|
7708
|
+
error: string | null;
|
|
7709
|
+
finished_at: string | null;
|
|
7710
|
+
id: string;
|
|
7711
|
+
more_remaining: boolean;
|
|
7712
|
+
orphan_settings: number | null;
|
|
7713
|
+
started_at: string;
|
|
7714
|
+
};
|
|
7715
|
+
Insert: {
|
|
7716
|
+
created_at?: string;
|
|
7717
|
+
deleted?: Json;
|
|
7718
|
+
error?: string | null;
|
|
7719
|
+
finished_at?: string | null;
|
|
7720
|
+
id?: string;
|
|
7721
|
+
more_remaining?: boolean;
|
|
7722
|
+
orphan_settings?: number | null;
|
|
7723
|
+
started_at?: string;
|
|
7724
|
+
};
|
|
7725
|
+
Update: {
|
|
7726
|
+
created_at?: string;
|
|
7727
|
+
deleted?: Json;
|
|
7728
|
+
error?: string | null;
|
|
7729
|
+
finished_at?: string | null;
|
|
7730
|
+
id?: string;
|
|
7731
|
+
more_remaining?: boolean;
|
|
7732
|
+
orphan_settings?: number | null;
|
|
7733
|
+
started_at?: string;
|
|
7734
|
+
};
|
|
7735
|
+
Relationships: [];
|
|
7736
|
+
};
|
|
7614
7737
|
floriday_rate_limit_state: {
|
|
7615
7738
|
Row: {
|
|
7616
7739
|
bucket: string;
|
|
@@ -7629,6 +7752,60 @@ export type Database = {
|
|
|
7629
7752
|
};
|
|
7630
7753
|
Relationships: [];
|
|
7631
7754
|
};
|
|
7755
|
+
floriday_reconcile_runs: {
|
|
7756
|
+
Row: {
|
|
7757
|
+
connection_id: string | null;
|
|
7758
|
+
created_at: string;
|
|
7759
|
+
finished_at: string | null;
|
|
7760
|
+
first_error: string | null;
|
|
7761
|
+
id: string;
|
|
7762
|
+
items_checked: number;
|
|
7763
|
+
items_drift: number;
|
|
7764
|
+
items_no_supply: number;
|
|
7765
|
+
last_http_status: number | null;
|
|
7766
|
+
rate_limited: number;
|
|
7767
|
+
read_errors: number;
|
|
7768
|
+
reads: number;
|
|
7769
|
+
response: Json | null;
|
|
7770
|
+
started_at: string;
|
|
7771
|
+
status: string;
|
|
7772
|
+
};
|
|
7773
|
+
Insert: {
|
|
7774
|
+
connection_id?: string | null;
|
|
7775
|
+
created_at?: string;
|
|
7776
|
+
finished_at?: string | null;
|
|
7777
|
+
first_error?: string | null;
|
|
7778
|
+
id?: string;
|
|
7779
|
+
items_checked?: number;
|
|
7780
|
+
items_drift?: number;
|
|
7781
|
+
items_no_supply?: number;
|
|
7782
|
+
last_http_status?: number | null;
|
|
7783
|
+
rate_limited?: number;
|
|
7784
|
+
read_errors?: number;
|
|
7785
|
+
reads?: number;
|
|
7786
|
+
response?: Json | null;
|
|
7787
|
+
started_at?: string;
|
|
7788
|
+
status?: string;
|
|
7789
|
+
};
|
|
7790
|
+
Update: {
|
|
7791
|
+
connection_id?: string | null;
|
|
7792
|
+
created_at?: string;
|
|
7793
|
+
finished_at?: string | null;
|
|
7794
|
+
first_error?: string | null;
|
|
7795
|
+
id?: string;
|
|
7796
|
+
items_checked?: number;
|
|
7797
|
+
items_drift?: number;
|
|
7798
|
+
items_no_supply?: number;
|
|
7799
|
+
last_http_status?: number | null;
|
|
7800
|
+
rate_limited?: number;
|
|
7801
|
+
read_errors?: number;
|
|
7802
|
+
reads?: number;
|
|
7803
|
+
response?: Json | null;
|
|
7804
|
+
started_at?: string;
|
|
7805
|
+
status?: string;
|
|
7806
|
+
};
|
|
7807
|
+
Relationships: [];
|
|
7808
|
+
};
|
|
7632
7809
|
floriday_resource_schemas: {
|
|
7633
7810
|
Row: {
|
|
7634
7811
|
enums: Json;
|
|
@@ -8711,6 +8888,93 @@ export type Database = {
|
|
|
8711
8888
|
}
|
|
8712
8889
|
];
|
|
8713
8890
|
};
|
|
8891
|
+
inventory_recompute_limits: {
|
|
8892
|
+
Row: {
|
|
8893
|
+
drain_batch: number;
|
|
8894
|
+
id: boolean;
|
|
8895
|
+
import_chunk_size: number;
|
|
8896
|
+
import_max_bytes: number;
|
|
8897
|
+
import_max_rows: number;
|
|
8898
|
+
import_new_chunk_size: number;
|
|
8899
|
+
import_retention_days: number;
|
|
8900
|
+
max_ms_inline: number;
|
|
8901
|
+
max_parents_inline: number;
|
|
8902
|
+
queue_cleanup_batch: number;
|
|
8903
|
+
queue_cleanup_max_batches: number;
|
|
8904
|
+
queue_failed_days: number;
|
|
8905
|
+
queue_sent_days: number;
|
|
8906
|
+
queue_skipped_days: number;
|
|
8907
|
+
queue_superseded_days: number;
|
|
8908
|
+
updated_at: string;
|
|
8909
|
+
};
|
|
8910
|
+
Insert: {
|
|
8911
|
+
drain_batch?: number;
|
|
8912
|
+
id?: boolean;
|
|
8913
|
+
import_chunk_size?: number;
|
|
8914
|
+
import_max_bytes?: number;
|
|
8915
|
+
import_max_rows?: number;
|
|
8916
|
+
import_new_chunk_size?: number;
|
|
8917
|
+
import_retention_days?: number;
|
|
8918
|
+
max_ms_inline?: number;
|
|
8919
|
+
max_parents_inline?: number;
|
|
8920
|
+
queue_cleanup_batch?: number;
|
|
8921
|
+
queue_cleanup_max_batches?: number;
|
|
8922
|
+
queue_failed_days?: number;
|
|
8923
|
+
queue_sent_days?: number;
|
|
8924
|
+
queue_skipped_days?: number;
|
|
8925
|
+
queue_superseded_days?: number;
|
|
8926
|
+
updated_at?: string;
|
|
8927
|
+
};
|
|
8928
|
+
Update: {
|
|
8929
|
+
drain_batch?: number;
|
|
8930
|
+
id?: boolean;
|
|
8931
|
+
import_chunk_size?: number;
|
|
8932
|
+
import_max_bytes?: number;
|
|
8933
|
+
import_max_rows?: number;
|
|
8934
|
+
import_new_chunk_size?: number;
|
|
8935
|
+
import_retention_days?: number;
|
|
8936
|
+
max_ms_inline?: number;
|
|
8937
|
+
max_parents_inline?: number;
|
|
8938
|
+
queue_cleanup_batch?: number;
|
|
8939
|
+
queue_cleanup_max_batches?: number;
|
|
8940
|
+
queue_failed_days?: number;
|
|
8941
|
+
queue_sent_days?: number;
|
|
8942
|
+
queue_skipped_days?: number;
|
|
8943
|
+
queue_superseded_days?: number;
|
|
8944
|
+
updated_at?: string;
|
|
8945
|
+
};
|
|
8946
|
+
Relationships: [];
|
|
8947
|
+
};
|
|
8948
|
+
inventory_recompute_queue: {
|
|
8949
|
+
Row: {
|
|
8950
|
+
attempts: number;
|
|
8951
|
+
created_at: string;
|
|
8952
|
+
enqueued_at: string;
|
|
8953
|
+
last_error: string | null;
|
|
8954
|
+
product_id: string;
|
|
8955
|
+
reason: string | null;
|
|
8956
|
+
updated_at: string;
|
|
8957
|
+
};
|
|
8958
|
+
Insert: {
|
|
8959
|
+
attempts?: number;
|
|
8960
|
+
created_at?: string;
|
|
8961
|
+
enqueued_at?: string;
|
|
8962
|
+
last_error?: string | null;
|
|
8963
|
+
product_id: string;
|
|
8964
|
+
reason?: string | null;
|
|
8965
|
+
updated_at?: string;
|
|
8966
|
+
};
|
|
8967
|
+
Update: {
|
|
8968
|
+
attempts?: number;
|
|
8969
|
+
created_at?: string;
|
|
8970
|
+
enqueued_at?: string;
|
|
8971
|
+
last_error?: string | null;
|
|
8972
|
+
product_id?: string;
|
|
8973
|
+
reason?: string | null;
|
|
8974
|
+
updated_at?: string;
|
|
8975
|
+
};
|
|
8976
|
+
Relationships: [];
|
|
8977
|
+
};
|
|
8714
8978
|
inventory_settings: {
|
|
8715
8979
|
Row: {
|
|
8716
8980
|
created_at: string;
|
|
@@ -8903,8 +9167,16 @@ export type Database = {
|
|
|
8903
9167
|
client_request_id: string;
|
|
8904
9168
|
completed_at: string | null;
|
|
8905
9169
|
created_at: string;
|
|
9170
|
+
customer_code: string | null;
|
|
8906
9171
|
error_message: string | null;
|
|
8907
9172
|
invoice_number: string | null;
|
|
9173
|
+
invoice_type: string | null;
|
|
9174
|
+
last_known_number: number | null;
|
|
9175
|
+
last_search_at: string | null;
|
|
9176
|
+
phase: string | null;
|
|
9177
|
+
reference: string | null;
|
|
9178
|
+
search_attempts: number;
|
|
9179
|
+
sending_at: string | null;
|
|
8908
9180
|
status: string;
|
|
8909
9181
|
user_id: string;
|
|
8910
9182
|
};
|
|
@@ -8913,8 +9185,16 @@ export type Database = {
|
|
|
8913
9185
|
client_request_id: string;
|
|
8914
9186
|
completed_at?: string | null;
|
|
8915
9187
|
created_at?: string;
|
|
9188
|
+
customer_code?: string | null;
|
|
8916
9189
|
error_message?: string | null;
|
|
8917
9190
|
invoice_number?: string | null;
|
|
9191
|
+
invoice_type?: string | null;
|
|
9192
|
+
last_known_number?: number | null;
|
|
9193
|
+
last_search_at?: string | null;
|
|
9194
|
+
phase?: string | null;
|
|
9195
|
+
reference?: string | null;
|
|
9196
|
+
search_attempts?: number;
|
|
9197
|
+
sending_at?: string | null;
|
|
8918
9198
|
status?: string;
|
|
8919
9199
|
user_id: string;
|
|
8920
9200
|
};
|
|
@@ -8923,8 +9203,16 @@ export type Database = {
|
|
|
8923
9203
|
client_request_id?: string;
|
|
8924
9204
|
completed_at?: string | null;
|
|
8925
9205
|
created_at?: string;
|
|
9206
|
+
customer_code?: string | null;
|
|
8926
9207
|
error_message?: string | null;
|
|
8927
9208
|
invoice_number?: string | null;
|
|
9209
|
+
invoice_type?: string | null;
|
|
9210
|
+
last_known_number?: number | null;
|
|
9211
|
+
last_search_at?: string | null;
|
|
9212
|
+
phase?: string | null;
|
|
9213
|
+
reference?: string | null;
|
|
9214
|
+
search_attempts?: number;
|
|
9215
|
+
sending_at?: string | null;
|
|
8928
9216
|
status?: string;
|
|
8929
9217
|
user_id?: string;
|
|
8930
9218
|
};
|
|
@@ -10052,6 +10340,7 @@ export type Database = {
|
|
|
10052
10340
|
id: string;
|
|
10053
10341
|
singleton: boolean;
|
|
10054
10342
|
updated_at: string;
|
|
10343
|
+
voorwaarden: string | null;
|
|
10055
10344
|
};
|
|
10056
10345
|
Insert: {
|
|
10057
10346
|
auto_convert_binnen_mandaat?: boolean;
|
|
@@ -10062,6 +10351,7 @@ export type Database = {
|
|
|
10062
10351
|
id?: string;
|
|
10063
10352
|
singleton?: boolean;
|
|
10064
10353
|
updated_at?: string;
|
|
10354
|
+
voorwaarden?: string | null;
|
|
10065
10355
|
};
|
|
10066
10356
|
Update: {
|
|
10067
10357
|
auto_convert_binnen_mandaat?: boolean;
|
|
@@ -10072,6 +10362,7 @@ export type Database = {
|
|
|
10072
10362
|
id?: string;
|
|
10073
10363
|
singleton?: boolean;
|
|
10074
10364
|
updated_at?: string;
|
|
10365
|
+
voorwaarden?: string | null;
|
|
10075
10366
|
};
|
|
10076
10367
|
Relationships: [];
|
|
10077
10368
|
};
|
|
@@ -10882,6 +11173,93 @@ export type Database = {
|
|
|
10882
11173
|
};
|
|
10883
11174
|
Relationships: [];
|
|
10884
11175
|
};
|
|
11176
|
+
logistics_autolink_audit: {
|
|
11177
|
+
Row: {
|
|
11178
|
+
created_at: string;
|
|
11179
|
+
id: string;
|
|
11180
|
+
match_type: string;
|
|
11181
|
+
order_id: string | null;
|
|
11182
|
+
order_item_id: string | null;
|
|
11183
|
+
order_source: string | null;
|
|
11184
|
+
product_floriday_id: string | null;
|
|
11185
|
+
product_id: string | null;
|
|
11186
|
+
product_name: string | null;
|
|
11187
|
+
};
|
|
11188
|
+
Insert: {
|
|
11189
|
+
created_at?: string;
|
|
11190
|
+
id?: string;
|
|
11191
|
+
match_type: string;
|
|
11192
|
+
order_id?: string | null;
|
|
11193
|
+
order_item_id?: string | null;
|
|
11194
|
+
order_source?: string | null;
|
|
11195
|
+
product_floriday_id?: string | null;
|
|
11196
|
+
product_id?: string | null;
|
|
11197
|
+
product_name?: string | null;
|
|
11198
|
+
};
|
|
11199
|
+
Update: {
|
|
11200
|
+
created_at?: string;
|
|
11201
|
+
id?: string;
|
|
11202
|
+
match_type?: string;
|
|
11203
|
+
order_id?: string | null;
|
|
11204
|
+
order_item_id?: string | null;
|
|
11205
|
+
order_source?: string | null;
|
|
11206
|
+
product_floriday_id?: string | null;
|
|
11207
|
+
product_id?: string | null;
|
|
11208
|
+
product_name?: string | null;
|
|
11209
|
+
};
|
|
11210
|
+
Relationships: [];
|
|
11211
|
+
};
|
|
11212
|
+
logistics_base_url_checks: {
|
|
11213
|
+
Row: {
|
|
11214
|
+
candidate_host: string | null;
|
|
11215
|
+
candidate_url: string | null;
|
|
11216
|
+
detail: string | null;
|
|
11217
|
+
id: number;
|
|
11218
|
+
ping_ok: boolean | null;
|
|
11219
|
+
ping_request_id: number | null;
|
|
11220
|
+
ping_status: number | null;
|
|
11221
|
+
previous_url: string | null;
|
|
11222
|
+
resolved_at: string | null;
|
|
11223
|
+
route_ok: boolean | null;
|
|
11224
|
+
route_request_id: number | null;
|
|
11225
|
+
route_status: number | null;
|
|
11226
|
+
started_at: string;
|
|
11227
|
+
status: string;
|
|
11228
|
+
};
|
|
11229
|
+
Insert: {
|
|
11230
|
+
candidate_host?: string | null;
|
|
11231
|
+
candidate_url?: string | null;
|
|
11232
|
+
detail?: string | null;
|
|
11233
|
+
id?: never;
|
|
11234
|
+
ping_ok?: boolean | null;
|
|
11235
|
+
ping_request_id?: number | null;
|
|
11236
|
+
ping_status?: number | null;
|
|
11237
|
+
previous_url?: string | null;
|
|
11238
|
+
resolved_at?: string | null;
|
|
11239
|
+
route_ok?: boolean | null;
|
|
11240
|
+
route_request_id?: number | null;
|
|
11241
|
+
route_status?: number | null;
|
|
11242
|
+
started_at?: string;
|
|
11243
|
+
status: string;
|
|
11244
|
+
};
|
|
11245
|
+
Update: {
|
|
11246
|
+
candidate_host?: string | null;
|
|
11247
|
+
candidate_url?: string | null;
|
|
11248
|
+
detail?: string | null;
|
|
11249
|
+
id?: never;
|
|
11250
|
+
ping_ok?: boolean | null;
|
|
11251
|
+
ping_request_id?: number | null;
|
|
11252
|
+
ping_status?: number | null;
|
|
11253
|
+
previous_url?: string | null;
|
|
11254
|
+
resolved_at?: string | null;
|
|
11255
|
+
route_ok?: boolean | null;
|
|
11256
|
+
route_request_id?: number | null;
|
|
11257
|
+
route_status?: number | null;
|
|
11258
|
+
started_at?: string;
|
|
11259
|
+
status?: string;
|
|
11260
|
+
};
|
|
11261
|
+
Relationships: [];
|
|
11262
|
+
};
|
|
10885
11263
|
logistics_capacity_alerts: {
|
|
10886
11264
|
Row: {
|
|
10887
11265
|
available_minutes: number;
|
|
@@ -12404,6 +12782,42 @@ export type Database = {
|
|
|
12404
12782
|
};
|
|
12405
12783
|
Relationships: [];
|
|
12406
12784
|
};
|
|
12785
|
+
logistics_reservation_allocations: {
|
|
12786
|
+
Row: {
|
|
12787
|
+
computed_at: string;
|
|
12788
|
+
created_at: string;
|
|
12789
|
+
group_id: string | null;
|
|
12790
|
+
id: string;
|
|
12791
|
+
order_item_id: string;
|
|
12792
|
+
qty: number;
|
|
12793
|
+
source: string;
|
|
12794
|
+
trade_item_key: string;
|
|
12795
|
+
updated_at: string;
|
|
12796
|
+
};
|
|
12797
|
+
Insert: {
|
|
12798
|
+
computed_at?: string;
|
|
12799
|
+
created_at?: string;
|
|
12800
|
+
group_id?: string | null;
|
|
12801
|
+
id?: string;
|
|
12802
|
+
order_item_id: string;
|
|
12803
|
+
qty: number;
|
|
12804
|
+
source: string;
|
|
12805
|
+
trade_item_key: string;
|
|
12806
|
+
updated_at?: string;
|
|
12807
|
+
};
|
|
12808
|
+
Update: {
|
|
12809
|
+
computed_at?: string;
|
|
12810
|
+
created_at?: string;
|
|
12811
|
+
group_id?: string | null;
|
|
12812
|
+
id?: string;
|
|
12813
|
+
order_item_id?: string;
|
|
12814
|
+
qty?: number;
|
|
12815
|
+
source?: string;
|
|
12816
|
+
trade_item_key?: string;
|
|
12817
|
+
updated_at?: string;
|
|
12818
|
+
};
|
|
12819
|
+
Relationships: [];
|
|
12820
|
+
};
|
|
12407
12821
|
logistics_rule_configs: {
|
|
12408
12822
|
Row: {
|
|
12409
12823
|
created_at: string;
|
|
@@ -12548,6 +12962,7 @@ export type Database = {
|
|
|
12548
12962
|
slip_job_id: string;
|
|
12549
12963
|
status: string;
|
|
12550
12964
|
updated_at: string;
|
|
12965
|
+
voor_herstel: boolean;
|
|
12551
12966
|
};
|
|
12552
12967
|
Insert: {
|
|
12553
12968
|
attempts?: number;
|
|
@@ -12568,6 +12983,7 @@ export type Database = {
|
|
|
12568
12983
|
slip_job_id: string;
|
|
12569
12984
|
status?: string;
|
|
12570
12985
|
updated_at?: string;
|
|
12986
|
+
voor_herstel?: boolean;
|
|
12571
12987
|
};
|
|
12572
12988
|
Update: {
|
|
12573
12989
|
attempts?: number;
|
|
@@ -12588,6 +13004,7 @@ export type Database = {
|
|
|
12588
13004
|
slip_job_id?: string;
|
|
12589
13005
|
status?: string;
|
|
12590
13006
|
updated_at?: string;
|
|
13007
|
+
voor_herstel?: boolean;
|
|
12591
13008
|
};
|
|
12592
13009
|
Relationships: [];
|
|
12593
13010
|
};
|
|
@@ -16994,6 +17411,39 @@ export type Database = {
|
|
|
16994
17411
|
};
|
|
16995
17412
|
Relationships: [];
|
|
16996
17413
|
};
|
|
17414
|
+
pick_taken: {
|
|
17415
|
+
Row: {
|
|
17416
|
+
bron_module: string | null;
|
|
17417
|
+
created_at: string;
|
|
17418
|
+
id: string;
|
|
17419
|
+
klantnaam: string | null;
|
|
17420
|
+
opmerking: string | null;
|
|
17421
|
+
order_ref: string | null;
|
|
17422
|
+
status: string;
|
|
17423
|
+
updated_at: string;
|
|
17424
|
+
};
|
|
17425
|
+
Insert: {
|
|
17426
|
+
bron_module?: string | null;
|
|
17427
|
+
created_at?: string;
|
|
17428
|
+
id?: string;
|
|
17429
|
+
klantnaam?: string | null;
|
|
17430
|
+
opmerking?: string | null;
|
|
17431
|
+
order_ref?: string | null;
|
|
17432
|
+
status?: string;
|
|
17433
|
+
updated_at?: string;
|
|
17434
|
+
};
|
|
17435
|
+
Update: {
|
|
17436
|
+
bron_module?: string | null;
|
|
17437
|
+
created_at?: string;
|
|
17438
|
+
id?: string;
|
|
17439
|
+
klantnaam?: string | null;
|
|
17440
|
+
opmerking?: string | null;
|
|
17441
|
+
order_ref?: string | null;
|
|
17442
|
+
status?: string;
|
|
17443
|
+
updated_at?: string;
|
|
17444
|
+
};
|
|
17445
|
+
Relationships: [];
|
|
17446
|
+
};
|
|
16997
17447
|
pick_task_document_types: {
|
|
16998
17448
|
Row: {
|
|
16999
17449
|
created_at: string;
|
|
@@ -17117,6 +17567,42 @@ export type Database = {
|
|
|
17117
17567
|
};
|
|
17118
17568
|
Relationships: [];
|
|
17119
17569
|
};
|
|
17570
|
+
planning_absence_notices: {
|
|
17571
|
+
Row: {
|
|
17572
|
+
created_at: string;
|
|
17573
|
+
day: string;
|
|
17574
|
+
handled_at: string | null;
|
|
17575
|
+
handled_by: string | null;
|
|
17576
|
+
id: string;
|
|
17577
|
+
items: Json;
|
|
17578
|
+
kind: string;
|
|
17579
|
+
monteur_id: string;
|
|
17580
|
+
updated_at: string;
|
|
17581
|
+
};
|
|
17582
|
+
Insert: {
|
|
17583
|
+
created_at?: string;
|
|
17584
|
+
day: string;
|
|
17585
|
+
handled_at?: string | null;
|
|
17586
|
+
handled_by?: string | null;
|
|
17587
|
+
id?: string;
|
|
17588
|
+
items?: Json;
|
|
17589
|
+
kind?: string;
|
|
17590
|
+
monteur_id: string;
|
|
17591
|
+
updated_at?: string;
|
|
17592
|
+
};
|
|
17593
|
+
Update: {
|
|
17594
|
+
created_at?: string;
|
|
17595
|
+
day?: string;
|
|
17596
|
+
handled_at?: string | null;
|
|
17597
|
+
handled_by?: string | null;
|
|
17598
|
+
id?: string;
|
|
17599
|
+
items?: Json;
|
|
17600
|
+
kind?: string;
|
|
17601
|
+
monteur_id?: string;
|
|
17602
|
+
updated_at?: string;
|
|
17603
|
+
};
|
|
17604
|
+
Relationships: [];
|
|
17605
|
+
};
|
|
17120
17606
|
planning_confirmation_log: {
|
|
17121
17607
|
Row: {
|
|
17122
17608
|
created_at: string;
|
|
@@ -18722,7 +19208,7 @@ export type Database = {
|
|
|
18722
19208
|
id?: string;
|
|
18723
19209
|
product_group_id: string;
|
|
18724
19210
|
quantity?: number;
|
|
18725
|
-
sort_order
|
|
19211
|
+
sort_order: number;
|
|
18726
19212
|
trade_item_id: string;
|
|
18727
19213
|
};
|
|
18728
19214
|
Update: {
|
|
@@ -19953,6 +20439,7 @@ export type Database = {
|
|
|
19953
20439
|
is_protected: boolean;
|
|
19954
20440
|
key: string;
|
|
19955
20441
|
name: string;
|
|
20442
|
+
permissions_initialized: boolean;
|
|
19956
20443
|
updated_at: string;
|
|
19957
20444
|
};
|
|
19958
20445
|
Insert: {
|
|
@@ -19961,6 +20448,7 @@ export type Database = {
|
|
|
19961
20448
|
is_protected?: boolean;
|
|
19962
20449
|
key: string;
|
|
19963
20450
|
name: string;
|
|
20451
|
+
permissions_initialized?: boolean;
|
|
19964
20452
|
updated_at?: string;
|
|
19965
20453
|
};
|
|
19966
20454
|
Update: {
|
|
@@ -19969,6 +20457,7 @@ export type Database = {
|
|
|
19969
20457
|
is_protected?: boolean;
|
|
19970
20458
|
key?: string;
|
|
19971
20459
|
name?: string;
|
|
20460
|
+
permissions_initialized?: boolean;
|
|
19972
20461
|
updated_at?: string;
|
|
19973
20462
|
};
|
|
19974
20463
|
Relationships: [];
|
|
@@ -20591,6 +21080,50 @@ export type Database = {
|
|
|
20591
21080
|
};
|
|
20592
21081
|
Relationships: [];
|
|
20593
21082
|
};
|
|
21083
|
+
standby_planning: {
|
|
21084
|
+
Row: {
|
|
21085
|
+
created_at: string;
|
|
21086
|
+
created_by: string | null;
|
|
21087
|
+
employee_id: string;
|
|
21088
|
+
end_date: string;
|
|
21089
|
+
id: string;
|
|
21090
|
+
notes: string | null;
|
|
21091
|
+
soort: string;
|
|
21092
|
+
start_date: string;
|
|
21093
|
+
updated_at: string;
|
|
21094
|
+
};
|
|
21095
|
+
Insert: {
|
|
21096
|
+
created_at?: string;
|
|
21097
|
+
created_by?: string | null;
|
|
21098
|
+
employee_id: string;
|
|
21099
|
+
end_date: string;
|
|
21100
|
+
id?: string;
|
|
21101
|
+
notes?: string | null;
|
|
21102
|
+
soort: string;
|
|
21103
|
+
start_date: string;
|
|
21104
|
+
updated_at?: string;
|
|
21105
|
+
};
|
|
21106
|
+
Update: {
|
|
21107
|
+
created_at?: string;
|
|
21108
|
+
created_by?: string | null;
|
|
21109
|
+
employee_id?: string;
|
|
21110
|
+
end_date?: string;
|
|
21111
|
+
id?: string;
|
|
21112
|
+
notes?: string | null;
|
|
21113
|
+
soort?: string;
|
|
21114
|
+
start_date?: string;
|
|
21115
|
+
updated_at?: string;
|
|
21116
|
+
};
|
|
21117
|
+
Relationships: [
|
|
21118
|
+
{
|
|
21119
|
+
foreignKeyName: "standby_planning_employee_id_fkey";
|
|
21120
|
+
columns: ["employee_id"];
|
|
21121
|
+
isOneToOne: false;
|
|
21122
|
+
referencedRelation: "profiles";
|
|
21123
|
+
referencedColumns: ["id"];
|
|
21124
|
+
}
|
|
21125
|
+
];
|
|
21126
|
+
};
|
|
20594
21127
|
stock_consumption_alerts: {
|
|
20595
21128
|
Row: {
|
|
20596
21129
|
alert_type: string;
|
|
@@ -20630,48 +21163,253 @@ export type Database = {
|
|
|
20630
21163
|
};
|
|
20631
21164
|
Relationships: [];
|
|
20632
21165
|
};
|
|
21166
|
+
stock_import_chunks: {
|
|
21167
|
+
Row: {
|
|
21168
|
+
chunk_no: number;
|
|
21169
|
+
created_at: string;
|
|
21170
|
+
duration_ms: number | null;
|
|
21171
|
+
processed_at: string | null;
|
|
21172
|
+
run_id: string;
|
|
21173
|
+
status: string;
|
|
21174
|
+
undone_at: string | null;
|
|
21175
|
+
updated_at: string;
|
|
21176
|
+
};
|
|
21177
|
+
Insert: {
|
|
21178
|
+
chunk_no: number;
|
|
21179
|
+
created_at?: string;
|
|
21180
|
+
duration_ms?: number | null;
|
|
21181
|
+
processed_at?: string | null;
|
|
21182
|
+
run_id: string;
|
|
21183
|
+
status?: string;
|
|
21184
|
+
undone_at?: string | null;
|
|
21185
|
+
updated_at?: string;
|
|
21186
|
+
};
|
|
21187
|
+
Update: {
|
|
21188
|
+
chunk_no?: number;
|
|
21189
|
+
created_at?: string;
|
|
21190
|
+
duration_ms?: number | null;
|
|
21191
|
+
processed_at?: string | null;
|
|
21192
|
+
run_id?: string;
|
|
21193
|
+
status?: string;
|
|
21194
|
+
undone_at?: string | null;
|
|
21195
|
+
updated_at?: string;
|
|
21196
|
+
};
|
|
21197
|
+
Relationships: [
|
|
21198
|
+
{
|
|
21199
|
+
foreignKeyName: "stock_import_chunks_run_id_fkey";
|
|
21200
|
+
columns: ["run_id"];
|
|
21201
|
+
isOneToOne: false;
|
|
21202
|
+
referencedRelation: "stock_import_runs";
|
|
21203
|
+
referencedColumns: ["id"];
|
|
21204
|
+
}
|
|
21205
|
+
];
|
|
21206
|
+
};
|
|
21207
|
+
stock_import_rows: {
|
|
21208
|
+
Row: {
|
|
21209
|
+
article_code: string | null;
|
|
21210
|
+
article_name: string | null;
|
|
21211
|
+
chunk_no: number;
|
|
21212
|
+
connection_id: string | null;
|
|
21213
|
+
created_at: string;
|
|
21214
|
+
custom_values: Json | null;
|
|
21215
|
+
error: string | null;
|
|
21216
|
+
id: string;
|
|
21217
|
+
incoming_after: number | null;
|
|
21218
|
+
incoming_before: number | null;
|
|
21219
|
+
incoming_in: number | null;
|
|
21220
|
+
is_new: boolean;
|
|
21221
|
+
minimum_after: number | null;
|
|
21222
|
+
minimum_before: number | null;
|
|
21223
|
+
minimum_in: number | null;
|
|
21224
|
+
new_payload: Json | null;
|
|
21225
|
+
note: string | null;
|
|
21226
|
+
physical_after: number | null;
|
|
21227
|
+
physical_before: number | null;
|
|
21228
|
+
physical_in: number | null;
|
|
21229
|
+
processed_at: string | null;
|
|
21230
|
+
product_id: string | null;
|
|
21231
|
+
row_no: number;
|
|
21232
|
+
run_id: string;
|
|
21233
|
+
status: string;
|
|
21234
|
+
trade_item_key: string | null;
|
|
21235
|
+
updated_at: string;
|
|
21236
|
+
};
|
|
21237
|
+
Insert: {
|
|
21238
|
+
article_code?: string | null;
|
|
21239
|
+
article_name?: string | null;
|
|
21240
|
+
chunk_no: number;
|
|
21241
|
+
connection_id?: string | null;
|
|
21242
|
+
created_at?: string;
|
|
21243
|
+
custom_values?: Json | null;
|
|
21244
|
+
error?: string | null;
|
|
21245
|
+
id?: string;
|
|
21246
|
+
incoming_after?: number | null;
|
|
21247
|
+
incoming_before?: number | null;
|
|
21248
|
+
incoming_in?: number | null;
|
|
21249
|
+
is_new?: boolean;
|
|
21250
|
+
minimum_after?: number | null;
|
|
21251
|
+
minimum_before?: number | null;
|
|
21252
|
+
minimum_in?: number | null;
|
|
21253
|
+
new_payload?: Json | null;
|
|
21254
|
+
note?: string | null;
|
|
21255
|
+
physical_after?: number | null;
|
|
21256
|
+
physical_before?: number | null;
|
|
21257
|
+
physical_in?: number | null;
|
|
21258
|
+
processed_at?: string | null;
|
|
21259
|
+
product_id?: string | null;
|
|
21260
|
+
row_no: number;
|
|
21261
|
+
run_id: string;
|
|
21262
|
+
status?: string;
|
|
21263
|
+
trade_item_key?: string | null;
|
|
21264
|
+
updated_at?: string;
|
|
21265
|
+
};
|
|
21266
|
+
Update: {
|
|
21267
|
+
article_code?: string | null;
|
|
21268
|
+
article_name?: string | null;
|
|
21269
|
+
chunk_no?: number;
|
|
21270
|
+
connection_id?: string | null;
|
|
21271
|
+
created_at?: string;
|
|
21272
|
+
custom_values?: Json | null;
|
|
21273
|
+
error?: string | null;
|
|
21274
|
+
id?: string;
|
|
21275
|
+
incoming_after?: number | null;
|
|
21276
|
+
incoming_before?: number | null;
|
|
21277
|
+
incoming_in?: number | null;
|
|
21278
|
+
is_new?: boolean;
|
|
21279
|
+
minimum_after?: number | null;
|
|
21280
|
+
minimum_before?: number | null;
|
|
21281
|
+
minimum_in?: number | null;
|
|
21282
|
+
new_payload?: Json | null;
|
|
21283
|
+
note?: string | null;
|
|
21284
|
+
physical_after?: number | null;
|
|
21285
|
+
physical_before?: number | null;
|
|
21286
|
+
physical_in?: number | null;
|
|
21287
|
+
processed_at?: string | null;
|
|
21288
|
+
product_id?: string | null;
|
|
21289
|
+
row_no?: number;
|
|
21290
|
+
run_id?: string;
|
|
21291
|
+
status?: string;
|
|
21292
|
+
trade_item_key?: string | null;
|
|
21293
|
+
updated_at?: string;
|
|
21294
|
+
};
|
|
21295
|
+
Relationships: [
|
|
21296
|
+
{
|
|
21297
|
+
foreignKeyName: "stock_import_rows_run_id_fkey";
|
|
21298
|
+
columns: ["run_id"];
|
|
21299
|
+
isOneToOne: false;
|
|
21300
|
+
referencedRelation: "stock_import_runs";
|
|
21301
|
+
referencedColumns: ["id"];
|
|
21302
|
+
}
|
|
21303
|
+
];
|
|
21304
|
+
};
|
|
20633
21305
|
stock_import_runs: {
|
|
20634
21306
|
Row: {
|
|
21307
|
+
chunk_size: number | null;
|
|
20635
21308
|
connection_id: string | null;
|
|
20636
21309
|
created_at: string;
|
|
20637
21310
|
created_rows: number;
|
|
21311
|
+
done_chunks: number;
|
|
20638
21312
|
errors: Json;
|
|
21313
|
+
file_hash: string | null;
|
|
20639
21314
|
filename: string | null;
|
|
21315
|
+
finished_at: string | null;
|
|
20640
21316
|
id: string;
|
|
20641
21317
|
mutations: Json;
|
|
21318
|
+
rows_purged_at: string | null;
|
|
20642
21319
|
skipped_rows: number;
|
|
21320
|
+
status: string;
|
|
21321
|
+
total_chunks: number;
|
|
20643
21322
|
total_rows: number;
|
|
21323
|
+
undo_skipped_rows: number;
|
|
21324
|
+
undone_rows: number;
|
|
21325
|
+
updated_at: string;
|
|
20644
21326
|
updated_rows: number;
|
|
20645
21327
|
user_id: string;
|
|
20646
21328
|
};
|
|
20647
21329
|
Insert: {
|
|
21330
|
+
chunk_size?: number | null;
|
|
20648
21331
|
connection_id?: string | null;
|
|
20649
21332
|
created_at?: string;
|
|
20650
21333
|
created_rows?: number;
|
|
21334
|
+
done_chunks?: number;
|
|
20651
21335
|
errors?: Json;
|
|
21336
|
+
file_hash?: string | null;
|
|
20652
21337
|
filename?: string | null;
|
|
21338
|
+
finished_at?: string | null;
|
|
20653
21339
|
id?: string;
|
|
20654
21340
|
mutations?: Json;
|
|
21341
|
+
rows_purged_at?: string | null;
|
|
20655
21342
|
skipped_rows?: number;
|
|
21343
|
+
status?: string;
|
|
21344
|
+
total_chunks?: number;
|
|
20656
21345
|
total_rows?: number;
|
|
21346
|
+
undo_skipped_rows?: number;
|
|
21347
|
+
undone_rows?: number;
|
|
21348
|
+
updated_at?: string;
|
|
20657
21349
|
updated_rows?: number;
|
|
20658
21350
|
user_id: string;
|
|
20659
21351
|
};
|
|
20660
21352
|
Update: {
|
|
21353
|
+
chunk_size?: number | null;
|
|
20661
21354
|
connection_id?: string | null;
|
|
20662
21355
|
created_at?: string;
|
|
20663
21356
|
created_rows?: number;
|
|
21357
|
+
done_chunks?: number;
|
|
20664
21358
|
errors?: Json;
|
|
21359
|
+
file_hash?: string | null;
|
|
20665
21360
|
filename?: string | null;
|
|
21361
|
+
finished_at?: string | null;
|
|
20666
21362
|
id?: string;
|
|
20667
21363
|
mutations?: Json;
|
|
21364
|
+
rows_purged_at?: string | null;
|
|
20668
21365
|
skipped_rows?: number;
|
|
21366
|
+
status?: string;
|
|
21367
|
+
total_chunks?: number;
|
|
20669
21368
|
total_rows?: number;
|
|
21369
|
+
undo_skipped_rows?: number;
|
|
21370
|
+
undone_rows?: number;
|
|
21371
|
+
updated_at?: string;
|
|
20670
21372
|
updated_rows?: number;
|
|
20671
21373
|
user_id?: string;
|
|
20672
21374
|
};
|
|
20673
21375
|
Relationships: [];
|
|
20674
21376
|
};
|
|
21377
|
+
stock_integrity_alerts: {
|
|
21378
|
+
Row: {
|
|
21379
|
+
acknowledged_at: string | null;
|
|
21380
|
+
acknowledged_by: string | null;
|
|
21381
|
+
alert_kind: string;
|
|
21382
|
+
created_at: string;
|
|
21383
|
+
id: string;
|
|
21384
|
+
item_count: number;
|
|
21385
|
+
items: Json;
|
|
21386
|
+
tx_id: number;
|
|
21387
|
+
updated_at: string;
|
|
21388
|
+
};
|
|
21389
|
+
Insert: {
|
|
21390
|
+
acknowledged_at?: string | null;
|
|
21391
|
+
acknowledged_by?: string | null;
|
|
21392
|
+
alert_kind?: string;
|
|
21393
|
+
created_at?: string;
|
|
21394
|
+
id?: string;
|
|
21395
|
+
item_count?: number;
|
|
21396
|
+
items?: Json;
|
|
21397
|
+
tx_id: number;
|
|
21398
|
+
updated_at?: string;
|
|
21399
|
+
};
|
|
21400
|
+
Update: {
|
|
21401
|
+
acknowledged_at?: string | null;
|
|
21402
|
+
acknowledged_by?: string | null;
|
|
21403
|
+
alert_kind?: string;
|
|
21404
|
+
created_at?: string;
|
|
21405
|
+
id?: string;
|
|
21406
|
+
item_count?: number;
|
|
21407
|
+
items?: Json;
|
|
21408
|
+
tx_id?: number;
|
|
21409
|
+
updated_at?: string;
|
|
21410
|
+
};
|
|
21411
|
+
Relationships: [];
|
|
21412
|
+
};
|
|
20675
21413
|
stock_mutation_log: {
|
|
20676
21414
|
Row: {
|
|
20677
21415
|
connection_id: string | null;
|
|
@@ -20729,6 +21467,45 @@ export type Database = {
|
|
|
20729
21467
|
};
|
|
20730
21468
|
Relationships: [];
|
|
20731
21469
|
};
|
|
21470
|
+
structure_cleanup_log: {
|
|
21471
|
+
Row: {
|
|
21472
|
+
action: string;
|
|
21473
|
+
batch: string;
|
|
21474
|
+
created_at: string;
|
|
21475
|
+
id: string;
|
|
21476
|
+
new_row: Json | null;
|
|
21477
|
+
old_row: Json;
|
|
21478
|
+
reason: string;
|
|
21479
|
+
row_id: string;
|
|
21480
|
+
step: number;
|
|
21481
|
+
table_name: string;
|
|
21482
|
+
};
|
|
21483
|
+
Insert: {
|
|
21484
|
+
action: string;
|
|
21485
|
+
batch: string;
|
|
21486
|
+
created_at?: string;
|
|
21487
|
+
id?: string;
|
|
21488
|
+
new_row?: Json | null;
|
|
21489
|
+
old_row: Json;
|
|
21490
|
+
reason: string;
|
|
21491
|
+
row_id: string;
|
|
21492
|
+
step: number;
|
|
21493
|
+
table_name: string;
|
|
21494
|
+
};
|
|
21495
|
+
Update: {
|
|
21496
|
+
action?: string;
|
|
21497
|
+
batch?: string;
|
|
21498
|
+
created_at?: string;
|
|
21499
|
+
id?: string;
|
|
21500
|
+
new_row?: Json | null;
|
|
21501
|
+
old_row?: Json;
|
|
21502
|
+
reason?: string;
|
|
21503
|
+
row_id?: string;
|
|
21504
|
+
step?: number;
|
|
21505
|
+
table_name?: string;
|
|
21506
|
+
};
|
|
21507
|
+
Relationships: [];
|
|
21508
|
+
};
|
|
20732
21509
|
supplier_contacts: {
|
|
20733
21510
|
Row: {
|
|
20734
21511
|
created_at: string;
|
|
@@ -21160,6 +21937,59 @@ export type Database = {
|
|
|
21160
21937
|
}
|
|
21161
21938
|
];
|
|
21162
21939
|
};
|
|
21940
|
+
time_compensation_log: {
|
|
21941
|
+
Row: {
|
|
21942
|
+
actie: string;
|
|
21943
|
+
created_at: string;
|
|
21944
|
+
employee_id: string;
|
|
21945
|
+
entry_date: string;
|
|
21946
|
+
id: string;
|
|
21947
|
+
km: number;
|
|
21948
|
+
maaltijd: number;
|
|
21949
|
+
notities: string | null;
|
|
21950
|
+
performed_by: string | null;
|
|
21951
|
+
standby_avond: number;
|
|
21952
|
+
standby_weekend: number;
|
|
21953
|
+
tvt: number;
|
|
21954
|
+
};
|
|
21955
|
+
Insert: {
|
|
21956
|
+
actie: string;
|
|
21957
|
+
created_at?: string;
|
|
21958
|
+
employee_id: string;
|
|
21959
|
+
entry_date: string;
|
|
21960
|
+
id?: string;
|
|
21961
|
+
km?: number;
|
|
21962
|
+
maaltijd?: number;
|
|
21963
|
+
notities?: string | null;
|
|
21964
|
+
performed_by?: string | null;
|
|
21965
|
+
standby_avond?: number;
|
|
21966
|
+
standby_weekend?: number;
|
|
21967
|
+
tvt?: number;
|
|
21968
|
+
};
|
|
21969
|
+
Update: {
|
|
21970
|
+
actie?: string;
|
|
21971
|
+
created_at?: string;
|
|
21972
|
+
employee_id?: string;
|
|
21973
|
+
entry_date?: string;
|
|
21974
|
+
id?: string;
|
|
21975
|
+
km?: number;
|
|
21976
|
+
maaltijd?: number;
|
|
21977
|
+
notities?: string | null;
|
|
21978
|
+
performed_by?: string | null;
|
|
21979
|
+
standby_avond?: number;
|
|
21980
|
+
standby_weekend?: number;
|
|
21981
|
+
tvt?: number;
|
|
21982
|
+
};
|
|
21983
|
+
Relationships: [
|
|
21984
|
+
{
|
|
21985
|
+
foreignKeyName: "time_compensation_log_employee_id_fkey";
|
|
21986
|
+
columns: ["employee_id"];
|
|
21987
|
+
isOneToOne: false;
|
|
21988
|
+
referencedRelation: "profiles";
|
|
21989
|
+
referencedColumns: ["id"];
|
|
21990
|
+
}
|
|
21991
|
+
];
|
|
21992
|
+
};
|
|
21163
21993
|
time_entries: {
|
|
21164
21994
|
Row: {
|
|
21165
21995
|
created_at: string;
|
|
@@ -21687,13 +22517,19 @@ export type Database = {
|
|
|
21687
22517
|
created_at: string;
|
|
21688
22518
|
disconnected_at: string | null;
|
|
21689
22519
|
environment: string;
|
|
22520
|
+
granted_scopes: string[] | null;
|
|
21690
22521
|
id: string;
|
|
21691
22522
|
initial_sync_completed_at: string | null;
|
|
22523
|
+
initial_sync_last_error: string | null;
|
|
22524
|
+
initial_sync_plan: Json | null;
|
|
21692
22525
|
initial_sync_started_at: string | null;
|
|
21693
22526
|
is_active: boolean;
|
|
21694
22527
|
label: string | null;
|
|
22528
|
+
missing_scopes: string[] | null;
|
|
21695
22529
|
office_code: string | null;
|
|
21696
22530
|
redirect_uri: string | null;
|
|
22531
|
+
scope_checked_at: string | null;
|
|
22532
|
+
scope_state: string | null;
|
|
21697
22533
|
superseded_at: string | null;
|
|
21698
22534
|
updated_at: string;
|
|
21699
22535
|
user_id: string;
|
|
@@ -21707,13 +22543,19 @@ export type Database = {
|
|
|
21707
22543
|
created_at?: string;
|
|
21708
22544
|
disconnected_at?: string | null;
|
|
21709
22545
|
environment: string;
|
|
22546
|
+
granted_scopes?: string[] | null;
|
|
21710
22547
|
id?: string;
|
|
21711
22548
|
initial_sync_completed_at?: string | null;
|
|
22549
|
+
initial_sync_last_error?: string | null;
|
|
22550
|
+
initial_sync_plan?: Json | null;
|
|
21712
22551
|
initial_sync_started_at?: string | null;
|
|
21713
22552
|
is_active?: boolean;
|
|
21714
22553
|
label?: string | null;
|
|
22554
|
+
missing_scopes?: string[] | null;
|
|
21715
22555
|
office_code?: string | null;
|
|
21716
22556
|
redirect_uri?: string | null;
|
|
22557
|
+
scope_checked_at?: string | null;
|
|
22558
|
+
scope_state?: string | null;
|
|
21717
22559
|
superseded_at?: string | null;
|
|
21718
22560
|
updated_at?: string;
|
|
21719
22561
|
user_id: string;
|
|
@@ -21727,13 +22569,19 @@ export type Database = {
|
|
|
21727
22569
|
created_at?: string;
|
|
21728
22570
|
disconnected_at?: string | null;
|
|
21729
22571
|
environment?: string;
|
|
22572
|
+
granted_scopes?: string[] | null;
|
|
21730
22573
|
id?: string;
|
|
21731
22574
|
initial_sync_completed_at?: string | null;
|
|
22575
|
+
initial_sync_last_error?: string | null;
|
|
22576
|
+
initial_sync_plan?: Json | null;
|
|
21732
22577
|
initial_sync_started_at?: string | null;
|
|
21733
22578
|
is_active?: boolean;
|
|
21734
22579
|
label?: string | null;
|
|
22580
|
+
missing_scopes?: string[] | null;
|
|
21735
22581
|
office_code?: string | null;
|
|
21736
22582
|
redirect_uri?: string | null;
|
|
22583
|
+
scope_checked_at?: string | null;
|
|
22584
|
+
scope_state?: string | null;
|
|
21737
22585
|
superseded_at?: string | null;
|
|
21738
22586
|
updated_at?: string;
|
|
21739
22587
|
user_id?: string;
|
|
@@ -21859,38 +22707,109 @@ export type Database = {
|
|
|
21859
22707
|
connection_id: string;
|
|
21860
22708
|
country: string | null;
|
|
21861
22709
|
data: Json;
|
|
22710
|
+
deactivated_at: string | null;
|
|
21862
22711
|
email: string | null;
|
|
21863
22712
|
fetched_at: string;
|
|
22713
|
+
is_active: boolean;
|
|
21864
22714
|
modified_at: string | null;
|
|
21865
22715
|
name: string | null;
|
|
22716
|
+
seen_at: string | null;
|
|
21866
22717
|
twinfield_code: string;
|
|
22718
|
+
twinfield_status: string | null;
|
|
22719
|
+
twinfield_uid: string | null;
|
|
22720
|
+
twinfield_version: number | null;
|
|
21867
22721
|
vat_number: string | null;
|
|
21868
22722
|
};
|
|
21869
22723
|
Insert: {
|
|
21870
22724
|
connection_id: string;
|
|
21871
22725
|
country?: string | null;
|
|
21872
22726
|
data?: Json;
|
|
22727
|
+
deactivated_at?: string | null;
|
|
21873
22728
|
email?: string | null;
|
|
21874
22729
|
fetched_at?: string;
|
|
22730
|
+
is_active?: boolean;
|
|
21875
22731
|
modified_at?: string | null;
|
|
21876
22732
|
name?: string | null;
|
|
22733
|
+
seen_at?: string | null;
|
|
21877
22734
|
twinfield_code: string;
|
|
22735
|
+
twinfield_status?: string | null;
|
|
22736
|
+
twinfield_uid?: string | null;
|
|
22737
|
+
twinfield_version?: number | null;
|
|
21878
22738
|
vat_number?: string | null;
|
|
21879
22739
|
};
|
|
21880
22740
|
Update: {
|
|
21881
22741
|
connection_id?: string;
|
|
21882
22742
|
country?: string | null;
|
|
21883
22743
|
data?: Json;
|
|
22744
|
+
deactivated_at?: string | null;
|
|
21884
22745
|
email?: string | null;
|
|
21885
22746
|
fetched_at?: string;
|
|
22747
|
+
is_active?: boolean;
|
|
21886
22748
|
modified_at?: string | null;
|
|
21887
22749
|
name?: string | null;
|
|
22750
|
+
seen_at?: string | null;
|
|
21888
22751
|
twinfield_code?: string;
|
|
22752
|
+
twinfield_status?: string | null;
|
|
22753
|
+
twinfield_uid?: string | null;
|
|
22754
|
+
twinfield_version?: number | null;
|
|
21889
22755
|
vat_number?: string | null;
|
|
21890
22756
|
};
|
|
21891
22757
|
Relationships: [
|
|
21892
22758
|
{
|
|
21893
|
-
foreignKeyName: "twinfield_customers_cache_connection_id_fkey";
|
|
22759
|
+
foreignKeyName: "twinfield_customers_cache_connection_id_fkey";
|
|
22760
|
+
columns: ["connection_id"];
|
|
22761
|
+
isOneToOne: false;
|
|
22762
|
+
referencedRelation: "twinfield_connections";
|
|
22763
|
+
referencedColumns: ["id"];
|
|
22764
|
+
}
|
|
22765
|
+
];
|
|
22766
|
+
};
|
|
22767
|
+
twinfield_dimension_types_cache: {
|
|
22768
|
+
Row: {
|
|
22769
|
+
connection_id: string | null;
|
|
22770
|
+
dim_type: string;
|
|
22771
|
+
fetched_at: string;
|
|
22772
|
+
label1: string | null;
|
|
22773
|
+
label2: string | null;
|
|
22774
|
+
label3: string | null;
|
|
22775
|
+
label4: string | null;
|
|
22776
|
+
label5: string | null;
|
|
22777
|
+
label6: string | null;
|
|
22778
|
+
mask: string | null;
|
|
22779
|
+
name: string | null;
|
|
22780
|
+
office_code: string;
|
|
22781
|
+
};
|
|
22782
|
+
Insert: {
|
|
22783
|
+
connection_id?: string | null;
|
|
22784
|
+
dim_type: string;
|
|
22785
|
+
fetched_at?: string;
|
|
22786
|
+
label1?: string | null;
|
|
22787
|
+
label2?: string | null;
|
|
22788
|
+
label3?: string | null;
|
|
22789
|
+
label4?: string | null;
|
|
22790
|
+
label5?: string | null;
|
|
22791
|
+
label6?: string | null;
|
|
22792
|
+
mask?: string | null;
|
|
22793
|
+
name?: string | null;
|
|
22794
|
+
office_code: string;
|
|
22795
|
+
};
|
|
22796
|
+
Update: {
|
|
22797
|
+
connection_id?: string | null;
|
|
22798
|
+
dim_type?: string;
|
|
22799
|
+
fetched_at?: string;
|
|
22800
|
+
label1?: string | null;
|
|
22801
|
+
label2?: string | null;
|
|
22802
|
+
label3?: string | null;
|
|
22803
|
+
label4?: string | null;
|
|
22804
|
+
label5?: string | null;
|
|
22805
|
+
label6?: string | null;
|
|
22806
|
+
mask?: string | null;
|
|
22807
|
+
name?: string | null;
|
|
22808
|
+
office_code?: string;
|
|
22809
|
+
};
|
|
22810
|
+
Relationships: [
|
|
22811
|
+
{
|
|
22812
|
+
foreignKeyName: "twinfield_dimension_types_cache_connection_id_fkey";
|
|
21894
22813
|
columns: ["connection_id"];
|
|
21895
22814
|
isOneToOne: false;
|
|
21896
22815
|
referencedRelation: "twinfield_connections";
|
|
@@ -22494,24 +23413,39 @@ export type Database = {
|
|
|
22494
23413
|
twinfield_request_metrics: {
|
|
22495
23414
|
Row: {
|
|
22496
23415
|
bucket_hour: string;
|
|
23416
|
+
clientid_limit: number | null;
|
|
23417
|
+
clientid_remaining: number | null;
|
|
22497
23418
|
connection_id: string;
|
|
22498
23419
|
error_count: number;
|
|
23420
|
+
rate_limit_limit: number | null;
|
|
23421
|
+
rate_limit_remaining: number | null;
|
|
23422
|
+
rate_limit_seen_at: string | null;
|
|
22499
23423
|
rate_limited_count: number;
|
|
22500
23424
|
request_count: number;
|
|
22501
23425
|
updated_at: string;
|
|
22502
23426
|
};
|
|
22503
23427
|
Insert: {
|
|
22504
23428
|
bucket_hour: string;
|
|
23429
|
+
clientid_limit?: number | null;
|
|
23430
|
+
clientid_remaining?: number | null;
|
|
22505
23431
|
connection_id: string;
|
|
22506
23432
|
error_count?: number;
|
|
23433
|
+
rate_limit_limit?: number | null;
|
|
23434
|
+
rate_limit_remaining?: number | null;
|
|
23435
|
+
rate_limit_seen_at?: string | null;
|
|
22507
23436
|
rate_limited_count?: number;
|
|
22508
23437
|
request_count?: number;
|
|
22509
23438
|
updated_at?: string;
|
|
22510
23439
|
};
|
|
22511
23440
|
Update: {
|
|
22512
23441
|
bucket_hour?: string;
|
|
23442
|
+
clientid_limit?: number | null;
|
|
23443
|
+
clientid_remaining?: number | null;
|
|
22513
23444
|
connection_id?: string;
|
|
22514
23445
|
error_count?: number;
|
|
23446
|
+
rate_limit_limit?: number | null;
|
|
23447
|
+
rate_limit_remaining?: number | null;
|
|
23448
|
+
rate_limit_seen_at?: string | null;
|
|
22515
23449
|
rate_limited_count?: number;
|
|
22516
23450
|
request_count?: number;
|
|
22517
23451
|
updated_at?: string;
|
|
@@ -22566,24 +23500,226 @@ export type Database = {
|
|
|
22566
23500
|
twinfield_settings: {
|
|
22567
23501
|
Row: {
|
|
22568
23502
|
active_environment: string;
|
|
23503
|
+
cron_registered_at: string | null;
|
|
23504
|
+
cron_registration_error: string | null;
|
|
23505
|
+
cron_schedules: Json;
|
|
23506
|
+
cron_timeouts: Json;
|
|
22569
23507
|
id: number;
|
|
22570
23508
|
public_base_url: string | null;
|
|
22571
23509
|
updated_at: string;
|
|
22572
23510
|
};
|
|
22573
23511
|
Insert: {
|
|
22574
23512
|
active_environment?: string;
|
|
23513
|
+
cron_registered_at?: string | null;
|
|
23514
|
+
cron_registration_error?: string | null;
|
|
23515
|
+
cron_schedules?: Json;
|
|
23516
|
+
cron_timeouts?: Json;
|
|
22575
23517
|
id?: number;
|
|
22576
23518
|
public_base_url?: string | null;
|
|
22577
23519
|
updated_at?: string;
|
|
22578
23520
|
};
|
|
22579
23521
|
Update: {
|
|
22580
23522
|
active_environment?: string;
|
|
23523
|
+
cron_registered_at?: string | null;
|
|
23524
|
+
cron_registration_error?: string | null;
|
|
23525
|
+
cron_schedules?: Json;
|
|
23526
|
+
cron_timeouts?: Json;
|
|
22581
23527
|
id?: number;
|
|
22582
23528
|
public_base_url?: string | null;
|
|
22583
23529
|
updated_at?: string;
|
|
22584
23530
|
};
|
|
22585
23531
|
Relationships: [];
|
|
22586
23532
|
};
|
|
23533
|
+
twinfield_sync_runs: {
|
|
23534
|
+
Row: {
|
|
23535
|
+
calls: number;
|
|
23536
|
+
changed: number;
|
|
23537
|
+
connection_id: string | null;
|
|
23538
|
+
deactivated: number;
|
|
23539
|
+
details: Json;
|
|
23540
|
+
error: string | null;
|
|
23541
|
+
fetched: number;
|
|
23542
|
+
finished_at: string | null;
|
|
23543
|
+
id: string;
|
|
23544
|
+
item_errors: number;
|
|
23545
|
+
kind: string;
|
|
23546
|
+
rate_limited: number;
|
|
23547
|
+
started_at: string;
|
|
23548
|
+
status: string;
|
|
23549
|
+
};
|
|
23550
|
+
Insert: {
|
|
23551
|
+
calls?: number;
|
|
23552
|
+
changed?: number;
|
|
23553
|
+
connection_id?: string | null;
|
|
23554
|
+
deactivated?: number;
|
|
23555
|
+
details?: Json;
|
|
23556
|
+
error?: string | null;
|
|
23557
|
+
fetched?: number;
|
|
23558
|
+
finished_at?: string | null;
|
|
23559
|
+
id?: string;
|
|
23560
|
+
item_errors?: number;
|
|
23561
|
+
kind: string;
|
|
23562
|
+
rate_limited?: number;
|
|
23563
|
+
started_at?: string;
|
|
23564
|
+
status?: string;
|
|
23565
|
+
};
|
|
23566
|
+
Update: {
|
|
23567
|
+
calls?: number;
|
|
23568
|
+
changed?: number;
|
|
23569
|
+
connection_id?: string | null;
|
|
23570
|
+
deactivated?: number;
|
|
23571
|
+
details?: Json;
|
|
23572
|
+
error?: string | null;
|
|
23573
|
+
fetched?: number;
|
|
23574
|
+
finished_at?: string | null;
|
|
23575
|
+
id?: string;
|
|
23576
|
+
item_errors?: number;
|
|
23577
|
+
kind?: string;
|
|
23578
|
+
rate_limited?: number;
|
|
23579
|
+
started_at?: string;
|
|
23580
|
+
status?: string;
|
|
23581
|
+
};
|
|
23582
|
+
Relationships: [
|
|
23583
|
+
{
|
|
23584
|
+
foreignKeyName: "twinfield_sync_runs_connection_id_fkey";
|
|
23585
|
+
columns: ["connection_id"];
|
|
23586
|
+
isOneToOne: false;
|
|
23587
|
+
referencedRelation: "twinfield_connections";
|
|
23588
|
+
referencedColumns: ["id"];
|
|
23589
|
+
}
|
|
23590
|
+
];
|
|
23591
|
+
};
|
|
23592
|
+
twinfield_sync_settings: {
|
|
23593
|
+
Row: {
|
|
23594
|
+
batch_size: number;
|
|
23595
|
+
change_overlap_seconds: number;
|
|
23596
|
+
change_poll_interval_seconds: number;
|
|
23597
|
+
connection_id: string;
|
|
23598
|
+
created_at: string;
|
|
23599
|
+
currency: string | null;
|
|
23600
|
+
currency_at: string | null;
|
|
23601
|
+
currency_source: string | null;
|
|
23602
|
+
customer_gl_account: string | null;
|
|
23603
|
+
customer_gl_account_at: string | null;
|
|
23604
|
+
customer_gl_account_source: string | null;
|
|
23605
|
+
customers_written_by_module: boolean;
|
|
23606
|
+
default_country: string | null;
|
|
23607
|
+
default_country_at: string | null;
|
|
23608
|
+
default_country_source: string | null;
|
|
23609
|
+
default_language: string | null;
|
|
23610
|
+
default_language_at: string | null;
|
|
23611
|
+
default_language_source: string | null;
|
|
23612
|
+
nightly_full_scan_cron: string;
|
|
23613
|
+
payment_term_min_invoices: number;
|
|
23614
|
+
payment_term_min_share: number;
|
|
23615
|
+
rate_limit_floor: number;
|
|
23616
|
+
requires_manual_approval: boolean;
|
|
23617
|
+
run_budget_ms: number;
|
|
23618
|
+
sales_daybook: string | null;
|
|
23619
|
+
sales_daybook_confirmed_at: string | null;
|
|
23620
|
+
sales_daybook_confirmed_by: string | null;
|
|
23621
|
+
sales_gl_account: string | null;
|
|
23622
|
+
sales_gl_account_at: string | null;
|
|
23623
|
+
sales_gl_account_source: string | null;
|
|
23624
|
+
sales_invoice_type: string | null;
|
|
23625
|
+
sales_invoice_type_confirmed_at: string | null;
|
|
23626
|
+
sales_invoice_type_confirmed_by: string | null;
|
|
23627
|
+
sales_payment_term_at: string | null;
|
|
23628
|
+
sales_payment_term_days: number | null;
|
|
23629
|
+
sales_payment_term_source: string | null;
|
|
23630
|
+
suggestion_warnings: Json;
|
|
23631
|
+
updated_at: string;
|
|
23632
|
+
};
|
|
23633
|
+
Insert: {
|
|
23634
|
+
batch_size?: number;
|
|
23635
|
+
change_overlap_seconds?: number;
|
|
23636
|
+
change_poll_interval_seconds?: number;
|
|
23637
|
+
connection_id: string;
|
|
23638
|
+
created_at?: string;
|
|
23639
|
+
currency?: string | null;
|
|
23640
|
+
currency_at?: string | null;
|
|
23641
|
+
currency_source?: string | null;
|
|
23642
|
+
customer_gl_account?: string | null;
|
|
23643
|
+
customer_gl_account_at?: string | null;
|
|
23644
|
+
customer_gl_account_source?: string | null;
|
|
23645
|
+
customers_written_by_module?: boolean;
|
|
23646
|
+
default_country?: string | null;
|
|
23647
|
+
default_country_at?: string | null;
|
|
23648
|
+
default_country_source?: string | null;
|
|
23649
|
+
default_language?: string | null;
|
|
23650
|
+
default_language_at?: string | null;
|
|
23651
|
+
default_language_source?: string | null;
|
|
23652
|
+
nightly_full_scan_cron?: string;
|
|
23653
|
+
payment_term_min_invoices?: number;
|
|
23654
|
+
payment_term_min_share?: number;
|
|
23655
|
+
rate_limit_floor?: number;
|
|
23656
|
+
requires_manual_approval?: boolean;
|
|
23657
|
+
run_budget_ms?: number;
|
|
23658
|
+
sales_daybook?: string | null;
|
|
23659
|
+
sales_daybook_confirmed_at?: string | null;
|
|
23660
|
+
sales_daybook_confirmed_by?: string | null;
|
|
23661
|
+
sales_gl_account?: string | null;
|
|
23662
|
+
sales_gl_account_at?: string | null;
|
|
23663
|
+
sales_gl_account_source?: string | null;
|
|
23664
|
+
sales_invoice_type?: string | null;
|
|
23665
|
+
sales_invoice_type_confirmed_at?: string | null;
|
|
23666
|
+
sales_invoice_type_confirmed_by?: string | null;
|
|
23667
|
+
sales_payment_term_at?: string | null;
|
|
23668
|
+
sales_payment_term_days?: number | null;
|
|
23669
|
+
sales_payment_term_source?: string | null;
|
|
23670
|
+
suggestion_warnings?: Json;
|
|
23671
|
+
updated_at?: string;
|
|
23672
|
+
};
|
|
23673
|
+
Update: {
|
|
23674
|
+
batch_size?: number;
|
|
23675
|
+
change_overlap_seconds?: number;
|
|
23676
|
+
change_poll_interval_seconds?: number;
|
|
23677
|
+
connection_id?: string;
|
|
23678
|
+
created_at?: string;
|
|
23679
|
+
currency?: string | null;
|
|
23680
|
+
currency_at?: string | null;
|
|
23681
|
+
currency_source?: string | null;
|
|
23682
|
+
customer_gl_account?: string | null;
|
|
23683
|
+
customer_gl_account_at?: string | null;
|
|
23684
|
+
customer_gl_account_source?: string | null;
|
|
23685
|
+
customers_written_by_module?: boolean;
|
|
23686
|
+
default_country?: string | null;
|
|
23687
|
+
default_country_at?: string | null;
|
|
23688
|
+
default_country_source?: string | null;
|
|
23689
|
+
default_language?: string | null;
|
|
23690
|
+
default_language_at?: string | null;
|
|
23691
|
+
default_language_source?: string | null;
|
|
23692
|
+
nightly_full_scan_cron?: string;
|
|
23693
|
+
payment_term_min_invoices?: number;
|
|
23694
|
+
payment_term_min_share?: number;
|
|
23695
|
+
rate_limit_floor?: number;
|
|
23696
|
+
requires_manual_approval?: boolean;
|
|
23697
|
+
run_budget_ms?: number;
|
|
23698
|
+
sales_daybook?: string | null;
|
|
23699
|
+
sales_daybook_confirmed_at?: string | null;
|
|
23700
|
+
sales_daybook_confirmed_by?: string | null;
|
|
23701
|
+
sales_gl_account?: string | null;
|
|
23702
|
+
sales_gl_account_at?: string | null;
|
|
23703
|
+
sales_gl_account_source?: string | null;
|
|
23704
|
+
sales_invoice_type?: string | null;
|
|
23705
|
+
sales_invoice_type_confirmed_at?: string | null;
|
|
23706
|
+
sales_invoice_type_confirmed_by?: string | null;
|
|
23707
|
+
sales_payment_term_at?: string | null;
|
|
23708
|
+
sales_payment_term_days?: number | null;
|
|
23709
|
+
sales_payment_term_source?: string | null;
|
|
23710
|
+
suggestion_warnings?: Json;
|
|
23711
|
+
updated_at?: string;
|
|
23712
|
+
};
|
|
23713
|
+
Relationships: [
|
|
23714
|
+
{
|
|
23715
|
+
foreignKeyName: "twinfield_sync_settings_connection_id_fkey";
|
|
23716
|
+
columns: ["connection_id"];
|
|
23717
|
+
isOneToOne: true;
|
|
23718
|
+
referencedRelation: "twinfield_connections";
|
|
23719
|
+
referencedColumns: ["id"];
|
|
23720
|
+
}
|
|
23721
|
+
];
|
|
23722
|
+
};
|
|
22587
23723
|
twinfield_sync_state: {
|
|
22588
23724
|
Row: {
|
|
22589
23725
|
connection_id: string;
|
|
@@ -22619,6 +23755,51 @@ export type Database = {
|
|
|
22619
23755
|
}
|
|
22620
23756
|
];
|
|
22621
23757
|
};
|
|
23758
|
+
twinfield_vat_code_map: {
|
|
23759
|
+
Row: {
|
|
23760
|
+
confirmed_at: string | null;
|
|
23761
|
+
confirmed_by: string | null;
|
|
23762
|
+
fetched_at: string;
|
|
23763
|
+
id: string;
|
|
23764
|
+
is_default: boolean;
|
|
23765
|
+
name: string | null;
|
|
23766
|
+
office_code: string;
|
|
23767
|
+
percentage: number | null;
|
|
23768
|
+
source: string;
|
|
23769
|
+
vat_category: string | null;
|
|
23770
|
+
vat_code: string;
|
|
23771
|
+
vat_type: string | null;
|
|
23772
|
+
};
|
|
23773
|
+
Insert: {
|
|
23774
|
+
confirmed_at?: string | null;
|
|
23775
|
+
confirmed_by?: string | null;
|
|
23776
|
+
fetched_at?: string;
|
|
23777
|
+
id?: string;
|
|
23778
|
+
is_default?: boolean;
|
|
23779
|
+
name?: string | null;
|
|
23780
|
+
office_code: string;
|
|
23781
|
+
percentage?: number | null;
|
|
23782
|
+
source?: string;
|
|
23783
|
+
vat_category?: string | null;
|
|
23784
|
+
vat_code: string;
|
|
23785
|
+
vat_type?: string | null;
|
|
23786
|
+
};
|
|
23787
|
+
Update: {
|
|
23788
|
+
confirmed_at?: string | null;
|
|
23789
|
+
confirmed_by?: string | null;
|
|
23790
|
+
fetched_at?: string;
|
|
23791
|
+
id?: string;
|
|
23792
|
+
is_default?: boolean;
|
|
23793
|
+
name?: string | null;
|
|
23794
|
+
office_code?: string;
|
|
23795
|
+
percentage?: number | null;
|
|
23796
|
+
source?: string;
|
|
23797
|
+
vat_category?: string | null;
|
|
23798
|
+
vat_code?: string;
|
|
23799
|
+
vat_type?: string | null;
|
|
23800
|
+
};
|
|
23801
|
+
Relationships: [];
|
|
23802
|
+
};
|
|
22622
23803
|
uren_beschikbare_dagen: {
|
|
22623
23804
|
Row: {
|
|
22624
23805
|
bron: string;
|
|
@@ -22799,6 +23980,36 @@ export type Database = {
|
|
|
22799
23980
|
};
|
|
22800
23981
|
Relationships: [];
|
|
22801
23982
|
};
|
|
23983
|
+
uren_indirecte_uren: {
|
|
23984
|
+
Row: {
|
|
23985
|
+
created_at: string;
|
|
23986
|
+
datum: string;
|
|
23987
|
+
id: string;
|
|
23988
|
+
minuten: number;
|
|
23989
|
+
monteur_id: string;
|
|
23990
|
+
toelichting: string;
|
|
23991
|
+
updated_at: string;
|
|
23992
|
+
};
|
|
23993
|
+
Insert: {
|
|
23994
|
+
created_at?: string;
|
|
23995
|
+
datum: string;
|
|
23996
|
+
id?: string;
|
|
23997
|
+
minuten: number;
|
|
23998
|
+
monteur_id: string;
|
|
23999
|
+
toelichting: string;
|
|
24000
|
+
updated_at?: string;
|
|
24001
|
+
};
|
|
24002
|
+
Update: {
|
|
24003
|
+
created_at?: string;
|
|
24004
|
+
datum?: string;
|
|
24005
|
+
id?: string;
|
|
24006
|
+
minuten?: number;
|
|
24007
|
+
monteur_id?: string;
|
|
24008
|
+
toelichting?: string;
|
|
24009
|
+
updated_at?: string;
|
|
24010
|
+
};
|
|
24011
|
+
Relationships: [];
|
|
24012
|
+
};
|
|
22802
24013
|
uren_maandafsluitingen: {
|
|
22803
24014
|
Row: {
|
|
22804
24015
|
afgesloten_at: string | null;
|
|
@@ -24793,12 +26004,14 @@ export type Database = {
|
|
|
24793
26004
|
};
|
|
24794
26005
|
werkbonnen: {
|
|
24795
26006
|
Row: {
|
|
26007
|
+
afgerond_op: string | null;
|
|
24796
26008
|
assigned_user_id: string | null;
|
|
24797
26009
|
budget_mandate_cents: number;
|
|
24798
26010
|
complaint_description: string | null;
|
|
24799
26011
|
created_at: string;
|
|
24800
26012
|
created_by: string | null;
|
|
24801
26013
|
customer_id: string | null;
|
|
26014
|
+
customer_name: string | null;
|
|
24802
26015
|
deadline_date: string | null;
|
|
24803
26016
|
estimated_days: number | null;
|
|
24804
26017
|
estimated_duration_minutes: number | null;
|
|
@@ -24835,12 +26048,14 @@ export type Database = {
|
|
|
24835
26048
|
workday_hours: number | null;
|
|
24836
26049
|
};
|
|
24837
26050
|
Insert: {
|
|
26051
|
+
afgerond_op?: string | null;
|
|
24838
26052
|
assigned_user_id?: string | null;
|
|
24839
26053
|
budget_mandate_cents?: number;
|
|
24840
26054
|
complaint_description?: string | null;
|
|
24841
26055
|
created_at?: string;
|
|
24842
26056
|
created_by?: string | null;
|
|
24843
26057
|
customer_id?: string | null;
|
|
26058
|
+
customer_name?: string | null;
|
|
24844
26059
|
deadline_date?: string | null;
|
|
24845
26060
|
estimated_days?: number | null;
|
|
24846
26061
|
estimated_duration_minutes?: number | null;
|
|
@@ -24877,12 +26092,14 @@ export type Database = {
|
|
|
24877
26092
|
workday_hours?: number | null;
|
|
24878
26093
|
};
|
|
24879
26094
|
Update: {
|
|
26095
|
+
afgerond_op?: string | null;
|
|
24880
26096
|
assigned_user_id?: string | null;
|
|
24881
26097
|
budget_mandate_cents?: number;
|
|
24882
26098
|
complaint_description?: string | null;
|
|
24883
26099
|
created_at?: string;
|
|
24884
26100
|
created_by?: string | null;
|
|
24885
26101
|
customer_id?: string | null;
|
|
26102
|
+
customer_name?: string | null;
|
|
24886
26103
|
deadline_date?: string | null;
|
|
24887
26104
|
estimated_days?: number | null;
|
|
24888
26105
|
estimated_duration_minutes?: number | null;
|
|
@@ -25286,6 +26503,7 @@ export type Database = {
|
|
|
25286
26503
|
group_key: string | null;
|
|
25287
26504
|
is_active: boolean | null;
|
|
25288
26505
|
is_merged: boolean | null;
|
|
26506
|
+
last_changed_at: string | null;
|
|
25289
26507
|
logo_url: string | null;
|
|
25290
26508
|
match_key: string | null;
|
|
25291
26509
|
phone: string | null;
|
|
@@ -25299,6 +26517,7 @@ export type Database = {
|
|
|
25299
26517
|
};
|
|
25300
26518
|
external_customers_unified: {
|
|
25301
26519
|
Row: {
|
|
26520
|
+
changed_at: string | null;
|
|
25302
26521
|
city: string | null;
|
|
25303
26522
|
commercial_name: string | null;
|
|
25304
26523
|
company_name: string | null;
|
|
@@ -25709,6 +26928,7 @@ export type Database = {
|
|
|
25709
26928
|
};
|
|
25710
26929
|
v_external_customers_floriday: {
|
|
25711
26930
|
Row: {
|
|
26931
|
+
changed_at: string | null;
|
|
25712
26932
|
city: string | null;
|
|
25713
26933
|
commercial_name: string | null;
|
|
25714
26934
|
company_name: string | null;
|
|
@@ -25744,6 +26964,7 @@ export type Database = {
|
|
|
25744
26964
|
};
|
|
25745
26965
|
v_external_customers_local: {
|
|
25746
26966
|
Row: {
|
|
26967
|
+
changed_at: string | null;
|
|
25747
26968
|
city: string | null;
|
|
25748
26969
|
commercial_name: string | null;
|
|
25749
26970
|
company_name: string | null;
|
|
@@ -25768,6 +26989,7 @@ export type Database = {
|
|
|
25768
26989
|
website: string | null;
|
|
25769
26990
|
};
|
|
25770
26991
|
Insert: {
|
|
26992
|
+
changed_at?: never;
|
|
25771
26993
|
city?: string | null;
|
|
25772
26994
|
commercial_name?: string | null;
|
|
25773
26995
|
company_name?: string | null;
|
|
@@ -25792,6 +27014,7 @@ export type Database = {
|
|
|
25792
27014
|
website?: string | null;
|
|
25793
27015
|
};
|
|
25794
27016
|
Update: {
|
|
27017
|
+
changed_at?: never;
|
|
25795
27018
|
city?: string | null;
|
|
25796
27019
|
commercial_name?: string | null;
|
|
25797
27020
|
company_name?: string | null;
|
|
@@ -25819,6 +27042,7 @@ export type Database = {
|
|
|
25819
27042
|
};
|
|
25820
27043
|
v_external_customers_twinfield: {
|
|
25821
27044
|
Row: {
|
|
27045
|
+
changed_at: string | null;
|
|
25822
27046
|
city: string | null;
|
|
25823
27047
|
commercial_name: string | null;
|
|
25824
27048
|
company_name: string | null;
|
|
@@ -26052,6 +27276,15 @@ export type Database = {
|
|
|
26052
27276
|
};
|
|
26053
27277
|
};
|
|
26054
27278
|
Functions: {
|
|
27279
|
+
_floriday_queue_cleanup_batch: {
|
|
27280
|
+
Args: {
|
|
27281
|
+
p_days: number;
|
|
27282
|
+
p_keep_latest: boolean;
|
|
27283
|
+
p_limit: number;
|
|
27284
|
+
p_statuses: string[];
|
|
27285
|
+
};
|
|
27286
|
+
Returns: number;
|
|
27287
|
+
};
|
|
26055
27288
|
_floriday_schedule_job: {
|
|
26056
27289
|
Args: {
|
|
26057
27290
|
p_apikey: string;
|
|
@@ -26075,6 +27308,12 @@ export type Database = {
|
|
|
26075
27308
|
};
|
|
26076
27309
|
Returns: Json;
|
|
26077
27310
|
};
|
|
27311
|
+
_stock_import_caller: {
|
|
27312
|
+
Args: {
|
|
27313
|
+
p_owner: string;
|
|
27314
|
+
};
|
|
27315
|
+
Returns: boolean;
|
|
27316
|
+
};
|
|
26078
27317
|
_wo_is_planner: {
|
|
26079
27318
|
Args: never;
|
|
26080
27319
|
Returns: boolean;
|
|
@@ -26207,6 +27446,8 @@ export type Database = {
|
|
|
26207
27446
|
desired_availability: boolean;
|
|
26208
27447
|
desired_quantity: number;
|
|
26209
27448
|
erp_available: number;
|
|
27449
|
+
packing_size: number;
|
|
27450
|
+
reason: string;
|
|
26210
27451
|
stock_mode: string;
|
|
26211
27452
|
}[];
|
|
26212
27453
|
};
|
|
@@ -26216,6 +27457,15 @@ export type Database = {
|
|
|
26216
27457
|
};
|
|
26217
27458
|
Returns: number;
|
|
26218
27459
|
};
|
|
27460
|
+
calculate_structure_available: {
|
|
27461
|
+
Args: {
|
|
27462
|
+
p_connection_id: string;
|
|
27463
|
+
p_level?: number;
|
|
27464
|
+
p_path?: string[];
|
|
27465
|
+
p_product_id: string;
|
|
27466
|
+
};
|
|
27467
|
+
Returns: Json;
|
|
27468
|
+
};
|
|
26219
27469
|
call_exact_route: {
|
|
26220
27470
|
Args: {
|
|
26221
27471
|
path: string;
|
|
@@ -26244,6 +27494,19 @@ export type Database = {
|
|
|
26244
27494
|
};
|
|
26245
27495
|
Returns: Json;
|
|
26246
27496
|
};
|
|
27497
|
+
check_product_structure: {
|
|
27498
|
+
Args: {
|
|
27499
|
+
p_child: string;
|
|
27500
|
+
p_kind: string;
|
|
27501
|
+
p_name?: string;
|
|
27502
|
+
p_parent: string;
|
|
27503
|
+
};
|
|
27504
|
+
Returns: {
|
|
27505
|
+
code: string;
|
|
27506
|
+
message: string;
|
|
27507
|
+
ok: boolean;
|
|
27508
|
+
}[];
|
|
27509
|
+
};
|
|
26247
27510
|
check_trade_item_available_stock: {
|
|
26248
27511
|
Args: {
|
|
26249
27512
|
p_connection_id?: string;
|
|
@@ -26324,6 +27587,7 @@ export type Database = {
|
|
|
26324
27587
|
};
|
|
26325
27588
|
Returns: {
|
|
26326
27589
|
attempts: number;
|
|
27590
|
+
availability_sent_at: string | null;
|
|
26327
27591
|
connection_id: string;
|
|
26328
27592
|
created_at: string;
|
|
26329
27593
|
dead_lettered_at: string | null;
|
|
@@ -26336,7 +27600,9 @@ export type Database = {
|
|
|
26336
27600
|
next_attempt_at: string;
|
|
26337
27601
|
number_of_pieces: number;
|
|
26338
27602
|
product_id: string | null;
|
|
27603
|
+
quantity_sent_at: string | null;
|
|
26339
27604
|
sent_at: string | null;
|
|
27605
|
+
skip_reason: string | null;
|
|
26340
27606
|
status: string;
|
|
26341
27607
|
stock_mode: string | null;
|
|
26342
27608
|
superseded_by: string | null;
|
|
@@ -26586,6 +27852,14 @@ export type Database = {
|
|
|
26586
27852
|
Args: never;
|
|
26587
27853
|
Returns: undefined;
|
|
26588
27854
|
};
|
|
27855
|
+
cleanup_standby_planning: {
|
|
27856
|
+
Args: never;
|
|
27857
|
+
Returns: number;
|
|
27858
|
+
};
|
|
27859
|
+
cleanup_time_compensation_log: {
|
|
27860
|
+
Args: never;
|
|
27861
|
+
Returns: number;
|
|
27862
|
+
};
|
|
26589
27863
|
cleanup_voorraad_module_history: {
|
|
26590
27864
|
Args: never;
|
|
26591
27865
|
Returns: undefined;
|
|
@@ -26600,6 +27874,18 @@ export type Database = {
|
|
|
26600
27874
|
};
|
|
26601
27875
|
Returns: undefined;
|
|
26602
27876
|
};
|
|
27877
|
+
complete_floriday_stock_queue_outcome: {
|
|
27878
|
+
Args: {
|
|
27879
|
+
p_attempt_id?: string;
|
|
27880
|
+
p_availability_sent?: boolean;
|
|
27881
|
+
p_error?: string;
|
|
27882
|
+
p_id: string;
|
|
27883
|
+
p_outcome: string;
|
|
27884
|
+
p_permanent?: boolean;
|
|
27885
|
+
p_quantity_sent?: boolean;
|
|
27886
|
+
};
|
|
27887
|
+
Returns: undefined;
|
|
27888
|
+
};
|
|
26603
27889
|
consume_bom_for_production: {
|
|
26604
27890
|
Args: {
|
|
26605
27891
|
p_connection_id: string;
|
|
@@ -26634,6 +27920,15 @@ export type Database = {
|
|
|
26634
27920
|
wait_ms: number;
|
|
26635
27921
|
}[];
|
|
26636
27922
|
};
|
|
27923
|
+
consume_order_item: {
|
|
27924
|
+
Args: {
|
|
27925
|
+
p_order_id: string;
|
|
27926
|
+
p_order_item_id: string;
|
|
27927
|
+
p_reason: string;
|
|
27928
|
+
p_source: string;
|
|
27929
|
+
};
|
|
27930
|
+
Returns: number;
|
|
27931
|
+
};
|
|
26637
27932
|
consume_print_agent_pairing: {
|
|
26638
27933
|
Args: {
|
|
26639
27934
|
_pairing_hash: string;
|
|
@@ -26766,6 +28061,10 @@ export type Database = {
|
|
|
26766
28061
|
};
|
|
26767
28062
|
Returns: Json;
|
|
26768
28063
|
};
|
|
28064
|
+
drain_inventory_recompute_queue: {
|
|
28065
|
+
Args: never;
|
|
28066
|
+
Returns: number;
|
|
28067
|
+
};
|
|
26769
28068
|
effective_module_permission: {
|
|
26770
28069
|
Args: {
|
|
26771
28070
|
_module_id: string;
|
|
@@ -26838,6 +28137,18 @@ export type Database = {
|
|
|
26838
28137
|
};
|
|
26839
28138
|
Returns: undefined;
|
|
26840
28139
|
};
|
|
28140
|
+
enqueue_structure_recompute: {
|
|
28141
|
+
Args: {
|
|
28142
|
+
p_include_self?: boolean;
|
|
28143
|
+
p_product_ids: string[];
|
|
28144
|
+
p_reason: string;
|
|
28145
|
+
};
|
|
28146
|
+
Returns: number;
|
|
28147
|
+
};
|
|
28148
|
+
ensure_inventory_recompute_drain: {
|
|
28149
|
+
Args: never;
|
|
28150
|
+
Returns: undefined;
|
|
28151
|
+
};
|
|
26841
28152
|
ensure_system_roles: {
|
|
26842
28153
|
Args: never;
|
|
26843
28154
|
Returns: {
|
|
@@ -26851,6 +28162,12 @@ export type Database = {
|
|
|
26851
28162
|
};
|
|
26852
28163
|
Returns: undefined;
|
|
26853
28164
|
};
|
|
28165
|
+
ensure_trade_item_stock_row_key: {
|
|
28166
|
+
Args: {
|
|
28167
|
+
p_key: string;
|
|
28168
|
+
};
|
|
28169
|
+
Returns: string;
|
|
28170
|
+
};
|
|
26854
28171
|
ensure_user_tenant: {
|
|
26855
28172
|
Args: never;
|
|
26856
28173
|
Returns: string;
|
|
@@ -26937,7 +28254,7 @@ export type Database = {
|
|
|
26937
28254
|
};
|
|
26938
28255
|
floriday_cleanup_stock_queue_v2: {
|
|
26939
28256
|
Args: never;
|
|
26940
|
-
Returns:
|
|
28257
|
+
Returns: Json;
|
|
26941
28258
|
};
|
|
26942
28259
|
floriday_compact_stock_snapshots: {
|
|
26943
28260
|
Args: never;
|
|
@@ -26949,6 +28266,19 @@ export type Database = {
|
|
|
26949
28266
|
};
|
|
26950
28267
|
Returns: string;
|
|
26951
28268
|
};
|
|
28269
|
+
floriday_desired_stock_regression_check: {
|
|
28270
|
+
Args: never;
|
|
28271
|
+
Returns: {
|
|
28272
|
+
actual: number;
|
|
28273
|
+
available: number;
|
|
28274
|
+
equal: boolean;
|
|
28275
|
+
expected: number;
|
|
28276
|
+
packing: number;
|
|
28277
|
+
product_id: string;
|
|
28278
|
+
product_name: string;
|
|
28279
|
+
stock_mode: string;
|
|
28280
|
+
}[];
|
|
28281
|
+
};
|
|
26952
28282
|
floriday_effective_price: {
|
|
26953
28283
|
Args: {
|
|
26954
28284
|
_buyer_id: string;
|
|
@@ -26976,6 +28306,10 @@ export type Database = {
|
|
|
26976
28306
|
};
|
|
26977
28307
|
Returns: number;
|
|
26978
28308
|
};
|
|
28309
|
+
floriday_orphan_settings_count: {
|
|
28310
|
+
Args: never;
|
|
28311
|
+
Returns: number;
|
|
28312
|
+
};
|
|
26979
28313
|
floriday_publish_horizon_weeks: {
|
|
26980
28314
|
Args: never;
|
|
26981
28315
|
Returns: number;
|
|
@@ -27207,6 +28541,18 @@ export type Database = {
|
|
|
27207
28541
|
updated_at: string;
|
|
27208
28542
|
}[];
|
|
27209
28543
|
};
|
|
28544
|
+
get_product_structure_totals: {
|
|
28545
|
+
Args: {
|
|
28546
|
+
p_product_id: string;
|
|
28547
|
+
};
|
|
28548
|
+
Returns: Json;
|
|
28549
|
+
};
|
|
28550
|
+
get_product_structure_totals_batch: {
|
|
28551
|
+
Args: {
|
|
28552
|
+
p_product_ids: string[];
|
|
28553
|
+
};
|
|
28554
|
+
Returns: Json[];
|
|
28555
|
+
};
|
|
27210
28556
|
get_room_busy_windows: {
|
|
27211
28557
|
Args: {
|
|
27212
28558
|
p_from: string;
|
|
@@ -27630,6 +28976,16 @@ export type Database = {
|
|
|
27630
28976
|
};
|
|
27631
28977
|
Returns: number;
|
|
27632
28978
|
};
|
|
28979
|
+
inventory_inline_budget_ok: {
|
|
28980
|
+
Args: never;
|
|
28981
|
+
Returns: boolean;
|
|
28982
|
+
};
|
|
28983
|
+
invoice_auto_concept_for_work_order: {
|
|
28984
|
+
Args: {
|
|
28985
|
+
_wo_id: string;
|
|
28986
|
+
};
|
|
28987
|
+
Returns: undefined;
|
|
28988
|
+
};
|
|
27633
28989
|
invoice_branding_snapshot: {
|
|
27634
28990
|
Args: never;
|
|
27635
28991
|
Returns: Json;
|
|
@@ -27910,6 +29266,13 @@ export type Database = {
|
|
|
27910
29266
|
};
|
|
27911
29267
|
Returns: string;
|
|
27912
29268
|
};
|
|
29269
|
+
logistics_apply_cart_swap: {
|
|
29270
|
+
Args: {
|
|
29271
|
+
p_delete_ids: string[];
|
|
29272
|
+
p_new_carts: Json;
|
|
29273
|
+
};
|
|
29274
|
+
Returns: Json;
|
|
29275
|
+
};
|
|
27913
29276
|
logistics_apply_document_layouts: {
|
|
27914
29277
|
Args: never;
|
|
27915
29278
|
Returns: undefined;
|
|
@@ -27938,6 +29301,14 @@ export type Database = {
|
|
|
27938
29301
|
};
|
|
27939
29302
|
Returns: Json;
|
|
27940
29303
|
};
|
|
29304
|
+
logistics_base_url_check_status: {
|
|
29305
|
+
Args: never;
|
|
29306
|
+
Returns: Json;
|
|
29307
|
+
};
|
|
29308
|
+
logistics_base_url_checks_resolve: {
|
|
29309
|
+
Args: never;
|
|
29310
|
+
Returns: number;
|
|
29311
|
+
};
|
|
27941
29312
|
logistics_block_reason_code: {
|
|
27942
29313
|
Args: {
|
|
27943
29314
|
p_details?: Json;
|
|
@@ -28633,6 +30004,20 @@ export type Database = {
|
|
|
28633
30004
|
};
|
|
28634
30005
|
Returns: Json;
|
|
28635
30006
|
};
|
|
30007
|
+
logistics_expand_line: {
|
|
30008
|
+
Args: {
|
|
30009
|
+
p_depth?: number;
|
|
30010
|
+
p_path?: string[];
|
|
30011
|
+
p_product_id: string;
|
|
30012
|
+
p_qty: number;
|
|
30013
|
+
};
|
|
30014
|
+
Returns: {
|
|
30015
|
+
kind: string;
|
|
30016
|
+
note: string;
|
|
30017
|
+
qty: number;
|
|
30018
|
+
ref: string;
|
|
30019
|
+
}[];
|
|
30020
|
+
};
|
|
28636
30021
|
logistics_fail_task: {
|
|
28637
30022
|
Args: {
|
|
28638
30023
|
p_error: string;
|
|
@@ -28836,6 +30221,19 @@ export type Database = {
|
|
|
28836
30221
|
Args: never;
|
|
28837
30222
|
Returns: number;
|
|
28838
30223
|
};
|
|
30224
|
+
logistics_is_engine_response: {
|
|
30225
|
+
Args: {
|
|
30226
|
+
p_content: string;
|
|
30227
|
+
p_status: number;
|
|
30228
|
+
};
|
|
30229
|
+
Returns: boolean;
|
|
30230
|
+
};
|
|
30231
|
+
logistics_is_group_label: {
|
|
30232
|
+
Args: {
|
|
30233
|
+
p_label: string;
|
|
30234
|
+
};
|
|
30235
|
+
Returns: boolean;
|
|
30236
|
+
};
|
|
28839
30237
|
logistics_is_pick_workday: {
|
|
28840
30238
|
Args: {
|
|
28841
30239
|
p_date: string;
|
|
@@ -29025,6 +30423,18 @@ export type Database = {
|
|
|
29025
30423
|
};
|
|
29026
30424
|
Returns: boolean;
|
|
29027
30425
|
};
|
|
30426
|
+
logistics_order_line_allocation: {
|
|
30427
|
+
Args: {
|
|
30428
|
+
p_order_item_id: string;
|
|
30429
|
+
};
|
|
30430
|
+
Returns: {
|
|
30431
|
+
group_id: string;
|
|
30432
|
+
note: string;
|
|
30433
|
+
qty: number;
|
|
30434
|
+
source: string;
|
|
30435
|
+
trade_item_key: string;
|
|
30436
|
+
}[];
|
|
30437
|
+
};
|
|
29028
30438
|
logistics_order_line_duplicates: {
|
|
29029
30439
|
Args: {
|
|
29030
30440
|
p_order_id: string;
|
|
@@ -29380,9 +30790,24 @@ export type Database = {
|
|
|
29380
30790
|
};
|
|
29381
30791
|
Returns: Json;
|
|
29382
30792
|
};
|
|
29383
|
-
logistics_plan_timeout_running: {
|
|
29384
|
-
Args: never;
|
|
29385
|
-
Returns: number;
|
|
30793
|
+
logistics_plan_timeout_running: {
|
|
30794
|
+
Args: never;
|
|
30795
|
+
Returns: number;
|
|
30796
|
+
};
|
|
30797
|
+
logistics_plan_wachttijd: {
|
|
30798
|
+
Args: {
|
|
30799
|
+
p_order_id: string;
|
|
30800
|
+
p_reason: string;
|
|
30801
|
+
};
|
|
30802
|
+
Returns: Json;
|
|
30803
|
+
};
|
|
30804
|
+
logistics_plan_wachttijd_melden: {
|
|
30805
|
+
Args: {
|
|
30806
|
+
p_order_id: string;
|
|
30807
|
+
p_reason: string;
|
|
30808
|
+
p_wacht: Json;
|
|
30809
|
+
};
|
|
30810
|
+
Returns: undefined;
|
|
29386
30811
|
};
|
|
29387
30812
|
logistics_planner_cart_snapshot: {
|
|
29388
30813
|
Args: {
|
|
@@ -29470,6 +30895,12 @@ export type Database = {
|
|
|
29470
30895
|
Args: never;
|
|
29471
30896
|
Returns: number;
|
|
29472
30897
|
};
|
|
30898
|
+
logistics_recompute_reserved_targeted: {
|
|
30899
|
+
Args: {
|
|
30900
|
+
p_product_id: string;
|
|
30901
|
+
};
|
|
30902
|
+
Returns: Json;
|
|
30903
|
+
};
|
|
29473
30904
|
logistics_reconcile_missing_plan_queue: {
|
|
29474
30905
|
Args: never;
|
|
29475
30906
|
Returns: number;
|
|
@@ -29567,6 +30998,19 @@ export type Database = {
|
|
|
29567
30998
|
};
|
|
29568
30999
|
Returns: Json;
|
|
29569
31000
|
};
|
|
31001
|
+
logistics_reserved_fast_skip: {
|
|
31002
|
+
Args: {
|
|
31003
|
+
p_key: string;
|
|
31004
|
+
p_raw: string;
|
|
31005
|
+
};
|
|
31006
|
+
Returns: boolean;
|
|
31007
|
+
};
|
|
31008
|
+
logistics_reserved_key: {
|
|
31009
|
+
Args: {
|
|
31010
|
+
p_key: string;
|
|
31011
|
+
};
|
|
31012
|
+
Returns: string;
|
|
31013
|
+
};
|
|
29570
31014
|
logistics_reserved_stock_nightly: {
|
|
29571
31015
|
Args: never;
|
|
29572
31016
|
Returns: undefined;
|
|
@@ -29586,6 +31030,12 @@ export type Database = {
|
|
|
29586
31030
|
};
|
|
29587
31031
|
Returns: string;
|
|
29588
31032
|
};
|
|
31033
|
+
logistics_resolve_product_match: {
|
|
31034
|
+
Args: {
|
|
31035
|
+
p_label: string;
|
|
31036
|
+
};
|
|
31037
|
+
Returns: Record<string, unknown>;
|
|
31038
|
+
};
|
|
29589
31039
|
logistics_resolve_settings: {
|
|
29590
31040
|
Args: {
|
|
29591
31041
|
p_config_id: string;
|
|
@@ -29706,6 +31156,16 @@ export type Database = {
|
|
|
29706
31156
|
};
|
|
29707
31157
|
Returns: string;
|
|
29708
31158
|
};
|
|
31159
|
+
logistics_shipping_note_max_attempts: {
|
|
31160
|
+
Args: never;
|
|
31161
|
+
Returns: number;
|
|
31162
|
+
};
|
|
31163
|
+
logistics_shipping_note_release: {
|
|
31164
|
+
Args: {
|
|
31165
|
+
_order_number?: string;
|
|
31166
|
+
};
|
|
31167
|
+
Returns: number;
|
|
31168
|
+
};
|
|
29709
31169
|
logistics_shipping_note_status: {
|
|
29710
31170
|
Args: {
|
|
29711
31171
|
p_cart_id?: string;
|
|
@@ -29713,6 +31173,12 @@ export type Database = {
|
|
|
29713
31173
|
};
|
|
29714
31174
|
Returns: Json;
|
|
29715
31175
|
};
|
|
31176
|
+
logistics_shipping_note_wake: {
|
|
31177
|
+
Args: {
|
|
31178
|
+
_slip_job_id: string;
|
|
31179
|
+
};
|
|
31180
|
+
Returns: number;
|
|
31181
|
+
};
|
|
29716
31182
|
logistics_shipping_notes_wake_all: {
|
|
29717
31183
|
Args: never;
|
|
29718
31184
|
Returns: Json;
|
|
@@ -29747,6 +31213,7 @@ export type Database = {
|
|
|
29747
31213
|
slip_job_id: string;
|
|
29748
31214
|
status: string;
|
|
29749
31215
|
updated_at: string;
|
|
31216
|
+
voor_herstel: boolean;
|
|
29750
31217
|
}[];
|
|
29751
31218
|
SetofOptions: {
|
|
29752
31219
|
from: "*";
|
|
@@ -29767,6 +31234,13 @@ export type Database = {
|
|
|
29767
31234
|
};
|
|
29768
31235
|
Returns: undefined;
|
|
29769
31236
|
};
|
|
31237
|
+
logistics_slip_note_hold: {
|
|
31238
|
+
Args: {
|
|
31239
|
+
_id: string;
|
|
31240
|
+
_reason: string;
|
|
31241
|
+
};
|
|
31242
|
+
Returns: undefined;
|
|
31243
|
+
};
|
|
29770
31244
|
logistics_slip_note_keep_waiting: {
|
|
29771
31245
|
Args: {
|
|
29772
31246
|
_class?: string;
|
|
@@ -29854,6 +31328,10 @@ export type Database = {
|
|
|
29854
31328
|
Args: never;
|
|
29855
31329
|
Returns: Json;
|
|
29856
31330
|
};
|
|
31331
|
+
logistics_tick_base_url_check: {
|
|
31332
|
+
Args: never;
|
|
31333
|
+
Returns: Json;
|
|
31334
|
+
};
|
|
29857
31335
|
logistics_tick_calls_resolve: {
|
|
29858
31336
|
Args: never;
|
|
29859
31337
|
Returns: number;
|
|
@@ -31006,6 +32484,31 @@ export type Database = {
|
|
|
31006
32484
|
};
|
|
31007
32485
|
Returns: undefined;
|
|
31008
32486
|
};
|
|
32487
|
+
plan_standby_batch: {
|
|
32488
|
+
Args: {
|
|
32489
|
+
_items: Json;
|
|
32490
|
+
_notes: string;
|
|
32491
|
+
_remove_ids?: string[];
|
|
32492
|
+
_soort: string;
|
|
32493
|
+
};
|
|
32494
|
+
Returns: {
|
|
32495
|
+
created_at: string;
|
|
32496
|
+
created_by: string | null;
|
|
32497
|
+
employee_id: string;
|
|
32498
|
+
end_date: string;
|
|
32499
|
+
id: string;
|
|
32500
|
+
notes: string | null;
|
|
32501
|
+
soort: string;
|
|
32502
|
+
start_date: string;
|
|
32503
|
+
updated_at: string;
|
|
32504
|
+
}[];
|
|
32505
|
+
SetofOptions: {
|
|
32506
|
+
from: "*";
|
|
32507
|
+
to: "standby_planning";
|
|
32508
|
+
isOneToOne: false;
|
|
32509
|
+
isSetofReturn: true;
|
|
32510
|
+
};
|
|
32511
|
+
};
|
|
31009
32512
|
planning_apply_schedule_updates: {
|
|
31010
32513
|
Args: {
|
|
31011
32514
|
_updates: Json;
|
|
@@ -31141,6 +32644,12 @@ export type Database = {
|
|
|
31141
32644
|
};
|
|
31142
32645
|
Returns: Json;
|
|
31143
32646
|
};
|
|
32647
|
+
process_inventory_recompute_queue: {
|
|
32648
|
+
Args: {
|
|
32649
|
+
p_limit?: number;
|
|
32650
|
+
};
|
|
32651
|
+
Returns: number;
|
|
32652
|
+
};
|
|
31144
32653
|
process_logistics_event: {
|
|
31145
32654
|
Args: {
|
|
31146
32655
|
p_event_id: string;
|
|
@@ -31155,6 +32664,80 @@ export type Database = {
|
|
|
31155
32664
|
};
|
|
31156
32665
|
Returns: Json;
|
|
31157
32666
|
};
|
|
32667
|
+
product_active_group_id: {
|
|
32668
|
+
Args: {
|
|
32669
|
+
p_product_id: string;
|
|
32670
|
+
};
|
|
32671
|
+
Returns: string;
|
|
32672
|
+
};
|
|
32673
|
+
product_id_from_ref: {
|
|
32674
|
+
Args: {
|
|
32675
|
+
p_ref: string;
|
|
32676
|
+
};
|
|
32677
|
+
Returns: string;
|
|
32678
|
+
};
|
|
32679
|
+
product_is_set: {
|
|
32680
|
+
Args: {
|
|
32681
|
+
p_product_id: string;
|
|
32682
|
+
};
|
|
32683
|
+
Returns: boolean;
|
|
32684
|
+
};
|
|
32685
|
+
product_label: {
|
|
32686
|
+
Args: {
|
|
32687
|
+
p_id: string;
|
|
32688
|
+
};
|
|
32689
|
+
Returns: string;
|
|
32690
|
+
};
|
|
32691
|
+
product_member_group_ids: {
|
|
32692
|
+
Args: {
|
|
32693
|
+
p_product_id: string;
|
|
32694
|
+
};
|
|
32695
|
+
Returns: string[];
|
|
32696
|
+
};
|
|
32697
|
+
product_own_available: {
|
|
32698
|
+
Args: {
|
|
32699
|
+
p_connection_id: string;
|
|
32700
|
+
p_product_id: string;
|
|
32701
|
+
};
|
|
32702
|
+
Returns: Record<string, unknown>;
|
|
32703
|
+
};
|
|
32704
|
+
product_set_depth_above: {
|
|
32705
|
+
Args: {
|
|
32706
|
+
p_path?: string[];
|
|
32707
|
+
p_product_id: string;
|
|
32708
|
+
};
|
|
32709
|
+
Returns: number;
|
|
32710
|
+
};
|
|
32711
|
+
product_set_depth_below: {
|
|
32712
|
+
Args: {
|
|
32713
|
+
p_path?: string[];
|
|
32714
|
+
p_product_id: string;
|
|
32715
|
+
};
|
|
32716
|
+
Returns: number;
|
|
32717
|
+
};
|
|
32718
|
+
product_structure_ancestors: {
|
|
32719
|
+
Args: {
|
|
32720
|
+
p_product_ids: string[];
|
|
32721
|
+
};
|
|
32722
|
+
Returns: string[];
|
|
32723
|
+
};
|
|
32724
|
+
product_structure_max_depth: {
|
|
32725
|
+
Args: never;
|
|
32726
|
+
Returns: number;
|
|
32727
|
+
};
|
|
32728
|
+
product_structure_path: {
|
|
32729
|
+
Args: {
|
|
32730
|
+
p_from: string;
|
|
32731
|
+
p_target: string;
|
|
32732
|
+
};
|
|
32733
|
+
Returns: string[];
|
|
32734
|
+
};
|
|
32735
|
+
product_type: {
|
|
32736
|
+
Args: {
|
|
32737
|
+
p_product_id: string;
|
|
32738
|
+
};
|
|
32739
|
+
Returns: string;
|
|
32740
|
+
};
|
|
31158
32741
|
promote_floriday_customer: {
|
|
31159
32742
|
Args: {
|
|
31160
32743
|
_org_id: string;
|
|
@@ -31395,6 +32978,14 @@ export type Database = {
|
|
|
31395
32978
|
};
|
|
31396
32979
|
Returns: Json;
|
|
31397
32980
|
};
|
|
32981
|
+
requeue_skipped_stock_rows: {
|
|
32982
|
+
Args: {
|
|
32983
|
+
p_connection_id: string;
|
|
32984
|
+
p_status: string;
|
|
32985
|
+
p_trade_item_id?: string;
|
|
32986
|
+
};
|
|
32987
|
+
Returns: number;
|
|
32988
|
+
};
|
|
31398
32989
|
reset_cart_layer_positions: {
|
|
31399
32990
|
Args: {
|
|
31400
32991
|
p_cart_id: string;
|
|
@@ -31507,6 +33098,41 @@ export type Database = {
|
|
|
31507
33098
|
Args: never;
|
|
31508
33099
|
Returns: undefined;
|
|
31509
33100
|
};
|
|
33101
|
+
save_belading: {
|
|
33102
|
+
Args: {
|
|
33103
|
+
p_expected_updated_at: string;
|
|
33104
|
+
p_packing_configuration_id: string;
|
|
33105
|
+
p_product_id: string;
|
|
33106
|
+
p_tenant_id: string;
|
|
33107
|
+
p_trade_item_floriday_id: string;
|
|
33108
|
+
p_values: Json;
|
|
33109
|
+
};
|
|
33110
|
+
Returns: Json;
|
|
33111
|
+
};
|
|
33112
|
+
save_product_group: {
|
|
33113
|
+
Args: {
|
|
33114
|
+
p_description: string;
|
|
33115
|
+
p_expected_updated_at: string;
|
|
33116
|
+
p_head_product_id: string;
|
|
33117
|
+
p_id: string;
|
|
33118
|
+
p_is_active: boolean;
|
|
33119
|
+
p_members: Json;
|
|
33120
|
+
p_name: string;
|
|
33121
|
+
};
|
|
33122
|
+
Returns: Json;
|
|
33123
|
+
};
|
|
33124
|
+
save_samenstelling: {
|
|
33125
|
+
Args: {
|
|
33126
|
+
p_components: Json;
|
|
33127
|
+
p_expected_updated_at: string;
|
|
33128
|
+
p_external: Json;
|
|
33129
|
+
p_packing_configuration_id: string;
|
|
33130
|
+
p_parent_id: string;
|
|
33131
|
+
p_parent_kind: string;
|
|
33132
|
+
p_tenant_id: string;
|
|
33133
|
+
};
|
|
33134
|
+
Returns: Json;
|
|
33135
|
+
};
|
|
31510
33136
|
scan_cancel_kar: {
|
|
31511
33137
|
Args: {
|
|
31512
33138
|
p_kar_id: string;
|
|
@@ -31988,6 +33614,10 @@ export type Database = {
|
|
|
31988
33614
|
Args: never;
|
|
31989
33615
|
Returns: number;
|
|
31990
33616
|
};
|
|
33617
|
+
server_now: {
|
|
33618
|
+
Args: never;
|
|
33619
|
+
Returns: string;
|
|
33620
|
+
};
|
|
31991
33621
|
set_planning_status: {
|
|
31992
33622
|
Args: {
|
|
31993
33623
|
_id: string;
|
|
@@ -32036,6 +33666,40 @@ export type Database = {
|
|
|
32036
33666
|
};
|
|
32037
33667
|
Returns: Json;
|
|
32038
33668
|
};
|
|
33669
|
+
stock_import_cleanup: {
|
|
33670
|
+
Args: never;
|
|
33671
|
+
Returns: number;
|
|
33672
|
+
};
|
|
33673
|
+
stock_import_create: {
|
|
33674
|
+
Args: {
|
|
33675
|
+
p_connection_id: string;
|
|
33676
|
+
p_file_hash: string;
|
|
33677
|
+
p_filename: string;
|
|
33678
|
+
p_force?: boolean;
|
|
33679
|
+
p_rows: Json;
|
|
33680
|
+
};
|
|
33681
|
+
Returns: Json;
|
|
33682
|
+
};
|
|
33683
|
+
stock_import_process_chunk: {
|
|
33684
|
+
Args: {
|
|
33685
|
+
p_chunk_no: number;
|
|
33686
|
+
p_run_id: string;
|
|
33687
|
+
};
|
|
33688
|
+
Returns: Json;
|
|
33689
|
+
};
|
|
33690
|
+
stock_import_stop: {
|
|
33691
|
+
Args: {
|
|
33692
|
+
p_run_id: string;
|
|
33693
|
+
};
|
|
33694
|
+
Returns: Json;
|
|
33695
|
+
};
|
|
33696
|
+
stock_import_undo_chunk: {
|
|
33697
|
+
Args: {
|
|
33698
|
+
p_chunk_no: number;
|
|
33699
|
+
p_run_id: string;
|
|
33700
|
+
};
|
|
33701
|
+
Returns: Json;
|
|
33702
|
+
};
|
|
32039
33703
|
stop_time_log: {
|
|
32040
33704
|
Args: {
|
|
32041
33705
|
p_employee_id: string;
|
|
@@ -32224,6 +33888,28 @@ export type Database = {
|
|
|
32224
33888
|
};
|
|
32225
33889
|
Returns: Json;
|
|
32226
33890
|
};
|
|
33891
|
+
twinfield_sync_apply: {
|
|
33892
|
+
Args: {
|
|
33893
|
+
_base: Json;
|
|
33894
|
+
_customer_id: string;
|
|
33895
|
+
_patch: Json;
|
|
33896
|
+
_uid: string;
|
|
33897
|
+
_version: number;
|
|
33898
|
+
};
|
|
33899
|
+
Returns: undefined;
|
|
33900
|
+
};
|
|
33901
|
+
twinfield_sync_insert: {
|
|
33902
|
+
Args: {
|
|
33903
|
+
_row: Json;
|
|
33904
|
+
};
|
|
33905
|
+
Returns: string;
|
|
33906
|
+
};
|
|
33907
|
+
twinfield_sync_mark_missing: {
|
|
33908
|
+
Args: {
|
|
33909
|
+
_ids: string[];
|
|
33910
|
+
};
|
|
33911
|
+
Returns: undefined;
|
|
33912
|
+
};
|
|
32227
33913
|
twinfield_upsert_connection_by_account_key: {
|
|
32228
33914
|
Args: {
|
|
32229
33915
|
p_account_key: string;
|
|
@@ -32249,6 +33935,25 @@ export type Database = {
|
|
|
32249
33935
|
};
|
|
32250
33936
|
Returns: undefined;
|
|
32251
33937
|
};
|
|
33938
|
+
uren_collega_agenda: {
|
|
33939
|
+
Args: {
|
|
33940
|
+
_monteur: string;
|
|
33941
|
+
_tot: string;
|
|
33942
|
+
_van: string;
|
|
33943
|
+
};
|
|
33944
|
+
Returns: {
|
|
33945
|
+
afwezig: string;
|
|
33946
|
+
datum: string;
|
|
33947
|
+
gepland: number;
|
|
33948
|
+
kort_vrij: Json;
|
|
33949
|
+
overuren: number;
|
|
33950
|
+
standby_avond: boolean;
|
|
33951
|
+
standby_ingepland: string;
|
|
33952
|
+
standby_weekend: boolean;
|
|
33953
|
+
werk_eind: string;
|
|
33954
|
+
werk_start: string;
|
|
33955
|
+
}[];
|
|
33956
|
+
};
|
|
32252
33957
|
uren_dag_controle: {
|
|
32253
33958
|
Args: {
|
|
32254
33959
|
_datum: string;
|
|
@@ -32290,6 +33995,20 @@ export type Database = {
|
|
|
32290
33995
|
Args: never;
|
|
32291
33996
|
Returns: boolean;
|
|
32292
33997
|
};
|
|
33998
|
+
uren_indirect_opslaan: {
|
|
33999
|
+
Args: {
|
|
34000
|
+
_datum: string;
|
|
34001
|
+
_minuten: number;
|
|
34002
|
+
_toelichting: string;
|
|
34003
|
+
};
|
|
34004
|
+
Returns: string;
|
|
34005
|
+
};
|
|
34006
|
+
uren_indirect_verwijderen: {
|
|
34007
|
+
Args: {
|
|
34008
|
+
_id: string;
|
|
34009
|
+
};
|
|
34010
|
+
Returns: undefined;
|
|
34011
|
+
};
|
|
32293
34012
|
uren_is_beheerder: {
|
|
32294
34013
|
Args: never;
|
|
32295
34014
|
Returns: boolean;
|
|
@@ -32330,6 +34049,13 @@ export type Database = {
|
|
|
32330
34049
|
roles: string[];
|
|
32331
34050
|
}[];
|
|
32332
34051
|
};
|
|
34052
|
+
uren_list_monteurs: {
|
|
34053
|
+
Args: never;
|
|
34054
|
+
Returns: {
|
|
34055
|
+
id: string;
|
|
34056
|
+
naam: string;
|
|
34057
|
+
}[];
|
|
34058
|
+
};
|
|
32333
34059
|
uren_list_planner_contacten: {
|
|
32334
34060
|
Args: never;
|
|
32335
34061
|
Returns: {
|
|
@@ -32450,6 +34176,36 @@ export type Database = {
|
|
|
32450
34176
|
};
|
|
32451
34177
|
Returns: undefined;
|
|
32452
34178
|
};
|
|
34179
|
+
uren_standby_opslaan: {
|
|
34180
|
+
Args: {
|
|
34181
|
+
_datums: string[];
|
|
34182
|
+
_soort: string;
|
|
34183
|
+
_tot: string;
|
|
34184
|
+
_van: string;
|
|
34185
|
+
};
|
|
34186
|
+
Returns: undefined;
|
|
34187
|
+
};
|
|
34188
|
+
uren_standby_overdragen: {
|
|
34189
|
+
Args: {
|
|
34190
|
+
_datum: string;
|
|
34191
|
+
_naar: string;
|
|
34192
|
+
};
|
|
34193
|
+
Returns: undefined;
|
|
34194
|
+
};
|
|
34195
|
+
uren_standby_ruil: {
|
|
34196
|
+
Args: {
|
|
34197
|
+
_aan: boolean;
|
|
34198
|
+
_datum: string;
|
|
34199
|
+
};
|
|
34200
|
+
Returns: undefined;
|
|
34201
|
+
};
|
|
34202
|
+
uren_standby_sync: {
|
|
34203
|
+
Args: {
|
|
34204
|
+
_tot: string;
|
|
34205
|
+
_van: string;
|
|
34206
|
+
};
|
|
34207
|
+
Returns: undefined;
|
|
34208
|
+
};
|
|
32453
34209
|
uren_stop_time_log: {
|
|
32454
34210
|
Args: {
|
|
32455
34211
|
p_employee_id: string;
|
|
@@ -32725,6 +34481,12 @@ export type Database = {
|
|
|
32725
34481
|
};
|
|
32726
34482
|
Returns: Json;
|
|
32727
34483
|
};
|
|
34484
|
+
wo_is_planned_monteur: {
|
|
34485
|
+
Args: {
|
|
34486
|
+
_werkbon_id: string;
|
|
34487
|
+
};
|
|
34488
|
+
Returns: boolean;
|
|
34489
|
+
};
|
|
32728
34490
|
wo_list_colleague_planning: {
|
|
32729
34491
|
Args: {
|
|
32730
34492
|
_from: string;
|
|
@@ -32752,6 +34514,12 @@ export type Database = {
|
|
|
32752
34514
|
};
|
|
32753
34515
|
Returns: Json;
|
|
32754
34516
|
};
|
|
34517
|
+
wo_open_standby: {
|
|
34518
|
+
Args: {
|
|
34519
|
+
_standby_id: string;
|
|
34520
|
+
};
|
|
34521
|
+
Returns: string;
|
|
34522
|
+
};
|
|
32755
34523
|
wo_process_offerte_request: {
|
|
32756
34524
|
Args: {
|
|
32757
34525
|
_queue_id: string;
|