@flowselections/floriday-afhandeling-module 1.0.40 → 1.0.42
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/afhandeling/ControlePage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/ControlePage.js +86 -10
- package/dist-lib/components/afhandeling/DagDetailDialog.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/DagDetailDialog.js +4 -3
- package/dist-lib/components/afhandeling/VervoerdersPage.js +1 -1
- package/dist-lib/components/afhandeling/VerzetOrderDialog.js +1 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.js +38 -45
- package/dist-lib/hooks/useCartIndex.d.ts +11 -0
- package/dist-lib/hooks/useCartIndex.d.ts.map +1 -0
- package/dist-lib/hooks/useCartIndex.js +56 -0
- package/dist-lib/hooks/useConsistencyCheck.d.ts +8 -0
- package/dist-lib/hooks/useConsistencyCheck.d.ts.map +1 -0
- package/dist-lib/hooks/useConsistencyCheck.js +22 -0
- package/dist-lib/hooks/useOrderPlanning.d.ts.map +1 -1
- package/dist-lib/hooks/useOrderPlanning.js +6 -2
- package/dist-lib/hooks/usePickAgenda.d.ts +32 -0
- package/dist-lib/hooks/usePickAgenda.d.ts.map +1 -0
- package/dist-lib/hooks/usePickAgenda.js +75 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1342 -747
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1342 -747
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.js +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +1342 -747
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1354 -775
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +2501 -1307
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/carriers.functions.d.ts +6356 -3381
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +6356 -3381
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +12821 -6902
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.js +92 -127
- package/dist-lib/lib/floriday.functions.d.ts +1345 -748
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2852,6 +2852,84 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
2852
2852
|
};
|
|
2853
2853
|
Relationships: [];
|
|
2854
2854
|
};
|
|
2855
|
+
delivery_notes: {
|
|
2856
|
+
Row: {
|
|
2857
|
+
byte_size: number | null;
|
|
2858
|
+
connection_id: string | null;
|
|
2859
|
+
content_type: string;
|
|
2860
|
+
created_at: string;
|
|
2861
|
+
error_message: string | null;
|
|
2862
|
+
fetched_at: string | null;
|
|
2863
|
+
fulfillment_order_id: string | null;
|
|
2864
|
+
http_status: number | null;
|
|
2865
|
+
id: string;
|
|
2866
|
+
label_code: string | null;
|
|
2867
|
+
letter: string | null;
|
|
2868
|
+
load_carrier_index: number | null;
|
|
2869
|
+
load_carrier_type: string | null;
|
|
2870
|
+
order_id: string | null;
|
|
2871
|
+
order_number: string | null;
|
|
2872
|
+
packages: number | null;
|
|
2873
|
+
source: string;
|
|
2874
|
+
status: string;
|
|
2875
|
+
storage_bucket: string;
|
|
2876
|
+
storage_path: string | null;
|
|
2877
|
+
updated_at: string;
|
|
2878
|
+
};
|
|
2879
|
+
Insert: {
|
|
2880
|
+
byte_size?: number | null;
|
|
2881
|
+
connection_id?: string | null;
|
|
2882
|
+
content_type?: string;
|
|
2883
|
+
created_at?: string;
|
|
2884
|
+
error_message?: string | null;
|
|
2885
|
+
fetched_at?: string | null;
|
|
2886
|
+
fulfillment_order_id?: string | null;
|
|
2887
|
+
http_status?: number | null;
|
|
2888
|
+
id?: string;
|
|
2889
|
+
label_code?: string | null;
|
|
2890
|
+
letter?: string | null;
|
|
2891
|
+
load_carrier_index?: number | null;
|
|
2892
|
+
load_carrier_type?: string | null;
|
|
2893
|
+
order_id?: string | null;
|
|
2894
|
+
order_number?: string | null;
|
|
2895
|
+
packages?: number | null;
|
|
2896
|
+
source?: string;
|
|
2897
|
+
status?: string;
|
|
2898
|
+
storage_bucket?: string;
|
|
2899
|
+
storage_path?: string | null;
|
|
2900
|
+
updated_at?: string;
|
|
2901
|
+
};
|
|
2902
|
+
Update: {
|
|
2903
|
+
byte_size?: number | null;
|
|
2904
|
+
connection_id?: string | null;
|
|
2905
|
+
content_type?: string;
|
|
2906
|
+
created_at?: string;
|
|
2907
|
+
error_message?: string | null;
|
|
2908
|
+
fetched_at?: string | null;
|
|
2909
|
+
fulfillment_order_id?: string | null;
|
|
2910
|
+
http_status?: number | null;
|
|
2911
|
+
id?: string;
|
|
2912
|
+
label_code?: string | null;
|
|
2913
|
+
letter?: string | null;
|
|
2914
|
+
load_carrier_index?: number | null;
|
|
2915
|
+
load_carrier_type?: string | null;
|
|
2916
|
+
order_id?: string | null;
|
|
2917
|
+
order_number?: string | null;
|
|
2918
|
+
packages?: number | null;
|
|
2919
|
+
source?: string;
|
|
2920
|
+
status?: string;
|
|
2921
|
+
storage_bucket?: string;
|
|
2922
|
+
storage_path?: string | null;
|
|
2923
|
+
updated_at?: string;
|
|
2924
|
+
};
|
|
2925
|
+
Relationships: [{
|
|
2926
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
2927
|
+
columns: ["order_id"];
|
|
2928
|
+
isOneToOne: false;
|
|
2929
|
+
referencedRelation: "orders";
|
|
2930
|
+
referencedColumns: ["id"];
|
|
2931
|
+
}];
|
|
2932
|
+
};
|
|
2855
2933
|
document_bronregels: {
|
|
2856
2934
|
Row: {
|
|
2857
2935
|
bron: string;
|
|
@@ -5905,10 +5983,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
5905
5983
|
};
|
|
5906
5984
|
floriday_connections: {
|
|
5907
5985
|
Row: {
|
|
5908
|
-
access_token: string | null;
|
|
5909
5986
|
api_key: string;
|
|
5910
|
-
client_id: string;
|
|
5911
|
-
client_secret: string;
|
|
5912
5987
|
created_at: string;
|
|
5913
5988
|
customers_endpoint: string | null;
|
|
5914
5989
|
environment: string;
|
|
@@ -5923,10 +5998,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
5923
5998
|
updated_at: string;
|
|
5924
5999
|
};
|
|
5925
6000
|
Insert: {
|
|
5926
|
-
access_token?: string | null;
|
|
5927
6001
|
api_key: string;
|
|
5928
|
-
client_id: string;
|
|
5929
|
-
client_secret: string;
|
|
5930
6002
|
created_at?: string;
|
|
5931
6003
|
customers_endpoint?: string | null;
|
|
5932
6004
|
environment: string;
|
|
@@ -5941,10 +6013,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
5941
6013
|
updated_at?: string;
|
|
5942
6014
|
};
|
|
5943
6015
|
Update: {
|
|
5944
|
-
access_token?: string | null;
|
|
5945
6016
|
api_key?: string;
|
|
5946
|
-
client_id?: string;
|
|
5947
|
-
client_secret?: string;
|
|
5948
6017
|
created_at?: string;
|
|
5949
6018
|
customers_endpoint?: string | null;
|
|
5950
6019
|
environment?: string;
|
|
@@ -6028,6 +6097,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6028
6097
|
attempts: number;
|
|
6029
6098
|
connection_id: string;
|
|
6030
6099
|
created_at: string;
|
|
6100
|
+
dead_lettered_at: string | null;
|
|
6031
6101
|
desired_available: boolean | null;
|
|
6032
6102
|
gateway_attempt_id: string | null;
|
|
6033
6103
|
id: string;
|
|
@@ -6036,9 +6106,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6036
6106
|
locked_by: string | null;
|
|
6037
6107
|
next_attempt_at: string;
|
|
6038
6108
|
number_of_pieces: number;
|
|
6109
|
+
product_id: string | null;
|
|
6039
6110
|
sent_at: string | null;
|
|
6040
6111
|
status: string;
|
|
6112
|
+
stock_mode: string | null;
|
|
6041
6113
|
superseded_by: string | null;
|
|
6114
|
+
target_week: number | null;
|
|
6115
|
+
target_year: number | null;
|
|
6042
6116
|
trade_item_id: string;
|
|
6043
6117
|
updated_at: string;
|
|
6044
6118
|
user_id: string;
|
|
@@ -6047,6 +6121,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6047
6121
|
attempts?: number;
|
|
6048
6122
|
connection_id: string;
|
|
6049
6123
|
created_at?: string;
|
|
6124
|
+
dead_lettered_at?: string | null;
|
|
6050
6125
|
desired_available?: boolean | null;
|
|
6051
6126
|
gateway_attempt_id?: string | null;
|
|
6052
6127
|
id?: string;
|
|
@@ -6055,9 +6130,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6055
6130
|
locked_by?: string | null;
|
|
6056
6131
|
next_attempt_at?: string;
|
|
6057
6132
|
number_of_pieces?: number;
|
|
6133
|
+
product_id?: string | null;
|
|
6058
6134
|
sent_at?: string | null;
|
|
6059
6135
|
status?: string;
|
|
6136
|
+
stock_mode?: string | null;
|
|
6060
6137
|
superseded_by?: string | null;
|
|
6138
|
+
target_week?: number | null;
|
|
6139
|
+
target_year?: number | null;
|
|
6061
6140
|
trade_item_id: string;
|
|
6062
6141
|
updated_at?: string;
|
|
6063
6142
|
user_id: string;
|
|
@@ -6066,6 +6145,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6066
6145
|
attempts?: number;
|
|
6067
6146
|
connection_id?: string;
|
|
6068
6147
|
created_at?: string;
|
|
6148
|
+
dead_lettered_at?: string | null;
|
|
6069
6149
|
desired_available?: boolean | null;
|
|
6070
6150
|
gateway_attempt_id?: string | null;
|
|
6071
6151
|
id?: string;
|
|
@@ -6074,9 +6154,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6074
6154
|
locked_by?: string | null;
|
|
6075
6155
|
next_attempt_at?: string;
|
|
6076
6156
|
number_of_pieces?: number;
|
|
6157
|
+
product_id?: string | null;
|
|
6077
6158
|
sent_at?: string | null;
|
|
6078
6159
|
status?: string;
|
|
6160
|
+
stock_mode?: string | null;
|
|
6079
6161
|
superseded_by?: string | null;
|
|
6162
|
+
target_week?: number | null;
|
|
6163
|
+
target_year?: number | null;
|
|
6080
6164
|
trade_item_id?: string;
|
|
6081
6165
|
updated_at?: string;
|
|
6082
6166
|
user_id?: string;
|
|
@@ -6485,6 +6569,87 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6485
6569
|
referencedColumns: ["id"];
|
|
6486
6570
|
}];
|
|
6487
6571
|
};
|
|
6572
|
+
floriday_inventory_settings: {
|
|
6573
|
+
Row: {
|
|
6574
|
+
buffer_quantity: number;
|
|
6575
|
+
connection_id: string;
|
|
6576
|
+
created_at: string;
|
|
6577
|
+
desired_availability: boolean;
|
|
6578
|
+
desired_quantity: number;
|
|
6579
|
+
fixed_quantity: number | null;
|
|
6580
|
+
floriday_trade_item_id: string | null;
|
|
6581
|
+
id: string;
|
|
6582
|
+
last_confirmed_at: string | null;
|
|
6583
|
+
last_enqueued_at: string | null;
|
|
6584
|
+
last_published_at: string | null;
|
|
6585
|
+
last_sync_error: string | null;
|
|
6586
|
+
manual_quantity: number | null;
|
|
6587
|
+
maximum_quantity: number | null;
|
|
6588
|
+
product_id: string;
|
|
6589
|
+
quantity_control: string;
|
|
6590
|
+
remote_available: boolean | null;
|
|
6591
|
+
remote_checked_at: string | null;
|
|
6592
|
+
remote_quantity: number | null;
|
|
6593
|
+
stock_mode: string;
|
|
6594
|
+
sync_status: string;
|
|
6595
|
+
updated_at: string;
|
|
6596
|
+
updated_by: string | null;
|
|
6597
|
+
user_id: string;
|
|
6598
|
+
};
|
|
6599
|
+
Insert: {
|
|
6600
|
+
buffer_quantity?: number;
|
|
6601
|
+
connection_id: string;
|
|
6602
|
+
created_at?: string;
|
|
6603
|
+
desired_availability?: boolean;
|
|
6604
|
+
desired_quantity?: number;
|
|
6605
|
+
fixed_quantity?: number | null;
|
|
6606
|
+
floriday_trade_item_id?: string | null;
|
|
6607
|
+
id?: string;
|
|
6608
|
+
last_confirmed_at?: string | null;
|
|
6609
|
+
last_enqueued_at?: string | null;
|
|
6610
|
+
last_published_at?: string | null;
|
|
6611
|
+
last_sync_error?: string | null;
|
|
6612
|
+
manual_quantity?: number | null;
|
|
6613
|
+
maximum_quantity?: number | null;
|
|
6614
|
+
product_id: string;
|
|
6615
|
+
quantity_control?: string;
|
|
6616
|
+
remote_available?: boolean | null;
|
|
6617
|
+
remote_checked_at?: string | null;
|
|
6618
|
+
remote_quantity?: number | null;
|
|
6619
|
+
stock_mode?: string;
|
|
6620
|
+
sync_status?: string;
|
|
6621
|
+
updated_at?: string;
|
|
6622
|
+
updated_by?: string | null;
|
|
6623
|
+
user_id: string;
|
|
6624
|
+
};
|
|
6625
|
+
Update: {
|
|
6626
|
+
buffer_quantity?: number;
|
|
6627
|
+
connection_id?: string;
|
|
6628
|
+
created_at?: string;
|
|
6629
|
+
desired_availability?: boolean;
|
|
6630
|
+
desired_quantity?: number;
|
|
6631
|
+
fixed_quantity?: number | null;
|
|
6632
|
+
floriday_trade_item_id?: string | null;
|
|
6633
|
+
id?: string;
|
|
6634
|
+
last_confirmed_at?: string | null;
|
|
6635
|
+
last_enqueued_at?: string | null;
|
|
6636
|
+
last_published_at?: string | null;
|
|
6637
|
+
last_sync_error?: string | null;
|
|
6638
|
+
manual_quantity?: number | null;
|
|
6639
|
+
maximum_quantity?: number | null;
|
|
6640
|
+
product_id?: string;
|
|
6641
|
+
quantity_control?: string;
|
|
6642
|
+
remote_available?: boolean | null;
|
|
6643
|
+
remote_checked_at?: string | null;
|
|
6644
|
+
remote_quantity?: number | null;
|
|
6645
|
+
stock_mode?: string;
|
|
6646
|
+
sync_status?: string;
|
|
6647
|
+
updated_at?: string;
|
|
6648
|
+
updated_by?: string | null;
|
|
6649
|
+
user_id?: string;
|
|
6650
|
+
};
|
|
6651
|
+
Relationships: [];
|
|
6652
|
+
};
|
|
6488
6653
|
floriday_invoices_cache: {
|
|
6489
6654
|
Row: {
|
|
6490
6655
|
buyer_organization_id: string | null;
|
|
@@ -6773,6 +6938,39 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6773
6938
|
};
|
|
6774
6939
|
Relationships: [];
|
|
6775
6940
|
};
|
|
6941
|
+
floriday_sales_order_ingest: {
|
|
6942
|
+
Row: {
|
|
6943
|
+
connection_id: string;
|
|
6944
|
+
created_at: string;
|
|
6945
|
+
id: string;
|
|
6946
|
+
impact: import("./types").Json;
|
|
6947
|
+
order_status: string | null;
|
|
6948
|
+
order_version: number;
|
|
6949
|
+
processed_at: string;
|
|
6950
|
+
sales_order_id: string;
|
|
6951
|
+
};
|
|
6952
|
+
Insert: {
|
|
6953
|
+
connection_id: string;
|
|
6954
|
+
created_at?: string;
|
|
6955
|
+
id?: string;
|
|
6956
|
+
impact?: import("./types").Json;
|
|
6957
|
+
order_status?: string | null;
|
|
6958
|
+
order_version?: number;
|
|
6959
|
+
processed_at?: string;
|
|
6960
|
+
sales_order_id: string;
|
|
6961
|
+
};
|
|
6962
|
+
Update: {
|
|
6963
|
+
connection_id?: string;
|
|
6964
|
+
created_at?: string;
|
|
6965
|
+
id?: string;
|
|
6966
|
+
impact?: import("./types").Json;
|
|
6967
|
+
order_status?: string | null;
|
|
6968
|
+
order_version?: number;
|
|
6969
|
+
processed_at?: string;
|
|
6970
|
+
sales_order_id?: string;
|
|
6971
|
+
};
|
|
6972
|
+
Relationships: [];
|
|
6973
|
+
};
|
|
6776
6974
|
floriday_sales_strategies_cache: {
|
|
6777
6975
|
Row: {
|
|
6778
6976
|
connection_id: string;
|
|
@@ -6872,6 +7070,39 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6872
7070
|
};
|
|
6873
7071
|
Relationships: [];
|
|
6874
7072
|
};
|
|
7073
|
+
floriday_sync_cursors: {
|
|
7074
|
+
Row: {
|
|
7075
|
+
connection_id: string;
|
|
7076
|
+
created_at: string;
|
|
7077
|
+
id: string;
|
|
7078
|
+
last_error: string | null;
|
|
7079
|
+
last_sync_at: string | null;
|
|
7080
|
+
resource_type: string;
|
|
7081
|
+
sequence_number: number;
|
|
7082
|
+
updated_at: string;
|
|
7083
|
+
};
|
|
7084
|
+
Insert: {
|
|
7085
|
+
connection_id: string;
|
|
7086
|
+
created_at?: string;
|
|
7087
|
+
id?: string;
|
|
7088
|
+
last_error?: string | null;
|
|
7089
|
+
last_sync_at?: string | null;
|
|
7090
|
+
resource_type: string;
|
|
7091
|
+
sequence_number?: number;
|
|
7092
|
+
updated_at?: string;
|
|
7093
|
+
};
|
|
7094
|
+
Update: {
|
|
7095
|
+
connection_id?: string;
|
|
7096
|
+
created_at?: string;
|
|
7097
|
+
id?: string;
|
|
7098
|
+
last_error?: string | null;
|
|
7099
|
+
last_sync_at?: string | null;
|
|
7100
|
+
resource_type?: string;
|
|
7101
|
+
sequence_number?: number;
|
|
7102
|
+
updated_at?: string;
|
|
7103
|
+
};
|
|
7104
|
+
Relationships: [];
|
|
7105
|
+
};
|
|
6875
7106
|
floriday_sync_state: {
|
|
6876
7107
|
Row: {
|
|
6877
7108
|
connection_id: string;
|
|
@@ -7562,6 +7793,42 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7562
7793
|
};
|
|
7563
7794
|
Relationships: [];
|
|
7564
7795
|
};
|
|
7796
|
+
inventory_stock_snapshots: {
|
|
7797
|
+
Row: {
|
|
7798
|
+
connection_id: string;
|
|
7799
|
+
created_at: string;
|
|
7800
|
+
erp_available_quantity: number;
|
|
7801
|
+
floriday_desired_quantity: number;
|
|
7802
|
+
floriday_remote_quantity: number | null;
|
|
7803
|
+
granularity: string;
|
|
7804
|
+
id: string;
|
|
7805
|
+
snapshot_at: string;
|
|
7806
|
+
user_id: string | null;
|
|
7807
|
+
};
|
|
7808
|
+
Insert: {
|
|
7809
|
+
connection_id: string;
|
|
7810
|
+
created_at?: string;
|
|
7811
|
+
erp_available_quantity?: number;
|
|
7812
|
+
floriday_desired_quantity?: number;
|
|
7813
|
+
floriday_remote_quantity?: number | null;
|
|
7814
|
+
granularity?: string;
|
|
7815
|
+
id?: string;
|
|
7816
|
+
snapshot_at?: string;
|
|
7817
|
+
user_id?: string | null;
|
|
7818
|
+
};
|
|
7819
|
+
Update: {
|
|
7820
|
+
connection_id?: string;
|
|
7821
|
+
created_at?: string;
|
|
7822
|
+
erp_available_quantity?: number;
|
|
7823
|
+
floriday_desired_quantity?: number;
|
|
7824
|
+
floriday_remote_quantity?: number | null;
|
|
7825
|
+
granularity?: string;
|
|
7826
|
+
id?: string;
|
|
7827
|
+
snapshot_at?: string;
|
|
7828
|
+
user_id?: string | null;
|
|
7829
|
+
};
|
|
7830
|
+
Relationships: [];
|
|
7831
|
+
};
|
|
7565
7832
|
invoice_items: {
|
|
7566
7833
|
Row: {
|
|
7567
7834
|
created_at: string;
|
|
@@ -8070,13 +8337,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8070
8337
|
segment?: Database["public"]["Enums"]["itk_customer_segment"];
|
|
8071
8338
|
updated_at?: string;
|
|
8072
8339
|
};
|
|
8073
|
-
Relationships: [
|
|
8074
|
-
foreignKeyName: "itk_customers_legacy_customer_id_fkey";
|
|
8075
|
-
columns: ["legacy_customer_id"];
|
|
8076
|
-
isOneToOne: false;
|
|
8077
|
-
referencedRelation: "customers";
|
|
8078
|
-
referencedColumns: ["id"];
|
|
8079
|
-
}];
|
|
8340
|
+
Relationships: [];
|
|
8080
8341
|
};
|
|
8081
8342
|
itk_dynamic_fields: {
|
|
8082
8343
|
Row: {
|
|
@@ -8108,104 +8369,278 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8108
8369
|
};
|
|
8109
8370
|
Relationships: [];
|
|
8110
8371
|
};
|
|
8111
|
-
|
|
8372
|
+
itk_handover_rechten: {
|
|
8112
8373
|
Row: {
|
|
8113
8374
|
created_at: string;
|
|
8114
|
-
event_type: string;
|
|
8115
8375
|
id: string;
|
|
8116
|
-
|
|
8117
|
-
|
|
8118
|
-
|
|
8376
|
+
module_id: string;
|
|
8377
|
+
rol: Database["public"]["Enums"]["app_role"] | null;
|
|
8378
|
+
updated_at: string;
|
|
8119
8379
|
user_id: string | null;
|
|
8120
8380
|
};
|
|
8121
8381
|
Insert: {
|
|
8122
8382
|
created_at?: string;
|
|
8123
|
-
event_type: string;
|
|
8124
8383
|
id?: string;
|
|
8125
|
-
|
|
8126
|
-
|
|
8127
|
-
|
|
8384
|
+
module_id: string;
|
|
8385
|
+
rol?: Database["public"]["Enums"]["app_role"] | null;
|
|
8386
|
+
updated_at?: string;
|
|
8128
8387
|
user_id?: string | null;
|
|
8129
8388
|
};
|
|
8130
8389
|
Update: {
|
|
8131
8390
|
created_at?: string;
|
|
8132
|
-
event_type?: string;
|
|
8133
8391
|
id?: string;
|
|
8134
|
-
|
|
8135
|
-
|
|
8136
|
-
|
|
8392
|
+
module_id?: string;
|
|
8393
|
+
rol?: Database["public"]["Enums"]["app_role"] | null;
|
|
8394
|
+
updated_at?: string;
|
|
8137
8395
|
user_id?: string | null;
|
|
8138
8396
|
};
|
|
8139
|
-
Relationships: [
|
|
8140
|
-
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
8141
|
-
columns: ["offerte_id"];
|
|
8142
|
-
isOneToOne: false;
|
|
8143
|
-
referencedRelation: "itk_offertes";
|
|
8144
|
-
referencedColumns: ["id"];
|
|
8145
|
-
}];
|
|
8397
|
+
Relationships: [];
|
|
8146
8398
|
};
|
|
8147
|
-
|
|
8399
|
+
itk_handover_tokens: {
|
|
8148
8400
|
Row: {
|
|
8401
|
+
aangemaakt_door: string | null;
|
|
8149
8402
|
created_at: string;
|
|
8150
8403
|
id: string;
|
|
8151
|
-
|
|
8152
|
-
|
|
8153
|
-
|
|
8154
|
-
|
|
8155
|
-
|
|
8156
|
-
sort_order: number;
|
|
8157
|
-
source: string;
|
|
8158
|
-
unit_price_cents: number;
|
|
8404
|
+
is_actief: boolean;
|
|
8405
|
+
laatst_gebruikt_op: string | null;
|
|
8406
|
+
label: string;
|
|
8407
|
+
module_id: string;
|
|
8408
|
+
token_hash: string;
|
|
8159
8409
|
updated_at: string;
|
|
8410
|
+
verloopt_op: string | null;
|
|
8160
8411
|
};
|
|
8161
8412
|
Insert: {
|
|
8413
|
+
aangemaakt_door?: string | null;
|
|
8162
8414
|
created_at?: string;
|
|
8163
8415
|
id?: string;
|
|
8164
|
-
|
|
8165
|
-
|
|
8166
|
-
|
|
8167
|
-
|
|
8168
|
-
|
|
8169
|
-
sort_order?: number;
|
|
8170
|
-
source?: string;
|
|
8171
|
-
unit_price_cents?: number;
|
|
8416
|
+
is_actief?: boolean;
|
|
8417
|
+
laatst_gebruikt_op?: string | null;
|
|
8418
|
+
label?: string;
|
|
8419
|
+
module_id: string;
|
|
8420
|
+
token_hash: string;
|
|
8172
8421
|
updated_at?: string;
|
|
8422
|
+
verloopt_op?: string | null;
|
|
8173
8423
|
};
|
|
8174
8424
|
Update: {
|
|
8425
|
+
aangemaakt_door?: string | null;
|
|
8175
8426
|
created_at?: string;
|
|
8176
8427
|
id?: string;
|
|
8177
|
-
|
|
8178
|
-
|
|
8179
|
-
|
|
8180
|
-
|
|
8181
|
-
|
|
8182
|
-
sort_order?: number;
|
|
8183
|
-
source?: string;
|
|
8184
|
-
unit_price_cents?: number;
|
|
8428
|
+
is_actief?: boolean;
|
|
8429
|
+
laatst_gebruikt_op?: string | null;
|
|
8430
|
+
label?: string;
|
|
8431
|
+
module_id?: string;
|
|
8432
|
+
token_hash?: string;
|
|
8185
8433
|
updated_at?: string;
|
|
8434
|
+
verloopt_op?: string | null;
|
|
8186
8435
|
};
|
|
8187
|
-
Relationships: [
|
|
8188
|
-
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
8189
|
-
columns: ["offerte_id"];
|
|
8190
|
-
isOneToOne: false;
|
|
8191
|
-
referencedRelation: "itk_offertes";
|
|
8192
|
-
referencedColumns: ["id"];
|
|
8193
|
-
}, {
|
|
8194
|
-
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
8195
|
-
columns: ["package_id"];
|
|
8196
|
-
isOneToOne: false;
|
|
8197
|
-
referencedRelation: "werkbon_packages";
|
|
8198
|
-
referencedColumns: ["id"];
|
|
8199
|
-
}];
|
|
8436
|
+
Relationships: [];
|
|
8200
8437
|
};
|
|
8201
|
-
|
|
8438
|
+
itk_module_handovers: {
|
|
8202
8439
|
Row: {
|
|
8203
|
-
|
|
8440
|
+
bevindingen: string | null;
|
|
8441
|
+
bezit_tabellen: string[];
|
|
8442
|
+
conflicten_snapshot: import("./types").Json;
|
|
8443
|
+
contractfuncties: string[];
|
|
8204
8444
|
created_at: string;
|
|
8205
|
-
|
|
8206
|
-
|
|
8445
|
+
eigenaar_module_id: string | null;
|
|
8446
|
+
gepubliceerd_door: string | null;
|
|
8447
|
+
gepubliceerd_op: string;
|
|
8448
|
+
herzieningstermijn_dagen: number;
|
|
8207
8449
|
id: string;
|
|
8208
|
-
|
|
8450
|
+
inhoud_md: string;
|
|
8451
|
+
is_actueel: boolean;
|
|
8452
|
+
module_id: string;
|
|
8453
|
+
module_titel: string;
|
|
8454
|
+
ontbrekende_contracten: string[];
|
|
8455
|
+
samenvatting: string | null;
|
|
8456
|
+
updated_at: string;
|
|
8457
|
+
versie: number;
|
|
8458
|
+
};
|
|
8459
|
+
Insert: {
|
|
8460
|
+
bevindingen?: string | null;
|
|
8461
|
+
bezit_tabellen?: string[];
|
|
8462
|
+
conflicten_snapshot?: import("./types").Json;
|
|
8463
|
+
contractfuncties?: string[];
|
|
8464
|
+
created_at?: string;
|
|
8465
|
+
eigenaar_module_id?: string | null;
|
|
8466
|
+
gepubliceerd_door?: string | null;
|
|
8467
|
+
gepubliceerd_op?: string;
|
|
8468
|
+
herzieningstermijn_dagen?: number;
|
|
8469
|
+
id?: string;
|
|
8470
|
+
inhoud_md: string;
|
|
8471
|
+
is_actueel?: boolean;
|
|
8472
|
+
module_id: string;
|
|
8473
|
+
module_titel: string;
|
|
8474
|
+
ontbrekende_contracten?: string[];
|
|
8475
|
+
samenvatting?: string | null;
|
|
8476
|
+
updated_at?: string;
|
|
8477
|
+
versie?: number;
|
|
8478
|
+
};
|
|
8479
|
+
Update: {
|
|
8480
|
+
bevindingen?: string | null;
|
|
8481
|
+
bezit_tabellen?: string[];
|
|
8482
|
+
conflicten_snapshot?: import("./types").Json;
|
|
8483
|
+
contractfuncties?: string[];
|
|
8484
|
+
created_at?: string;
|
|
8485
|
+
eigenaar_module_id?: string | null;
|
|
8486
|
+
gepubliceerd_door?: string | null;
|
|
8487
|
+
gepubliceerd_op?: string;
|
|
8488
|
+
herzieningstermijn_dagen?: number;
|
|
8489
|
+
id?: string;
|
|
8490
|
+
inhoud_md?: string;
|
|
8491
|
+
is_actueel?: boolean;
|
|
8492
|
+
module_id?: string;
|
|
8493
|
+
module_titel?: string;
|
|
8494
|
+
ontbrekende_contracten?: string[];
|
|
8495
|
+
samenvatting?: string | null;
|
|
8496
|
+
updated_at?: string;
|
|
8497
|
+
versie?: number;
|
|
8498
|
+
};
|
|
8499
|
+
Relationships: [];
|
|
8500
|
+
};
|
|
8501
|
+
itk_module_instructies: {
|
|
8502
|
+
Row: {
|
|
8503
|
+
created_at: string;
|
|
8504
|
+
eigenaar_module_id: string;
|
|
8505
|
+
gepubliceerd_door: string | null;
|
|
8506
|
+
gepubliceerd_op: string;
|
|
8507
|
+
id: string;
|
|
8508
|
+
inhoud_md: string;
|
|
8509
|
+
is_actueel: boolean;
|
|
8510
|
+
sleutel: string;
|
|
8511
|
+
titel: string;
|
|
8512
|
+
toelichting: string | null;
|
|
8513
|
+
updated_at: string;
|
|
8514
|
+
versie: number;
|
|
8515
|
+
};
|
|
8516
|
+
Insert: {
|
|
8517
|
+
created_at?: string;
|
|
8518
|
+
eigenaar_module_id?: string;
|
|
8519
|
+
gepubliceerd_door?: string | null;
|
|
8520
|
+
gepubliceerd_op?: string;
|
|
8521
|
+
id?: string;
|
|
8522
|
+
inhoud_md: string;
|
|
8523
|
+
is_actueel?: boolean;
|
|
8524
|
+
sleutel: string;
|
|
8525
|
+
titel: string;
|
|
8526
|
+
toelichting?: string | null;
|
|
8527
|
+
updated_at?: string;
|
|
8528
|
+
versie?: number;
|
|
8529
|
+
};
|
|
8530
|
+
Update: {
|
|
8531
|
+
created_at?: string;
|
|
8532
|
+
eigenaar_module_id?: string;
|
|
8533
|
+
gepubliceerd_door?: string | null;
|
|
8534
|
+
gepubliceerd_op?: string;
|
|
8535
|
+
id?: string;
|
|
8536
|
+
inhoud_md?: string;
|
|
8537
|
+
is_actueel?: boolean;
|
|
8538
|
+
sleutel?: string;
|
|
8539
|
+
titel?: string;
|
|
8540
|
+
toelichting?: string | null;
|
|
8541
|
+
updated_at?: string;
|
|
8542
|
+
versie?: number;
|
|
8543
|
+
};
|
|
8544
|
+
Relationships: [];
|
|
8545
|
+
};
|
|
8546
|
+
itk_offerte_events: {
|
|
8547
|
+
Row: {
|
|
8548
|
+
created_at: string;
|
|
8549
|
+
event_type: string;
|
|
8550
|
+
id: string;
|
|
8551
|
+
metadata: import("./types").Json;
|
|
8552
|
+
offerte_id: string;
|
|
8553
|
+
omschrijving: string | null;
|
|
8554
|
+
user_id: string | null;
|
|
8555
|
+
};
|
|
8556
|
+
Insert: {
|
|
8557
|
+
created_at?: string;
|
|
8558
|
+
event_type: string;
|
|
8559
|
+
id?: string;
|
|
8560
|
+
metadata?: import("./types").Json;
|
|
8561
|
+
offerte_id: string;
|
|
8562
|
+
omschrijving?: string | null;
|
|
8563
|
+
user_id?: string | null;
|
|
8564
|
+
};
|
|
8565
|
+
Update: {
|
|
8566
|
+
created_at?: string;
|
|
8567
|
+
event_type?: string;
|
|
8568
|
+
id?: string;
|
|
8569
|
+
metadata?: import("./types").Json;
|
|
8570
|
+
offerte_id?: string;
|
|
8571
|
+
omschrijving?: string | null;
|
|
8572
|
+
user_id?: string | null;
|
|
8573
|
+
};
|
|
8574
|
+
Relationships: [{
|
|
8575
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
8576
|
+
columns: ["offerte_id"];
|
|
8577
|
+
isOneToOne: false;
|
|
8578
|
+
referencedRelation: "itk_offertes";
|
|
8579
|
+
referencedColumns: ["id"];
|
|
8580
|
+
}];
|
|
8581
|
+
};
|
|
8582
|
+
itk_offerte_regels: {
|
|
8583
|
+
Row: {
|
|
8584
|
+
created_at: string;
|
|
8585
|
+
id: string;
|
|
8586
|
+
line_total_cents: number;
|
|
8587
|
+
offerte_id: string;
|
|
8588
|
+
omschrijving: string;
|
|
8589
|
+
package_id: string | null;
|
|
8590
|
+
quantity: number;
|
|
8591
|
+
sort_order: number;
|
|
8592
|
+
source: string;
|
|
8593
|
+
unit_price_cents: number;
|
|
8594
|
+
updated_at: string;
|
|
8595
|
+
};
|
|
8596
|
+
Insert: {
|
|
8597
|
+
created_at?: string;
|
|
8598
|
+
id?: string;
|
|
8599
|
+
line_total_cents?: number;
|
|
8600
|
+
offerte_id: string;
|
|
8601
|
+
omschrijving?: string;
|
|
8602
|
+
package_id?: string | null;
|
|
8603
|
+
quantity?: number;
|
|
8604
|
+
sort_order?: number;
|
|
8605
|
+
source?: string;
|
|
8606
|
+
unit_price_cents?: number;
|
|
8607
|
+
updated_at?: string;
|
|
8608
|
+
};
|
|
8609
|
+
Update: {
|
|
8610
|
+
created_at?: string;
|
|
8611
|
+
id?: string;
|
|
8612
|
+
line_total_cents?: number;
|
|
8613
|
+
offerte_id?: string;
|
|
8614
|
+
omschrijving?: string;
|
|
8615
|
+
package_id?: string | null;
|
|
8616
|
+
quantity?: number;
|
|
8617
|
+
sort_order?: number;
|
|
8618
|
+
source?: string;
|
|
8619
|
+
unit_price_cents?: number;
|
|
8620
|
+
updated_at?: string;
|
|
8621
|
+
};
|
|
8622
|
+
Relationships: [{
|
|
8623
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
8624
|
+
columns: ["offerte_id"];
|
|
8625
|
+
isOneToOne: false;
|
|
8626
|
+
referencedRelation: "itk_offertes";
|
|
8627
|
+
referencedColumns: ["id"];
|
|
8628
|
+
}, {
|
|
8629
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
8630
|
+
columns: ["package_id"];
|
|
8631
|
+
isOneToOne: false;
|
|
8632
|
+
referencedRelation: "werkbon_packages";
|
|
8633
|
+
referencedColumns: ["id"];
|
|
8634
|
+
}];
|
|
8635
|
+
};
|
|
8636
|
+
itk_offerte_settings: {
|
|
8637
|
+
Row: {
|
|
8638
|
+
auto_convert_binnen_mandaat: boolean;
|
|
8639
|
+
created_at: string;
|
|
8640
|
+
default_geldigheid_dagen: number;
|
|
8641
|
+
default_vat_rate: number;
|
|
8642
|
+
id: string;
|
|
8643
|
+
singleton: boolean;
|
|
8209
8644
|
updated_at: string;
|
|
8210
8645
|
};
|
|
8211
8646
|
Insert: {
|
|
@@ -8966,6 +9401,27 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8966
9401
|
};
|
|
8967
9402
|
Relationships: [];
|
|
8968
9403
|
};
|
|
9404
|
+
logistics_cart_barcode: {
|
|
9405
|
+
Row: {
|
|
9406
|
+
barcode: string;
|
|
9407
|
+
cart_id: string;
|
|
9408
|
+
created_at: string;
|
|
9409
|
+
order_id: string | null;
|
|
9410
|
+
};
|
|
9411
|
+
Insert: {
|
|
9412
|
+
barcode: string;
|
|
9413
|
+
cart_id: string;
|
|
9414
|
+
created_at?: string;
|
|
9415
|
+
order_id?: string | null;
|
|
9416
|
+
};
|
|
9417
|
+
Update: {
|
|
9418
|
+
barcode?: string;
|
|
9419
|
+
cart_id?: string;
|
|
9420
|
+
created_at?: string;
|
|
9421
|
+
order_id?: string | null;
|
|
9422
|
+
};
|
|
9423
|
+
Relationships: [];
|
|
9424
|
+
};
|
|
8969
9425
|
logistics_decisions: {
|
|
8970
9426
|
Row: {
|
|
8971
9427
|
created_at: string;
|
|
@@ -9794,6 +10250,36 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
9794
10250
|
referencedColumns: ["id"];
|
|
9795
10251
|
}];
|
|
9796
10252
|
};
|
|
10253
|
+
logistics_shipping_note_scan: {
|
|
10254
|
+
Row: {
|
|
10255
|
+
barcode: string;
|
|
10256
|
+
cart_id: string;
|
|
10257
|
+
id: string;
|
|
10258
|
+
is_reprint: boolean;
|
|
10259
|
+
order_id: string | null;
|
|
10260
|
+
print_job_id: string | null;
|
|
10261
|
+
scanned_at: string;
|
|
10262
|
+
};
|
|
10263
|
+
Insert: {
|
|
10264
|
+
barcode: string;
|
|
10265
|
+
cart_id: string;
|
|
10266
|
+
id?: string;
|
|
10267
|
+
is_reprint?: boolean;
|
|
10268
|
+
order_id?: string | null;
|
|
10269
|
+
print_job_id?: string | null;
|
|
10270
|
+
scanned_at?: string;
|
|
10271
|
+
};
|
|
10272
|
+
Update: {
|
|
10273
|
+
barcode?: string;
|
|
10274
|
+
cart_id?: string;
|
|
10275
|
+
id?: string;
|
|
10276
|
+
is_reprint?: boolean;
|
|
10277
|
+
order_id?: string | null;
|
|
10278
|
+
print_job_id?: string | null;
|
|
10279
|
+
scanned_at?: string;
|
|
10280
|
+
};
|
|
10281
|
+
Relationships: [];
|
|
10282
|
+
};
|
|
9797
10283
|
logistics_staff_planning: {
|
|
9798
10284
|
Row: {
|
|
9799
10285
|
created_at: string;
|
|
@@ -11887,10 +12373,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11887
12373
|
boxes: number | null;
|
|
11888
12374
|
cart_id: string;
|
|
11889
12375
|
crates: number;
|
|
12376
|
+
crates_in_layer: number | null;
|
|
11890
12377
|
crates_per_layer: number;
|
|
11891
12378
|
created_at: string;
|
|
11892
12379
|
id: string;
|
|
11893
12380
|
layer_fraction: number;
|
|
12381
|
+
layer_index: number | null;
|
|
11894
12382
|
layer_share_pct: number;
|
|
11895
12383
|
layers_per_cart: number;
|
|
11896
12384
|
order_item_id: string | null;
|
|
@@ -11903,10 +12391,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11903
12391
|
boxes?: number | null;
|
|
11904
12392
|
cart_id: string;
|
|
11905
12393
|
crates: number;
|
|
12394
|
+
crates_in_layer?: number | null;
|
|
11906
12395
|
crates_per_layer?: number;
|
|
11907
12396
|
created_at?: string;
|
|
11908
12397
|
id?: string;
|
|
11909
12398
|
layer_fraction?: number;
|
|
12399
|
+
layer_index?: number | null;
|
|
11910
12400
|
layer_share_pct?: number;
|
|
11911
12401
|
layers_per_cart?: number;
|
|
11912
12402
|
order_item_id?: string | null;
|
|
@@ -11919,10 +12409,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11919
12409
|
boxes?: number | null;
|
|
11920
12410
|
cart_id?: string;
|
|
11921
12411
|
crates?: number;
|
|
12412
|
+
crates_in_layer?: number | null;
|
|
11922
12413
|
crates_per_layer?: number;
|
|
11923
12414
|
created_at?: string;
|
|
11924
12415
|
id?: string;
|
|
11925
12416
|
layer_fraction?: number;
|
|
12417
|
+
layer_index?: number | null;
|
|
11926
12418
|
layer_share_pct?: number;
|
|
11927
12419
|
layers_per_cart?: number;
|
|
11928
12420
|
order_item_id?: string | null;
|
|
@@ -11962,6 +12454,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11962
12454
|
id: string;
|
|
11963
12455
|
is_auto: boolean;
|
|
11964
12456
|
is_complete: boolean;
|
|
12457
|
+
layout_method: string | null;
|
|
11965
12458
|
max_layers: number | null;
|
|
11966
12459
|
moved_at: string | null;
|
|
11967
12460
|
moved_from_moment_id: string | null;
|
|
@@ -11986,6 +12479,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11986
12479
|
id?: string;
|
|
11987
12480
|
is_auto?: boolean;
|
|
11988
12481
|
is_complete?: boolean;
|
|
12482
|
+
layout_method?: string | null;
|
|
11989
12483
|
max_layers?: number | null;
|
|
11990
12484
|
moved_at?: string | null;
|
|
11991
12485
|
moved_from_moment_id?: string | null;
|
|
@@ -12010,6 +12504,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
12010
12504
|
id?: string;
|
|
12011
12505
|
is_auto?: boolean;
|
|
12012
12506
|
is_complete?: boolean;
|
|
12507
|
+
layout_method?: string | null;
|
|
12013
12508
|
max_layers?: number | null;
|
|
12014
12509
|
moved_at?: string | null;
|
|
12015
12510
|
moved_from_moment_id?: string | null;
|
|
@@ -12615,6 +13110,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
12615
13110
|
print_job_id: string | null;
|
|
12616
13111
|
printed_at: string | null;
|
|
12617
13112
|
printed_by: string | null;
|
|
13113
|
+
printed_cart_ids: import("./types").Json;
|
|
12618
13114
|
printer_id: string | null;
|
|
12619
13115
|
priority: number;
|
|
12620
13116
|
reference: string | null;
|
|
@@ -12649,6 +13145,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
12649
13145
|
print_job_id?: string | null;
|
|
12650
13146
|
printed_at?: string | null;
|
|
12651
13147
|
printed_by?: string | null;
|
|
13148
|
+
printed_cart_ids?: import("./types").Json;
|
|
12652
13149
|
printer_id?: string | null;
|
|
12653
13150
|
priority?: number;
|
|
12654
13151
|
reference?: string | null;
|
|
@@ -12683,6 +13180,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
12683
13180
|
print_job_id?: string | null;
|
|
12684
13181
|
printed_at?: string | null;
|
|
12685
13182
|
printed_by?: string | null;
|
|
13183
|
+
printed_cart_ids?: import("./types").Json;
|
|
12686
13184
|
printer_id?: string | null;
|
|
12687
13185
|
priority?: number;
|
|
12688
13186
|
reference?: string | null;
|
|
@@ -13482,6 +13980,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
13482
13980
|
isOneToOne: false;
|
|
13483
13981
|
referencedRelation: "planning_items";
|
|
13484
13982
|
referencedColumns: ["id"];
|
|
13983
|
+
}, {
|
|
13984
|
+
foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
|
|
13985
|
+
columns: ["planning_item_id"];
|
|
13986
|
+
isOneToOne: false;
|
|
13987
|
+
referencedRelation: "planning_overview";
|
|
13988
|
+
referencedColumns: ["id"];
|
|
13485
13989
|
}];
|
|
13486
13990
|
};
|
|
13487
13991
|
planning_items: {
|
|
@@ -13660,6 +14164,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
13660
14164
|
is_herprint: boolean;
|
|
13661
14165
|
kopieen: number;
|
|
13662
14166
|
layout_id: string | null;
|
|
14167
|
+
lokaal_opgeslagen_op: string | null;
|
|
14168
|
+
lokale_pdf_fout: string | null;
|
|
14169
|
+
lokale_pdf_status: string | null;
|
|
13663
14170
|
opgepakt_op: string | null;
|
|
13664
14171
|
paginas: number;
|
|
13665
14172
|
payload: import("./types").Json;
|
|
@@ -13668,6 +14175,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
13668
14175
|
pogingen: number;
|
|
13669
14176
|
printer_id: string | null;
|
|
13670
14177
|
render_html: string | null;
|
|
14178
|
+
resultaat_pdf_base64: string | null;
|
|
13671
14179
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
13672
14180
|
updated_at: string;
|
|
13673
14181
|
volgende_poging: string | null;
|
|
@@ -13692,6 +14200,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
13692
14200
|
is_herprint?: boolean;
|
|
13693
14201
|
kopieen?: number;
|
|
13694
14202
|
layout_id?: string | null;
|
|
14203
|
+
lokaal_opgeslagen_op?: string | null;
|
|
14204
|
+
lokale_pdf_fout?: string | null;
|
|
14205
|
+
lokale_pdf_status?: string | null;
|
|
13695
14206
|
opgepakt_op?: string | null;
|
|
13696
14207
|
paginas?: number;
|
|
13697
14208
|
payload?: import("./types").Json;
|
|
@@ -13700,6 +14211,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
13700
14211
|
pogingen?: number;
|
|
13701
14212
|
printer_id?: string | null;
|
|
13702
14213
|
render_html?: string | null;
|
|
14214
|
+
resultaat_pdf_base64?: string | null;
|
|
13703
14215
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
13704
14216
|
updated_at?: string;
|
|
13705
14217
|
volgende_poging?: string | null;
|
|
@@ -13724,6 +14236,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
13724
14236
|
is_herprint?: boolean;
|
|
13725
14237
|
kopieen?: number;
|
|
13726
14238
|
layout_id?: string | null;
|
|
14239
|
+
lokaal_opgeslagen_op?: string | null;
|
|
14240
|
+
lokale_pdf_fout?: string | null;
|
|
14241
|
+
lokale_pdf_status?: string | null;
|
|
13727
14242
|
opgepakt_op?: string | null;
|
|
13728
14243
|
paginas?: number;
|
|
13729
14244
|
payload?: import("./types").Json;
|
|
@@ -13732,6 +14247,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
13732
14247
|
pogingen?: number;
|
|
13733
14248
|
printer_id?: string | null;
|
|
13734
14249
|
render_html?: string | null;
|
|
14250
|
+
resultaat_pdf_base64?: string | null;
|
|
13735
14251
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
13736
14252
|
updated_at?: string;
|
|
13737
14253
|
volgende_poging?: string | null;
|
|
@@ -14122,6 +14638,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
14122
14638
|
ondersteunde_laden: import("./types").Json | null;
|
|
14123
14639
|
online: boolean;
|
|
14124
14640
|
papierformaat: string;
|
|
14641
|
+
pdf_map: string | null;
|
|
14125
14642
|
poort: number | null;
|
|
14126
14643
|
soort: Database["public"]["Enums"]["printer_kind"];
|
|
14127
14644
|
systeemnaam: string;
|
|
@@ -14147,6 +14664,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
14147
14664
|
ondersteunde_laden?: import("./types").Json | null;
|
|
14148
14665
|
online?: boolean;
|
|
14149
14666
|
papierformaat?: string;
|
|
14667
|
+
pdf_map?: string | null;
|
|
14150
14668
|
poort?: number | null;
|
|
14151
14669
|
soort?: Database["public"]["Enums"]["printer_kind"];
|
|
14152
14670
|
systeemnaam?: string;
|
|
@@ -14172,6 +14690,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
14172
14690
|
ondersteunde_laden?: import("./types").Json | null;
|
|
14173
14691
|
online?: boolean;
|
|
14174
14692
|
papierformaat?: string;
|
|
14693
|
+
pdf_map?: string | null;
|
|
14175
14694
|
poort?: number | null;
|
|
14176
14695
|
soort?: Database["public"]["Enums"]["printer_kind"];
|
|
14177
14696
|
systeemnaam?: string;
|
|
@@ -14576,6 +15095,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
14576
15095
|
created_at: string;
|
|
14577
15096
|
custom_fields: import("./types").Json;
|
|
14578
15097
|
floriday_trade_item_id: string | null;
|
|
15098
|
+
fust_type_id: string | null;
|
|
14579
15099
|
id: string;
|
|
14580
15100
|
image_url: string | null;
|
|
14581
15101
|
incoming_quantity: number;
|
|
@@ -14583,6 +15103,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
14583
15103
|
layers_per_cart: number;
|
|
14584
15104
|
location: string;
|
|
14585
15105
|
min_quantity: number;
|
|
15106
|
+
plant_height_cm: number | null;
|
|
14586
15107
|
plants_per_crate: number;
|
|
14587
15108
|
product: string;
|
|
14588
15109
|
product_type: string;
|
|
@@ -14602,6 +15123,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
14602
15123
|
created_at?: string;
|
|
14603
15124
|
custom_fields?: import("./types").Json;
|
|
14604
15125
|
floriday_trade_item_id?: string | null;
|
|
15126
|
+
fust_type_id?: string | null;
|
|
14605
15127
|
id?: string;
|
|
14606
15128
|
image_url?: string | null;
|
|
14607
15129
|
incoming_quantity?: number;
|
|
@@ -14609,6 +15131,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
14609
15131
|
layers_per_cart?: number;
|
|
14610
15132
|
location: string;
|
|
14611
15133
|
min_quantity?: number;
|
|
15134
|
+
plant_height_cm?: number | null;
|
|
14612
15135
|
plants_per_crate?: number;
|
|
14613
15136
|
product: string;
|
|
14614
15137
|
product_type?: string;
|
|
@@ -14628,6 +15151,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
14628
15151
|
created_at?: string;
|
|
14629
15152
|
custom_fields?: import("./types").Json;
|
|
14630
15153
|
floriday_trade_item_id?: string | null;
|
|
15154
|
+
fust_type_id?: string | null;
|
|
14631
15155
|
id?: string;
|
|
14632
15156
|
image_url?: string | null;
|
|
14633
15157
|
incoming_quantity?: number;
|
|
@@ -14635,6 +15159,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
14635
15159
|
layers_per_cart?: number;
|
|
14636
15160
|
location?: string;
|
|
14637
15161
|
min_quantity?: number;
|
|
15162
|
+
plant_height_cm?: number | null;
|
|
14638
15163
|
plants_per_crate?: number;
|
|
14639
15164
|
product?: string;
|
|
14640
15165
|
product_type?: string;
|
|
@@ -14646,7 +15171,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
14646
15171
|
updated_at?: string;
|
|
14647
15172
|
weight?: string | null;
|
|
14648
15173
|
};
|
|
14649
|
-
Relationships: [
|
|
15174
|
+
Relationships: [{
|
|
15175
|
+
foreignKeyName: "products_fust_type_id_fkey";
|
|
15176
|
+
columns: ["fust_type_id"];
|
|
15177
|
+
isOneToOne: false;
|
|
15178
|
+
referencedRelation: "fust_types";
|
|
15179
|
+
referencedColumns: ["id"];
|
|
15180
|
+
}];
|
|
14650
15181
|
};
|
|
14651
15182
|
profile_modules: {
|
|
14652
15183
|
Row: {
|
|
@@ -15044,534 +15575,90 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
15044
15575
|
referencedColumns: ["id"];
|
|
15045
15576
|
}];
|
|
15046
15577
|
};
|
|
15047
|
-
|
|
15578
|
+
reception_notifications: {
|
|
15048
15579
|
Row: {
|
|
15580
|
+
booking_id: string | null;
|
|
15049
15581
|
created_at: string;
|
|
15050
|
-
event_type: string;
|
|
15051
15582
|
id: string;
|
|
15052
|
-
|
|
15053
|
-
|
|
15054
|
-
|
|
15583
|
+
is_read: boolean;
|
|
15584
|
+
message: string;
|
|
15585
|
+
recipient_email: string | null;
|
|
15586
|
+
title: string;
|
|
15587
|
+
type: string;
|
|
15055
15588
|
};
|
|
15056
15589
|
Insert: {
|
|
15590
|
+
booking_id?: string | null;
|
|
15057
15591
|
created_at?: string;
|
|
15058
|
-
event_type: string;
|
|
15059
15592
|
id?: string;
|
|
15060
|
-
|
|
15061
|
-
|
|
15062
|
-
|
|
15593
|
+
is_read?: boolean;
|
|
15594
|
+
message: string;
|
|
15595
|
+
recipient_email?: string | null;
|
|
15596
|
+
title: string;
|
|
15597
|
+
type: string;
|
|
15063
15598
|
};
|
|
15064
15599
|
Update: {
|
|
15600
|
+
booking_id?: string | null;
|
|
15065
15601
|
created_at?: string;
|
|
15066
|
-
event_type?: string;
|
|
15067
15602
|
id?: string;
|
|
15068
|
-
|
|
15069
|
-
|
|
15070
|
-
|
|
15603
|
+
is_read?: boolean;
|
|
15604
|
+
message?: string;
|
|
15605
|
+
recipient_email?: string | null;
|
|
15606
|
+
title?: string;
|
|
15607
|
+
type?: string;
|
|
15071
15608
|
};
|
|
15072
15609
|
Relationships: [{
|
|
15073
|
-
foreignKeyName: "
|
|
15074
|
-
columns: ["
|
|
15610
|
+
foreignKeyName: "reception_notifications_booking_id_fkey";
|
|
15611
|
+
columns: ["booking_id"];
|
|
15075
15612
|
isOneToOne: false;
|
|
15076
|
-
referencedRelation: "
|
|
15613
|
+
referencedRelation: "bookings";
|
|
15077
15614
|
referencedColumns: ["id"];
|
|
15078
15615
|
}];
|
|
15079
15616
|
};
|
|
15080
|
-
|
|
15617
|
+
role_assignments: {
|
|
15081
15618
|
Row: {
|
|
15082
15619
|
created_at: string;
|
|
15083
|
-
file_name: string;
|
|
15084
|
-
file_size: number | null;
|
|
15085
|
-
file_url: string;
|
|
15086
15620
|
id: string;
|
|
15087
|
-
|
|
15088
|
-
|
|
15621
|
+
role_id: string;
|
|
15622
|
+
user_id: string;
|
|
15089
15623
|
};
|
|
15090
15624
|
Insert: {
|
|
15091
15625
|
created_at?: string;
|
|
15092
|
-
file_name: string;
|
|
15093
|
-
file_size?: number | null;
|
|
15094
|
-
file_url: string;
|
|
15095
15626
|
id?: string;
|
|
15096
|
-
|
|
15097
|
-
|
|
15627
|
+
role_id: string;
|
|
15628
|
+
user_id: string;
|
|
15098
15629
|
};
|
|
15099
15630
|
Update: {
|
|
15100
15631
|
created_at?: string;
|
|
15101
|
-
file_name?: string;
|
|
15102
|
-
file_size?: number | null;
|
|
15103
|
-
file_url?: string;
|
|
15104
15632
|
id?: string;
|
|
15105
|
-
|
|
15106
|
-
|
|
15633
|
+
role_id?: string;
|
|
15634
|
+
user_id?: string;
|
|
15107
15635
|
};
|
|
15108
15636
|
Relationships: [{
|
|
15109
|
-
foreignKeyName: "
|
|
15110
|
-
columns: ["
|
|
15637
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
15638
|
+
columns: ["role_id"];
|
|
15111
15639
|
isOneToOne: false;
|
|
15112
|
-
referencedRelation: "
|
|
15640
|
+
referencedRelation: "roles";
|
|
15113
15641
|
referencedColumns: ["id"];
|
|
15114
15642
|
}];
|
|
15115
15643
|
};
|
|
15116
|
-
|
|
15644
|
+
role_permissions: {
|
|
15117
15645
|
Row: {
|
|
15118
|
-
|
|
15119
|
-
|
|
15646
|
+
can_edit: boolean;
|
|
15647
|
+
can_view: boolean;
|
|
15648
|
+
feature_id: string;
|
|
15120
15649
|
id: string;
|
|
15121
|
-
|
|
15122
|
-
|
|
15123
|
-
|
|
15650
|
+
module_id: string;
|
|
15651
|
+
role_id: string;
|
|
15652
|
+
updated_at: string;
|
|
15124
15653
|
};
|
|
15125
15654
|
Insert: {
|
|
15126
|
-
|
|
15127
|
-
|
|
15655
|
+
can_edit?: boolean;
|
|
15656
|
+
can_view?: boolean;
|
|
15657
|
+
feature_id?: string;
|
|
15128
15658
|
id?: string;
|
|
15129
|
-
|
|
15130
|
-
|
|
15131
|
-
|
|
15132
|
-
};
|
|
15133
|
-
Update: {
|
|
15134
|
-
created_at?: string;
|
|
15135
|
-
field_id?: string;
|
|
15136
|
-
id?: string;
|
|
15137
|
-
label?: string;
|
|
15138
|
-
sort_order?: number;
|
|
15139
|
-
value?: string;
|
|
15140
|
-
};
|
|
15141
|
-
Relationships: [{
|
|
15142
|
-
foreignKeyName: "quote_field_options_field_id_fkey";
|
|
15143
|
-
columns: ["field_id"];
|
|
15144
|
-
isOneToOne: false;
|
|
15145
|
-
referencedRelation: "quote_field_settings";
|
|
15146
|
-
referencedColumns: ["id"];
|
|
15147
|
-
}];
|
|
15148
|
-
};
|
|
15149
|
-
quote_field_settings: {
|
|
15150
|
-
Row: {
|
|
15151
|
-
created_at: string;
|
|
15152
|
-
default_value: string | null;
|
|
15153
|
-
field_key: string;
|
|
15154
|
-
field_type: string;
|
|
15155
|
-
id: string;
|
|
15156
|
-
is_system: boolean;
|
|
15157
|
-
label: string;
|
|
15158
|
-
required: boolean;
|
|
15159
|
-
sort_order: number;
|
|
15160
|
-
updated_at: string;
|
|
15161
|
-
visible: boolean;
|
|
15162
|
-
};
|
|
15163
|
-
Insert: {
|
|
15164
|
-
created_at?: string;
|
|
15165
|
-
default_value?: string | null;
|
|
15166
|
-
field_key: string;
|
|
15167
|
-
field_type: string;
|
|
15168
|
-
id?: string;
|
|
15169
|
-
is_system?: boolean;
|
|
15170
|
-
label: string;
|
|
15171
|
-
required?: boolean;
|
|
15172
|
-
sort_order?: number;
|
|
15173
|
-
updated_at?: string;
|
|
15174
|
-
visible?: boolean;
|
|
15175
|
-
};
|
|
15176
|
-
Update: {
|
|
15177
|
-
created_at?: string;
|
|
15178
|
-
default_value?: string | null;
|
|
15179
|
-
field_key?: string;
|
|
15180
|
-
field_type?: string;
|
|
15181
|
-
id?: string;
|
|
15182
|
-
is_system?: boolean;
|
|
15183
|
-
label?: string;
|
|
15184
|
-
required?: boolean;
|
|
15185
|
-
sort_order?: number;
|
|
15186
|
-
updated_at?: string;
|
|
15187
|
-
visible?: boolean;
|
|
15188
|
-
};
|
|
15189
|
-
Relationships: [];
|
|
15190
|
-
};
|
|
15191
|
-
quote_items: {
|
|
15192
|
-
Row: {
|
|
15193
|
-
category: string | null;
|
|
15194
|
-
created_at: string;
|
|
15195
|
-
description: string;
|
|
15196
|
-
id: string;
|
|
15197
|
-
line_total: number;
|
|
15198
|
-
module_id: string | null;
|
|
15199
|
-
name: string | null;
|
|
15200
|
-
quantity: number;
|
|
15201
|
-
quote_id: string;
|
|
15202
|
-
sort_order: number;
|
|
15203
|
-
unit_price: number;
|
|
15204
|
-
};
|
|
15205
|
-
Insert: {
|
|
15206
|
-
category?: string | null;
|
|
15207
|
-
created_at?: string;
|
|
15208
|
-
description?: string;
|
|
15209
|
-
id?: string;
|
|
15210
|
-
line_total?: number;
|
|
15211
|
-
module_id?: string | null;
|
|
15212
|
-
name?: string | null;
|
|
15213
|
-
quantity?: number;
|
|
15214
|
-
quote_id: string;
|
|
15215
|
-
sort_order?: number;
|
|
15216
|
-
unit_price?: number;
|
|
15217
|
-
};
|
|
15218
|
-
Update: {
|
|
15219
|
-
category?: string | null;
|
|
15220
|
-
created_at?: string;
|
|
15221
|
-
description?: string;
|
|
15222
|
-
id?: string;
|
|
15223
|
-
line_total?: number;
|
|
15224
|
-
module_id?: string | null;
|
|
15225
|
-
name?: string | null;
|
|
15226
|
-
quantity?: number;
|
|
15227
|
-
quote_id?: string;
|
|
15228
|
-
sort_order?: number;
|
|
15229
|
-
unit_price?: number;
|
|
15230
|
-
};
|
|
15231
|
-
Relationships: [{
|
|
15232
|
-
foreignKeyName: "quote_items_module_id_fkey";
|
|
15233
|
-
columns: ["module_id"];
|
|
15234
|
-
isOneToOne: false;
|
|
15235
|
-
referencedRelation: "quote_modules";
|
|
15236
|
-
referencedColumns: ["id"];
|
|
15237
|
-
}, {
|
|
15238
|
-
foreignKeyName: "quote_items_quote_id_fkey";
|
|
15239
|
-
columns: ["quote_id"];
|
|
15240
|
-
isOneToOne: false;
|
|
15241
|
-
referencedRelation: "quotes";
|
|
15242
|
-
referencedColumns: ["id"];
|
|
15243
|
-
}];
|
|
15244
|
-
};
|
|
15245
|
-
quote_modules: {
|
|
15246
|
-
Row: {
|
|
15247
|
-
category: string | null;
|
|
15248
|
-
created_at: string;
|
|
15249
|
-
description: string | null;
|
|
15250
|
-
id: string;
|
|
15251
|
-
is_active: boolean;
|
|
15252
|
-
name: string;
|
|
15253
|
-
price: number;
|
|
15254
|
-
sort_order: number;
|
|
15255
|
-
updated_at: string;
|
|
15256
|
-
};
|
|
15257
|
-
Insert: {
|
|
15258
|
-
category?: string | null;
|
|
15259
|
-
created_at?: string;
|
|
15260
|
-
description?: string | null;
|
|
15261
|
-
id?: string;
|
|
15262
|
-
is_active?: boolean;
|
|
15263
|
-
name: string;
|
|
15264
|
-
price?: number;
|
|
15265
|
-
sort_order?: number;
|
|
15266
|
-
updated_at?: string;
|
|
15267
|
-
};
|
|
15268
|
-
Update: {
|
|
15269
|
-
category?: string | null;
|
|
15270
|
-
created_at?: string;
|
|
15271
|
-
description?: string | null;
|
|
15272
|
-
id?: string;
|
|
15273
|
-
is_active?: boolean;
|
|
15274
|
-
name?: string;
|
|
15275
|
-
price?: number;
|
|
15276
|
-
sort_order?: number;
|
|
15277
|
-
updated_at?: string;
|
|
15278
|
-
};
|
|
15279
|
-
Relationships: [];
|
|
15280
|
-
};
|
|
15281
|
-
quote_templates: {
|
|
15282
|
-
Row: {
|
|
15283
|
-
created_at: string;
|
|
15284
|
-
description: string | null;
|
|
15285
|
-
field_values: import("./types").Json;
|
|
15286
|
-
id: string;
|
|
15287
|
-
is_default: boolean;
|
|
15288
|
-
items: import("./types").Json;
|
|
15289
|
-
name: string;
|
|
15290
|
-
updated_at: string;
|
|
15291
|
-
vat_rate: number;
|
|
15292
|
-
};
|
|
15293
|
-
Insert: {
|
|
15294
|
-
created_at?: string;
|
|
15295
|
-
description?: string | null;
|
|
15296
|
-
field_values?: import("./types").Json;
|
|
15297
|
-
id?: string;
|
|
15298
|
-
is_default?: boolean;
|
|
15299
|
-
items?: import("./types").Json;
|
|
15300
|
-
name: string;
|
|
15301
|
-
updated_at?: string;
|
|
15302
|
-
vat_rate?: number;
|
|
15303
|
-
};
|
|
15304
|
-
Update: {
|
|
15305
|
-
created_at?: string;
|
|
15306
|
-
description?: string | null;
|
|
15307
|
-
field_values?: import("./types").Json;
|
|
15308
|
-
id?: string;
|
|
15309
|
-
is_default?: boolean;
|
|
15310
|
-
items?: import("./types").Json;
|
|
15311
|
-
name?: string;
|
|
15312
|
-
updated_at?: string;
|
|
15313
|
-
vat_rate?: number;
|
|
15314
|
-
};
|
|
15315
|
-
Relationships: [];
|
|
15316
|
-
};
|
|
15317
|
-
quote_terms: {
|
|
15318
|
-
Row: {
|
|
15319
|
-
content: string | null;
|
|
15320
|
-
created_at: string;
|
|
15321
|
-
file_url: string | null;
|
|
15322
|
-
id: string;
|
|
15323
|
-
is_active: boolean;
|
|
15324
|
-
name: string;
|
|
15325
|
-
published_at: string | null;
|
|
15326
|
-
updated_at: string;
|
|
15327
|
-
version: string;
|
|
15328
|
-
};
|
|
15329
|
-
Insert: {
|
|
15330
|
-
content?: string | null;
|
|
15331
|
-
created_at?: string;
|
|
15332
|
-
file_url?: string | null;
|
|
15333
|
-
id?: string;
|
|
15334
|
-
is_active?: boolean;
|
|
15335
|
-
name: string;
|
|
15336
|
-
published_at?: string | null;
|
|
15337
|
-
updated_at?: string;
|
|
15338
|
-
version?: string;
|
|
15339
|
-
};
|
|
15340
|
-
Update: {
|
|
15341
|
-
content?: string | null;
|
|
15342
|
-
created_at?: string;
|
|
15343
|
-
file_url?: string | null;
|
|
15344
|
-
id?: string;
|
|
15345
|
-
is_active?: boolean;
|
|
15346
|
-
name?: string;
|
|
15347
|
-
published_at?: string | null;
|
|
15348
|
-
updated_at?: string;
|
|
15349
|
-
version?: string;
|
|
15350
|
-
};
|
|
15351
|
-
Relationships: [];
|
|
15352
|
-
};
|
|
15353
|
-
quotes: {
|
|
15354
|
-
Row: {
|
|
15355
|
-
accepted_at: string | null;
|
|
15356
|
-
archived_at: string | null;
|
|
15357
|
-
contact_id: string | null;
|
|
15358
|
-
created_at: string;
|
|
15359
|
-
customer_id: string | null;
|
|
15360
|
-
discount: number;
|
|
15361
|
-
expires_at: string | null;
|
|
15362
|
-
field_values: import("./types").Json;
|
|
15363
|
-
id: string;
|
|
15364
|
-
notes: string | null;
|
|
15365
|
-
owner_id: string | null;
|
|
15366
|
-
personal_message: string | null;
|
|
15367
|
-
project_id: string | null;
|
|
15368
|
-
prospect_id: string | null;
|
|
15369
|
-
public_token: string;
|
|
15370
|
-
quote_number: string | null;
|
|
15371
|
-
recipient_email: string | null;
|
|
15372
|
-
recipient_name: string | null;
|
|
15373
|
-
rejected_at: string | null;
|
|
15374
|
-
sent_at: string | null;
|
|
15375
|
-
status: string;
|
|
15376
|
-
subtotal: number;
|
|
15377
|
-
template_id: string | null;
|
|
15378
|
-
terms_id: string | null;
|
|
15379
|
-
title: string;
|
|
15380
|
-
total: number;
|
|
15381
|
-
updated_at: string;
|
|
15382
|
-
valid_until: string | null;
|
|
15383
|
-
vat_amount: number;
|
|
15384
|
-
vat_rate: number;
|
|
15385
|
-
viewed_at: string | null;
|
|
15386
|
-
};
|
|
15387
|
-
Insert: {
|
|
15388
|
-
accepted_at?: string | null;
|
|
15389
|
-
archived_at?: string | null;
|
|
15390
|
-
contact_id?: string | null;
|
|
15391
|
-
created_at?: string;
|
|
15392
|
-
customer_id?: string | null;
|
|
15393
|
-
discount?: number;
|
|
15394
|
-
expires_at?: string | null;
|
|
15395
|
-
field_values?: import("./types").Json;
|
|
15396
|
-
id?: string;
|
|
15397
|
-
notes?: string | null;
|
|
15398
|
-
owner_id?: string | null;
|
|
15399
|
-
personal_message?: string | null;
|
|
15400
|
-
project_id?: string | null;
|
|
15401
|
-
prospect_id?: string | null;
|
|
15402
|
-
public_token?: string;
|
|
15403
|
-
quote_number?: string | null;
|
|
15404
|
-
recipient_email?: string | null;
|
|
15405
|
-
recipient_name?: string | null;
|
|
15406
|
-
rejected_at?: string | null;
|
|
15407
|
-
sent_at?: string | null;
|
|
15408
|
-
status?: string;
|
|
15409
|
-
subtotal?: number;
|
|
15410
|
-
template_id?: string | null;
|
|
15411
|
-
terms_id?: string | null;
|
|
15412
|
-
title?: string;
|
|
15413
|
-
total?: number;
|
|
15414
|
-
updated_at?: string;
|
|
15415
|
-
valid_until?: string | null;
|
|
15416
|
-
vat_amount?: number;
|
|
15417
|
-
vat_rate?: number;
|
|
15418
|
-
viewed_at?: string | null;
|
|
15419
|
-
};
|
|
15420
|
-
Update: {
|
|
15421
|
-
accepted_at?: string | null;
|
|
15422
|
-
archived_at?: string | null;
|
|
15423
|
-
contact_id?: string | null;
|
|
15424
|
-
created_at?: string;
|
|
15425
|
-
customer_id?: string | null;
|
|
15426
|
-
discount?: number;
|
|
15427
|
-
expires_at?: string | null;
|
|
15428
|
-
field_values?: import("./types").Json;
|
|
15429
|
-
id?: string;
|
|
15430
|
-
notes?: string | null;
|
|
15431
|
-
owner_id?: string | null;
|
|
15432
|
-
personal_message?: string | null;
|
|
15433
|
-
project_id?: string | null;
|
|
15434
|
-
prospect_id?: string | null;
|
|
15435
|
-
public_token?: string;
|
|
15436
|
-
quote_number?: string | null;
|
|
15437
|
-
recipient_email?: string | null;
|
|
15438
|
-
recipient_name?: string | null;
|
|
15439
|
-
rejected_at?: string | null;
|
|
15440
|
-
sent_at?: string | null;
|
|
15441
|
-
status?: string;
|
|
15442
|
-
subtotal?: number;
|
|
15443
|
-
template_id?: string | null;
|
|
15444
|
-
terms_id?: string | null;
|
|
15445
|
-
title?: string;
|
|
15446
|
-
total?: number;
|
|
15447
|
-
updated_at?: string;
|
|
15448
|
-
valid_until?: string | null;
|
|
15449
|
-
vat_amount?: number;
|
|
15450
|
-
vat_rate?: number;
|
|
15451
|
-
viewed_at?: string | null;
|
|
15452
|
-
};
|
|
15453
|
-
Relationships: [{
|
|
15454
|
-
foreignKeyName: "quotes_contact_id_fkey";
|
|
15455
|
-
columns: ["contact_id"];
|
|
15456
|
-
isOneToOne: false;
|
|
15457
|
-
referencedRelation: "customer_contacts";
|
|
15458
|
-
referencedColumns: ["id"];
|
|
15459
|
-
}, {
|
|
15460
|
-
foreignKeyName: "quotes_customer_id_fkey";
|
|
15461
|
-
columns: ["customer_id"];
|
|
15462
|
-
isOneToOne: false;
|
|
15463
|
-
referencedRelation: "customers";
|
|
15464
|
-
referencedColumns: ["id"];
|
|
15465
|
-
}, {
|
|
15466
|
-
foreignKeyName: "quotes_project_id_fkey";
|
|
15467
|
-
columns: ["project_id"];
|
|
15468
|
-
isOneToOne: false;
|
|
15469
|
-
referencedRelation: "projects";
|
|
15470
|
-
referencedColumns: ["id"];
|
|
15471
|
-
}, {
|
|
15472
|
-
foreignKeyName: "quotes_prospect_id_fkey";
|
|
15473
|
-
columns: ["prospect_id"];
|
|
15474
|
-
isOneToOne: false;
|
|
15475
|
-
referencedRelation: "prospects";
|
|
15476
|
-
referencedColumns: ["id"];
|
|
15477
|
-
}, {
|
|
15478
|
-
foreignKeyName: "quotes_template_id_fkey";
|
|
15479
|
-
columns: ["template_id"];
|
|
15480
|
-
isOneToOne: false;
|
|
15481
|
-
referencedRelation: "quote_templates";
|
|
15482
|
-
referencedColumns: ["id"];
|
|
15483
|
-
}, {
|
|
15484
|
-
foreignKeyName: "quotes_terms_id_fkey";
|
|
15485
|
-
columns: ["terms_id"];
|
|
15486
|
-
isOneToOne: false;
|
|
15487
|
-
referencedRelation: "quote_terms";
|
|
15488
|
-
referencedColumns: ["id"];
|
|
15489
|
-
}];
|
|
15490
|
-
};
|
|
15491
|
-
reception_notifications: {
|
|
15492
|
-
Row: {
|
|
15493
|
-
booking_id: string | null;
|
|
15494
|
-
created_at: string;
|
|
15495
|
-
id: string;
|
|
15496
|
-
is_read: boolean;
|
|
15497
|
-
message: string;
|
|
15498
|
-
recipient_email: string | null;
|
|
15499
|
-
title: string;
|
|
15500
|
-
type: string;
|
|
15501
|
-
};
|
|
15502
|
-
Insert: {
|
|
15503
|
-
booking_id?: string | null;
|
|
15504
|
-
created_at?: string;
|
|
15505
|
-
id?: string;
|
|
15506
|
-
is_read?: boolean;
|
|
15507
|
-
message: string;
|
|
15508
|
-
recipient_email?: string | null;
|
|
15509
|
-
title: string;
|
|
15510
|
-
type: string;
|
|
15511
|
-
};
|
|
15512
|
-
Update: {
|
|
15513
|
-
booking_id?: string | null;
|
|
15514
|
-
created_at?: string;
|
|
15515
|
-
id?: string;
|
|
15516
|
-
is_read?: boolean;
|
|
15517
|
-
message?: string;
|
|
15518
|
-
recipient_email?: string | null;
|
|
15519
|
-
title?: string;
|
|
15520
|
-
type?: string;
|
|
15521
|
-
};
|
|
15522
|
-
Relationships: [{
|
|
15523
|
-
foreignKeyName: "reception_notifications_booking_id_fkey";
|
|
15524
|
-
columns: ["booking_id"];
|
|
15525
|
-
isOneToOne: false;
|
|
15526
|
-
referencedRelation: "bookings";
|
|
15527
|
-
referencedColumns: ["id"];
|
|
15528
|
-
}];
|
|
15529
|
-
};
|
|
15530
|
-
role_assignments: {
|
|
15531
|
-
Row: {
|
|
15532
|
-
created_at: string;
|
|
15533
|
-
id: string;
|
|
15534
|
-
role_id: string;
|
|
15535
|
-
user_id: string;
|
|
15536
|
-
};
|
|
15537
|
-
Insert: {
|
|
15538
|
-
created_at?: string;
|
|
15539
|
-
id?: string;
|
|
15540
|
-
role_id: string;
|
|
15541
|
-
user_id: string;
|
|
15542
|
-
};
|
|
15543
|
-
Update: {
|
|
15544
|
-
created_at?: string;
|
|
15545
|
-
id?: string;
|
|
15546
|
-
role_id?: string;
|
|
15547
|
-
user_id?: string;
|
|
15548
|
-
};
|
|
15549
|
-
Relationships: [{
|
|
15550
|
-
foreignKeyName: "role_assignments_role_id_fkey";
|
|
15551
|
-
columns: ["role_id"];
|
|
15552
|
-
isOneToOne: false;
|
|
15553
|
-
referencedRelation: "roles";
|
|
15554
|
-
referencedColumns: ["id"];
|
|
15555
|
-
}];
|
|
15556
|
-
};
|
|
15557
|
-
role_permissions: {
|
|
15558
|
-
Row: {
|
|
15559
|
-
can_edit: boolean;
|
|
15560
|
-
can_view: boolean;
|
|
15561
|
-
feature_id: string;
|
|
15562
|
-
id: string;
|
|
15563
|
-
module_id: string;
|
|
15564
|
-
role_id: string;
|
|
15565
|
-
updated_at: string;
|
|
15566
|
-
};
|
|
15567
|
-
Insert: {
|
|
15568
|
-
can_edit?: boolean;
|
|
15569
|
-
can_view?: boolean;
|
|
15570
|
-
feature_id?: string;
|
|
15571
|
-
id?: string;
|
|
15572
|
-
module_id: string;
|
|
15573
|
-
role_id: string;
|
|
15574
|
-
updated_at?: string;
|
|
15659
|
+
module_id: string;
|
|
15660
|
+
role_id: string;
|
|
15661
|
+
updated_at?: string;
|
|
15575
15662
|
};
|
|
15576
15663
|
Update: {
|
|
15577
15664
|
can_edit?: boolean;
|
|
@@ -16609,7 +16696,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
16609
16696
|
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
16610
16697
|
columns: ["work_order_id"];
|
|
16611
16698
|
isOneToOne: false;
|
|
16612
|
-
referencedRelation: "
|
|
16699
|
+
referencedRelation: "werkbonnen";
|
|
16613
16700
|
referencedColumns: ["id"];
|
|
16614
16701
|
}];
|
|
16615
16702
|
};
|
|
@@ -16741,6 +16828,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
16741
16828
|
};
|
|
16742
16829
|
trade_item_stock: {
|
|
16743
16830
|
Row: {
|
|
16831
|
+
change_source: string;
|
|
16744
16832
|
connection_id: string;
|
|
16745
16833
|
created_at: string;
|
|
16746
16834
|
id: string;
|
|
@@ -16754,6 +16842,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
16754
16842
|
user_id: string;
|
|
16755
16843
|
};
|
|
16756
16844
|
Insert: {
|
|
16845
|
+
change_source?: string;
|
|
16757
16846
|
connection_id: string;
|
|
16758
16847
|
created_at?: string;
|
|
16759
16848
|
id?: string;
|
|
@@ -16767,6 +16856,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
16767
16856
|
user_id: string;
|
|
16768
16857
|
};
|
|
16769
16858
|
Update: {
|
|
16859
|
+
change_source?: string;
|
|
16770
16860
|
connection_id?: string;
|
|
16771
16861
|
created_at?: string;
|
|
16772
16862
|
id?: string;
|
|
@@ -17891,200 +17981,50 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
17891
17981
|
monteur_id?: string;
|
|
17892
17982
|
note?: string | null;
|
|
17893
17983
|
source?: string;
|
|
17894
|
-
travel_km?: number;
|
|
17895
|
-
updated_at?: string;
|
|
17896
|
-
werkbon_id?: string | null;
|
|
17897
|
-
};
|
|
17898
|
-
Relationships: [{
|
|
17899
|
-
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
17900
|
-
columns: ["werkbon_id"];
|
|
17901
|
-
isOneToOne: false;
|
|
17902
|
-
referencedRelation: "werkbonnen";
|
|
17903
|
-
referencedColumns: ["id"];
|
|
17904
|
-
}];
|
|
17905
|
-
};
|
|
17906
|
-
uren_exports: {
|
|
17907
|
-
Row: {
|
|
17908
|
-
created_at: string;
|
|
17909
|
-
created_by: string | null;
|
|
17910
|
-
file_name: string | null;
|
|
17911
|
-
id: string;
|
|
17912
|
-
monteur_ids: string[];
|
|
17913
|
-
period_end: string;
|
|
17914
|
-
period_start: string;
|
|
17915
|
-
row_count: number;
|
|
17916
|
-
};
|
|
17917
|
-
Insert: {
|
|
17918
|
-
created_at?: string;
|
|
17919
|
-
created_by?: string | null;
|
|
17920
|
-
file_name?: string | null;
|
|
17921
|
-
id?: string;
|
|
17922
|
-
monteur_ids?: string[];
|
|
17923
|
-
period_end: string;
|
|
17924
|
-
period_start: string;
|
|
17925
|
-
row_count?: number;
|
|
17926
|
-
};
|
|
17927
|
-
Update: {
|
|
17928
|
-
created_at?: string;
|
|
17929
|
-
created_by?: string | null;
|
|
17930
|
-
file_name?: string | null;
|
|
17931
|
-
id?: string;
|
|
17932
|
-
monteur_ids?: string[];
|
|
17933
|
-
period_end?: string;
|
|
17934
|
-
period_start?: string;
|
|
17935
|
-
row_count?: number;
|
|
17936
|
-
};
|
|
17937
|
-
Relationships: [];
|
|
17938
|
-
};
|
|
17939
|
-
uren_offerte_regels: {
|
|
17940
|
-
Row: {
|
|
17941
|
-
created_at: string;
|
|
17942
|
-
description: string;
|
|
17943
|
-
duration_minutes: number;
|
|
17944
|
-
id: string;
|
|
17945
|
-
offerte_id: string;
|
|
17946
|
-
package_id: string | null;
|
|
17947
|
-
quantity: number;
|
|
17948
|
-
sort_order: number;
|
|
17949
|
-
total_cents: number;
|
|
17950
|
-
unit_price_cents: number;
|
|
17951
|
-
};
|
|
17952
|
-
Insert: {
|
|
17953
|
-
created_at?: string;
|
|
17954
|
-
description: string;
|
|
17955
|
-
duration_minutes?: number;
|
|
17956
|
-
id?: string;
|
|
17957
|
-
offerte_id: string;
|
|
17958
|
-
package_id?: string | null;
|
|
17959
|
-
quantity?: number;
|
|
17960
|
-
sort_order?: number;
|
|
17961
|
-
total_cents?: number;
|
|
17962
|
-
unit_price_cents?: number;
|
|
17963
|
-
};
|
|
17964
|
-
Update: {
|
|
17965
|
-
created_at?: string;
|
|
17966
|
-
description?: string;
|
|
17967
|
-
duration_minutes?: number;
|
|
17968
|
-
id?: string;
|
|
17969
|
-
offerte_id?: string;
|
|
17970
|
-
package_id?: string | null;
|
|
17971
|
-
quantity?: number;
|
|
17972
|
-
sort_order?: number;
|
|
17973
|
-
total_cents?: number;
|
|
17974
|
-
unit_price_cents?: number;
|
|
17975
|
-
};
|
|
17976
|
-
Relationships: [{
|
|
17977
|
-
foreignKeyName: "uren_offerte_regels_offerte_id_fkey";
|
|
17978
|
-
columns: ["offerte_id"];
|
|
17979
|
-
isOneToOne: false;
|
|
17980
|
-
referencedRelation: "uren_offertes";
|
|
17981
|
-
referencedColumns: ["id"];
|
|
17982
|
-
}, {
|
|
17983
|
-
foreignKeyName: "uren_offerte_regels_package_id_fkey";
|
|
17984
|
-
columns: ["package_id"];
|
|
17985
|
-
isOneToOne: false;
|
|
17986
|
-
referencedRelation: "werkbon_packages";
|
|
17987
|
-
referencedColumns: ["id"];
|
|
17988
|
-
}];
|
|
17989
|
-
};
|
|
17990
|
-
uren_offerte_velden: {
|
|
17991
|
-
Row: {
|
|
17992
|
-
created_at: string;
|
|
17993
|
-
field_type: string;
|
|
17994
|
-
id: string;
|
|
17995
|
-
key: string;
|
|
17996
|
-
label: string;
|
|
17997
|
-
options: string[];
|
|
17998
|
-
required: boolean;
|
|
17999
|
-
sort_order: number;
|
|
18000
|
-
updated_at: string;
|
|
18001
|
-
};
|
|
18002
|
-
Insert: {
|
|
18003
|
-
created_at?: string;
|
|
18004
|
-
field_type?: string;
|
|
18005
|
-
id?: string;
|
|
18006
|
-
key: string;
|
|
18007
|
-
label: string;
|
|
18008
|
-
options?: string[];
|
|
18009
|
-
required?: boolean;
|
|
18010
|
-
sort_order?: number;
|
|
18011
|
-
updated_at?: string;
|
|
18012
|
-
};
|
|
18013
|
-
Update: {
|
|
18014
|
-
created_at?: string;
|
|
18015
|
-
field_type?: string;
|
|
18016
|
-
id?: string;
|
|
18017
|
-
key?: string;
|
|
18018
|
-
label?: string;
|
|
18019
|
-
options?: string[];
|
|
18020
|
-
required?: boolean;
|
|
18021
|
-
sort_order?: number;
|
|
17984
|
+
travel_km?: number;
|
|
18022
17985
|
updated_at?: string;
|
|
17986
|
+
werkbon_id?: string | null;
|
|
18023
17987
|
};
|
|
18024
|
-
Relationships: [
|
|
17988
|
+
Relationships: [{
|
|
17989
|
+
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
17990
|
+
columns: ["werkbon_id"];
|
|
17991
|
+
isOneToOne: false;
|
|
17992
|
+
referencedRelation: "werkbonnen";
|
|
17993
|
+
referencedColumns: ["id"];
|
|
17994
|
+
}];
|
|
18025
17995
|
};
|
|
18026
|
-
|
|
17996
|
+
uren_exports: {
|
|
18027
17997
|
Row: {
|
|
18028
17998
|
created_at: string;
|
|
18029
17999
|
created_by: string | null;
|
|
18030
|
-
|
|
18031
|
-
customer_name: string | null;
|
|
18032
|
-
dynamic_fields: import("./types").Json;
|
|
18033
|
-
estimated_minutes: number;
|
|
18000
|
+
file_name: string | null;
|
|
18034
18001
|
id: string;
|
|
18035
|
-
|
|
18036
|
-
|
|
18037
|
-
|
|
18038
|
-
|
|
18039
|
-
total_excl_cents: number;
|
|
18040
|
-
total_incl_cents: number;
|
|
18041
|
-
updated_at: string;
|
|
18042
|
-
valid_until: string | null;
|
|
18043
|
-
vat_percentage: number;
|
|
18002
|
+
monteur_ids: string[];
|
|
18003
|
+
period_end: string;
|
|
18004
|
+
period_start: string;
|
|
18005
|
+
row_count: number;
|
|
18044
18006
|
};
|
|
18045
18007
|
Insert: {
|
|
18046
18008
|
created_at?: string;
|
|
18047
18009
|
created_by?: string | null;
|
|
18048
|
-
|
|
18049
|
-
customer_name?: string | null;
|
|
18050
|
-
dynamic_fields?: import("./types").Json;
|
|
18051
|
-
estimated_minutes?: number;
|
|
18010
|
+
file_name?: string | null;
|
|
18052
18011
|
id?: string;
|
|
18053
|
-
|
|
18054
|
-
|
|
18055
|
-
|
|
18056
|
-
|
|
18057
|
-
total_excl_cents?: number;
|
|
18058
|
-
total_incl_cents?: number;
|
|
18059
|
-
updated_at?: string;
|
|
18060
|
-
valid_until?: string | null;
|
|
18061
|
-
vat_percentage?: number;
|
|
18012
|
+
monteur_ids?: string[];
|
|
18013
|
+
period_end: string;
|
|
18014
|
+
period_start: string;
|
|
18015
|
+
row_count?: number;
|
|
18062
18016
|
};
|
|
18063
18017
|
Update: {
|
|
18064
18018
|
created_at?: string;
|
|
18065
18019
|
created_by?: string | null;
|
|
18066
|
-
|
|
18067
|
-
customer_name?: string | null;
|
|
18068
|
-
dynamic_fields?: import("./types").Json;
|
|
18069
|
-
estimated_minutes?: number;
|
|
18020
|
+
file_name?: string | null;
|
|
18070
18021
|
id?: string;
|
|
18071
|
-
|
|
18072
|
-
|
|
18073
|
-
|
|
18074
|
-
|
|
18075
|
-
total_excl_cents?: number;
|
|
18076
|
-
total_incl_cents?: number;
|
|
18077
|
-
updated_at?: string;
|
|
18078
|
-
valid_until?: string | null;
|
|
18079
|
-
vat_percentage?: number;
|
|
18022
|
+
monteur_ids?: string[];
|
|
18023
|
+
period_end?: string;
|
|
18024
|
+
period_start?: string;
|
|
18025
|
+
row_count?: number;
|
|
18080
18026
|
};
|
|
18081
|
-
Relationships: [
|
|
18082
|
-
foreignKeyName: "uren_offertes_customer_id_fkey";
|
|
18083
|
-
columns: ["customer_id"];
|
|
18084
|
-
isOneToOne: false;
|
|
18085
|
-
referencedRelation: "itk_customers";
|
|
18086
|
-
referencedColumns: ["id"];
|
|
18087
|
-
}];
|
|
18027
|
+
Relationships: [];
|
|
18088
18028
|
};
|
|
18089
18029
|
uren_settings: {
|
|
18090
18030
|
Row: {
|
|
@@ -19772,6 +19712,37 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19772
19712
|
};
|
|
19773
19713
|
Relationships: [];
|
|
19774
19714
|
};
|
|
19715
|
+
planning_overview: {
|
|
19716
|
+
Row: {
|
|
19717
|
+
assigned_monteur_id: string | null;
|
|
19718
|
+
assistants: import("./types").Json | null;
|
|
19719
|
+
budget_mandate_cents: number | null;
|
|
19720
|
+
created_at: string | null;
|
|
19721
|
+
created_by: string | null;
|
|
19722
|
+
customer_id: string | null;
|
|
19723
|
+
customer_name: string | null;
|
|
19724
|
+
duration_minutes: number | null;
|
|
19725
|
+
end_at: string | null;
|
|
19726
|
+
id: string | null;
|
|
19727
|
+
needs_detail_review: boolean | null;
|
|
19728
|
+
notes: string | null;
|
|
19729
|
+
project_number: string | null;
|
|
19730
|
+
review_reasons: string[] | null;
|
|
19731
|
+
start_at: string | null;
|
|
19732
|
+
status: Database["public"]["Enums"]["planning_item_status"] | null;
|
|
19733
|
+
updated_at: string | null;
|
|
19734
|
+
viewer_role: string | null;
|
|
19735
|
+
werkbon_id: string | null;
|
|
19736
|
+
work_address: string | null;
|
|
19737
|
+
};
|
|
19738
|
+
Relationships: [{
|
|
19739
|
+
foreignKeyName: "planning_items_werkbon_id_fkey";
|
|
19740
|
+
columns: ["werkbon_id"];
|
|
19741
|
+
isOneToOne: false;
|
|
19742
|
+
referencedRelation: "werkbonnen";
|
|
19743
|
+
referencedColumns: ["id"];
|
|
19744
|
+
}];
|
|
19745
|
+
};
|
|
19775
19746
|
product_group_stock_view: {
|
|
19776
19747
|
Row: {
|
|
19777
19748
|
item_count: number | null;
|
|
@@ -20367,6 +20338,18 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20367
20338
|
Args: never;
|
|
20368
20339
|
Returns: number;
|
|
20369
20340
|
};
|
|
20341
|
+
calculate_floriday_desired_stock: {
|
|
20342
|
+
Args: {
|
|
20343
|
+
p_connection_id: string;
|
|
20344
|
+
p_product_id: string;
|
|
20345
|
+
};
|
|
20346
|
+
Returns: {
|
|
20347
|
+
desired_availability: boolean;
|
|
20348
|
+
desired_quantity: number;
|
|
20349
|
+
erp_available: number;
|
|
20350
|
+
stock_mode: string;
|
|
20351
|
+
}[];
|
|
20352
|
+
};
|
|
20370
20353
|
calculate_layer_stock: {
|
|
20371
20354
|
Args: {
|
|
20372
20355
|
p_product_id: string;
|
|
@@ -20428,6 +20411,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20428
20411
|
is_herprint: boolean;
|
|
20429
20412
|
kopieen: number;
|
|
20430
20413
|
layout_id: string | null;
|
|
20414
|
+
lokaal_opgeslagen_op: string | null;
|
|
20415
|
+
lokale_pdf_fout: string | null;
|
|
20416
|
+
lokale_pdf_status: string | null;
|
|
20431
20417
|
opgepakt_op: string | null;
|
|
20432
20418
|
paginas: number;
|
|
20433
20419
|
payload: import("./types").Json;
|
|
@@ -20436,6 +20422,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20436
20422
|
pogingen: number;
|
|
20437
20423
|
printer_id: string | null;
|
|
20438
20424
|
render_html: string | null;
|
|
20425
|
+
resultaat_pdf_base64: string | null;
|
|
20439
20426
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
20440
20427
|
updated_at: string;
|
|
20441
20428
|
volgende_poging: string | null;
|
|
@@ -20457,6 +20444,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20457
20444
|
attempts: number;
|
|
20458
20445
|
connection_id: string;
|
|
20459
20446
|
created_at: string;
|
|
20447
|
+
dead_lettered_at: string | null;
|
|
20460
20448
|
desired_available: boolean | null;
|
|
20461
20449
|
gateway_attempt_id: string | null;
|
|
20462
20450
|
id: string;
|
|
@@ -20465,9 +20453,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20465
20453
|
locked_by: string | null;
|
|
20466
20454
|
next_attempt_at: string;
|
|
20467
20455
|
number_of_pieces: number;
|
|
20456
|
+
product_id: string | null;
|
|
20468
20457
|
sent_at: string | null;
|
|
20469
20458
|
status: string;
|
|
20459
|
+
stock_mode: string | null;
|
|
20470
20460
|
superseded_by: string | null;
|
|
20461
|
+
target_week: number | null;
|
|
20462
|
+
target_year: number | null;
|
|
20471
20463
|
trade_item_id: string;
|
|
20472
20464
|
updated_at: string;
|
|
20473
20465
|
user_id: string;
|
|
@@ -20527,6 +20519,53 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20527
20519
|
isSetofReturn: true;
|
|
20528
20520
|
};
|
|
20529
20521
|
};
|
|
20522
|
+
claim_pdf_print_jobs: {
|
|
20523
|
+
Args: {
|
|
20524
|
+
_max?: number;
|
|
20525
|
+
};
|
|
20526
|
+
Returns: {
|
|
20527
|
+
agent_id: string | null;
|
|
20528
|
+
bron_job_id: string | null;
|
|
20529
|
+
created_at: string;
|
|
20530
|
+
documentnaam: string;
|
|
20531
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
20532
|
+
extern_job_id: string | null;
|
|
20533
|
+
foutmelding: string | null;
|
|
20534
|
+
gebruiker_id: string | null;
|
|
20535
|
+
gebruiker_naam: string;
|
|
20536
|
+
gebruikte_bron: string | null;
|
|
20537
|
+
gebruikte_layout_id: string | null;
|
|
20538
|
+
gestart_op: string | null;
|
|
20539
|
+
herkomst: string | null;
|
|
20540
|
+
id: string;
|
|
20541
|
+
idempotentie_sleutel: string | null;
|
|
20542
|
+
is_herprint: boolean;
|
|
20543
|
+
kopieen: number;
|
|
20544
|
+
layout_id: string | null;
|
|
20545
|
+
lokaal_opgeslagen_op: string | null;
|
|
20546
|
+
lokale_pdf_fout: string | null;
|
|
20547
|
+
lokale_pdf_status: string | null;
|
|
20548
|
+
opgepakt_op: string | null;
|
|
20549
|
+
paginas: number;
|
|
20550
|
+
payload: import("./types").Json;
|
|
20551
|
+
pdf_base64: string | null;
|
|
20552
|
+
pdf_url: string | null;
|
|
20553
|
+
pogingen: number;
|
|
20554
|
+
printer_id: string | null;
|
|
20555
|
+
render_html: string | null;
|
|
20556
|
+
resultaat_pdf_base64: string | null;
|
|
20557
|
+
status: Database["public"]["Enums"]["print_job_status"];
|
|
20558
|
+
updated_at: string;
|
|
20559
|
+
volgende_poging: string | null;
|
|
20560
|
+
voltooid_op: string | null;
|
|
20561
|
+
}[];
|
|
20562
|
+
SetofOptions: {
|
|
20563
|
+
from: "*";
|
|
20564
|
+
to: "print_jobs";
|
|
20565
|
+
isOneToOne: false;
|
|
20566
|
+
isSetofReturn: true;
|
|
20567
|
+
};
|
|
20568
|
+
};
|
|
20530
20569
|
claim_print_jobs: {
|
|
20531
20570
|
Args: {
|
|
20532
20571
|
_agent_id: string;
|
|
@@ -20551,6 +20590,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20551
20590
|
is_herprint: boolean;
|
|
20552
20591
|
kopieen: number;
|
|
20553
20592
|
layout_id: string | null;
|
|
20593
|
+
lokaal_opgeslagen_op: string | null;
|
|
20594
|
+
lokale_pdf_fout: string | null;
|
|
20595
|
+
lokale_pdf_status: string | null;
|
|
20554
20596
|
opgepakt_op: string | null;
|
|
20555
20597
|
paginas: number;
|
|
20556
20598
|
payload: import("./types").Json;
|
|
@@ -20559,6 +20601,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20559
20601
|
pogingen: number;
|
|
20560
20602
|
printer_id: string | null;
|
|
20561
20603
|
render_html: string | null;
|
|
20604
|
+
resultaat_pdf_base64: string | null;
|
|
20562
20605
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
20563
20606
|
updated_at: string;
|
|
20564
20607
|
volgende_poging: string | null;
|
|
@@ -20699,6 +20742,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20699
20742
|
order_id: string;
|
|
20700
20743
|
order_source: string;
|
|
20701
20744
|
pick_date: string;
|
|
20745
|
+
printed_at: string;
|
|
20746
|
+
printed_today: boolean;
|
|
20702
20747
|
status: string;
|
|
20703
20748
|
}[];
|
|
20704
20749
|
};
|
|
@@ -20895,6 +20940,24 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20895
20940
|
};
|
|
20896
20941
|
Returns: string;
|
|
20897
20942
|
};
|
|
20943
|
+
floriday_capture_stock_snapshot: {
|
|
20944
|
+
Args: never;
|
|
20945
|
+
Returns: number;
|
|
20946
|
+
};
|
|
20947
|
+
floriday_cleanup_stock_queue_v2: {
|
|
20948
|
+
Args: never;
|
|
20949
|
+
Returns: undefined;
|
|
20950
|
+
};
|
|
20951
|
+
floriday_compact_stock_snapshots: {
|
|
20952
|
+
Args: never;
|
|
20953
|
+
Returns: undefined;
|
|
20954
|
+
};
|
|
20955
|
+
floriday_default_owner: {
|
|
20956
|
+
Args: {
|
|
20957
|
+
p_connection_id: string;
|
|
20958
|
+
};
|
|
20959
|
+
Returns: string;
|
|
20960
|
+
};
|
|
20898
20961
|
floriday_effective_price: {
|
|
20899
20962
|
Args: {
|
|
20900
20963
|
_buyer_id: string;
|
|
@@ -20912,6 +20975,34 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20912
20975
|
source_id: string;
|
|
20913
20976
|
}[];
|
|
20914
20977
|
};
|
|
20978
|
+
floriday_fill_publish_horizon: {
|
|
20979
|
+
Args: never;
|
|
20980
|
+
Returns: number;
|
|
20981
|
+
};
|
|
20982
|
+
floriday_ingest_sales_orders: {
|
|
20983
|
+
Args: {
|
|
20984
|
+
p_limit?: number;
|
|
20985
|
+
};
|
|
20986
|
+
Returns: number;
|
|
20987
|
+
};
|
|
20988
|
+
floriday_publish_horizon_weeks: {
|
|
20989
|
+
Args: never;
|
|
20990
|
+
Returns: number;
|
|
20991
|
+
};
|
|
20992
|
+
floriday_recompute_inventory: {
|
|
20993
|
+
Args: {
|
|
20994
|
+
p_connection_id: string;
|
|
20995
|
+
p_force?: boolean;
|
|
20996
|
+
p_product_id: string;
|
|
20997
|
+
};
|
|
20998
|
+
Returns: undefined;
|
|
20999
|
+
};
|
|
21000
|
+
floriday_requeue_dead_letters: {
|
|
21001
|
+
Args: {
|
|
21002
|
+
p_connection_id?: string;
|
|
21003
|
+
};
|
|
21004
|
+
Returns: number;
|
|
21005
|
+
};
|
|
20915
21006
|
format_cart_number: {
|
|
20916
21007
|
Args: {
|
|
20917
21008
|
p_pick_date: string;
|
|
@@ -21128,6 +21219,131 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
21128
21219
|
Args: never;
|
|
21129
21220
|
Returns: string;
|
|
21130
21221
|
};
|
|
21222
|
+
handover_get: {
|
|
21223
|
+
Args: {
|
|
21224
|
+
_module_id: string;
|
|
21225
|
+
};
|
|
21226
|
+
Returns: import("./types").Json;
|
|
21227
|
+
};
|
|
21228
|
+
handover_kern_naam: {
|
|
21229
|
+
Args: {
|
|
21230
|
+
_naam: string;
|
|
21231
|
+
};
|
|
21232
|
+
Returns: string;
|
|
21233
|
+
};
|
|
21234
|
+
handover_ketenmodel: {
|
|
21235
|
+
Args: never;
|
|
21236
|
+
Returns: import("./types").Json;
|
|
21237
|
+
};
|
|
21238
|
+
handover_kruisconflicten: {
|
|
21239
|
+
Args: never;
|
|
21240
|
+
Returns: import("./types").Json;
|
|
21241
|
+
};
|
|
21242
|
+
handover_list: {
|
|
21243
|
+
Args: never;
|
|
21244
|
+
Returns: import("./types").Json;
|
|
21245
|
+
};
|
|
21246
|
+
handover_mag_schrijven: {
|
|
21247
|
+
Args: {
|
|
21248
|
+
_module_id: string;
|
|
21249
|
+
};
|
|
21250
|
+
Returns: boolean;
|
|
21251
|
+
};
|
|
21252
|
+
handover_norm_naam: {
|
|
21253
|
+
Args: {
|
|
21254
|
+
_naam: string;
|
|
21255
|
+
};
|
|
21256
|
+
Returns: string;
|
|
21257
|
+
};
|
|
21258
|
+
handover_publish: {
|
|
21259
|
+
Args: {
|
|
21260
|
+
_bevindingen?: string;
|
|
21261
|
+
_bezit_tabellen?: string[];
|
|
21262
|
+
_conflicten_snapshot?: import("./types").Json;
|
|
21263
|
+
_contractfuncties?: string[];
|
|
21264
|
+
_inhoud_md: string;
|
|
21265
|
+
_module_id: string;
|
|
21266
|
+
_module_titel: string;
|
|
21267
|
+
_ontbrekende_contracten?: string[];
|
|
21268
|
+
_samenvatting?: string;
|
|
21269
|
+
};
|
|
21270
|
+
Returns: number;
|
|
21271
|
+
};
|
|
21272
|
+
handover_publish_via_token: {
|
|
21273
|
+
Args: {
|
|
21274
|
+
_bevindingen?: string;
|
|
21275
|
+
_bezit_tabellen?: string[];
|
|
21276
|
+
_conflicten_snapshot?: import("./types").Json;
|
|
21277
|
+
_contractfuncties?: string[];
|
|
21278
|
+
_inhoud_md: string;
|
|
21279
|
+
_module_id: string;
|
|
21280
|
+
_module_titel: string;
|
|
21281
|
+
_ontbrekende_contracten?: string[];
|
|
21282
|
+
_samenvatting?: string;
|
|
21283
|
+
_token_hash: string;
|
|
21284
|
+
};
|
|
21285
|
+
Returns: number;
|
|
21286
|
+
};
|
|
21287
|
+
handover_status: {
|
|
21288
|
+
Args: never;
|
|
21289
|
+
Returns: import("./types").Json;
|
|
21290
|
+
};
|
|
21291
|
+
handover_synonym_kern: {
|
|
21292
|
+
Args: {
|
|
21293
|
+
_naam: string;
|
|
21294
|
+
};
|
|
21295
|
+
Returns: string;
|
|
21296
|
+
};
|
|
21297
|
+
handover_token_intrekken: {
|
|
21298
|
+
Args: {
|
|
21299
|
+
_id: string;
|
|
21300
|
+
};
|
|
21301
|
+
Returns: boolean;
|
|
21302
|
+
};
|
|
21303
|
+
handover_token_lijst: {
|
|
21304
|
+
Args: never;
|
|
21305
|
+
Returns: import("./types").Json;
|
|
21306
|
+
};
|
|
21307
|
+
handover_token_maken: {
|
|
21308
|
+
Args: {
|
|
21309
|
+
_label?: string;
|
|
21310
|
+
_module_id: string;
|
|
21311
|
+
};
|
|
21312
|
+
Returns: string;
|
|
21313
|
+
};
|
|
21314
|
+
handover_update: {
|
|
21315
|
+
Args: {
|
|
21316
|
+
_bezit_tabellen?: string[];
|
|
21317
|
+
_contractfuncties?: string[];
|
|
21318
|
+
_herzieningstermijn_dagen?: number;
|
|
21319
|
+
_inhoud_md?: string;
|
|
21320
|
+
_module_id: string;
|
|
21321
|
+
_module_titel?: string;
|
|
21322
|
+
_samenvatting?: string;
|
|
21323
|
+
_versie: number;
|
|
21324
|
+
};
|
|
21325
|
+
Returns: boolean;
|
|
21326
|
+
} | {
|
|
21327
|
+
Args: {
|
|
21328
|
+
_bevindingen?: string;
|
|
21329
|
+
_bezit_tabellen?: string[];
|
|
21330
|
+
_contractfuncties?: string[];
|
|
21331
|
+
_herzieningstermijn_dagen?: number;
|
|
21332
|
+
_inhoud_md?: string;
|
|
21333
|
+
_module_id: string;
|
|
21334
|
+
_module_titel?: string;
|
|
21335
|
+
_ontbrekende_contracten?: string[];
|
|
21336
|
+
_samenvatting?: string;
|
|
21337
|
+
_versie: number;
|
|
21338
|
+
};
|
|
21339
|
+
Returns: boolean;
|
|
21340
|
+
};
|
|
21341
|
+
handover_versies: {
|
|
21342
|
+
Args: {
|
|
21343
|
+
_module_id: string;
|
|
21344
|
+
};
|
|
21345
|
+
Returns: import("./types").Json;
|
|
21346
|
+
};
|
|
21131
21347
|
has_module_permission: {
|
|
21132
21348
|
Args: {
|
|
21133
21349
|
_min: string;
|
|
@@ -21147,6 +21363,25 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
21147
21363
|
Args: never;
|
|
21148
21364
|
Returns: boolean;
|
|
21149
21365
|
};
|
|
21366
|
+
instructie_get: {
|
|
21367
|
+
Args: {
|
|
21368
|
+
_sleutel: string;
|
|
21369
|
+
};
|
|
21370
|
+
Returns: import("./types").Json;
|
|
21371
|
+
};
|
|
21372
|
+
instructie_list: {
|
|
21373
|
+
Args: never;
|
|
21374
|
+
Returns: import("./types").Json;
|
|
21375
|
+
};
|
|
21376
|
+
instructie_publish: {
|
|
21377
|
+
Args: {
|
|
21378
|
+
_inhoud_md: string;
|
|
21379
|
+
_sleutel: string;
|
|
21380
|
+
_titel: string;
|
|
21381
|
+
_toelichting?: string;
|
|
21382
|
+
};
|
|
21383
|
+
Returns: number;
|
|
21384
|
+
};
|
|
21150
21385
|
invoice_create_from_source: {
|
|
21151
21386
|
Args: {
|
|
21152
21387
|
_payload?: import("./types").Json;
|
|
@@ -21371,6 +21606,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
21371
21606
|
};
|
|
21372
21607
|
Returns: boolean;
|
|
21373
21608
|
};
|
|
21609
|
+
logistics_barcode_lookup: {
|
|
21610
|
+
Args: {
|
|
21611
|
+
p_barcode: string;
|
|
21612
|
+
};
|
|
21613
|
+
Returns: import("./types").Json;
|
|
21614
|
+
};
|
|
21374
21615
|
logistics_buffer_criteria: {
|
|
21375
21616
|
Args: {
|
|
21376
21617
|
p_settings: import("./types").Json;
|
|
@@ -21407,6 +21648,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
21407
21648
|
};
|
|
21408
21649
|
Returns: number;
|
|
21409
21650
|
};
|
|
21651
|
+
logistics_cancel_orphan_tasks: {
|
|
21652
|
+
Args: never;
|
|
21653
|
+
Returns: number;
|
|
21654
|
+
};
|
|
21410
21655
|
logistics_capacity_day_check: {
|
|
21411
21656
|
Args: {
|
|
21412
21657
|
p_from?: string;
|
|
@@ -21427,6 +21672,41 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
21427
21672
|
};
|
|
21428
21673
|
Returns: number;
|
|
21429
21674
|
};
|
|
21675
|
+
logistics_cart_barcode_value: {
|
|
21676
|
+
Args: {
|
|
21677
|
+
_cart_id: string;
|
|
21678
|
+
};
|
|
21679
|
+
Returns: string;
|
|
21680
|
+
};
|
|
21681
|
+
logistics_cart_index: {
|
|
21682
|
+
Args: {
|
|
21683
|
+
p_from?: string;
|
|
21684
|
+
p_to?: string;
|
|
21685
|
+
};
|
|
21686
|
+
Returns: {
|
|
21687
|
+
cart_id: string;
|
|
21688
|
+
cart_index: number;
|
|
21689
|
+
cart_label: string;
|
|
21690
|
+
delivery_date: string;
|
|
21691
|
+
is_announced: boolean;
|
|
21692
|
+
is_controlled: boolean;
|
|
21693
|
+
is_printed: boolean;
|
|
21694
|
+
is_shared: boolean;
|
|
21695
|
+
order_number: string;
|
|
21696
|
+
order_source: string;
|
|
21697
|
+
order_uuid: string;
|
|
21698
|
+
pick_date: string;
|
|
21699
|
+
printed_at: string;
|
|
21700
|
+
shifted: boolean;
|
|
21701
|
+
task_status: string;
|
|
21702
|
+
}[];
|
|
21703
|
+
};
|
|
21704
|
+
logistics_cart_slip_plan: {
|
|
21705
|
+
Args: {
|
|
21706
|
+
p_order_id: string;
|
|
21707
|
+
};
|
|
21708
|
+
Returns: import("./types").Json;
|
|
21709
|
+
};
|
|
21430
21710
|
logistics_check_order_allowed: {
|
|
21431
21711
|
Args: {
|
|
21432
21712
|
p_lines: import("./types").Json;
|
|
@@ -21575,6 +21855,21 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
21575
21855
|
isSetofReturn: false;
|
|
21576
21856
|
};
|
|
21577
21857
|
};
|
|
21858
|
+
logistics_consistency_check: {
|
|
21859
|
+
Args: never;
|
|
21860
|
+
Returns: {
|
|
21861
|
+
agenda_carts: number;
|
|
21862
|
+
announced_carts: number;
|
|
21863
|
+
control_carts: number;
|
|
21864
|
+
delivery_carts: number;
|
|
21865
|
+
ok: boolean;
|
|
21866
|
+
orphan_tasks: number;
|
|
21867
|
+
pick_date: string;
|
|
21868
|
+
raw_carts: number;
|
|
21869
|
+
sales_carts: number;
|
|
21870
|
+
station_carts: number;
|
|
21871
|
+
}[];
|
|
21872
|
+
};
|
|
21578
21873
|
logistics_delay_customer_email: {
|
|
21579
21874
|
Args: {
|
|
21580
21875
|
p_customer: string;
|
|
@@ -21588,12 +21883,35 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
21588
21883
|
subject: string;
|
|
21589
21884
|
}[];
|
|
21590
21885
|
};
|
|
21886
|
+
logistics_delivery_agenda: {
|
|
21887
|
+
Args: {
|
|
21888
|
+
p_from?: string;
|
|
21889
|
+
p_to?: string;
|
|
21890
|
+
};
|
|
21891
|
+
Returns: {
|
|
21892
|
+
announced_count: number;
|
|
21893
|
+
cart_count: number;
|
|
21894
|
+
controlled_count: number;
|
|
21895
|
+
delivery_date: string;
|
|
21896
|
+
order_count: number;
|
|
21897
|
+
orders: import("./types").Json;
|
|
21898
|
+
plant_count: number;
|
|
21899
|
+
printed_count: number;
|
|
21900
|
+
}[];
|
|
21901
|
+
};
|
|
21591
21902
|
logistics_document_layout: {
|
|
21592
21903
|
Args: {
|
|
21593
21904
|
_document_code: string;
|
|
21594
21905
|
};
|
|
21595
21906
|
Returns: import("./types").Json;
|
|
21596
21907
|
};
|
|
21908
|
+
logistics_document_layout_v2: {
|
|
21909
|
+
Args: {
|
|
21910
|
+
_document_code: string;
|
|
21911
|
+
_is_partial?: boolean;
|
|
21912
|
+
};
|
|
21913
|
+
Returns: import("./types").Json;
|
|
21914
|
+
};
|
|
21597
21915
|
logistics_document_station: {
|
|
21598
21916
|
Args: {
|
|
21599
21917
|
_document_code: string;
|
|
@@ -21619,6 +21937,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
21619
21937
|
};
|
|
21620
21938
|
Returns: import("./types").Json;
|
|
21621
21939
|
};
|
|
21940
|
+
logistics_ensure_cart_barcode: {
|
|
21941
|
+
Args: {
|
|
21942
|
+
_cart_id: string;
|
|
21943
|
+
};
|
|
21944
|
+
Returns: string;
|
|
21945
|
+
};
|
|
21622
21946
|
logistics_fail_task: {
|
|
21623
21947
|
Args: {
|
|
21624
21948
|
p_error: string;
|
|
@@ -21664,6 +21988,16 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
21664
21988
|
isSetofReturn: false;
|
|
21665
21989
|
};
|
|
21666
21990
|
};
|
|
21991
|
+
logistics_floriday_cart_plan: {
|
|
21992
|
+
Args: {
|
|
21993
|
+
p_order_id: string;
|
|
21994
|
+
};
|
|
21995
|
+
Returns: {
|
|
21996
|
+
carrier_type: string;
|
|
21997
|
+
idx: number;
|
|
21998
|
+
packages: number;
|
|
21999
|
+
}[];
|
|
22000
|
+
};
|
|
21667
22001
|
logistics_floriday_claim_pushes: {
|
|
21668
22002
|
Args: {
|
|
21669
22003
|
_lease_seconds?: number;
|
|
@@ -21768,6 +22102,25 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
21768
22102
|
};
|
|
21769
22103
|
Returns: number;
|
|
21770
22104
|
};
|
|
22105
|
+
logistics_order_overview: {
|
|
22106
|
+
Args: {
|
|
22107
|
+
p_from?: string;
|
|
22108
|
+
p_to?: string;
|
|
22109
|
+
};
|
|
22110
|
+
Returns: {
|
|
22111
|
+
cart_count: number;
|
|
22112
|
+
customer_name: string;
|
|
22113
|
+
delivery_date: string;
|
|
22114
|
+
order_number: string;
|
|
22115
|
+
order_source: string;
|
|
22116
|
+
order_uuid: string;
|
|
22117
|
+
pick_date: string;
|
|
22118
|
+
plant_count: number;
|
|
22119
|
+
printed_at: string;
|
|
22120
|
+
shifted: boolean;
|
|
22121
|
+
status: string;
|
|
22122
|
+
}[];
|
|
22123
|
+
};
|
|
21771
22124
|
logistics_order_pick_day: {
|
|
21772
22125
|
Args: {
|
|
21773
22126
|
p_order_ref: string;
|
|
@@ -21780,6 +22133,22 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
21780
22133
|
};
|
|
21781
22134
|
Returns: string;
|
|
21782
22135
|
};
|
|
22136
|
+
logistics_pick_agenda: {
|
|
22137
|
+
Args: {
|
|
22138
|
+
p_from?: string;
|
|
22139
|
+
p_to?: string;
|
|
22140
|
+
};
|
|
22141
|
+
Returns: {
|
|
22142
|
+
cart_count: number;
|
|
22143
|
+
in_preparation: number;
|
|
22144
|
+
order_count: number;
|
|
22145
|
+
orders: import("./types").Json;
|
|
22146
|
+
pick_date: string;
|
|
22147
|
+
plant_count: number;
|
|
22148
|
+
ready: number;
|
|
22149
|
+
shifted_count: number;
|
|
22150
|
+
}[];
|
|
22151
|
+
};
|
|
21783
22152
|
logistics_pick_email_purpose: {
|
|
21784
22153
|
Args: never;
|
|
21785
22154
|
Returns: string;
|
|
@@ -21834,6 +22203,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
21834
22203
|
};
|
|
21835
22204
|
Returns: undefined;
|
|
21836
22205
|
};
|
|
22206
|
+
logistics_plan_floriday_order: {
|
|
22207
|
+
Args: {
|
|
22208
|
+
p_buffer_id?: string;
|
|
22209
|
+
p_order_id: string;
|
|
22210
|
+
};
|
|
22211
|
+
Returns: number;
|
|
22212
|
+
};
|
|
21837
22213
|
logistics_plan_impact_orders: {
|
|
21838
22214
|
Args: {
|
|
21839
22215
|
p_order_id: string;
|
|
@@ -21939,6 +22315,15 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
21939
22315
|
};
|
|
21940
22316
|
Returns: import("./types").Json;
|
|
21941
22317
|
};
|
|
22318
|
+
logistics_resolve_pick_document: {
|
|
22319
|
+
Args: {
|
|
22320
|
+
_is_herprint: boolean;
|
|
22321
|
+
_queue_item_id: string;
|
|
22322
|
+
_session_id: string;
|
|
22323
|
+
_voorbeeld: boolean;
|
|
22324
|
+
};
|
|
22325
|
+
Returns: import("./types").Json;
|
|
22326
|
+
};
|
|
21942
22327
|
logistics_resolve_settings: {
|
|
21943
22328
|
Args: {
|
|
21944
22329
|
p_config_id: string;
|
|
@@ -22018,6 +22403,14 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
22018
22403
|
};
|
|
22019
22404
|
Returns: string;
|
|
22020
22405
|
};
|
|
22406
|
+
logistics_shipping_note_from_barcode: {
|
|
22407
|
+
Args: {
|
|
22408
|
+
p_allow_reprint?: boolean;
|
|
22409
|
+
p_barcode: string;
|
|
22410
|
+
p_station_id?: string;
|
|
22411
|
+
};
|
|
22412
|
+
Returns: import("./types").Json;
|
|
22413
|
+
};
|
|
22021
22414
|
logistics_supersede_stale_tasks: {
|
|
22022
22415
|
Args: {
|
|
22023
22416
|
p_keep: string[];
|
|
@@ -22239,6 +22632,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
22239
22632
|
print_job_id: string | null;
|
|
22240
22633
|
printed_at: string | null;
|
|
22241
22634
|
printed_by: string | null;
|
|
22635
|
+
printed_cart_ids: import("./types").Json;
|
|
22242
22636
|
printer_id: string | null;
|
|
22243
22637
|
priority: number;
|
|
22244
22638
|
reference: string | null;
|
|
@@ -22288,6 +22682,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
22288
22682
|
print_job_id: string | null;
|
|
22289
22683
|
printed_at: string | null;
|
|
22290
22684
|
printed_by: string | null;
|
|
22685
|
+
printed_cart_ids: import("./types").Json;
|
|
22291
22686
|
printer_id: string | null;
|
|
22292
22687
|
priority: number;
|
|
22293
22688
|
reference: string | null;
|
|
@@ -22342,6 +22737,56 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
22342
22737
|
print_job_id: string | null;
|
|
22343
22738
|
printed_at: string | null;
|
|
22344
22739
|
printed_by: string | null;
|
|
22740
|
+
printed_cart_ids: import("./types").Json;
|
|
22741
|
+
printer_id: string | null;
|
|
22742
|
+
priority: number;
|
|
22743
|
+
reference: string | null;
|
|
22744
|
+
route: string | null;
|
|
22745
|
+
screen_id: string | null;
|
|
22746
|
+
station_id: string | null;
|
|
22747
|
+
status_id: string | null;
|
|
22748
|
+
updated_at: string;
|
|
22749
|
+
warnings: import("./types").Json;
|
|
22750
|
+
};
|
|
22751
|
+
SetofOptions: {
|
|
22752
|
+
from: "*";
|
|
22753
|
+
to: "pick_queue";
|
|
22754
|
+
isOneToOne: true;
|
|
22755
|
+
isSetofReturn: false;
|
|
22756
|
+
};
|
|
22757
|
+
};
|
|
22758
|
+
pick_complete_print_cart: {
|
|
22759
|
+
Args: {
|
|
22760
|
+
_cart_id: string;
|
|
22761
|
+
_printer_id: string;
|
|
22762
|
+
_queue_item_id: string;
|
|
22763
|
+
_session_id: string;
|
|
22764
|
+
};
|
|
22765
|
+
Returns: {
|
|
22766
|
+
announced_at: string;
|
|
22767
|
+
assigned_user_id: string | null;
|
|
22768
|
+
barcode: string | null;
|
|
22769
|
+
cancelled_at: string | null;
|
|
22770
|
+
cart_count: number;
|
|
22771
|
+
completed_at: string | null;
|
|
22772
|
+
country_code: string | null;
|
|
22773
|
+
created_at: string;
|
|
22774
|
+
customer_name: string | null;
|
|
22775
|
+
delivery_address: string | null;
|
|
22776
|
+
document_number: string | null;
|
|
22777
|
+
document_type_id: string | null;
|
|
22778
|
+
due_at: string | null;
|
|
22779
|
+
id: string;
|
|
22780
|
+
is_urgent: boolean;
|
|
22781
|
+
line_count: number;
|
|
22782
|
+
order_number: string | null;
|
|
22783
|
+
order_type: string | null;
|
|
22784
|
+
payload: import("./types").Json;
|
|
22785
|
+
print_count: number;
|
|
22786
|
+
print_job_id: string | null;
|
|
22787
|
+
printed_at: string | null;
|
|
22788
|
+
printed_by: string | null;
|
|
22789
|
+
printed_cart_ids: import("./types").Json;
|
|
22345
22790
|
printer_id: string | null;
|
|
22346
22791
|
priority: number;
|
|
22347
22792
|
reference: string | null;
|
|
@@ -22385,6 +22830,15 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
22385
22830
|
_session_id?: string;
|
|
22386
22831
|
};
|
|
22387
22832
|
Returns: string;
|
|
22833
|
+
} | {
|
|
22834
|
+
Args: {
|
|
22835
|
+
_cart_id: string;
|
|
22836
|
+
_is_herprint: boolean;
|
|
22837
|
+
_printer_id: string;
|
|
22838
|
+
_queue_item_id: string;
|
|
22839
|
+
_session_id: string;
|
|
22840
|
+
};
|
|
22841
|
+
Returns: string;
|
|
22388
22842
|
};
|
|
22389
22843
|
pick_order_context: {
|
|
22390
22844
|
Args: {
|
|
@@ -22393,6 +22847,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
22393
22847
|
};
|
|
22394
22848
|
Returns: import("./types").Json;
|
|
22395
22849
|
};
|
|
22850
|
+
pick_preview_job: {
|
|
22851
|
+
Args: {
|
|
22852
|
+
_queue_item_id: string;
|
|
22853
|
+
_station_slug: string;
|
|
22854
|
+
};
|
|
22855
|
+
Returns: import("./types").Json;
|
|
22856
|
+
};
|
|
22396
22857
|
pick_print_job_status: {
|
|
22397
22858
|
Args: {
|
|
22398
22859
|
_job_id: string;
|
|
@@ -22458,6 +22919,54 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
22458
22919
|
print_job_id: string | null;
|
|
22459
22920
|
printed_at: string | null;
|
|
22460
22921
|
printed_by: string | null;
|
|
22922
|
+
printed_cart_ids: import("./types").Json;
|
|
22923
|
+
printer_id: string | null;
|
|
22924
|
+
priority: number;
|
|
22925
|
+
reference: string | null;
|
|
22926
|
+
route: string | null;
|
|
22927
|
+
screen_id: string | null;
|
|
22928
|
+
station_id: string | null;
|
|
22929
|
+
status_id: string | null;
|
|
22930
|
+
updated_at: string;
|
|
22931
|
+
warnings: import("./types").Json;
|
|
22932
|
+
};
|
|
22933
|
+
SetofOptions: {
|
|
22934
|
+
from: "*";
|
|
22935
|
+
to: "pick_queue";
|
|
22936
|
+
isOneToOne: true;
|
|
22937
|
+
isSetofReturn: false;
|
|
22938
|
+
};
|
|
22939
|
+
} | {
|
|
22940
|
+
Args: {
|
|
22941
|
+
_cart_id?: string;
|
|
22942
|
+
_queue_item_id: string;
|
|
22943
|
+
_session_id: string;
|
|
22944
|
+
};
|
|
22945
|
+
Returns: {
|
|
22946
|
+
announced_at: string;
|
|
22947
|
+
assigned_user_id: string | null;
|
|
22948
|
+
barcode: string | null;
|
|
22949
|
+
cancelled_at: string | null;
|
|
22950
|
+
cart_count: number;
|
|
22951
|
+
completed_at: string | null;
|
|
22952
|
+
country_code: string | null;
|
|
22953
|
+
created_at: string;
|
|
22954
|
+
customer_name: string | null;
|
|
22955
|
+
delivery_address: string | null;
|
|
22956
|
+
document_number: string | null;
|
|
22957
|
+
document_type_id: string | null;
|
|
22958
|
+
due_at: string | null;
|
|
22959
|
+
id: string;
|
|
22960
|
+
is_urgent: boolean;
|
|
22961
|
+
line_count: number;
|
|
22962
|
+
order_number: string | null;
|
|
22963
|
+
order_type: string | null;
|
|
22964
|
+
payload: import("./types").Json;
|
|
22965
|
+
print_count: number;
|
|
22966
|
+
print_job_id: string | null;
|
|
22967
|
+
printed_at: string | null;
|
|
22968
|
+
printed_by: string | null;
|
|
22969
|
+
printed_cart_ids: import("./types").Json;
|
|
22461
22970
|
printer_id: string | null;
|
|
22462
22971
|
priority: number;
|
|
22463
22972
|
reference: string | null;
|
|
@@ -22570,6 +23079,66 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
22570
23079
|
};
|
|
22571
23080
|
Returns: undefined;
|
|
22572
23081
|
};
|
|
23082
|
+
planning_cancel_item: {
|
|
23083
|
+
Args: {
|
|
23084
|
+
_id: string;
|
|
23085
|
+
};
|
|
23086
|
+
Returns: undefined;
|
|
23087
|
+
};
|
|
23088
|
+
planning_list: {
|
|
23089
|
+
Args: {
|
|
23090
|
+
_from: string;
|
|
23091
|
+
_to: string;
|
|
23092
|
+
};
|
|
23093
|
+
Returns: {
|
|
23094
|
+
assigned_monteur_id: string | null;
|
|
23095
|
+
assistants: import("./types").Json | null;
|
|
23096
|
+
budget_mandate_cents: number | null;
|
|
23097
|
+
created_at: string | null;
|
|
23098
|
+
created_by: string | null;
|
|
23099
|
+
customer_id: string | null;
|
|
23100
|
+
customer_name: string | null;
|
|
23101
|
+
duration_minutes: number | null;
|
|
23102
|
+
end_at: string | null;
|
|
23103
|
+
id: string | null;
|
|
23104
|
+
needs_detail_review: boolean | null;
|
|
23105
|
+
notes: string | null;
|
|
23106
|
+
project_number: string | null;
|
|
23107
|
+
review_reasons: string[] | null;
|
|
23108
|
+
start_at: string | null;
|
|
23109
|
+
status: Database["public"]["Enums"]["planning_item_status"] | null;
|
|
23110
|
+
updated_at: string | null;
|
|
23111
|
+
viewer_role: string | null;
|
|
23112
|
+
werkbon_id: string | null;
|
|
23113
|
+
work_address: string | null;
|
|
23114
|
+
}[];
|
|
23115
|
+
SetofOptions: {
|
|
23116
|
+
from: "*";
|
|
23117
|
+
to: "planning_overview";
|
|
23118
|
+
isOneToOne: false;
|
|
23119
|
+
isSetofReturn: true;
|
|
23120
|
+
};
|
|
23121
|
+
};
|
|
23122
|
+
planning_set_assistants: {
|
|
23123
|
+
Args: {
|
|
23124
|
+
_monteur_ids: string[];
|
|
23125
|
+
_planning_item_id: string;
|
|
23126
|
+
};
|
|
23127
|
+
Returns: undefined;
|
|
23128
|
+
};
|
|
23129
|
+
planning_upsert_item: {
|
|
23130
|
+
Args: {
|
|
23131
|
+
_assigned_monteur_id: string;
|
|
23132
|
+
_end_at: string;
|
|
23133
|
+
_notes?: string;
|
|
23134
|
+
_start_at: string;
|
|
23135
|
+
_werkbon_id: string;
|
|
23136
|
+
};
|
|
23137
|
+
Returns: {
|
|
23138
|
+
action: string;
|
|
23139
|
+
id: string;
|
|
23140
|
+
}[];
|
|
23141
|
+
};
|
|
22573
23142
|
print_preview_toestaan: {
|
|
22574
23143
|
Args: {
|
|
22575
23144
|
_max?: number;
|
|
@@ -22742,6 +23311,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
22742
23311
|
};
|
|
22743
23312
|
Returns: string;
|
|
22744
23313
|
};
|
|
23314
|
+
resolve_print_job_printer_id: {
|
|
23315
|
+
Args: {
|
|
23316
|
+
_job: Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
23317
|
+
};
|
|
23318
|
+
Returns: string;
|
|
23319
|
+
};
|
|
22745
23320
|
resolve_product_id_for_item: {
|
|
22746
23321
|
Args: {
|
|
22747
23322
|
p_product_name: string;
|
|
@@ -23145,6 +23720,26 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
23145
23720
|
};
|
|
23146
23721
|
Returns: string[];
|
|
23147
23722
|
};
|
|
23723
|
+
start_time_log_at: {
|
|
23724
|
+
Args: {
|
|
23725
|
+
p_clicked_at?: string;
|
|
23726
|
+
p_employee_id: string;
|
|
23727
|
+
p_start_lat?: number;
|
|
23728
|
+
p_start_lng?: number;
|
|
23729
|
+
p_type: string;
|
|
23730
|
+
p_work_order_id?: string;
|
|
23731
|
+
};
|
|
23732
|
+
Returns: import("./types").Json;
|
|
23733
|
+
};
|
|
23734
|
+
stop_time_log: {
|
|
23735
|
+
Args: {
|
|
23736
|
+
p_employee_id: string;
|
|
23737
|
+
p_end_lat?: number;
|
|
23738
|
+
p_end_lng?: number;
|
|
23739
|
+
p_end_time: string;
|
|
23740
|
+
};
|
|
23741
|
+
Returns: import("./types").Json;
|
|
23742
|
+
};
|
|
23148
23743
|
switch_time_log: {
|
|
23149
23744
|
Args: {
|
|
23150
23745
|
p_employee_id: string;
|
|
@@ -23333,6 +23928,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
23333
23928
|
};
|
|
23334
23929
|
CompositeTypes: { [_ in never]: never; };
|
|
23335
23930
|
}, {
|
|
23336
|
-
PostgrestVersion: "14.
|
|
23931
|
+
PostgrestVersion: "14.5";
|
|
23337
23932
|
}>;
|
|
23338
23933
|
//# sourceMappingURL=moduleClient.d.ts.map
|