@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
|
@@ -3,7 +3,7 @@ export type Json = string | number | boolean | null | {
|
|
|
3
3
|
} | Json[];
|
|
4
4
|
export type Database = {
|
|
5
5
|
__InternalSupabase: {
|
|
6
|
-
PostgrestVersion: "14.
|
|
6
|
+
PostgrestVersion: "14.5";
|
|
7
7
|
};
|
|
8
8
|
public: {
|
|
9
9
|
Tables: {
|
|
@@ -2911,6 +2911,86 @@ export type Database = {
|
|
|
2911
2911
|
};
|
|
2912
2912
|
Relationships: [];
|
|
2913
2913
|
};
|
|
2914
|
+
delivery_notes: {
|
|
2915
|
+
Row: {
|
|
2916
|
+
byte_size: number | null;
|
|
2917
|
+
connection_id: string | null;
|
|
2918
|
+
content_type: string;
|
|
2919
|
+
created_at: string;
|
|
2920
|
+
error_message: string | null;
|
|
2921
|
+
fetched_at: string | null;
|
|
2922
|
+
fulfillment_order_id: string | null;
|
|
2923
|
+
http_status: number | null;
|
|
2924
|
+
id: string;
|
|
2925
|
+
label_code: string | null;
|
|
2926
|
+
letter: string | null;
|
|
2927
|
+
load_carrier_index: number | null;
|
|
2928
|
+
load_carrier_type: string | null;
|
|
2929
|
+
order_id: string | null;
|
|
2930
|
+
order_number: string | null;
|
|
2931
|
+
packages: number | null;
|
|
2932
|
+
source: string;
|
|
2933
|
+
status: string;
|
|
2934
|
+
storage_bucket: string;
|
|
2935
|
+
storage_path: string | null;
|
|
2936
|
+
updated_at: string;
|
|
2937
|
+
};
|
|
2938
|
+
Insert: {
|
|
2939
|
+
byte_size?: number | null;
|
|
2940
|
+
connection_id?: string | null;
|
|
2941
|
+
content_type?: string;
|
|
2942
|
+
created_at?: string;
|
|
2943
|
+
error_message?: string | null;
|
|
2944
|
+
fetched_at?: string | null;
|
|
2945
|
+
fulfillment_order_id?: string | null;
|
|
2946
|
+
http_status?: number | null;
|
|
2947
|
+
id?: string;
|
|
2948
|
+
label_code?: string | null;
|
|
2949
|
+
letter?: string | null;
|
|
2950
|
+
load_carrier_index?: number | null;
|
|
2951
|
+
load_carrier_type?: string | null;
|
|
2952
|
+
order_id?: string | null;
|
|
2953
|
+
order_number?: string | null;
|
|
2954
|
+
packages?: number | null;
|
|
2955
|
+
source?: string;
|
|
2956
|
+
status?: string;
|
|
2957
|
+
storage_bucket?: string;
|
|
2958
|
+
storage_path?: string | null;
|
|
2959
|
+
updated_at?: string;
|
|
2960
|
+
};
|
|
2961
|
+
Update: {
|
|
2962
|
+
byte_size?: number | null;
|
|
2963
|
+
connection_id?: string | null;
|
|
2964
|
+
content_type?: string;
|
|
2965
|
+
created_at?: string;
|
|
2966
|
+
error_message?: string | null;
|
|
2967
|
+
fetched_at?: string | null;
|
|
2968
|
+
fulfillment_order_id?: string | null;
|
|
2969
|
+
http_status?: number | null;
|
|
2970
|
+
id?: string;
|
|
2971
|
+
label_code?: string | null;
|
|
2972
|
+
letter?: string | null;
|
|
2973
|
+
load_carrier_index?: number | null;
|
|
2974
|
+
load_carrier_type?: string | null;
|
|
2975
|
+
order_id?: string | null;
|
|
2976
|
+
order_number?: string | null;
|
|
2977
|
+
packages?: number | null;
|
|
2978
|
+
source?: string;
|
|
2979
|
+
status?: string;
|
|
2980
|
+
storage_bucket?: string;
|
|
2981
|
+
storage_path?: string | null;
|
|
2982
|
+
updated_at?: string;
|
|
2983
|
+
};
|
|
2984
|
+
Relationships: [
|
|
2985
|
+
{
|
|
2986
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
2987
|
+
columns: ["order_id"];
|
|
2988
|
+
isOneToOne: false;
|
|
2989
|
+
referencedRelation: "orders";
|
|
2990
|
+
referencedColumns: ["id"];
|
|
2991
|
+
}
|
|
2992
|
+
];
|
|
2993
|
+
};
|
|
2914
2994
|
document_bronregels: {
|
|
2915
2995
|
Row: {
|
|
2916
2996
|
bron: string;
|
|
@@ -6048,10 +6128,7 @@ export type Database = {
|
|
|
6048
6128
|
};
|
|
6049
6129
|
floriday_connections: {
|
|
6050
6130
|
Row: {
|
|
6051
|
-
access_token: string | null;
|
|
6052
6131
|
api_key: string;
|
|
6053
|
-
client_id: string;
|
|
6054
|
-
client_secret: string;
|
|
6055
6132
|
created_at: string;
|
|
6056
6133
|
customers_endpoint: string | null;
|
|
6057
6134
|
environment: string;
|
|
@@ -6066,10 +6143,7 @@ export type Database = {
|
|
|
6066
6143
|
updated_at: string;
|
|
6067
6144
|
};
|
|
6068
6145
|
Insert: {
|
|
6069
|
-
access_token?: string | null;
|
|
6070
6146
|
api_key: string;
|
|
6071
|
-
client_id: string;
|
|
6072
|
-
client_secret: string;
|
|
6073
6147
|
created_at?: string;
|
|
6074
6148
|
customers_endpoint?: string | null;
|
|
6075
6149
|
environment: string;
|
|
@@ -6084,10 +6158,7 @@ export type Database = {
|
|
|
6084
6158
|
updated_at?: string;
|
|
6085
6159
|
};
|
|
6086
6160
|
Update: {
|
|
6087
|
-
access_token?: string | null;
|
|
6088
6161
|
api_key?: string;
|
|
6089
|
-
client_id?: string;
|
|
6090
|
-
client_secret?: string;
|
|
6091
6162
|
created_at?: string;
|
|
6092
6163
|
customers_endpoint?: string | null;
|
|
6093
6164
|
environment?: string;
|
|
@@ -6173,6 +6244,7 @@ export type Database = {
|
|
|
6173
6244
|
attempts: number;
|
|
6174
6245
|
connection_id: string;
|
|
6175
6246
|
created_at: string;
|
|
6247
|
+
dead_lettered_at: string | null;
|
|
6176
6248
|
desired_available: boolean | null;
|
|
6177
6249
|
gateway_attempt_id: string | null;
|
|
6178
6250
|
id: string;
|
|
@@ -6181,9 +6253,13 @@ export type Database = {
|
|
|
6181
6253
|
locked_by: string | null;
|
|
6182
6254
|
next_attempt_at: string;
|
|
6183
6255
|
number_of_pieces: number;
|
|
6256
|
+
product_id: string | null;
|
|
6184
6257
|
sent_at: string | null;
|
|
6185
6258
|
status: string;
|
|
6259
|
+
stock_mode: string | null;
|
|
6186
6260
|
superseded_by: string | null;
|
|
6261
|
+
target_week: number | null;
|
|
6262
|
+
target_year: number | null;
|
|
6187
6263
|
trade_item_id: string;
|
|
6188
6264
|
updated_at: string;
|
|
6189
6265
|
user_id: string;
|
|
@@ -6192,6 +6268,7 @@ export type Database = {
|
|
|
6192
6268
|
attempts?: number;
|
|
6193
6269
|
connection_id: string;
|
|
6194
6270
|
created_at?: string;
|
|
6271
|
+
dead_lettered_at?: string | null;
|
|
6195
6272
|
desired_available?: boolean | null;
|
|
6196
6273
|
gateway_attempt_id?: string | null;
|
|
6197
6274
|
id?: string;
|
|
@@ -6200,9 +6277,13 @@ export type Database = {
|
|
|
6200
6277
|
locked_by?: string | null;
|
|
6201
6278
|
next_attempt_at?: string;
|
|
6202
6279
|
number_of_pieces?: number;
|
|
6280
|
+
product_id?: string | null;
|
|
6203
6281
|
sent_at?: string | null;
|
|
6204
6282
|
status?: string;
|
|
6283
|
+
stock_mode?: string | null;
|
|
6205
6284
|
superseded_by?: string | null;
|
|
6285
|
+
target_week?: number | null;
|
|
6286
|
+
target_year?: number | null;
|
|
6206
6287
|
trade_item_id: string;
|
|
6207
6288
|
updated_at?: string;
|
|
6208
6289
|
user_id: string;
|
|
@@ -6211,6 +6292,7 @@ export type Database = {
|
|
|
6211
6292
|
attempts?: number;
|
|
6212
6293
|
connection_id?: string;
|
|
6213
6294
|
created_at?: string;
|
|
6295
|
+
dead_lettered_at?: string | null;
|
|
6214
6296
|
desired_available?: boolean | null;
|
|
6215
6297
|
gateway_attempt_id?: string | null;
|
|
6216
6298
|
id?: string;
|
|
@@ -6219,9 +6301,13 @@ export type Database = {
|
|
|
6219
6301
|
locked_by?: string | null;
|
|
6220
6302
|
next_attempt_at?: string;
|
|
6221
6303
|
number_of_pieces?: number;
|
|
6304
|
+
product_id?: string | null;
|
|
6222
6305
|
sent_at?: string | null;
|
|
6223
6306
|
status?: string;
|
|
6307
|
+
stock_mode?: string | null;
|
|
6224
6308
|
superseded_by?: string | null;
|
|
6309
|
+
target_week?: number | null;
|
|
6310
|
+
target_year?: number | null;
|
|
6225
6311
|
trade_item_id?: string;
|
|
6226
6312
|
updated_at?: string;
|
|
6227
6313
|
user_id?: string;
|
|
@@ -6648,6 +6734,87 @@ export type Database = {
|
|
|
6648
6734
|
}
|
|
6649
6735
|
];
|
|
6650
6736
|
};
|
|
6737
|
+
floriday_inventory_settings: {
|
|
6738
|
+
Row: {
|
|
6739
|
+
buffer_quantity: number;
|
|
6740
|
+
connection_id: string;
|
|
6741
|
+
created_at: string;
|
|
6742
|
+
desired_availability: boolean;
|
|
6743
|
+
desired_quantity: number;
|
|
6744
|
+
fixed_quantity: number | null;
|
|
6745
|
+
floriday_trade_item_id: string | null;
|
|
6746
|
+
id: string;
|
|
6747
|
+
last_confirmed_at: string | null;
|
|
6748
|
+
last_enqueued_at: string | null;
|
|
6749
|
+
last_published_at: string | null;
|
|
6750
|
+
last_sync_error: string | null;
|
|
6751
|
+
manual_quantity: number | null;
|
|
6752
|
+
maximum_quantity: number | null;
|
|
6753
|
+
product_id: string;
|
|
6754
|
+
quantity_control: string;
|
|
6755
|
+
remote_available: boolean | null;
|
|
6756
|
+
remote_checked_at: string | null;
|
|
6757
|
+
remote_quantity: number | null;
|
|
6758
|
+
stock_mode: string;
|
|
6759
|
+
sync_status: string;
|
|
6760
|
+
updated_at: string;
|
|
6761
|
+
updated_by: string | null;
|
|
6762
|
+
user_id: string;
|
|
6763
|
+
};
|
|
6764
|
+
Insert: {
|
|
6765
|
+
buffer_quantity?: number;
|
|
6766
|
+
connection_id: string;
|
|
6767
|
+
created_at?: string;
|
|
6768
|
+
desired_availability?: boolean;
|
|
6769
|
+
desired_quantity?: number;
|
|
6770
|
+
fixed_quantity?: number | null;
|
|
6771
|
+
floriday_trade_item_id?: string | null;
|
|
6772
|
+
id?: string;
|
|
6773
|
+
last_confirmed_at?: string | null;
|
|
6774
|
+
last_enqueued_at?: string | null;
|
|
6775
|
+
last_published_at?: string | null;
|
|
6776
|
+
last_sync_error?: string | null;
|
|
6777
|
+
manual_quantity?: number | null;
|
|
6778
|
+
maximum_quantity?: number | null;
|
|
6779
|
+
product_id: string;
|
|
6780
|
+
quantity_control?: string;
|
|
6781
|
+
remote_available?: boolean | null;
|
|
6782
|
+
remote_checked_at?: string | null;
|
|
6783
|
+
remote_quantity?: number | null;
|
|
6784
|
+
stock_mode?: string;
|
|
6785
|
+
sync_status?: string;
|
|
6786
|
+
updated_at?: string;
|
|
6787
|
+
updated_by?: string | null;
|
|
6788
|
+
user_id: string;
|
|
6789
|
+
};
|
|
6790
|
+
Update: {
|
|
6791
|
+
buffer_quantity?: number;
|
|
6792
|
+
connection_id?: string;
|
|
6793
|
+
created_at?: string;
|
|
6794
|
+
desired_availability?: boolean;
|
|
6795
|
+
desired_quantity?: number;
|
|
6796
|
+
fixed_quantity?: number | null;
|
|
6797
|
+
floriday_trade_item_id?: string | null;
|
|
6798
|
+
id?: string;
|
|
6799
|
+
last_confirmed_at?: string | null;
|
|
6800
|
+
last_enqueued_at?: string | null;
|
|
6801
|
+
last_published_at?: string | null;
|
|
6802
|
+
last_sync_error?: string | null;
|
|
6803
|
+
manual_quantity?: number | null;
|
|
6804
|
+
maximum_quantity?: number | null;
|
|
6805
|
+
product_id?: string;
|
|
6806
|
+
quantity_control?: string;
|
|
6807
|
+
remote_available?: boolean | null;
|
|
6808
|
+
remote_checked_at?: string | null;
|
|
6809
|
+
remote_quantity?: number | null;
|
|
6810
|
+
stock_mode?: string;
|
|
6811
|
+
sync_status?: string;
|
|
6812
|
+
updated_at?: string;
|
|
6813
|
+
updated_by?: string | null;
|
|
6814
|
+
user_id?: string;
|
|
6815
|
+
};
|
|
6816
|
+
Relationships: [];
|
|
6817
|
+
};
|
|
6651
6818
|
floriday_invoices_cache: {
|
|
6652
6819
|
Row: {
|
|
6653
6820
|
buyer_organization_id: string | null;
|
|
@@ -6944,6 +7111,39 @@ export type Database = {
|
|
|
6944
7111
|
};
|
|
6945
7112
|
Relationships: [];
|
|
6946
7113
|
};
|
|
7114
|
+
floriday_sales_order_ingest: {
|
|
7115
|
+
Row: {
|
|
7116
|
+
connection_id: string;
|
|
7117
|
+
created_at: string;
|
|
7118
|
+
id: string;
|
|
7119
|
+
impact: Json;
|
|
7120
|
+
order_status: string | null;
|
|
7121
|
+
order_version: number;
|
|
7122
|
+
processed_at: string;
|
|
7123
|
+
sales_order_id: string;
|
|
7124
|
+
};
|
|
7125
|
+
Insert: {
|
|
7126
|
+
connection_id: string;
|
|
7127
|
+
created_at?: string;
|
|
7128
|
+
id?: string;
|
|
7129
|
+
impact?: Json;
|
|
7130
|
+
order_status?: string | null;
|
|
7131
|
+
order_version?: number;
|
|
7132
|
+
processed_at?: string;
|
|
7133
|
+
sales_order_id: string;
|
|
7134
|
+
};
|
|
7135
|
+
Update: {
|
|
7136
|
+
connection_id?: string;
|
|
7137
|
+
created_at?: string;
|
|
7138
|
+
id?: string;
|
|
7139
|
+
impact?: Json;
|
|
7140
|
+
order_status?: string | null;
|
|
7141
|
+
order_version?: number;
|
|
7142
|
+
processed_at?: string;
|
|
7143
|
+
sales_order_id?: string;
|
|
7144
|
+
};
|
|
7145
|
+
Relationships: [];
|
|
7146
|
+
};
|
|
6947
7147
|
floriday_sales_strategies_cache: {
|
|
6948
7148
|
Row: {
|
|
6949
7149
|
connection_id: string;
|
|
@@ -7047,6 +7247,39 @@ export type Database = {
|
|
|
7047
7247
|
};
|
|
7048
7248
|
Relationships: [];
|
|
7049
7249
|
};
|
|
7250
|
+
floriday_sync_cursors: {
|
|
7251
|
+
Row: {
|
|
7252
|
+
connection_id: string;
|
|
7253
|
+
created_at: string;
|
|
7254
|
+
id: string;
|
|
7255
|
+
last_error: string | null;
|
|
7256
|
+
last_sync_at: string | null;
|
|
7257
|
+
resource_type: string;
|
|
7258
|
+
sequence_number: number;
|
|
7259
|
+
updated_at: string;
|
|
7260
|
+
};
|
|
7261
|
+
Insert: {
|
|
7262
|
+
connection_id: string;
|
|
7263
|
+
created_at?: string;
|
|
7264
|
+
id?: string;
|
|
7265
|
+
last_error?: string | null;
|
|
7266
|
+
last_sync_at?: string | null;
|
|
7267
|
+
resource_type: string;
|
|
7268
|
+
sequence_number?: number;
|
|
7269
|
+
updated_at?: string;
|
|
7270
|
+
};
|
|
7271
|
+
Update: {
|
|
7272
|
+
connection_id?: string;
|
|
7273
|
+
created_at?: string;
|
|
7274
|
+
id?: string;
|
|
7275
|
+
last_error?: string | null;
|
|
7276
|
+
last_sync_at?: string | null;
|
|
7277
|
+
resource_type?: string;
|
|
7278
|
+
sequence_number?: number;
|
|
7279
|
+
updated_at?: string;
|
|
7280
|
+
};
|
|
7281
|
+
Relationships: [];
|
|
7282
|
+
};
|
|
7050
7283
|
floriday_sync_state: {
|
|
7051
7284
|
Row: {
|
|
7052
7285
|
connection_id: string;
|
|
@@ -7762,6 +7995,42 @@ export type Database = {
|
|
|
7762
7995
|
};
|
|
7763
7996
|
Relationships: [];
|
|
7764
7997
|
};
|
|
7998
|
+
inventory_stock_snapshots: {
|
|
7999
|
+
Row: {
|
|
8000
|
+
connection_id: string;
|
|
8001
|
+
created_at: string;
|
|
8002
|
+
erp_available_quantity: number;
|
|
8003
|
+
floriday_desired_quantity: number;
|
|
8004
|
+
floriday_remote_quantity: number | null;
|
|
8005
|
+
granularity: string;
|
|
8006
|
+
id: string;
|
|
8007
|
+
snapshot_at: string;
|
|
8008
|
+
user_id: string | null;
|
|
8009
|
+
};
|
|
8010
|
+
Insert: {
|
|
8011
|
+
connection_id: string;
|
|
8012
|
+
created_at?: string;
|
|
8013
|
+
erp_available_quantity?: number;
|
|
8014
|
+
floriday_desired_quantity?: number;
|
|
8015
|
+
floriday_remote_quantity?: number | null;
|
|
8016
|
+
granularity?: string;
|
|
8017
|
+
id?: string;
|
|
8018
|
+
snapshot_at?: string;
|
|
8019
|
+
user_id?: string | null;
|
|
8020
|
+
};
|
|
8021
|
+
Update: {
|
|
8022
|
+
connection_id?: string;
|
|
8023
|
+
created_at?: string;
|
|
8024
|
+
erp_available_quantity?: number;
|
|
8025
|
+
floriday_desired_quantity?: number;
|
|
8026
|
+
floriday_remote_quantity?: number | null;
|
|
8027
|
+
granularity?: string;
|
|
8028
|
+
id?: string;
|
|
8029
|
+
snapshot_at?: string;
|
|
8030
|
+
user_id?: string | null;
|
|
8031
|
+
};
|
|
8032
|
+
Relationships: [];
|
|
8033
|
+
};
|
|
7765
8034
|
invoice_items: {
|
|
7766
8035
|
Row: {
|
|
7767
8036
|
created_at: string;
|
|
@@ -8287,15 +8556,7 @@ export type Database = {
|
|
|
8287
8556
|
segment?: Database["public"]["Enums"]["itk_customer_segment"];
|
|
8288
8557
|
updated_at?: string;
|
|
8289
8558
|
};
|
|
8290
|
-
Relationships: [
|
|
8291
|
-
{
|
|
8292
|
-
foreignKeyName: "itk_customers_legacy_customer_id_fkey";
|
|
8293
|
-
columns: ["legacy_customer_id"];
|
|
8294
|
-
isOneToOne: false;
|
|
8295
|
-
referencedRelation: "customers";
|
|
8296
|
-
referencedColumns: ["id"];
|
|
8297
|
-
}
|
|
8298
|
-
];
|
|
8559
|
+
Relationships: [];
|
|
8299
8560
|
};
|
|
8300
8561
|
itk_dynamic_fields: {
|
|
8301
8562
|
Row: {
|
|
@@ -8327,98 +8588,272 @@ export type Database = {
|
|
|
8327
8588
|
};
|
|
8328
8589
|
Relationships: [];
|
|
8329
8590
|
};
|
|
8330
|
-
|
|
8591
|
+
itk_handover_rechten: {
|
|
8331
8592
|
Row: {
|
|
8332
8593
|
created_at: string;
|
|
8333
|
-
event_type: string;
|
|
8334
8594
|
id: string;
|
|
8335
|
-
|
|
8336
|
-
|
|
8337
|
-
|
|
8595
|
+
module_id: string;
|
|
8596
|
+
rol: Database["public"]["Enums"]["app_role"] | null;
|
|
8597
|
+
updated_at: string;
|
|
8338
8598
|
user_id: string | null;
|
|
8339
8599
|
};
|
|
8340
8600
|
Insert: {
|
|
8341
8601
|
created_at?: string;
|
|
8342
|
-
event_type: string;
|
|
8343
8602
|
id?: string;
|
|
8344
|
-
|
|
8345
|
-
|
|
8346
|
-
|
|
8603
|
+
module_id: string;
|
|
8604
|
+
rol?: Database["public"]["Enums"]["app_role"] | null;
|
|
8605
|
+
updated_at?: string;
|
|
8347
8606
|
user_id?: string | null;
|
|
8348
8607
|
};
|
|
8349
8608
|
Update: {
|
|
8350
8609
|
created_at?: string;
|
|
8351
|
-
event_type?: string;
|
|
8352
8610
|
id?: string;
|
|
8353
|
-
|
|
8354
|
-
|
|
8355
|
-
|
|
8611
|
+
module_id?: string;
|
|
8612
|
+
rol?: Database["public"]["Enums"]["app_role"] | null;
|
|
8613
|
+
updated_at?: string;
|
|
8356
8614
|
user_id?: string | null;
|
|
8357
8615
|
};
|
|
8358
|
-
Relationships: [
|
|
8359
|
-
{
|
|
8360
|
-
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
8361
|
-
columns: ["offerte_id"];
|
|
8362
|
-
isOneToOne: false;
|
|
8363
|
-
referencedRelation: "itk_offertes";
|
|
8364
|
-
referencedColumns: ["id"];
|
|
8365
|
-
}
|
|
8366
|
-
];
|
|
8616
|
+
Relationships: [];
|
|
8367
8617
|
};
|
|
8368
|
-
|
|
8618
|
+
itk_handover_tokens: {
|
|
8369
8619
|
Row: {
|
|
8620
|
+
aangemaakt_door: string | null;
|
|
8370
8621
|
created_at: string;
|
|
8371
8622
|
id: string;
|
|
8372
|
-
|
|
8373
|
-
|
|
8374
|
-
|
|
8375
|
-
|
|
8376
|
-
|
|
8377
|
-
sort_order: number;
|
|
8378
|
-
source: string;
|
|
8379
|
-
unit_price_cents: number;
|
|
8623
|
+
is_actief: boolean;
|
|
8624
|
+
laatst_gebruikt_op: string | null;
|
|
8625
|
+
label: string;
|
|
8626
|
+
module_id: string;
|
|
8627
|
+
token_hash: string;
|
|
8380
8628
|
updated_at: string;
|
|
8629
|
+
verloopt_op: string | null;
|
|
8381
8630
|
};
|
|
8382
8631
|
Insert: {
|
|
8632
|
+
aangemaakt_door?: string | null;
|
|
8383
8633
|
created_at?: string;
|
|
8384
8634
|
id?: string;
|
|
8385
|
-
|
|
8386
|
-
|
|
8387
|
-
|
|
8388
|
-
|
|
8389
|
-
|
|
8390
|
-
sort_order?: number;
|
|
8391
|
-
source?: string;
|
|
8392
|
-
unit_price_cents?: number;
|
|
8635
|
+
is_actief?: boolean;
|
|
8636
|
+
laatst_gebruikt_op?: string | null;
|
|
8637
|
+
label?: string;
|
|
8638
|
+
module_id: string;
|
|
8639
|
+
token_hash: string;
|
|
8393
8640
|
updated_at?: string;
|
|
8641
|
+
verloopt_op?: string | null;
|
|
8394
8642
|
};
|
|
8395
8643
|
Update: {
|
|
8644
|
+
aangemaakt_door?: string | null;
|
|
8396
8645
|
created_at?: string;
|
|
8397
8646
|
id?: string;
|
|
8398
|
-
|
|
8399
|
-
|
|
8400
|
-
|
|
8401
|
-
|
|
8402
|
-
|
|
8403
|
-
sort_order?: number;
|
|
8404
|
-
source?: string;
|
|
8405
|
-
unit_price_cents?: number;
|
|
8647
|
+
is_actief?: boolean;
|
|
8648
|
+
laatst_gebruikt_op?: string | null;
|
|
8649
|
+
label?: string;
|
|
8650
|
+
module_id?: string;
|
|
8651
|
+
token_hash?: string;
|
|
8406
8652
|
updated_at?: string;
|
|
8653
|
+
verloopt_op?: string | null;
|
|
8407
8654
|
};
|
|
8408
|
-
Relationships: [
|
|
8409
|
-
|
|
8410
|
-
|
|
8411
|
-
|
|
8412
|
-
|
|
8413
|
-
|
|
8414
|
-
|
|
8415
|
-
|
|
8416
|
-
|
|
8417
|
-
|
|
8418
|
-
|
|
8419
|
-
|
|
8420
|
-
|
|
8421
|
-
|
|
8655
|
+
Relationships: [];
|
|
8656
|
+
};
|
|
8657
|
+
itk_module_handovers: {
|
|
8658
|
+
Row: {
|
|
8659
|
+
bevindingen: string | null;
|
|
8660
|
+
bezit_tabellen: string[];
|
|
8661
|
+
conflicten_snapshot: Json;
|
|
8662
|
+
contractfuncties: string[];
|
|
8663
|
+
created_at: string;
|
|
8664
|
+
eigenaar_module_id: string | null;
|
|
8665
|
+
gepubliceerd_door: string | null;
|
|
8666
|
+
gepubliceerd_op: string;
|
|
8667
|
+
herzieningstermijn_dagen: number;
|
|
8668
|
+
id: string;
|
|
8669
|
+
inhoud_md: string;
|
|
8670
|
+
is_actueel: boolean;
|
|
8671
|
+
module_id: string;
|
|
8672
|
+
module_titel: string;
|
|
8673
|
+
ontbrekende_contracten: string[];
|
|
8674
|
+
samenvatting: string | null;
|
|
8675
|
+
updated_at: string;
|
|
8676
|
+
versie: number;
|
|
8677
|
+
};
|
|
8678
|
+
Insert: {
|
|
8679
|
+
bevindingen?: string | null;
|
|
8680
|
+
bezit_tabellen?: string[];
|
|
8681
|
+
conflicten_snapshot?: Json;
|
|
8682
|
+
contractfuncties?: string[];
|
|
8683
|
+
created_at?: string;
|
|
8684
|
+
eigenaar_module_id?: string | null;
|
|
8685
|
+
gepubliceerd_door?: string | null;
|
|
8686
|
+
gepubliceerd_op?: string;
|
|
8687
|
+
herzieningstermijn_dagen?: number;
|
|
8688
|
+
id?: string;
|
|
8689
|
+
inhoud_md: string;
|
|
8690
|
+
is_actueel?: boolean;
|
|
8691
|
+
module_id: string;
|
|
8692
|
+
module_titel: string;
|
|
8693
|
+
ontbrekende_contracten?: string[];
|
|
8694
|
+
samenvatting?: string | null;
|
|
8695
|
+
updated_at?: string;
|
|
8696
|
+
versie?: number;
|
|
8697
|
+
};
|
|
8698
|
+
Update: {
|
|
8699
|
+
bevindingen?: string | null;
|
|
8700
|
+
bezit_tabellen?: string[];
|
|
8701
|
+
conflicten_snapshot?: Json;
|
|
8702
|
+
contractfuncties?: string[];
|
|
8703
|
+
created_at?: string;
|
|
8704
|
+
eigenaar_module_id?: string | null;
|
|
8705
|
+
gepubliceerd_door?: string | null;
|
|
8706
|
+
gepubliceerd_op?: string;
|
|
8707
|
+
herzieningstermijn_dagen?: number;
|
|
8708
|
+
id?: string;
|
|
8709
|
+
inhoud_md?: string;
|
|
8710
|
+
is_actueel?: boolean;
|
|
8711
|
+
module_id?: string;
|
|
8712
|
+
module_titel?: string;
|
|
8713
|
+
ontbrekende_contracten?: string[];
|
|
8714
|
+
samenvatting?: string | null;
|
|
8715
|
+
updated_at?: string;
|
|
8716
|
+
versie?: number;
|
|
8717
|
+
};
|
|
8718
|
+
Relationships: [];
|
|
8719
|
+
};
|
|
8720
|
+
itk_module_instructies: {
|
|
8721
|
+
Row: {
|
|
8722
|
+
created_at: string;
|
|
8723
|
+
eigenaar_module_id: string;
|
|
8724
|
+
gepubliceerd_door: string | null;
|
|
8725
|
+
gepubliceerd_op: string;
|
|
8726
|
+
id: string;
|
|
8727
|
+
inhoud_md: string;
|
|
8728
|
+
is_actueel: boolean;
|
|
8729
|
+
sleutel: string;
|
|
8730
|
+
titel: string;
|
|
8731
|
+
toelichting: string | null;
|
|
8732
|
+
updated_at: string;
|
|
8733
|
+
versie: number;
|
|
8734
|
+
};
|
|
8735
|
+
Insert: {
|
|
8736
|
+
created_at?: string;
|
|
8737
|
+
eigenaar_module_id?: string;
|
|
8738
|
+
gepubliceerd_door?: string | null;
|
|
8739
|
+
gepubliceerd_op?: string;
|
|
8740
|
+
id?: string;
|
|
8741
|
+
inhoud_md: string;
|
|
8742
|
+
is_actueel?: boolean;
|
|
8743
|
+
sleutel: string;
|
|
8744
|
+
titel: string;
|
|
8745
|
+
toelichting?: string | null;
|
|
8746
|
+
updated_at?: string;
|
|
8747
|
+
versie?: number;
|
|
8748
|
+
};
|
|
8749
|
+
Update: {
|
|
8750
|
+
created_at?: string;
|
|
8751
|
+
eigenaar_module_id?: string;
|
|
8752
|
+
gepubliceerd_door?: string | null;
|
|
8753
|
+
gepubliceerd_op?: string;
|
|
8754
|
+
id?: string;
|
|
8755
|
+
inhoud_md?: string;
|
|
8756
|
+
is_actueel?: boolean;
|
|
8757
|
+
sleutel?: string;
|
|
8758
|
+
titel?: string;
|
|
8759
|
+
toelichting?: string | null;
|
|
8760
|
+
updated_at?: string;
|
|
8761
|
+
versie?: number;
|
|
8762
|
+
};
|
|
8763
|
+
Relationships: [];
|
|
8764
|
+
};
|
|
8765
|
+
itk_offerte_events: {
|
|
8766
|
+
Row: {
|
|
8767
|
+
created_at: string;
|
|
8768
|
+
event_type: string;
|
|
8769
|
+
id: string;
|
|
8770
|
+
metadata: Json;
|
|
8771
|
+
offerte_id: string;
|
|
8772
|
+
omschrijving: string | null;
|
|
8773
|
+
user_id: string | null;
|
|
8774
|
+
};
|
|
8775
|
+
Insert: {
|
|
8776
|
+
created_at?: string;
|
|
8777
|
+
event_type: string;
|
|
8778
|
+
id?: string;
|
|
8779
|
+
metadata?: Json;
|
|
8780
|
+
offerte_id: string;
|
|
8781
|
+
omschrijving?: string | null;
|
|
8782
|
+
user_id?: string | null;
|
|
8783
|
+
};
|
|
8784
|
+
Update: {
|
|
8785
|
+
created_at?: string;
|
|
8786
|
+
event_type?: string;
|
|
8787
|
+
id?: string;
|
|
8788
|
+
metadata?: Json;
|
|
8789
|
+
offerte_id?: string;
|
|
8790
|
+
omschrijving?: string | null;
|
|
8791
|
+
user_id?: string | null;
|
|
8792
|
+
};
|
|
8793
|
+
Relationships: [
|
|
8794
|
+
{
|
|
8795
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
8796
|
+
columns: ["offerte_id"];
|
|
8797
|
+
isOneToOne: false;
|
|
8798
|
+
referencedRelation: "itk_offertes";
|
|
8799
|
+
referencedColumns: ["id"];
|
|
8800
|
+
}
|
|
8801
|
+
];
|
|
8802
|
+
};
|
|
8803
|
+
itk_offerte_regels: {
|
|
8804
|
+
Row: {
|
|
8805
|
+
created_at: string;
|
|
8806
|
+
id: string;
|
|
8807
|
+
line_total_cents: number;
|
|
8808
|
+
offerte_id: string;
|
|
8809
|
+
omschrijving: string;
|
|
8810
|
+
package_id: string | null;
|
|
8811
|
+
quantity: number;
|
|
8812
|
+
sort_order: number;
|
|
8813
|
+
source: string;
|
|
8814
|
+
unit_price_cents: number;
|
|
8815
|
+
updated_at: string;
|
|
8816
|
+
};
|
|
8817
|
+
Insert: {
|
|
8818
|
+
created_at?: string;
|
|
8819
|
+
id?: string;
|
|
8820
|
+
line_total_cents?: number;
|
|
8821
|
+
offerte_id: string;
|
|
8822
|
+
omschrijving?: string;
|
|
8823
|
+
package_id?: string | null;
|
|
8824
|
+
quantity?: number;
|
|
8825
|
+
sort_order?: number;
|
|
8826
|
+
source?: string;
|
|
8827
|
+
unit_price_cents?: number;
|
|
8828
|
+
updated_at?: string;
|
|
8829
|
+
};
|
|
8830
|
+
Update: {
|
|
8831
|
+
created_at?: string;
|
|
8832
|
+
id?: string;
|
|
8833
|
+
line_total_cents?: number;
|
|
8834
|
+
offerte_id?: string;
|
|
8835
|
+
omschrijving?: string;
|
|
8836
|
+
package_id?: string | null;
|
|
8837
|
+
quantity?: number;
|
|
8838
|
+
sort_order?: number;
|
|
8839
|
+
source?: string;
|
|
8840
|
+
unit_price_cents?: number;
|
|
8841
|
+
updated_at?: string;
|
|
8842
|
+
};
|
|
8843
|
+
Relationships: [
|
|
8844
|
+
{
|
|
8845
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
8846
|
+
columns: ["offerte_id"];
|
|
8847
|
+
isOneToOne: false;
|
|
8848
|
+
referencedRelation: "itk_offertes";
|
|
8849
|
+
referencedColumns: ["id"];
|
|
8850
|
+
},
|
|
8851
|
+
{
|
|
8852
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
8853
|
+
columns: ["package_id"];
|
|
8854
|
+
isOneToOne: false;
|
|
8855
|
+
referencedRelation: "werkbon_packages";
|
|
8856
|
+
referencedColumns: ["id"];
|
|
8422
8857
|
}
|
|
8423
8858
|
];
|
|
8424
8859
|
};
|
|
@@ -9215,6 +9650,27 @@ export type Database = {
|
|
|
9215
9650
|
};
|
|
9216
9651
|
Relationships: [];
|
|
9217
9652
|
};
|
|
9653
|
+
logistics_cart_barcode: {
|
|
9654
|
+
Row: {
|
|
9655
|
+
barcode: string;
|
|
9656
|
+
cart_id: string;
|
|
9657
|
+
created_at: string;
|
|
9658
|
+
order_id: string | null;
|
|
9659
|
+
};
|
|
9660
|
+
Insert: {
|
|
9661
|
+
barcode: string;
|
|
9662
|
+
cart_id: string;
|
|
9663
|
+
created_at?: string;
|
|
9664
|
+
order_id?: string | null;
|
|
9665
|
+
};
|
|
9666
|
+
Update: {
|
|
9667
|
+
barcode?: string;
|
|
9668
|
+
cart_id?: string;
|
|
9669
|
+
created_at?: string;
|
|
9670
|
+
order_id?: string | null;
|
|
9671
|
+
};
|
|
9672
|
+
Relationships: [];
|
|
9673
|
+
};
|
|
9218
9674
|
logistics_decisions: {
|
|
9219
9675
|
Row: {
|
|
9220
9676
|
created_at: string;
|
|
@@ -10058,6 +10514,36 @@ export type Database = {
|
|
|
10058
10514
|
}
|
|
10059
10515
|
];
|
|
10060
10516
|
};
|
|
10517
|
+
logistics_shipping_note_scan: {
|
|
10518
|
+
Row: {
|
|
10519
|
+
barcode: string;
|
|
10520
|
+
cart_id: string;
|
|
10521
|
+
id: string;
|
|
10522
|
+
is_reprint: boolean;
|
|
10523
|
+
order_id: string | null;
|
|
10524
|
+
print_job_id: string | null;
|
|
10525
|
+
scanned_at: string;
|
|
10526
|
+
};
|
|
10527
|
+
Insert: {
|
|
10528
|
+
barcode: string;
|
|
10529
|
+
cart_id: string;
|
|
10530
|
+
id?: string;
|
|
10531
|
+
is_reprint?: boolean;
|
|
10532
|
+
order_id?: string | null;
|
|
10533
|
+
print_job_id?: string | null;
|
|
10534
|
+
scanned_at?: string;
|
|
10535
|
+
};
|
|
10536
|
+
Update: {
|
|
10537
|
+
barcode?: string;
|
|
10538
|
+
cart_id?: string;
|
|
10539
|
+
id?: string;
|
|
10540
|
+
is_reprint?: boolean;
|
|
10541
|
+
order_id?: string | null;
|
|
10542
|
+
print_job_id?: string | null;
|
|
10543
|
+
scanned_at?: string;
|
|
10544
|
+
};
|
|
10545
|
+
Relationships: [];
|
|
10546
|
+
};
|
|
10061
10547
|
logistics_staff_planning: {
|
|
10062
10548
|
Row: {
|
|
10063
10549
|
created_at: string;
|
|
@@ -12203,10 +12689,12 @@ export type Database = {
|
|
|
12203
12689
|
boxes: number | null;
|
|
12204
12690
|
cart_id: string;
|
|
12205
12691
|
crates: number;
|
|
12692
|
+
crates_in_layer: number | null;
|
|
12206
12693
|
crates_per_layer: number;
|
|
12207
12694
|
created_at: string;
|
|
12208
12695
|
id: string;
|
|
12209
12696
|
layer_fraction: number;
|
|
12697
|
+
layer_index: number | null;
|
|
12210
12698
|
layer_share_pct: number;
|
|
12211
12699
|
layers_per_cart: number;
|
|
12212
12700
|
order_item_id: string | null;
|
|
@@ -12219,10 +12707,12 @@ export type Database = {
|
|
|
12219
12707
|
boxes?: number | null;
|
|
12220
12708
|
cart_id: string;
|
|
12221
12709
|
crates: number;
|
|
12710
|
+
crates_in_layer?: number | null;
|
|
12222
12711
|
crates_per_layer?: number;
|
|
12223
12712
|
created_at?: string;
|
|
12224
12713
|
id?: string;
|
|
12225
12714
|
layer_fraction?: number;
|
|
12715
|
+
layer_index?: number | null;
|
|
12226
12716
|
layer_share_pct?: number;
|
|
12227
12717
|
layers_per_cart?: number;
|
|
12228
12718
|
order_item_id?: string | null;
|
|
@@ -12235,10 +12725,12 @@ export type Database = {
|
|
|
12235
12725
|
boxes?: number | null;
|
|
12236
12726
|
cart_id?: string;
|
|
12237
12727
|
crates?: number;
|
|
12728
|
+
crates_in_layer?: number | null;
|
|
12238
12729
|
crates_per_layer?: number;
|
|
12239
12730
|
created_at?: string;
|
|
12240
12731
|
id?: string;
|
|
12241
12732
|
layer_fraction?: number;
|
|
12733
|
+
layer_index?: number | null;
|
|
12242
12734
|
layer_share_pct?: number;
|
|
12243
12735
|
layers_per_cart?: number;
|
|
12244
12736
|
order_item_id?: string | null;
|
|
@@ -12282,6 +12774,7 @@ export type Database = {
|
|
|
12282
12774
|
id: string;
|
|
12283
12775
|
is_auto: boolean;
|
|
12284
12776
|
is_complete: boolean;
|
|
12777
|
+
layout_method: string | null;
|
|
12285
12778
|
max_layers: number | null;
|
|
12286
12779
|
moved_at: string | null;
|
|
12287
12780
|
moved_from_moment_id: string | null;
|
|
@@ -12306,6 +12799,7 @@ export type Database = {
|
|
|
12306
12799
|
id?: string;
|
|
12307
12800
|
is_auto?: boolean;
|
|
12308
12801
|
is_complete?: boolean;
|
|
12802
|
+
layout_method?: string | null;
|
|
12309
12803
|
max_layers?: number | null;
|
|
12310
12804
|
moved_at?: string | null;
|
|
12311
12805
|
moved_from_moment_id?: string | null;
|
|
@@ -12330,6 +12824,7 @@ export type Database = {
|
|
|
12330
12824
|
id?: string;
|
|
12331
12825
|
is_auto?: boolean;
|
|
12332
12826
|
is_complete?: boolean;
|
|
12827
|
+
layout_method?: string | null;
|
|
12333
12828
|
max_layers?: number | null;
|
|
12334
12829
|
moved_at?: string | null;
|
|
12335
12830
|
moved_from_moment_id?: string | null;
|
|
@@ -12957,6 +13452,7 @@ export type Database = {
|
|
|
12957
13452
|
print_job_id: string | null;
|
|
12958
13453
|
printed_at: string | null;
|
|
12959
13454
|
printed_by: string | null;
|
|
13455
|
+
printed_cart_ids: Json;
|
|
12960
13456
|
printer_id: string | null;
|
|
12961
13457
|
priority: number;
|
|
12962
13458
|
reference: string | null;
|
|
@@ -12991,6 +13487,7 @@ export type Database = {
|
|
|
12991
13487
|
print_job_id?: string | null;
|
|
12992
13488
|
printed_at?: string | null;
|
|
12993
13489
|
printed_by?: string | null;
|
|
13490
|
+
printed_cart_ids?: Json;
|
|
12994
13491
|
printer_id?: string | null;
|
|
12995
13492
|
priority?: number;
|
|
12996
13493
|
reference?: string | null;
|
|
@@ -13025,6 +13522,7 @@ export type Database = {
|
|
|
13025
13522
|
print_job_id?: string | null;
|
|
13026
13523
|
printed_at?: string | null;
|
|
13027
13524
|
printed_by?: string | null;
|
|
13525
|
+
printed_cart_ids?: Json;
|
|
13028
13526
|
printer_id?: string | null;
|
|
13029
13527
|
priority?: number;
|
|
13030
13528
|
reference?: string | null;
|
|
@@ -13858,6 +14356,13 @@ export type Database = {
|
|
|
13858
14356
|
isOneToOne: false;
|
|
13859
14357
|
referencedRelation: "planning_items";
|
|
13860
14358
|
referencedColumns: ["id"];
|
|
14359
|
+
},
|
|
14360
|
+
{
|
|
14361
|
+
foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
|
|
14362
|
+
columns: ["planning_item_id"];
|
|
14363
|
+
isOneToOne: false;
|
|
14364
|
+
referencedRelation: "planning_overview";
|
|
14365
|
+
referencedColumns: ["id"];
|
|
13861
14366
|
}
|
|
13862
14367
|
];
|
|
13863
14368
|
};
|
|
@@ -14041,6 +14546,9 @@ export type Database = {
|
|
|
14041
14546
|
is_herprint: boolean;
|
|
14042
14547
|
kopieen: number;
|
|
14043
14548
|
layout_id: string | null;
|
|
14549
|
+
lokaal_opgeslagen_op: string | null;
|
|
14550
|
+
lokale_pdf_fout: string | null;
|
|
14551
|
+
lokale_pdf_status: string | null;
|
|
14044
14552
|
opgepakt_op: string | null;
|
|
14045
14553
|
paginas: number;
|
|
14046
14554
|
payload: Json;
|
|
@@ -14049,6 +14557,7 @@ export type Database = {
|
|
|
14049
14557
|
pogingen: number;
|
|
14050
14558
|
printer_id: string | null;
|
|
14051
14559
|
render_html: string | null;
|
|
14560
|
+
resultaat_pdf_base64: string | null;
|
|
14052
14561
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
14053
14562
|
updated_at: string;
|
|
14054
14563
|
volgende_poging: string | null;
|
|
@@ -14073,6 +14582,9 @@ export type Database = {
|
|
|
14073
14582
|
is_herprint?: boolean;
|
|
14074
14583
|
kopieen?: number;
|
|
14075
14584
|
layout_id?: string | null;
|
|
14585
|
+
lokaal_opgeslagen_op?: string | null;
|
|
14586
|
+
lokale_pdf_fout?: string | null;
|
|
14587
|
+
lokale_pdf_status?: string | null;
|
|
14076
14588
|
opgepakt_op?: string | null;
|
|
14077
14589
|
paginas?: number;
|
|
14078
14590
|
payload?: Json;
|
|
@@ -14081,6 +14593,7 @@ export type Database = {
|
|
|
14081
14593
|
pogingen?: number;
|
|
14082
14594
|
printer_id?: string | null;
|
|
14083
14595
|
render_html?: string | null;
|
|
14596
|
+
resultaat_pdf_base64?: string | null;
|
|
14084
14597
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
14085
14598
|
updated_at?: string;
|
|
14086
14599
|
volgende_poging?: string | null;
|
|
@@ -14105,6 +14618,9 @@ export type Database = {
|
|
|
14105
14618
|
is_herprint?: boolean;
|
|
14106
14619
|
kopieen?: number;
|
|
14107
14620
|
layout_id?: string | null;
|
|
14621
|
+
lokaal_opgeslagen_op?: string | null;
|
|
14622
|
+
lokale_pdf_fout?: string | null;
|
|
14623
|
+
lokale_pdf_status?: string | null;
|
|
14108
14624
|
opgepakt_op?: string | null;
|
|
14109
14625
|
paginas?: number;
|
|
14110
14626
|
payload?: Json;
|
|
@@ -14113,6 +14629,7 @@ export type Database = {
|
|
|
14113
14629
|
pogingen?: number;
|
|
14114
14630
|
printer_id?: string | null;
|
|
14115
14631
|
render_html?: string | null;
|
|
14632
|
+
resultaat_pdf_base64?: string | null;
|
|
14116
14633
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
14117
14634
|
updated_at?: string;
|
|
14118
14635
|
volgende_poging?: string | null;
|
|
@@ -14519,6 +15036,7 @@ export type Database = {
|
|
|
14519
15036
|
ondersteunde_laden: Json | null;
|
|
14520
15037
|
online: boolean;
|
|
14521
15038
|
papierformaat: string;
|
|
15039
|
+
pdf_map: string | null;
|
|
14522
15040
|
poort: number | null;
|
|
14523
15041
|
soort: Database["public"]["Enums"]["printer_kind"];
|
|
14524
15042
|
systeemnaam: string;
|
|
@@ -14544,6 +15062,7 @@ export type Database = {
|
|
|
14544
15062
|
ondersteunde_laden?: Json | null;
|
|
14545
15063
|
online?: boolean;
|
|
14546
15064
|
papierformaat?: string;
|
|
15065
|
+
pdf_map?: string | null;
|
|
14547
15066
|
poort?: number | null;
|
|
14548
15067
|
soort?: Database["public"]["Enums"]["printer_kind"];
|
|
14549
15068
|
systeemnaam?: string;
|
|
@@ -14569,6 +15088,7 @@ export type Database = {
|
|
|
14569
15088
|
ondersteunde_laden?: Json | null;
|
|
14570
15089
|
online?: boolean;
|
|
14571
15090
|
papierformaat?: string;
|
|
15091
|
+
pdf_map?: string | null;
|
|
14572
15092
|
poort?: number | null;
|
|
14573
15093
|
soort?: Database["public"]["Enums"]["printer_kind"];
|
|
14574
15094
|
systeemnaam?: string;
|
|
@@ -14989,6 +15509,7 @@ export type Database = {
|
|
|
14989
15509
|
created_at: string;
|
|
14990
15510
|
custom_fields: Json;
|
|
14991
15511
|
floriday_trade_item_id: string | null;
|
|
15512
|
+
fust_type_id: string | null;
|
|
14992
15513
|
id: string;
|
|
14993
15514
|
image_url: string | null;
|
|
14994
15515
|
incoming_quantity: number;
|
|
@@ -14996,6 +15517,7 @@ export type Database = {
|
|
|
14996
15517
|
layers_per_cart: number;
|
|
14997
15518
|
location: string;
|
|
14998
15519
|
min_quantity: number;
|
|
15520
|
+
plant_height_cm: number | null;
|
|
14999
15521
|
plants_per_crate: number;
|
|
15000
15522
|
product: string;
|
|
15001
15523
|
product_type: string;
|
|
@@ -15015,6 +15537,7 @@ export type Database = {
|
|
|
15015
15537
|
created_at?: string;
|
|
15016
15538
|
custom_fields?: Json;
|
|
15017
15539
|
floriday_trade_item_id?: string | null;
|
|
15540
|
+
fust_type_id?: string | null;
|
|
15018
15541
|
id?: string;
|
|
15019
15542
|
image_url?: string | null;
|
|
15020
15543
|
incoming_quantity?: number;
|
|
@@ -15022,6 +15545,7 @@ export type Database = {
|
|
|
15022
15545
|
layers_per_cart?: number;
|
|
15023
15546
|
location: string;
|
|
15024
15547
|
min_quantity?: number;
|
|
15548
|
+
plant_height_cm?: number | null;
|
|
15025
15549
|
plants_per_crate?: number;
|
|
15026
15550
|
product: string;
|
|
15027
15551
|
product_type?: string;
|
|
@@ -15041,6 +15565,7 @@ export type Database = {
|
|
|
15041
15565
|
created_at?: string;
|
|
15042
15566
|
custom_fields?: Json;
|
|
15043
15567
|
floriday_trade_item_id?: string | null;
|
|
15568
|
+
fust_type_id?: string | null;
|
|
15044
15569
|
id?: string;
|
|
15045
15570
|
image_url?: string | null;
|
|
15046
15571
|
incoming_quantity?: number;
|
|
@@ -15048,6 +15573,7 @@ export type Database = {
|
|
|
15048
15573
|
layers_per_cart?: number;
|
|
15049
15574
|
location?: string;
|
|
15050
15575
|
min_quantity?: number;
|
|
15576
|
+
plant_height_cm?: number | null;
|
|
15051
15577
|
plants_per_crate?: number;
|
|
15052
15578
|
product?: string;
|
|
15053
15579
|
product_type?: string;
|
|
@@ -15059,7 +15585,15 @@ export type Database = {
|
|
|
15059
15585
|
updated_at?: string;
|
|
15060
15586
|
weight?: string | null;
|
|
15061
15587
|
};
|
|
15062
|
-
Relationships: [
|
|
15588
|
+
Relationships: [
|
|
15589
|
+
{
|
|
15590
|
+
foreignKeyName: "products_fust_type_id_fkey";
|
|
15591
|
+
columns: ["fust_type_id"];
|
|
15592
|
+
isOneToOne: false;
|
|
15593
|
+
referencedRelation: "fust_types";
|
|
15594
|
+
referencedColumns: ["id"];
|
|
15595
|
+
}
|
|
15596
|
+
];
|
|
15063
15597
|
};
|
|
15064
15598
|
profile_modules: {
|
|
15065
15599
|
Row: {
|
|
@@ -15478,554 +16012,94 @@ export type Database = {
|
|
|
15478
16012
|
}
|
|
15479
16013
|
];
|
|
15480
16014
|
};
|
|
15481
|
-
|
|
16015
|
+
reception_notifications: {
|
|
15482
16016
|
Row: {
|
|
16017
|
+
booking_id: string | null;
|
|
15483
16018
|
created_at: string;
|
|
15484
|
-
event_type: string;
|
|
15485
16019
|
id: string;
|
|
15486
|
-
|
|
15487
|
-
|
|
15488
|
-
|
|
16020
|
+
is_read: boolean;
|
|
16021
|
+
message: string;
|
|
16022
|
+
recipient_email: string | null;
|
|
16023
|
+
title: string;
|
|
16024
|
+
type: string;
|
|
15489
16025
|
};
|
|
15490
16026
|
Insert: {
|
|
16027
|
+
booking_id?: string | null;
|
|
15491
16028
|
created_at?: string;
|
|
15492
|
-
event_type: string;
|
|
15493
16029
|
id?: string;
|
|
15494
|
-
|
|
15495
|
-
|
|
15496
|
-
|
|
16030
|
+
is_read?: boolean;
|
|
16031
|
+
message: string;
|
|
16032
|
+
recipient_email?: string | null;
|
|
16033
|
+
title: string;
|
|
16034
|
+
type: string;
|
|
15497
16035
|
};
|
|
15498
16036
|
Update: {
|
|
16037
|
+
booking_id?: string | null;
|
|
15499
16038
|
created_at?: string;
|
|
15500
|
-
event_type?: string;
|
|
15501
16039
|
id?: string;
|
|
15502
|
-
|
|
15503
|
-
|
|
15504
|
-
|
|
16040
|
+
is_read?: boolean;
|
|
16041
|
+
message?: string;
|
|
16042
|
+
recipient_email?: string | null;
|
|
16043
|
+
title?: string;
|
|
16044
|
+
type?: string;
|
|
15505
16045
|
};
|
|
15506
16046
|
Relationships: [
|
|
15507
16047
|
{
|
|
15508
|
-
foreignKeyName: "
|
|
15509
|
-
columns: ["
|
|
16048
|
+
foreignKeyName: "reception_notifications_booking_id_fkey";
|
|
16049
|
+
columns: ["booking_id"];
|
|
15510
16050
|
isOneToOne: false;
|
|
15511
|
-
referencedRelation: "
|
|
16051
|
+
referencedRelation: "bookings";
|
|
15512
16052
|
referencedColumns: ["id"];
|
|
15513
16053
|
}
|
|
15514
16054
|
];
|
|
15515
16055
|
};
|
|
15516
|
-
|
|
16056
|
+
role_assignments: {
|
|
15517
16057
|
Row: {
|
|
15518
16058
|
created_at: string;
|
|
15519
|
-
file_name: string;
|
|
15520
|
-
file_size: number | null;
|
|
15521
|
-
file_url: string;
|
|
15522
16059
|
id: string;
|
|
15523
|
-
|
|
15524
|
-
|
|
16060
|
+
role_id: string;
|
|
16061
|
+
user_id: string;
|
|
15525
16062
|
};
|
|
15526
16063
|
Insert: {
|
|
15527
16064
|
created_at?: string;
|
|
15528
|
-
file_name: string;
|
|
15529
|
-
file_size?: number | null;
|
|
15530
|
-
file_url: string;
|
|
15531
16065
|
id?: string;
|
|
15532
|
-
|
|
15533
|
-
|
|
16066
|
+
role_id: string;
|
|
16067
|
+
user_id: string;
|
|
15534
16068
|
};
|
|
15535
16069
|
Update: {
|
|
15536
16070
|
created_at?: string;
|
|
15537
|
-
file_name?: string;
|
|
15538
|
-
file_size?: number | null;
|
|
15539
|
-
file_url?: string;
|
|
15540
16071
|
id?: string;
|
|
15541
|
-
|
|
15542
|
-
|
|
16072
|
+
role_id?: string;
|
|
16073
|
+
user_id?: string;
|
|
15543
16074
|
};
|
|
15544
16075
|
Relationships: [
|
|
15545
16076
|
{
|
|
15546
|
-
foreignKeyName: "
|
|
15547
|
-
columns: ["
|
|
16077
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
16078
|
+
columns: ["role_id"];
|
|
15548
16079
|
isOneToOne: false;
|
|
15549
|
-
referencedRelation: "
|
|
16080
|
+
referencedRelation: "roles";
|
|
15550
16081
|
referencedColumns: ["id"];
|
|
15551
16082
|
}
|
|
15552
16083
|
];
|
|
15553
16084
|
};
|
|
15554
|
-
|
|
16085
|
+
role_permissions: {
|
|
15555
16086
|
Row: {
|
|
15556
|
-
|
|
15557
|
-
|
|
16087
|
+
can_edit: boolean;
|
|
16088
|
+
can_view: boolean;
|
|
16089
|
+
feature_id: string;
|
|
15558
16090
|
id: string;
|
|
15559
|
-
|
|
15560
|
-
|
|
15561
|
-
|
|
16091
|
+
module_id: string;
|
|
16092
|
+
role_id: string;
|
|
16093
|
+
updated_at: string;
|
|
15562
16094
|
};
|
|
15563
16095
|
Insert: {
|
|
15564
|
-
|
|
15565
|
-
|
|
16096
|
+
can_edit?: boolean;
|
|
16097
|
+
can_view?: boolean;
|
|
16098
|
+
feature_id?: string;
|
|
15566
16099
|
id?: string;
|
|
15567
|
-
|
|
15568
|
-
|
|
15569
|
-
|
|
15570
|
-
};
|
|
15571
|
-
Update: {
|
|
15572
|
-
created_at?: string;
|
|
15573
|
-
field_id?: string;
|
|
15574
|
-
id?: string;
|
|
15575
|
-
label?: string;
|
|
15576
|
-
sort_order?: number;
|
|
15577
|
-
value?: string;
|
|
15578
|
-
};
|
|
15579
|
-
Relationships: [
|
|
15580
|
-
{
|
|
15581
|
-
foreignKeyName: "quote_field_options_field_id_fkey";
|
|
15582
|
-
columns: ["field_id"];
|
|
15583
|
-
isOneToOne: false;
|
|
15584
|
-
referencedRelation: "quote_field_settings";
|
|
15585
|
-
referencedColumns: ["id"];
|
|
15586
|
-
}
|
|
15587
|
-
];
|
|
15588
|
-
};
|
|
15589
|
-
quote_field_settings: {
|
|
15590
|
-
Row: {
|
|
15591
|
-
created_at: string;
|
|
15592
|
-
default_value: string | null;
|
|
15593
|
-
field_key: string;
|
|
15594
|
-
field_type: string;
|
|
15595
|
-
id: string;
|
|
15596
|
-
is_system: boolean;
|
|
15597
|
-
label: string;
|
|
15598
|
-
required: boolean;
|
|
15599
|
-
sort_order: number;
|
|
15600
|
-
updated_at: string;
|
|
15601
|
-
visible: boolean;
|
|
15602
|
-
};
|
|
15603
|
-
Insert: {
|
|
15604
|
-
created_at?: string;
|
|
15605
|
-
default_value?: string | null;
|
|
15606
|
-
field_key: string;
|
|
15607
|
-
field_type: string;
|
|
15608
|
-
id?: string;
|
|
15609
|
-
is_system?: boolean;
|
|
15610
|
-
label: string;
|
|
15611
|
-
required?: boolean;
|
|
15612
|
-
sort_order?: number;
|
|
15613
|
-
updated_at?: string;
|
|
15614
|
-
visible?: boolean;
|
|
15615
|
-
};
|
|
15616
|
-
Update: {
|
|
15617
|
-
created_at?: string;
|
|
15618
|
-
default_value?: string | null;
|
|
15619
|
-
field_key?: string;
|
|
15620
|
-
field_type?: string;
|
|
15621
|
-
id?: string;
|
|
15622
|
-
is_system?: boolean;
|
|
15623
|
-
label?: string;
|
|
15624
|
-
required?: boolean;
|
|
15625
|
-
sort_order?: number;
|
|
15626
|
-
updated_at?: string;
|
|
15627
|
-
visible?: boolean;
|
|
15628
|
-
};
|
|
15629
|
-
Relationships: [];
|
|
15630
|
-
};
|
|
15631
|
-
quote_items: {
|
|
15632
|
-
Row: {
|
|
15633
|
-
category: string | null;
|
|
15634
|
-
created_at: string;
|
|
15635
|
-
description: string;
|
|
15636
|
-
id: string;
|
|
15637
|
-
line_total: number;
|
|
15638
|
-
module_id: string | null;
|
|
15639
|
-
name: string | null;
|
|
15640
|
-
quantity: number;
|
|
15641
|
-
quote_id: string;
|
|
15642
|
-
sort_order: number;
|
|
15643
|
-
unit_price: number;
|
|
15644
|
-
};
|
|
15645
|
-
Insert: {
|
|
15646
|
-
category?: string | null;
|
|
15647
|
-
created_at?: string;
|
|
15648
|
-
description?: string;
|
|
15649
|
-
id?: string;
|
|
15650
|
-
line_total?: number;
|
|
15651
|
-
module_id?: string | null;
|
|
15652
|
-
name?: string | null;
|
|
15653
|
-
quantity?: number;
|
|
15654
|
-
quote_id: string;
|
|
15655
|
-
sort_order?: number;
|
|
15656
|
-
unit_price?: number;
|
|
15657
|
-
};
|
|
15658
|
-
Update: {
|
|
15659
|
-
category?: string | null;
|
|
15660
|
-
created_at?: string;
|
|
15661
|
-
description?: string;
|
|
15662
|
-
id?: string;
|
|
15663
|
-
line_total?: number;
|
|
15664
|
-
module_id?: string | null;
|
|
15665
|
-
name?: string | null;
|
|
15666
|
-
quantity?: number;
|
|
15667
|
-
quote_id?: string;
|
|
15668
|
-
sort_order?: number;
|
|
15669
|
-
unit_price?: number;
|
|
15670
|
-
};
|
|
15671
|
-
Relationships: [
|
|
15672
|
-
{
|
|
15673
|
-
foreignKeyName: "quote_items_module_id_fkey";
|
|
15674
|
-
columns: ["module_id"];
|
|
15675
|
-
isOneToOne: false;
|
|
15676
|
-
referencedRelation: "quote_modules";
|
|
15677
|
-
referencedColumns: ["id"];
|
|
15678
|
-
},
|
|
15679
|
-
{
|
|
15680
|
-
foreignKeyName: "quote_items_quote_id_fkey";
|
|
15681
|
-
columns: ["quote_id"];
|
|
15682
|
-
isOneToOne: false;
|
|
15683
|
-
referencedRelation: "quotes";
|
|
15684
|
-
referencedColumns: ["id"];
|
|
15685
|
-
}
|
|
15686
|
-
];
|
|
15687
|
-
};
|
|
15688
|
-
quote_modules: {
|
|
15689
|
-
Row: {
|
|
15690
|
-
category: string | null;
|
|
15691
|
-
created_at: string;
|
|
15692
|
-
description: string | null;
|
|
15693
|
-
id: string;
|
|
15694
|
-
is_active: boolean;
|
|
15695
|
-
name: string;
|
|
15696
|
-
price: number;
|
|
15697
|
-
sort_order: number;
|
|
15698
|
-
updated_at: string;
|
|
15699
|
-
};
|
|
15700
|
-
Insert: {
|
|
15701
|
-
category?: string | null;
|
|
15702
|
-
created_at?: string;
|
|
15703
|
-
description?: string | null;
|
|
15704
|
-
id?: string;
|
|
15705
|
-
is_active?: boolean;
|
|
15706
|
-
name: string;
|
|
15707
|
-
price?: number;
|
|
15708
|
-
sort_order?: number;
|
|
15709
|
-
updated_at?: string;
|
|
15710
|
-
};
|
|
15711
|
-
Update: {
|
|
15712
|
-
category?: string | null;
|
|
15713
|
-
created_at?: string;
|
|
15714
|
-
description?: string | null;
|
|
15715
|
-
id?: string;
|
|
15716
|
-
is_active?: boolean;
|
|
15717
|
-
name?: string;
|
|
15718
|
-
price?: number;
|
|
15719
|
-
sort_order?: number;
|
|
15720
|
-
updated_at?: string;
|
|
15721
|
-
};
|
|
15722
|
-
Relationships: [];
|
|
15723
|
-
};
|
|
15724
|
-
quote_templates: {
|
|
15725
|
-
Row: {
|
|
15726
|
-
created_at: string;
|
|
15727
|
-
description: string | null;
|
|
15728
|
-
field_values: Json;
|
|
15729
|
-
id: string;
|
|
15730
|
-
is_default: boolean;
|
|
15731
|
-
items: Json;
|
|
15732
|
-
name: string;
|
|
15733
|
-
updated_at: string;
|
|
15734
|
-
vat_rate: number;
|
|
15735
|
-
};
|
|
15736
|
-
Insert: {
|
|
15737
|
-
created_at?: string;
|
|
15738
|
-
description?: string | null;
|
|
15739
|
-
field_values?: Json;
|
|
15740
|
-
id?: string;
|
|
15741
|
-
is_default?: boolean;
|
|
15742
|
-
items?: Json;
|
|
15743
|
-
name: string;
|
|
15744
|
-
updated_at?: string;
|
|
15745
|
-
vat_rate?: number;
|
|
15746
|
-
};
|
|
15747
|
-
Update: {
|
|
15748
|
-
created_at?: string;
|
|
15749
|
-
description?: string | null;
|
|
15750
|
-
field_values?: Json;
|
|
15751
|
-
id?: string;
|
|
15752
|
-
is_default?: boolean;
|
|
15753
|
-
items?: Json;
|
|
15754
|
-
name?: string;
|
|
15755
|
-
updated_at?: string;
|
|
15756
|
-
vat_rate?: number;
|
|
15757
|
-
};
|
|
15758
|
-
Relationships: [];
|
|
15759
|
-
};
|
|
15760
|
-
quote_terms: {
|
|
15761
|
-
Row: {
|
|
15762
|
-
content: string | null;
|
|
15763
|
-
created_at: string;
|
|
15764
|
-
file_url: string | null;
|
|
15765
|
-
id: string;
|
|
15766
|
-
is_active: boolean;
|
|
15767
|
-
name: string;
|
|
15768
|
-
published_at: string | null;
|
|
15769
|
-
updated_at: string;
|
|
15770
|
-
version: string;
|
|
15771
|
-
};
|
|
15772
|
-
Insert: {
|
|
15773
|
-
content?: string | null;
|
|
15774
|
-
created_at?: string;
|
|
15775
|
-
file_url?: string | null;
|
|
15776
|
-
id?: string;
|
|
15777
|
-
is_active?: boolean;
|
|
15778
|
-
name: string;
|
|
15779
|
-
published_at?: string | null;
|
|
15780
|
-
updated_at?: string;
|
|
15781
|
-
version?: string;
|
|
15782
|
-
};
|
|
15783
|
-
Update: {
|
|
15784
|
-
content?: string | null;
|
|
15785
|
-
created_at?: string;
|
|
15786
|
-
file_url?: string | null;
|
|
15787
|
-
id?: string;
|
|
15788
|
-
is_active?: boolean;
|
|
15789
|
-
name?: string;
|
|
15790
|
-
published_at?: string | null;
|
|
15791
|
-
updated_at?: string;
|
|
15792
|
-
version?: string;
|
|
15793
|
-
};
|
|
15794
|
-
Relationships: [];
|
|
15795
|
-
};
|
|
15796
|
-
quotes: {
|
|
15797
|
-
Row: {
|
|
15798
|
-
accepted_at: string | null;
|
|
15799
|
-
archived_at: string | null;
|
|
15800
|
-
contact_id: string | null;
|
|
15801
|
-
created_at: string;
|
|
15802
|
-
customer_id: string | null;
|
|
15803
|
-
discount: number;
|
|
15804
|
-
expires_at: string | null;
|
|
15805
|
-
field_values: Json;
|
|
15806
|
-
id: string;
|
|
15807
|
-
notes: string | null;
|
|
15808
|
-
owner_id: string | null;
|
|
15809
|
-
personal_message: string | null;
|
|
15810
|
-
project_id: string | null;
|
|
15811
|
-
prospect_id: string | null;
|
|
15812
|
-
public_token: string;
|
|
15813
|
-
quote_number: string | null;
|
|
15814
|
-
recipient_email: string | null;
|
|
15815
|
-
recipient_name: string | null;
|
|
15816
|
-
rejected_at: string | null;
|
|
15817
|
-
sent_at: string | null;
|
|
15818
|
-
status: string;
|
|
15819
|
-
subtotal: number;
|
|
15820
|
-
template_id: string | null;
|
|
15821
|
-
terms_id: string | null;
|
|
15822
|
-
title: string;
|
|
15823
|
-
total: number;
|
|
15824
|
-
updated_at: string;
|
|
15825
|
-
valid_until: string | null;
|
|
15826
|
-
vat_amount: number;
|
|
15827
|
-
vat_rate: number;
|
|
15828
|
-
viewed_at: string | null;
|
|
15829
|
-
};
|
|
15830
|
-
Insert: {
|
|
15831
|
-
accepted_at?: string | null;
|
|
15832
|
-
archived_at?: string | null;
|
|
15833
|
-
contact_id?: string | null;
|
|
15834
|
-
created_at?: string;
|
|
15835
|
-
customer_id?: string | null;
|
|
15836
|
-
discount?: number;
|
|
15837
|
-
expires_at?: string | null;
|
|
15838
|
-
field_values?: Json;
|
|
15839
|
-
id?: string;
|
|
15840
|
-
notes?: string | null;
|
|
15841
|
-
owner_id?: string | null;
|
|
15842
|
-
personal_message?: string | null;
|
|
15843
|
-
project_id?: string | null;
|
|
15844
|
-
prospect_id?: string | null;
|
|
15845
|
-
public_token?: string;
|
|
15846
|
-
quote_number?: string | null;
|
|
15847
|
-
recipient_email?: string | null;
|
|
15848
|
-
recipient_name?: string | null;
|
|
15849
|
-
rejected_at?: string | null;
|
|
15850
|
-
sent_at?: string | null;
|
|
15851
|
-
status?: string;
|
|
15852
|
-
subtotal?: number;
|
|
15853
|
-
template_id?: string | null;
|
|
15854
|
-
terms_id?: string | null;
|
|
15855
|
-
title?: string;
|
|
15856
|
-
total?: number;
|
|
15857
|
-
updated_at?: string;
|
|
15858
|
-
valid_until?: string | null;
|
|
15859
|
-
vat_amount?: number;
|
|
15860
|
-
vat_rate?: number;
|
|
15861
|
-
viewed_at?: string | null;
|
|
15862
|
-
};
|
|
15863
|
-
Update: {
|
|
15864
|
-
accepted_at?: string | null;
|
|
15865
|
-
archived_at?: string | null;
|
|
15866
|
-
contact_id?: string | null;
|
|
15867
|
-
created_at?: string;
|
|
15868
|
-
customer_id?: string | null;
|
|
15869
|
-
discount?: number;
|
|
15870
|
-
expires_at?: string | null;
|
|
15871
|
-
field_values?: Json;
|
|
15872
|
-
id?: string;
|
|
15873
|
-
notes?: string | null;
|
|
15874
|
-
owner_id?: string | null;
|
|
15875
|
-
personal_message?: string | null;
|
|
15876
|
-
project_id?: string | null;
|
|
15877
|
-
prospect_id?: string | null;
|
|
15878
|
-
public_token?: string;
|
|
15879
|
-
quote_number?: string | null;
|
|
15880
|
-
recipient_email?: string | null;
|
|
15881
|
-
recipient_name?: string | null;
|
|
15882
|
-
rejected_at?: string | null;
|
|
15883
|
-
sent_at?: string | null;
|
|
15884
|
-
status?: string;
|
|
15885
|
-
subtotal?: number;
|
|
15886
|
-
template_id?: string | null;
|
|
15887
|
-
terms_id?: string | null;
|
|
15888
|
-
title?: string;
|
|
15889
|
-
total?: number;
|
|
15890
|
-
updated_at?: string;
|
|
15891
|
-
valid_until?: string | null;
|
|
15892
|
-
vat_amount?: number;
|
|
15893
|
-
vat_rate?: number;
|
|
15894
|
-
viewed_at?: string | null;
|
|
15895
|
-
};
|
|
15896
|
-
Relationships: [
|
|
15897
|
-
{
|
|
15898
|
-
foreignKeyName: "quotes_contact_id_fkey";
|
|
15899
|
-
columns: ["contact_id"];
|
|
15900
|
-
isOneToOne: false;
|
|
15901
|
-
referencedRelation: "customer_contacts";
|
|
15902
|
-
referencedColumns: ["id"];
|
|
15903
|
-
},
|
|
15904
|
-
{
|
|
15905
|
-
foreignKeyName: "quotes_customer_id_fkey";
|
|
15906
|
-
columns: ["customer_id"];
|
|
15907
|
-
isOneToOne: false;
|
|
15908
|
-
referencedRelation: "customers";
|
|
15909
|
-
referencedColumns: ["id"];
|
|
15910
|
-
},
|
|
15911
|
-
{
|
|
15912
|
-
foreignKeyName: "quotes_project_id_fkey";
|
|
15913
|
-
columns: ["project_id"];
|
|
15914
|
-
isOneToOne: false;
|
|
15915
|
-
referencedRelation: "projects";
|
|
15916
|
-
referencedColumns: ["id"];
|
|
15917
|
-
},
|
|
15918
|
-
{
|
|
15919
|
-
foreignKeyName: "quotes_prospect_id_fkey";
|
|
15920
|
-
columns: ["prospect_id"];
|
|
15921
|
-
isOneToOne: false;
|
|
15922
|
-
referencedRelation: "prospects";
|
|
15923
|
-
referencedColumns: ["id"];
|
|
15924
|
-
},
|
|
15925
|
-
{
|
|
15926
|
-
foreignKeyName: "quotes_template_id_fkey";
|
|
15927
|
-
columns: ["template_id"];
|
|
15928
|
-
isOneToOne: false;
|
|
15929
|
-
referencedRelation: "quote_templates";
|
|
15930
|
-
referencedColumns: ["id"];
|
|
15931
|
-
},
|
|
15932
|
-
{
|
|
15933
|
-
foreignKeyName: "quotes_terms_id_fkey";
|
|
15934
|
-
columns: ["terms_id"];
|
|
15935
|
-
isOneToOne: false;
|
|
15936
|
-
referencedRelation: "quote_terms";
|
|
15937
|
-
referencedColumns: ["id"];
|
|
15938
|
-
}
|
|
15939
|
-
];
|
|
15940
|
-
};
|
|
15941
|
-
reception_notifications: {
|
|
15942
|
-
Row: {
|
|
15943
|
-
booking_id: string | null;
|
|
15944
|
-
created_at: string;
|
|
15945
|
-
id: string;
|
|
15946
|
-
is_read: boolean;
|
|
15947
|
-
message: string;
|
|
15948
|
-
recipient_email: string | null;
|
|
15949
|
-
title: string;
|
|
15950
|
-
type: string;
|
|
15951
|
-
};
|
|
15952
|
-
Insert: {
|
|
15953
|
-
booking_id?: string | null;
|
|
15954
|
-
created_at?: string;
|
|
15955
|
-
id?: string;
|
|
15956
|
-
is_read?: boolean;
|
|
15957
|
-
message: string;
|
|
15958
|
-
recipient_email?: string | null;
|
|
15959
|
-
title: string;
|
|
15960
|
-
type: string;
|
|
15961
|
-
};
|
|
15962
|
-
Update: {
|
|
15963
|
-
booking_id?: string | null;
|
|
15964
|
-
created_at?: string;
|
|
15965
|
-
id?: string;
|
|
15966
|
-
is_read?: boolean;
|
|
15967
|
-
message?: string;
|
|
15968
|
-
recipient_email?: string | null;
|
|
15969
|
-
title?: string;
|
|
15970
|
-
type?: string;
|
|
15971
|
-
};
|
|
15972
|
-
Relationships: [
|
|
15973
|
-
{
|
|
15974
|
-
foreignKeyName: "reception_notifications_booking_id_fkey";
|
|
15975
|
-
columns: ["booking_id"];
|
|
15976
|
-
isOneToOne: false;
|
|
15977
|
-
referencedRelation: "bookings";
|
|
15978
|
-
referencedColumns: ["id"];
|
|
15979
|
-
}
|
|
15980
|
-
];
|
|
15981
|
-
};
|
|
15982
|
-
role_assignments: {
|
|
15983
|
-
Row: {
|
|
15984
|
-
created_at: string;
|
|
15985
|
-
id: string;
|
|
15986
|
-
role_id: string;
|
|
15987
|
-
user_id: string;
|
|
15988
|
-
};
|
|
15989
|
-
Insert: {
|
|
15990
|
-
created_at?: string;
|
|
15991
|
-
id?: string;
|
|
15992
|
-
role_id: string;
|
|
15993
|
-
user_id: string;
|
|
15994
|
-
};
|
|
15995
|
-
Update: {
|
|
15996
|
-
created_at?: string;
|
|
15997
|
-
id?: string;
|
|
15998
|
-
role_id?: string;
|
|
15999
|
-
user_id?: string;
|
|
16000
|
-
};
|
|
16001
|
-
Relationships: [
|
|
16002
|
-
{
|
|
16003
|
-
foreignKeyName: "role_assignments_role_id_fkey";
|
|
16004
|
-
columns: ["role_id"];
|
|
16005
|
-
isOneToOne: false;
|
|
16006
|
-
referencedRelation: "roles";
|
|
16007
|
-
referencedColumns: ["id"];
|
|
16008
|
-
}
|
|
16009
|
-
];
|
|
16010
|
-
};
|
|
16011
|
-
role_permissions: {
|
|
16012
|
-
Row: {
|
|
16013
|
-
can_edit: boolean;
|
|
16014
|
-
can_view: boolean;
|
|
16015
|
-
feature_id: string;
|
|
16016
|
-
id: string;
|
|
16017
|
-
module_id: string;
|
|
16018
|
-
role_id: string;
|
|
16019
|
-
updated_at: string;
|
|
16020
|
-
};
|
|
16021
|
-
Insert: {
|
|
16022
|
-
can_edit?: boolean;
|
|
16023
|
-
can_view?: boolean;
|
|
16024
|
-
feature_id?: string;
|
|
16025
|
-
id?: string;
|
|
16026
|
-
module_id: string;
|
|
16027
|
-
role_id: string;
|
|
16028
|
-
updated_at?: string;
|
|
16100
|
+
module_id: string;
|
|
16101
|
+
role_id: string;
|
|
16102
|
+
updated_at?: string;
|
|
16029
16103
|
};
|
|
16030
16104
|
Update: {
|
|
16031
16105
|
can_edit?: boolean;
|
|
@@ -17084,7 +17158,7 @@ export type Database = {
|
|
|
17084
17158
|
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
17085
17159
|
columns: ["work_order_id"];
|
|
17086
17160
|
isOneToOne: false;
|
|
17087
|
-
referencedRelation: "
|
|
17161
|
+
referencedRelation: "werkbonnen";
|
|
17088
17162
|
referencedColumns: ["id"];
|
|
17089
17163
|
}
|
|
17090
17164
|
];
|
|
@@ -17219,6 +17293,7 @@ export type Database = {
|
|
|
17219
17293
|
};
|
|
17220
17294
|
trade_item_stock: {
|
|
17221
17295
|
Row: {
|
|
17296
|
+
change_source: string;
|
|
17222
17297
|
connection_id: string;
|
|
17223
17298
|
created_at: string;
|
|
17224
17299
|
id: string;
|
|
@@ -17232,6 +17307,7 @@ export type Database = {
|
|
|
17232
17307
|
user_id: string;
|
|
17233
17308
|
};
|
|
17234
17309
|
Insert: {
|
|
17310
|
+
change_source?: string;
|
|
17235
17311
|
connection_id: string;
|
|
17236
17312
|
created_at?: string;
|
|
17237
17313
|
id?: string;
|
|
@@ -17245,6 +17321,7 @@ export type Database = {
|
|
|
17245
17321
|
user_id: string;
|
|
17246
17322
|
};
|
|
17247
17323
|
Update: {
|
|
17324
|
+
change_source?: string;
|
|
17248
17325
|
connection_id?: string;
|
|
17249
17326
|
created_at?: string;
|
|
17250
17327
|
id?: string;
|
|
@@ -18393,200 +18470,45 @@ export type Database = {
|
|
|
18393
18470
|
Relationships: [
|
|
18394
18471
|
{
|
|
18395
18472
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
18396
|
-
columns: ["werkbon_id"];
|
|
18397
|
-
isOneToOne: false;
|
|
18398
|
-
referencedRelation: "werkbonnen";
|
|
18399
|
-
referencedColumns: ["id"];
|
|
18400
|
-
}
|
|
18401
|
-
];
|
|
18402
|
-
};
|
|
18403
|
-
uren_exports: {
|
|
18404
|
-
Row: {
|
|
18405
|
-
created_at: string;
|
|
18406
|
-
created_by: string | null;
|
|
18407
|
-
file_name: string | null;
|
|
18408
|
-
id: string;
|
|
18409
|
-
monteur_ids: string[];
|
|
18410
|
-
period_end: string;
|
|
18411
|
-
period_start: string;
|
|
18412
|
-
row_count: number;
|
|
18413
|
-
};
|
|
18414
|
-
Insert: {
|
|
18415
|
-
created_at?: string;
|
|
18416
|
-
created_by?: string | null;
|
|
18417
|
-
file_name?: string | null;
|
|
18418
|
-
id?: string;
|
|
18419
|
-
monteur_ids?: string[];
|
|
18420
|
-
period_end: string;
|
|
18421
|
-
period_start: string;
|
|
18422
|
-
row_count?: number;
|
|
18423
|
-
};
|
|
18424
|
-
Update: {
|
|
18425
|
-
created_at?: string;
|
|
18426
|
-
created_by?: string | null;
|
|
18427
|
-
file_name?: string | null;
|
|
18428
|
-
id?: string;
|
|
18429
|
-
monteur_ids?: string[];
|
|
18430
|
-
period_end?: string;
|
|
18431
|
-
period_start?: string;
|
|
18432
|
-
row_count?: number;
|
|
18433
|
-
};
|
|
18434
|
-
Relationships: [];
|
|
18435
|
-
};
|
|
18436
|
-
uren_offerte_regels: {
|
|
18437
|
-
Row: {
|
|
18438
|
-
created_at: string;
|
|
18439
|
-
description: string;
|
|
18440
|
-
duration_minutes: number;
|
|
18441
|
-
id: string;
|
|
18442
|
-
offerte_id: string;
|
|
18443
|
-
package_id: string | null;
|
|
18444
|
-
quantity: number;
|
|
18445
|
-
sort_order: number;
|
|
18446
|
-
total_cents: number;
|
|
18447
|
-
unit_price_cents: number;
|
|
18448
|
-
};
|
|
18449
|
-
Insert: {
|
|
18450
|
-
created_at?: string;
|
|
18451
|
-
description: string;
|
|
18452
|
-
duration_minutes?: number;
|
|
18453
|
-
id?: string;
|
|
18454
|
-
offerte_id: string;
|
|
18455
|
-
package_id?: string | null;
|
|
18456
|
-
quantity?: number;
|
|
18457
|
-
sort_order?: number;
|
|
18458
|
-
total_cents?: number;
|
|
18459
|
-
unit_price_cents?: number;
|
|
18460
|
-
};
|
|
18461
|
-
Update: {
|
|
18462
|
-
created_at?: string;
|
|
18463
|
-
description?: string;
|
|
18464
|
-
duration_minutes?: number;
|
|
18465
|
-
id?: string;
|
|
18466
|
-
offerte_id?: string;
|
|
18467
|
-
package_id?: string | null;
|
|
18468
|
-
quantity?: number;
|
|
18469
|
-
sort_order?: number;
|
|
18470
|
-
total_cents?: number;
|
|
18471
|
-
unit_price_cents?: number;
|
|
18472
|
-
};
|
|
18473
|
-
Relationships: [
|
|
18474
|
-
{
|
|
18475
|
-
foreignKeyName: "uren_offerte_regels_offerte_id_fkey";
|
|
18476
|
-
columns: ["offerte_id"];
|
|
18477
|
-
isOneToOne: false;
|
|
18478
|
-
referencedRelation: "uren_offertes";
|
|
18479
|
-
referencedColumns: ["id"];
|
|
18480
|
-
},
|
|
18481
|
-
{
|
|
18482
|
-
foreignKeyName: "uren_offerte_regels_package_id_fkey";
|
|
18483
|
-
columns: ["package_id"];
|
|
18484
|
-
isOneToOne: false;
|
|
18485
|
-
referencedRelation: "werkbon_packages";
|
|
18486
|
-
referencedColumns: ["id"];
|
|
18487
|
-
}
|
|
18488
|
-
];
|
|
18489
|
-
};
|
|
18490
|
-
uren_offerte_velden: {
|
|
18491
|
-
Row: {
|
|
18492
|
-
created_at: string;
|
|
18493
|
-
field_type: string;
|
|
18494
|
-
id: string;
|
|
18495
|
-
key: string;
|
|
18496
|
-
label: string;
|
|
18497
|
-
options: string[];
|
|
18498
|
-
required: boolean;
|
|
18499
|
-
sort_order: number;
|
|
18500
|
-
updated_at: string;
|
|
18501
|
-
};
|
|
18502
|
-
Insert: {
|
|
18503
|
-
created_at?: string;
|
|
18504
|
-
field_type?: string;
|
|
18505
|
-
id?: string;
|
|
18506
|
-
key: string;
|
|
18507
|
-
label: string;
|
|
18508
|
-
options?: string[];
|
|
18509
|
-
required?: boolean;
|
|
18510
|
-
sort_order?: number;
|
|
18511
|
-
updated_at?: string;
|
|
18512
|
-
};
|
|
18513
|
-
Update: {
|
|
18514
|
-
created_at?: string;
|
|
18515
|
-
field_type?: string;
|
|
18516
|
-
id?: string;
|
|
18517
|
-
key?: string;
|
|
18518
|
-
label?: string;
|
|
18519
|
-
options?: string[];
|
|
18520
|
-
required?: boolean;
|
|
18521
|
-
sort_order?: number;
|
|
18522
|
-
updated_at?: string;
|
|
18523
|
-
};
|
|
18524
|
-
Relationships: [];
|
|
18473
|
+
columns: ["werkbon_id"];
|
|
18474
|
+
isOneToOne: false;
|
|
18475
|
+
referencedRelation: "werkbonnen";
|
|
18476
|
+
referencedColumns: ["id"];
|
|
18477
|
+
}
|
|
18478
|
+
];
|
|
18525
18479
|
};
|
|
18526
|
-
|
|
18480
|
+
uren_exports: {
|
|
18527
18481
|
Row: {
|
|
18528
18482
|
created_at: string;
|
|
18529
18483
|
created_by: string | null;
|
|
18530
|
-
|
|
18531
|
-
customer_name: string | null;
|
|
18532
|
-
dynamic_fields: Json;
|
|
18533
|
-
estimated_minutes: number;
|
|
18484
|
+
file_name: string | null;
|
|
18534
18485
|
id: string;
|
|
18535
|
-
|
|
18536
|
-
|
|
18537
|
-
|
|
18538
|
-
|
|
18539
|
-
total_excl_cents: number;
|
|
18540
|
-
total_incl_cents: number;
|
|
18541
|
-
updated_at: string;
|
|
18542
|
-
valid_until: string | null;
|
|
18543
|
-
vat_percentage: number;
|
|
18486
|
+
monteur_ids: string[];
|
|
18487
|
+
period_end: string;
|
|
18488
|
+
period_start: string;
|
|
18489
|
+
row_count: number;
|
|
18544
18490
|
};
|
|
18545
18491
|
Insert: {
|
|
18546
18492
|
created_at?: string;
|
|
18547
18493
|
created_by?: string | null;
|
|
18548
|
-
|
|
18549
|
-
customer_name?: string | null;
|
|
18550
|
-
dynamic_fields?: Json;
|
|
18551
|
-
estimated_minutes?: number;
|
|
18494
|
+
file_name?: string | null;
|
|
18552
18495
|
id?: string;
|
|
18553
|
-
|
|
18554
|
-
|
|
18555
|
-
|
|
18556
|
-
|
|
18557
|
-
total_excl_cents?: number;
|
|
18558
|
-
total_incl_cents?: number;
|
|
18559
|
-
updated_at?: string;
|
|
18560
|
-
valid_until?: string | null;
|
|
18561
|
-
vat_percentage?: number;
|
|
18496
|
+
monteur_ids?: string[];
|
|
18497
|
+
period_end: string;
|
|
18498
|
+
period_start: string;
|
|
18499
|
+
row_count?: number;
|
|
18562
18500
|
};
|
|
18563
18501
|
Update: {
|
|
18564
18502
|
created_at?: string;
|
|
18565
18503
|
created_by?: string | null;
|
|
18566
|
-
|
|
18567
|
-
customer_name?: string | null;
|
|
18568
|
-
dynamic_fields?: Json;
|
|
18569
|
-
estimated_minutes?: number;
|
|
18504
|
+
file_name?: string | null;
|
|
18570
18505
|
id?: string;
|
|
18571
|
-
|
|
18572
|
-
|
|
18573
|
-
|
|
18574
|
-
|
|
18575
|
-
total_excl_cents?: number;
|
|
18576
|
-
total_incl_cents?: number;
|
|
18577
|
-
updated_at?: string;
|
|
18578
|
-
valid_until?: string | null;
|
|
18579
|
-
vat_percentage?: number;
|
|
18506
|
+
monteur_ids?: string[];
|
|
18507
|
+
period_end?: string;
|
|
18508
|
+
period_start?: string;
|
|
18509
|
+
row_count?: number;
|
|
18580
18510
|
};
|
|
18581
|
-
Relationships: [
|
|
18582
|
-
{
|
|
18583
|
-
foreignKeyName: "uren_offertes_customer_id_fkey";
|
|
18584
|
-
columns: ["customer_id"];
|
|
18585
|
-
isOneToOne: false;
|
|
18586
|
-
referencedRelation: "itk_customers";
|
|
18587
|
-
referencedColumns: ["id"];
|
|
18588
|
-
}
|
|
18589
|
-
];
|
|
18511
|
+
Relationships: [];
|
|
18590
18512
|
};
|
|
18591
18513
|
uren_settings: {
|
|
18592
18514
|
Row: {
|
|
@@ -20311,6 +20233,39 @@ export type Database = {
|
|
|
20311
20233
|
};
|
|
20312
20234
|
Relationships: [];
|
|
20313
20235
|
};
|
|
20236
|
+
planning_overview: {
|
|
20237
|
+
Row: {
|
|
20238
|
+
assigned_monteur_id: string | null;
|
|
20239
|
+
assistants: Json | null;
|
|
20240
|
+
budget_mandate_cents: number | null;
|
|
20241
|
+
created_at: string | null;
|
|
20242
|
+
created_by: string | null;
|
|
20243
|
+
customer_id: string | null;
|
|
20244
|
+
customer_name: string | null;
|
|
20245
|
+
duration_minutes: number | null;
|
|
20246
|
+
end_at: string | null;
|
|
20247
|
+
id: string | null;
|
|
20248
|
+
needs_detail_review: boolean | null;
|
|
20249
|
+
notes: string | null;
|
|
20250
|
+
project_number: string | null;
|
|
20251
|
+
review_reasons: string[] | null;
|
|
20252
|
+
start_at: string | null;
|
|
20253
|
+
status: Database["public"]["Enums"]["planning_item_status"] | null;
|
|
20254
|
+
updated_at: string | null;
|
|
20255
|
+
viewer_role: string | null;
|
|
20256
|
+
werkbon_id: string | null;
|
|
20257
|
+
work_address: string | null;
|
|
20258
|
+
};
|
|
20259
|
+
Relationships: [
|
|
20260
|
+
{
|
|
20261
|
+
foreignKeyName: "planning_items_werkbon_id_fkey";
|
|
20262
|
+
columns: ["werkbon_id"];
|
|
20263
|
+
isOneToOne: false;
|
|
20264
|
+
referencedRelation: "werkbonnen";
|
|
20265
|
+
referencedColumns: ["id"];
|
|
20266
|
+
}
|
|
20267
|
+
];
|
|
20268
|
+
};
|
|
20314
20269
|
product_group_stock_view: {
|
|
20315
20270
|
Row: {
|
|
20316
20271
|
item_count: number | null;
|
|
@@ -20925,6 +20880,18 @@ export type Database = {
|
|
|
20925
20880
|
Args: never;
|
|
20926
20881
|
Returns: number;
|
|
20927
20882
|
};
|
|
20883
|
+
calculate_floriday_desired_stock: {
|
|
20884
|
+
Args: {
|
|
20885
|
+
p_connection_id: string;
|
|
20886
|
+
p_product_id: string;
|
|
20887
|
+
};
|
|
20888
|
+
Returns: {
|
|
20889
|
+
desired_availability: boolean;
|
|
20890
|
+
desired_quantity: number;
|
|
20891
|
+
erp_available: number;
|
|
20892
|
+
stock_mode: string;
|
|
20893
|
+
}[];
|
|
20894
|
+
};
|
|
20928
20895
|
calculate_layer_stock: {
|
|
20929
20896
|
Args: {
|
|
20930
20897
|
p_product_id: string;
|
|
@@ -20986,6 +20953,9 @@ export type Database = {
|
|
|
20986
20953
|
is_herprint: boolean;
|
|
20987
20954
|
kopieen: number;
|
|
20988
20955
|
layout_id: string | null;
|
|
20956
|
+
lokaal_opgeslagen_op: string | null;
|
|
20957
|
+
lokale_pdf_fout: string | null;
|
|
20958
|
+
lokale_pdf_status: string | null;
|
|
20989
20959
|
opgepakt_op: string | null;
|
|
20990
20960
|
paginas: number;
|
|
20991
20961
|
payload: Json;
|
|
@@ -20994,6 +20964,7 @@ export type Database = {
|
|
|
20994
20964
|
pogingen: number;
|
|
20995
20965
|
printer_id: string | null;
|
|
20996
20966
|
render_html: string | null;
|
|
20967
|
+
resultaat_pdf_base64: string | null;
|
|
20997
20968
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
20998
20969
|
updated_at: string;
|
|
20999
20970
|
volgende_poging: string | null;
|
|
@@ -21015,6 +20986,7 @@ export type Database = {
|
|
|
21015
20986
|
attempts: number;
|
|
21016
20987
|
connection_id: string;
|
|
21017
20988
|
created_at: string;
|
|
20989
|
+
dead_lettered_at: string | null;
|
|
21018
20990
|
desired_available: boolean | null;
|
|
21019
20991
|
gateway_attempt_id: string | null;
|
|
21020
20992
|
id: string;
|
|
@@ -21023,9 +20995,13 @@ export type Database = {
|
|
|
21023
20995
|
locked_by: string | null;
|
|
21024
20996
|
next_attempt_at: string;
|
|
21025
20997
|
number_of_pieces: number;
|
|
20998
|
+
product_id: string | null;
|
|
21026
20999
|
sent_at: string | null;
|
|
21027
21000
|
status: string;
|
|
21001
|
+
stock_mode: string | null;
|
|
21028
21002
|
superseded_by: string | null;
|
|
21003
|
+
target_week: number | null;
|
|
21004
|
+
target_year: number | null;
|
|
21029
21005
|
trade_item_id: string;
|
|
21030
21006
|
updated_at: string;
|
|
21031
21007
|
user_id: string;
|
|
@@ -21085,6 +21061,53 @@ export type Database = {
|
|
|
21085
21061
|
isSetofReturn: true;
|
|
21086
21062
|
};
|
|
21087
21063
|
};
|
|
21064
|
+
claim_pdf_print_jobs: {
|
|
21065
|
+
Args: {
|
|
21066
|
+
_max?: number;
|
|
21067
|
+
};
|
|
21068
|
+
Returns: {
|
|
21069
|
+
agent_id: string | null;
|
|
21070
|
+
bron_job_id: string | null;
|
|
21071
|
+
created_at: string;
|
|
21072
|
+
documentnaam: string;
|
|
21073
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
21074
|
+
extern_job_id: string | null;
|
|
21075
|
+
foutmelding: string | null;
|
|
21076
|
+
gebruiker_id: string | null;
|
|
21077
|
+
gebruiker_naam: string;
|
|
21078
|
+
gebruikte_bron: string | null;
|
|
21079
|
+
gebruikte_layout_id: string | null;
|
|
21080
|
+
gestart_op: string | null;
|
|
21081
|
+
herkomst: string | null;
|
|
21082
|
+
id: string;
|
|
21083
|
+
idempotentie_sleutel: string | null;
|
|
21084
|
+
is_herprint: boolean;
|
|
21085
|
+
kopieen: number;
|
|
21086
|
+
layout_id: string | null;
|
|
21087
|
+
lokaal_opgeslagen_op: string | null;
|
|
21088
|
+
lokale_pdf_fout: string | null;
|
|
21089
|
+
lokale_pdf_status: string | null;
|
|
21090
|
+
opgepakt_op: string | null;
|
|
21091
|
+
paginas: number;
|
|
21092
|
+
payload: Json;
|
|
21093
|
+
pdf_base64: string | null;
|
|
21094
|
+
pdf_url: string | null;
|
|
21095
|
+
pogingen: number;
|
|
21096
|
+
printer_id: string | null;
|
|
21097
|
+
render_html: string | null;
|
|
21098
|
+
resultaat_pdf_base64: string | null;
|
|
21099
|
+
status: Database["public"]["Enums"]["print_job_status"];
|
|
21100
|
+
updated_at: string;
|
|
21101
|
+
volgende_poging: string | null;
|
|
21102
|
+
voltooid_op: string | null;
|
|
21103
|
+
}[];
|
|
21104
|
+
SetofOptions: {
|
|
21105
|
+
from: "*";
|
|
21106
|
+
to: "print_jobs";
|
|
21107
|
+
isOneToOne: false;
|
|
21108
|
+
isSetofReturn: true;
|
|
21109
|
+
};
|
|
21110
|
+
};
|
|
21088
21111
|
claim_print_jobs: {
|
|
21089
21112
|
Args: {
|
|
21090
21113
|
_agent_id: string;
|
|
@@ -21109,6 +21132,9 @@ export type Database = {
|
|
|
21109
21132
|
is_herprint: boolean;
|
|
21110
21133
|
kopieen: number;
|
|
21111
21134
|
layout_id: string | null;
|
|
21135
|
+
lokaal_opgeslagen_op: string | null;
|
|
21136
|
+
lokale_pdf_fout: string | null;
|
|
21137
|
+
lokale_pdf_status: string | null;
|
|
21112
21138
|
opgepakt_op: string | null;
|
|
21113
21139
|
paginas: number;
|
|
21114
21140
|
payload: Json;
|
|
@@ -21117,6 +21143,7 @@ export type Database = {
|
|
|
21117
21143
|
pogingen: number;
|
|
21118
21144
|
printer_id: string | null;
|
|
21119
21145
|
render_html: string | null;
|
|
21146
|
+
resultaat_pdf_base64: string | null;
|
|
21120
21147
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
21121
21148
|
updated_at: string;
|
|
21122
21149
|
volgende_poging: string | null;
|
|
@@ -21257,6 +21284,8 @@ export type Database = {
|
|
|
21257
21284
|
order_id: string;
|
|
21258
21285
|
order_source: string;
|
|
21259
21286
|
pick_date: string;
|
|
21287
|
+
printed_at: string;
|
|
21288
|
+
printed_today: boolean;
|
|
21260
21289
|
status: string;
|
|
21261
21290
|
}[];
|
|
21262
21291
|
};
|
|
@@ -21453,6 +21482,24 @@ export type Database = {
|
|
|
21453
21482
|
};
|
|
21454
21483
|
Returns: string;
|
|
21455
21484
|
};
|
|
21485
|
+
floriday_capture_stock_snapshot: {
|
|
21486
|
+
Args: never;
|
|
21487
|
+
Returns: number;
|
|
21488
|
+
};
|
|
21489
|
+
floriday_cleanup_stock_queue_v2: {
|
|
21490
|
+
Args: never;
|
|
21491
|
+
Returns: undefined;
|
|
21492
|
+
};
|
|
21493
|
+
floriday_compact_stock_snapshots: {
|
|
21494
|
+
Args: never;
|
|
21495
|
+
Returns: undefined;
|
|
21496
|
+
};
|
|
21497
|
+
floriday_default_owner: {
|
|
21498
|
+
Args: {
|
|
21499
|
+
p_connection_id: string;
|
|
21500
|
+
};
|
|
21501
|
+
Returns: string;
|
|
21502
|
+
};
|
|
21456
21503
|
floriday_effective_price: {
|
|
21457
21504
|
Args: {
|
|
21458
21505
|
_buyer_id: string;
|
|
@@ -21470,6 +21517,34 @@ export type Database = {
|
|
|
21470
21517
|
source_id: string;
|
|
21471
21518
|
}[];
|
|
21472
21519
|
};
|
|
21520
|
+
floriday_fill_publish_horizon: {
|
|
21521
|
+
Args: never;
|
|
21522
|
+
Returns: number;
|
|
21523
|
+
};
|
|
21524
|
+
floriday_ingest_sales_orders: {
|
|
21525
|
+
Args: {
|
|
21526
|
+
p_limit?: number;
|
|
21527
|
+
};
|
|
21528
|
+
Returns: number;
|
|
21529
|
+
};
|
|
21530
|
+
floriday_publish_horizon_weeks: {
|
|
21531
|
+
Args: never;
|
|
21532
|
+
Returns: number;
|
|
21533
|
+
};
|
|
21534
|
+
floriday_recompute_inventory: {
|
|
21535
|
+
Args: {
|
|
21536
|
+
p_connection_id: string;
|
|
21537
|
+
p_force?: boolean;
|
|
21538
|
+
p_product_id: string;
|
|
21539
|
+
};
|
|
21540
|
+
Returns: undefined;
|
|
21541
|
+
};
|
|
21542
|
+
floriday_requeue_dead_letters: {
|
|
21543
|
+
Args: {
|
|
21544
|
+
p_connection_id?: string;
|
|
21545
|
+
};
|
|
21546
|
+
Returns: number;
|
|
21547
|
+
};
|
|
21473
21548
|
format_cart_number: {
|
|
21474
21549
|
Args: {
|
|
21475
21550
|
p_pick_date: string;
|
|
@@ -21686,6 +21761,131 @@ export type Database = {
|
|
|
21686
21761
|
Args: never;
|
|
21687
21762
|
Returns: string;
|
|
21688
21763
|
};
|
|
21764
|
+
handover_get: {
|
|
21765
|
+
Args: {
|
|
21766
|
+
_module_id: string;
|
|
21767
|
+
};
|
|
21768
|
+
Returns: Json;
|
|
21769
|
+
};
|
|
21770
|
+
handover_kern_naam: {
|
|
21771
|
+
Args: {
|
|
21772
|
+
_naam: string;
|
|
21773
|
+
};
|
|
21774
|
+
Returns: string;
|
|
21775
|
+
};
|
|
21776
|
+
handover_ketenmodel: {
|
|
21777
|
+
Args: never;
|
|
21778
|
+
Returns: Json;
|
|
21779
|
+
};
|
|
21780
|
+
handover_kruisconflicten: {
|
|
21781
|
+
Args: never;
|
|
21782
|
+
Returns: Json;
|
|
21783
|
+
};
|
|
21784
|
+
handover_list: {
|
|
21785
|
+
Args: never;
|
|
21786
|
+
Returns: Json;
|
|
21787
|
+
};
|
|
21788
|
+
handover_mag_schrijven: {
|
|
21789
|
+
Args: {
|
|
21790
|
+
_module_id: string;
|
|
21791
|
+
};
|
|
21792
|
+
Returns: boolean;
|
|
21793
|
+
};
|
|
21794
|
+
handover_norm_naam: {
|
|
21795
|
+
Args: {
|
|
21796
|
+
_naam: string;
|
|
21797
|
+
};
|
|
21798
|
+
Returns: string;
|
|
21799
|
+
};
|
|
21800
|
+
handover_publish: {
|
|
21801
|
+
Args: {
|
|
21802
|
+
_bevindingen?: string;
|
|
21803
|
+
_bezit_tabellen?: string[];
|
|
21804
|
+
_conflicten_snapshot?: Json;
|
|
21805
|
+
_contractfuncties?: string[];
|
|
21806
|
+
_inhoud_md: string;
|
|
21807
|
+
_module_id: string;
|
|
21808
|
+
_module_titel: string;
|
|
21809
|
+
_ontbrekende_contracten?: string[];
|
|
21810
|
+
_samenvatting?: string;
|
|
21811
|
+
};
|
|
21812
|
+
Returns: number;
|
|
21813
|
+
};
|
|
21814
|
+
handover_publish_via_token: {
|
|
21815
|
+
Args: {
|
|
21816
|
+
_bevindingen?: string;
|
|
21817
|
+
_bezit_tabellen?: string[];
|
|
21818
|
+
_conflicten_snapshot?: Json;
|
|
21819
|
+
_contractfuncties?: string[];
|
|
21820
|
+
_inhoud_md: string;
|
|
21821
|
+
_module_id: string;
|
|
21822
|
+
_module_titel: string;
|
|
21823
|
+
_ontbrekende_contracten?: string[];
|
|
21824
|
+
_samenvatting?: string;
|
|
21825
|
+
_token_hash: string;
|
|
21826
|
+
};
|
|
21827
|
+
Returns: number;
|
|
21828
|
+
};
|
|
21829
|
+
handover_status: {
|
|
21830
|
+
Args: never;
|
|
21831
|
+
Returns: Json;
|
|
21832
|
+
};
|
|
21833
|
+
handover_synonym_kern: {
|
|
21834
|
+
Args: {
|
|
21835
|
+
_naam: string;
|
|
21836
|
+
};
|
|
21837
|
+
Returns: string;
|
|
21838
|
+
};
|
|
21839
|
+
handover_token_intrekken: {
|
|
21840
|
+
Args: {
|
|
21841
|
+
_id: string;
|
|
21842
|
+
};
|
|
21843
|
+
Returns: boolean;
|
|
21844
|
+
};
|
|
21845
|
+
handover_token_lijst: {
|
|
21846
|
+
Args: never;
|
|
21847
|
+
Returns: Json;
|
|
21848
|
+
};
|
|
21849
|
+
handover_token_maken: {
|
|
21850
|
+
Args: {
|
|
21851
|
+
_label?: string;
|
|
21852
|
+
_module_id: string;
|
|
21853
|
+
};
|
|
21854
|
+
Returns: string;
|
|
21855
|
+
};
|
|
21856
|
+
handover_update: {
|
|
21857
|
+
Args: {
|
|
21858
|
+
_bezit_tabellen?: string[];
|
|
21859
|
+
_contractfuncties?: string[];
|
|
21860
|
+
_herzieningstermijn_dagen?: number;
|
|
21861
|
+
_inhoud_md?: string;
|
|
21862
|
+
_module_id: string;
|
|
21863
|
+
_module_titel?: string;
|
|
21864
|
+
_samenvatting?: string;
|
|
21865
|
+
_versie: number;
|
|
21866
|
+
};
|
|
21867
|
+
Returns: boolean;
|
|
21868
|
+
} | {
|
|
21869
|
+
Args: {
|
|
21870
|
+
_bevindingen?: string;
|
|
21871
|
+
_bezit_tabellen?: string[];
|
|
21872
|
+
_contractfuncties?: string[];
|
|
21873
|
+
_herzieningstermijn_dagen?: number;
|
|
21874
|
+
_inhoud_md?: string;
|
|
21875
|
+
_module_id: string;
|
|
21876
|
+
_module_titel?: string;
|
|
21877
|
+
_ontbrekende_contracten?: string[];
|
|
21878
|
+
_samenvatting?: string;
|
|
21879
|
+
_versie: number;
|
|
21880
|
+
};
|
|
21881
|
+
Returns: boolean;
|
|
21882
|
+
};
|
|
21883
|
+
handover_versies: {
|
|
21884
|
+
Args: {
|
|
21885
|
+
_module_id: string;
|
|
21886
|
+
};
|
|
21887
|
+
Returns: Json;
|
|
21888
|
+
};
|
|
21689
21889
|
has_module_permission: {
|
|
21690
21890
|
Args: {
|
|
21691
21891
|
_min: string;
|
|
@@ -21705,6 +21905,25 @@ export type Database = {
|
|
|
21705
21905
|
Args: never;
|
|
21706
21906
|
Returns: boolean;
|
|
21707
21907
|
};
|
|
21908
|
+
instructie_get: {
|
|
21909
|
+
Args: {
|
|
21910
|
+
_sleutel: string;
|
|
21911
|
+
};
|
|
21912
|
+
Returns: Json;
|
|
21913
|
+
};
|
|
21914
|
+
instructie_list: {
|
|
21915
|
+
Args: never;
|
|
21916
|
+
Returns: Json;
|
|
21917
|
+
};
|
|
21918
|
+
instructie_publish: {
|
|
21919
|
+
Args: {
|
|
21920
|
+
_inhoud_md: string;
|
|
21921
|
+
_sleutel: string;
|
|
21922
|
+
_titel: string;
|
|
21923
|
+
_toelichting?: string;
|
|
21924
|
+
};
|
|
21925
|
+
Returns: number;
|
|
21926
|
+
};
|
|
21708
21927
|
invoice_create_from_source: {
|
|
21709
21928
|
Args: {
|
|
21710
21929
|
_payload?: Json;
|
|
@@ -21929,6 +22148,12 @@ export type Database = {
|
|
|
21929
22148
|
};
|
|
21930
22149
|
Returns: boolean;
|
|
21931
22150
|
};
|
|
22151
|
+
logistics_barcode_lookup: {
|
|
22152
|
+
Args: {
|
|
22153
|
+
p_barcode: string;
|
|
22154
|
+
};
|
|
22155
|
+
Returns: Json;
|
|
22156
|
+
};
|
|
21932
22157
|
logistics_buffer_criteria: {
|
|
21933
22158
|
Args: {
|
|
21934
22159
|
p_settings: Json;
|
|
@@ -21965,6 +22190,10 @@ export type Database = {
|
|
|
21965
22190
|
};
|
|
21966
22191
|
Returns: number;
|
|
21967
22192
|
};
|
|
22193
|
+
logistics_cancel_orphan_tasks: {
|
|
22194
|
+
Args: never;
|
|
22195
|
+
Returns: number;
|
|
22196
|
+
};
|
|
21968
22197
|
logistics_capacity_day_check: {
|
|
21969
22198
|
Args: {
|
|
21970
22199
|
p_from?: string;
|
|
@@ -21985,6 +22214,41 @@ export type Database = {
|
|
|
21985
22214
|
};
|
|
21986
22215
|
Returns: number;
|
|
21987
22216
|
};
|
|
22217
|
+
logistics_cart_barcode_value: {
|
|
22218
|
+
Args: {
|
|
22219
|
+
_cart_id: string;
|
|
22220
|
+
};
|
|
22221
|
+
Returns: string;
|
|
22222
|
+
};
|
|
22223
|
+
logistics_cart_index: {
|
|
22224
|
+
Args: {
|
|
22225
|
+
p_from?: string;
|
|
22226
|
+
p_to?: string;
|
|
22227
|
+
};
|
|
22228
|
+
Returns: {
|
|
22229
|
+
cart_id: string;
|
|
22230
|
+
cart_index: number;
|
|
22231
|
+
cart_label: string;
|
|
22232
|
+
delivery_date: string;
|
|
22233
|
+
is_announced: boolean;
|
|
22234
|
+
is_controlled: boolean;
|
|
22235
|
+
is_printed: boolean;
|
|
22236
|
+
is_shared: boolean;
|
|
22237
|
+
order_number: string;
|
|
22238
|
+
order_source: string;
|
|
22239
|
+
order_uuid: string;
|
|
22240
|
+
pick_date: string;
|
|
22241
|
+
printed_at: string;
|
|
22242
|
+
shifted: boolean;
|
|
22243
|
+
task_status: string;
|
|
22244
|
+
}[];
|
|
22245
|
+
};
|
|
22246
|
+
logistics_cart_slip_plan: {
|
|
22247
|
+
Args: {
|
|
22248
|
+
p_order_id: string;
|
|
22249
|
+
};
|
|
22250
|
+
Returns: Json;
|
|
22251
|
+
};
|
|
21988
22252
|
logistics_check_order_allowed: {
|
|
21989
22253
|
Args: {
|
|
21990
22254
|
p_lines: Json;
|
|
@@ -22133,6 +22397,21 @@ export type Database = {
|
|
|
22133
22397
|
isSetofReturn: false;
|
|
22134
22398
|
};
|
|
22135
22399
|
};
|
|
22400
|
+
logistics_consistency_check: {
|
|
22401
|
+
Args: never;
|
|
22402
|
+
Returns: {
|
|
22403
|
+
agenda_carts: number;
|
|
22404
|
+
announced_carts: number;
|
|
22405
|
+
control_carts: number;
|
|
22406
|
+
delivery_carts: number;
|
|
22407
|
+
ok: boolean;
|
|
22408
|
+
orphan_tasks: number;
|
|
22409
|
+
pick_date: string;
|
|
22410
|
+
raw_carts: number;
|
|
22411
|
+
sales_carts: number;
|
|
22412
|
+
station_carts: number;
|
|
22413
|
+
}[];
|
|
22414
|
+
};
|
|
22136
22415
|
logistics_delay_customer_email: {
|
|
22137
22416
|
Args: {
|
|
22138
22417
|
p_customer: string;
|
|
@@ -22146,12 +22425,35 @@ export type Database = {
|
|
|
22146
22425
|
subject: string;
|
|
22147
22426
|
}[];
|
|
22148
22427
|
};
|
|
22428
|
+
logistics_delivery_agenda: {
|
|
22429
|
+
Args: {
|
|
22430
|
+
p_from?: string;
|
|
22431
|
+
p_to?: string;
|
|
22432
|
+
};
|
|
22433
|
+
Returns: {
|
|
22434
|
+
announced_count: number;
|
|
22435
|
+
cart_count: number;
|
|
22436
|
+
controlled_count: number;
|
|
22437
|
+
delivery_date: string;
|
|
22438
|
+
order_count: number;
|
|
22439
|
+
orders: Json;
|
|
22440
|
+
plant_count: number;
|
|
22441
|
+
printed_count: number;
|
|
22442
|
+
}[];
|
|
22443
|
+
};
|
|
22149
22444
|
logistics_document_layout: {
|
|
22150
22445
|
Args: {
|
|
22151
22446
|
_document_code: string;
|
|
22152
22447
|
};
|
|
22153
22448
|
Returns: Json;
|
|
22154
22449
|
};
|
|
22450
|
+
logistics_document_layout_v2: {
|
|
22451
|
+
Args: {
|
|
22452
|
+
_document_code: string;
|
|
22453
|
+
_is_partial?: boolean;
|
|
22454
|
+
};
|
|
22455
|
+
Returns: Json;
|
|
22456
|
+
};
|
|
22155
22457
|
logistics_document_station: {
|
|
22156
22458
|
Args: {
|
|
22157
22459
|
_document_code: string;
|
|
@@ -22177,6 +22479,12 @@ export type Database = {
|
|
|
22177
22479
|
};
|
|
22178
22480
|
Returns: Json;
|
|
22179
22481
|
};
|
|
22482
|
+
logistics_ensure_cart_barcode: {
|
|
22483
|
+
Args: {
|
|
22484
|
+
_cart_id: string;
|
|
22485
|
+
};
|
|
22486
|
+
Returns: string;
|
|
22487
|
+
};
|
|
22180
22488
|
logistics_fail_task: {
|
|
22181
22489
|
Args: {
|
|
22182
22490
|
p_error: string;
|
|
@@ -22222,6 +22530,16 @@ export type Database = {
|
|
|
22222
22530
|
isSetofReturn: false;
|
|
22223
22531
|
};
|
|
22224
22532
|
};
|
|
22533
|
+
logistics_floriday_cart_plan: {
|
|
22534
|
+
Args: {
|
|
22535
|
+
p_order_id: string;
|
|
22536
|
+
};
|
|
22537
|
+
Returns: {
|
|
22538
|
+
carrier_type: string;
|
|
22539
|
+
idx: number;
|
|
22540
|
+
packages: number;
|
|
22541
|
+
}[];
|
|
22542
|
+
};
|
|
22225
22543
|
logistics_floriday_claim_pushes: {
|
|
22226
22544
|
Args: {
|
|
22227
22545
|
_lease_seconds?: number;
|
|
@@ -22326,6 +22644,25 @@ export type Database = {
|
|
|
22326
22644
|
};
|
|
22327
22645
|
Returns: number;
|
|
22328
22646
|
};
|
|
22647
|
+
logistics_order_overview: {
|
|
22648
|
+
Args: {
|
|
22649
|
+
p_from?: string;
|
|
22650
|
+
p_to?: string;
|
|
22651
|
+
};
|
|
22652
|
+
Returns: {
|
|
22653
|
+
cart_count: number;
|
|
22654
|
+
customer_name: string;
|
|
22655
|
+
delivery_date: string;
|
|
22656
|
+
order_number: string;
|
|
22657
|
+
order_source: string;
|
|
22658
|
+
order_uuid: string;
|
|
22659
|
+
pick_date: string;
|
|
22660
|
+
plant_count: number;
|
|
22661
|
+
printed_at: string;
|
|
22662
|
+
shifted: boolean;
|
|
22663
|
+
status: string;
|
|
22664
|
+
}[];
|
|
22665
|
+
};
|
|
22329
22666
|
logistics_order_pick_day: {
|
|
22330
22667
|
Args: {
|
|
22331
22668
|
p_order_ref: string;
|
|
@@ -22338,6 +22675,22 @@ export type Database = {
|
|
|
22338
22675
|
};
|
|
22339
22676
|
Returns: string;
|
|
22340
22677
|
};
|
|
22678
|
+
logistics_pick_agenda: {
|
|
22679
|
+
Args: {
|
|
22680
|
+
p_from?: string;
|
|
22681
|
+
p_to?: string;
|
|
22682
|
+
};
|
|
22683
|
+
Returns: {
|
|
22684
|
+
cart_count: number;
|
|
22685
|
+
in_preparation: number;
|
|
22686
|
+
order_count: number;
|
|
22687
|
+
orders: Json;
|
|
22688
|
+
pick_date: string;
|
|
22689
|
+
plant_count: number;
|
|
22690
|
+
ready: number;
|
|
22691
|
+
shifted_count: number;
|
|
22692
|
+
}[];
|
|
22693
|
+
};
|
|
22341
22694
|
logistics_pick_email_purpose: {
|
|
22342
22695
|
Args: never;
|
|
22343
22696
|
Returns: string;
|
|
@@ -22392,6 +22745,13 @@ export type Database = {
|
|
|
22392
22745
|
};
|
|
22393
22746
|
Returns: undefined;
|
|
22394
22747
|
};
|
|
22748
|
+
logistics_plan_floriday_order: {
|
|
22749
|
+
Args: {
|
|
22750
|
+
p_buffer_id?: string;
|
|
22751
|
+
p_order_id: string;
|
|
22752
|
+
};
|
|
22753
|
+
Returns: number;
|
|
22754
|
+
};
|
|
22395
22755
|
logistics_plan_impact_orders: {
|
|
22396
22756
|
Args: {
|
|
22397
22757
|
p_order_id: string;
|
|
@@ -22497,6 +22857,15 @@ export type Database = {
|
|
|
22497
22857
|
};
|
|
22498
22858
|
Returns: Json;
|
|
22499
22859
|
};
|
|
22860
|
+
logistics_resolve_pick_document: {
|
|
22861
|
+
Args: {
|
|
22862
|
+
_is_herprint: boolean;
|
|
22863
|
+
_queue_item_id: string;
|
|
22864
|
+
_session_id: string;
|
|
22865
|
+
_voorbeeld: boolean;
|
|
22866
|
+
};
|
|
22867
|
+
Returns: Json;
|
|
22868
|
+
};
|
|
22500
22869
|
logistics_resolve_settings: {
|
|
22501
22870
|
Args: {
|
|
22502
22871
|
p_config_id: string;
|
|
@@ -22576,6 +22945,14 @@ export type Database = {
|
|
|
22576
22945
|
};
|
|
22577
22946
|
Returns: string;
|
|
22578
22947
|
};
|
|
22948
|
+
logistics_shipping_note_from_barcode: {
|
|
22949
|
+
Args: {
|
|
22950
|
+
p_allow_reprint?: boolean;
|
|
22951
|
+
p_barcode: string;
|
|
22952
|
+
p_station_id?: string;
|
|
22953
|
+
};
|
|
22954
|
+
Returns: Json;
|
|
22955
|
+
};
|
|
22579
22956
|
logistics_supersede_stale_tasks: {
|
|
22580
22957
|
Args: {
|
|
22581
22958
|
p_keep: string[];
|
|
@@ -22797,6 +23174,7 @@ export type Database = {
|
|
|
22797
23174
|
print_job_id: string | null;
|
|
22798
23175
|
printed_at: string | null;
|
|
22799
23176
|
printed_by: string | null;
|
|
23177
|
+
printed_cart_ids: Json;
|
|
22800
23178
|
printer_id: string | null;
|
|
22801
23179
|
priority: number;
|
|
22802
23180
|
reference: string | null;
|
|
@@ -22846,6 +23224,7 @@ export type Database = {
|
|
|
22846
23224
|
print_job_id: string | null;
|
|
22847
23225
|
printed_at: string | null;
|
|
22848
23226
|
printed_by: string | null;
|
|
23227
|
+
printed_cart_ids: Json;
|
|
22849
23228
|
printer_id: string | null;
|
|
22850
23229
|
priority: number;
|
|
22851
23230
|
reference: string | null;
|
|
@@ -22900,6 +23279,56 @@ export type Database = {
|
|
|
22900
23279
|
print_job_id: string | null;
|
|
22901
23280
|
printed_at: string | null;
|
|
22902
23281
|
printed_by: string | null;
|
|
23282
|
+
printed_cart_ids: Json;
|
|
23283
|
+
printer_id: string | null;
|
|
23284
|
+
priority: number;
|
|
23285
|
+
reference: string | null;
|
|
23286
|
+
route: string | null;
|
|
23287
|
+
screen_id: string | null;
|
|
23288
|
+
station_id: string | null;
|
|
23289
|
+
status_id: string | null;
|
|
23290
|
+
updated_at: string;
|
|
23291
|
+
warnings: Json;
|
|
23292
|
+
};
|
|
23293
|
+
SetofOptions: {
|
|
23294
|
+
from: "*";
|
|
23295
|
+
to: "pick_queue";
|
|
23296
|
+
isOneToOne: true;
|
|
23297
|
+
isSetofReturn: false;
|
|
23298
|
+
};
|
|
23299
|
+
};
|
|
23300
|
+
pick_complete_print_cart: {
|
|
23301
|
+
Args: {
|
|
23302
|
+
_cart_id: string;
|
|
23303
|
+
_printer_id: string;
|
|
23304
|
+
_queue_item_id: string;
|
|
23305
|
+
_session_id: string;
|
|
23306
|
+
};
|
|
23307
|
+
Returns: {
|
|
23308
|
+
announced_at: string;
|
|
23309
|
+
assigned_user_id: string | null;
|
|
23310
|
+
barcode: string | null;
|
|
23311
|
+
cancelled_at: string | null;
|
|
23312
|
+
cart_count: number;
|
|
23313
|
+
completed_at: string | null;
|
|
23314
|
+
country_code: string | null;
|
|
23315
|
+
created_at: string;
|
|
23316
|
+
customer_name: string | null;
|
|
23317
|
+
delivery_address: string | null;
|
|
23318
|
+
document_number: string | null;
|
|
23319
|
+
document_type_id: string | null;
|
|
23320
|
+
due_at: string | null;
|
|
23321
|
+
id: string;
|
|
23322
|
+
is_urgent: boolean;
|
|
23323
|
+
line_count: number;
|
|
23324
|
+
order_number: string | null;
|
|
23325
|
+
order_type: string | null;
|
|
23326
|
+
payload: Json;
|
|
23327
|
+
print_count: number;
|
|
23328
|
+
print_job_id: string | null;
|
|
23329
|
+
printed_at: string | null;
|
|
23330
|
+
printed_by: string | null;
|
|
23331
|
+
printed_cart_ids: Json;
|
|
22903
23332
|
printer_id: string | null;
|
|
22904
23333
|
priority: number;
|
|
22905
23334
|
reference: string | null;
|
|
@@ -22943,6 +23372,15 @@ export type Database = {
|
|
|
22943
23372
|
_session_id?: string;
|
|
22944
23373
|
};
|
|
22945
23374
|
Returns: string;
|
|
23375
|
+
} | {
|
|
23376
|
+
Args: {
|
|
23377
|
+
_cart_id: string;
|
|
23378
|
+
_is_herprint: boolean;
|
|
23379
|
+
_printer_id: string;
|
|
23380
|
+
_queue_item_id: string;
|
|
23381
|
+
_session_id: string;
|
|
23382
|
+
};
|
|
23383
|
+
Returns: string;
|
|
22946
23384
|
};
|
|
22947
23385
|
pick_order_context: {
|
|
22948
23386
|
Args: {
|
|
@@ -22951,6 +23389,13 @@ export type Database = {
|
|
|
22951
23389
|
};
|
|
22952
23390
|
Returns: Json;
|
|
22953
23391
|
};
|
|
23392
|
+
pick_preview_job: {
|
|
23393
|
+
Args: {
|
|
23394
|
+
_queue_item_id: string;
|
|
23395
|
+
_station_slug: string;
|
|
23396
|
+
};
|
|
23397
|
+
Returns: Json;
|
|
23398
|
+
};
|
|
22954
23399
|
pick_print_job_status: {
|
|
22955
23400
|
Args: {
|
|
22956
23401
|
_job_id: string;
|
|
@@ -23016,6 +23461,54 @@ export type Database = {
|
|
|
23016
23461
|
print_job_id: string | null;
|
|
23017
23462
|
printed_at: string | null;
|
|
23018
23463
|
printed_by: string | null;
|
|
23464
|
+
printed_cart_ids: Json;
|
|
23465
|
+
printer_id: string | null;
|
|
23466
|
+
priority: number;
|
|
23467
|
+
reference: string | null;
|
|
23468
|
+
route: string | null;
|
|
23469
|
+
screen_id: string | null;
|
|
23470
|
+
station_id: string | null;
|
|
23471
|
+
status_id: string | null;
|
|
23472
|
+
updated_at: string;
|
|
23473
|
+
warnings: Json;
|
|
23474
|
+
};
|
|
23475
|
+
SetofOptions: {
|
|
23476
|
+
from: "*";
|
|
23477
|
+
to: "pick_queue";
|
|
23478
|
+
isOneToOne: true;
|
|
23479
|
+
isSetofReturn: false;
|
|
23480
|
+
};
|
|
23481
|
+
} | {
|
|
23482
|
+
Args: {
|
|
23483
|
+
_cart_id?: string;
|
|
23484
|
+
_queue_item_id: string;
|
|
23485
|
+
_session_id: string;
|
|
23486
|
+
};
|
|
23487
|
+
Returns: {
|
|
23488
|
+
announced_at: string;
|
|
23489
|
+
assigned_user_id: string | null;
|
|
23490
|
+
barcode: string | null;
|
|
23491
|
+
cancelled_at: string | null;
|
|
23492
|
+
cart_count: number;
|
|
23493
|
+
completed_at: string | null;
|
|
23494
|
+
country_code: string | null;
|
|
23495
|
+
created_at: string;
|
|
23496
|
+
customer_name: string | null;
|
|
23497
|
+
delivery_address: string | null;
|
|
23498
|
+
document_number: string | null;
|
|
23499
|
+
document_type_id: string | null;
|
|
23500
|
+
due_at: string | null;
|
|
23501
|
+
id: string;
|
|
23502
|
+
is_urgent: boolean;
|
|
23503
|
+
line_count: number;
|
|
23504
|
+
order_number: string | null;
|
|
23505
|
+
order_type: string | null;
|
|
23506
|
+
payload: Json;
|
|
23507
|
+
print_count: number;
|
|
23508
|
+
print_job_id: string | null;
|
|
23509
|
+
printed_at: string | null;
|
|
23510
|
+
printed_by: string | null;
|
|
23511
|
+
printed_cart_ids: Json;
|
|
23019
23512
|
printer_id: string | null;
|
|
23020
23513
|
priority: number;
|
|
23021
23514
|
reference: string | null;
|
|
@@ -23128,6 +23621,66 @@ export type Database = {
|
|
|
23128
23621
|
};
|
|
23129
23622
|
Returns: undefined;
|
|
23130
23623
|
};
|
|
23624
|
+
planning_cancel_item: {
|
|
23625
|
+
Args: {
|
|
23626
|
+
_id: string;
|
|
23627
|
+
};
|
|
23628
|
+
Returns: undefined;
|
|
23629
|
+
};
|
|
23630
|
+
planning_list: {
|
|
23631
|
+
Args: {
|
|
23632
|
+
_from: string;
|
|
23633
|
+
_to: string;
|
|
23634
|
+
};
|
|
23635
|
+
Returns: {
|
|
23636
|
+
assigned_monteur_id: string | null;
|
|
23637
|
+
assistants: Json | null;
|
|
23638
|
+
budget_mandate_cents: number | null;
|
|
23639
|
+
created_at: string | null;
|
|
23640
|
+
created_by: string | null;
|
|
23641
|
+
customer_id: string | null;
|
|
23642
|
+
customer_name: string | null;
|
|
23643
|
+
duration_minutes: number | null;
|
|
23644
|
+
end_at: string | null;
|
|
23645
|
+
id: string | null;
|
|
23646
|
+
needs_detail_review: boolean | null;
|
|
23647
|
+
notes: string | null;
|
|
23648
|
+
project_number: string | null;
|
|
23649
|
+
review_reasons: string[] | null;
|
|
23650
|
+
start_at: string | null;
|
|
23651
|
+
status: Database["public"]["Enums"]["planning_item_status"] | null;
|
|
23652
|
+
updated_at: string | null;
|
|
23653
|
+
viewer_role: string | null;
|
|
23654
|
+
werkbon_id: string | null;
|
|
23655
|
+
work_address: string | null;
|
|
23656
|
+
}[];
|
|
23657
|
+
SetofOptions: {
|
|
23658
|
+
from: "*";
|
|
23659
|
+
to: "planning_overview";
|
|
23660
|
+
isOneToOne: false;
|
|
23661
|
+
isSetofReturn: true;
|
|
23662
|
+
};
|
|
23663
|
+
};
|
|
23664
|
+
planning_set_assistants: {
|
|
23665
|
+
Args: {
|
|
23666
|
+
_monteur_ids: string[];
|
|
23667
|
+
_planning_item_id: string;
|
|
23668
|
+
};
|
|
23669
|
+
Returns: undefined;
|
|
23670
|
+
};
|
|
23671
|
+
planning_upsert_item: {
|
|
23672
|
+
Args: {
|
|
23673
|
+
_assigned_monteur_id: string;
|
|
23674
|
+
_end_at: string;
|
|
23675
|
+
_notes?: string;
|
|
23676
|
+
_start_at: string;
|
|
23677
|
+
_werkbon_id: string;
|
|
23678
|
+
};
|
|
23679
|
+
Returns: {
|
|
23680
|
+
action: string;
|
|
23681
|
+
id: string;
|
|
23682
|
+
}[];
|
|
23683
|
+
};
|
|
23131
23684
|
print_preview_toestaan: {
|
|
23132
23685
|
Args: {
|
|
23133
23686
|
_max?: number;
|
|
@@ -23300,6 +23853,12 @@ export type Database = {
|
|
|
23300
23853
|
};
|
|
23301
23854
|
Returns: string;
|
|
23302
23855
|
};
|
|
23856
|
+
resolve_print_job_printer_id: {
|
|
23857
|
+
Args: {
|
|
23858
|
+
_job: Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
23859
|
+
};
|
|
23860
|
+
Returns: string;
|
|
23861
|
+
};
|
|
23303
23862
|
resolve_product_id_for_item: {
|
|
23304
23863
|
Args: {
|
|
23305
23864
|
p_product_name: string;
|
|
@@ -23703,6 +24262,26 @@ export type Database = {
|
|
|
23703
24262
|
};
|
|
23704
24263
|
Returns: string[];
|
|
23705
24264
|
};
|
|
24265
|
+
start_time_log_at: {
|
|
24266
|
+
Args: {
|
|
24267
|
+
p_clicked_at?: string;
|
|
24268
|
+
p_employee_id: string;
|
|
24269
|
+
p_start_lat?: number;
|
|
24270
|
+
p_start_lng?: number;
|
|
24271
|
+
p_type: string;
|
|
24272
|
+
p_work_order_id?: string;
|
|
24273
|
+
};
|
|
24274
|
+
Returns: Json;
|
|
24275
|
+
};
|
|
24276
|
+
stop_time_log: {
|
|
24277
|
+
Args: {
|
|
24278
|
+
p_employee_id: string;
|
|
24279
|
+
p_end_lat?: number;
|
|
24280
|
+
p_end_lng?: number;
|
|
24281
|
+
p_end_time: string;
|
|
24282
|
+
};
|
|
24283
|
+
Returns: Json;
|
|
24284
|
+
};
|
|
23706
24285
|
switch_time_log: {
|
|
23707
24286
|
Args: {
|
|
23708
24287
|
p_employee_id: string;
|
|
@@ -23898,9 +24477,9 @@ type DatabaseWithoutInternals = Omit<Database, "__InternalSupabase">;
|
|
|
23898
24477
|
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
|
|
23899
24478
|
export type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
|
|
23900
24479
|
schema: keyof DatabaseWithoutInternals;
|
|
23901
|
-
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
24480
|
+
}, TableName extends (DefaultSchemaTableNameOrOptions extends {
|
|
23902
24481
|
schema: keyof DatabaseWithoutInternals;
|
|
23903
|
-
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
24482
|
+
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never) = never> = DefaultSchemaTableNameOrOptions extends {
|
|
23904
24483
|
schema: keyof DatabaseWithoutInternals;
|
|
23905
24484
|
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
|
|
23906
24485
|
Row: infer R;
|
|
@@ -23909,9 +24488,9 @@ export type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema[
|
|
|
23909
24488
|
} ? R : never : never;
|
|
23910
24489
|
export type TablesInsert<DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] | {
|
|
23911
24490
|
schema: keyof DatabaseWithoutInternals;
|
|
23912
|
-
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
24491
|
+
}, TableName extends (DefaultSchemaTableNameOrOptions extends {
|
|
23913
24492
|
schema: keyof DatabaseWithoutInternals;
|
|
23914
|
-
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
24493
|
+
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never) = never> = DefaultSchemaTableNameOrOptions extends {
|
|
23915
24494
|
schema: keyof DatabaseWithoutInternals;
|
|
23916
24495
|
} ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends {
|
|
23917
24496
|
Insert: infer I;
|
|
@@ -23920,9 +24499,9 @@ export type TablesInsert<DefaultSchemaTableNameOrOptions extends keyof DefaultSc
|
|
|
23920
24499
|
} ? I : never : never;
|
|
23921
24500
|
export type TablesUpdate<DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] | {
|
|
23922
24501
|
schema: keyof DatabaseWithoutInternals;
|
|
23923
|
-
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
24502
|
+
}, TableName extends (DefaultSchemaTableNameOrOptions extends {
|
|
23924
24503
|
schema: keyof DatabaseWithoutInternals;
|
|
23925
|
-
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
24504
|
+
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never) = never> = DefaultSchemaTableNameOrOptions extends {
|
|
23926
24505
|
schema: keyof DatabaseWithoutInternals;
|
|
23927
24506
|
} ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends {
|
|
23928
24507
|
Update: infer U;
|
|
@@ -23931,16 +24510,16 @@ export type TablesUpdate<DefaultSchemaTableNameOrOptions extends keyof DefaultSc
|
|
|
23931
24510
|
} ? U : never : never;
|
|
23932
24511
|
export type Enums<DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema["Enums"] | {
|
|
23933
24512
|
schema: keyof DatabaseWithoutInternals;
|
|
23934
|
-
}, EnumName extends DefaultSchemaEnumNameOrOptions extends {
|
|
24513
|
+
}, EnumName extends (DefaultSchemaEnumNameOrOptions extends {
|
|
23935
24514
|
schema: keyof DatabaseWithoutInternals;
|
|
23936
|
-
} ? keyof DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"] : never = never> = DefaultSchemaEnumNameOrOptions extends {
|
|
24515
|
+
} ? keyof DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"] : never) = never> = DefaultSchemaEnumNameOrOptions extends {
|
|
23937
24516
|
schema: keyof DatabaseWithoutInternals;
|
|
23938
24517
|
} ? DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"][EnumName] : DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema["Enums"] ? DefaultSchema["Enums"][DefaultSchemaEnumNameOrOptions] : never;
|
|
23939
24518
|
export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] | {
|
|
23940
24519
|
schema: keyof DatabaseWithoutInternals;
|
|
23941
|
-
}, CompositeTypeName extends PublicCompositeTypeNameOrOptions extends {
|
|
24520
|
+
}, CompositeTypeName extends (PublicCompositeTypeNameOrOptions extends {
|
|
23942
24521
|
schema: keyof DatabaseWithoutInternals;
|
|
23943
|
-
} ? keyof DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"] : never = never> = PublicCompositeTypeNameOrOptions extends {
|
|
24522
|
+
} ? keyof DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"] : never) = never> = PublicCompositeTypeNameOrOptions extends {
|
|
23944
24523
|
schema: keyof DatabaseWithoutInternals;
|
|
23945
24524
|
} ? DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName] : PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] ? DefaultSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions] : never;
|
|
23946
24525
|
export declare const Constants: {
|