@flowselections/floriday-afhandeling-module 1.0.41 → 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/ControleLijstPrint.js +54 -54
- package/dist-lib/components/afhandeling/ControlePage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/ControlePage.js +51 -9
- package/dist-lib/components/afhandeling/DagDetailDialog.js +1 -1
- package/dist-lib/components/afhandeling/VervoerdersPage.js +1 -1
- package/dist-lib/components/afhandeling/VerzetOrderDialog.js +1 -1
- package/dist-lib/components/pickstation/PakbonTemplate.js +70 -70
- package/dist-lib/hooks/usePickAgenda.d.ts +1 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1256 -824
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1256 -824
- 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 +1256 -824
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1269 -853
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +2189 -1321
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/carrierSignupMail.server.js +26 -26
- package/dist-lib/lib/carriers.functions.d.ts +5315 -3155
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +5315 -3155
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +10545 -6245
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +1259 -825
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
};
|
|
@@ -15004,6 +15509,7 @@ export type Database = {
|
|
|
15004
15509
|
created_at: string;
|
|
15005
15510
|
custom_fields: Json;
|
|
15006
15511
|
floriday_trade_item_id: string | null;
|
|
15512
|
+
fust_type_id: string | null;
|
|
15007
15513
|
id: string;
|
|
15008
15514
|
image_url: string | null;
|
|
15009
15515
|
incoming_quantity: number;
|
|
@@ -15011,6 +15517,7 @@ export type Database = {
|
|
|
15011
15517
|
layers_per_cart: number;
|
|
15012
15518
|
location: string;
|
|
15013
15519
|
min_quantity: number;
|
|
15520
|
+
plant_height_cm: number | null;
|
|
15014
15521
|
plants_per_crate: number;
|
|
15015
15522
|
product: string;
|
|
15016
15523
|
product_type: string;
|
|
@@ -15030,6 +15537,7 @@ export type Database = {
|
|
|
15030
15537
|
created_at?: string;
|
|
15031
15538
|
custom_fields?: Json;
|
|
15032
15539
|
floriday_trade_item_id?: string | null;
|
|
15540
|
+
fust_type_id?: string | null;
|
|
15033
15541
|
id?: string;
|
|
15034
15542
|
image_url?: string | null;
|
|
15035
15543
|
incoming_quantity?: number;
|
|
@@ -15037,6 +15545,7 @@ export type Database = {
|
|
|
15037
15545
|
layers_per_cart?: number;
|
|
15038
15546
|
location: string;
|
|
15039
15547
|
min_quantity?: number;
|
|
15548
|
+
plant_height_cm?: number | null;
|
|
15040
15549
|
plants_per_crate?: number;
|
|
15041
15550
|
product: string;
|
|
15042
15551
|
product_type?: string;
|
|
@@ -15056,6 +15565,7 @@ export type Database = {
|
|
|
15056
15565
|
created_at?: string;
|
|
15057
15566
|
custom_fields?: Json;
|
|
15058
15567
|
floriday_trade_item_id?: string | null;
|
|
15568
|
+
fust_type_id?: string | null;
|
|
15059
15569
|
id?: string;
|
|
15060
15570
|
image_url?: string | null;
|
|
15061
15571
|
incoming_quantity?: number;
|
|
@@ -15063,6 +15573,7 @@ export type Database = {
|
|
|
15063
15573
|
layers_per_cart?: number;
|
|
15064
15574
|
location?: string;
|
|
15065
15575
|
min_quantity?: number;
|
|
15576
|
+
plant_height_cm?: number | null;
|
|
15066
15577
|
plants_per_crate?: number;
|
|
15067
15578
|
product?: string;
|
|
15068
15579
|
product_type?: string;
|
|
@@ -15074,7 +15585,15 @@ export type Database = {
|
|
|
15074
15585
|
updated_at?: string;
|
|
15075
15586
|
weight?: string | null;
|
|
15076
15587
|
};
|
|
15077
|
-
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
|
+
];
|
|
15078
15597
|
};
|
|
15079
15598
|
profile_modules: {
|
|
15080
15599
|
Row: {
|
|
@@ -15493,554 +16012,94 @@ export type Database = {
|
|
|
15493
16012
|
}
|
|
15494
16013
|
];
|
|
15495
16014
|
};
|
|
15496
|
-
|
|
16015
|
+
reception_notifications: {
|
|
15497
16016
|
Row: {
|
|
16017
|
+
booking_id: string | null;
|
|
15498
16018
|
created_at: string;
|
|
15499
|
-
event_type: string;
|
|
15500
16019
|
id: string;
|
|
15501
|
-
|
|
15502
|
-
|
|
15503
|
-
|
|
16020
|
+
is_read: boolean;
|
|
16021
|
+
message: string;
|
|
16022
|
+
recipient_email: string | null;
|
|
16023
|
+
title: string;
|
|
16024
|
+
type: string;
|
|
15504
16025
|
};
|
|
15505
16026
|
Insert: {
|
|
16027
|
+
booking_id?: string | null;
|
|
15506
16028
|
created_at?: string;
|
|
15507
|
-
event_type: string;
|
|
15508
16029
|
id?: string;
|
|
15509
|
-
|
|
15510
|
-
|
|
15511
|
-
|
|
16030
|
+
is_read?: boolean;
|
|
16031
|
+
message: string;
|
|
16032
|
+
recipient_email?: string | null;
|
|
16033
|
+
title: string;
|
|
16034
|
+
type: string;
|
|
15512
16035
|
};
|
|
15513
16036
|
Update: {
|
|
16037
|
+
booking_id?: string | null;
|
|
15514
16038
|
created_at?: string;
|
|
15515
|
-
event_type?: string;
|
|
15516
16039
|
id?: string;
|
|
15517
|
-
|
|
15518
|
-
|
|
15519
|
-
|
|
16040
|
+
is_read?: boolean;
|
|
16041
|
+
message?: string;
|
|
16042
|
+
recipient_email?: string | null;
|
|
16043
|
+
title?: string;
|
|
16044
|
+
type?: string;
|
|
15520
16045
|
};
|
|
15521
16046
|
Relationships: [
|
|
15522
16047
|
{
|
|
15523
|
-
foreignKeyName: "
|
|
15524
|
-
columns: ["
|
|
16048
|
+
foreignKeyName: "reception_notifications_booking_id_fkey";
|
|
16049
|
+
columns: ["booking_id"];
|
|
15525
16050
|
isOneToOne: false;
|
|
15526
|
-
referencedRelation: "
|
|
16051
|
+
referencedRelation: "bookings";
|
|
15527
16052
|
referencedColumns: ["id"];
|
|
15528
16053
|
}
|
|
15529
16054
|
];
|
|
15530
16055
|
};
|
|
15531
|
-
|
|
16056
|
+
role_assignments: {
|
|
15532
16057
|
Row: {
|
|
15533
16058
|
created_at: string;
|
|
15534
|
-
file_name: string;
|
|
15535
|
-
file_size: number | null;
|
|
15536
|
-
file_url: string;
|
|
15537
16059
|
id: string;
|
|
15538
|
-
|
|
15539
|
-
|
|
16060
|
+
role_id: string;
|
|
16061
|
+
user_id: string;
|
|
15540
16062
|
};
|
|
15541
16063
|
Insert: {
|
|
15542
16064
|
created_at?: string;
|
|
15543
|
-
file_name: string;
|
|
15544
|
-
file_size?: number | null;
|
|
15545
|
-
file_url: string;
|
|
15546
16065
|
id?: string;
|
|
15547
|
-
|
|
15548
|
-
|
|
16066
|
+
role_id: string;
|
|
16067
|
+
user_id: string;
|
|
15549
16068
|
};
|
|
15550
16069
|
Update: {
|
|
15551
16070
|
created_at?: string;
|
|
15552
|
-
file_name?: string;
|
|
15553
|
-
file_size?: number | null;
|
|
15554
|
-
file_url?: string;
|
|
15555
16071
|
id?: string;
|
|
15556
|
-
|
|
15557
|
-
|
|
16072
|
+
role_id?: string;
|
|
16073
|
+
user_id?: string;
|
|
15558
16074
|
};
|
|
15559
16075
|
Relationships: [
|
|
15560
16076
|
{
|
|
15561
|
-
foreignKeyName: "
|
|
15562
|
-
columns: ["
|
|
16077
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
16078
|
+
columns: ["role_id"];
|
|
15563
16079
|
isOneToOne: false;
|
|
15564
|
-
referencedRelation: "
|
|
16080
|
+
referencedRelation: "roles";
|
|
15565
16081
|
referencedColumns: ["id"];
|
|
15566
16082
|
}
|
|
15567
16083
|
];
|
|
15568
16084
|
};
|
|
15569
|
-
|
|
16085
|
+
role_permissions: {
|
|
15570
16086
|
Row: {
|
|
15571
|
-
|
|
15572
|
-
|
|
16087
|
+
can_edit: boolean;
|
|
16088
|
+
can_view: boolean;
|
|
16089
|
+
feature_id: string;
|
|
15573
16090
|
id: string;
|
|
15574
|
-
|
|
15575
|
-
|
|
15576
|
-
|
|
16091
|
+
module_id: string;
|
|
16092
|
+
role_id: string;
|
|
16093
|
+
updated_at: string;
|
|
15577
16094
|
};
|
|
15578
16095
|
Insert: {
|
|
15579
|
-
|
|
15580
|
-
|
|
16096
|
+
can_edit?: boolean;
|
|
16097
|
+
can_view?: boolean;
|
|
16098
|
+
feature_id?: string;
|
|
15581
16099
|
id?: string;
|
|
15582
|
-
|
|
15583
|
-
|
|
15584
|
-
|
|
15585
|
-
};
|
|
15586
|
-
Update: {
|
|
15587
|
-
created_at?: string;
|
|
15588
|
-
field_id?: string;
|
|
15589
|
-
id?: string;
|
|
15590
|
-
label?: string;
|
|
15591
|
-
sort_order?: number;
|
|
15592
|
-
value?: string;
|
|
15593
|
-
};
|
|
15594
|
-
Relationships: [
|
|
15595
|
-
{
|
|
15596
|
-
foreignKeyName: "quote_field_options_field_id_fkey";
|
|
15597
|
-
columns: ["field_id"];
|
|
15598
|
-
isOneToOne: false;
|
|
15599
|
-
referencedRelation: "quote_field_settings";
|
|
15600
|
-
referencedColumns: ["id"];
|
|
15601
|
-
}
|
|
15602
|
-
];
|
|
15603
|
-
};
|
|
15604
|
-
quote_field_settings: {
|
|
15605
|
-
Row: {
|
|
15606
|
-
created_at: string;
|
|
15607
|
-
default_value: string | null;
|
|
15608
|
-
field_key: string;
|
|
15609
|
-
field_type: string;
|
|
15610
|
-
id: string;
|
|
15611
|
-
is_system: boolean;
|
|
15612
|
-
label: string;
|
|
15613
|
-
required: boolean;
|
|
15614
|
-
sort_order: number;
|
|
15615
|
-
updated_at: string;
|
|
15616
|
-
visible: boolean;
|
|
15617
|
-
};
|
|
15618
|
-
Insert: {
|
|
15619
|
-
created_at?: string;
|
|
15620
|
-
default_value?: string | null;
|
|
15621
|
-
field_key: string;
|
|
15622
|
-
field_type: string;
|
|
15623
|
-
id?: string;
|
|
15624
|
-
is_system?: boolean;
|
|
15625
|
-
label: string;
|
|
15626
|
-
required?: boolean;
|
|
15627
|
-
sort_order?: number;
|
|
15628
|
-
updated_at?: string;
|
|
15629
|
-
visible?: boolean;
|
|
15630
|
-
};
|
|
15631
|
-
Update: {
|
|
15632
|
-
created_at?: string;
|
|
15633
|
-
default_value?: string | null;
|
|
15634
|
-
field_key?: string;
|
|
15635
|
-
field_type?: string;
|
|
15636
|
-
id?: string;
|
|
15637
|
-
is_system?: boolean;
|
|
15638
|
-
label?: string;
|
|
15639
|
-
required?: boolean;
|
|
15640
|
-
sort_order?: number;
|
|
15641
|
-
updated_at?: string;
|
|
15642
|
-
visible?: boolean;
|
|
15643
|
-
};
|
|
15644
|
-
Relationships: [];
|
|
15645
|
-
};
|
|
15646
|
-
quote_items: {
|
|
15647
|
-
Row: {
|
|
15648
|
-
category: string | null;
|
|
15649
|
-
created_at: string;
|
|
15650
|
-
description: string;
|
|
15651
|
-
id: string;
|
|
15652
|
-
line_total: number;
|
|
15653
|
-
module_id: string | null;
|
|
15654
|
-
name: string | null;
|
|
15655
|
-
quantity: number;
|
|
15656
|
-
quote_id: string;
|
|
15657
|
-
sort_order: number;
|
|
15658
|
-
unit_price: number;
|
|
15659
|
-
};
|
|
15660
|
-
Insert: {
|
|
15661
|
-
category?: string | null;
|
|
15662
|
-
created_at?: string;
|
|
15663
|
-
description?: string;
|
|
15664
|
-
id?: string;
|
|
15665
|
-
line_total?: number;
|
|
15666
|
-
module_id?: string | null;
|
|
15667
|
-
name?: string | null;
|
|
15668
|
-
quantity?: number;
|
|
15669
|
-
quote_id: string;
|
|
15670
|
-
sort_order?: number;
|
|
15671
|
-
unit_price?: number;
|
|
15672
|
-
};
|
|
15673
|
-
Update: {
|
|
15674
|
-
category?: string | null;
|
|
15675
|
-
created_at?: string;
|
|
15676
|
-
description?: string;
|
|
15677
|
-
id?: string;
|
|
15678
|
-
line_total?: number;
|
|
15679
|
-
module_id?: string | null;
|
|
15680
|
-
name?: string | null;
|
|
15681
|
-
quantity?: number;
|
|
15682
|
-
quote_id?: string;
|
|
15683
|
-
sort_order?: number;
|
|
15684
|
-
unit_price?: number;
|
|
15685
|
-
};
|
|
15686
|
-
Relationships: [
|
|
15687
|
-
{
|
|
15688
|
-
foreignKeyName: "quote_items_module_id_fkey";
|
|
15689
|
-
columns: ["module_id"];
|
|
15690
|
-
isOneToOne: false;
|
|
15691
|
-
referencedRelation: "quote_modules";
|
|
15692
|
-
referencedColumns: ["id"];
|
|
15693
|
-
},
|
|
15694
|
-
{
|
|
15695
|
-
foreignKeyName: "quote_items_quote_id_fkey";
|
|
15696
|
-
columns: ["quote_id"];
|
|
15697
|
-
isOneToOne: false;
|
|
15698
|
-
referencedRelation: "quotes";
|
|
15699
|
-
referencedColumns: ["id"];
|
|
15700
|
-
}
|
|
15701
|
-
];
|
|
15702
|
-
};
|
|
15703
|
-
quote_modules: {
|
|
15704
|
-
Row: {
|
|
15705
|
-
category: string | null;
|
|
15706
|
-
created_at: string;
|
|
15707
|
-
description: string | null;
|
|
15708
|
-
id: string;
|
|
15709
|
-
is_active: boolean;
|
|
15710
|
-
name: string;
|
|
15711
|
-
price: number;
|
|
15712
|
-
sort_order: number;
|
|
15713
|
-
updated_at: string;
|
|
15714
|
-
};
|
|
15715
|
-
Insert: {
|
|
15716
|
-
category?: string | null;
|
|
15717
|
-
created_at?: string;
|
|
15718
|
-
description?: string | null;
|
|
15719
|
-
id?: string;
|
|
15720
|
-
is_active?: boolean;
|
|
15721
|
-
name: string;
|
|
15722
|
-
price?: number;
|
|
15723
|
-
sort_order?: number;
|
|
15724
|
-
updated_at?: string;
|
|
15725
|
-
};
|
|
15726
|
-
Update: {
|
|
15727
|
-
category?: string | null;
|
|
15728
|
-
created_at?: string;
|
|
15729
|
-
description?: string | null;
|
|
15730
|
-
id?: string;
|
|
15731
|
-
is_active?: boolean;
|
|
15732
|
-
name?: string;
|
|
15733
|
-
price?: number;
|
|
15734
|
-
sort_order?: number;
|
|
15735
|
-
updated_at?: string;
|
|
15736
|
-
};
|
|
15737
|
-
Relationships: [];
|
|
15738
|
-
};
|
|
15739
|
-
quote_templates: {
|
|
15740
|
-
Row: {
|
|
15741
|
-
created_at: string;
|
|
15742
|
-
description: string | null;
|
|
15743
|
-
field_values: Json;
|
|
15744
|
-
id: string;
|
|
15745
|
-
is_default: boolean;
|
|
15746
|
-
items: Json;
|
|
15747
|
-
name: string;
|
|
15748
|
-
updated_at: string;
|
|
15749
|
-
vat_rate: number;
|
|
15750
|
-
};
|
|
15751
|
-
Insert: {
|
|
15752
|
-
created_at?: string;
|
|
15753
|
-
description?: string | null;
|
|
15754
|
-
field_values?: Json;
|
|
15755
|
-
id?: string;
|
|
15756
|
-
is_default?: boolean;
|
|
15757
|
-
items?: Json;
|
|
15758
|
-
name: string;
|
|
15759
|
-
updated_at?: string;
|
|
15760
|
-
vat_rate?: number;
|
|
15761
|
-
};
|
|
15762
|
-
Update: {
|
|
15763
|
-
created_at?: string;
|
|
15764
|
-
description?: string | null;
|
|
15765
|
-
field_values?: Json;
|
|
15766
|
-
id?: string;
|
|
15767
|
-
is_default?: boolean;
|
|
15768
|
-
items?: Json;
|
|
15769
|
-
name?: string;
|
|
15770
|
-
updated_at?: string;
|
|
15771
|
-
vat_rate?: number;
|
|
15772
|
-
};
|
|
15773
|
-
Relationships: [];
|
|
15774
|
-
};
|
|
15775
|
-
quote_terms: {
|
|
15776
|
-
Row: {
|
|
15777
|
-
content: string | null;
|
|
15778
|
-
created_at: string;
|
|
15779
|
-
file_url: string | null;
|
|
15780
|
-
id: string;
|
|
15781
|
-
is_active: boolean;
|
|
15782
|
-
name: string;
|
|
15783
|
-
published_at: string | null;
|
|
15784
|
-
updated_at: string;
|
|
15785
|
-
version: string;
|
|
15786
|
-
};
|
|
15787
|
-
Insert: {
|
|
15788
|
-
content?: string | null;
|
|
15789
|
-
created_at?: string;
|
|
15790
|
-
file_url?: string | null;
|
|
15791
|
-
id?: string;
|
|
15792
|
-
is_active?: boolean;
|
|
15793
|
-
name: string;
|
|
15794
|
-
published_at?: string | null;
|
|
15795
|
-
updated_at?: string;
|
|
15796
|
-
version?: string;
|
|
15797
|
-
};
|
|
15798
|
-
Update: {
|
|
15799
|
-
content?: string | null;
|
|
15800
|
-
created_at?: string;
|
|
15801
|
-
file_url?: string | null;
|
|
15802
|
-
id?: string;
|
|
15803
|
-
is_active?: boolean;
|
|
15804
|
-
name?: string;
|
|
15805
|
-
published_at?: string | null;
|
|
15806
|
-
updated_at?: string;
|
|
15807
|
-
version?: string;
|
|
15808
|
-
};
|
|
15809
|
-
Relationships: [];
|
|
15810
|
-
};
|
|
15811
|
-
quotes: {
|
|
15812
|
-
Row: {
|
|
15813
|
-
accepted_at: string | null;
|
|
15814
|
-
archived_at: string | null;
|
|
15815
|
-
contact_id: string | null;
|
|
15816
|
-
created_at: string;
|
|
15817
|
-
customer_id: string | null;
|
|
15818
|
-
discount: number;
|
|
15819
|
-
expires_at: string | null;
|
|
15820
|
-
field_values: Json;
|
|
15821
|
-
id: string;
|
|
15822
|
-
notes: string | null;
|
|
15823
|
-
owner_id: string | null;
|
|
15824
|
-
personal_message: string | null;
|
|
15825
|
-
project_id: string | null;
|
|
15826
|
-
prospect_id: string | null;
|
|
15827
|
-
public_token: string;
|
|
15828
|
-
quote_number: string | null;
|
|
15829
|
-
recipient_email: string | null;
|
|
15830
|
-
recipient_name: string | null;
|
|
15831
|
-
rejected_at: string | null;
|
|
15832
|
-
sent_at: string | null;
|
|
15833
|
-
status: string;
|
|
15834
|
-
subtotal: number;
|
|
15835
|
-
template_id: string | null;
|
|
15836
|
-
terms_id: string | null;
|
|
15837
|
-
title: string;
|
|
15838
|
-
total: number;
|
|
15839
|
-
updated_at: string;
|
|
15840
|
-
valid_until: string | null;
|
|
15841
|
-
vat_amount: number;
|
|
15842
|
-
vat_rate: number;
|
|
15843
|
-
viewed_at: string | null;
|
|
15844
|
-
};
|
|
15845
|
-
Insert: {
|
|
15846
|
-
accepted_at?: string | null;
|
|
15847
|
-
archived_at?: string | null;
|
|
15848
|
-
contact_id?: string | null;
|
|
15849
|
-
created_at?: string;
|
|
15850
|
-
customer_id?: string | null;
|
|
15851
|
-
discount?: number;
|
|
15852
|
-
expires_at?: string | null;
|
|
15853
|
-
field_values?: Json;
|
|
15854
|
-
id?: string;
|
|
15855
|
-
notes?: string | null;
|
|
15856
|
-
owner_id?: string | null;
|
|
15857
|
-
personal_message?: string | null;
|
|
15858
|
-
project_id?: string | null;
|
|
15859
|
-
prospect_id?: string | null;
|
|
15860
|
-
public_token?: string;
|
|
15861
|
-
quote_number?: string | null;
|
|
15862
|
-
recipient_email?: string | null;
|
|
15863
|
-
recipient_name?: string | null;
|
|
15864
|
-
rejected_at?: string | null;
|
|
15865
|
-
sent_at?: string | null;
|
|
15866
|
-
status?: string;
|
|
15867
|
-
subtotal?: number;
|
|
15868
|
-
template_id?: string | null;
|
|
15869
|
-
terms_id?: string | null;
|
|
15870
|
-
title?: string;
|
|
15871
|
-
total?: number;
|
|
15872
|
-
updated_at?: string;
|
|
15873
|
-
valid_until?: string | null;
|
|
15874
|
-
vat_amount?: number;
|
|
15875
|
-
vat_rate?: number;
|
|
15876
|
-
viewed_at?: string | null;
|
|
15877
|
-
};
|
|
15878
|
-
Update: {
|
|
15879
|
-
accepted_at?: string | null;
|
|
15880
|
-
archived_at?: string | null;
|
|
15881
|
-
contact_id?: string | null;
|
|
15882
|
-
created_at?: string;
|
|
15883
|
-
customer_id?: string | null;
|
|
15884
|
-
discount?: number;
|
|
15885
|
-
expires_at?: string | null;
|
|
15886
|
-
field_values?: Json;
|
|
15887
|
-
id?: string;
|
|
15888
|
-
notes?: string | null;
|
|
15889
|
-
owner_id?: string | null;
|
|
15890
|
-
personal_message?: string | null;
|
|
15891
|
-
project_id?: string | null;
|
|
15892
|
-
prospect_id?: string | null;
|
|
15893
|
-
public_token?: string;
|
|
15894
|
-
quote_number?: string | null;
|
|
15895
|
-
recipient_email?: string | null;
|
|
15896
|
-
recipient_name?: string | null;
|
|
15897
|
-
rejected_at?: string | null;
|
|
15898
|
-
sent_at?: string | null;
|
|
15899
|
-
status?: string;
|
|
15900
|
-
subtotal?: number;
|
|
15901
|
-
template_id?: string | null;
|
|
15902
|
-
terms_id?: string | null;
|
|
15903
|
-
title?: string;
|
|
15904
|
-
total?: number;
|
|
15905
|
-
updated_at?: string;
|
|
15906
|
-
valid_until?: string | null;
|
|
15907
|
-
vat_amount?: number;
|
|
15908
|
-
vat_rate?: number;
|
|
15909
|
-
viewed_at?: string | null;
|
|
15910
|
-
};
|
|
15911
|
-
Relationships: [
|
|
15912
|
-
{
|
|
15913
|
-
foreignKeyName: "quotes_contact_id_fkey";
|
|
15914
|
-
columns: ["contact_id"];
|
|
15915
|
-
isOneToOne: false;
|
|
15916
|
-
referencedRelation: "customer_contacts";
|
|
15917
|
-
referencedColumns: ["id"];
|
|
15918
|
-
},
|
|
15919
|
-
{
|
|
15920
|
-
foreignKeyName: "quotes_customer_id_fkey";
|
|
15921
|
-
columns: ["customer_id"];
|
|
15922
|
-
isOneToOne: false;
|
|
15923
|
-
referencedRelation: "customers";
|
|
15924
|
-
referencedColumns: ["id"];
|
|
15925
|
-
},
|
|
15926
|
-
{
|
|
15927
|
-
foreignKeyName: "quotes_project_id_fkey";
|
|
15928
|
-
columns: ["project_id"];
|
|
15929
|
-
isOneToOne: false;
|
|
15930
|
-
referencedRelation: "projects";
|
|
15931
|
-
referencedColumns: ["id"];
|
|
15932
|
-
},
|
|
15933
|
-
{
|
|
15934
|
-
foreignKeyName: "quotes_prospect_id_fkey";
|
|
15935
|
-
columns: ["prospect_id"];
|
|
15936
|
-
isOneToOne: false;
|
|
15937
|
-
referencedRelation: "prospects";
|
|
15938
|
-
referencedColumns: ["id"];
|
|
15939
|
-
},
|
|
15940
|
-
{
|
|
15941
|
-
foreignKeyName: "quotes_template_id_fkey";
|
|
15942
|
-
columns: ["template_id"];
|
|
15943
|
-
isOneToOne: false;
|
|
15944
|
-
referencedRelation: "quote_templates";
|
|
15945
|
-
referencedColumns: ["id"];
|
|
15946
|
-
},
|
|
15947
|
-
{
|
|
15948
|
-
foreignKeyName: "quotes_terms_id_fkey";
|
|
15949
|
-
columns: ["terms_id"];
|
|
15950
|
-
isOneToOne: false;
|
|
15951
|
-
referencedRelation: "quote_terms";
|
|
15952
|
-
referencedColumns: ["id"];
|
|
15953
|
-
}
|
|
15954
|
-
];
|
|
15955
|
-
};
|
|
15956
|
-
reception_notifications: {
|
|
15957
|
-
Row: {
|
|
15958
|
-
booking_id: string | null;
|
|
15959
|
-
created_at: string;
|
|
15960
|
-
id: string;
|
|
15961
|
-
is_read: boolean;
|
|
15962
|
-
message: string;
|
|
15963
|
-
recipient_email: string | null;
|
|
15964
|
-
title: string;
|
|
15965
|
-
type: string;
|
|
15966
|
-
};
|
|
15967
|
-
Insert: {
|
|
15968
|
-
booking_id?: string | null;
|
|
15969
|
-
created_at?: string;
|
|
15970
|
-
id?: string;
|
|
15971
|
-
is_read?: boolean;
|
|
15972
|
-
message: string;
|
|
15973
|
-
recipient_email?: string | null;
|
|
15974
|
-
title: string;
|
|
15975
|
-
type: string;
|
|
15976
|
-
};
|
|
15977
|
-
Update: {
|
|
15978
|
-
booking_id?: string | null;
|
|
15979
|
-
created_at?: string;
|
|
15980
|
-
id?: string;
|
|
15981
|
-
is_read?: boolean;
|
|
15982
|
-
message?: string;
|
|
15983
|
-
recipient_email?: string | null;
|
|
15984
|
-
title?: string;
|
|
15985
|
-
type?: string;
|
|
15986
|
-
};
|
|
15987
|
-
Relationships: [
|
|
15988
|
-
{
|
|
15989
|
-
foreignKeyName: "reception_notifications_booking_id_fkey";
|
|
15990
|
-
columns: ["booking_id"];
|
|
15991
|
-
isOneToOne: false;
|
|
15992
|
-
referencedRelation: "bookings";
|
|
15993
|
-
referencedColumns: ["id"];
|
|
15994
|
-
}
|
|
15995
|
-
];
|
|
15996
|
-
};
|
|
15997
|
-
role_assignments: {
|
|
15998
|
-
Row: {
|
|
15999
|
-
created_at: string;
|
|
16000
|
-
id: string;
|
|
16001
|
-
role_id: string;
|
|
16002
|
-
user_id: string;
|
|
16003
|
-
};
|
|
16004
|
-
Insert: {
|
|
16005
|
-
created_at?: string;
|
|
16006
|
-
id?: string;
|
|
16007
|
-
role_id: string;
|
|
16008
|
-
user_id: string;
|
|
16009
|
-
};
|
|
16010
|
-
Update: {
|
|
16011
|
-
created_at?: string;
|
|
16012
|
-
id?: string;
|
|
16013
|
-
role_id?: string;
|
|
16014
|
-
user_id?: string;
|
|
16015
|
-
};
|
|
16016
|
-
Relationships: [
|
|
16017
|
-
{
|
|
16018
|
-
foreignKeyName: "role_assignments_role_id_fkey";
|
|
16019
|
-
columns: ["role_id"];
|
|
16020
|
-
isOneToOne: false;
|
|
16021
|
-
referencedRelation: "roles";
|
|
16022
|
-
referencedColumns: ["id"];
|
|
16023
|
-
}
|
|
16024
|
-
];
|
|
16025
|
-
};
|
|
16026
|
-
role_permissions: {
|
|
16027
|
-
Row: {
|
|
16028
|
-
can_edit: boolean;
|
|
16029
|
-
can_view: boolean;
|
|
16030
|
-
feature_id: string;
|
|
16031
|
-
id: string;
|
|
16032
|
-
module_id: string;
|
|
16033
|
-
role_id: string;
|
|
16034
|
-
updated_at: string;
|
|
16035
|
-
};
|
|
16036
|
-
Insert: {
|
|
16037
|
-
can_edit?: boolean;
|
|
16038
|
-
can_view?: boolean;
|
|
16039
|
-
feature_id?: string;
|
|
16040
|
-
id?: string;
|
|
16041
|
-
module_id: string;
|
|
16042
|
-
role_id: string;
|
|
16043
|
-
updated_at?: string;
|
|
16100
|
+
module_id: string;
|
|
16101
|
+
role_id: string;
|
|
16102
|
+
updated_at?: string;
|
|
16044
16103
|
};
|
|
16045
16104
|
Update: {
|
|
16046
16105
|
can_edit?: boolean;
|
|
@@ -17099,7 +17158,7 @@ export type Database = {
|
|
|
17099
17158
|
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
17100
17159
|
columns: ["work_order_id"];
|
|
17101
17160
|
isOneToOne: false;
|
|
17102
|
-
referencedRelation: "
|
|
17161
|
+
referencedRelation: "werkbonnen";
|
|
17103
17162
|
referencedColumns: ["id"];
|
|
17104
17163
|
}
|
|
17105
17164
|
];
|
|
@@ -17234,6 +17293,7 @@ export type Database = {
|
|
|
17234
17293
|
};
|
|
17235
17294
|
trade_item_stock: {
|
|
17236
17295
|
Row: {
|
|
17296
|
+
change_source: string;
|
|
17237
17297
|
connection_id: string;
|
|
17238
17298
|
created_at: string;
|
|
17239
17299
|
id: string;
|
|
@@ -17247,6 +17307,7 @@ export type Database = {
|
|
|
17247
17307
|
user_id: string;
|
|
17248
17308
|
};
|
|
17249
17309
|
Insert: {
|
|
17310
|
+
change_source?: string;
|
|
17250
17311
|
connection_id: string;
|
|
17251
17312
|
created_at?: string;
|
|
17252
17313
|
id?: string;
|
|
@@ -17260,6 +17321,7 @@ export type Database = {
|
|
|
17260
17321
|
user_id: string;
|
|
17261
17322
|
};
|
|
17262
17323
|
Update: {
|
|
17324
|
+
change_source?: string;
|
|
17263
17325
|
connection_id?: string;
|
|
17264
17326
|
created_at?: string;
|
|
17265
17327
|
id?: string;
|
|
@@ -18336,273 +18398,118 @@ export type Database = {
|
|
|
18336
18398
|
created_at?: string;
|
|
18337
18399
|
daily_threshold_hours?: number | null;
|
|
18338
18400
|
id?: string;
|
|
18339
|
-
include_travel?: boolean | null;
|
|
18340
|
-
monteur_id: string;
|
|
18341
|
-
ov02_percentage?: number | null;
|
|
18342
|
-
ov03_percentage?: number | null;
|
|
18343
|
-
updated_at?: string;
|
|
18344
|
-
weekly_threshold_hours?: number | null;
|
|
18345
|
-
workday_end?: string | null;
|
|
18346
|
-
workday_start?: string | null;
|
|
18347
|
-
};
|
|
18348
|
-
Update: {
|
|
18349
|
-
break_minutes?: number | null;
|
|
18350
|
-
contract_hours_per_week?: number;
|
|
18351
|
-
created_at?: string;
|
|
18352
|
-
daily_threshold_hours?: number | null;
|
|
18353
|
-
id?: string;
|
|
18354
|
-
include_travel?: boolean | null;
|
|
18355
|
-
monteur_id?: string;
|
|
18356
|
-
ov02_percentage?: number | null;
|
|
18357
|
-
ov03_percentage?: number | null;
|
|
18358
|
-
updated_at?: string;
|
|
18359
|
-
weekly_threshold_hours?: number | null;
|
|
18360
|
-
workday_end?: string | null;
|
|
18361
|
-
workday_start?: string | null;
|
|
18362
|
-
};
|
|
18363
|
-
Relationships: [];
|
|
18364
|
-
};
|
|
18365
|
-
uren_entries: {
|
|
18366
|
-
Row: {
|
|
18367
|
-
created_at: string;
|
|
18368
|
-
created_by: string | null;
|
|
18369
|
-
entry_date: string;
|
|
18370
|
-
hours: number;
|
|
18371
|
-
id: string;
|
|
18372
|
-
kind: string;
|
|
18373
|
-
monteur_id: string;
|
|
18374
|
-
note: string | null;
|
|
18375
|
-
source: string;
|
|
18376
|
-
travel_km: number;
|
|
18377
|
-
updated_at: string;
|
|
18378
|
-
werkbon_id: string | null;
|
|
18379
|
-
};
|
|
18380
|
-
Insert: {
|
|
18381
|
-
created_at?: string;
|
|
18382
|
-
created_by?: string | null;
|
|
18383
|
-
entry_date: string;
|
|
18384
|
-
hours?: number;
|
|
18385
|
-
id?: string;
|
|
18386
|
-
kind?: string;
|
|
18387
|
-
monteur_id: string;
|
|
18388
|
-
note?: string | null;
|
|
18389
|
-
source?: string;
|
|
18390
|
-
travel_km?: number;
|
|
18391
|
-
updated_at?: string;
|
|
18392
|
-
werkbon_id?: string | null;
|
|
18393
|
-
};
|
|
18394
|
-
Update: {
|
|
18395
|
-
created_at?: string;
|
|
18396
|
-
created_by?: string | null;
|
|
18397
|
-
entry_date?: string;
|
|
18398
|
-
hours?: number;
|
|
18399
|
-
id?: string;
|
|
18400
|
-
kind?: string;
|
|
18401
|
-
monteur_id?: string;
|
|
18402
|
-
note?: string | null;
|
|
18403
|
-
source?: string;
|
|
18404
|
-
travel_km?: number;
|
|
18405
|
-
updated_at?: string;
|
|
18406
|
-
werkbon_id?: string | null;
|
|
18407
|
-
};
|
|
18408
|
-
Relationships: [
|
|
18409
|
-
{
|
|
18410
|
-
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
18411
|
-
columns: ["werkbon_id"];
|
|
18412
|
-
isOneToOne: false;
|
|
18413
|
-
referencedRelation: "werkbonnen";
|
|
18414
|
-
referencedColumns: ["id"];
|
|
18415
|
-
}
|
|
18416
|
-
];
|
|
18417
|
-
};
|
|
18418
|
-
uren_exports: {
|
|
18419
|
-
Row: {
|
|
18420
|
-
created_at: string;
|
|
18421
|
-
created_by: string | null;
|
|
18422
|
-
file_name: string | null;
|
|
18423
|
-
id: string;
|
|
18424
|
-
monteur_ids: string[];
|
|
18425
|
-
period_end: string;
|
|
18426
|
-
period_start: string;
|
|
18427
|
-
row_count: number;
|
|
18428
|
-
};
|
|
18429
|
-
Insert: {
|
|
18430
|
-
created_at?: string;
|
|
18431
|
-
created_by?: string | null;
|
|
18432
|
-
file_name?: string | null;
|
|
18433
|
-
id?: string;
|
|
18434
|
-
monteur_ids?: string[];
|
|
18435
|
-
period_end: string;
|
|
18436
|
-
period_start: string;
|
|
18437
|
-
row_count?: number;
|
|
18438
|
-
};
|
|
18439
|
-
Update: {
|
|
18440
|
-
created_at?: string;
|
|
18441
|
-
created_by?: string | null;
|
|
18442
|
-
file_name?: string | null;
|
|
18443
|
-
id?: string;
|
|
18444
|
-
monteur_ids?: string[];
|
|
18445
|
-
period_end?: string;
|
|
18446
|
-
period_start?: string;
|
|
18447
|
-
row_count?: number;
|
|
18448
|
-
};
|
|
18449
|
-
Relationships: [];
|
|
18450
|
-
};
|
|
18451
|
-
uren_offerte_regels: {
|
|
18452
|
-
Row: {
|
|
18453
|
-
created_at: string;
|
|
18454
|
-
description: string;
|
|
18455
|
-
duration_minutes: number;
|
|
18456
|
-
id: string;
|
|
18457
|
-
offerte_id: string;
|
|
18458
|
-
package_id: string | null;
|
|
18459
|
-
quantity: number;
|
|
18460
|
-
sort_order: number;
|
|
18461
|
-
total_cents: number;
|
|
18462
|
-
unit_price_cents: number;
|
|
18463
|
-
};
|
|
18464
|
-
Insert: {
|
|
18465
|
-
created_at?: string;
|
|
18466
|
-
description: string;
|
|
18467
|
-
duration_minutes?: number;
|
|
18468
|
-
id?: string;
|
|
18469
|
-
offerte_id: string;
|
|
18470
|
-
package_id?: string | null;
|
|
18471
|
-
quantity?: number;
|
|
18472
|
-
sort_order?: number;
|
|
18473
|
-
total_cents?: number;
|
|
18474
|
-
unit_price_cents?: number;
|
|
18475
|
-
};
|
|
18476
|
-
Update: {
|
|
18477
|
-
created_at?: string;
|
|
18478
|
-
description?: string;
|
|
18479
|
-
duration_minutes?: number;
|
|
18480
|
-
id?: string;
|
|
18481
|
-
offerte_id?: string;
|
|
18482
|
-
package_id?: string | null;
|
|
18483
|
-
quantity?: number;
|
|
18484
|
-
sort_order?: number;
|
|
18485
|
-
total_cents?: number;
|
|
18486
|
-
unit_price_cents?: number;
|
|
18487
|
-
};
|
|
18488
|
-
Relationships: [
|
|
18489
|
-
{
|
|
18490
|
-
foreignKeyName: "uren_offerte_regels_offerte_id_fkey";
|
|
18491
|
-
columns: ["offerte_id"];
|
|
18492
|
-
isOneToOne: false;
|
|
18493
|
-
referencedRelation: "uren_offertes";
|
|
18494
|
-
referencedColumns: ["id"];
|
|
18495
|
-
},
|
|
18496
|
-
{
|
|
18497
|
-
foreignKeyName: "uren_offerte_regels_package_id_fkey";
|
|
18498
|
-
columns: ["package_id"];
|
|
18499
|
-
isOneToOne: false;
|
|
18500
|
-
referencedRelation: "werkbon_packages";
|
|
18501
|
-
referencedColumns: ["id"];
|
|
18502
|
-
}
|
|
18503
|
-
];
|
|
18504
|
-
};
|
|
18505
|
-
uren_offerte_velden: {
|
|
18506
|
-
Row: {
|
|
18507
|
-
created_at: string;
|
|
18508
|
-
field_type: string;
|
|
18509
|
-
id: string;
|
|
18510
|
-
key: string;
|
|
18511
|
-
label: string;
|
|
18512
|
-
options: string[];
|
|
18513
|
-
required: boolean;
|
|
18514
|
-
sort_order: number;
|
|
18515
|
-
updated_at: string;
|
|
18516
|
-
};
|
|
18517
|
-
Insert: {
|
|
18518
|
-
created_at?: string;
|
|
18519
|
-
field_type?: string;
|
|
18520
|
-
id?: string;
|
|
18521
|
-
key: string;
|
|
18522
|
-
label: string;
|
|
18523
|
-
options?: string[];
|
|
18524
|
-
required?: boolean;
|
|
18525
|
-
sort_order?: number;
|
|
18401
|
+
include_travel?: boolean | null;
|
|
18402
|
+
monteur_id: string;
|
|
18403
|
+
ov02_percentage?: number | null;
|
|
18404
|
+
ov03_percentage?: number | null;
|
|
18526
18405
|
updated_at?: string;
|
|
18406
|
+
weekly_threshold_hours?: number | null;
|
|
18407
|
+
workday_end?: string | null;
|
|
18408
|
+
workday_start?: string | null;
|
|
18527
18409
|
};
|
|
18528
18410
|
Update: {
|
|
18411
|
+
break_minutes?: number | null;
|
|
18412
|
+
contract_hours_per_week?: number;
|
|
18529
18413
|
created_at?: string;
|
|
18530
|
-
|
|
18414
|
+
daily_threshold_hours?: number | null;
|
|
18531
18415
|
id?: string;
|
|
18532
|
-
|
|
18533
|
-
|
|
18534
|
-
|
|
18535
|
-
|
|
18536
|
-
sort_order?: number;
|
|
18416
|
+
include_travel?: boolean | null;
|
|
18417
|
+
monteur_id?: string;
|
|
18418
|
+
ov02_percentage?: number | null;
|
|
18419
|
+
ov03_percentage?: number | null;
|
|
18537
18420
|
updated_at?: string;
|
|
18421
|
+
weekly_threshold_hours?: number | null;
|
|
18422
|
+
workday_end?: string | null;
|
|
18423
|
+
workday_start?: string | null;
|
|
18538
18424
|
};
|
|
18539
18425
|
Relationships: [];
|
|
18540
18426
|
};
|
|
18541
|
-
|
|
18427
|
+
uren_entries: {
|
|
18542
18428
|
Row: {
|
|
18543
18429
|
created_at: string;
|
|
18544
18430
|
created_by: string | null;
|
|
18545
|
-
|
|
18546
|
-
|
|
18547
|
-
dynamic_fields: Json;
|
|
18548
|
-
estimated_minutes: number;
|
|
18431
|
+
entry_date: string;
|
|
18432
|
+
hours: number;
|
|
18549
18433
|
id: string;
|
|
18434
|
+
kind: string;
|
|
18435
|
+
monteur_id: string;
|
|
18550
18436
|
note: string | null;
|
|
18551
|
-
|
|
18552
|
-
|
|
18553
|
-
title: string;
|
|
18554
|
-
total_excl_cents: number;
|
|
18555
|
-
total_incl_cents: number;
|
|
18437
|
+
source: string;
|
|
18438
|
+
travel_km: number;
|
|
18556
18439
|
updated_at: string;
|
|
18557
|
-
|
|
18558
|
-
vat_percentage: number;
|
|
18440
|
+
werkbon_id: string | null;
|
|
18559
18441
|
};
|
|
18560
18442
|
Insert: {
|
|
18561
18443
|
created_at?: string;
|
|
18562
18444
|
created_by?: string | null;
|
|
18563
|
-
|
|
18564
|
-
|
|
18565
|
-
dynamic_fields?: Json;
|
|
18566
|
-
estimated_minutes?: number;
|
|
18445
|
+
entry_date: string;
|
|
18446
|
+
hours?: number;
|
|
18567
18447
|
id?: string;
|
|
18448
|
+
kind?: string;
|
|
18449
|
+
monteur_id: string;
|
|
18568
18450
|
note?: string | null;
|
|
18569
|
-
|
|
18570
|
-
|
|
18571
|
-
title?: string;
|
|
18572
|
-
total_excl_cents?: number;
|
|
18573
|
-
total_incl_cents?: number;
|
|
18451
|
+
source?: string;
|
|
18452
|
+
travel_km?: number;
|
|
18574
18453
|
updated_at?: string;
|
|
18575
|
-
|
|
18576
|
-
vat_percentage?: number;
|
|
18454
|
+
werkbon_id?: string | null;
|
|
18577
18455
|
};
|
|
18578
18456
|
Update: {
|
|
18579
18457
|
created_at?: string;
|
|
18580
18458
|
created_by?: string | null;
|
|
18581
|
-
|
|
18582
|
-
|
|
18583
|
-
dynamic_fields?: Json;
|
|
18584
|
-
estimated_minutes?: number;
|
|
18459
|
+
entry_date?: string;
|
|
18460
|
+
hours?: number;
|
|
18585
18461
|
id?: string;
|
|
18462
|
+
kind?: string;
|
|
18463
|
+
monteur_id?: string;
|
|
18586
18464
|
note?: string | null;
|
|
18587
|
-
|
|
18588
|
-
|
|
18589
|
-
title?: string;
|
|
18590
|
-
total_excl_cents?: number;
|
|
18591
|
-
total_incl_cents?: number;
|
|
18465
|
+
source?: string;
|
|
18466
|
+
travel_km?: number;
|
|
18592
18467
|
updated_at?: string;
|
|
18593
|
-
|
|
18594
|
-
vat_percentage?: number;
|
|
18468
|
+
werkbon_id?: string | null;
|
|
18595
18469
|
};
|
|
18596
18470
|
Relationships: [
|
|
18597
18471
|
{
|
|
18598
|
-
foreignKeyName: "
|
|
18599
|
-
columns: ["
|
|
18472
|
+
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
18473
|
+
columns: ["werkbon_id"];
|
|
18600
18474
|
isOneToOne: false;
|
|
18601
|
-
referencedRelation: "
|
|
18475
|
+
referencedRelation: "werkbonnen";
|
|
18602
18476
|
referencedColumns: ["id"];
|
|
18603
18477
|
}
|
|
18604
18478
|
];
|
|
18605
18479
|
};
|
|
18480
|
+
uren_exports: {
|
|
18481
|
+
Row: {
|
|
18482
|
+
created_at: string;
|
|
18483
|
+
created_by: string | null;
|
|
18484
|
+
file_name: string | null;
|
|
18485
|
+
id: string;
|
|
18486
|
+
monteur_ids: string[];
|
|
18487
|
+
period_end: string;
|
|
18488
|
+
period_start: string;
|
|
18489
|
+
row_count: number;
|
|
18490
|
+
};
|
|
18491
|
+
Insert: {
|
|
18492
|
+
created_at?: string;
|
|
18493
|
+
created_by?: string | null;
|
|
18494
|
+
file_name?: string | null;
|
|
18495
|
+
id?: string;
|
|
18496
|
+
monteur_ids?: string[];
|
|
18497
|
+
period_end: string;
|
|
18498
|
+
period_start: string;
|
|
18499
|
+
row_count?: number;
|
|
18500
|
+
};
|
|
18501
|
+
Update: {
|
|
18502
|
+
created_at?: string;
|
|
18503
|
+
created_by?: string | null;
|
|
18504
|
+
file_name?: string | null;
|
|
18505
|
+
id?: string;
|
|
18506
|
+
monteur_ids?: string[];
|
|
18507
|
+
period_end?: string;
|
|
18508
|
+
period_start?: string;
|
|
18509
|
+
row_count?: number;
|
|
18510
|
+
};
|
|
18511
|
+
Relationships: [];
|
|
18512
|
+
};
|
|
18606
18513
|
uren_settings: {
|
|
18607
18514
|
Row: {
|
|
18608
18515
|
break_minutes: number;
|
|
@@ -20326,6 +20233,39 @@ export type Database = {
|
|
|
20326
20233
|
};
|
|
20327
20234
|
Relationships: [];
|
|
20328
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
|
+
};
|
|
20329
20269
|
product_group_stock_view: {
|
|
20330
20270
|
Row: {
|
|
20331
20271
|
item_count: number | null;
|
|
@@ -20940,6 +20880,18 @@ export type Database = {
|
|
|
20940
20880
|
Args: never;
|
|
20941
20881
|
Returns: number;
|
|
20942
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
|
+
};
|
|
20943
20895
|
calculate_layer_stock: {
|
|
20944
20896
|
Args: {
|
|
20945
20897
|
p_product_id: string;
|
|
@@ -21034,6 +20986,7 @@ export type Database = {
|
|
|
21034
20986
|
attempts: number;
|
|
21035
20987
|
connection_id: string;
|
|
21036
20988
|
created_at: string;
|
|
20989
|
+
dead_lettered_at: string | null;
|
|
21037
20990
|
desired_available: boolean | null;
|
|
21038
20991
|
gateway_attempt_id: string | null;
|
|
21039
20992
|
id: string;
|
|
@@ -21042,9 +20995,13 @@ export type Database = {
|
|
|
21042
20995
|
locked_by: string | null;
|
|
21043
20996
|
next_attempt_at: string;
|
|
21044
20997
|
number_of_pieces: number;
|
|
20998
|
+
product_id: string | null;
|
|
21045
20999
|
sent_at: string | null;
|
|
21046
21000
|
status: string;
|
|
21001
|
+
stock_mode: string | null;
|
|
21047
21002
|
superseded_by: string | null;
|
|
21003
|
+
target_week: number | null;
|
|
21004
|
+
target_year: number | null;
|
|
21048
21005
|
trade_item_id: string;
|
|
21049
21006
|
updated_at: string;
|
|
21050
21007
|
user_id: string;
|
|
@@ -21525,6 +21482,24 @@ export type Database = {
|
|
|
21525
21482
|
};
|
|
21526
21483
|
Returns: string;
|
|
21527
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
|
+
};
|
|
21528
21503
|
floriday_effective_price: {
|
|
21529
21504
|
Args: {
|
|
21530
21505
|
_buyer_id: string;
|
|
@@ -21542,6 +21517,34 @@ export type Database = {
|
|
|
21542
21517
|
source_id: string;
|
|
21543
21518
|
}[];
|
|
21544
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
|
+
};
|
|
21545
21548
|
format_cart_number: {
|
|
21546
21549
|
Args: {
|
|
21547
21550
|
p_pick_date: string;
|
|
@@ -21721,42 +21724,167 @@ export type Database = {
|
|
|
21721
21724
|
ordered_at: string;
|
|
21722
21725
|
}[];
|
|
21723
21726
|
};
|
|
21724
|
-
get_or_assign_floriday_order_number: {
|
|
21727
|
+
get_or_assign_floriday_order_number: {
|
|
21728
|
+
Args: {
|
|
21729
|
+
p_floriday_id: string;
|
|
21730
|
+
};
|
|
21731
|
+
Returns: string;
|
|
21732
|
+
};
|
|
21733
|
+
get_product_group_available_stock: {
|
|
21734
|
+
Args: {
|
|
21735
|
+
p_group_id: string;
|
|
21736
|
+
};
|
|
21737
|
+
Returns: number;
|
|
21738
|
+
};
|
|
21739
|
+
get_room_busy_windows: {
|
|
21740
|
+
Args: {
|
|
21741
|
+
p_from: string;
|
|
21742
|
+
p_to: string;
|
|
21743
|
+
};
|
|
21744
|
+
Returns: {
|
|
21745
|
+
end_time: string;
|
|
21746
|
+
room_id: string;
|
|
21747
|
+
start_time: string;
|
|
21748
|
+
status: string;
|
|
21749
|
+
}[];
|
|
21750
|
+
};
|
|
21751
|
+
get_twinfield_cron_jobs: {
|
|
21752
|
+
Args: never;
|
|
21753
|
+
Returns: {
|
|
21754
|
+
active: boolean;
|
|
21755
|
+
jobname: string;
|
|
21756
|
+
schedule: string;
|
|
21757
|
+
url: string;
|
|
21758
|
+
}[];
|
|
21759
|
+
};
|
|
21760
|
+
get_user_tenant_id: {
|
|
21761
|
+
Args: never;
|
|
21762
|
+
Returns: string;
|
|
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: {
|
|
21725
21850
|
Args: {
|
|
21726
|
-
|
|
21851
|
+
_label?: string;
|
|
21852
|
+
_module_id: string;
|
|
21727
21853
|
};
|
|
21728
21854
|
Returns: string;
|
|
21729
21855
|
};
|
|
21730
|
-
|
|
21856
|
+
handover_update: {
|
|
21731
21857
|
Args: {
|
|
21732
|
-
|
|
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;
|
|
21733
21866
|
};
|
|
21734
|
-
Returns:
|
|
21735
|
-
}
|
|
21736
|
-
get_room_busy_windows: {
|
|
21867
|
+
Returns: boolean;
|
|
21868
|
+
} | {
|
|
21737
21869
|
Args: {
|
|
21738
|
-
|
|
21739
|
-
|
|
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;
|
|
21740
21880
|
};
|
|
21741
|
-
Returns:
|
|
21742
|
-
end_time: string;
|
|
21743
|
-
room_id: string;
|
|
21744
|
-
start_time: string;
|
|
21745
|
-
status: string;
|
|
21746
|
-
}[];
|
|
21747
|
-
};
|
|
21748
|
-
get_twinfield_cron_jobs: {
|
|
21749
|
-
Args: never;
|
|
21750
|
-
Returns: {
|
|
21751
|
-
active: boolean;
|
|
21752
|
-
jobname: string;
|
|
21753
|
-
schedule: string;
|
|
21754
|
-
url: string;
|
|
21755
|
-
}[];
|
|
21881
|
+
Returns: boolean;
|
|
21756
21882
|
};
|
|
21757
|
-
|
|
21758
|
-
Args:
|
|
21759
|
-
|
|
21883
|
+
handover_versies: {
|
|
21884
|
+
Args: {
|
|
21885
|
+
_module_id: string;
|
|
21886
|
+
};
|
|
21887
|
+
Returns: Json;
|
|
21760
21888
|
};
|
|
21761
21889
|
has_module_permission: {
|
|
21762
21890
|
Args: {
|
|
@@ -21777,6 +21905,25 @@ export type Database = {
|
|
|
21777
21905
|
Args: never;
|
|
21778
21906
|
Returns: boolean;
|
|
21779
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
|
+
};
|
|
21780
21927
|
invoice_create_from_source: {
|
|
21781
21928
|
Args: {
|
|
21782
21929
|
_payload?: Json;
|
|
@@ -22001,6 +22148,12 @@ export type Database = {
|
|
|
22001
22148
|
};
|
|
22002
22149
|
Returns: boolean;
|
|
22003
22150
|
};
|
|
22151
|
+
logistics_barcode_lookup: {
|
|
22152
|
+
Args: {
|
|
22153
|
+
p_barcode: string;
|
|
22154
|
+
};
|
|
22155
|
+
Returns: Json;
|
|
22156
|
+
};
|
|
22004
22157
|
logistics_buffer_criteria: {
|
|
22005
22158
|
Args: {
|
|
22006
22159
|
p_settings: Json;
|
|
@@ -22061,6 +22214,12 @@ export type Database = {
|
|
|
22061
22214
|
};
|
|
22062
22215
|
Returns: number;
|
|
22063
22216
|
};
|
|
22217
|
+
logistics_cart_barcode_value: {
|
|
22218
|
+
Args: {
|
|
22219
|
+
_cart_id: string;
|
|
22220
|
+
};
|
|
22221
|
+
Returns: string;
|
|
22222
|
+
};
|
|
22064
22223
|
logistics_cart_index: {
|
|
22065
22224
|
Args: {
|
|
22066
22225
|
p_from?: string;
|
|
@@ -22070,6 +22229,10 @@ export type Database = {
|
|
|
22070
22229
|
cart_id: string;
|
|
22071
22230
|
cart_index: number;
|
|
22072
22231
|
cart_label: string;
|
|
22232
|
+
delivery_date: string;
|
|
22233
|
+
is_announced: boolean;
|
|
22234
|
+
is_controlled: boolean;
|
|
22235
|
+
is_printed: boolean;
|
|
22073
22236
|
is_shared: boolean;
|
|
22074
22237
|
order_number: string;
|
|
22075
22238
|
order_source: string;
|
|
@@ -22080,6 +22243,12 @@ export type Database = {
|
|
|
22080
22243
|
task_status: string;
|
|
22081
22244
|
}[];
|
|
22082
22245
|
};
|
|
22246
|
+
logistics_cart_slip_plan: {
|
|
22247
|
+
Args: {
|
|
22248
|
+
p_order_id: string;
|
|
22249
|
+
};
|
|
22250
|
+
Returns: Json;
|
|
22251
|
+
};
|
|
22083
22252
|
logistics_check_order_allowed: {
|
|
22084
22253
|
Args: {
|
|
22085
22254
|
p_lines: Json;
|
|
@@ -22232,11 +22401,15 @@ export type Database = {
|
|
|
22232
22401
|
Args: never;
|
|
22233
22402
|
Returns: {
|
|
22234
22403
|
agenda_carts: number;
|
|
22404
|
+
announced_carts: number;
|
|
22235
22405
|
control_carts: number;
|
|
22406
|
+
delivery_carts: number;
|
|
22236
22407
|
ok: boolean;
|
|
22237
22408
|
orphan_tasks: number;
|
|
22238
22409
|
pick_date: string;
|
|
22239
22410
|
raw_carts: number;
|
|
22411
|
+
sales_carts: number;
|
|
22412
|
+
station_carts: number;
|
|
22240
22413
|
}[];
|
|
22241
22414
|
};
|
|
22242
22415
|
logistics_delay_customer_email: {
|
|
@@ -22252,12 +22425,35 @@ export type Database = {
|
|
|
22252
22425
|
subject: string;
|
|
22253
22426
|
}[];
|
|
22254
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
|
+
};
|
|
22255
22444
|
logistics_document_layout: {
|
|
22256
22445
|
Args: {
|
|
22257
22446
|
_document_code: string;
|
|
22258
22447
|
};
|
|
22259
22448
|
Returns: Json;
|
|
22260
22449
|
};
|
|
22450
|
+
logistics_document_layout_v2: {
|
|
22451
|
+
Args: {
|
|
22452
|
+
_document_code: string;
|
|
22453
|
+
_is_partial?: boolean;
|
|
22454
|
+
};
|
|
22455
|
+
Returns: Json;
|
|
22456
|
+
};
|
|
22261
22457
|
logistics_document_station: {
|
|
22262
22458
|
Args: {
|
|
22263
22459
|
_document_code: string;
|
|
@@ -22283,6 +22479,12 @@ export type Database = {
|
|
|
22283
22479
|
};
|
|
22284
22480
|
Returns: Json;
|
|
22285
22481
|
};
|
|
22482
|
+
logistics_ensure_cart_barcode: {
|
|
22483
|
+
Args: {
|
|
22484
|
+
_cart_id: string;
|
|
22485
|
+
};
|
|
22486
|
+
Returns: string;
|
|
22487
|
+
};
|
|
22286
22488
|
logistics_fail_task: {
|
|
22287
22489
|
Args: {
|
|
22288
22490
|
p_error: string;
|
|
@@ -22328,6 +22530,16 @@ export type Database = {
|
|
|
22328
22530
|
isSetofReturn: false;
|
|
22329
22531
|
};
|
|
22330
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
|
+
};
|
|
22331
22543
|
logistics_floriday_claim_pushes: {
|
|
22332
22544
|
Args: {
|
|
22333
22545
|
_lease_seconds?: number;
|
|
@@ -22533,6 +22745,13 @@ export type Database = {
|
|
|
22533
22745
|
};
|
|
22534
22746
|
Returns: undefined;
|
|
22535
22747
|
};
|
|
22748
|
+
logistics_plan_floriday_order: {
|
|
22749
|
+
Args: {
|
|
22750
|
+
p_buffer_id?: string;
|
|
22751
|
+
p_order_id: string;
|
|
22752
|
+
};
|
|
22753
|
+
Returns: number;
|
|
22754
|
+
};
|
|
22536
22755
|
logistics_plan_impact_orders: {
|
|
22537
22756
|
Args: {
|
|
22538
22757
|
p_order_id: string;
|
|
@@ -22726,6 +22945,14 @@ export type Database = {
|
|
|
22726
22945
|
};
|
|
22727
22946
|
Returns: string;
|
|
22728
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
|
+
};
|
|
22729
22956
|
logistics_supersede_stale_tasks: {
|
|
22730
22957
|
Args: {
|
|
22731
22958
|
p_keep: string[];
|
|
@@ -22947,6 +23174,7 @@ export type Database = {
|
|
|
22947
23174
|
print_job_id: string | null;
|
|
22948
23175
|
printed_at: string | null;
|
|
22949
23176
|
printed_by: string | null;
|
|
23177
|
+
printed_cart_ids: Json;
|
|
22950
23178
|
printer_id: string | null;
|
|
22951
23179
|
priority: number;
|
|
22952
23180
|
reference: string | null;
|
|
@@ -22996,6 +23224,7 @@ export type Database = {
|
|
|
22996
23224
|
print_job_id: string | null;
|
|
22997
23225
|
printed_at: string | null;
|
|
22998
23226
|
printed_by: string | null;
|
|
23227
|
+
printed_cart_ids: Json;
|
|
22999
23228
|
printer_id: string | null;
|
|
23000
23229
|
priority: number;
|
|
23001
23230
|
reference: string | null;
|
|
@@ -23050,6 +23279,56 @@ export type Database = {
|
|
|
23050
23279
|
print_job_id: string | null;
|
|
23051
23280
|
printed_at: string | null;
|
|
23052
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;
|
|
23053
23332
|
printer_id: string | null;
|
|
23054
23333
|
priority: number;
|
|
23055
23334
|
reference: string | null;
|
|
@@ -23093,6 +23372,15 @@ export type Database = {
|
|
|
23093
23372
|
_session_id?: string;
|
|
23094
23373
|
};
|
|
23095
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;
|
|
23096
23384
|
};
|
|
23097
23385
|
pick_order_context: {
|
|
23098
23386
|
Args: {
|
|
@@ -23173,6 +23461,54 @@ export type Database = {
|
|
|
23173
23461
|
print_job_id: string | null;
|
|
23174
23462
|
printed_at: string | null;
|
|
23175
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;
|
|
23176
23512
|
printer_id: string | null;
|
|
23177
23513
|
priority: number;
|
|
23178
23514
|
reference: string | null;
|
|
@@ -23285,6 +23621,66 @@ export type Database = {
|
|
|
23285
23621
|
};
|
|
23286
23622
|
Returns: undefined;
|
|
23287
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
|
+
};
|
|
23288
23684
|
print_preview_toestaan: {
|
|
23289
23685
|
Args: {
|
|
23290
23686
|
_max?: number;
|
|
@@ -23866,6 +24262,26 @@ export type Database = {
|
|
|
23866
24262
|
};
|
|
23867
24263
|
Returns: string[];
|
|
23868
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
|
+
};
|
|
23869
24285
|
switch_time_log: {
|
|
23870
24286
|
Args: {
|
|
23871
24287
|
p_employee_id: string;
|
|
@@ -24061,9 +24477,9 @@ type DatabaseWithoutInternals = Omit<Database, "__InternalSupabase">;
|
|
|
24061
24477
|
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
|
|
24062
24478
|
export type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
|
|
24063
24479
|
schema: keyof DatabaseWithoutInternals;
|
|
24064
|
-
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
24480
|
+
}, TableName extends (DefaultSchemaTableNameOrOptions extends {
|
|
24065
24481
|
schema: keyof DatabaseWithoutInternals;
|
|
24066
|
-
} ? 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 {
|
|
24067
24483
|
schema: keyof DatabaseWithoutInternals;
|
|
24068
24484
|
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
|
|
24069
24485
|
Row: infer R;
|
|
@@ -24072,9 +24488,9 @@ export type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema[
|
|
|
24072
24488
|
} ? R : never : never;
|
|
24073
24489
|
export type TablesInsert<DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] | {
|
|
24074
24490
|
schema: keyof DatabaseWithoutInternals;
|
|
24075
|
-
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
24491
|
+
}, TableName extends (DefaultSchemaTableNameOrOptions extends {
|
|
24076
24492
|
schema: keyof DatabaseWithoutInternals;
|
|
24077
|
-
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
24493
|
+
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never) = never> = DefaultSchemaTableNameOrOptions extends {
|
|
24078
24494
|
schema: keyof DatabaseWithoutInternals;
|
|
24079
24495
|
} ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends {
|
|
24080
24496
|
Insert: infer I;
|
|
@@ -24083,9 +24499,9 @@ export type TablesInsert<DefaultSchemaTableNameOrOptions extends keyof DefaultSc
|
|
|
24083
24499
|
} ? I : never : never;
|
|
24084
24500
|
export type TablesUpdate<DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] | {
|
|
24085
24501
|
schema: keyof DatabaseWithoutInternals;
|
|
24086
|
-
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
24502
|
+
}, TableName extends (DefaultSchemaTableNameOrOptions extends {
|
|
24087
24503
|
schema: keyof DatabaseWithoutInternals;
|
|
24088
|
-
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
24504
|
+
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never) = never> = DefaultSchemaTableNameOrOptions extends {
|
|
24089
24505
|
schema: keyof DatabaseWithoutInternals;
|
|
24090
24506
|
} ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends {
|
|
24091
24507
|
Update: infer U;
|
|
@@ -24094,16 +24510,16 @@ export type TablesUpdate<DefaultSchemaTableNameOrOptions extends keyof DefaultSc
|
|
|
24094
24510
|
} ? U : never : never;
|
|
24095
24511
|
export type Enums<DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema["Enums"] | {
|
|
24096
24512
|
schema: keyof DatabaseWithoutInternals;
|
|
24097
|
-
}, EnumName extends DefaultSchemaEnumNameOrOptions extends {
|
|
24513
|
+
}, EnumName extends (DefaultSchemaEnumNameOrOptions extends {
|
|
24098
24514
|
schema: keyof DatabaseWithoutInternals;
|
|
24099
|
-
} ? keyof DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"] : never = never> = DefaultSchemaEnumNameOrOptions extends {
|
|
24515
|
+
} ? keyof DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"] : never) = never> = DefaultSchemaEnumNameOrOptions extends {
|
|
24100
24516
|
schema: keyof DatabaseWithoutInternals;
|
|
24101
24517
|
} ? DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"][EnumName] : DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema["Enums"] ? DefaultSchema["Enums"][DefaultSchemaEnumNameOrOptions] : never;
|
|
24102
24518
|
export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] | {
|
|
24103
24519
|
schema: keyof DatabaseWithoutInternals;
|
|
24104
|
-
}, CompositeTypeName extends PublicCompositeTypeNameOrOptions extends {
|
|
24520
|
+
}, CompositeTypeName extends (PublicCompositeTypeNameOrOptions extends {
|
|
24105
24521
|
schema: keyof DatabaseWithoutInternals;
|
|
24106
|
-
} ? keyof DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"] : never = never> = PublicCompositeTypeNameOrOptions extends {
|
|
24522
|
+
} ? keyof DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"] : never) = never> = PublicCompositeTypeNameOrOptions extends {
|
|
24107
24523
|
schema: keyof DatabaseWithoutInternals;
|
|
24108
24524
|
} ? DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName] : PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] ? DefaultSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions] : never;
|
|
24109
24525
|
export declare const Constants: {
|