@flowselections/logistiek-engine 1.0.24 → 1.0.26
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/README.md +24 -24
- package/dist-lib/components/ConsistentieCard.d.ts +2 -0
- package/dist-lib/components/ConsistentieCard.d.ts.map +1 -0
- package/dist-lib/components/ConsistentieCard.js +38 -0
- package/dist-lib/components/LogistiekEnginePage.d.ts.map +1 -1
- package/dist-lib/components/LogistiekEnginePage.js +8 -2
- package/dist-lib/components/ModulePromptsPage.d.ts.map +1 -1
- package/dist-lib/components/ModulePromptsPage.js +11 -3
- package/dist-lib/components/RegiePage.d.ts.map +1 -1
- package/dist-lib/components/RegiePage.js +3 -2
- package/dist-lib/index.d.ts +1 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +1 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1333 -775
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1333 -775
- 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 +1333 -775
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1346 -806
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.functions.d.ts +3510 -1836
- package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.functions.d.ts +1333 -775
- package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
- package/dist-lib/lib/handlers/logistics-tick.server.d.ts.map +1 -1
- package/dist-lib/lib/handlers/logistics-tick.server.js +11 -0
- package/dist-lib/lib/loadCarrierPlanner.d.ts +6 -0
- package/dist-lib/lib/loadCarrierPlanner.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanner.js +3 -0
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +5855 -3090
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanning.server.js +3 -0
- package/dist-lib/lib/logisticsPlanner.d.ts +2 -0
- package/dist-lib/lib/logisticsPlanner.d.ts.map +1 -1
- package/dist-lib/lib/logisticsPlanner.js +52 -13
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +2340 -1224
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts +1333 -775
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.d.ts +19 -3
- package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.js +1664 -1141
- package/dist-lib/lib/ruleEngineSchema.d.ts.map +1 -1
- package/dist-lib/lib/ruleEngineSchema.js +21 -4
- package/dist-lib/lib/ruleEngineWizard.d.ts.map +1 -1
- package/dist-lib/lib/ruleEngineWizard.js +3 -1
- package/package.json +1 -1
- package/dist-lib/components/rule-engine/FloridayConnectionBanner.d.ts +0 -2
- package/dist-lib/components/rule-engine/FloridayConnectionBanner.d.ts.map +0 -1
- package/dist-lib/components/rule-engine/FloridayConnectionBanner.js +0 -41
- package/dist-lib/integrations/supabase/client.d.ts +0 -20293
- package/dist-lib/integrations/supabase/client.d.ts.map +0 -1
- package/dist-lib/integrations/supabase/client.js +0 -13
|
@@ -3,7 +3,7 @@ export type Json = string | number | boolean | null | {
|
|
|
3
3
|
} | Json[];
|
|
4
4
|
export type Database = {
|
|
5
5
|
__InternalSupabase: {
|
|
6
|
-
PostgrestVersion: "14.
|
|
6
|
+
PostgrestVersion: "14.5";
|
|
7
7
|
};
|
|
8
8
|
public: {
|
|
9
9
|
Tables: {
|
|
@@ -2911,6 +2911,86 @@ export type Database = {
|
|
|
2911
2911
|
};
|
|
2912
2912
|
Relationships: [];
|
|
2913
2913
|
};
|
|
2914
|
+
delivery_notes: {
|
|
2915
|
+
Row: {
|
|
2916
|
+
byte_size: number | null;
|
|
2917
|
+
connection_id: string | null;
|
|
2918
|
+
content_type: string;
|
|
2919
|
+
created_at: string;
|
|
2920
|
+
error_message: string | null;
|
|
2921
|
+
fetched_at: string | null;
|
|
2922
|
+
fulfillment_order_id: string | null;
|
|
2923
|
+
http_status: number | null;
|
|
2924
|
+
id: string;
|
|
2925
|
+
label_code: string | null;
|
|
2926
|
+
letter: string | null;
|
|
2927
|
+
load_carrier_index: number | null;
|
|
2928
|
+
load_carrier_type: string | null;
|
|
2929
|
+
order_id: string | null;
|
|
2930
|
+
order_number: string | null;
|
|
2931
|
+
packages: number | null;
|
|
2932
|
+
source: string;
|
|
2933
|
+
status: string;
|
|
2934
|
+
storage_bucket: string;
|
|
2935
|
+
storage_path: string | null;
|
|
2936
|
+
updated_at: string;
|
|
2937
|
+
};
|
|
2938
|
+
Insert: {
|
|
2939
|
+
byte_size?: number | null;
|
|
2940
|
+
connection_id?: string | null;
|
|
2941
|
+
content_type?: string;
|
|
2942
|
+
created_at?: string;
|
|
2943
|
+
error_message?: string | null;
|
|
2944
|
+
fetched_at?: string | null;
|
|
2945
|
+
fulfillment_order_id?: string | null;
|
|
2946
|
+
http_status?: number | null;
|
|
2947
|
+
id?: string;
|
|
2948
|
+
label_code?: string | null;
|
|
2949
|
+
letter?: string | null;
|
|
2950
|
+
load_carrier_index?: number | null;
|
|
2951
|
+
load_carrier_type?: string | null;
|
|
2952
|
+
order_id?: string | null;
|
|
2953
|
+
order_number?: string | null;
|
|
2954
|
+
packages?: number | null;
|
|
2955
|
+
source?: string;
|
|
2956
|
+
status?: string;
|
|
2957
|
+
storage_bucket?: string;
|
|
2958
|
+
storage_path?: string | null;
|
|
2959
|
+
updated_at?: string;
|
|
2960
|
+
};
|
|
2961
|
+
Update: {
|
|
2962
|
+
byte_size?: number | null;
|
|
2963
|
+
connection_id?: string | null;
|
|
2964
|
+
content_type?: string;
|
|
2965
|
+
created_at?: string;
|
|
2966
|
+
error_message?: string | null;
|
|
2967
|
+
fetched_at?: string | null;
|
|
2968
|
+
fulfillment_order_id?: string | null;
|
|
2969
|
+
http_status?: number | null;
|
|
2970
|
+
id?: string;
|
|
2971
|
+
label_code?: string | null;
|
|
2972
|
+
letter?: string | null;
|
|
2973
|
+
load_carrier_index?: number | null;
|
|
2974
|
+
load_carrier_type?: string | null;
|
|
2975
|
+
order_id?: string | null;
|
|
2976
|
+
order_number?: string | null;
|
|
2977
|
+
packages?: number | null;
|
|
2978
|
+
source?: string;
|
|
2979
|
+
status?: string;
|
|
2980
|
+
storage_bucket?: string;
|
|
2981
|
+
storage_path?: string | null;
|
|
2982
|
+
updated_at?: string;
|
|
2983
|
+
};
|
|
2984
|
+
Relationships: [
|
|
2985
|
+
{
|
|
2986
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
2987
|
+
columns: ["order_id"];
|
|
2988
|
+
isOneToOne: false;
|
|
2989
|
+
referencedRelation: "orders";
|
|
2990
|
+
referencedColumns: ["id"];
|
|
2991
|
+
}
|
|
2992
|
+
];
|
|
2993
|
+
};
|
|
2914
2994
|
document_bronregels: {
|
|
2915
2995
|
Row: {
|
|
2916
2996
|
bron: string;
|
|
@@ -6048,10 +6128,7 @@ export type Database = {
|
|
|
6048
6128
|
};
|
|
6049
6129
|
floriday_connections: {
|
|
6050
6130
|
Row: {
|
|
6051
|
-
access_token: string | null;
|
|
6052
6131
|
api_key: string;
|
|
6053
|
-
client_id: string;
|
|
6054
|
-
client_secret: string;
|
|
6055
6132
|
created_at: string;
|
|
6056
6133
|
customers_endpoint: string | null;
|
|
6057
6134
|
environment: string;
|
|
@@ -6066,10 +6143,7 @@ export type Database = {
|
|
|
6066
6143
|
updated_at: string;
|
|
6067
6144
|
};
|
|
6068
6145
|
Insert: {
|
|
6069
|
-
access_token?: string | null;
|
|
6070
6146
|
api_key: string;
|
|
6071
|
-
client_id: string;
|
|
6072
|
-
client_secret: string;
|
|
6073
6147
|
created_at?: string;
|
|
6074
6148
|
customers_endpoint?: string | null;
|
|
6075
6149
|
environment: string;
|
|
@@ -6084,10 +6158,7 @@ export type Database = {
|
|
|
6084
6158
|
updated_at?: string;
|
|
6085
6159
|
};
|
|
6086
6160
|
Update: {
|
|
6087
|
-
access_token?: string | null;
|
|
6088
6161
|
api_key?: string;
|
|
6089
|
-
client_id?: string;
|
|
6090
|
-
client_secret?: string;
|
|
6091
6162
|
created_at?: string;
|
|
6092
6163
|
customers_endpoint?: string | null;
|
|
6093
6164
|
environment?: string;
|
|
@@ -6173,6 +6244,7 @@ export type Database = {
|
|
|
6173
6244
|
attempts: number;
|
|
6174
6245
|
connection_id: string;
|
|
6175
6246
|
created_at: string;
|
|
6247
|
+
dead_lettered_at: string | null;
|
|
6176
6248
|
desired_available: boolean | null;
|
|
6177
6249
|
gateway_attempt_id: string | null;
|
|
6178
6250
|
id: string;
|
|
@@ -6181,9 +6253,13 @@ export type Database = {
|
|
|
6181
6253
|
locked_by: string | null;
|
|
6182
6254
|
next_attempt_at: string;
|
|
6183
6255
|
number_of_pieces: number;
|
|
6256
|
+
product_id: string | null;
|
|
6184
6257
|
sent_at: string | null;
|
|
6185
6258
|
status: string;
|
|
6259
|
+
stock_mode: string | null;
|
|
6186
6260
|
superseded_by: string | null;
|
|
6261
|
+
target_week: number | null;
|
|
6262
|
+
target_year: number | null;
|
|
6187
6263
|
trade_item_id: string;
|
|
6188
6264
|
updated_at: string;
|
|
6189
6265
|
user_id: string;
|
|
@@ -6192,6 +6268,7 @@ export type Database = {
|
|
|
6192
6268
|
attempts?: number;
|
|
6193
6269
|
connection_id: string;
|
|
6194
6270
|
created_at?: string;
|
|
6271
|
+
dead_lettered_at?: string | null;
|
|
6195
6272
|
desired_available?: boolean | null;
|
|
6196
6273
|
gateway_attempt_id?: string | null;
|
|
6197
6274
|
id?: string;
|
|
@@ -6200,9 +6277,13 @@ export type Database = {
|
|
|
6200
6277
|
locked_by?: string | null;
|
|
6201
6278
|
next_attempt_at?: string;
|
|
6202
6279
|
number_of_pieces?: number;
|
|
6280
|
+
product_id?: string | null;
|
|
6203
6281
|
sent_at?: string | null;
|
|
6204
6282
|
status?: string;
|
|
6283
|
+
stock_mode?: string | null;
|
|
6205
6284
|
superseded_by?: string | null;
|
|
6285
|
+
target_week?: number | null;
|
|
6286
|
+
target_year?: number | null;
|
|
6206
6287
|
trade_item_id: string;
|
|
6207
6288
|
updated_at?: string;
|
|
6208
6289
|
user_id: string;
|
|
@@ -6211,6 +6292,7 @@ export type Database = {
|
|
|
6211
6292
|
attempts?: number;
|
|
6212
6293
|
connection_id?: string;
|
|
6213
6294
|
created_at?: string;
|
|
6295
|
+
dead_lettered_at?: string | null;
|
|
6214
6296
|
desired_available?: boolean | null;
|
|
6215
6297
|
gateway_attempt_id?: string | null;
|
|
6216
6298
|
id?: string;
|
|
@@ -6219,9 +6301,13 @@ export type Database = {
|
|
|
6219
6301
|
locked_by?: string | null;
|
|
6220
6302
|
next_attempt_at?: string;
|
|
6221
6303
|
number_of_pieces?: number;
|
|
6304
|
+
product_id?: string | null;
|
|
6222
6305
|
sent_at?: string | null;
|
|
6223
6306
|
status?: string;
|
|
6307
|
+
stock_mode?: string | null;
|
|
6224
6308
|
superseded_by?: string | null;
|
|
6309
|
+
target_week?: number | null;
|
|
6310
|
+
target_year?: number | null;
|
|
6225
6311
|
trade_item_id?: string;
|
|
6226
6312
|
updated_at?: string;
|
|
6227
6313
|
user_id?: string;
|
|
@@ -6648,6 +6734,87 @@ export type Database = {
|
|
|
6648
6734
|
}
|
|
6649
6735
|
];
|
|
6650
6736
|
};
|
|
6737
|
+
floriday_inventory_settings: {
|
|
6738
|
+
Row: {
|
|
6739
|
+
buffer_quantity: number;
|
|
6740
|
+
connection_id: string;
|
|
6741
|
+
created_at: string;
|
|
6742
|
+
desired_availability: boolean;
|
|
6743
|
+
desired_quantity: number;
|
|
6744
|
+
fixed_quantity: number | null;
|
|
6745
|
+
floriday_trade_item_id: string | null;
|
|
6746
|
+
id: string;
|
|
6747
|
+
last_confirmed_at: string | null;
|
|
6748
|
+
last_enqueued_at: string | null;
|
|
6749
|
+
last_published_at: string | null;
|
|
6750
|
+
last_sync_error: string | null;
|
|
6751
|
+
manual_quantity: number | null;
|
|
6752
|
+
maximum_quantity: number | null;
|
|
6753
|
+
product_id: string;
|
|
6754
|
+
quantity_control: string;
|
|
6755
|
+
remote_available: boolean | null;
|
|
6756
|
+
remote_checked_at: string | null;
|
|
6757
|
+
remote_quantity: number | null;
|
|
6758
|
+
stock_mode: string;
|
|
6759
|
+
sync_status: string;
|
|
6760
|
+
updated_at: string;
|
|
6761
|
+
updated_by: string | null;
|
|
6762
|
+
user_id: string;
|
|
6763
|
+
};
|
|
6764
|
+
Insert: {
|
|
6765
|
+
buffer_quantity?: number;
|
|
6766
|
+
connection_id: string;
|
|
6767
|
+
created_at?: string;
|
|
6768
|
+
desired_availability?: boolean;
|
|
6769
|
+
desired_quantity?: number;
|
|
6770
|
+
fixed_quantity?: number | null;
|
|
6771
|
+
floriday_trade_item_id?: string | null;
|
|
6772
|
+
id?: string;
|
|
6773
|
+
last_confirmed_at?: string | null;
|
|
6774
|
+
last_enqueued_at?: string | null;
|
|
6775
|
+
last_published_at?: string | null;
|
|
6776
|
+
last_sync_error?: string | null;
|
|
6777
|
+
manual_quantity?: number | null;
|
|
6778
|
+
maximum_quantity?: number | null;
|
|
6779
|
+
product_id: string;
|
|
6780
|
+
quantity_control?: string;
|
|
6781
|
+
remote_available?: boolean | null;
|
|
6782
|
+
remote_checked_at?: string | null;
|
|
6783
|
+
remote_quantity?: number | null;
|
|
6784
|
+
stock_mode?: string;
|
|
6785
|
+
sync_status?: string;
|
|
6786
|
+
updated_at?: string;
|
|
6787
|
+
updated_by?: string | null;
|
|
6788
|
+
user_id: string;
|
|
6789
|
+
};
|
|
6790
|
+
Update: {
|
|
6791
|
+
buffer_quantity?: number;
|
|
6792
|
+
connection_id?: string;
|
|
6793
|
+
created_at?: string;
|
|
6794
|
+
desired_availability?: boolean;
|
|
6795
|
+
desired_quantity?: number;
|
|
6796
|
+
fixed_quantity?: number | null;
|
|
6797
|
+
floriday_trade_item_id?: string | null;
|
|
6798
|
+
id?: string;
|
|
6799
|
+
last_confirmed_at?: string | null;
|
|
6800
|
+
last_enqueued_at?: string | null;
|
|
6801
|
+
last_published_at?: string | null;
|
|
6802
|
+
last_sync_error?: string | null;
|
|
6803
|
+
manual_quantity?: number | null;
|
|
6804
|
+
maximum_quantity?: number | null;
|
|
6805
|
+
product_id?: string;
|
|
6806
|
+
quantity_control?: string;
|
|
6807
|
+
remote_available?: boolean | null;
|
|
6808
|
+
remote_checked_at?: string | null;
|
|
6809
|
+
remote_quantity?: number | null;
|
|
6810
|
+
stock_mode?: string;
|
|
6811
|
+
sync_status?: string;
|
|
6812
|
+
updated_at?: string;
|
|
6813
|
+
updated_by?: string | null;
|
|
6814
|
+
user_id?: string;
|
|
6815
|
+
};
|
|
6816
|
+
Relationships: [];
|
|
6817
|
+
};
|
|
6651
6818
|
floriday_invoices_cache: {
|
|
6652
6819
|
Row: {
|
|
6653
6820
|
buyer_organization_id: string | null;
|
|
@@ -6944,6 +7111,39 @@ export type Database = {
|
|
|
6944
7111
|
};
|
|
6945
7112
|
Relationships: [];
|
|
6946
7113
|
};
|
|
7114
|
+
floriday_sales_order_ingest: {
|
|
7115
|
+
Row: {
|
|
7116
|
+
connection_id: string;
|
|
7117
|
+
created_at: string;
|
|
7118
|
+
id: string;
|
|
7119
|
+
impact: Json;
|
|
7120
|
+
order_status: string | null;
|
|
7121
|
+
order_version: number;
|
|
7122
|
+
processed_at: string;
|
|
7123
|
+
sales_order_id: string;
|
|
7124
|
+
};
|
|
7125
|
+
Insert: {
|
|
7126
|
+
connection_id: string;
|
|
7127
|
+
created_at?: string;
|
|
7128
|
+
id?: string;
|
|
7129
|
+
impact?: Json;
|
|
7130
|
+
order_status?: string | null;
|
|
7131
|
+
order_version?: number;
|
|
7132
|
+
processed_at?: string;
|
|
7133
|
+
sales_order_id: string;
|
|
7134
|
+
};
|
|
7135
|
+
Update: {
|
|
7136
|
+
connection_id?: string;
|
|
7137
|
+
created_at?: string;
|
|
7138
|
+
id?: string;
|
|
7139
|
+
impact?: Json;
|
|
7140
|
+
order_status?: string | null;
|
|
7141
|
+
order_version?: number;
|
|
7142
|
+
processed_at?: string;
|
|
7143
|
+
sales_order_id?: string;
|
|
7144
|
+
};
|
|
7145
|
+
Relationships: [];
|
|
7146
|
+
};
|
|
6947
7147
|
floriday_sales_strategies_cache: {
|
|
6948
7148
|
Row: {
|
|
6949
7149
|
connection_id: string;
|
|
@@ -7047,6 +7247,39 @@ export type Database = {
|
|
|
7047
7247
|
};
|
|
7048
7248
|
Relationships: [];
|
|
7049
7249
|
};
|
|
7250
|
+
floriday_sync_cursors: {
|
|
7251
|
+
Row: {
|
|
7252
|
+
connection_id: string;
|
|
7253
|
+
created_at: string;
|
|
7254
|
+
id: string;
|
|
7255
|
+
last_error: string | null;
|
|
7256
|
+
last_sync_at: string | null;
|
|
7257
|
+
resource_type: string;
|
|
7258
|
+
sequence_number: number;
|
|
7259
|
+
updated_at: string;
|
|
7260
|
+
};
|
|
7261
|
+
Insert: {
|
|
7262
|
+
connection_id: string;
|
|
7263
|
+
created_at?: string;
|
|
7264
|
+
id?: string;
|
|
7265
|
+
last_error?: string | null;
|
|
7266
|
+
last_sync_at?: string | null;
|
|
7267
|
+
resource_type: string;
|
|
7268
|
+
sequence_number?: number;
|
|
7269
|
+
updated_at?: string;
|
|
7270
|
+
};
|
|
7271
|
+
Update: {
|
|
7272
|
+
connection_id?: string;
|
|
7273
|
+
created_at?: string;
|
|
7274
|
+
id?: string;
|
|
7275
|
+
last_error?: string | null;
|
|
7276
|
+
last_sync_at?: string | null;
|
|
7277
|
+
resource_type?: string;
|
|
7278
|
+
sequence_number?: number;
|
|
7279
|
+
updated_at?: string;
|
|
7280
|
+
};
|
|
7281
|
+
Relationships: [];
|
|
7282
|
+
};
|
|
7050
7283
|
floriday_sync_state: {
|
|
7051
7284
|
Row: {
|
|
7052
7285
|
connection_id: string;
|
|
@@ -7762,6 +7995,42 @@ export type Database = {
|
|
|
7762
7995
|
};
|
|
7763
7996
|
Relationships: [];
|
|
7764
7997
|
};
|
|
7998
|
+
inventory_stock_snapshots: {
|
|
7999
|
+
Row: {
|
|
8000
|
+
connection_id: string;
|
|
8001
|
+
created_at: string;
|
|
8002
|
+
erp_available_quantity: number;
|
|
8003
|
+
floriday_desired_quantity: number;
|
|
8004
|
+
floriday_remote_quantity: number | null;
|
|
8005
|
+
granularity: string;
|
|
8006
|
+
id: string;
|
|
8007
|
+
snapshot_at: string;
|
|
8008
|
+
user_id: string | null;
|
|
8009
|
+
};
|
|
8010
|
+
Insert: {
|
|
8011
|
+
connection_id: string;
|
|
8012
|
+
created_at?: string;
|
|
8013
|
+
erp_available_quantity?: number;
|
|
8014
|
+
floriday_desired_quantity?: number;
|
|
8015
|
+
floriday_remote_quantity?: number | null;
|
|
8016
|
+
granularity?: string;
|
|
8017
|
+
id?: string;
|
|
8018
|
+
snapshot_at?: string;
|
|
8019
|
+
user_id?: string | null;
|
|
8020
|
+
};
|
|
8021
|
+
Update: {
|
|
8022
|
+
connection_id?: string;
|
|
8023
|
+
created_at?: string;
|
|
8024
|
+
erp_available_quantity?: number;
|
|
8025
|
+
floriday_desired_quantity?: number;
|
|
8026
|
+
floriday_remote_quantity?: number | null;
|
|
8027
|
+
granularity?: string;
|
|
8028
|
+
id?: string;
|
|
8029
|
+
snapshot_at?: string;
|
|
8030
|
+
user_id?: string | null;
|
|
8031
|
+
};
|
|
8032
|
+
Relationships: [];
|
|
8033
|
+
};
|
|
7765
8034
|
invoice_items: {
|
|
7766
8035
|
Row: {
|
|
7767
8036
|
created_at: string;
|
|
@@ -8287,15 +8556,7 @@ export type Database = {
|
|
|
8287
8556
|
segment?: Database["public"]["Enums"]["itk_customer_segment"];
|
|
8288
8557
|
updated_at?: string;
|
|
8289
8558
|
};
|
|
8290
|
-
Relationships: [
|
|
8291
|
-
{
|
|
8292
|
-
foreignKeyName: "itk_customers_legacy_customer_id_fkey";
|
|
8293
|
-
columns: ["legacy_customer_id"];
|
|
8294
|
-
isOneToOne: false;
|
|
8295
|
-
referencedRelation: "customers";
|
|
8296
|
-
referencedColumns: ["id"];
|
|
8297
|
-
}
|
|
8298
|
-
];
|
|
8559
|
+
Relationships: [];
|
|
8299
8560
|
};
|
|
8300
8561
|
itk_dynamic_fields: {
|
|
8301
8562
|
Row: {
|
|
@@ -8327,98 +8588,272 @@ export type Database = {
|
|
|
8327
8588
|
};
|
|
8328
8589
|
Relationships: [];
|
|
8329
8590
|
};
|
|
8330
|
-
|
|
8591
|
+
itk_handover_rechten: {
|
|
8331
8592
|
Row: {
|
|
8332
8593
|
created_at: string;
|
|
8333
|
-
event_type: string;
|
|
8334
8594
|
id: string;
|
|
8335
|
-
|
|
8336
|
-
|
|
8337
|
-
|
|
8595
|
+
module_id: string;
|
|
8596
|
+
rol: Database["public"]["Enums"]["app_role"] | null;
|
|
8597
|
+
updated_at: string;
|
|
8338
8598
|
user_id: string | null;
|
|
8339
8599
|
};
|
|
8340
8600
|
Insert: {
|
|
8341
8601
|
created_at?: string;
|
|
8342
|
-
event_type: string;
|
|
8343
8602
|
id?: string;
|
|
8344
|
-
|
|
8345
|
-
|
|
8346
|
-
|
|
8603
|
+
module_id: string;
|
|
8604
|
+
rol?: Database["public"]["Enums"]["app_role"] | null;
|
|
8605
|
+
updated_at?: string;
|
|
8347
8606
|
user_id?: string | null;
|
|
8348
8607
|
};
|
|
8349
8608
|
Update: {
|
|
8350
8609
|
created_at?: string;
|
|
8351
|
-
event_type?: string;
|
|
8352
8610
|
id?: string;
|
|
8353
|
-
|
|
8354
|
-
|
|
8355
|
-
|
|
8611
|
+
module_id?: string;
|
|
8612
|
+
rol?: Database["public"]["Enums"]["app_role"] | null;
|
|
8613
|
+
updated_at?: string;
|
|
8356
8614
|
user_id?: string | null;
|
|
8357
8615
|
};
|
|
8358
|
-
Relationships: [
|
|
8359
|
-
{
|
|
8360
|
-
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
8361
|
-
columns: ["offerte_id"];
|
|
8362
|
-
isOneToOne: false;
|
|
8363
|
-
referencedRelation: "itk_offertes";
|
|
8364
|
-
referencedColumns: ["id"];
|
|
8365
|
-
}
|
|
8366
|
-
];
|
|
8616
|
+
Relationships: [];
|
|
8367
8617
|
};
|
|
8368
|
-
|
|
8618
|
+
itk_handover_tokens: {
|
|
8369
8619
|
Row: {
|
|
8620
|
+
aangemaakt_door: string | null;
|
|
8370
8621
|
created_at: string;
|
|
8371
8622
|
id: string;
|
|
8372
|
-
|
|
8373
|
-
|
|
8374
|
-
|
|
8375
|
-
|
|
8376
|
-
|
|
8377
|
-
sort_order: number;
|
|
8378
|
-
source: string;
|
|
8379
|
-
unit_price_cents: number;
|
|
8623
|
+
is_actief: boolean;
|
|
8624
|
+
laatst_gebruikt_op: string | null;
|
|
8625
|
+
label: string;
|
|
8626
|
+
module_id: string;
|
|
8627
|
+
token_hash: string;
|
|
8380
8628
|
updated_at: string;
|
|
8629
|
+
verloopt_op: string | null;
|
|
8381
8630
|
};
|
|
8382
8631
|
Insert: {
|
|
8632
|
+
aangemaakt_door?: string | null;
|
|
8383
8633
|
created_at?: string;
|
|
8384
8634
|
id?: string;
|
|
8385
|
-
|
|
8386
|
-
|
|
8387
|
-
|
|
8388
|
-
|
|
8389
|
-
|
|
8390
|
-
sort_order?: number;
|
|
8391
|
-
source?: string;
|
|
8392
|
-
unit_price_cents?: number;
|
|
8635
|
+
is_actief?: boolean;
|
|
8636
|
+
laatst_gebruikt_op?: string | null;
|
|
8637
|
+
label?: string;
|
|
8638
|
+
module_id: string;
|
|
8639
|
+
token_hash: string;
|
|
8393
8640
|
updated_at?: string;
|
|
8641
|
+
verloopt_op?: string | null;
|
|
8394
8642
|
};
|
|
8395
8643
|
Update: {
|
|
8644
|
+
aangemaakt_door?: string | null;
|
|
8396
8645
|
created_at?: string;
|
|
8397
8646
|
id?: string;
|
|
8398
|
-
|
|
8399
|
-
|
|
8400
|
-
|
|
8401
|
-
|
|
8402
|
-
|
|
8403
|
-
sort_order?: number;
|
|
8404
|
-
source?: string;
|
|
8405
|
-
unit_price_cents?: number;
|
|
8647
|
+
is_actief?: boolean;
|
|
8648
|
+
laatst_gebruikt_op?: string | null;
|
|
8649
|
+
label?: string;
|
|
8650
|
+
module_id?: string;
|
|
8651
|
+
token_hash?: string;
|
|
8406
8652
|
updated_at?: string;
|
|
8653
|
+
verloopt_op?: string | null;
|
|
8407
8654
|
};
|
|
8408
|
-
Relationships: [
|
|
8409
|
-
|
|
8410
|
-
|
|
8411
|
-
|
|
8412
|
-
|
|
8413
|
-
|
|
8414
|
-
|
|
8415
|
-
|
|
8416
|
-
|
|
8417
|
-
|
|
8418
|
-
|
|
8419
|
-
|
|
8420
|
-
|
|
8421
|
-
|
|
8655
|
+
Relationships: [];
|
|
8656
|
+
};
|
|
8657
|
+
itk_module_handovers: {
|
|
8658
|
+
Row: {
|
|
8659
|
+
bevindingen: string | null;
|
|
8660
|
+
bezit_tabellen: string[];
|
|
8661
|
+
conflicten_snapshot: Json;
|
|
8662
|
+
contractfuncties: string[];
|
|
8663
|
+
created_at: string;
|
|
8664
|
+
eigenaar_module_id: string | null;
|
|
8665
|
+
gepubliceerd_door: string | null;
|
|
8666
|
+
gepubliceerd_op: string;
|
|
8667
|
+
herzieningstermijn_dagen: number;
|
|
8668
|
+
id: string;
|
|
8669
|
+
inhoud_md: string;
|
|
8670
|
+
is_actueel: boolean;
|
|
8671
|
+
module_id: string;
|
|
8672
|
+
module_titel: string;
|
|
8673
|
+
ontbrekende_contracten: string[];
|
|
8674
|
+
samenvatting: string | null;
|
|
8675
|
+
updated_at: string;
|
|
8676
|
+
versie: number;
|
|
8677
|
+
};
|
|
8678
|
+
Insert: {
|
|
8679
|
+
bevindingen?: string | null;
|
|
8680
|
+
bezit_tabellen?: string[];
|
|
8681
|
+
conflicten_snapshot?: Json;
|
|
8682
|
+
contractfuncties?: string[];
|
|
8683
|
+
created_at?: string;
|
|
8684
|
+
eigenaar_module_id?: string | null;
|
|
8685
|
+
gepubliceerd_door?: string | null;
|
|
8686
|
+
gepubliceerd_op?: string;
|
|
8687
|
+
herzieningstermijn_dagen?: number;
|
|
8688
|
+
id?: string;
|
|
8689
|
+
inhoud_md: string;
|
|
8690
|
+
is_actueel?: boolean;
|
|
8691
|
+
module_id: string;
|
|
8692
|
+
module_titel: string;
|
|
8693
|
+
ontbrekende_contracten?: string[];
|
|
8694
|
+
samenvatting?: string | null;
|
|
8695
|
+
updated_at?: string;
|
|
8696
|
+
versie?: number;
|
|
8697
|
+
};
|
|
8698
|
+
Update: {
|
|
8699
|
+
bevindingen?: string | null;
|
|
8700
|
+
bezit_tabellen?: string[];
|
|
8701
|
+
conflicten_snapshot?: Json;
|
|
8702
|
+
contractfuncties?: string[];
|
|
8703
|
+
created_at?: string;
|
|
8704
|
+
eigenaar_module_id?: string | null;
|
|
8705
|
+
gepubliceerd_door?: string | null;
|
|
8706
|
+
gepubliceerd_op?: string;
|
|
8707
|
+
herzieningstermijn_dagen?: number;
|
|
8708
|
+
id?: string;
|
|
8709
|
+
inhoud_md?: string;
|
|
8710
|
+
is_actueel?: boolean;
|
|
8711
|
+
module_id?: string;
|
|
8712
|
+
module_titel?: string;
|
|
8713
|
+
ontbrekende_contracten?: string[];
|
|
8714
|
+
samenvatting?: string | null;
|
|
8715
|
+
updated_at?: string;
|
|
8716
|
+
versie?: number;
|
|
8717
|
+
};
|
|
8718
|
+
Relationships: [];
|
|
8719
|
+
};
|
|
8720
|
+
itk_module_instructies: {
|
|
8721
|
+
Row: {
|
|
8722
|
+
created_at: string;
|
|
8723
|
+
eigenaar_module_id: string;
|
|
8724
|
+
gepubliceerd_door: string | null;
|
|
8725
|
+
gepubliceerd_op: string;
|
|
8726
|
+
id: string;
|
|
8727
|
+
inhoud_md: string;
|
|
8728
|
+
is_actueel: boolean;
|
|
8729
|
+
sleutel: string;
|
|
8730
|
+
titel: string;
|
|
8731
|
+
toelichting: string | null;
|
|
8732
|
+
updated_at: string;
|
|
8733
|
+
versie: number;
|
|
8734
|
+
};
|
|
8735
|
+
Insert: {
|
|
8736
|
+
created_at?: string;
|
|
8737
|
+
eigenaar_module_id?: string;
|
|
8738
|
+
gepubliceerd_door?: string | null;
|
|
8739
|
+
gepubliceerd_op?: string;
|
|
8740
|
+
id?: string;
|
|
8741
|
+
inhoud_md: string;
|
|
8742
|
+
is_actueel?: boolean;
|
|
8743
|
+
sleutel: string;
|
|
8744
|
+
titel: string;
|
|
8745
|
+
toelichting?: string | null;
|
|
8746
|
+
updated_at?: string;
|
|
8747
|
+
versie?: number;
|
|
8748
|
+
};
|
|
8749
|
+
Update: {
|
|
8750
|
+
created_at?: string;
|
|
8751
|
+
eigenaar_module_id?: string;
|
|
8752
|
+
gepubliceerd_door?: string | null;
|
|
8753
|
+
gepubliceerd_op?: string;
|
|
8754
|
+
id?: string;
|
|
8755
|
+
inhoud_md?: string;
|
|
8756
|
+
is_actueel?: boolean;
|
|
8757
|
+
sleutel?: string;
|
|
8758
|
+
titel?: string;
|
|
8759
|
+
toelichting?: string | null;
|
|
8760
|
+
updated_at?: string;
|
|
8761
|
+
versie?: number;
|
|
8762
|
+
};
|
|
8763
|
+
Relationships: [];
|
|
8764
|
+
};
|
|
8765
|
+
itk_offerte_events: {
|
|
8766
|
+
Row: {
|
|
8767
|
+
created_at: string;
|
|
8768
|
+
event_type: string;
|
|
8769
|
+
id: string;
|
|
8770
|
+
metadata: Json;
|
|
8771
|
+
offerte_id: string;
|
|
8772
|
+
omschrijving: string | null;
|
|
8773
|
+
user_id: string | null;
|
|
8774
|
+
};
|
|
8775
|
+
Insert: {
|
|
8776
|
+
created_at?: string;
|
|
8777
|
+
event_type: string;
|
|
8778
|
+
id?: string;
|
|
8779
|
+
metadata?: Json;
|
|
8780
|
+
offerte_id: string;
|
|
8781
|
+
omschrijving?: string | null;
|
|
8782
|
+
user_id?: string | null;
|
|
8783
|
+
};
|
|
8784
|
+
Update: {
|
|
8785
|
+
created_at?: string;
|
|
8786
|
+
event_type?: string;
|
|
8787
|
+
id?: string;
|
|
8788
|
+
metadata?: Json;
|
|
8789
|
+
offerte_id?: string;
|
|
8790
|
+
omschrijving?: string | null;
|
|
8791
|
+
user_id?: string | null;
|
|
8792
|
+
};
|
|
8793
|
+
Relationships: [
|
|
8794
|
+
{
|
|
8795
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
8796
|
+
columns: ["offerte_id"];
|
|
8797
|
+
isOneToOne: false;
|
|
8798
|
+
referencedRelation: "itk_offertes";
|
|
8799
|
+
referencedColumns: ["id"];
|
|
8800
|
+
}
|
|
8801
|
+
];
|
|
8802
|
+
};
|
|
8803
|
+
itk_offerte_regels: {
|
|
8804
|
+
Row: {
|
|
8805
|
+
created_at: string;
|
|
8806
|
+
id: string;
|
|
8807
|
+
line_total_cents: number;
|
|
8808
|
+
offerte_id: string;
|
|
8809
|
+
omschrijving: string;
|
|
8810
|
+
package_id: string | null;
|
|
8811
|
+
quantity: number;
|
|
8812
|
+
sort_order: number;
|
|
8813
|
+
source: string;
|
|
8814
|
+
unit_price_cents: number;
|
|
8815
|
+
updated_at: string;
|
|
8816
|
+
};
|
|
8817
|
+
Insert: {
|
|
8818
|
+
created_at?: string;
|
|
8819
|
+
id?: string;
|
|
8820
|
+
line_total_cents?: number;
|
|
8821
|
+
offerte_id: string;
|
|
8822
|
+
omschrijving?: string;
|
|
8823
|
+
package_id?: string | null;
|
|
8824
|
+
quantity?: number;
|
|
8825
|
+
sort_order?: number;
|
|
8826
|
+
source?: string;
|
|
8827
|
+
unit_price_cents?: number;
|
|
8828
|
+
updated_at?: string;
|
|
8829
|
+
};
|
|
8830
|
+
Update: {
|
|
8831
|
+
created_at?: string;
|
|
8832
|
+
id?: string;
|
|
8833
|
+
line_total_cents?: number;
|
|
8834
|
+
offerte_id?: string;
|
|
8835
|
+
omschrijving?: string;
|
|
8836
|
+
package_id?: string | null;
|
|
8837
|
+
quantity?: number;
|
|
8838
|
+
sort_order?: number;
|
|
8839
|
+
source?: string;
|
|
8840
|
+
unit_price_cents?: number;
|
|
8841
|
+
updated_at?: string;
|
|
8842
|
+
};
|
|
8843
|
+
Relationships: [
|
|
8844
|
+
{
|
|
8845
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
8846
|
+
columns: ["offerte_id"];
|
|
8847
|
+
isOneToOne: false;
|
|
8848
|
+
referencedRelation: "itk_offertes";
|
|
8849
|
+
referencedColumns: ["id"];
|
|
8850
|
+
},
|
|
8851
|
+
{
|
|
8852
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
8853
|
+
columns: ["package_id"];
|
|
8854
|
+
isOneToOne: false;
|
|
8855
|
+
referencedRelation: "werkbon_packages";
|
|
8856
|
+
referencedColumns: ["id"];
|
|
8422
8857
|
}
|
|
8423
8858
|
];
|
|
8424
8859
|
};
|
|
@@ -9215,6 +9650,27 @@ export type Database = {
|
|
|
9215
9650
|
};
|
|
9216
9651
|
Relationships: [];
|
|
9217
9652
|
};
|
|
9653
|
+
logistics_cart_barcode: {
|
|
9654
|
+
Row: {
|
|
9655
|
+
barcode: string;
|
|
9656
|
+
cart_id: string;
|
|
9657
|
+
created_at: string;
|
|
9658
|
+
order_id: string | null;
|
|
9659
|
+
};
|
|
9660
|
+
Insert: {
|
|
9661
|
+
barcode: string;
|
|
9662
|
+
cart_id: string;
|
|
9663
|
+
created_at?: string;
|
|
9664
|
+
order_id?: string | null;
|
|
9665
|
+
};
|
|
9666
|
+
Update: {
|
|
9667
|
+
barcode?: string;
|
|
9668
|
+
cart_id?: string;
|
|
9669
|
+
created_at?: string;
|
|
9670
|
+
order_id?: string | null;
|
|
9671
|
+
};
|
|
9672
|
+
Relationships: [];
|
|
9673
|
+
};
|
|
9218
9674
|
logistics_decisions: {
|
|
9219
9675
|
Row: {
|
|
9220
9676
|
created_at: string;
|
|
@@ -10058,6 +10514,36 @@ export type Database = {
|
|
|
10058
10514
|
}
|
|
10059
10515
|
];
|
|
10060
10516
|
};
|
|
10517
|
+
logistics_shipping_note_scan: {
|
|
10518
|
+
Row: {
|
|
10519
|
+
barcode: string;
|
|
10520
|
+
cart_id: string;
|
|
10521
|
+
id: string;
|
|
10522
|
+
is_reprint: boolean;
|
|
10523
|
+
order_id: string | null;
|
|
10524
|
+
print_job_id: string | null;
|
|
10525
|
+
scanned_at: string;
|
|
10526
|
+
};
|
|
10527
|
+
Insert: {
|
|
10528
|
+
barcode: string;
|
|
10529
|
+
cart_id: string;
|
|
10530
|
+
id?: string;
|
|
10531
|
+
is_reprint?: boolean;
|
|
10532
|
+
order_id?: string | null;
|
|
10533
|
+
print_job_id?: string | null;
|
|
10534
|
+
scanned_at?: string;
|
|
10535
|
+
};
|
|
10536
|
+
Update: {
|
|
10537
|
+
barcode?: string;
|
|
10538
|
+
cart_id?: string;
|
|
10539
|
+
id?: string;
|
|
10540
|
+
is_reprint?: boolean;
|
|
10541
|
+
order_id?: string | null;
|
|
10542
|
+
print_job_id?: string | null;
|
|
10543
|
+
scanned_at?: string;
|
|
10544
|
+
};
|
|
10545
|
+
Relationships: [];
|
|
10546
|
+
};
|
|
10061
10547
|
logistics_staff_planning: {
|
|
10062
10548
|
Row: {
|
|
10063
10549
|
created_at: string;
|
|
@@ -12957,6 +13443,7 @@ export type Database = {
|
|
|
12957
13443
|
print_job_id: string | null;
|
|
12958
13444
|
printed_at: string | null;
|
|
12959
13445
|
printed_by: string | null;
|
|
13446
|
+
printed_cart_ids: Json;
|
|
12960
13447
|
printer_id: string | null;
|
|
12961
13448
|
priority: number;
|
|
12962
13449
|
reference: string | null;
|
|
@@ -12991,6 +13478,7 @@ export type Database = {
|
|
|
12991
13478
|
print_job_id?: string | null;
|
|
12992
13479
|
printed_at?: string | null;
|
|
12993
13480
|
printed_by?: string | null;
|
|
13481
|
+
printed_cart_ids?: Json;
|
|
12994
13482
|
printer_id?: string | null;
|
|
12995
13483
|
priority?: number;
|
|
12996
13484
|
reference?: string | null;
|
|
@@ -13025,6 +13513,7 @@ export type Database = {
|
|
|
13025
13513
|
print_job_id?: string | null;
|
|
13026
13514
|
printed_at?: string | null;
|
|
13027
13515
|
printed_by?: string | null;
|
|
13516
|
+
printed_cart_ids?: Json;
|
|
13028
13517
|
printer_id?: string | null;
|
|
13029
13518
|
priority?: number;
|
|
13030
13519
|
reference?: string | null;
|
|
@@ -13858,6 +14347,13 @@ export type Database = {
|
|
|
13858
14347
|
isOneToOne: false;
|
|
13859
14348
|
referencedRelation: "planning_items";
|
|
13860
14349
|
referencedColumns: ["id"];
|
|
14350
|
+
},
|
|
14351
|
+
{
|
|
14352
|
+
foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
|
|
14353
|
+
columns: ["planning_item_id"];
|
|
14354
|
+
isOneToOne: false;
|
|
14355
|
+
referencedRelation: "planning_overview";
|
|
14356
|
+
referencedColumns: ["id"];
|
|
13861
14357
|
}
|
|
13862
14358
|
];
|
|
13863
14359
|
};
|
|
@@ -14041,6 +14537,9 @@ export type Database = {
|
|
|
14041
14537
|
is_herprint: boolean;
|
|
14042
14538
|
kopieen: number;
|
|
14043
14539
|
layout_id: string | null;
|
|
14540
|
+
lokaal_opgeslagen_op: string | null;
|
|
14541
|
+
lokale_pdf_fout: string | null;
|
|
14542
|
+
lokale_pdf_status: string | null;
|
|
14044
14543
|
opgepakt_op: string | null;
|
|
14045
14544
|
paginas: number;
|
|
14046
14545
|
payload: Json;
|
|
@@ -14049,6 +14548,7 @@ export type Database = {
|
|
|
14049
14548
|
pogingen: number;
|
|
14050
14549
|
printer_id: string | null;
|
|
14051
14550
|
render_html: string | null;
|
|
14551
|
+
resultaat_pdf_base64: string | null;
|
|
14052
14552
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
14053
14553
|
updated_at: string;
|
|
14054
14554
|
volgende_poging: string | null;
|
|
@@ -14073,6 +14573,9 @@ export type Database = {
|
|
|
14073
14573
|
is_herprint?: boolean;
|
|
14074
14574
|
kopieen?: number;
|
|
14075
14575
|
layout_id?: string | null;
|
|
14576
|
+
lokaal_opgeslagen_op?: string | null;
|
|
14577
|
+
lokale_pdf_fout?: string | null;
|
|
14578
|
+
lokale_pdf_status?: string | null;
|
|
14076
14579
|
opgepakt_op?: string | null;
|
|
14077
14580
|
paginas?: number;
|
|
14078
14581
|
payload?: Json;
|
|
@@ -14081,6 +14584,7 @@ export type Database = {
|
|
|
14081
14584
|
pogingen?: number;
|
|
14082
14585
|
printer_id?: string | null;
|
|
14083
14586
|
render_html?: string | null;
|
|
14587
|
+
resultaat_pdf_base64?: string | null;
|
|
14084
14588
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
14085
14589
|
updated_at?: string;
|
|
14086
14590
|
volgende_poging?: string | null;
|
|
@@ -14105,6 +14609,9 @@ export type Database = {
|
|
|
14105
14609
|
is_herprint?: boolean;
|
|
14106
14610
|
kopieen?: number;
|
|
14107
14611
|
layout_id?: string | null;
|
|
14612
|
+
lokaal_opgeslagen_op?: string | null;
|
|
14613
|
+
lokale_pdf_fout?: string | null;
|
|
14614
|
+
lokale_pdf_status?: string | null;
|
|
14108
14615
|
opgepakt_op?: string | null;
|
|
14109
14616
|
paginas?: number;
|
|
14110
14617
|
payload?: Json;
|
|
@@ -14113,6 +14620,7 @@ export type Database = {
|
|
|
14113
14620
|
pogingen?: number;
|
|
14114
14621
|
printer_id?: string | null;
|
|
14115
14622
|
render_html?: string | null;
|
|
14623
|
+
resultaat_pdf_base64?: string | null;
|
|
14116
14624
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
14117
14625
|
updated_at?: string;
|
|
14118
14626
|
volgende_poging?: string | null;
|
|
@@ -14519,6 +15027,7 @@ export type Database = {
|
|
|
14519
15027
|
ondersteunde_laden: Json | null;
|
|
14520
15028
|
online: boolean;
|
|
14521
15029
|
papierformaat: string;
|
|
15030
|
+
pdf_map: string | null;
|
|
14522
15031
|
poort: number | null;
|
|
14523
15032
|
soort: Database["public"]["Enums"]["printer_kind"];
|
|
14524
15033
|
systeemnaam: string;
|
|
@@ -14544,6 +15053,7 @@ export type Database = {
|
|
|
14544
15053
|
ondersteunde_laden?: Json | null;
|
|
14545
15054
|
online?: boolean;
|
|
14546
15055
|
papierformaat?: string;
|
|
15056
|
+
pdf_map?: string | null;
|
|
14547
15057
|
poort?: number | null;
|
|
14548
15058
|
soort?: Database["public"]["Enums"]["printer_kind"];
|
|
14549
15059
|
systeemnaam?: string;
|
|
@@ -14569,6 +15079,7 @@ export type Database = {
|
|
|
14569
15079
|
ondersteunde_laden?: Json | null;
|
|
14570
15080
|
online?: boolean;
|
|
14571
15081
|
papierformaat?: string;
|
|
15082
|
+
pdf_map?: string | null;
|
|
14572
15083
|
poort?: number | null;
|
|
14573
15084
|
soort?: Database["public"]["Enums"]["printer_kind"];
|
|
14574
15085
|
systeemnaam?: string;
|
|
@@ -15478,559 +15989,99 @@ export type Database = {
|
|
|
15478
15989
|
}
|
|
15479
15990
|
];
|
|
15480
15991
|
};
|
|
15481
|
-
|
|
15992
|
+
reception_notifications: {
|
|
15482
15993
|
Row: {
|
|
15994
|
+
booking_id: string | null;
|
|
15483
15995
|
created_at: string;
|
|
15484
|
-
event_type: string;
|
|
15485
15996
|
id: string;
|
|
15486
|
-
|
|
15487
|
-
|
|
15488
|
-
|
|
15997
|
+
is_read: boolean;
|
|
15998
|
+
message: string;
|
|
15999
|
+
recipient_email: string | null;
|
|
16000
|
+
title: string;
|
|
16001
|
+
type: string;
|
|
15489
16002
|
};
|
|
15490
16003
|
Insert: {
|
|
16004
|
+
booking_id?: string | null;
|
|
15491
16005
|
created_at?: string;
|
|
15492
|
-
event_type: string;
|
|
15493
16006
|
id?: string;
|
|
15494
|
-
|
|
15495
|
-
|
|
15496
|
-
|
|
16007
|
+
is_read?: boolean;
|
|
16008
|
+
message: string;
|
|
16009
|
+
recipient_email?: string | null;
|
|
16010
|
+
title: string;
|
|
16011
|
+
type: string;
|
|
15497
16012
|
};
|
|
15498
16013
|
Update: {
|
|
16014
|
+
booking_id?: string | null;
|
|
15499
16015
|
created_at?: string;
|
|
15500
|
-
event_type?: string;
|
|
15501
16016
|
id?: string;
|
|
15502
|
-
|
|
15503
|
-
|
|
15504
|
-
|
|
16017
|
+
is_read?: boolean;
|
|
16018
|
+
message?: string;
|
|
16019
|
+
recipient_email?: string | null;
|
|
16020
|
+
title?: string;
|
|
16021
|
+
type?: string;
|
|
15505
16022
|
};
|
|
15506
16023
|
Relationships: [
|
|
15507
16024
|
{
|
|
15508
|
-
foreignKeyName: "
|
|
15509
|
-
columns: ["
|
|
16025
|
+
foreignKeyName: "reception_notifications_booking_id_fkey";
|
|
16026
|
+
columns: ["booking_id"];
|
|
15510
16027
|
isOneToOne: false;
|
|
15511
|
-
referencedRelation: "
|
|
16028
|
+
referencedRelation: "bookings";
|
|
15512
16029
|
referencedColumns: ["id"];
|
|
15513
16030
|
}
|
|
15514
16031
|
];
|
|
15515
16032
|
};
|
|
15516
|
-
|
|
16033
|
+
role_assignments: {
|
|
15517
16034
|
Row: {
|
|
15518
16035
|
created_at: string;
|
|
15519
|
-
file_name: string;
|
|
15520
|
-
file_size: number | null;
|
|
15521
|
-
file_url: string;
|
|
15522
16036
|
id: string;
|
|
15523
|
-
|
|
15524
|
-
|
|
16037
|
+
role_id: string;
|
|
16038
|
+
user_id: string;
|
|
15525
16039
|
};
|
|
15526
16040
|
Insert: {
|
|
15527
16041
|
created_at?: string;
|
|
15528
|
-
file_name: string;
|
|
15529
|
-
file_size?: number | null;
|
|
15530
|
-
file_url: string;
|
|
15531
16042
|
id?: string;
|
|
15532
|
-
|
|
15533
|
-
|
|
16043
|
+
role_id: string;
|
|
16044
|
+
user_id: string;
|
|
15534
16045
|
};
|
|
15535
16046
|
Update: {
|
|
15536
16047
|
created_at?: string;
|
|
15537
|
-
file_name?: string;
|
|
15538
|
-
file_size?: number | null;
|
|
15539
|
-
file_url?: string;
|
|
15540
16048
|
id?: string;
|
|
15541
|
-
|
|
15542
|
-
|
|
16049
|
+
role_id?: string;
|
|
16050
|
+
user_id?: string;
|
|
15543
16051
|
};
|
|
15544
16052
|
Relationships: [
|
|
15545
16053
|
{
|
|
15546
|
-
foreignKeyName: "
|
|
15547
|
-
columns: ["
|
|
16054
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
16055
|
+
columns: ["role_id"];
|
|
15548
16056
|
isOneToOne: false;
|
|
15549
|
-
referencedRelation: "
|
|
16057
|
+
referencedRelation: "roles";
|
|
15550
16058
|
referencedColumns: ["id"];
|
|
15551
16059
|
}
|
|
15552
16060
|
];
|
|
15553
16061
|
};
|
|
15554
|
-
|
|
16062
|
+
role_permissions: {
|
|
15555
16063
|
Row: {
|
|
15556
|
-
|
|
15557
|
-
|
|
16064
|
+
can_edit: boolean;
|
|
16065
|
+
can_view: boolean;
|
|
16066
|
+
feature_id: string;
|
|
15558
16067
|
id: string;
|
|
15559
|
-
|
|
15560
|
-
|
|
15561
|
-
|
|
16068
|
+
module_id: string;
|
|
16069
|
+
role_id: string;
|
|
16070
|
+
updated_at: string;
|
|
15562
16071
|
};
|
|
15563
16072
|
Insert: {
|
|
15564
|
-
|
|
15565
|
-
|
|
16073
|
+
can_edit?: boolean;
|
|
16074
|
+
can_view?: boolean;
|
|
16075
|
+
feature_id?: string;
|
|
15566
16076
|
id?: string;
|
|
15567
|
-
|
|
15568
|
-
|
|
15569
|
-
|
|
16077
|
+
module_id: string;
|
|
16078
|
+
role_id: string;
|
|
16079
|
+
updated_at?: string;
|
|
15570
16080
|
};
|
|
15571
16081
|
Update: {
|
|
15572
|
-
|
|
15573
|
-
|
|
15574
|
-
|
|
15575
|
-
label?: string;
|
|
15576
|
-
sort_order?: number;
|
|
15577
|
-
value?: string;
|
|
15578
|
-
};
|
|
15579
|
-
Relationships: [
|
|
15580
|
-
{
|
|
15581
|
-
foreignKeyName: "quote_field_options_field_id_fkey";
|
|
15582
|
-
columns: ["field_id"];
|
|
15583
|
-
isOneToOne: false;
|
|
15584
|
-
referencedRelation: "quote_field_settings";
|
|
15585
|
-
referencedColumns: ["id"];
|
|
15586
|
-
}
|
|
15587
|
-
];
|
|
15588
|
-
};
|
|
15589
|
-
quote_field_settings: {
|
|
15590
|
-
Row: {
|
|
15591
|
-
created_at: string;
|
|
15592
|
-
default_value: string | null;
|
|
15593
|
-
field_key: string;
|
|
15594
|
-
field_type: string;
|
|
15595
|
-
id: string;
|
|
15596
|
-
is_system: boolean;
|
|
15597
|
-
label: string;
|
|
15598
|
-
required: boolean;
|
|
15599
|
-
sort_order: number;
|
|
15600
|
-
updated_at: string;
|
|
15601
|
-
visible: boolean;
|
|
15602
|
-
};
|
|
15603
|
-
Insert: {
|
|
15604
|
-
created_at?: string;
|
|
15605
|
-
default_value?: string | null;
|
|
15606
|
-
field_key: string;
|
|
15607
|
-
field_type: string;
|
|
15608
|
-
id?: string;
|
|
15609
|
-
is_system?: boolean;
|
|
15610
|
-
label: string;
|
|
15611
|
-
required?: boolean;
|
|
15612
|
-
sort_order?: number;
|
|
15613
|
-
updated_at?: string;
|
|
15614
|
-
visible?: boolean;
|
|
15615
|
-
};
|
|
15616
|
-
Update: {
|
|
15617
|
-
created_at?: string;
|
|
15618
|
-
default_value?: string | null;
|
|
15619
|
-
field_key?: string;
|
|
15620
|
-
field_type?: string;
|
|
15621
|
-
id?: string;
|
|
15622
|
-
is_system?: boolean;
|
|
15623
|
-
label?: string;
|
|
15624
|
-
required?: boolean;
|
|
15625
|
-
sort_order?: number;
|
|
15626
|
-
updated_at?: string;
|
|
15627
|
-
visible?: boolean;
|
|
15628
|
-
};
|
|
15629
|
-
Relationships: [];
|
|
15630
|
-
};
|
|
15631
|
-
quote_items: {
|
|
15632
|
-
Row: {
|
|
15633
|
-
category: string | null;
|
|
15634
|
-
created_at: string;
|
|
15635
|
-
description: string;
|
|
15636
|
-
id: string;
|
|
15637
|
-
line_total: number;
|
|
15638
|
-
module_id: string | null;
|
|
15639
|
-
name: string | null;
|
|
15640
|
-
quantity: number;
|
|
15641
|
-
quote_id: string;
|
|
15642
|
-
sort_order: number;
|
|
15643
|
-
unit_price: number;
|
|
15644
|
-
};
|
|
15645
|
-
Insert: {
|
|
15646
|
-
category?: string | null;
|
|
15647
|
-
created_at?: string;
|
|
15648
|
-
description?: string;
|
|
15649
|
-
id?: string;
|
|
15650
|
-
line_total?: number;
|
|
15651
|
-
module_id?: string | null;
|
|
15652
|
-
name?: string | null;
|
|
15653
|
-
quantity?: number;
|
|
15654
|
-
quote_id: string;
|
|
15655
|
-
sort_order?: number;
|
|
15656
|
-
unit_price?: number;
|
|
15657
|
-
};
|
|
15658
|
-
Update: {
|
|
15659
|
-
category?: string | null;
|
|
15660
|
-
created_at?: string;
|
|
15661
|
-
description?: string;
|
|
15662
|
-
id?: string;
|
|
15663
|
-
line_total?: number;
|
|
15664
|
-
module_id?: string | null;
|
|
15665
|
-
name?: string | null;
|
|
15666
|
-
quantity?: number;
|
|
15667
|
-
quote_id?: string;
|
|
15668
|
-
sort_order?: number;
|
|
15669
|
-
unit_price?: number;
|
|
15670
|
-
};
|
|
15671
|
-
Relationships: [
|
|
15672
|
-
{
|
|
15673
|
-
foreignKeyName: "quote_items_module_id_fkey";
|
|
15674
|
-
columns: ["module_id"];
|
|
15675
|
-
isOneToOne: false;
|
|
15676
|
-
referencedRelation: "quote_modules";
|
|
15677
|
-
referencedColumns: ["id"];
|
|
15678
|
-
},
|
|
15679
|
-
{
|
|
15680
|
-
foreignKeyName: "quote_items_quote_id_fkey";
|
|
15681
|
-
columns: ["quote_id"];
|
|
15682
|
-
isOneToOne: false;
|
|
15683
|
-
referencedRelation: "quotes";
|
|
15684
|
-
referencedColumns: ["id"];
|
|
15685
|
-
}
|
|
15686
|
-
];
|
|
15687
|
-
};
|
|
15688
|
-
quote_modules: {
|
|
15689
|
-
Row: {
|
|
15690
|
-
category: string | null;
|
|
15691
|
-
created_at: string;
|
|
15692
|
-
description: string | null;
|
|
15693
|
-
id: string;
|
|
15694
|
-
is_active: boolean;
|
|
15695
|
-
name: string;
|
|
15696
|
-
price: number;
|
|
15697
|
-
sort_order: number;
|
|
15698
|
-
updated_at: string;
|
|
15699
|
-
};
|
|
15700
|
-
Insert: {
|
|
15701
|
-
category?: string | null;
|
|
15702
|
-
created_at?: string;
|
|
15703
|
-
description?: string | null;
|
|
15704
|
-
id?: string;
|
|
15705
|
-
is_active?: boolean;
|
|
15706
|
-
name: string;
|
|
15707
|
-
price?: number;
|
|
15708
|
-
sort_order?: number;
|
|
15709
|
-
updated_at?: string;
|
|
15710
|
-
};
|
|
15711
|
-
Update: {
|
|
15712
|
-
category?: string | null;
|
|
15713
|
-
created_at?: string;
|
|
15714
|
-
description?: string | null;
|
|
15715
|
-
id?: string;
|
|
15716
|
-
is_active?: boolean;
|
|
15717
|
-
name?: string;
|
|
15718
|
-
price?: number;
|
|
15719
|
-
sort_order?: number;
|
|
15720
|
-
updated_at?: string;
|
|
15721
|
-
};
|
|
15722
|
-
Relationships: [];
|
|
15723
|
-
};
|
|
15724
|
-
quote_templates: {
|
|
15725
|
-
Row: {
|
|
15726
|
-
created_at: string;
|
|
15727
|
-
description: string | null;
|
|
15728
|
-
field_values: Json;
|
|
15729
|
-
id: string;
|
|
15730
|
-
is_default: boolean;
|
|
15731
|
-
items: Json;
|
|
15732
|
-
name: string;
|
|
15733
|
-
updated_at: string;
|
|
15734
|
-
vat_rate: number;
|
|
15735
|
-
};
|
|
15736
|
-
Insert: {
|
|
15737
|
-
created_at?: string;
|
|
15738
|
-
description?: string | null;
|
|
15739
|
-
field_values?: Json;
|
|
15740
|
-
id?: string;
|
|
15741
|
-
is_default?: boolean;
|
|
15742
|
-
items?: Json;
|
|
15743
|
-
name: string;
|
|
15744
|
-
updated_at?: string;
|
|
15745
|
-
vat_rate?: number;
|
|
15746
|
-
};
|
|
15747
|
-
Update: {
|
|
15748
|
-
created_at?: string;
|
|
15749
|
-
description?: string | null;
|
|
15750
|
-
field_values?: Json;
|
|
15751
|
-
id?: string;
|
|
15752
|
-
is_default?: boolean;
|
|
15753
|
-
items?: Json;
|
|
15754
|
-
name?: string;
|
|
15755
|
-
updated_at?: string;
|
|
15756
|
-
vat_rate?: number;
|
|
15757
|
-
};
|
|
15758
|
-
Relationships: [];
|
|
15759
|
-
};
|
|
15760
|
-
quote_terms: {
|
|
15761
|
-
Row: {
|
|
15762
|
-
content: string | null;
|
|
15763
|
-
created_at: string;
|
|
15764
|
-
file_url: string | null;
|
|
15765
|
-
id: string;
|
|
15766
|
-
is_active: boolean;
|
|
15767
|
-
name: string;
|
|
15768
|
-
published_at: string | null;
|
|
15769
|
-
updated_at: string;
|
|
15770
|
-
version: string;
|
|
15771
|
-
};
|
|
15772
|
-
Insert: {
|
|
15773
|
-
content?: string | null;
|
|
15774
|
-
created_at?: string;
|
|
15775
|
-
file_url?: string | null;
|
|
15776
|
-
id?: string;
|
|
15777
|
-
is_active?: boolean;
|
|
15778
|
-
name: string;
|
|
15779
|
-
published_at?: string | null;
|
|
15780
|
-
updated_at?: string;
|
|
15781
|
-
version?: string;
|
|
15782
|
-
};
|
|
15783
|
-
Update: {
|
|
15784
|
-
content?: string | null;
|
|
15785
|
-
created_at?: string;
|
|
15786
|
-
file_url?: string | null;
|
|
15787
|
-
id?: string;
|
|
15788
|
-
is_active?: boolean;
|
|
15789
|
-
name?: string;
|
|
15790
|
-
published_at?: string | null;
|
|
15791
|
-
updated_at?: string;
|
|
15792
|
-
version?: string;
|
|
15793
|
-
};
|
|
15794
|
-
Relationships: [];
|
|
15795
|
-
};
|
|
15796
|
-
quotes: {
|
|
15797
|
-
Row: {
|
|
15798
|
-
accepted_at: string | null;
|
|
15799
|
-
archived_at: string | null;
|
|
15800
|
-
contact_id: string | null;
|
|
15801
|
-
created_at: string;
|
|
15802
|
-
customer_id: string | null;
|
|
15803
|
-
discount: number;
|
|
15804
|
-
expires_at: string | null;
|
|
15805
|
-
field_values: Json;
|
|
15806
|
-
id: string;
|
|
15807
|
-
notes: string | null;
|
|
15808
|
-
owner_id: string | null;
|
|
15809
|
-
personal_message: string | null;
|
|
15810
|
-
project_id: string | null;
|
|
15811
|
-
prospect_id: string | null;
|
|
15812
|
-
public_token: string;
|
|
15813
|
-
quote_number: string | null;
|
|
15814
|
-
recipient_email: string | null;
|
|
15815
|
-
recipient_name: string | null;
|
|
15816
|
-
rejected_at: string | null;
|
|
15817
|
-
sent_at: string | null;
|
|
15818
|
-
status: string;
|
|
15819
|
-
subtotal: number;
|
|
15820
|
-
template_id: string | null;
|
|
15821
|
-
terms_id: string | null;
|
|
15822
|
-
title: string;
|
|
15823
|
-
total: number;
|
|
15824
|
-
updated_at: string;
|
|
15825
|
-
valid_until: string | null;
|
|
15826
|
-
vat_amount: number;
|
|
15827
|
-
vat_rate: number;
|
|
15828
|
-
viewed_at: string | null;
|
|
15829
|
-
};
|
|
15830
|
-
Insert: {
|
|
15831
|
-
accepted_at?: string | null;
|
|
15832
|
-
archived_at?: string | null;
|
|
15833
|
-
contact_id?: string | null;
|
|
15834
|
-
created_at?: string;
|
|
15835
|
-
customer_id?: string | null;
|
|
15836
|
-
discount?: number;
|
|
15837
|
-
expires_at?: string | null;
|
|
15838
|
-
field_values?: Json;
|
|
15839
|
-
id?: string;
|
|
15840
|
-
notes?: string | null;
|
|
15841
|
-
owner_id?: string | null;
|
|
15842
|
-
personal_message?: string | null;
|
|
15843
|
-
project_id?: string | null;
|
|
15844
|
-
prospect_id?: string | null;
|
|
15845
|
-
public_token?: string;
|
|
15846
|
-
quote_number?: string | null;
|
|
15847
|
-
recipient_email?: string | null;
|
|
15848
|
-
recipient_name?: string | null;
|
|
15849
|
-
rejected_at?: string | null;
|
|
15850
|
-
sent_at?: string | null;
|
|
15851
|
-
status?: string;
|
|
15852
|
-
subtotal?: number;
|
|
15853
|
-
template_id?: string | null;
|
|
15854
|
-
terms_id?: string | null;
|
|
15855
|
-
title?: string;
|
|
15856
|
-
total?: number;
|
|
15857
|
-
updated_at?: string;
|
|
15858
|
-
valid_until?: string | null;
|
|
15859
|
-
vat_amount?: number;
|
|
15860
|
-
vat_rate?: number;
|
|
15861
|
-
viewed_at?: string | null;
|
|
15862
|
-
};
|
|
15863
|
-
Update: {
|
|
15864
|
-
accepted_at?: string | null;
|
|
15865
|
-
archived_at?: string | null;
|
|
15866
|
-
contact_id?: string | null;
|
|
15867
|
-
created_at?: string;
|
|
15868
|
-
customer_id?: string | null;
|
|
15869
|
-
discount?: number;
|
|
15870
|
-
expires_at?: string | null;
|
|
15871
|
-
field_values?: Json;
|
|
15872
|
-
id?: string;
|
|
15873
|
-
notes?: string | null;
|
|
15874
|
-
owner_id?: string | null;
|
|
15875
|
-
personal_message?: string | null;
|
|
15876
|
-
project_id?: string | null;
|
|
15877
|
-
prospect_id?: string | null;
|
|
15878
|
-
public_token?: string;
|
|
15879
|
-
quote_number?: string | null;
|
|
15880
|
-
recipient_email?: string | null;
|
|
15881
|
-
recipient_name?: string | null;
|
|
15882
|
-
rejected_at?: string | null;
|
|
15883
|
-
sent_at?: string | null;
|
|
15884
|
-
status?: string;
|
|
15885
|
-
subtotal?: number;
|
|
15886
|
-
template_id?: string | null;
|
|
15887
|
-
terms_id?: string | null;
|
|
15888
|
-
title?: string;
|
|
15889
|
-
total?: number;
|
|
15890
|
-
updated_at?: string;
|
|
15891
|
-
valid_until?: string | null;
|
|
15892
|
-
vat_amount?: number;
|
|
15893
|
-
vat_rate?: number;
|
|
15894
|
-
viewed_at?: string | null;
|
|
15895
|
-
};
|
|
15896
|
-
Relationships: [
|
|
15897
|
-
{
|
|
15898
|
-
foreignKeyName: "quotes_contact_id_fkey";
|
|
15899
|
-
columns: ["contact_id"];
|
|
15900
|
-
isOneToOne: false;
|
|
15901
|
-
referencedRelation: "customer_contacts";
|
|
15902
|
-
referencedColumns: ["id"];
|
|
15903
|
-
},
|
|
15904
|
-
{
|
|
15905
|
-
foreignKeyName: "quotes_customer_id_fkey";
|
|
15906
|
-
columns: ["customer_id"];
|
|
15907
|
-
isOneToOne: false;
|
|
15908
|
-
referencedRelation: "customers";
|
|
15909
|
-
referencedColumns: ["id"];
|
|
15910
|
-
},
|
|
15911
|
-
{
|
|
15912
|
-
foreignKeyName: "quotes_project_id_fkey";
|
|
15913
|
-
columns: ["project_id"];
|
|
15914
|
-
isOneToOne: false;
|
|
15915
|
-
referencedRelation: "projects";
|
|
15916
|
-
referencedColumns: ["id"];
|
|
15917
|
-
},
|
|
15918
|
-
{
|
|
15919
|
-
foreignKeyName: "quotes_prospect_id_fkey";
|
|
15920
|
-
columns: ["prospect_id"];
|
|
15921
|
-
isOneToOne: false;
|
|
15922
|
-
referencedRelation: "prospects";
|
|
15923
|
-
referencedColumns: ["id"];
|
|
15924
|
-
},
|
|
15925
|
-
{
|
|
15926
|
-
foreignKeyName: "quotes_template_id_fkey";
|
|
15927
|
-
columns: ["template_id"];
|
|
15928
|
-
isOneToOne: false;
|
|
15929
|
-
referencedRelation: "quote_templates";
|
|
15930
|
-
referencedColumns: ["id"];
|
|
15931
|
-
},
|
|
15932
|
-
{
|
|
15933
|
-
foreignKeyName: "quotes_terms_id_fkey";
|
|
15934
|
-
columns: ["terms_id"];
|
|
15935
|
-
isOneToOne: false;
|
|
15936
|
-
referencedRelation: "quote_terms";
|
|
15937
|
-
referencedColumns: ["id"];
|
|
15938
|
-
}
|
|
15939
|
-
];
|
|
15940
|
-
};
|
|
15941
|
-
reception_notifications: {
|
|
15942
|
-
Row: {
|
|
15943
|
-
booking_id: string | null;
|
|
15944
|
-
created_at: string;
|
|
15945
|
-
id: string;
|
|
15946
|
-
is_read: boolean;
|
|
15947
|
-
message: string;
|
|
15948
|
-
recipient_email: string | null;
|
|
15949
|
-
title: string;
|
|
15950
|
-
type: string;
|
|
15951
|
-
};
|
|
15952
|
-
Insert: {
|
|
15953
|
-
booking_id?: string | null;
|
|
15954
|
-
created_at?: string;
|
|
15955
|
-
id?: string;
|
|
15956
|
-
is_read?: boolean;
|
|
15957
|
-
message: string;
|
|
15958
|
-
recipient_email?: string | null;
|
|
15959
|
-
title: string;
|
|
15960
|
-
type: string;
|
|
15961
|
-
};
|
|
15962
|
-
Update: {
|
|
15963
|
-
booking_id?: string | null;
|
|
15964
|
-
created_at?: string;
|
|
15965
|
-
id?: string;
|
|
15966
|
-
is_read?: boolean;
|
|
15967
|
-
message?: string;
|
|
15968
|
-
recipient_email?: string | null;
|
|
15969
|
-
title?: string;
|
|
15970
|
-
type?: string;
|
|
15971
|
-
};
|
|
15972
|
-
Relationships: [
|
|
15973
|
-
{
|
|
15974
|
-
foreignKeyName: "reception_notifications_booking_id_fkey";
|
|
15975
|
-
columns: ["booking_id"];
|
|
15976
|
-
isOneToOne: false;
|
|
15977
|
-
referencedRelation: "bookings";
|
|
15978
|
-
referencedColumns: ["id"];
|
|
15979
|
-
}
|
|
15980
|
-
];
|
|
15981
|
-
};
|
|
15982
|
-
role_assignments: {
|
|
15983
|
-
Row: {
|
|
15984
|
-
created_at: string;
|
|
15985
|
-
id: string;
|
|
15986
|
-
role_id: string;
|
|
15987
|
-
user_id: string;
|
|
15988
|
-
};
|
|
15989
|
-
Insert: {
|
|
15990
|
-
created_at?: string;
|
|
15991
|
-
id?: string;
|
|
15992
|
-
role_id: string;
|
|
15993
|
-
user_id: string;
|
|
15994
|
-
};
|
|
15995
|
-
Update: {
|
|
15996
|
-
created_at?: string;
|
|
15997
|
-
id?: string;
|
|
15998
|
-
role_id?: string;
|
|
15999
|
-
user_id?: string;
|
|
16000
|
-
};
|
|
16001
|
-
Relationships: [
|
|
16002
|
-
{
|
|
16003
|
-
foreignKeyName: "role_assignments_role_id_fkey";
|
|
16004
|
-
columns: ["role_id"];
|
|
16005
|
-
isOneToOne: false;
|
|
16006
|
-
referencedRelation: "roles";
|
|
16007
|
-
referencedColumns: ["id"];
|
|
16008
|
-
}
|
|
16009
|
-
];
|
|
16010
|
-
};
|
|
16011
|
-
role_permissions: {
|
|
16012
|
-
Row: {
|
|
16013
|
-
can_edit: boolean;
|
|
16014
|
-
can_view: boolean;
|
|
16015
|
-
feature_id: string;
|
|
16016
|
-
id: string;
|
|
16017
|
-
module_id: string;
|
|
16018
|
-
role_id: string;
|
|
16019
|
-
updated_at: string;
|
|
16020
|
-
};
|
|
16021
|
-
Insert: {
|
|
16022
|
-
can_edit?: boolean;
|
|
16023
|
-
can_view?: boolean;
|
|
16024
|
-
feature_id?: string;
|
|
16025
|
-
id?: string;
|
|
16026
|
-
module_id: string;
|
|
16027
|
-
role_id: string;
|
|
16028
|
-
updated_at?: string;
|
|
16029
|
-
};
|
|
16030
|
-
Update: {
|
|
16031
|
-
can_edit?: boolean;
|
|
16032
|
-
can_view?: boolean;
|
|
16033
|
-
feature_id?: string;
|
|
16082
|
+
can_edit?: boolean;
|
|
16083
|
+
can_view?: boolean;
|
|
16084
|
+
feature_id?: string;
|
|
16034
16085
|
id?: string;
|
|
16035
16086
|
module_id?: string;
|
|
16036
16087
|
role_id?: string;
|
|
@@ -17084,7 +17135,7 @@ export type Database = {
|
|
|
17084
17135
|
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
17085
17136
|
columns: ["work_order_id"];
|
|
17086
17137
|
isOneToOne: false;
|
|
17087
|
-
referencedRelation: "
|
|
17138
|
+
referencedRelation: "werkbonnen";
|
|
17088
17139
|
referencedColumns: ["id"];
|
|
17089
17140
|
}
|
|
17090
17141
|
];
|
|
@@ -17219,6 +17270,7 @@ export type Database = {
|
|
|
17219
17270
|
};
|
|
17220
17271
|
trade_item_stock: {
|
|
17221
17272
|
Row: {
|
|
17273
|
+
change_source: string;
|
|
17222
17274
|
connection_id: string;
|
|
17223
17275
|
created_at: string;
|
|
17224
17276
|
id: string;
|
|
@@ -17232,6 +17284,7 @@ export type Database = {
|
|
|
17232
17284
|
user_id: string;
|
|
17233
17285
|
};
|
|
17234
17286
|
Insert: {
|
|
17287
|
+
change_source?: string;
|
|
17235
17288
|
connection_id: string;
|
|
17236
17289
|
created_at?: string;
|
|
17237
17290
|
id?: string;
|
|
@@ -17245,6 +17298,7 @@ export type Database = {
|
|
|
17245
17298
|
user_id: string;
|
|
17246
17299
|
};
|
|
17247
17300
|
Update: {
|
|
17301
|
+
change_source?: string;
|
|
17248
17302
|
connection_id?: string;
|
|
17249
17303
|
created_at?: string;
|
|
17250
17304
|
id?: string;
|
|
@@ -18359,235 +18413,80 @@ export type Database = {
|
|
|
18359
18413
|
note: string | null;
|
|
18360
18414
|
source: string;
|
|
18361
18415
|
travel_km: number;
|
|
18362
|
-
updated_at: string;
|
|
18363
|
-
werkbon_id: string | null;
|
|
18364
|
-
};
|
|
18365
|
-
Insert: {
|
|
18366
|
-
created_at?: string;
|
|
18367
|
-
created_by?: string | null;
|
|
18368
|
-
entry_date: string;
|
|
18369
|
-
hours?: number;
|
|
18370
|
-
id?: string;
|
|
18371
|
-
kind?: string;
|
|
18372
|
-
monteur_id: string;
|
|
18373
|
-
note?: string | null;
|
|
18374
|
-
source?: string;
|
|
18375
|
-
travel_km?: number;
|
|
18376
|
-
updated_at?: string;
|
|
18377
|
-
werkbon_id?: string | null;
|
|
18378
|
-
};
|
|
18379
|
-
Update: {
|
|
18380
|
-
created_at?: string;
|
|
18381
|
-
created_by?: string | null;
|
|
18382
|
-
entry_date?: string;
|
|
18383
|
-
hours?: number;
|
|
18384
|
-
id?: string;
|
|
18385
|
-
kind?: string;
|
|
18386
|
-
monteur_id?: string;
|
|
18387
|
-
note?: string | null;
|
|
18388
|
-
source?: string;
|
|
18389
|
-
travel_km?: number;
|
|
18390
|
-
updated_at?: string;
|
|
18391
|
-
werkbon_id?: string | null;
|
|
18392
|
-
};
|
|
18393
|
-
Relationships: [
|
|
18394
|
-
{
|
|
18395
|
-
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
18396
|
-
columns: ["werkbon_id"];
|
|
18397
|
-
isOneToOne: false;
|
|
18398
|
-
referencedRelation: "werkbonnen";
|
|
18399
|
-
referencedColumns: ["id"];
|
|
18400
|
-
}
|
|
18401
|
-
];
|
|
18402
|
-
};
|
|
18403
|
-
uren_exports: {
|
|
18404
|
-
Row: {
|
|
18405
|
-
created_at: string;
|
|
18406
|
-
created_by: string | null;
|
|
18407
|
-
file_name: string | null;
|
|
18408
|
-
id: string;
|
|
18409
|
-
monteur_ids: string[];
|
|
18410
|
-
period_end: string;
|
|
18411
|
-
period_start: string;
|
|
18412
|
-
row_count: number;
|
|
18413
|
-
};
|
|
18414
|
-
Insert: {
|
|
18415
|
-
created_at?: string;
|
|
18416
|
-
created_by?: string | null;
|
|
18417
|
-
file_name?: string | null;
|
|
18418
|
-
id?: string;
|
|
18419
|
-
monteur_ids?: string[];
|
|
18420
|
-
period_end: string;
|
|
18421
|
-
period_start: string;
|
|
18422
|
-
row_count?: number;
|
|
18423
|
-
};
|
|
18424
|
-
Update: {
|
|
18425
|
-
created_at?: string;
|
|
18426
|
-
created_by?: string | null;
|
|
18427
|
-
file_name?: string | null;
|
|
18428
|
-
id?: string;
|
|
18429
|
-
monteur_ids?: string[];
|
|
18430
|
-
period_end?: string;
|
|
18431
|
-
period_start?: string;
|
|
18432
|
-
row_count?: number;
|
|
18433
|
-
};
|
|
18434
|
-
Relationships: [];
|
|
18435
|
-
};
|
|
18436
|
-
uren_offerte_regels: {
|
|
18437
|
-
Row: {
|
|
18438
|
-
created_at: string;
|
|
18439
|
-
description: string;
|
|
18440
|
-
duration_minutes: number;
|
|
18441
|
-
id: string;
|
|
18442
|
-
offerte_id: string;
|
|
18443
|
-
package_id: string | null;
|
|
18444
|
-
quantity: number;
|
|
18445
|
-
sort_order: number;
|
|
18446
|
-
total_cents: number;
|
|
18447
|
-
unit_price_cents: number;
|
|
18448
|
-
};
|
|
18449
|
-
Insert: {
|
|
18450
|
-
created_at?: string;
|
|
18451
|
-
description: string;
|
|
18452
|
-
duration_minutes?: number;
|
|
18453
|
-
id?: string;
|
|
18454
|
-
offerte_id: string;
|
|
18455
|
-
package_id?: string | null;
|
|
18456
|
-
quantity?: number;
|
|
18457
|
-
sort_order?: number;
|
|
18458
|
-
total_cents?: number;
|
|
18459
|
-
unit_price_cents?: number;
|
|
18460
|
-
};
|
|
18461
|
-
Update: {
|
|
18462
|
-
created_at?: string;
|
|
18463
|
-
description?: string;
|
|
18464
|
-
duration_minutes?: number;
|
|
18465
|
-
id?: string;
|
|
18466
|
-
offerte_id?: string;
|
|
18467
|
-
package_id?: string | null;
|
|
18468
|
-
quantity?: number;
|
|
18469
|
-
sort_order?: number;
|
|
18470
|
-
total_cents?: number;
|
|
18471
|
-
unit_price_cents?: number;
|
|
18472
|
-
};
|
|
18473
|
-
Relationships: [
|
|
18474
|
-
{
|
|
18475
|
-
foreignKeyName: "uren_offerte_regels_offerte_id_fkey";
|
|
18476
|
-
columns: ["offerte_id"];
|
|
18477
|
-
isOneToOne: false;
|
|
18478
|
-
referencedRelation: "uren_offertes";
|
|
18479
|
-
referencedColumns: ["id"];
|
|
18480
|
-
},
|
|
18481
|
-
{
|
|
18482
|
-
foreignKeyName: "uren_offerte_regels_package_id_fkey";
|
|
18483
|
-
columns: ["package_id"];
|
|
18484
|
-
isOneToOne: false;
|
|
18485
|
-
referencedRelation: "werkbon_packages";
|
|
18486
|
-
referencedColumns: ["id"];
|
|
18487
|
-
}
|
|
18488
|
-
];
|
|
18489
|
-
};
|
|
18490
|
-
uren_offerte_velden: {
|
|
18491
|
-
Row: {
|
|
18492
|
-
created_at: string;
|
|
18493
|
-
field_type: string;
|
|
18494
|
-
id: string;
|
|
18495
|
-
key: string;
|
|
18496
|
-
label: string;
|
|
18497
|
-
options: string[];
|
|
18498
|
-
required: boolean;
|
|
18499
|
-
sort_order: number;
|
|
18500
|
-
updated_at: string;
|
|
18501
|
-
};
|
|
18502
|
-
Insert: {
|
|
18503
|
-
created_at?: string;
|
|
18504
|
-
field_type?: string;
|
|
18505
|
-
id?: string;
|
|
18506
|
-
key: string;
|
|
18507
|
-
label: string;
|
|
18508
|
-
options?: string[];
|
|
18509
|
-
required?: boolean;
|
|
18510
|
-
sort_order?: number;
|
|
18511
|
-
updated_at?: string;
|
|
18512
|
-
};
|
|
18513
|
-
Update: {
|
|
18514
|
-
created_at?: string;
|
|
18515
|
-
field_type?: string;
|
|
18516
|
-
id?: string;
|
|
18517
|
-
key?: string;
|
|
18518
|
-
label?: string;
|
|
18519
|
-
options?: string[];
|
|
18520
|
-
required?: boolean;
|
|
18521
|
-
sort_order?: number;
|
|
18522
|
-
updated_at?: string;
|
|
18523
|
-
};
|
|
18524
|
-
Relationships: [];
|
|
18525
|
-
};
|
|
18526
|
-
uren_offertes: {
|
|
18527
|
-
Row: {
|
|
18528
|
-
created_at: string;
|
|
18529
|
-
created_by: string | null;
|
|
18530
|
-
customer_id: string | null;
|
|
18531
|
-
customer_name: string | null;
|
|
18532
|
-
dynamic_fields: Json;
|
|
18533
|
-
estimated_minutes: number;
|
|
18534
|
-
id: string;
|
|
18535
|
-
note: string | null;
|
|
18536
|
-
quote_number: string | null;
|
|
18537
|
-
status: string;
|
|
18538
|
-
title: string;
|
|
18539
|
-
total_excl_cents: number;
|
|
18540
|
-
total_incl_cents: number;
|
|
18541
|
-
updated_at: string;
|
|
18542
|
-
valid_until: string | null;
|
|
18543
|
-
vat_percentage: number;
|
|
18416
|
+
updated_at: string;
|
|
18417
|
+
werkbon_id: string | null;
|
|
18544
18418
|
};
|
|
18545
18419
|
Insert: {
|
|
18546
18420
|
created_at?: string;
|
|
18547
18421
|
created_by?: string | null;
|
|
18548
|
-
|
|
18549
|
-
|
|
18550
|
-
dynamic_fields?: Json;
|
|
18551
|
-
estimated_minutes?: number;
|
|
18422
|
+
entry_date: string;
|
|
18423
|
+
hours?: number;
|
|
18552
18424
|
id?: string;
|
|
18425
|
+
kind?: string;
|
|
18426
|
+
monteur_id: string;
|
|
18553
18427
|
note?: string | null;
|
|
18554
|
-
|
|
18555
|
-
|
|
18556
|
-
title?: string;
|
|
18557
|
-
total_excl_cents?: number;
|
|
18558
|
-
total_incl_cents?: number;
|
|
18428
|
+
source?: string;
|
|
18429
|
+
travel_km?: number;
|
|
18559
18430
|
updated_at?: string;
|
|
18560
|
-
|
|
18561
|
-
vat_percentage?: number;
|
|
18431
|
+
werkbon_id?: string | null;
|
|
18562
18432
|
};
|
|
18563
18433
|
Update: {
|
|
18564
18434
|
created_at?: string;
|
|
18565
18435
|
created_by?: string | null;
|
|
18566
|
-
|
|
18567
|
-
|
|
18568
|
-
dynamic_fields?: Json;
|
|
18569
|
-
estimated_minutes?: number;
|
|
18436
|
+
entry_date?: string;
|
|
18437
|
+
hours?: number;
|
|
18570
18438
|
id?: string;
|
|
18439
|
+
kind?: string;
|
|
18440
|
+
monteur_id?: string;
|
|
18571
18441
|
note?: string | null;
|
|
18572
|
-
|
|
18573
|
-
|
|
18574
|
-
title?: string;
|
|
18575
|
-
total_excl_cents?: number;
|
|
18576
|
-
total_incl_cents?: number;
|
|
18442
|
+
source?: string;
|
|
18443
|
+
travel_km?: number;
|
|
18577
18444
|
updated_at?: string;
|
|
18578
|
-
|
|
18579
|
-
vat_percentage?: number;
|
|
18445
|
+
werkbon_id?: string | null;
|
|
18580
18446
|
};
|
|
18581
18447
|
Relationships: [
|
|
18582
18448
|
{
|
|
18583
|
-
foreignKeyName: "
|
|
18584
|
-
columns: ["
|
|
18449
|
+
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
18450
|
+
columns: ["werkbon_id"];
|
|
18585
18451
|
isOneToOne: false;
|
|
18586
|
-
referencedRelation: "
|
|
18452
|
+
referencedRelation: "werkbonnen";
|
|
18587
18453
|
referencedColumns: ["id"];
|
|
18588
18454
|
}
|
|
18589
18455
|
];
|
|
18590
18456
|
};
|
|
18457
|
+
uren_exports: {
|
|
18458
|
+
Row: {
|
|
18459
|
+
created_at: string;
|
|
18460
|
+
created_by: string | null;
|
|
18461
|
+
file_name: string | null;
|
|
18462
|
+
id: string;
|
|
18463
|
+
monteur_ids: string[];
|
|
18464
|
+
period_end: string;
|
|
18465
|
+
period_start: string;
|
|
18466
|
+
row_count: number;
|
|
18467
|
+
};
|
|
18468
|
+
Insert: {
|
|
18469
|
+
created_at?: string;
|
|
18470
|
+
created_by?: string | null;
|
|
18471
|
+
file_name?: string | null;
|
|
18472
|
+
id?: string;
|
|
18473
|
+
monteur_ids?: string[];
|
|
18474
|
+
period_end: string;
|
|
18475
|
+
period_start: string;
|
|
18476
|
+
row_count?: number;
|
|
18477
|
+
};
|
|
18478
|
+
Update: {
|
|
18479
|
+
created_at?: string;
|
|
18480
|
+
created_by?: string | null;
|
|
18481
|
+
file_name?: string | null;
|
|
18482
|
+
id?: string;
|
|
18483
|
+
monteur_ids?: string[];
|
|
18484
|
+
period_end?: string;
|
|
18485
|
+
period_start?: string;
|
|
18486
|
+
row_count?: number;
|
|
18487
|
+
};
|
|
18488
|
+
Relationships: [];
|
|
18489
|
+
};
|
|
18591
18490
|
uren_settings: {
|
|
18592
18491
|
Row: {
|
|
18593
18492
|
break_minutes: number;
|
|
@@ -20311,6 +20210,39 @@ export type Database = {
|
|
|
20311
20210
|
};
|
|
20312
20211
|
Relationships: [];
|
|
20313
20212
|
};
|
|
20213
|
+
planning_overview: {
|
|
20214
|
+
Row: {
|
|
20215
|
+
assigned_monteur_id: string | null;
|
|
20216
|
+
assistants: Json | null;
|
|
20217
|
+
budget_mandate_cents: number | null;
|
|
20218
|
+
created_at: string | null;
|
|
20219
|
+
created_by: string | null;
|
|
20220
|
+
customer_id: string | null;
|
|
20221
|
+
customer_name: string | null;
|
|
20222
|
+
duration_minutes: number | null;
|
|
20223
|
+
end_at: string | null;
|
|
20224
|
+
id: string | null;
|
|
20225
|
+
needs_detail_review: boolean | null;
|
|
20226
|
+
notes: string | null;
|
|
20227
|
+
project_number: string | null;
|
|
20228
|
+
review_reasons: string[] | null;
|
|
20229
|
+
start_at: string | null;
|
|
20230
|
+
status: Database["public"]["Enums"]["planning_item_status"] | null;
|
|
20231
|
+
updated_at: string | null;
|
|
20232
|
+
viewer_role: string | null;
|
|
20233
|
+
werkbon_id: string | null;
|
|
20234
|
+
work_address: string | null;
|
|
20235
|
+
};
|
|
20236
|
+
Relationships: [
|
|
20237
|
+
{
|
|
20238
|
+
foreignKeyName: "planning_items_werkbon_id_fkey";
|
|
20239
|
+
columns: ["werkbon_id"];
|
|
20240
|
+
isOneToOne: false;
|
|
20241
|
+
referencedRelation: "werkbonnen";
|
|
20242
|
+
referencedColumns: ["id"];
|
|
20243
|
+
}
|
|
20244
|
+
];
|
|
20245
|
+
};
|
|
20314
20246
|
product_group_stock_view: {
|
|
20315
20247
|
Row: {
|
|
20316
20248
|
item_count: number | null;
|
|
@@ -20925,6 +20857,18 @@ export type Database = {
|
|
|
20925
20857
|
Args: never;
|
|
20926
20858
|
Returns: number;
|
|
20927
20859
|
};
|
|
20860
|
+
calculate_floriday_desired_stock: {
|
|
20861
|
+
Args: {
|
|
20862
|
+
p_connection_id: string;
|
|
20863
|
+
p_product_id: string;
|
|
20864
|
+
};
|
|
20865
|
+
Returns: {
|
|
20866
|
+
desired_availability: boolean;
|
|
20867
|
+
desired_quantity: number;
|
|
20868
|
+
erp_available: number;
|
|
20869
|
+
stock_mode: string;
|
|
20870
|
+
}[];
|
|
20871
|
+
};
|
|
20928
20872
|
calculate_layer_stock: {
|
|
20929
20873
|
Args: {
|
|
20930
20874
|
p_product_id: string;
|
|
@@ -20986,6 +20930,9 @@ export type Database = {
|
|
|
20986
20930
|
is_herprint: boolean;
|
|
20987
20931
|
kopieen: number;
|
|
20988
20932
|
layout_id: string | null;
|
|
20933
|
+
lokaal_opgeslagen_op: string | null;
|
|
20934
|
+
lokale_pdf_fout: string | null;
|
|
20935
|
+
lokale_pdf_status: string | null;
|
|
20989
20936
|
opgepakt_op: string | null;
|
|
20990
20937
|
paginas: number;
|
|
20991
20938
|
payload: Json;
|
|
@@ -20994,6 +20941,7 @@ export type Database = {
|
|
|
20994
20941
|
pogingen: number;
|
|
20995
20942
|
printer_id: string | null;
|
|
20996
20943
|
render_html: string | null;
|
|
20944
|
+
resultaat_pdf_base64: string | null;
|
|
20997
20945
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
20998
20946
|
updated_at: string;
|
|
20999
20947
|
volgende_poging: string | null;
|
|
@@ -21015,6 +20963,7 @@ export type Database = {
|
|
|
21015
20963
|
attempts: number;
|
|
21016
20964
|
connection_id: string;
|
|
21017
20965
|
created_at: string;
|
|
20966
|
+
dead_lettered_at: string | null;
|
|
21018
20967
|
desired_available: boolean | null;
|
|
21019
20968
|
gateway_attempt_id: string | null;
|
|
21020
20969
|
id: string;
|
|
@@ -21023,9 +20972,13 @@ export type Database = {
|
|
|
21023
20972
|
locked_by: string | null;
|
|
21024
20973
|
next_attempt_at: string;
|
|
21025
20974
|
number_of_pieces: number;
|
|
20975
|
+
product_id: string | null;
|
|
21026
20976
|
sent_at: string | null;
|
|
21027
20977
|
status: string;
|
|
20978
|
+
stock_mode: string | null;
|
|
21028
20979
|
superseded_by: string | null;
|
|
20980
|
+
target_week: number | null;
|
|
20981
|
+
target_year: number | null;
|
|
21029
20982
|
trade_item_id: string;
|
|
21030
20983
|
updated_at: string;
|
|
21031
20984
|
user_id: string;
|
|
@@ -21085,6 +21038,53 @@ export type Database = {
|
|
|
21085
21038
|
isSetofReturn: true;
|
|
21086
21039
|
};
|
|
21087
21040
|
};
|
|
21041
|
+
claim_pdf_print_jobs: {
|
|
21042
|
+
Args: {
|
|
21043
|
+
_max?: number;
|
|
21044
|
+
};
|
|
21045
|
+
Returns: {
|
|
21046
|
+
agent_id: string | null;
|
|
21047
|
+
bron_job_id: string | null;
|
|
21048
|
+
created_at: string;
|
|
21049
|
+
documentnaam: string;
|
|
21050
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
21051
|
+
extern_job_id: string | null;
|
|
21052
|
+
foutmelding: string | null;
|
|
21053
|
+
gebruiker_id: string | null;
|
|
21054
|
+
gebruiker_naam: string;
|
|
21055
|
+
gebruikte_bron: string | null;
|
|
21056
|
+
gebruikte_layout_id: string | null;
|
|
21057
|
+
gestart_op: string | null;
|
|
21058
|
+
herkomst: string | null;
|
|
21059
|
+
id: string;
|
|
21060
|
+
idempotentie_sleutel: string | null;
|
|
21061
|
+
is_herprint: boolean;
|
|
21062
|
+
kopieen: number;
|
|
21063
|
+
layout_id: string | null;
|
|
21064
|
+
lokaal_opgeslagen_op: string | null;
|
|
21065
|
+
lokale_pdf_fout: string | null;
|
|
21066
|
+
lokale_pdf_status: string | null;
|
|
21067
|
+
opgepakt_op: string | null;
|
|
21068
|
+
paginas: number;
|
|
21069
|
+
payload: Json;
|
|
21070
|
+
pdf_base64: string | null;
|
|
21071
|
+
pdf_url: string | null;
|
|
21072
|
+
pogingen: number;
|
|
21073
|
+
printer_id: string | null;
|
|
21074
|
+
render_html: string | null;
|
|
21075
|
+
resultaat_pdf_base64: string | null;
|
|
21076
|
+
status: Database["public"]["Enums"]["print_job_status"];
|
|
21077
|
+
updated_at: string;
|
|
21078
|
+
volgende_poging: string | null;
|
|
21079
|
+
voltooid_op: string | null;
|
|
21080
|
+
}[];
|
|
21081
|
+
SetofOptions: {
|
|
21082
|
+
from: "*";
|
|
21083
|
+
to: "print_jobs";
|
|
21084
|
+
isOneToOne: false;
|
|
21085
|
+
isSetofReturn: true;
|
|
21086
|
+
};
|
|
21087
|
+
};
|
|
21088
21088
|
claim_print_jobs: {
|
|
21089
21089
|
Args: {
|
|
21090
21090
|
_agent_id: string;
|
|
@@ -21109,6 +21109,9 @@ export type Database = {
|
|
|
21109
21109
|
is_herprint: boolean;
|
|
21110
21110
|
kopieen: number;
|
|
21111
21111
|
layout_id: string | null;
|
|
21112
|
+
lokaal_opgeslagen_op: string | null;
|
|
21113
|
+
lokale_pdf_fout: string | null;
|
|
21114
|
+
lokale_pdf_status: string | null;
|
|
21112
21115
|
opgepakt_op: string | null;
|
|
21113
21116
|
paginas: number;
|
|
21114
21117
|
payload: Json;
|
|
@@ -21117,6 +21120,7 @@ export type Database = {
|
|
|
21117
21120
|
pogingen: number;
|
|
21118
21121
|
printer_id: string | null;
|
|
21119
21122
|
render_html: string | null;
|
|
21123
|
+
resultaat_pdf_base64: string | null;
|
|
21120
21124
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
21121
21125
|
updated_at: string;
|
|
21122
21126
|
volgende_poging: string | null;
|
|
@@ -21257,6 +21261,8 @@ export type Database = {
|
|
|
21257
21261
|
order_id: string;
|
|
21258
21262
|
order_source: string;
|
|
21259
21263
|
pick_date: string;
|
|
21264
|
+
printed_at: string;
|
|
21265
|
+
printed_today: boolean;
|
|
21260
21266
|
status: string;
|
|
21261
21267
|
}[];
|
|
21262
21268
|
};
|
|
@@ -21453,6 +21459,24 @@ export type Database = {
|
|
|
21453
21459
|
};
|
|
21454
21460
|
Returns: string;
|
|
21455
21461
|
};
|
|
21462
|
+
floriday_capture_stock_snapshot: {
|
|
21463
|
+
Args: never;
|
|
21464
|
+
Returns: number;
|
|
21465
|
+
};
|
|
21466
|
+
floriday_cleanup_stock_queue_v2: {
|
|
21467
|
+
Args: never;
|
|
21468
|
+
Returns: undefined;
|
|
21469
|
+
};
|
|
21470
|
+
floriday_compact_stock_snapshots: {
|
|
21471
|
+
Args: never;
|
|
21472
|
+
Returns: undefined;
|
|
21473
|
+
};
|
|
21474
|
+
floriday_default_owner: {
|
|
21475
|
+
Args: {
|
|
21476
|
+
p_connection_id: string;
|
|
21477
|
+
};
|
|
21478
|
+
Returns: string;
|
|
21479
|
+
};
|
|
21456
21480
|
floriday_effective_price: {
|
|
21457
21481
|
Args: {
|
|
21458
21482
|
_buyer_id: string;
|
|
@@ -21470,6 +21494,34 @@ export type Database = {
|
|
|
21470
21494
|
source_id: string;
|
|
21471
21495
|
}[];
|
|
21472
21496
|
};
|
|
21497
|
+
floriday_fill_publish_horizon: {
|
|
21498
|
+
Args: never;
|
|
21499
|
+
Returns: number;
|
|
21500
|
+
};
|
|
21501
|
+
floriday_ingest_sales_orders: {
|
|
21502
|
+
Args: {
|
|
21503
|
+
p_limit?: number;
|
|
21504
|
+
};
|
|
21505
|
+
Returns: number;
|
|
21506
|
+
};
|
|
21507
|
+
floriday_publish_horizon_weeks: {
|
|
21508
|
+
Args: never;
|
|
21509
|
+
Returns: number;
|
|
21510
|
+
};
|
|
21511
|
+
floriday_recompute_inventory: {
|
|
21512
|
+
Args: {
|
|
21513
|
+
p_connection_id: string;
|
|
21514
|
+
p_force?: boolean;
|
|
21515
|
+
p_product_id: string;
|
|
21516
|
+
};
|
|
21517
|
+
Returns: undefined;
|
|
21518
|
+
};
|
|
21519
|
+
floriday_requeue_dead_letters: {
|
|
21520
|
+
Args: {
|
|
21521
|
+
p_connection_id?: string;
|
|
21522
|
+
};
|
|
21523
|
+
Returns: number;
|
|
21524
|
+
};
|
|
21473
21525
|
format_cart_number: {
|
|
21474
21526
|
Args: {
|
|
21475
21527
|
p_pick_date: string;
|
|
@@ -21686,6 +21738,131 @@ export type Database = {
|
|
|
21686
21738
|
Args: never;
|
|
21687
21739
|
Returns: string;
|
|
21688
21740
|
};
|
|
21741
|
+
handover_get: {
|
|
21742
|
+
Args: {
|
|
21743
|
+
_module_id: string;
|
|
21744
|
+
};
|
|
21745
|
+
Returns: Json;
|
|
21746
|
+
};
|
|
21747
|
+
handover_kern_naam: {
|
|
21748
|
+
Args: {
|
|
21749
|
+
_naam: string;
|
|
21750
|
+
};
|
|
21751
|
+
Returns: string;
|
|
21752
|
+
};
|
|
21753
|
+
handover_ketenmodel: {
|
|
21754
|
+
Args: never;
|
|
21755
|
+
Returns: Json;
|
|
21756
|
+
};
|
|
21757
|
+
handover_kruisconflicten: {
|
|
21758
|
+
Args: never;
|
|
21759
|
+
Returns: Json;
|
|
21760
|
+
};
|
|
21761
|
+
handover_list: {
|
|
21762
|
+
Args: never;
|
|
21763
|
+
Returns: Json;
|
|
21764
|
+
};
|
|
21765
|
+
handover_mag_schrijven: {
|
|
21766
|
+
Args: {
|
|
21767
|
+
_module_id: string;
|
|
21768
|
+
};
|
|
21769
|
+
Returns: boolean;
|
|
21770
|
+
};
|
|
21771
|
+
handover_norm_naam: {
|
|
21772
|
+
Args: {
|
|
21773
|
+
_naam: string;
|
|
21774
|
+
};
|
|
21775
|
+
Returns: string;
|
|
21776
|
+
};
|
|
21777
|
+
handover_publish: {
|
|
21778
|
+
Args: {
|
|
21779
|
+
_bevindingen?: string;
|
|
21780
|
+
_bezit_tabellen?: string[];
|
|
21781
|
+
_conflicten_snapshot?: Json;
|
|
21782
|
+
_contractfuncties?: string[];
|
|
21783
|
+
_inhoud_md: string;
|
|
21784
|
+
_module_id: string;
|
|
21785
|
+
_module_titel: string;
|
|
21786
|
+
_ontbrekende_contracten?: string[];
|
|
21787
|
+
_samenvatting?: string;
|
|
21788
|
+
};
|
|
21789
|
+
Returns: number;
|
|
21790
|
+
};
|
|
21791
|
+
handover_publish_via_token: {
|
|
21792
|
+
Args: {
|
|
21793
|
+
_bevindingen?: string;
|
|
21794
|
+
_bezit_tabellen?: string[];
|
|
21795
|
+
_conflicten_snapshot?: Json;
|
|
21796
|
+
_contractfuncties?: string[];
|
|
21797
|
+
_inhoud_md: string;
|
|
21798
|
+
_module_id: string;
|
|
21799
|
+
_module_titel: string;
|
|
21800
|
+
_ontbrekende_contracten?: string[];
|
|
21801
|
+
_samenvatting?: string;
|
|
21802
|
+
_token_hash: string;
|
|
21803
|
+
};
|
|
21804
|
+
Returns: number;
|
|
21805
|
+
};
|
|
21806
|
+
handover_status: {
|
|
21807
|
+
Args: never;
|
|
21808
|
+
Returns: Json;
|
|
21809
|
+
};
|
|
21810
|
+
handover_synonym_kern: {
|
|
21811
|
+
Args: {
|
|
21812
|
+
_naam: string;
|
|
21813
|
+
};
|
|
21814
|
+
Returns: string;
|
|
21815
|
+
};
|
|
21816
|
+
handover_token_intrekken: {
|
|
21817
|
+
Args: {
|
|
21818
|
+
_id: string;
|
|
21819
|
+
};
|
|
21820
|
+
Returns: boolean;
|
|
21821
|
+
};
|
|
21822
|
+
handover_token_lijst: {
|
|
21823
|
+
Args: never;
|
|
21824
|
+
Returns: Json;
|
|
21825
|
+
};
|
|
21826
|
+
handover_token_maken: {
|
|
21827
|
+
Args: {
|
|
21828
|
+
_label?: string;
|
|
21829
|
+
_module_id: string;
|
|
21830
|
+
};
|
|
21831
|
+
Returns: string;
|
|
21832
|
+
};
|
|
21833
|
+
handover_update: {
|
|
21834
|
+
Args: {
|
|
21835
|
+
_bezit_tabellen?: string[];
|
|
21836
|
+
_contractfuncties?: string[];
|
|
21837
|
+
_herzieningstermijn_dagen?: number;
|
|
21838
|
+
_inhoud_md?: string;
|
|
21839
|
+
_module_id: string;
|
|
21840
|
+
_module_titel?: string;
|
|
21841
|
+
_samenvatting?: string;
|
|
21842
|
+
_versie: number;
|
|
21843
|
+
};
|
|
21844
|
+
Returns: boolean;
|
|
21845
|
+
} | {
|
|
21846
|
+
Args: {
|
|
21847
|
+
_bevindingen?: string;
|
|
21848
|
+
_bezit_tabellen?: string[];
|
|
21849
|
+
_contractfuncties?: string[];
|
|
21850
|
+
_herzieningstermijn_dagen?: number;
|
|
21851
|
+
_inhoud_md?: string;
|
|
21852
|
+
_module_id: string;
|
|
21853
|
+
_module_titel?: string;
|
|
21854
|
+
_ontbrekende_contracten?: string[];
|
|
21855
|
+
_samenvatting?: string;
|
|
21856
|
+
_versie: number;
|
|
21857
|
+
};
|
|
21858
|
+
Returns: boolean;
|
|
21859
|
+
};
|
|
21860
|
+
handover_versies: {
|
|
21861
|
+
Args: {
|
|
21862
|
+
_module_id: string;
|
|
21863
|
+
};
|
|
21864
|
+
Returns: Json;
|
|
21865
|
+
};
|
|
21689
21866
|
has_module_permission: {
|
|
21690
21867
|
Args: {
|
|
21691
21868
|
_min: string;
|
|
@@ -21705,6 +21882,25 @@ export type Database = {
|
|
|
21705
21882
|
Args: never;
|
|
21706
21883
|
Returns: boolean;
|
|
21707
21884
|
};
|
|
21885
|
+
instructie_get: {
|
|
21886
|
+
Args: {
|
|
21887
|
+
_sleutel: string;
|
|
21888
|
+
};
|
|
21889
|
+
Returns: Json;
|
|
21890
|
+
};
|
|
21891
|
+
instructie_list: {
|
|
21892
|
+
Args: never;
|
|
21893
|
+
Returns: Json;
|
|
21894
|
+
};
|
|
21895
|
+
instructie_publish: {
|
|
21896
|
+
Args: {
|
|
21897
|
+
_inhoud_md: string;
|
|
21898
|
+
_sleutel: string;
|
|
21899
|
+
_titel: string;
|
|
21900
|
+
_toelichting?: string;
|
|
21901
|
+
};
|
|
21902
|
+
Returns: number;
|
|
21903
|
+
};
|
|
21708
21904
|
invoice_create_from_source: {
|
|
21709
21905
|
Args: {
|
|
21710
21906
|
_payload?: Json;
|
|
@@ -21929,6 +22125,12 @@ export type Database = {
|
|
|
21929
22125
|
};
|
|
21930
22126
|
Returns: boolean;
|
|
21931
22127
|
};
|
|
22128
|
+
logistics_barcode_lookup: {
|
|
22129
|
+
Args: {
|
|
22130
|
+
p_barcode: string;
|
|
22131
|
+
};
|
|
22132
|
+
Returns: Json;
|
|
22133
|
+
};
|
|
21932
22134
|
logistics_buffer_criteria: {
|
|
21933
22135
|
Args: {
|
|
21934
22136
|
p_settings: Json;
|
|
@@ -21965,6 +22167,10 @@ export type Database = {
|
|
|
21965
22167
|
};
|
|
21966
22168
|
Returns: number;
|
|
21967
22169
|
};
|
|
22170
|
+
logistics_cancel_orphan_tasks: {
|
|
22171
|
+
Args: never;
|
|
22172
|
+
Returns: number;
|
|
22173
|
+
};
|
|
21968
22174
|
logistics_capacity_day_check: {
|
|
21969
22175
|
Args: {
|
|
21970
22176
|
p_from?: string;
|
|
@@ -21985,6 +22191,41 @@ export type Database = {
|
|
|
21985
22191
|
};
|
|
21986
22192
|
Returns: number;
|
|
21987
22193
|
};
|
|
22194
|
+
logistics_cart_barcode_value: {
|
|
22195
|
+
Args: {
|
|
22196
|
+
_cart_id: string;
|
|
22197
|
+
};
|
|
22198
|
+
Returns: string;
|
|
22199
|
+
};
|
|
22200
|
+
logistics_cart_index: {
|
|
22201
|
+
Args: {
|
|
22202
|
+
p_from?: string;
|
|
22203
|
+
p_to?: string;
|
|
22204
|
+
};
|
|
22205
|
+
Returns: {
|
|
22206
|
+
cart_id: string;
|
|
22207
|
+
cart_index: number;
|
|
22208
|
+
cart_label: string;
|
|
22209
|
+
delivery_date: string;
|
|
22210
|
+
is_announced: boolean;
|
|
22211
|
+
is_controlled: boolean;
|
|
22212
|
+
is_printed: boolean;
|
|
22213
|
+
is_shared: boolean;
|
|
22214
|
+
order_number: string;
|
|
22215
|
+
order_source: string;
|
|
22216
|
+
order_uuid: string;
|
|
22217
|
+
pick_date: string;
|
|
22218
|
+
printed_at: string;
|
|
22219
|
+
shifted: boolean;
|
|
22220
|
+
task_status: string;
|
|
22221
|
+
}[];
|
|
22222
|
+
};
|
|
22223
|
+
logistics_cart_slip_plan: {
|
|
22224
|
+
Args: {
|
|
22225
|
+
p_order_id: string;
|
|
22226
|
+
};
|
|
22227
|
+
Returns: Json;
|
|
22228
|
+
};
|
|
21988
22229
|
logistics_check_order_allowed: {
|
|
21989
22230
|
Args: {
|
|
21990
22231
|
p_lines: Json;
|
|
@@ -22133,6 +22374,21 @@ export type Database = {
|
|
|
22133
22374
|
isSetofReturn: false;
|
|
22134
22375
|
};
|
|
22135
22376
|
};
|
|
22377
|
+
logistics_consistency_check: {
|
|
22378
|
+
Args: never;
|
|
22379
|
+
Returns: {
|
|
22380
|
+
agenda_carts: number;
|
|
22381
|
+
announced_carts: number;
|
|
22382
|
+
control_carts: number;
|
|
22383
|
+
delivery_carts: number;
|
|
22384
|
+
ok: boolean;
|
|
22385
|
+
orphan_tasks: number;
|
|
22386
|
+
pick_date: string;
|
|
22387
|
+
raw_carts: number;
|
|
22388
|
+
sales_carts: number;
|
|
22389
|
+
station_carts: number;
|
|
22390
|
+
}[];
|
|
22391
|
+
};
|
|
22136
22392
|
logistics_delay_customer_email: {
|
|
22137
22393
|
Args: {
|
|
22138
22394
|
p_customer: string;
|
|
@@ -22146,12 +22402,35 @@ export type Database = {
|
|
|
22146
22402
|
subject: string;
|
|
22147
22403
|
}[];
|
|
22148
22404
|
};
|
|
22405
|
+
logistics_delivery_agenda: {
|
|
22406
|
+
Args: {
|
|
22407
|
+
p_from?: string;
|
|
22408
|
+
p_to?: string;
|
|
22409
|
+
};
|
|
22410
|
+
Returns: {
|
|
22411
|
+
announced_count: number;
|
|
22412
|
+
cart_count: number;
|
|
22413
|
+
controlled_count: number;
|
|
22414
|
+
delivery_date: string;
|
|
22415
|
+
order_count: number;
|
|
22416
|
+
orders: Json;
|
|
22417
|
+
plant_count: number;
|
|
22418
|
+
printed_count: number;
|
|
22419
|
+
}[];
|
|
22420
|
+
};
|
|
22149
22421
|
logistics_document_layout: {
|
|
22150
22422
|
Args: {
|
|
22151
22423
|
_document_code: string;
|
|
22152
22424
|
};
|
|
22153
22425
|
Returns: Json;
|
|
22154
22426
|
};
|
|
22427
|
+
logistics_document_layout_v2: {
|
|
22428
|
+
Args: {
|
|
22429
|
+
_document_code: string;
|
|
22430
|
+
_is_partial?: boolean;
|
|
22431
|
+
};
|
|
22432
|
+
Returns: Json;
|
|
22433
|
+
};
|
|
22155
22434
|
logistics_document_station: {
|
|
22156
22435
|
Args: {
|
|
22157
22436
|
_document_code: string;
|
|
@@ -22177,6 +22456,12 @@ export type Database = {
|
|
|
22177
22456
|
};
|
|
22178
22457
|
Returns: Json;
|
|
22179
22458
|
};
|
|
22459
|
+
logistics_ensure_cart_barcode: {
|
|
22460
|
+
Args: {
|
|
22461
|
+
_cart_id: string;
|
|
22462
|
+
};
|
|
22463
|
+
Returns: string;
|
|
22464
|
+
};
|
|
22180
22465
|
logistics_fail_task: {
|
|
22181
22466
|
Args: {
|
|
22182
22467
|
p_error: string;
|
|
@@ -22222,6 +22507,16 @@ export type Database = {
|
|
|
22222
22507
|
isSetofReturn: false;
|
|
22223
22508
|
};
|
|
22224
22509
|
};
|
|
22510
|
+
logistics_floriday_cart_plan: {
|
|
22511
|
+
Args: {
|
|
22512
|
+
p_order_id: string;
|
|
22513
|
+
};
|
|
22514
|
+
Returns: {
|
|
22515
|
+
carrier_type: string;
|
|
22516
|
+
idx: number;
|
|
22517
|
+
packages: number;
|
|
22518
|
+
}[];
|
|
22519
|
+
};
|
|
22225
22520
|
logistics_floriday_claim_pushes: {
|
|
22226
22521
|
Args: {
|
|
22227
22522
|
_lease_seconds?: number;
|
|
@@ -22326,6 +22621,25 @@ export type Database = {
|
|
|
22326
22621
|
};
|
|
22327
22622
|
Returns: number;
|
|
22328
22623
|
};
|
|
22624
|
+
logistics_order_overview: {
|
|
22625
|
+
Args: {
|
|
22626
|
+
p_from?: string;
|
|
22627
|
+
p_to?: string;
|
|
22628
|
+
};
|
|
22629
|
+
Returns: {
|
|
22630
|
+
cart_count: number;
|
|
22631
|
+
customer_name: string;
|
|
22632
|
+
delivery_date: string;
|
|
22633
|
+
order_number: string;
|
|
22634
|
+
order_source: string;
|
|
22635
|
+
order_uuid: string;
|
|
22636
|
+
pick_date: string;
|
|
22637
|
+
plant_count: number;
|
|
22638
|
+
printed_at: string;
|
|
22639
|
+
shifted: boolean;
|
|
22640
|
+
status: string;
|
|
22641
|
+
}[];
|
|
22642
|
+
};
|
|
22329
22643
|
logistics_order_pick_day: {
|
|
22330
22644
|
Args: {
|
|
22331
22645
|
p_order_ref: string;
|
|
@@ -22338,6 +22652,22 @@ export type Database = {
|
|
|
22338
22652
|
};
|
|
22339
22653
|
Returns: string;
|
|
22340
22654
|
};
|
|
22655
|
+
logistics_pick_agenda: {
|
|
22656
|
+
Args: {
|
|
22657
|
+
p_from?: string;
|
|
22658
|
+
p_to?: string;
|
|
22659
|
+
};
|
|
22660
|
+
Returns: {
|
|
22661
|
+
cart_count: number;
|
|
22662
|
+
in_preparation: number;
|
|
22663
|
+
order_count: number;
|
|
22664
|
+
orders: Json;
|
|
22665
|
+
pick_date: string;
|
|
22666
|
+
plant_count: number;
|
|
22667
|
+
ready: number;
|
|
22668
|
+
shifted_count: number;
|
|
22669
|
+
}[];
|
|
22670
|
+
};
|
|
22341
22671
|
logistics_pick_email_purpose: {
|
|
22342
22672
|
Args: never;
|
|
22343
22673
|
Returns: string;
|
|
@@ -22392,6 +22722,13 @@ export type Database = {
|
|
|
22392
22722
|
};
|
|
22393
22723
|
Returns: undefined;
|
|
22394
22724
|
};
|
|
22725
|
+
logistics_plan_floriday_order: {
|
|
22726
|
+
Args: {
|
|
22727
|
+
p_buffer_id?: string;
|
|
22728
|
+
p_order_id: string;
|
|
22729
|
+
};
|
|
22730
|
+
Returns: number;
|
|
22731
|
+
};
|
|
22395
22732
|
logistics_plan_impact_orders: {
|
|
22396
22733
|
Args: {
|
|
22397
22734
|
p_order_id: string;
|
|
@@ -22585,6 +22922,14 @@ export type Database = {
|
|
|
22585
22922
|
};
|
|
22586
22923
|
Returns: string;
|
|
22587
22924
|
};
|
|
22925
|
+
logistics_shipping_note_from_barcode: {
|
|
22926
|
+
Args: {
|
|
22927
|
+
p_allow_reprint?: boolean;
|
|
22928
|
+
p_barcode: string;
|
|
22929
|
+
p_station_id?: string;
|
|
22930
|
+
};
|
|
22931
|
+
Returns: Json;
|
|
22932
|
+
};
|
|
22588
22933
|
logistics_supersede_stale_tasks: {
|
|
22589
22934
|
Args: {
|
|
22590
22935
|
p_keep: string[];
|
|
@@ -22806,6 +23151,7 @@ export type Database = {
|
|
|
22806
23151
|
print_job_id: string | null;
|
|
22807
23152
|
printed_at: string | null;
|
|
22808
23153
|
printed_by: string | null;
|
|
23154
|
+
printed_cart_ids: Json;
|
|
22809
23155
|
printer_id: string | null;
|
|
22810
23156
|
priority: number;
|
|
22811
23157
|
reference: string | null;
|
|
@@ -22855,6 +23201,7 @@ export type Database = {
|
|
|
22855
23201
|
print_job_id: string | null;
|
|
22856
23202
|
printed_at: string | null;
|
|
22857
23203
|
printed_by: string | null;
|
|
23204
|
+
printed_cart_ids: Json;
|
|
22858
23205
|
printer_id: string | null;
|
|
22859
23206
|
priority: number;
|
|
22860
23207
|
reference: string | null;
|
|
@@ -22909,6 +23256,56 @@ export type Database = {
|
|
|
22909
23256
|
print_job_id: string | null;
|
|
22910
23257
|
printed_at: string | null;
|
|
22911
23258
|
printed_by: string | null;
|
|
23259
|
+
printed_cart_ids: Json;
|
|
23260
|
+
printer_id: string | null;
|
|
23261
|
+
priority: number;
|
|
23262
|
+
reference: string | null;
|
|
23263
|
+
route: string | null;
|
|
23264
|
+
screen_id: string | null;
|
|
23265
|
+
station_id: string | null;
|
|
23266
|
+
status_id: string | null;
|
|
23267
|
+
updated_at: string;
|
|
23268
|
+
warnings: Json;
|
|
23269
|
+
};
|
|
23270
|
+
SetofOptions: {
|
|
23271
|
+
from: "*";
|
|
23272
|
+
to: "pick_queue";
|
|
23273
|
+
isOneToOne: true;
|
|
23274
|
+
isSetofReturn: false;
|
|
23275
|
+
};
|
|
23276
|
+
};
|
|
23277
|
+
pick_complete_print_cart: {
|
|
23278
|
+
Args: {
|
|
23279
|
+
_cart_id: string;
|
|
23280
|
+
_printer_id: string;
|
|
23281
|
+
_queue_item_id: string;
|
|
23282
|
+
_session_id: string;
|
|
23283
|
+
};
|
|
23284
|
+
Returns: {
|
|
23285
|
+
announced_at: string;
|
|
23286
|
+
assigned_user_id: string | null;
|
|
23287
|
+
barcode: string | null;
|
|
23288
|
+
cancelled_at: string | null;
|
|
23289
|
+
cart_count: number;
|
|
23290
|
+
completed_at: string | null;
|
|
23291
|
+
country_code: string | null;
|
|
23292
|
+
created_at: string;
|
|
23293
|
+
customer_name: string | null;
|
|
23294
|
+
delivery_address: string | null;
|
|
23295
|
+
document_number: string | null;
|
|
23296
|
+
document_type_id: string | null;
|
|
23297
|
+
due_at: string | null;
|
|
23298
|
+
id: string;
|
|
23299
|
+
is_urgent: boolean;
|
|
23300
|
+
line_count: number;
|
|
23301
|
+
order_number: string | null;
|
|
23302
|
+
order_type: string | null;
|
|
23303
|
+
payload: Json;
|
|
23304
|
+
print_count: number;
|
|
23305
|
+
print_job_id: string | null;
|
|
23306
|
+
printed_at: string | null;
|
|
23307
|
+
printed_by: string | null;
|
|
23308
|
+
printed_cart_ids: Json;
|
|
22912
23309
|
printer_id: string | null;
|
|
22913
23310
|
priority: number;
|
|
22914
23311
|
reference: string | null;
|
|
@@ -22952,6 +23349,15 @@ export type Database = {
|
|
|
22952
23349
|
_session_id?: string;
|
|
22953
23350
|
};
|
|
22954
23351
|
Returns: string;
|
|
23352
|
+
} | {
|
|
23353
|
+
Args: {
|
|
23354
|
+
_cart_id: string;
|
|
23355
|
+
_is_herprint: boolean;
|
|
23356
|
+
_printer_id: string;
|
|
23357
|
+
_queue_item_id: string;
|
|
23358
|
+
_session_id: string;
|
|
23359
|
+
};
|
|
23360
|
+
Returns: string;
|
|
22955
23361
|
};
|
|
22956
23362
|
pick_order_context: {
|
|
22957
23363
|
Args: {
|
|
@@ -23032,6 +23438,54 @@ export type Database = {
|
|
|
23032
23438
|
print_job_id: string | null;
|
|
23033
23439
|
printed_at: string | null;
|
|
23034
23440
|
printed_by: string | null;
|
|
23441
|
+
printed_cart_ids: Json;
|
|
23442
|
+
printer_id: string | null;
|
|
23443
|
+
priority: number;
|
|
23444
|
+
reference: string | null;
|
|
23445
|
+
route: string | null;
|
|
23446
|
+
screen_id: string | null;
|
|
23447
|
+
station_id: string | null;
|
|
23448
|
+
status_id: string | null;
|
|
23449
|
+
updated_at: string;
|
|
23450
|
+
warnings: Json;
|
|
23451
|
+
};
|
|
23452
|
+
SetofOptions: {
|
|
23453
|
+
from: "*";
|
|
23454
|
+
to: "pick_queue";
|
|
23455
|
+
isOneToOne: true;
|
|
23456
|
+
isSetofReturn: false;
|
|
23457
|
+
};
|
|
23458
|
+
} | {
|
|
23459
|
+
Args: {
|
|
23460
|
+
_cart_id?: string;
|
|
23461
|
+
_queue_item_id: string;
|
|
23462
|
+
_session_id: string;
|
|
23463
|
+
};
|
|
23464
|
+
Returns: {
|
|
23465
|
+
announced_at: string;
|
|
23466
|
+
assigned_user_id: string | null;
|
|
23467
|
+
barcode: string | null;
|
|
23468
|
+
cancelled_at: string | null;
|
|
23469
|
+
cart_count: number;
|
|
23470
|
+
completed_at: string | null;
|
|
23471
|
+
country_code: string | null;
|
|
23472
|
+
created_at: string;
|
|
23473
|
+
customer_name: string | null;
|
|
23474
|
+
delivery_address: string | null;
|
|
23475
|
+
document_number: string | null;
|
|
23476
|
+
document_type_id: string | null;
|
|
23477
|
+
due_at: string | null;
|
|
23478
|
+
id: string;
|
|
23479
|
+
is_urgent: boolean;
|
|
23480
|
+
line_count: number;
|
|
23481
|
+
order_number: string | null;
|
|
23482
|
+
order_type: string | null;
|
|
23483
|
+
payload: Json;
|
|
23484
|
+
print_count: number;
|
|
23485
|
+
print_job_id: string | null;
|
|
23486
|
+
printed_at: string | null;
|
|
23487
|
+
printed_by: string | null;
|
|
23488
|
+
printed_cart_ids: Json;
|
|
23035
23489
|
printer_id: string | null;
|
|
23036
23490
|
priority: number;
|
|
23037
23491
|
reference: string | null;
|
|
@@ -23144,6 +23598,66 @@ export type Database = {
|
|
|
23144
23598
|
};
|
|
23145
23599
|
Returns: undefined;
|
|
23146
23600
|
};
|
|
23601
|
+
planning_cancel_item: {
|
|
23602
|
+
Args: {
|
|
23603
|
+
_id: string;
|
|
23604
|
+
};
|
|
23605
|
+
Returns: undefined;
|
|
23606
|
+
};
|
|
23607
|
+
planning_list: {
|
|
23608
|
+
Args: {
|
|
23609
|
+
_from: string;
|
|
23610
|
+
_to: string;
|
|
23611
|
+
};
|
|
23612
|
+
Returns: {
|
|
23613
|
+
assigned_monteur_id: string | null;
|
|
23614
|
+
assistants: Json | null;
|
|
23615
|
+
budget_mandate_cents: number | null;
|
|
23616
|
+
created_at: string | null;
|
|
23617
|
+
created_by: string | null;
|
|
23618
|
+
customer_id: string | null;
|
|
23619
|
+
customer_name: string | null;
|
|
23620
|
+
duration_minutes: number | null;
|
|
23621
|
+
end_at: string | null;
|
|
23622
|
+
id: string | null;
|
|
23623
|
+
needs_detail_review: boolean | null;
|
|
23624
|
+
notes: string | null;
|
|
23625
|
+
project_number: string | null;
|
|
23626
|
+
review_reasons: string[] | null;
|
|
23627
|
+
start_at: string | null;
|
|
23628
|
+
status: Database["public"]["Enums"]["planning_item_status"] | null;
|
|
23629
|
+
updated_at: string | null;
|
|
23630
|
+
viewer_role: string | null;
|
|
23631
|
+
werkbon_id: string | null;
|
|
23632
|
+
work_address: string | null;
|
|
23633
|
+
}[];
|
|
23634
|
+
SetofOptions: {
|
|
23635
|
+
from: "*";
|
|
23636
|
+
to: "planning_overview";
|
|
23637
|
+
isOneToOne: false;
|
|
23638
|
+
isSetofReturn: true;
|
|
23639
|
+
};
|
|
23640
|
+
};
|
|
23641
|
+
planning_set_assistants: {
|
|
23642
|
+
Args: {
|
|
23643
|
+
_monteur_ids: string[];
|
|
23644
|
+
_planning_item_id: string;
|
|
23645
|
+
};
|
|
23646
|
+
Returns: undefined;
|
|
23647
|
+
};
|
|
23648
|
+
planning_upsert_item: {
|
|
23649
|
+
Args: {
|
|
23650
|
+
_assigned_monteur_id: string;
|
|
23651
|
+
_end_at: string;
|
|
23652
|
+
_notes?: string;
|
|
23653
|
+
_start_at: string;
|
|
23654
|
+
_werkbon_id: string;
|
|
23655
|
+
};
|
|
23656
|
+
Returns: {
|
|
23657
|
+
action: string;
|
|
23658
|
+
id: string;
|
|
23659
|
+
}[];
|
|
23660
|
+
};
|
|
23147
23661
|
print_preview_toestaan: {
|
|
23148
23662
|
Args: {
|
|
23149
23663
|
_max?: number;
|
|
@@ -23316,6 +23830,12 @@ export type Database = {
|
|
|
23316
23830
|
};
|
|
23317
23831
|
Returns: string;
|
|
23318
23832
|
};
|
|
23833
|
+
resolve_print_job_printer_id: {
|
|
23834
|
+
Args: {
|
|
23835
|
+
_job: Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
23836
|
+
};
|
|
23837
|
+
Returns: string;
|
|
23838
|
+
};
|
|
23319
23839
|
resolve_product_id_for_item: {
|
|
23320
23840
|
Args: {
|
|
23321
23841
|
p_product_name: string;
|
|
@@ -23719,6 +24239,26 @@ export type Database = {
|
|
|
23719
24239
|
};
|
|
23720
24240
|
Returns: string[];
|
|
23721
24241
|
};
|
|
24242
|
+
start_time_log_at: {
|
|
24243
|
+
Args: {
|
|
24244
|
+
p_clicked_at?: string;
|
|
24245
|
+
p_employee_id: string;
|
|
24246
|
+
p_start_lat?: number;
|
|
24247
|
+
p_start_lng?: number;
|
|
24248
|
+
p_type: string;
|
|
24249
|
+
p_work_order_id?: string;
|
|
24250
|
+
};
|
|
24251
|
+
Returns: Json;
|
|
24252
|
+
};
|
|
24253
|
+
stop_time_log: {
|
|
24254
|
+
Args: {
|
|
24255
|
+
p_employee_id: string;
|
|
24256
|
+
p_end_lat?: number;
|
|
24257
|
+
p_end_lng?: number;
|
|
24258
|
+
p_end_time: string;
|
|
24259
|
+
};
|
|
24260
|
+
Returns: Json;
|
|
24261
|
+
};
|
|
23722
24262
|
switch_time_log: {
|
|
23723
24263
|
Args: {
|
|
23724
24264
|
p_employee_id: string;
|
|
@@ -23914,9 +24454,9 @@ type DatabaseWithoutInternals = Omit<Database, "__InternalSupabase">;
|
|
|
23914
24454
|
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
|
|
23915
24455
|
export type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
|
|
23916
24456
|
schema: keyof DatabaseWithoutInternals;
|
|
23917
|
-
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
24457
|
+
}, TableName extends (DefaultSchemaTableNameOrOptions extends {
|
|
23918
24458
|
schema: keyof DatabaseWithoutInternals;
|
|
23919
|
-
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
24459
|
+
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never) = never> = DefaultSchemaTableNameOrOptions extends {
|
|
23920
24460
|
schema: keyof DatabaseWithoutInternals;
|
|
23921
24461
|
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
|
|
23922
24462
|
Row: infer R;
|
|
@@ -23925,9 +24465,9 @@ export type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema[
|
|
|
23925
24465
|
} ? R : never : never;
|
|
23926
24466
|
export type TablesInsert<DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] | {
|
|
23927
24467
|
schema: keyof DatabaseWithoutInternals;
|
|
23928
|
-
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
24468
|
+
}, TableName extends (DefaultSchemaTableNameOrOptions extends {
|
|
23929
24469
|
schema: keyof DatabaseWithoutInternals;
|
|
23930
|
-
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
24470
|
+
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never) = never> = DefaultSchemaTableNameOrOptions extends {
|
|
23931
24471
|
schema: keyof DatabaseWithoutInternals;
|
|
23932
24472
|
} ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends {
|
|
23933
24473
|
Insert: infer I;
|
|
@@ -23936,9 +24476,9 @@ export type TablesInsert<DefaultSchemaTableNameOrOptions extends keyof DefaultSc
|
|
|
23936
24476
|
} ? I : never : never;
|
|
23937
24477
|
export type TablesUpdate<DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] | {
|
|
23938
24478
|
schema: keyof DatabaseWithoutInternals;
|
|
23939
|
-
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
24479
|
+
}, TableName extends (DefaultSchemaTableNameOrOptions extends {
|
|
23940
24480
|
schema: keyof DatabaseWithoutInternals;
|
|
23941
|
-
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
24481
|
+
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never) = never> = DefaultSchemaTableNameOrOptions extends {
|
|
23942
24482
|
schema: keyof DatabaseWithoutInternals;
|
|
23943
24483
|
} ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends {
|
|
23944
24484
|
Update: infer U;
|
|
@@ -23947,16 +24487,16 @@ export type TablesUpdate<DefaultSchemaTableNameOrOptions extends keyof DefaultSc
|
|
|
23947
24487
|
} ? U : never : never;
|
|
23948
24488
|
export type Enums<DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema["Enums"] | {
|
|
23949
24489
|
schema: keyof DatabaseWithoutInternals;
|
|
23950
|
-
}, EnumName extends DefaultSchemaEnumNameOrOptions extends {
|
|
24490
|
+
}, EnumName extends (DefaultSchemaEnumNameOrOptions extends {
|
|
23951
24491
|
schema: keyof DatabaseWithoutInternals;
|
|
23952
|
-
} ? keyof DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"] : never = never> = DefaultSchemaEnumNameOrOptions extends {
|
|
24492
|
+
} ? keyof DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"] : never) = never> = DefaultSchemaEnumNameOrOptions extends {
|
|
23953
24493
|
schema: keyof DatabaseWithoutInternals;
|
|
23954
24494
|
} ? DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"][EnumName] : DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema["Enums"] ? DefaultSchema["Enums"][DefaultSchemaEnumNameOrOptions] : never;
|
|
23955
24495
|
export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] | {
|
|
23956
24496
|
schema: keyof DatabaseWithoutInternals;
|
|
23957
|
-
}, CompositeTypeName extends PublicCompositeTypeNameOrOptions extends {
|
|
24497
|
+
}, CompositeTypeName extends (PublicCompositeTypeNameOrOptions extends {
|
|
23958
24498
|
schema: keyof DatabaseWithoutInternals;
|
|
23959
|
-
} ? keyof DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"] : never = never> = PublicCompositeTypeNameOrOptions extends {
|
|
24499
|
+
} ? keyof DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"] : never) = never> = PublicCompositeTypeNameOrOptions extends {
|
|
23960
24500
|
schema: keyof DatabaseWithoutInternals;
|
|
23961
24501
|
} ? DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName] : PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] ? DefaultSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions] : never;
|
|
23962
24502
|
export declare const Constants: {
|