@flowselections/layout-maker 1.36.7 → 1.38.4
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 +139 -139
- package/dist-lib/components/AfdrukKnop.d.ts +19 -19
- package/dist-lib/components/NetwerkPrintersDialog.d.ts +7 -7
- package/dist-lib/components/PaginaDocument.d.ts +4 -1
- package/dist-lib/components/PaginaDocument.d.ts.map +1 -1
- package/dist-lib/components/PaginaDocument.js +10 -5
- package/dist-lib/components/PakbonBuilderPage.d.ts.map +1 -1
- package/dist-lib/components/PakbonBuilderPage.js +4 -2
- package/dist-lib/components/PakbonPreview.d.ts +4 -2
- package/dist-lib/components/PakbonPreview.d.ts.map +1 -1
- package/dist-lib/components/PakbonPreview.js +55 -12
- package/dist-lib/components/PakbonSectiesPanel.d.ts +2 -2
- package/dist-lib/components/PakbonSectiesPanel.d.ts.map +1 -1
- package/dist-lib/components/PakbonSectiesPanel.js +3 -2
- package/dist-lib/components/PrinterSetupWizard.js +3 -3
- package/dist-lib/components/PrintersRedirectPage.d.ts +1 -1
- package/dist-lib/components/PrintersRedirectPage.js +14 -14
- package/dist-lib/index.d.ts +4 -2
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +3 -2
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1240 -812
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1240 -812
- 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 +24008 -0
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -0
- package/dist-lib/integrations/supabase/moduleClient.js +29 -0
- package/dist-lib/integrations/supabase/types.d.ts +1231 -821
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/aiLayout.functions.d.ts +1240 -812
- package/dist-lib/lib/aiLayout.functions.d.ts.map +1 -1
- package/dist-lib/lib/aiLayout.server.js +9 -9
- package/dist-lib/lib/browserPrint.js +1 -1
- package/dist-lib/lib/code128.d.ts +5 -0
- package/dist-lib/lib/code128.d.ts.map +1 -0
- package/dist-lib/lib/code128.js +51 -0
- package/dist-lib/lib/htmlPdf.server.d.ts.map +1 -1
- package/dist-lib/lib/htmlPdf.server.js +58 -0
- package/dist-lib/lib/layoutPreview.d.ts.map +1 -1
- package/dist-lib/lib/layoutPreview.js +11 -8
- package/dist-lib/lib/orderData.server.d.ts.map +1 -1
- package/dist-lib/lib/orderData.server.js +6 -0
- package/dist-lib/lib/pakbonBuilder.d.ts +28 -2
- package/dist-lib/lib/pakbonBuilder.d.ts.map +1 -1
- package/dist-lib/lib/pakbonBuilder.js +69 -8
- package/dist-lib/lib/pakbonHtml.d.ts +14 -2
- package/dist-lib/lib/pakbonHtml.d.ts.map +1 -1
- package/dist-lib/lib/pakbonHtml.js +155 -63
- package/dist-lib/lib/pakbonScan.d.ts +44 -0
- package/dist-lib/lib/pakbonScan.d.ts.map +1 -0
- package/dist-lib/lib/pakbonScan.js +105 -0
- package/dist-lib/lib/printQueue.server.d.ts +7 -0
- package/dist-lib/lib/printQueue.server.d.ts.map +1 -1
- package/dist-lib/lib/printQueue.server.js +247 -26
- package/dist-lib/lib/printService.functions.d.ts +4445 -2733
- package/dist-lib/lib/printService.functions.d.ts.map +1 -1
- package/dist-lib/lib/productiebonHtml.js +15 -15
- package/dist-lib/lib/profielHtml.js +18 -18
- package/dist-lib/lib/supabaseAdmin.server.d.ts +5 -5
- package/dist-lib/lib/supabaseAdmin.server.js +43 -43
- package/dist-lib/lib/supabaseClient.d.ts +1 -3
- package/dist-lib/lib/supabaseClient.d.ts.map +1 -1
- package/dist-lib/lib/supabaseClient.js +4 -8
- package/dist-lib/lib/testpagina.js +3 -3
- package/dist-lib/lib/testprint.js +4 -4
- package/package.json +151 -151
|
@@ -5983,10 +5983,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
5983
5983
|
};
|
|
5984
5984
|
floriday_connections: {
|
|
5985
5985
|
Row: {
|
|
5986
|
-
access_token: string | null;
|
|
5987
5986
|
api_key: string;
|
|
5988
|
-
client_id: string;
|
|
5989
|
-
client_secret: string;
|
|
5990
5987
|
created_at: string;
|
|
5991
5988
|
customers_endpoint: string | null;
|
|
5992
5989
|
environment: string;
|
|
@@ -6001,10 +5998,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6001
5998
|
updated_at: string;
|
|
6002
5999
|
};
|
|
6003
6000
|
Insert: {
|
|
6004
|
-
access_token?: string | null;
|
|
6005
6001
|
api_key: string;
|
|
6006
|
-
client_id: string;
|
|
6007
|
-
client_secret: string;
|
|
6008
6002
|
created_at?: string;
|
|
6009
6003
|
customers_endpoint?: string | null;
|
|
6010
6004
|
environment: string;
|
|
@@ -6019,10 +6013,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6019
6013
|
updated_at?: string;
|
|
6020
6014
|
};
|
|
6021
6015
|
Update: {
|
|
6022
|
-
access_token?: string | null;
|
|
6023
6016
|
api_key?: string;
|
|
6024
|
-
client_id?: string;
|
|
6025
|
-
client_secret?: string;
|
|
6026
6017
|
created_at?: string;
|
|
6027
6018
|
customers_endpoint?: string | null;
|
|
6028
6019
|
environment?: string;
|
|
@@ -6106,6 +6097,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6106
6097
|
attempts: number;
|
|
6107
6098
|
connection_id: string;
|
|
6108
6099
|
created_at: string;
|
|
6100
|
+
dead_lettered_at: string | null;
|
|
6109
6101
|
desired_available: boolean | null;
|
|
6110
6102
|
gateway_attempt_id: string | null;
|
|
6111
6103
|
id: string;
|
|
@@ -6114,9 +6106,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6114
6106
|
locked_by: string | null;
|
|
6115
6107
|
next_attempt_at: string;
|
|
6116
6108
|
number_of_pieces: number;
|
|
6109
|
+
product_id: string | null;
|
|
6117
6110
|
sent_at: string | null;
|
|
6118
6111
|
status: string;
|
|
6112
|
+
stock_mode: string | null;
|
|
6119
6113
|
superseded_by: string | null;
|
|
6114
|
+
target_week: number | null;
|
|
6115
|
+
target_year: number | null;
|
|
6120
6116
|
trade_item_id: string;
|
|
6121
6117
|
updated_at: string;
|
|
6122
6118
|
user_id: string;
|
|
@@ -6125,6 +6121,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6125
6121
|
attempts?: number;
|
|
6126
6122
|
connection_id: string;
|
|
6127
6123
|
created_at?: string;
|
|
6124
|
+
dead_lettered_at?: string | null;
|
|
6128
6125
|
desired_available?: boolean | null;
|
|
6129
6126
|
gateway_attempt_id?: string | null;
|
|
6130
6127
|
id?: string;
|
|
@@ -6133,9 +6130,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6133
6130
|
locked_by?: string | null;
|
|
6134
6131
|
next_attempt_at?: string;
|
|
6135
6132
|
number_of_pieces?: number;
|
|
6133
|
+
product_id?: string | null;
|
|
6136
6134
|
sent_at?: string | null;
|
|
6137
6135
|
status?: string;
|
|
6136
|
+
stock_mode?: string | null;
|
|
6138
6137
|
superseded_by?: string | null;
|
|
6138
|
+
target_week?: number | null;
|
|
6139
|
+
target_year?: number | null;
|
|
6139
6140
|
trade_item_id: string;
|
|
6140
6141
|
updated_at?: string;
|
|
6141
6142
|
user_id: string;
|
|
@@ -6144,6 +6145,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6144
6145
|
attempts?: number;
|
|
6145
6146
|
connection_id?: string;
|
|
6146
6147
|
created_at?: string;
|
|
6148
|
+
dead_lettered_at?: string | null;
|
|
6147
6149
|
desired_available?: boolean | null;
|
|
6148
6150
|
gateway_attempt_id?: string | null;
|
|
6149
6151
|
id?: string;
|
|
@@ -6152,9 +6154,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6152
6154
|
locked_by?: string | null;
|
|
6153
6155
|
next_attempt_at?: string;
|
|
6154
6156
|
number_of_pieces?: number;
|
|
6157
|
+
product_id?: string | null;
|
|
6155
6158
|
sent_at?: string | null;
|
|
6156
6159
|
status?: string;
|
|
6160
|
+
stock_mode?: string | null;
|
|
6157
6161
|
superseded_by?: string | null;
|
|
6162
|
+
target_week?: number | null;
|
|
6163
|
+
target_year?: number | null;
|
|
6158
6164
|
trade_item_id?: string;
|
|
6159
6165
|
updated_at?: string;
|
|
6160
6166
|
user_id?: string;
|
|
@@ -6563,6 +6569,87 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6563
6569
|
referencedColumns: ["id"];
|
|
6564
6570
|
}];
|
|
6565
6571
|
};
|
|
6572
|
+
floriday_inventory_settings: {
|
|
6573
|
+
Row: {
|
|
6574
|
+
buffer_quantity: number;
|
|
6575
|
+
connection_id: string;
|
|
6576
|
+
created_at: string;
|
|
6577
|
+
desired_availability: boolean;
|
|
6578
|
+
desired_quantity: number;
|
|
6579
|
+
fixed_quantity: number | null;
|
|
6580
|
+
floriday_trade_item_id: string | null;
|
|
6581
|
+
id: string;
|
|
6582
|
+
last_confirmed_at: string | null;
|
|
6583
|
+
last_enqueued_at: string | null;
|
|
6584
|
+
last_published_at: string | null;
|
|
6585
|
+
last_sync_error: string | null;
|
|
6586
|
+
manual_quantity: number | null;
|
|
6587
|
+
maximum_quantity: number | null;
|
|
6588
|
+
product_id: string;
|
|
6589
|
+
quantity_control: string;
|
|
6590
|
+
remote_available: boolean | null;
|
|
6591
|
+
remote_checked_at: string | null;
|
|
6592
|
+
remote_quantity: number | null;
|
|
6593
|
+
stock_mode: string;
|
|
6594
|
+
sync_status: string;
|
|
6595
|
+
updated_at: string;
|
|
6596
|
+
updated_by: string | null;
|
|
6597
|
+
user_id: string;
|
|
6598
|
+
};
|
|
6599
|
+
Insert: {
|
|
6600
|
+
buffer_quantity?: number;
|
|
6601
|
+
connection_id: string;
|
|
6602
|
+
created_at?: string;
|
|
6603
|
+
desired_availability?: boolean;
|
|
6604
|
+
desired_quantity?: number;
|
|
6605
|
+
fixed_quantity?: number | null;
|
|
6606
|
+
floriday_trade_item_id?: string | null;
|
|
6607
|
+
id?: string;
|
|
6608
|
+
last_confirmed_at?: string | null;
|
|
6609
|
+
last_enqueued_at?: string | null;
|
|
6610
|
+
last_published_at?: string | null;
|
|
6611
|
+
last_sync_error?: string | null;
|
|
6612
|
+
manual_quantity?: number | null;
|
|
6613
|
+
maximum_quantity?: number | null;
|
|
6614
|
+
product_id: string;
|
|
6615
|
+
quantity_control?: string;
|
|
6616
|
+
remote_available?: boolean | null;
|
|
6617
|
+
remote_checked_at?: string | null;
|
|
6618
|
+
remote_quantity?: number | null;
|
|
6619
|
+
stock_mode?: string;
|
|
6620
|
+
sync_status?: string;
|
|
6621
|
+
updated_at?: string;
|
|
6622
|
+
updated_by?: string | null;
|
|
6623
|
+
user_id: string;
|
|
6624
|
+
};
|
|
6625
|
+
Update: {
|
|
6626
|
+
buffer_quantity?: number;
|
|
6627
|
+
connection_id?: string;
|
|
6628
|
+
created_at?: string;
|
|
6629
|
+
desired_availability?: boolean;
|
|
6630
|
+
desired_quantity?: number;
|
|
6631
|
+
fixed_quantity?: number | null;
|
|
6632
|
+
floriday_trade_item_id?: string | null;
|
|
6633
|
+
id?: string;
|
|
6634
|
+
last_confirmed_at?: string | null;
|
|
6635
|
+
last_enqueued_at?: string | null;
|
|
6636
|
+
last_published_at?: string | null;
|
|
6637
|
+
last_sync_error?: string | null;
|
|
6638
|
+
manual_quantity?: number | null;
|
|
6639
|
+
maximum_quantity?: number | null;
|
|
6640
|
+
product_id?: string;
|
|
6641
|
+
quantity_control?: string;
|
|
6642
|
+
remote_available?: boolean | null;
|
|
6643
|
+
remote_checked_at?: string | null;
|
|
6644
|
+
remote_quantity?: number | null;
|
|
6645
|
+
stock_mode?: string;
|
|
6646
|
+
sync_status?: string;
|
|
6647
|
+
updated_at?: string;
|
|
6648
|
+
updated_by?: string | null;
|
|
6649
|
+
user_id?: string;
|
|
6650
|
+
};
|
|
6651
|
+
Relationships: [];
|
|
6652
|
+
};
|
|
6566
6653
|
floriday_invoices_cache: {
|
|
6567
6654
|
Row: {
|
|
6568
6655
|
buyer_organization_id: string | null;
|
|
@@ -6851,6 +6938,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6851
6938
|
};
|
|
6852
6939
|
Relationships: [];
|
|
6853
6940
|
};
|
|
6941
|
+
floriday_sales_order_ingest: {
|
|
6942
|
+
Row: {
|
|
6943
|
+
connection_id: string;
|
|
6944
|
+
created_at: string;
|
|
6945
|
+
id: string;
|
|
6946
|
+
impact: import("./types.js").Json;
|
|
6947
|
+
order_status: string | null;
|
|
6948
|
+
order_version: number;
|
|
6949
|
+
processed_at: string;
|
|
6950
|
+
sales_order_id: string;
|
|
6951
|
+
};
|
|
6952
|
+
Insert: {
|
|
6953
|
+
connection_id: string;
|
|
6954
|
+
created_at?: string;
|
|
6955
|
+
id?: string;
|
|
6956
|
+
impact?: import("./types.js").Json;
|
|
6957
|
+
order_status?: string | null;
|
|
6958
|
+
order_version?: number;
|
|
6959
|
+
processed_at?: string;
|
|
6960
|
+
sales_order_id: string;
|
|
6961
|
+
};
|
|
6962
|
+
Update: {
|
|
6963
|
+
connection_id?: string;
|
|
6964
|
+
created_at?: string;
|
|
6965
|
+
id?: string;
|
|
6966
|
+
impact?: import("./types.js").Json;
|
|
6967
|
+
order_status?: string | null;
|
|
6968
|
+
order_version?: number;
|
|
6969
|
+
processed_at?: string;
|
|
6970
|
+
sales_order_id?: string;
|
|
6971
|
+
};
|
|
6972
|
+
Relationships: [];
|
|
6973
|
+
};
|
|
6854
6974
|
floriday_sales_strategies_cache: {
|
|
6855
6975
|
Row: {
|
|
6856
6976
|
connection_id: string;
|
|
@@ -6950,6 +7070,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6950
7070
|
};
|
|
6951
7071
|
Relationships: [];
|
|
6952
7072
|
};
|
|
7073
|
+
floriday_sync_cursors: {
|
|
7074
|
+
Row: {
|
|
7075
|
+
connection_id: string;
|
|
7076
|
+
created_at: string;
|
|
7077
|
+
id: string;
|
|
7078
|
+
last_error: string | null;
|
|
7079
|
+
last_sync_at: string | null;
|
|
7080
|
+
resource_type: string;
|
|
7081
|
+
sequence_number: number;
|
|
7082
|
+
updated_at: string;
|
|
7083
|
+
};
|
|
7084
|
+
Insert: {
|
|
7085
|
+
connection_id: string;
|
|
7086
|
+
created_at?: string;
|
|
7087
|
+
id?: string;
|
|
7088
|
+
last_error?: string | null;
|
|
7089
|
+
last_sync_at?: string | null;
|
|
7090
|
+
resource_type: string;
|
|
7091
|
+
sequence_number?: number;
|
|
7092
|
+
updated_at?: string;
|
|
7093
|
+
};
|
|
7094
|
+
Update: {
|
|
7095
|
+
connection_id?: string;
|
|
7096
|
+
created_at?: string;
|
|
7097
|
+
id?: string;
|
|
7098
|
+
last_error?: string | null;
|
|
7099
|
+
last_sync_at?: string | null;
|
|
7100
|
+
resource_type?: string;
|
|
7101
|
+
sequence_number?: number;
|
|
7102
|
+
updated_at?: string;
|
|
7103
|
+
};
|
|
7104
|
+
Relationships: [];
|
|
7105
|
+
};
|
|
6953
7106
|
floriday_sync_state: {
|
|
6954
7107
|
Row: {
|
|
6955
7108
|
connection_id: string;
|
|
@@ -7640,6 +7793,42 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7640
7793
|
};
|
|
7641
7794
|
Relationships: [];
|
|
7642
7795
|
};
|
|
7796
|
+
inventory_stock_snapshots: {
|
|
7797
|
+
Row: {
|
|
7798
|
+
connection_id: string;
|
|
7799
|
+
created_at: string;
|
|
7800
|
+
erp_available_quantity: number;
|
|
7801
|
+
floriday_desired_quantity: number;
|
|
7802
|
+
floriday_remote_quantity: number | null;
|
|
7803
|
+
granularity: string;
|
|
7804
|
+
id: string;
|
|
7805
|
+
snapshot_at: string;
|
|
7806
|
+
user_id: string | null;
|
|
7807
|
+
};
|
|
7808
|
+
Insert: {
|
|
7809
|
+
connection_id: string;
|
|
7810
|
+
created_at?: string;
|
|
7811
|
+
erp_available_quantity?: number;
|
|
7812
|
+
floriday_desired_quantity?: number;
|
|
7813
|
+
floriday_remote_quantity?: number | null;
|
|
7814
|
+
granularity?: string;
|
|
7815
|
+
id?: string;
|
|
7816
|
+
snapshot_at?: string;
|
|
7817
|
+
user_id?: string | null;
|
|
7818
|
+
};
|
|
7819
|
+
Update: {
|
|
7820
|
+
connection_id?: string;
|
|
7821
|
+
created_at?: string;
|
|
7822
|
+
erp_available_quantity?: number;
|
|
7823
|
+
floriday_desired_quantity?: number;
|
|
7824
|
+
floriday_remote_quantity?: number | null;
|
|
7825
|
+
granularity?: string;
|
|
7826
|
+
id?: string;
|
|
7827
|
+
snapshot_at?: string;
|
|
7828
|
+
user_id?: string | null;
|
|
7829
|
+
};
|
|
7830
|
+
Relationships: [];
|
|
7831
|
+
};
|
|
7643
7832
|
invoice_items: {
|
|
7644
7833
|
Row: {
|
|
7645
7834
|
created_at: string;
|
|
@@ -8148,13 +8337,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8148
8337
|
segment?: Database["public"]["Enums"]["itk_customer_segment"];
|
|
8149
8338
|
updated_at?: string;
|
|
8150
8339
|
};
|
|
8151
|
-
Relationships: [
|
|
8152
|
-
foreignKeyName: "itk_customers_legacy_customer_id_fkey";
|
|
8153
|
-
columns: ["legacy_customer_id"];
|
|
8154
|
-
isOneToOne: false;
|
|
8155
|
-
referencedRelation: "customers";
|
|
8156
|
-
referencedColumns: ["id"];
|
|
8157
|
-
}];
|
|
8340
|
+
Relationships: [];
|
|
8158
8341
|
};
|
|
8159
8342
|
itk_dynamic_fields: {
|
|
8160
8343
|
Row: {
|
|
@@ -8186,6 +8369,180 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8186
8369
|
};
|
|
8187
8370
|
Relationships: [];
|
|
8188
8371
|
};
|
|
8372
|
+
itk_handover_rechten: {
|
|
8373
|
+
Row: {
|
|
8374
|
+
created_at: string;
|
|
8375
|
+
id: string;
|
|
8376
|
+
module_id: string;
|
|
8377
|
+
rol: Database["public"]["Enums"]["app_role"] | null;
|
|
8378
|
+
updated_at: string;
|
|
8379
|
+
user_id: string | null;
|
|
8380
|
+
};
|
|
8381
|
+
Insert: {
|
|
8382
|
+
created_at?: string;
|
|
8383
|
+
id?: string;
|
|
8384
|
+
module_id: string;
|
|
8385
|
+
rol?: Database["public"]["Enums"]["app_role"] | null;
|
|
8386
|
+
updated_at?: string;
|
|
8387
|
+
user_id?: string | null;
|
|
8388
|
+
};
|
|
8389
|
+
Update: {
|
|
8390
|
+
created_at?: string;
|
|
8391
|
+
id?: string;
|
|
8392
|
+
module_id?: string;
|
|
8393
|
+
rol?: Database["public"]["Enums"]["app_role"] | null;
|
|
8394
|
+
updated_at?: string;
|
|
8395
|
+
user_id?: string | null;
|
|
8396
|
+
};
|
|
8397
|
+
Relationships: [];
|
|
8398
|
+
};
|
|
8399
|
+
itk_handover_tokens: {
|
|
8400
|
+
Row: {
|
|
8401
|
+
aangemaakt_door: string | null;
|
|
8402
|
+
created_at: string;
|
|
8403
|
+
id: string;
|
|
8404
|
+
is_actief: boolean;
|
|
8405
|
+
laatst_gebruikt_op: string | null;
|
|
8406
|
+
label: string;
|
|
8407
|
+
module_id: string;
|
|
8408
|
+
token_hash: string;
|
|
8409
|
+
updated_at: string;
|
|
8410
|
+
verloopt_op: string | null;
|
|
8411
|
+
};
|
|
8412
|
+
Insert: {
|
|
8413
|
+
aangemaakt_door?: string | null;
|
|
8414
|
+
created_at?: string;
|
|
8415
|
+
id?: string;
|
|
8416
|
+
is_actief?: boolean;
|
|
8417
|
+
laatst_gebruikt_op?: string | null;
|
|
8418
|
+
label?: string;
|
|
8419
|
+
module_id: string;
|
|
8420
|
+
token_hash: string;
|
|
8421
|
+
updated_at?: string;
|
|
8422
|
+
verloopt_op?: string | null;
|
|
8423
|
+
};
|
|
8424
|
+
Update: {
|
|
8425
|
+
aangemaakt_door?: string | null;
|
|
8426
|
+
created_at?: string;
|
|
8427
|
+
id?: string;
|
|
8428
|
+
is_actief?: boolean;
|
|
8429
|
+
laatst_gebruikt_op?: string | null;
|
|
8430
|
+
label?: string;
|
|
8431
|
+
module_id?: string;
|
|
8432
|
+
token_hash?: string;
|
|
8433
|
+
updated_at?: string;
|
|
8434
|
+
verloopt_op?: string | null;
|
|
8435
|
+
};
|
|
8436
|
+
Relationships: [];
|
|
8437
|
+
};
|
|
8438
|
+
itk_module_handovers: {
|
|
8439
|
+
Row: {
|
|
8440
|
+
bevindingen: string | null;
|
|
8441
|
+
bezit_tabellen: string[];
|
|
8442
|
+
conflicten_snapshot: import("./types.js").Json;
|
|
8443
|
+
contractfuncties: string[];
|
|
8444
|
+
created_at: string;
|
|
8445
|
+
eigenaar_module_id: string | null;
|
|
8446
|
+
gepubliceerd_door: string | null;
|
|
8447
|
+
gepubliceerd_op: string;
|
|
8448
|
+
herzieningstermijn_dagen: number;
|
|
8449
|
+
id: string;
|
|
8450
|
+
inhoud_md: string;
|
|
8451
|
+
is_actueel: boolean;
|
|
8452
|
+
module_id: string;
|
|
8453
|
+
module_titel: string;
|
|
8454
|
+
ontbrekende_contracten: string[];
|
|
8455
|
+
samenvatting: string | null;
|
|
8456
|
+
updated_at: string;
|
|
8457
|
+
versie: number;
|
|
8458
|
+
};
|
|
8459
|
+
Insert: {
|
|
8460
|
+
bevindingen?: string | null;
|
|
8461
|
+
bezit_tabellen?: string[];
|
|
8462
|
+
conflicten_snapshot?: import("./types.js").Json;
|
|
8463
|
+
contractfuncties?: string[];
|
|
8464
|
+
created_at?: string;
|
|
8465
|
+
eigenaar_module_id?: string | null;
|
|
8466
|
+
gepubliceerd_door?: string | null;
|
|
8467
|
+
gepubliceerd_op?: string;
|
|
8468
|
+
herzieningstermijn_dagen?: number;
|
|
8469
|
+
id?: string;
|
|
8470
|
+
inhoud_md: string;
|
|
8471
|
+
is_actueel?: boolean;
|
|
8472
|
+
module_id: string;
|
|
8473
|
+
module_titel: string;
|
|
8474
|
+
ontbrekende_contracten?: string[];
|
|
8475
|
+
samenvatting?: string | null;
|
|
8476
|
+
updated_at?: string;
|
|
8477
|
+
versie?: number;
|
|
8478
|
+
};
|
|
8479
|
+
Update: {
|
|
8480
|
+
bevindingen?: string | null;
|
|
8481
|
+
bezit_tabellen?: string[];
|
|
8482
|
+
conflicten_snapshot?: import("./types.js").Json;
|
|
8483
|
+
contractfuncties?: string[];
|
|
8484
|
+
created_at?: string;
|
|
8485
|
+
eigenaar_module_id?: string | null;
|
|
8486
|
+
gepubliceerd_door?: string | null;
|
|
8487
|
+
gepubliceerd_op?: string;
|
|
8488
|
+
herzieningstermijn_dagen?: number;
|
|
8489
|
+
id?: string;
|
|
8490
|
+
inhoud_md?: string;
|
|
8491
|
+
is_actueel?: boolean;
|
|
8492
|
+
module_id?: string;
|
|
8493
|
+
module_titel?: string;
|
|
8494
|
+
ontbrekende_contracten?: string[];
|
|
8495
|
+
samenvatting?: string | null;
|
|
8496
|
+
updated_at?: string;
|
|
8497
|
+
versie?: number;
|
|
8498
|
+
};
|
|
8499
|
+
Relationships: [];
|
|
8500
|
+
};
|
|
8501
|
+
itk_module_instructies: {
|
|
8502
|
+
Row: {
|
|
8503
|
+
created_at: string;
|
|
8504
|
+
eigenaar_module_id: string;
|
|
8505
|
+
gepubliceerd_door: string | null;
|
|
8506
|
+
gepubliceerd_op: string;
|
|
8507
|
+
id: string;
|
|
8508
|
+
inhoud_md: string;
|
|
8509
|
+
is_actueel: boolean;
|
|
8510
|
+
sleutel: string;
|
|
8511
|
+
titel: string;
|
|
8512
|
+
toelichting: string | null;
|
|
8513
|
+
updated_at: string;
|
|
8514
|
+
versie: number;
|
|
8515
|
+
};
|
|
8516
|
+
Insert: {
|
|
8517
|
+
created_at?: string;
|
|
8518
|
+
eigenaar_module_id?: string;
|
|
8519
|
+
gepubliceerd_door?: string | null;
|
|
8520
|
+
gepubliceerd_op?: string;
|
|
8521
|
+
id?: string;
|
|
8522
|
+
inhoud_md: string;
|
|
8523
|
+
is_actueel?: boolean;
|
|
8524
|
+
sleutel: string;
|
|
8525
|
+
titel: string;
|
|
8526
|
+
toelichting?: string | null;
|
|
8527
|
+
updated_at?: string;
|
|
8528
|
+
versie?: number;
|
|
8529
|
+
};
|
|
8530
|
+
Update: {
|
|
8531
|
+
created_at?: string;
|
|
8532
|
+
eigenaar_module_id?: string;
|
|
8533
|
+
gepubliceerd_door?: string | null;
|
|
8534
|
+
gepubliceerd_op?: string;
|
|
8535
|
+
id?: string;
|
|
8536
|
+
inhoud_md?: string;
|
|
8537
|
+
is_actueel?: boolean;
|
|
8538
|
+
sleutel?: string;
|
|
8539
|
+
titel?: string;
|
|
8540
|
+
toelichting?: string | null;
|
|
8541
|
+
updated_at?: string;
|
|
8542
|
+
versie?: number;
|
|
8543
|
+
};
|
|
8544
|
+
Relationships: [];
|
|
8545
|
+
};
|
|
8189
8546
|
itk_offerte_events: {
|
|
8190
8547
|
Row: {
|
|
8191
8548
|
created_at: string;
|
|
@@ -9044,6 +9401,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9044
9401
|
};
|
|
9045
9402
|
Relationships: [];
|
|
9046
9403
|
};
|
|
9404
|
+
logistics_cart_barcode: {
|
|
9405
|
+
Row: {
|
|
9406
|
+
barcode: string;
|
|
9407
|
+
cart_id: string;
|
|
9408
|
+
created_at: string;
|
|
9409
|
+
order_id: string | null;
|
|
9410
|
+
};
|
|
9411
|
+
Insert: {
|
|
9412
|
+
barcode: string;
|
|
9413
|
+
cart_id: string;
|
|
9414
|
+
created_at?: string;
|
|
9415
|
+
order_id?: string | null;
|
|
9416
|
+
};
|
|
9417
|
+
Update: {
|
|
9418
|
+
barcode?: string;
|
|
9419
|
+
cart_id?: string;
|
|
9420
|
+
created_at?: string;
|
|
9421
|
+
order_id?: string | null;
|
|
9422
|
+
};
|
|
9423
|
+
Relationships: [];
|
|
9424
|
+
};
|
|
9047
9425
|
logistics_decisions: {
|
|
9048
9426
|
Row: {
|
|
9049
9427
|
created_at: string;
|
|
@@ -9872,6 +10250,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9872
10250
|
referencedColumns: ["id"];
|
|
9873
10251
|
}];
|
|
9874
10252
|
};
|
|
10253
|
+
logistics_shipping_note_scan: {
|
|
10254
|
+
Row: {
|
|
10255
|
+
barcode: string;
|
|
10256
|
+
cart_id: string;
|
|
10257
|
+
id: string;
|
|
10258
|
+
is_reprint: boolean;
|
|
10259
|
+
order_id: string | null;
|
|
10260
|
+
print_job_id: string | null;
|
|
10261
|
+
scanned_at: string;
|
|
10262
|
+
};
|
|
10263
|
+
Insert: {
|
|
10264
|
+
barcode: string;
|
|
10265
|
+
cart_id: string;
|
|
10266
|
+
id?: string;
|
|
10267
|
+
is_reprint?: boolean;
|
|
10268
|
+
order_id?: string | null;
|
|
10269
|
+
print_job_id?: string | null;
|
|
10270
|
+
scanned_at?: string;
|
|
10271
|
+
};
|
|
10272
|
+
Update: {
|
|
10273
|
+
barcode?: string;
|
|
10274
|
+
cart_id?: string;
|
|
10275
|
+
id?: string;
|
|
10276
|
+
is_reprint?: boolean;
|
|
10277
|
+
order_id?: string | null;
|
|
10278
|
+
print_job_id?: string | null;
|
|
10279
|
+
scanned_at?: string;
|
|
10280
|
+
};
|
|
10281
|
+
Relationships: [];
|
|
10282
|
+
};
|
|
9875
10283
|
logistics_staff_planning: {
|
|
9876
10284
|
Row: {
|
|
9877
10285
|
created_at: string;
|
|
@@ -11927,6 +12335,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11927
12335
|
order_buffers: {
|
|
11928
12336
|
Row: {
|
|
11929
12337
|
buffer_key: string;
|
|
12338
|
+
close_at: string | null;
|
|
12339
|
+
closed_at: string | null;
|
|
11930
12340
|
created_at: string;
|
|
11931
12341
|
customer_id: string | null;
|
|
11932
12342
|
grouping_mode: string;
|
|
@@ -11938,6 +12348,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11938
12348
|
};
|
|
11939
12349
|
Insert: {
|
|
11940
12350
|
buffer_key: string;
|
|
12351
|
+
close_at?: string | null;
|
|
12352
|
+
closed_at?: string | null;
|
|
11941
12353
|
created_at?: string;
|
|
11942
12354
|
customer_id?: string | null;
|
|
11943
12355
|
grouping_mode: string;
|
|
@@ -11949,6 +12361,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11949
12361
|
};
|
|
11950
12362
|
Update: {
|
|
11951
12363
|
buffer_key?: string;
|
|
12364
|
+
close_at?: string | null;
|
|
12365
|
+
closed_at?: string | null;
|
|
11952
12366
|
created_at?: string;
|
|
11953
12367
|
customer_id?: string | null;
|
|
11954
12368
|
grouping_mode?: string;
|
|
@@ -11965,10 +12379,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11965
12379
|
boxes: number | null;
|
|
11966
12380
|
cart_id: string;
|
|
11967
12381
|
crates: number;
|
|
12382
|
+
crates_in_layer: number | null;
|
|
11968
12383
|
crates_per_layer: number;
|
|
11969
12384
|
created_at: string;
|
|
11970
12385
|
id: string;
|
|
11971
12386
|
layer_fraction: number;
|
|
12387
|
+
layer_index: number | null;
|
|
11972
12388
|
layer_share_pct: number;
|
|
11973
12389
|
layers_per_cart: number;
|
|
11974
12390
|
order_item_id: string | null;
|
|
@@ -11981,10 +12397,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11981
12397
|
boxes?: number | null;
|
|
11982
12398
|
cart_id: string;
|
|
11983
12399
|
crates: number;
|
|
12400
|
+
crates_in_layer?: number | null;
|
|
11984
12401
|
crates_per_layer?: number;
|
|
11985
12402
|
created_at?: string;
|
|
11986
12403
|
id?: string;
|
|
11987
12404
|
layer_fraction?: number;
|
|
12405
|
+
layer_index?: number | null;
|
|
11988
12406
|
layer_share_pct?: number;
|
|
11989
12407
|
layers_per_cart?: number;
|
|
11990
12408
|
order_item_id?: string | null;
|
|
@@ -11997,10 +12415,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11997
12415
|
boxes?: number | null;
|
|
11998
12416
|
cart_id?: string;
|
|
11999
12417
|
crates?: number;
|
|
12418
|
+
crates_in_layer?: number | null;
|
|
12000
12419
|
crates_per_layer?: number;
|
|
12001
12420
|
created_at?: string;
|
|
12002
12421
|
id?: string;
|
|
12003
12422
|
layer_fraction?: number;
|
|
12423
|
+
layer_index?: number | null;
|
|
12004
12424
|
layer_share_pct?: number;
|
|
12005
12425
|
layers_per_cart?: number;
|
|
12006
12426
|
order_item_id?: string | null;
|
|
@@ -12040,6 +12460,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12040
12460
|
id: string;
|
|
12041
12461
|
is_auto: boolean;
|
|
12042
12462
|
is_complete: boolean;
|
|
12463
|
+
layout_method: string | null;
|
|
12043
12464
|
max_layers: number | null;
|
|
12044
12465
|
moved_at: string | null;
|
|
12045
12466
|
moved_from_moment_id: string | null;
|
|
@@ -12064,6 +12485,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12064
12485
|
id?: string;
|
|
12065
12486
|
is_auto?: boolean;
|
|
12066
12487
|
is_complete?: boolean;
|
|
12488
|
+
layout_method?: string | null;
|
|
12067
12489
|
max_layers?: number | null;
|
|
12068
12490
|
moved_at?: string | null;
|
|
12069
12491
|
moved_from_moment_id?: string | null;
|
|
@@ -12088,6 +12510,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12088
12510
|
id?: string;
|
|
12089
12511
|
is_auto?: boolean;
|
|
12090
12512
|
is_complete?: boolean;
|
|
12513
|
+
layout_method?: string | null;
|
|
12091
12514
|
max_layers?: number | null;
|
|
12092
12515
|
moved_at?: string | null;
|
|
12093
12516
|
moved_from_moment_id?: string | null;
|
|
@@ -12536,12 +12959,69 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12536
12959
|
};
|
|
12537
12960
|
Relationships: [];
|
|
12538
12961
|
};
|
|
12539
|
-
|
|
12962
|
+
pakbon_barcode_inhoud: {
|
|
12540
12963
|
Row: {
|
|
12541
|
-
|
|
12542
|
-
|
|
12964
|
+
barcode: string;
|
|
12965
|
+
cart_id: string | null;
|
|
12966
|
+
cart_index: number | null;
|
|
12967
|
+
cart_label: string | null;
|
|
12968
|
+
cart_total: number | null;
|
|
12543
12969
|
created_at: string;
|
|
12544
|
-
|
|
12970
|
+
is_herprint: boolean;
|
|
12971
|
+
klant_naam: string | null;
|
|
12972
|
+
klant_nummer: string | null;
|
|
12973
|
+
layout_id: string | null;
|
|
12974
|
+
layout_variant: string | null;
|
|
12975
|
+
order_nummer: string | null;
|
|
12976
|
+
order_ref: string | null;
|
|
12977
|
+
print_job_id: string | null;
|
|
12978
|
+
regels: import("./types.js").Json;
|
|
12979
|
+
updated_at: string;
|
|
12980
|
+
};
|
|
12981
|
+
Insert: {
|
|
12982
|
+
barcode: string;
|
|
12983
|
+
cart_id?: string | null;
|
|
12984
|
+
cart_index?: number | null;
|
|
12985
|
+
cart_label?: string | null;
|
|
12986
|
+
cart_total?: number | null;
|
|
12987
|
+
created_at?: string;
|
|
12988
|
+
is_herprint?: boolean;
|
|
12989
|
+
klant_naam?: string | null;
|
|
12990
|
+
klant_nummer?: string | null;
|
|
12991
|
+
layout_id?: string | null;
|
|
12992
|
+
layout_variant?: string | null;
|
|
12993
|
+
order_nummer?: string | null;
|
|
12994
|
+
order_ref?: string | null;
|
|
12995
|
+
print_job_id?: string | null;
|
|
12996
|
+
regels?: import("./types.js").Json;
|
|
12997
|
+
updated_at?: string;
|
|
12998
|
+
};
|
|
12999
|
+
Update: {
|
|
13000
|
+
barcode?: string;
|
|
13001
|
+
cart_id?: string | null;
|
|
13002
|
+
cart_index?: number | null;
|
|
13003
|
+
cart_label?: string | null;
|
|
13004
|
+
cart_total?: number | null;
|
|
13005
|
+
created_at?: string;
|
|
13006
|
+
is_herprint?: boolean;
|
|
13007
|
+
klant_naam?: string | null;
|
|
13008
|
+
klant_nummer?: string | null;
|
|
13009
|
+
layout_id?: string | null;
|
|
13010
|
+
layout_variant?: string | null;
|
|
13011
|
+
order_nummer?: string | null;
|
|
13012
|
+
order_ref?: string | null;
|
|
13013
|
+
print_job_id?: string | null;
|
|
13014
|
+
regels?: import("./types.js").Json;
|
|
13015
|
+
updated_at?: string;
|
|
13016
|
+
};
|
|
13017
|
+
Relationships: [];
|
|
13018
|
+
};
|
|
13019
|
+
pick_countries: {
|
|
13020
|
+
Row: {
|
|
13021
|
+
active: boolean;
|
|
13022
|
+
code: string;
|
|
13023
|
+
created_at: string;
|
|
13024
|
+
flag: string | null;
|
|
12545
13025
|
id: string;
|
|
12546
13026
|
name: string;
|
|
12547
13027
|
sort_order: number;
|
|
@@ -12693,6 +13173,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12693
13173
|
print_job_id: string | null;
|
|
12694
13174
|
printed_at: string | null;
|
|
12695
13175
|
printed_by: string | null;
|
|
13176
|
+
printed_cart_ids: import("./types.js").Json;
|
|
12696
13177
|
printer_id: string | null;
|
|
12697
13178
|
priority: number;
|
|
12698
13179
|
reference: string | null;
|
|
@@ -12727,6 +13208,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12727
13208
|
print_job_id?: string | null;
|
|
12728
13209
|
printed_at?: string | null;
|
|
12729
13210
|
printed_by?: string | null;
|
|
13211
|
+
printed_cart_ids?: import("./types.js").Json;
|
|
12730
13212
|
printer_id?: string | null;
|
|
12731
13213
|
priority?: number;
|
|
12732
13214
|
reference?: string | null;
|
|
@@ -12761,6 +13243,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12761
13243
|
print_job_id?: string | null;
|
|
12762
13244
|
printed_at?: string | null;
|
|
12763
13245
|
printed_by?: string | null;
|
|
13246
|
+
printed_cart_ids?: import("./types.js").Json;
|
|
12764
13247
|
printer_id?: string | null;
|
|
12765
13248
|
priority?: number;
|
|
12766
13249
|
reference?: string | null;
|
|
@@ -13560,6 +14043,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13560
14043
|
isOneToOne: false;
|
|
13561
14044
|
referencedRelation: "planning_items";
|
|
13562
14045
|
referencedColumns: ["id"];
|
|
14046
|
+
}, {
|
|
14047
|
+
foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
|
|
14048
|
+
columns: ["planning_item_id"];
|
|
14049
|
+
isOneToOne: false;
|
|
14050
|
+
referencedRelation: "planning_overview";
|
|
14051
|
+
referencedColumns: ["id"];
|
|
13563
14052
|
}];
|
|
13564
14053
|
};
|
|
13565
14054
|
planning_items: {
|
|
@@ -14669,6 +15158,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14669
15158
|
created_at: string;
|
|
14670
15159
|
custom_fields: import("./types.js").Json;
|
|
14671
15160
|
floriday_trade_item_id: string | null;
|
|
15161
|
+
fust_type_id: string | null;
|
|
14672
15162
|
id: string;
|
|
14673
15163
|
image_url: string | null;
|
|
14674
15164
|
incoming_quantity: number;
|
|
@@ -14676,6 +15166,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14676
15166
|
layers_per_cart: number;
|
|
14677
15167
|
location: string;
|
|
14678
15168
|
min_quantity: number;
|
|
15169
|
+
plant_height_cm: number | null;
|
|
14679
15170
|
plants_per_crate: number;
|
|
14680
15171
|
product: string;
|
|
14681
15172
|
product_type: string;
|
|
@@ -14695,6 +15186,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14695
15186
|
created_at?: string;
|
|
14696
15187
|
custom_fields?: import("./types.js").Json;
|
|
14697
15188
|
floriday_trade_item_id?: string | null;
|
|
15189
|
+
fust_type_id?: string | null;
|
|
14698
15190
|
id?: string;
|
|
14699
15191
|
image_url?: string | null;
|
|
14700
15192
|
incoming_quantity?: number;
|
|
@@ -14702,6 +15194,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14702
15194
|
layers_per_cart?: number;
|
|
14703
15195
|
location: string;
|
|
14704
15196
|
min_quantity?: number;
|
|
15197
|
+
plant_height_cm?: number | null;
|
|
14705
15198
|
plants_per_crate?: number;
|
|
14706
15199
|
product: string;
|
|
14707
15200
|
product_type?: string;
|
|
@@ -14721,6 +15214,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14721
15214
|
created_at?: string;
|
|
14722
15215
|
custom_fields?: import("./types.js").Json;
|
|
14723
15216
|
floriday_trade_item_id?: string | null;
|
|
15217
|
+
fust_type_id?: string | null;
|
|
14724
15218
|
id?: string;
|
|
14725
15219
|
image_url?: string | null;
|
|
14726
15220
|
incoming_quantity?: number;
|
|
@@ -14728,6 +15222,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14728
15222
|
layers_per_cart?: number;
|
|
14729
15223
|
location?: string;
|
|
14730
15224
|
min_quantity?: number;
|
|
15225
|
+
plant_height_cm?: number | null;
|
|
14731
15226
|
plants_per_crate?: number;
|
|
14732
15227
|
product?: string;
|
|
14733
15228
|
product_type?: string;
|
|
@@ -14739,7 +15234,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14739
15234
|
updated_at?: string;
|
|
14740
15235
|
weight?: string | null;
|
|
14741
15236
|
};
|
|
14742
|
-
Relationships: [
|
|
15237
|
+
Relationships: [{
|
|
15238
|
+
foreignKeyName: "products_fust_type_id_fkey";
|
|
15239
|
+
columns: ["fust_type_id"];
|
|
15240
|
+
isOneToOne: false;
|
|
15241
|
+
referencedRelation: "fust_types";
|
|
15242
|
+
referencedColumns: ["id"];
|
|
15243
|
+
}];
|
|
14743
15244
|
};
|
|
14744
15245
|
profile_modules: {
|
|
14745
15246
|
Row: {
|
|
@@ -15137,642 +15638,198 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
15137
15638
|
referencedColumns: ["id"];
|
|
15138
15639
|
}];
|
|
15139
15640
|
};
|
|
15140
|
-
|
|
15641
|
+
reception_notifications: {
|
|
15141
15642
|
Row: {
|
|
15643
|
+
booking_id: string | null;
|
|
15142
15644
|
created_at: string;
|
|
15143
|
-
event_type: string;
|
|
15144
15645
|
id: string;
|
|
15145
|
-
|
|
15146
|
-
|
|
15147
|
-
|
|
15646
|
+
is_read: boolean;
|
|
15647
|
+
message: string;
|
|
15648
|
+
recipient_email: string | null;
|
|
15649
|
+
title: string;
|
|
15650
|
+
type: string;
|
|
15148
15651
|
};
|
|
15149
15652
|
Insert: {
|
|
15653
|
+
booking_id?: string | null;
|
|
15150
15654
|
created_at?: string;
|
|
15151
|
-
event_type: string;
|
|
15152
15655
|
id?: string;
|
|
15153
|
-
|
|
15154
|
-
|
|
15155
|
-
|
|
15656
|
+
is_read?: boolean;
|
|
15657
|
+
message: string;
|
|
15658
|
+
recipient_email?: string | null;
|
|
15659
|
+
title: string;
|
|
15660
|
+
type: string;
|
|
15156
15661
|
};
|
|
15157
15662
|
Update: {
|
|
15663
|
+
booking_id?: string | null;
|
|
15158
15664
|
created_at?: string;
|
|
15159
|
-
event_type?: string;
|
|
15160
15665
|
id?: string;
|
|
15161
|
-
|
|
15162
|
-
|
|
15163
|
-
|
|
15666
|
+
is_read?: boolean;
|
|
15667
|
+
message?: string;
|
|
15668
|
+
recipient_email?: string | null;
|
|
15669
|
+
title?: string;
|
|
15670
|
+
type?: string;
|
|
15164
15671
|
};
|
|
15165
15672
|
Relationships: [{
|
|
15166
|
-
foreignKeyName: "
|
|
15167
|
-
columns: ["
|
|
15673
|
+
foreignKeyName: "reception_notifications_booking_id_fkey";
|
|
15674
|
+
columns: ["booking_id"];
|
|
15168
15675
|
isOneToOne: false;
|
|
15169
|
-
referencedRelation: "
|
|
15676
|
+
referencedRelation: "bookings";
|
|
15170
15677
|
referencedColumns: ["id"];
|
|
15171
15678
|
}];
|
|
15172
15679
|
};
|
|
15173
|
-
|
|
15680
|
+
role_assignments: {
|
|
15174
15681
|
Row: {
|
|
15175
15682
|
created_at: string;
|
|
15176
|
-
file_name: string;
|
|
15177
|
-
file_size: number | null;
|
|
15178
|
-
file_url: string;
|
|
15179
15683
|
id: string;
|
|
15180
|
-
|
|
15181
|
-
|
|
15684
|
+
role_id: string;
|
|
15685
|
+
user_id: string;
|
|
15182
15686
|
};
|
|
15183
15687
|
Insert: {
|
|
15184
15688
|
created_at?: string;
|
|
15185
|
-
file_name: string;
|
|
15186
|
-
file_size?: number | null;
|
|
15187
|
-
file_url: string;
|
|
15188
15689
|
id?: string;
|
|
15189
|
-
|
|
15190
|
-
|
|
15690
|
+
role_id: string;
|
|
15691
|
+
user_id: string;
|
|
15191
15692
|
};
|
|
15192
15693
|
Update: {
|
|
15193
15694
|
created_at?: string;
|
|
15194
|
-
file_name?: string;
|
|
15195
|
-
file_size?: number | null;
|
|
15196
|
-
file_url?: string;
|
|
15197
15695
|
id?: string;
|
|
15198
|
-
|
|
15199
|
-
|
|
15696
|
+
role_id?: string;
|
|
15697
|
+
user_id?: string;
|
|
15200
15698
|
};
|
|
15201
15699
|
Relationships: [{
|
|
15202
|
-
foreignKeyName: "
|
|
15203
|
-
columns: ["
|
|
15700
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
15701
|
+
columns: ["role_id"];
|
|
15204
15702
|
isOneToOne: false;
|
|
15205
|
-
referencedRelation: "
|
|
15703
|
+
referencedRelation: "roles";
|
|
15206
15704
|
referencedColumns: ["id"];
|
|
15207
15705
|
}];
|
|
15208
15706
|
};
|
|
15209
|
-
|
|
15707
|
+
role_permissions: {
|
|
15210
15708
|
Row: {
|
|
15211
|
-
|
|
15212
|
-
|
|
15709
|
+
can_edit: boolean;
|
|
15710
|
+
can_view: boolean;
|
|
15711
|
+
feature_id: string;
|
|
15213
15712
|
id: string;
|
|
15214
|
-
|
|
15215
|
-
|
|
15216
|
-
|
|
15713
|
+
module_id: string;
|
|
15714
|
+
role_id: string;
|
|
15715
|
+
updated_at: string;
|
|
15217
15716
|
};
|
|
15218
15717
|
Insert: {
|
|
15219
|
-
|
|
15220
|
-
|
|
15718
|
+
can_edit?: boolean;
|
|
15719
|
+
can_view?: boolean;
|
|
15720
|
+
feature_id?: string;
|
|
15221
15721
|
id?: string;
|
|
15222
|
-
|
|
15223
|
-
|
|
15224
|
-
|
|
15722
|
+
module_id: string;
|
|
15723
|
+
role_id: string;
|
|
15724
|
+
updated_at?: string;
|
|
15225
15725
|
};
|
|
15226
15726
|
Update: {
|
|
15227
|
-
|
|
15228
|
-
|
|
15727
|
+
can_edit?: boolean;
|
|
15728
|
+
can_view?: boolean;
|
|
15729
|
+
feature_id?: string;
|
|
15229
15730
|
id?: string;
|
|
15230
|
-
|
|
15231
|
-
|
|
15232
|
-
|
|
15731
|
+
module_id?: string;
|
|
15732
|
+
role_id?: string;
|
|
15733
|
+
updated_at?: string;
|
|
15233
15734
|
};
|
|
15234
15735
|
Relationships: [{
|
|
15235
|
-
foreignKeyName: "
|
|
15236
|
-
columns: ["
|
|
15736
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
15737
|
+
columns: ["role_id"];
|
|
15237
15738
|
isOneToOne: false;
|
|
15238
|
-
referencedRelation: "
|
|
15739
|
+
referencedRelation: "roles";
|
|
15239
15740
|
referencedColumns: ["id"];
|
|
15240
15741
|
}];
|
|
15241
15742
|
};
|
|
15242
|
-
|
|
15743
|
+
roles: {
|
|
15243
15744
|
Row: {
|
|
15244
15745
|
created_at: string;
|
|
15245
|
-
default_value: string | null;
|
|
15246
|
-
field_key: string;
|
|
15247
|
-
field_type: string;
|
|
15248
15746
|
id: string;
|
|
15249
|
-
|
|
15250
|
-
|
|
15251
|
-
|
|
15252
|
-
sort_order: number;
|
|
15747
|
+
is_protected: boolean;
|
|
15748
|
+
key: string;
|
|
15749
|
+
name: string;
|
|
15253
15750
|
updated_at: string;
|
|
15254
|
-
visible: boolean;
|
|
15255
15751
|
};
|
|
15256
15752
|
Insert: {
|
|
15257
15753
|
created_at?: string;
|
|
15258
|
-
default_value?: string | null;
|
|
15259
|
-
field_key: string;
|
|
15260
|
-
field_type: string;
|
|
15261
15754
|
id?: string;
|
|
15262
|
-
|
|
15263
|
-
|
|
15264
|
-
|
|
15265
|
-
sort_order?: number;
|
|
15755
|
+
is_protected?: boolean;
|
|
15756
|
+
key: string;
|
|
15757
|
+
name: string;
|
|
15266
15758
|
updated_at?: string;
|
|
15267
|
-
visible?: boolean;
|
|
15268
15759
|
};
|
|
15269
15760
|
Update: {
|
|
15270
15761
|
created_at?: string;
|
|
15271
|
-
default_value?: string | null;
|
|
15272
|
-
field_key?: string;
|
|
15273
|
-
field_type?: string;
|
|
15274
15762
|
id?: string;
|
|
15275
|
-
|
|
15276
|
-
|
|
15277
|
-
|
|
15278
|
-
sort_order?: number;
|
|
15763
|
+
is_protected?: boolean;
|
|
15764
|
+
key?: string;
|
|
15765
|
+
name?: string;
|
|
15279
15766
|
updated_at?: string;
|
|
15280
|
-
visible?: boolean;
|
|
15281
15767
|
};
|
|
15282
15768
|
Relationships: [];
|
|
15283
15769
|
};
|
|
15284
|
-
|
|
15285
|
-
Row: {
|
|
15286
|
-
category: string | null;
|
|
15287
|
-
created_at: string;
|
|
15288
|
-
description: string;
|
|
15289
|
-
id: string;
|
|
15290
|
-
line_total: number;
|
|
15291
|
-
module_id: string | null;
|
|
15292
|
-
name: string | null;
|
|
15293
|
-
quantity: number;
|
|
15294
|
-
quote_id: string;
|
|
15295
|
-
sort_order: number;
|
|
15296
|
-
unit_price: number;
|
|
15297
|
-
};
|
|
15298
|
-
Insert: {
|
|
15299
|
-
category?: string | null;
|
|
15300
|
-
created_at?: string;
|
|
15301
|
-
description?: string;
|
|
15302
|
-
id?: string;
|
|
15303
|
-
line_total?: number;
|
|
15304
|
-
module_id?: string | null;
|
|
15305
|
-
name?: string | null;
|
|
15306
|
-
quantity?: number;
|
|
15307
|
-
quote_id: string;
|
|
15308
|
-
sort_order?: number;
|
|
15309
|
-
unit_price?: number;
|
|
15310
|
-
};
|
|
15311
|
-
Update: {
|
|
15312
|
-
category?: string | null;
|
|
15313
|
-
created_at?: string;
|
|
15314
|
-
description?: string;
|
|
15315
|
-
id?: string;
|
|
15316
|
-
line_total?: number;
|
|
15317
|
-
module_id?: string | null;
|
|
15318
|
-
name?: string | null;
|
|
15319
|
-
quantity?: number;
|
|
15320
|
-
quote_id?: string;
|
|
15321
|
-
sort_order?: number;
|
|
15322
|
-
unit_price?: number;
|
|
15323
|
-
};
|
|
15324
|
-
Relationships: [{
|
|
15325
|
-
foreignKeyName: "quote_items_module_id_fkey";
|
|
15326
|
-
columns: ["module_id"];
|
|
15327
|
-
isOneToOne: false;
|
|
15328
|
-
referencedRelation: "quote_modules";
|
|
15329
|
-
referencedColumns: ["id"];
|
|
15330
|
-
}, {
|
|
15331
|
-
foreignKeyName: "quote_items_quote_id_fkey";
|
|
15332
|
-
columns: ["quote_id"];
|
|
15333
|
-
isOneToOne: false;
|
|
15334
|
-
referencedRelation: "quotes";
|
|
15335
|
-
referencedColumns: ["id"];
|
|
15336
|
-
}];
|
|
15337
|
-
};
|
|
15338
|
-
quote_modules: {
|
|
15770
|
+
rooms: {
|
|
15339
15771
|
Row: {
|
|
15340
|
-
|
|
15772
|
+
capacity: number;
|
|
15773
|
+
color_code: string | null;
|
|
15341
15774
|
created_at: string;
|
|
15342
15775
|
description: string | null;
|
|
15776
|
+
hourly_rate: number;
|
|
15343
15777
|
id: string;
|
|
15778
|
+
image_url: string | null;
|
|
15344
15779
|
is_active: boolean;
|
|
15345
15780
|
name: string;
|
|
15346
|
-
price: number;
|
|
15347
|
-
sort_order: number;
|
|
15348
|
-
updated_at: string;
|
|
15349
15781
|
};
|
|
15350
15782
|
Insert: {
|
|
15351
|
-
|
|
15783
|
+
capacity?: number;
|
|
15784
|
+
color_code?: string | null;
|
|
15352
15785
|
created_at?: string;
|
|
15353
15786
|
description?: string | null;
|
|
15787
|
+
hourly_rate?: number;
|
|
15354
15788
|
id?: string;
|
|
15789
|
+
image_url?: string | null;
|
|
15355
15790
|
is_active?: boolean;
|
|
15356
15791
|
name: string;
|
|
15357
|
-
price?: number;
|
|
15358
|
-
sort_order?: number;
|
|
15359
|
-
updated_at?: string;
|
|
15360
15792
|
};
|
|
15361
15793
|
Update: {
|
|
15362
|
-
|
|
15794
|
+
capacity?: number;
|
|
15795
|
+
color_code?: string | null;
|
|
15363
15796
|
created_at?: string;
|
|
15364
15797
|
description?: string | null;
|
|
15798
|
+
hourly_rate?: number;
|
|
15365
15799
|
id?: string;
|
|
15800
|
+
image_url?: string | null;
|
|
15366
15801
|
is_active?: boolean;
|
|
15367
15802
|
name?: string;
|
|
15368
|
-
price?: number;
|
|
15369
|
-
sort_order?: number;
|
|
15370
|
-
updated_at?: string;
|
|
15371
15803
|
};
|
|
15372
15804
|
Relationships: [];
|
|
15373
15805
|
};
|
|
15374
|
-
|
|
15806
|
+
scan_kar_items: {
|
|
15375
15807
|
Row: {
|
|
15376
|
-
|
|
15377
|
-
description: string | null;
|
|
15378
|
-
field_values: import("./types.js").Json;
|
|
15808
|
+
barcode: string;
|
|
15379
15809
|
id: string;
|
|
15380
|
-
|
|
15381
|
-
|
|
15382
|
-
|
|
15383
|
-
|
|
15384
|
-
|
|
15810
|
+
kar_id: string;
|
|
15811
|
+
pakbon_id: string;
|
|
15812
|
+
pakbon_item_id: string;
|
|
15813
|
+
product_id: string | null;
|
|
15814
|
+
product_name: string;
|
|
15815
|
+
quantity: number;
|
|
15816
|
+
scanned_at: string;
|
|
15817
|
+
scanned_by: string | null;
|
|
15385
15818
|
};
|
|
15386
15819
|
Insert: {
|
|
15387
|
-
|
|
15388
|
-
description?: string | null;
|
|
15389
|
-
field_values?: import("./types.js").Json;
|
|
15820
|
+
barcode: string;
|
|
15390
15821
|
id?: string;
|
|
15391
|
-
|
|
15392
|
-
|
|
15393
|
-
|
|
15394
|
-
|
|
15395
|
-
|
|
15822
|
+
kar_id: string;
|
|
15823
|
+
pakbon_id: string;
|
|
15824
|
+
pakbon_item_id: string;
|
|
15825
|
+
product_id?: string | null;
|
|
15826
|
+
product_name: string;
|
|
15827
|
+
quantity?: number;
|
|
15828
|
+
scanned_at?: string;
|
|
15829
|
+
scanned_by?: string | null;
|
|
15396
15830
|
};
|
|
15397
15831
|
Update: {
|
|
15398
|
-
|
|
15399
|
-
description?: string | null;
|
|
15400
|
-
field_values?: import("./types.js").Json;
|
|
15401
|
-
id?: string;
|
|
15402
|
-
is_default?: boolean;
|
|
15403
|
-
items?: import("./types.js").Json;
|
|
15404
|
-
name?: string;
|
|
15405
|
-
updated_at?: string;
|
|
15406
|
-
vat_rate?: number;
|
|
15407
|
-
};
|
|
15408
|
-
Relationships: [];
|
|
15409
|
-
};
|
|
15410
|
-
quote_terms: {
|
|
15411
|
-
Row: {
|
|
15412
|
-
content: string | null;
|
|
15413
|
-
created_at: string;
|
|
15414
|
-
file_url: string | null;
|
|
15415
|
-
id: string;
|
|
15416
|
-
is_active: boolean;
|
|
15417
|
-
name: string;
|
|
15418
|
-
published_at: string | null;
|
|
15419
|
-
updated_at: string;
|
|
15420
|
-
version: string;
|
|
15421
|
-
};
|
|
15422
|
-
Insert: {
|
|
15423
|
-
content?: string | null;
|
|
15424
|
-
created_at?: string;
|
|
15425
|
-
file_url?: string | null;
|
|
15426
|
-
id?: string;
|
|
15427
|
-
is_active?: boolean;
|
|
15428
|
-
name: string;
|
|
15429
|
-
published_at?: string | null;
|
|
15430
|
-
updated_at?: string;
|
|
15431
|
-
version?: string;
|
|
15432
|
-
};
|
|
15433
|
-
Update: {
|
|
15434
|
-
content?: string | null;
|
|
15435
|
-
created_at?: string;
|
|
15436
|
-
file_url?: string | null;
|
|
15437
|
-
id?: string;
|
|
15438
|
-
is_active?: boolean;
|
|
15439
|
-
name?: string;
|
|
15440
|
-
published_at?: string | null;
|
|
15441
|
-
updated_at?: string;
|
|
15442
|
-
version?: string;
|
|
15443
|
-
};
|
|
15444
|
-
Relationships: [];
|
|
15445
|
-
};
|
|
15446
|
-
quotes: {
|
|
15447
|
-
Row: {
|
|
15448
|
-
accepted_at: string | null;
|
|
15449
|
-
archived_at: string | null;
|
|
15450
|
-
contact_id: string | null;
|
|
15451
|
-
created_at: string;
|
|
15452
|
-
customer_id: string | null;
|
|
15453
|
-
discount: number;
|
|
15454
|
-
expires_at: string | null;
|
|
15455
|
-
field_values: import("./types.js").Json;
|
|
15456
|
-
id: string;
|
|
15457
|
-
notes: string | null;
|
|
15458
|
-
owner_id: string | null;
|
|
15459
|
-
personal_message: string | null;
|
|
15460
|
-
project_id: string | null;
|
|
15461
|
-
prospect_id: string | null;
|
|
15462
|
-
public_token: string;
|
|
15463
|
-
quote_number: string | null;
|
|
15464
|
-
recipient_email: string | null;
|
|
15465
|
-
recipient_name: string | null;
|
|
15466
|
-
rejected_at: string | null;
|
|
15467
|
-
sent_at: string | null;
|
|
15468
|
-
status: string;
|
|
15469
|
-
subtotal: number;
|
|
15470
|
-
template_id: string | null;
|
|
15471
|
-
terms_id: string | null;
|
|
15472
|
-
title: string;
|
|
15473
|
-
total: number;
|
|
15474
|
-
updated_at: string;
|
|
15475
|
-
valid_until: string | null;
|
|
15476
|
-
vat_amount: number;
|
|
15477
|
-
vat_rate: number;
|
|
15478
|
-
viewed_at: string | null;
|
|
15479
|
-
};
|
|
15480
|
-
Insert: {
|
|
15481
|
-
accepted_at?: string | null;
|
|
15482
|
-
archived_at?: string | null;
|
|
15483
|
-
contact_id?: string | null;
|
|
15484
|
-
created_at?: string;
|
|
15485
|
-
customer_id?: string | null;
|
|
15486
|
-
discount?: number;
|
|
15487
|
-
expires_at?: string | null;
|
|
15488
|
-
field_values?: import("./types.js").Json;
|
|
15489
|
-
id?: string;
|
|
15490
|
-
notes?: string | null;
|
|
15491
|
-
owner_id?: string | null;
|
|
15492
|
-
personal_message?: string | null;
|
|
15493
|
-
project_id?: string | null;
|
|
15494
|
-
prospect_id?: string | null;
|
|
15495
|
-
public_token?: string;
|
|
15496
|
-
quote_number?: string | null;
|
|
15497
|
-
recipient_email?: string | null;
|
|
15498
|
-
recipient_name?: string | null;
|
|
15499
|
-
rejected_at?: string | null;
|
|
15500
|
-
sent_at?: string | null;
|
|
15501
|
-
status?: string;
|
|
15502
|
-
subtotal?: number;
|
|
15503
|
-
template_id?: string | null;
|
|
15504
|
-
terms_id?: string | null;
|
|
15505
|
-
title?: string;
|
|
15506
|
-
total?: number;
|
|
15507
|
-
updated_at?: string;
|
|
15508
|
-
valid_until?: string | null;
|
|
15509
|
-
vat_amount?: number;
|
|
15510
|
-
vat_rate?: number;
|
|
15511
|
-
viewed_at?: string | null;
|
|
15512
|
-
};
|
|
15513
|
-
Update: {
|
|
15514
|
-
accepted_at?: string | null;
|
|
15515
|
-
archived_at?: string | null;
|
|
15516
|
-
contact_id?: string | null;
|
|
15517
|
-
created_at?: string;
|
|
15518
|
-
customer_id?: string | null;
|
|
15519
|
-
discount?: number;
|
|
15520
|
-
expires_at?: string | null;
|
|
15521
|
-
field_values?: import("./types.js").Json;
|
|
15522
|
-
id?: string;
|
|
15523
|
-
notes?: string | null;
|
|
15524
|
-
owner_id?: string | null;
|
|
15525
|
-
personal_message?: string | null;
|
|
15526
|
-
project_id?: string | null;
|
|
15527
|
-
prospect_id?: string | null;
|
|
15528
|
-
public_token?: string;
|
|
15529
|
-
quote_number?: string | null;
|
|
15530
|
-
recipient_email?: string | null;
|
|
15531
|
-
recipient_name?: string | null;
|
|
15532
|
-
rejected_at?: string | null;
|
|
15533
|
-
sent_at?: string | null;
|
|
15534
|
-
status?: string;
|
|
15535
|
-
subtotal?: number;
|
|
15536
|
-
template_id?: string | null;
|
|
15537
|
-
terms_id?: string | null;
|
|
15538
|
-
title?: string;
|
|
15539
|
-
total?: number;
|
|
15540
|
-
updated_at?: string;
|
|
15541
|
-
valid_until?: string | null;
|
|
15542
|
-
vat_amount?: number;
|
|
15543
|
-
vat_rate?: number;
|
|
15544
|
-
viewed_at?: string | null;
|
|
15545
|
-
};
|
|
15546
|
-
Relationships: [{
|
|
15547
|
-
foreignKeyName: "quotes_contact_id_fkey";
|
|
15548
|
-
columns: ["contact_id"];
|
|
15549
|
-
isOneToOne: false;
|
|
15550
|
-
referencedRelation: "customer_contacts";
|
|
15551
|
-
referencedColumns: ["id"];
|
|
15552
|
-
}, {
|
|
15553
|
-
foreignKeyName: "quotes_customer_id_fkey";
|
|
15554
|
-
columns: ["customer_id"];
|
|
15555
|
-
isOneToOne: false;
|
|
15556
|
-
referencedRelation: "customers";
|
|
15557
|
-
referencedColumns: ["id"];
|
|
15558
|
-
}, {
|
|
15559
|
-
foreignKeyName: "quotes_project_id_fkey";
|
|
15560
|
-
columns: ["project_id"];
|
|
15561
|
-
isOneToOne: false;
|
|
15562
|
-
referencedRelation: "projects";
|
|
15563
|
-
referencedColumns: ["id"];
|
|
15564
|
-
}, {
|
|
15565
|
-
foreignKeyName: "quotes_prospect_id_fkey";
|
|
15566
|
-
columns: ["prospect_id"];
|
|
15567
|
-
isOneToOne: false;
|
|
15568
|
-
referencedRelation: "prospects";
|
|
15569
|
-
referencedColumns: ["id"];
|
|
15570
|
-
}, {
|
|
15571
|
-
foreignKeyName: "quotes_template_id_fkey";
|
|
15572
|
-
columns: ["template_id"];
|
|
15573
|
-
isOneToOne: false;
|
|
15574
|
-
referencedRelation: "quote_templates";
|
|
15575
|
-
referencedColumns: ["id"];
|
|
15576
|
-
}, {
|
|
15577
|
-
foreignKeyName: "quotes_terms_id_fkey";
|
|
15578
|
-
columns: ["terms_id"];
|
|
15579
|
-
isOneToOne: false;
|
|
15580
|
-
referencedRelation: "quote_terms";
|
|
15581
|
-
referencedColumns: ["id"];
|
|
15582
|
-
}];
|
|
15583
|
-
};
|
|
15584
|
-
reception_notifications: {
|
|
15585
|
-
Row: {
|
|
15586
|
-
booking_id: string | null;
|
|
15587
|
-
created_at: string;
|
|
15588
|
-
id: string;
|
|
15589
|
-
is_read: boolean;
|
|
15590
|
-
message: string;
|
|
15591
|
-
recipient_email: string | null;
|
|
15592
|
-
title: string;
|
|
15593
|
-
type: string;
|
|
15594
|
-
};
|
|
15595
|
-
Insert: {
|
|
15596
|
-
booking_id?: string | null;
|
|
15597
|
-
created_at?: string;
|
|
15598
|
-
id?: string;
|
|
15599
|
-
is_read?: boolean;
|
|
15600
|
-
message: string;
|
|
15601
|
-
recipient_email?: string | null;
|
|
15602
|
-
title: string;
|
|
15603
|
-
type: string;
|
|
15604
|
-
};
|
|
15605
|
-
Update: {
|
|
15606
|
-
booking_id?: string | null;
|
|
15607
|
-
created_at?: string;
|
|
15608
|
-
id?: string;
|
|
15609
|
-
is_read?: boolean;
|
|
15610
|
-
message?: string;
|
|
15611
|
-
recipient_email?: string | null;
|
|
15612
|
-
title?: string;
|
|
15613
|
-
type?: string;
|
|
15614
|
-
};
|
|
15615
|
-
Relationships: [{
|
|
15616
|
-
foreignKeyName: "reception_notifications_booking_id_fkey";
|
|
15617
|
-
columns: ["booking_id"];
|
|
15618
|
-
isOneToOne: false;
|
|
15619
|
-
referencedRelation: "bookings";
|
|
15620
|
-
referencedColumns: ["id"];
|
|
15621
|
-
}];
|
|
15622
|
-
};
|
|
15623
|
-
role_assignments: {
|
|
15624
|
-
Row: {
|
|
15625
|
-
created_at: string;
|
|
15626
|
-
id: string;
|
|
15627
|
-
role_id: string;
|
|
15628
|
-
user_id: string;
|
|
15629
|
-
};
|
|
15630
|
-
Insert: {
|
|
15631
|
-
created_at?: string;
|
|
15632
|
-
id?: string;
|
|
15633
|
-
role_id: string;
|
|
15634
|
-
user_id: string;
|
|
15635
|
-
};
|
|
15636
|
-
Update: {
|
|
15637
|
-
created_at?: string;
|
|
15638
|
-
id?: string;
|
|
15639
|
-
role_id?: string;
|
|
15640
|
-
user_id?: string;
|
|
15641
|
-
};
|
|
15642
|
-
Relationships: [{
|
|
15643
|
-
foreignKeyName: "role_assignments_role_id_fkey";
|
|
15644
|
-
columns: ["role_id"];
|
|
15645
|
-
isOneToOne: false;
|
|
15646
|
-
referencedRelation: "roles";
|
|
15647
|
-
referencedColumns: ["id"];
|
|
15648
|
-
}];
|
|
15649
|
-
};
|
|
15650
|
-
role_permissions: {
|
|
15651
|
-
Row: {
|
|
15652
|
-
can_edit: boolean;
|
|
15653
|
-
can_view: boolean;
|
|
15654
|
-
feature_id: string;
|
|
15655
|
-
id: string;
|
|
15656
|
-
module_id: string;
|
|
15657
|
-
role_id: string;
|
|
15658
|
-
updated_at: string;
|
|
15659
|
-
};
|
|
15660
|
-
Insert: {
|
|
15661
|
-
can_edit?: boolean;
|
|
15662
|
-
can_view?: boolean;
|
|
15663
|
-
feature_id?: string;
|
|
15664
|
-
id?: string;
|
|
15665
|
-
module_id: string;
|
|
15666
|
-
role_id: string;
|
|
15667
|
-
updated_at?: string;
|
|
15668
|
-
};
|
|
15669
|
-
Update: {
|
|
15670
|
-
can_edit?: boolean;
|
|
15671
|
-
can_view?: boolean;
|
|
15672
|
-
feature_id?: string;
|
|
15673
|
-
id?: string;
|
|
15674
|
-
module_id?: string;
|
|
15675
|
-
role_id?: string;
|
|
15676
|
-
updated_at?: string;
|
|
15677
|
-
};
|
|
15678
|
-
Relationships: [{
|
|
15679
|
-
foreignKeyName: "role_permissions_role_id_fkey";
|
|
15680
|
-
columns: ["role_id"];
|
|
15681
|
-
isOneToOne: false;
|
|
15682
|
-
referencedRelation: "roles";
|
|
15683
|
-
referencedColumns: ["id"];
|
|
15684
|
-
}];
|
|
15685
|
-
};
|
|
15686
|
-
roles: {
|
|
15687
|
-
Row: {
|
|
15688
|
-
created_at: string;
|
|
15689
|
-
id: string;
|
|
15690
|
-
is_protected: boolean;
|
|
15691
|
-
key: string;
|
|
15692
|
-
name: string;
|
|
15693
|
-
updated_at: string;
|
|
15694
|
-
};
|
|
15695
|
-
Insert: {
|
|
15696
|
-
created_at?: string;
|
|
15697
|
-
id?: string;
|
|
15698
|
-
is_protected?: boolean;
|
|
15699
|
-
key: string;
|
|
15700
|
-
name: string;
|
|
15701
|
-
updated_at?: string;
|
|
15702
|
-
};
|
|
15703
|
-
Update: {
|
|
15704
|
-
created_at?: string;
|
|
15705
|
-
id?: string;
|
|
15706
|
-
is_protected?: boolean;
|
|
15707
|
-
key?: string;
|
|
15708
|
-
name?: string;
|
|
15709
|
-
updated_at?: string;
|
|
15710
|
-
};
|
|
15711
|
-
Relationships: [];
|
|
15712
|
-
};
|
|
15713
|
-
rooms: {
|
|
15714
|
-
Row: {
|
|
15715
|
-
capacity: number;
|
|
15716
|
-
color_code: string | null;
|
|
15717
|
-
created_at: string;
|
|
15718
|
-
description: string | null;
|
|
15719
|
-
hourly_rate: number;
|
|
15720
|
-
id: string;
|
|
15721
|
-
image_url: string | null;
|
|
15722
|
-
is_active: boolean;
|
|
15723
|
-
name: string;
|
|
15724
|
-
};
|
|
15725
|
-
Insert: {
|
|
15726
|
-
capacity?: number;
|
|
15727
|
-
color_code?: string | null;
|
|
15728
|
-
created_at?: string;
|
|
15729
|
-
description?: string | null;
|
|
15730
|
-
hourly_rate?: number;
|
|
15731
|
-
id?: string;
|
|
15732
|
-
image_url?: string | null;
|
|
15733
|
-
is_active?: boolean;
|
|
15734
|
-
name: string;
|
|
15735
|
-
};
|
|
15736
|
-
Update: {
|
|
15737
|
-
capacity?: number;
|
|
15738
|
-
color_code?: string | null;
|
|
15739
|
-
created_at?: string;
|
|
15740
|
-
description?: string | null;
|
|
15741
|
-
hourly_rate?: number;
|
|
15742
|
-
id?: string;
|
|
15743
|
-
image_url?: string | null;
|
|
15744
|
-
is_active?: boolean;
|
|
15745
|
-
name?: string;
|
|
15746
|
-
};
|
|
15747
|
-
Relationships: [];
|
|
15748
|
-
};
|
|
15749
|
-
scan_kar_items: {
|
|
15750
|
-
Row: {
|
|
15751
|
-
barcode: string;
|
|
15752
|
-
id: string;
|
|
15753
|
-
kar_id: string;
|
|
15754
|
-
pakbon_id: string;
|
|
15755
|
-
pakbon_item_id: string;
|
|
15756
|
-
product_id: string | null;
|
|
15757
|
-
product_name: string;
|
|
15758
|
-
quantity: number;
|
|
15759
|
-
scanned_at: string;
|
|
15760
|
-
scanned_by: string | null;
|
|
15761
|
-
};
|
|
15762
|
-
Insert: {
|
|
15763
|
-
barcode: string;
|
|
15764
|
-
id?: string;
|
|
15765
|
-
kar_id: string;
|
|
15766
|
-
pakbon_id: string;
|
|
15767
|
-
pakbon_item_id: string;
|
|
15768
|
-
product_id?: string | null;
|
|
15769
|
-
product_name: string;
|
|
15770
|
-
quantity?: number;
|
|
15771
|
-
scanned_at?: string;
|
|
15772
|
-
scanned_by?: string | null;
|
|
15773
|
-
};
|
|
15774
|
-
Update: {
|
|
15775
|
-
barcode?: string;
|
|
15832
|
+
barcode?: string;
|
|
15776
15833
|
id?: string;
|
|
15777
15834
|
kar_id?: string;
|
|
15778
15835
|
pakbon_id?: string;
|
|
@@ -16702,7 +16759,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16702
16759
|
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
16703
16760
|
columns: ["work_order_id"];
|
|
16704
16761
|
isOneToOne: false;
|
|
16705
|
-
referencedRelation: "
|
|
16762
|
+
referencedRelation: "werkbonnen";
|
|
16706
16763
|
referencedColumns: ["id"];
|
|
16707
16764
|
}];
|
|
16708
16765
|
};
|
|
@@ -16834,6 +16891,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16834
16891
|
};
|
|
16835
16892
|
trade_item_stock: {
|
|
16836
16893
|
Row: {
|
|
16894
|
+
change_source: string;
|
|
16837
16895
|
connection_id: string;
|
|
16838
16896
|
created_at: string;
|
|
16839
16897
|
id: string;
|
|
@@ -16847,6 +16905,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16847
16905
|
user_id: string;
|
|
16848
16906
|
};
|
|
16849
16907
|
Insert: {
|
|
16908
|
+
change_source?: string;
|
|
16850
16909
|
connection_id: string;
|
|
16851
16910
|
created_at?: string;
|
|
16852
16911
|
id?: string;
|
|
@@ -16860,6 +16919,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16860
16919
|
user_id: string;
|
|
16861
16920
|
};
|
|
16862
16921
|
Update: {
|
|
16922
|
+
change_source?: string;
|
|
16863
16923
|
connection_id?: string;
|
|
16864
16924
|
created_at?: string;
|
|
16865
16925
|
id?: string;
|
|
@@ -17919,266 +17979,116 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17919
17979
|
created_at?: string;
|
|
17920
17980
|
daily_threshold_hours?: number | null;
|
|
17921
17981
|
id?: string;
|
|
17922
|
-
include_travel?: boolean | null;
|
|
17923
|
-
monteur_id: string;
|
|
17924
|
-
ov02_percentage?: number | null;
|
|
17925
|
-
ov03_percentage?: number | null;
|
|
17926
|
-
updated_at?: string;
|
|
17927
|
-
weekly_threshold_hours?: number | null;
|
|
17928
|
-
workday_end?: string | null;
|
|
17929
|
-
workday_start?: string | null;
|
|
17930
|
-
};
|
|
17931
|
-
Update: {
|
|
17932
|
-
break_minutes?: number | null;
|
|
17933
|
-
contract_hours_per_week?: number;
|
|
17934
|
-
created_at?: string;
|
|
17935
|
-
daily_threshold_hours?: number | null;
|
|
17936
|
-
id?: string;
|
|
17937
|
-
include_travel?: boolean | null;
|
|
17938
|
-
monteur_id?: string;
|
|
17939
|
-
ov02_percentage?: number | null;
|
|
17940
|
-
ov03_percentage?: number | null;
|
|
17941
|
-
updated_at?: string;
|
|
17942
|
-
weekly_threshold_hours?: number | null;
|
|
17943
|
-
workday_end?: string | null;
|
|
17944
|
-
workday_start?: string | null;
|
|
17945
|
-
};
|
|
17946
|
-
Relationships: [];
|
|
17947
|
-
};
|
|
17948
|
-
uren_entries: {
|
|
17949
|
-
Row: {
|
|
17950
|
-
created_at: string;
|
|
17951
|
-
created_by: string | null;
|
|
17952
|
-
entry_date: string;
|
|
17953
|
-
hours: number;
|
|
17954
|
-
id: string;
|
|
17955
|
-
kind: string;
|
|
17956
|
-
monteur_id: string;
|
|
17957
|
-
note: string | null;
|
|
17958
|
-
source: string;
|
|
17959
|
-
travel_km: number;
|
|
17960
|
-
updated_at: string;
|
|
17961
|
-
werkbon_id: string | null;
|
|
17962
|
-
};
|
|
17963
|
-
Insert: {
|
|
17964
|
-
created_at?: string;
|
|
17965
|
-
created_by?: string | null;
|
|
17966
|
-
entry_date: string;
|
|
17967
|
-
hours?: number;
|
|
17968
|
-
id?: string;
|
|
17969
|
-
kind?: string;
|
|
17970
|
-
monteur_id: string;
|
|
17971
|
-
note?: string | null;
|
|
17972
|
-
source?: string;
|
|
17973
|
-
travel_km?: number;
|
|
17974
|
-
updated_at?: string;
|
|
17975
|
-
werkbon_id?: string | null;
|
|
17976
|
-
};
|
|
17977
|
-
Update: {
|
|
17978
|
-
created_at?: string;
|
|
17979
|
-
created_by?: string | null;
|
|
17980
|
-
entry_date?: string;
|
|
17981
|
-
hours?: number;
|
|
17982
|
-
id?: string;
|
|
17983
|
-
kind?: string;
|
|
17984
|
-
monteur_id?: string;
|
|
17985
|
-
note?: string | null;
|
|
17986
|
-
source?: string;
|
|
17987
|
-
travel_km?: number;
|
|
17988
|
-
updated_at?: string;
|
|
17989
|
-
werkbon_id?: string | null;
|
|
17990
|
-
};
|
|
17991
|
-
Relationships: [{
|
|
17992
|
-
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
17993
|
-
columns: ["werkbon_id"];
|
|
17994
|
-
isOneToOne: false;
|
|
17995
|
-
referencedRelation: "werkbonnen";
|
|
17996
|
-
referencedColumns: ["id"];
|
|
17997
|
-
}];
|
|
17998
|
-
};
|
|
17999
|
-
uren_exports: {
|
|
18000
|
-
Row: {
|
|
18001
|
-
created_at: string;
|
|
18002
|
-
created_by: string | null;
|
|
18003
|
-
file_name: string | null;
|
|
18004
|
-
id: string;
|
|
18005
|
-
monteur_ids: string[];
|
|
18006
|
-
period_end: string;
|
|
18007
|
-
period_start: string;
|
|
18008
|
-
row_count: number;
|
|
18009
|
-
};
|
|
18010
|
-
Insert: {
|
|
18011
|
-
created_at?: string;
|
|
18012
|
-
created_by?: string | null;
|
|
18013
|
-
file_name?: string | null;
|
|
18014
|
-
id?: string;
|
|
18015
|
-
monteur_ids?: string[];
|
|
18016
|
-
period_end: string;
|
|
18017
|
-
period_start: string;
|
|
18018
|
-
row_count?: number;
|
|
18019
|
-
};
|
|
18020
|
-
Update: {
|
|
18021
|
-
created_at?: string;
|
|
18022
|
-
created_by?: string | null;
|
|
18023
|
-
file_name?: string | null;
|
|
18024
|
-
id?: string;
|
|
18025
|
-
monteur_ids?: string[];
|
|
18026
|
-
period_end?: string;
|
|
18027
|
-
period_start?: string;
|
|
18028
|
-
row_count?: number;
|
|
18029
|
-
};
|
|
18030
|
-
Relationships: [];
|
|
18031
|
-
};
|
|
18032
|
-
uren_offerte_regels: {
|
|
18033
|
-
Row: {
|
|
18034
|
-
created_at: string;
|
|
18035
|
-
description: string;
|
|
18036
|
-
duration_minutes: number;
|
|
18037
|
-
id: string;
|
|
18038
|
-
offerte_id: string;
|
|
18039
|
-
package_id: string | null;
|
|
18040
|
-
quantity: number;
|
|
18041
|
-
sort_order: number;
|
|
18042
|
-
total_cents: number;
|
|
18043
|
-
unit_price_cents: number;
|
|
18044
|
-
};
|
|
18045
|
-
Insert: {
|
|
18046
|
-
created_at?: string;
|
|
18047
|
-
description: string;
|
|
18048
|
-
duration_minutes?: number;
|
|
18049
|
-
id?: string;
|
|
18050
|
-
offerte_id: string;
|
|
18051
|
-
package_id?: string | null;
|
|
18052
|
-
quantity?: number;
|
|
18053
|
-
sort_order?: number;
|
|
18054
|
-
total_cents?: number;
|
|
18055
|
-
unit_price_cents?: number;
|
|
18056
|
-
};
|
|
18057
|
-
Update: {
|
|
18058
|
-
created_at?: string;
|
|
18059
|
-
description?: string;
|
|
18060
|
-
duration_minutes?: number;
|
|
18061
|
-
id?: string;
|
|
18062
|
-
offerte_id?: string;
|
|
18063
|
-
package_id?: string | null;
|
|
18064
|
-
quantity?: number;
|
|
18065
|
-
sort_order?: number;
|
|
18066
|
-
total_cents?: number;
|
|
18067
|
-
unit_price_cents?: number;
|
|
18068
|
-
};
|
|
18069
|
-
Relationships: [{
|
|
18070
|
-
foreignKeyName: "uren_offerte_regels_offerte_id_fkey";
|
|
18071
|
-
columns: ["offerte_id"];
|
|
18072
|
-
isOneToOne: false;
|
|
18073
|
-
referencedRelation: "uren_offertes";
|
|
18074
|
-
referencedColumns: ["id"];
|
|
18075
|
-
}, {
|
|
18076
|
-
foreignKeyName: "uren_offerte_regels_package_id_fkey";
|
|
18077
|
-
columns: ["package_id"];
|
|
18078
|
-
isOneToOne: false;
|
|
18079
|
-
referencedRelation: "werkbon_packages";
|
|
18080
|
-
referencedColumns: ["id"];
|
|
18081
|
-
}];
|
|
18082
|
-
};
|
|
18083
|
-
uren_offerte_velden: {
|
|
18084
|
-
Row: {
|
|
18085
|
-
created_at: string;
|
|
18086
|
-
field_type: string;
|
|
18087
|
-
id: string;
|
|
18088
|
-
key: string;
|
|
18089
|
-
label: string;
|
|
18090
|
-
options: string[];
|
|
18091
|
-
required: boolean;
|
|
18092
|
-
sort_order: number;
|
|
18093
|
-
updated_at: string;
|
|
18094
|
-
};
|
|
18095
|
-
Insert: {
|
|
18096
|
-
created_at?: string;
|
|
18097
|
-
field_type?: string;
|
|
18098
|
-
id?: string;
|
|
18099
|
-
key: string;
|
|
18100
|
-
label: string;
|
|
18101
|
-
options?: string[];
|
|
18102
|
-
required?: boolean;
|
|
18103
|
-
sort_order?: number;
|
|
17982
|
+
include_travel?: boolean | null;
|
|
17983
|
+
monteur_id: string;
|
|
17984
|
+
ov02_percentage?: number | null;
|
|
17985
|
+
ov03_percentage?: number | null;
|
|
18104
17986
|
updated_at?: string;
|
|
17987
|
+
weekly_threshold_hours?: number | null;
|
|
17988
|
+
workday_end?: string | null;
|
|
17989
|
+
workday_start?: string | null;
|
|
18105
17990
|
};
|
|
18106
17991
|
Update: {
|
|
17992
|
+
break_minutes?: number | null;
|
|
17993
|
+
contract_hours_per_week?: number;
|
|
18107
17994
|
created_at?: string;
|
|
18108
|
-
|
|
17995
|
+
daily_threshold_hours?: number | null;
|
|
18109
17996
|
id?: string;
|
|
18110
|
-
|
|
18111
|
-
|
|
18112
|
-
|
|
18113
|
-
|
|
18114
|
-
sort_order?: number;
|
|
17997
|
+
include_travel?: boolean | null;
|
|
17998
|
+
monteur_id?: string;
|
|
17999
|
+
ov02_percentage?: number | null;
|
|
18000
|
+
ov03_percentage?: number | null;
|
|
18115
18001
|
updated_at?: string;
|
|
18002
|
+
weekly_threshold_hours?: number | null;
|
|
18003
|
+
workday_end?: string | null;
|
|
18004
|
+
workday_start?: string | null;
|
|
18116
18005
|
};
|
|
18117
18006
|
Relationships: [];
|
|
18118
18007
|
};
|
|
18119
|
-
|
|
18008
|
+
uren_entries: {
|
|
18120
18009
|
Row: {
|
|
18121
18010
|
created_at: string;
|
|
18122
18011
|
created_by: string | null;
|
|
18123
|
-
|
|
18124
|
-
|
|
18125
|
-
dynamic_fields: import("./types.js").Json;
|
|
18126
|
-
estimated_minutes: number;
|
|
18012
|
+
entry_date: string;
|
|
18013
|
+
hours: number;
|
|
18127
18014
|
id: string;
|
|
18015
|
+
kind: string;
|
|
18016
|
+
monteur_id: string;
|
|
18128
18017
|
note: string | null;
|
|
18129
|
-
|
|
18130
|
-
|
|
18131
|
-
title: string;
|
|
18132
|
-
total_excl_cents: number;
|
|
18133
|
-
total_incl_cents: number;
|
|
18018
|
+
source: string;
|
|
18019
|
+
travel_km: number;
|
|
18134
18020
|
updated_at: string;
|
|
18135
|
-
|
|
18136
|
-
vat_percentage: number;
|
|
18021
|
+
werkbon_id: string | null;
|
|
18137
18022
|
};
|
|
18138
18023
|
Insert: {
|
|
18139
18024
|
created_at?: string;
|
|
18140
18025
|
created_by?: string | null;
|
|
18141
|
-
|
|
18142
|
-
|
|
18143
|
-
dynamic_fields?: import("./types.js").Json;
|
|
18144
|
-
estimated_minutes?: number;
|
|
18026
|
+
entry_date: string;
|
|
18027
|
+
hours?: number;
|
|
18145
18028
|
id?: string;
|
|
18029
|
+
kind?: string;
|
|
18030
|
+
monteur_id: string;
|
|
18146
18031
|
note?: string | null;
|
|
18147
|
-
|
|
18148
|
-
|
|
18149
|
-
title?: string;
|
|
18150
|
-
total_excl_cents?: number;
|
|
18151
|
-
total_incl_cents?: number;
|
|
18032
|
+
source?: string;
|
|
18033
|
+
travel_km?: number;
|
|
18152
18034
|
updated_at?: string;
|
|
18153
|
-
|
|
18154
|
-
vat_percentage?: number;
|
|
18035
|
+
werkbon_id?: string | null;
|
|
18155
18036
|
};
|
|
18156
18037
|
Update: {
|
|
18157
18038
|
created_at?: string;
|
|
18158
18039
|
created_by?: string | null;
|
|
18159
|
-
|
|
18160
|
-
|
|
18161
|
-
dynamic_fields?: import("./types.js").Json;
|
|
18162
|
-
estimated_minutes?: number;
|
|
18040
|
+
entry_date?: string;
|
|
18041
|
+
hours?: number;
|
|
18163
18042
|
id?: string;
|
|
18043
|
+
kind?: string;
|
|
18044
|
+
monteur_id?: string;
|
|
18164
18045
|
note?: string | null;
|
|
18165
|
-
|
|
18166
|
-
|
|
18167
|
-
title?: string;
|
|
18168
|
-
total_excl_cents?: number;
|
|
18169
|
-
total_incl_cents?: number;
|
|
18046
|
+
source?: string;
|
|
18047
|
+
travel_km?: number;
|
|
18170
18048
|
updated_at?: string;
|
|
18171
|
-
|
|
18172
|
-
vat_percentage?: number;
|
|
18049
|
+
werkbon_id?: string | null;
|
|
18173
18050
|
};
|
|
18174
18051
|
Relationships: [{
|
|
18175
|
-
foreignKeyName: "
|
|
18176
|
-
columns: ["
|
|
18052
|
+
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
18053
|
+
columns: ["werkbon_id"];
|
|
18177
18054
|
isOneToOne: false;
|
|
18178
|
-
referencedRelation: "
|
|
18055
|
+
referencedRelation: "werkbonnen";
|
|
18179
18056
|
referencedColumns: ["id"];
|
|
18180
18057
|
}];
|
|
18181
18058
|
};
|
|
18059
|
+
uren_exports: {
|
|
18060
|
+
Row: {
|
|
18061
|
+
created_at: string;
|
|
18062
|
+
created_by: string | null;
|
|
18063
|
+
file_name: string | null;
|
|
18064
|
+
id: string;
|
|
18065
|
+
monteur_ids: string[];
|
|
18066
|
+
period_end: string;
|
|
18067
|
+
period_start: string;
|
|
18068
|
+
row_count: number;
|
|
18069
|
+
};
|
|
18070
|
+
Insert: {
|
|
18071
|
+
created_at?: string;
|
|
18072
|
+
created_by?: string | null;
|
|
18073
|
+
file_name?: string | null;
|
|
18074
|
+
id?: string;
|
|
18075
|
+
monteur_ids?: string[];
|
|
18076
|
+
period_end: string;
|
|
18077
|
+
period_start: string;
|
|
18078
|
+
row_count?: number;
|
|
18079
|
+
};
|
|
18080
|
+
Update: {
|
|
18081
|
+
created_at?: string;
|
|
18082
|
+
created_by?: string | null;
|
|
18083
|
+
file_name?: string | null;
|
|
18084
|
+
id?: string;
|
|
18085
|
+
monteur_ids?: string[];
|
|
18086
|
+
period_end?: string;
|
|
18087
|
+
period_start?: string;
|
|
18088
|
+
row_count?: number;
|
|
18089
|
+
};
|
|
18090
|
+
Relationships: [];
|
|
18091
|
+
};
|
|
18182
18092
|
uren_settings: {
|
|
18183
18093
|
Row: {
|
|
18184
18094
|
break_minutes: number;
|
|
@@ -19865,6 +19775,37 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19865
19775
|
};
|
|
19866
19776
|
Relationships: [];
|
|
19867
19777
|
};
|
|
19778
|
+
planning_overview: {
|
|
19779
|
+
Row: {
|
|
19780
|
+
assigned_monteur_id: string | null;
|
|
19781
|
+
assistants: import("./types.js").Json | null;
|
|
19782
|
+
budget_mandate_cents: number | null;
|
|
19783
|
+
created_at: string | null;
|
|
19784
|
+
created_by: string | null;
|
|
19785
|
+
customer_id: string | null;
|
|
19786
|
+
customer_name: string | null;
|
|
19787
|
+
duration_minutes: number | null;
|
|
19788
|
+
end_at: string | null;
|
|
19789
|
+
id: string | null;
|
|
19790
|
+
needs_detail_review: boolean | null;
|
|
19791
|
+
notes: string | null;
|
|
19792
|
+
project_number: string | null;
|
|
19793
|
+
review_reasons: string[] | null;
|
|
19794
|
+
start_at: string | null;
|
|
19795
|
+
status: Database["public"]["Enums"]["planning_item_status"] | null;
|
|
19796
|
+
updated_at: string | null;
|
|
19797
|
+
viewer_role: string | null;
|
|
19798
|
+
werkbon_id: string | null;
|
|
19799
|
+
work_address: string | null;
|
|
19800
|
+
};
|
|
19801
|
+
Relationships: [{
|
|
19802
|
+
foreignKeyName: "planning_items_werkbon_id_fkey";
|
|
19803
|
+
columns: ["werkbon_id"];
|
|
19804
|
+
isOneToOne: false;
|
|
19805
|
+
referencedRelation: "werkbonnen";
|
|
19806
|
+
referencedColumns: ["id"];
|
|
19807
|
+
}];
|
|
19808
|
+
};
|
|
19868
19809
|
product_group_stock_view: {
|
|
19869
19810
|
Row: {
|
|
19870
19811
|
item_count: number | null;
|
|
@@ -20460,6 +20401,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20460
20401
|
Args: never;
|
|
20461
20402
|
Returns: number;
|
|
20462
20403
|
};
|
|
20404
|
+
calculate_floriday_desired_stock: {
|
|
20405
|
+
Args: {
|
|
20406
|
+
p_connection_id: string;
|
|
20407
|
+
p_product_id: string;
|
|
20408
|
+
};
|
|
20409
|
+
Returns: {
|
|
20410
|
+
desired_availability: boolean;
|
|
20411
|
+
desired_quantity: number;
|
|
20412
|
+
erp_available: number;
|
|
20413
|
+
stock_mode: string;
|
|
20414
|
+
}[];
|
|
20415
|
+
};
|
|
20463
20416
|
calculate_layer_stock: {
|
|
20464
20417
|
Args: {
|
|
20465
20418
|
p_product_id: string;
|
|
@@ -20554,6 +20507,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20554
20507
|
attempts: number;
|
|
20555
20508
|
connection_id: string;
|
|
20556
20509
|
created_at: string;
|
|
20510
|
+
dead_lettered_at: string | null;
|
|
20557
20511
|
desired_available: boolean | null;
|
|
20558
20512
|
gateway_attempt_id: string | null;
|
|
20559
20513
|
id: string;
|
|
@@ -20562,9 +20516,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20562
20516
|
locked_by: string | null;
|
|
20563
20517
|
next_attempt_at: string;
|
|
20564
20518
|
number_of_pieces: number;
|
|
20519
|
+
product_id: string | null;
|
|
20565
20520
|
sent_at: string | null;
|
|
20566
20521
|
status: string;
|
|
20522
|
+
stock_mode: string | null;
|
|
20567
20523
|
superseded_by: string | null;
|
|
20524
|
+
target_week: number | null;
|
|
20525
|
+
target_year: number | null;
|
|
20568
20526
|
trade_item_id: string;
|
|
20569
20527
|
updated_at: string;
|
|
20570
20528
|
user_id: string;
|
|
@@ -21045,6 +21003,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21045
21003
|
};
|
|
21046
21004
|
Returns: string;
|
|
21047
21005
|
};
|
|
21006
|
+
floriday_capture_stock_snapshot: {
|
|
21007
|
+
Args: never;
|
|
21008
|
+
Returns: number;
|
|
21009
|
+
};
|
|
21010
|
+
floriday_cleanup_stock_queue_v2: {
|
|
21011
|
+
Args: never;
|
|
21012
|
+
Returns: undefined;
|
|
21013
|
+
};
|
|
21014
|
+
floriday_compact_stock_snapshots: {
|
|
21015
|
+
Args: never;
|
|
21016
|
+
Returns: undefined;
|
|
21017
|
+
};
|
|
21018
|
+
floriday_default_owner: {
|
|
21019
|
+
Args: {
|
|
21020
|
+
p_connection_id: string;
|
|
21021
|
+
};
|
|
21022
|
+
Returns: string;
|
|
21023
|
+
};
|
|
21048
21024
|
floriday_effective_price: {
|
|
21049
21025
|
Args: {
|
|
21050
21026
|
_buyer_id: string;
|
|
@@ -21062,6 +21038,34 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21062
21038
|
source_id: string;
|
|
21063
21039
|
}[];
|
|
21064
21040
|
};
|
|
21041
|
+
floriday_fill_publish_horizon: {
|
|
21042
|
+
Args: never;
|
|
21043
|
+
Returns: number;
|
|
21044
|
+
};
|
|
21045
|
+
floriday_ingest_sales_orders: {
|
|
21046
|
+
Args: {
|
|
21047
|
+
p_limit?: number;
|
|
21048
|
+
};
|
|
21049
|
+
Returns: number;
|
|
21050
|
+
};
|
|
21051
|
+
floriday_publish_horizon_weeks: {
|
|
21052
|
+
Args: never;
|
|
21053
|
+
Returns: number;
|
|
21054
|
+
};
|
|
21055
|
+
floriday_recompute_inventory: {
|
|
21056
|
+
Args: {
|
|
21057
|
+
p_connection_id: string;
|
|
21058
|
+
p_force?: boolean;
|
|
21059
|
+
p_product_id: string;
|
|
21060
|
+
};
|
|
21061
|
+
Returns: undefined;
|
|
21062
|
+
};
|
|
21063
|
+
floriday_requeue_dead_letters: {
|
|
21064
|
+
Args: {
|
|
21065
|
+
p_connection_id?: string;
|
|
21066
|
+
};
|
|
21067
|
+
Returns: number;
|
|
21068
|
+
};
|
|
21065
21069
|
format_cart_number: {
|
|
21066
21070
|
Args: {
|
|
21067
21071
|
p_pick_date: string;
|
|
@@ -21249,34 +21253,159 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21249
21253
|
};
|
|
21250
21254
|
get_product_group_available_stock: {
|
|
21251
21255
|
Args: {
|
|
21252
|
-
p_group_id: string;
|
|
21256
|
+
p_group_id: string;
|
|
21257
|
+
};
|
|
21258
|
+
Returns: number;
|
|
21259
|
+
};
|
|
21260
|
+
get_room_busy_windows: {
|
|
21261
|
+
Args: {
|
|
21262
|
+
p_from: string;
|
|
21263
|
+
p_to: string;
|
|
21264
|
+
};
|
|
21265
|
+
Returns: {
|
|
21266
|
+
end_time: string;
|
|
21267
|
+
room_id: string;
|
|
21268
|
+
start_time: string;
|
|
21269
|
+
status: string;
|
|
21270
|
+
}[];
|
|
21271
|
+
};
|
|
21272
|
+
get_twinfield_cron_jobs: {
|
|
21273
|
+
Args: never;
|
|
21274
|
+
Returns: {
|
|
21275
|
+
active: boolean;
|
|
21276
|
+
jobname: string;
|
|
21277
|
+
schedule: string;
|
|
21278
|
+
url: string;
|
|
21279
|
+
}[];
|
|
21280
|
+
};
|
|
21281
|
+
get_user_tenant_id: {
|
|
21282
|
+
Args: never;
|
|
21283
|
+
Returns: string;
|
|
21284
|
+
};
|
|
21285
|
+
handover_get: {
|
|
21286
|
+
Args: {
|
|
21287
|
+
_module_id: string;
|
|
21288
|
+
};
|
|
21289
|
+
Returns: import("./types.js").Json;
|
|
21290
|
+
};
|
|
21291
|
+
handover_kern_naam: {
|
|
21292
|
+
Args: {
|
|
21293
|
+
_naam: string;
|
|
21294
|
+
};
|
|
21295
|
+
Returns: string;
|
|
21296
|
+
};
|
|
21297
|
+
handover_ketenmodel: {
|
|
21298
|
+
Args: never;
|
|
21299
|
+
Returns: import("./types.js").Json;
|
|
21300
|
+
};
|
|
21301
|
+
handover_kruisconflicten: {
|
|
21302
|
+
Args: never;
|
|
21303
|
+
Returns: import("./types.js").Json;
|
|
21304
|
+
};
|
|
21305
|
+
handover_list: {
|
|
21306
|
+
Args: never;
|
|
21307
|
+
Returns: import("./types.js").Json;
|
|
21308
|
+
};
|
|
21309
|
+
handover_mag_schrijven: {
|
|
21310
|
+
Args: {
|
|
21311
|
+
_module_id: string;
|
|
21312
|
+
};
|
|
21313
|
+
Returns: boolean;
|
|
21314
|
+
};
|
|
21315
|
+
handover_norm_naam: {
|
|
21316
|
+
Args: {
|
|
21317
|
+
_naam: string;
|
|
21318
|
+
};
|
|
21319
|
+
Returns: string;
|
|
21320
|
+
};
|
|
21321
|
+
handover_publish: {
|
|
21322
|
+
Args: {
|
|
21323
|
+
_bevindingen?: string;
|
|
21324
|
+
_bezit_tabellen?: string[];
|
|
21325
|
+
_conflicten_snapshot?: import("./types.js").Json;
|
|
21326
|
+
_contractfuncties?: string[];
|
|
21327
|
+
_inhoud_md: string;
|
|
21328
|
+
_module_id: string;
|
|
21329
|
+
_module_titel: string;
|
|
21330
|
+
_ontbrekende_contracten?: string[];
|
|
21331
|
+
_samenvatting?: string;
|
|
21332
|
+
};
|
|
21333
|
+
Returns: number;
|
|
21334
|
+
};
|
|
21335
|
+
handover_publish_via_token: {
|
|
21336
|
+
Args: {
|
|
21337
|
+
_bevindingen?: string;
|
|
21338
|
+
_bezit_tabellen?: string[];
|
|
21339
|
+
_conflicten_snapshot?: import("./types.js").Json;
|
|
21340
|
+
_contractfuncties?: string[];
|
|
21341
|
+
_inhoud_md: string;
|
|
21342
|
+
_module_id: string;
|
|
21343
|
+
_module_titel: string;
|
|
21344
|
+
_ontbrekende_contracten?: string[];
|
|
21345
|
+
_samenvatting?: string;
|
|
21346
|
+
_token_hash: string;
|
|
21347
|
+
};
|
|
21348
|
+
Returns: number;
|
|
21349
|
+
};
|
|
21350
|
+
handover_status: {
|
|
21351
|
+
Args: never;
|
|
21352
|
+
Returns: import("./types.js").Json;
|
|
21353
|
+
};
|
|
21354
|
+
handover_synonym_kern: {
|
|
21355
|
+
Args: {
|
|
21356
|
+
_naam: string;
|
|
21357
|
+
};
|
|
21358
|
+
Returns: string;
|
|
21359
|
+
};
|
|
21360
|
+
handover_token_intrekken: {
|
|
21361
|
+
Args: {
|
|
21362
|
+
_id: string;
|
|
21363
|
+
};
|
|
21364
|
+
Returns: boolean;
|
|
21365
|
+
};
|
|
21366
|
+
handover_token_lijst: {
|
|
21367
|
+
Args: never;
|
|
21368
|
+
Returns: import("./types.js").Json;
|
|
21369
|
+
};
|
|
21370
|
+
handover_token_maken: {
|
|
21371
|
+
Args: {
|
|
21372
|
+
_label?: string;
|
|
21373
|
+
_module_id: string;
|
|
21374
|
+
};
|
|
21375
|
+
Returns: string;
|
|
21376
|
+
};
|
|
21377
|
+
handover_update: {
|
|
21378
|
+
Args: {
|
|
21379
|
+
_bezit_tabellen?: string[];
|
|
21380
|
+
_contractfuncties?: string[];
|
|
21381
|
+
_herzieningstermijn_dagen?: number;
|
|
21382
|
+
_inhoud_md?: string;
|
|
21383
|
+
_module_id: string;
|
|
21384
|
+
_module_titel?: string;
|
|
21385
|
+
_samenvatting?: string;
|
|
21386
|
+
_versie: number;
|
|
21387
|
+
};
|
|
21388
|
+
Returns: boolean;
|
|
21389
|
+
} | {
|
|
21390
|
+
Args: {
|
|
21391
|
+
_bevindingen?: string;
|
|
21392
|
+
_bezit_tabellen?: string[];
|
|
21393
|
+
_contractfuncties?: string[];
|
|
21394
|
+
_herzieningstermijn_dagen?: number;
|
|
21395
|
+
_inhoud_md?: string;
|
|
21396
|
+
_module_id: string;
|
|
21397
|
+
_module_titel?: string;
|
|
21398
|
+
_ontbrekende_contracten?: string[];
|
|
21399
|
+
_samenvatting?: string;
|
|
21400
|
+
_versie: number;
|
|
21253
21401
|
};
|
|
21254
|
-
Returns:
|
|
21402
|
+
Returns: boolean;
|
|
21255
21403
|
};
|
|
21256
|
-
|
|
21404
|
+
handover_versies: {
|
|
21257
21405
|
Args: {
|
|
21258
|
-
|
|
21259
|
-
p_to: string;
|
|
21406
|
+
_module_id: string;
|
|
21260
21407
|
};
|
|
21261
|
-
Returns:
|
|
21262
|
-
end_time: string;
|
|
21263
|
-
room_id: string;
|
|
21264
|
-
start_time: string;
|
|
21265
|
-
status: string;
|
|
21266
|
-
}[];
|
|
21267
|
-
};
|
|
21268
|
-
get_twinfield_cron_jobs: {
|
|
21269
|
-
Args: never;
|
|
21270
|
-
Returns: {
|
|
21271
|
-
active: boolean;
|
|
21272
|
-
jobname: string;
|
|
21273
|
-
schedule: string;
|
|
21274
|
-
url: string;
|
|
21275
|
-
}[];
|
|
21276
|
-
};
|
|
21277
|
-
get_user_tenant_id: {
|
|
21278
|
-
Args: never;
|
|
21279
|
-
Returns: string;
|
|
21408
|
+
Returns: import("./types.js").Json;
|
|
21280
21409
|
};
|
|
21281
21410
|
has_module_permission: {
|
|
21282
21411
|
Args: {
|
|
@@ -21297,6 +21426,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21297
21426
|
Args: never;
|
|
21298
21427
|
Returns: boolean;
|
|
21299
21428
|
};
|
|
21429
|
+
instructie_get: {
|
|
21430
|
+
Args: {
|
|
21431
|
+
_sleutel: string;
|
|
21432
|
+
};
|
|
21433
|
+
Returns: import("./types.js").Json;
|
|
21434
|
+
};
|
|
21435
|
+
instructie_list: {
|
|
21436
|
+
Args: never;
|
|
21437
|
+
Returns: import("./types.js").Json;
|
|
21438
|
+
};
|
|
21439
|
+
instructie_publish: {
|
|
21440
|
+
Args: {
|
|
21441
|
+
_inhoud_md: string;
|
|
21442
|
+
_sleutel: string;
|
|
21443
|
+
_titel: string;
|
|
21444
|
+
_toelichting?: string;
|
|
21445
|
+
};
|
|
21446
|
+
Returns: number;
|
|
21447
|
+
};
|
|
21300
21448
|
invoice_create_from_source: {
|
|
21301
21449
|
Args: {
|
|
21302
21450
|
_payload?: import("./types.js").Json;
|
|
@@ -21521,6 +21669,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21521
21669
|
};
|
|
21522
21670
|
Returns: boolean;
|
|
21523
21671
|
};
|
|
21672
|
+
logistics_barcode_lookup: {
|
|
21673
|
+
Args: {
|
|
21674
|
+
p_barcode: string;
|
|
21675
|
+
};
|
|
21676
|
+
Returns: import("./types.js").Json;
|
|
21677
|
+
};
|
|
21524
21678
|
logistics_buffer_criteria: {
|
|
21525
21679
|
Args: {
|
|
21526
21680
|
p_settings: import("./types.js").Json;
|
|
@@ -21581,6 +21735,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21581
21735
|
};
|
|
21582
21736
|
Returns: number;
|
|
21583
21737
|
};
|
|
21738
|
+
logistics_cart_barcode_value: {
|
|
21739
|
+
Args: {
|
|
21740
|
+
_cart_id: string;
|
|
21741
|
+
};
|
|
21742
|
+
Returns: string;
|
|
21743
|
+
};
|
|
21584
21744
|
logistics_cart_index: {
|
|
21585
21745
|
Args: {
|
|
21586
21746
|
p_from?: string;
|
|
@@ -21590,6 +21750,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21590
21750
|
cart_id: string;
|
|
21591
21751
|
cart_index: number;
|
|
21592
21752
|
cart_label: string;
|
|
21753
|
+
delivery_date: string;
|
|
21754
|
+
is_announced: boolean;
|
|
21755
|
+
is_controlled: boolean;
|
|
21756
|
+
is_printed: boolean;
|
|
21593
21757
|
is_shared: boolean;
|
|
21594
21758
|
order_number: string;
|
|
21595
21759
|
order_source: string;
|
|
@@ -21600,6 +21764,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21600
21764
|
task_status: string;
|
|
21601
21765
|
}[];
|
|
21602
21766
|
};
|
|
21767
|
+
logistics_cart_slip_plan: {
|
|
21768
|
+
Args: {
|
|
21769
|
+
p_order_id: string;
|
|
21770
|
+
};
|
|
21771
|
+
Returns: import("./types.js").Json;
|
|
21772
|
+
};
|
|
21603
21773
|
logistics_check_order_allowed: {
|
|
21604
21774
|
Args: {
|
|
21605
21775
|
p_lines: import("./types.js").Json;
|
|
@@ -21752,11 +21922,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21752
21922
|
Args: never;
|
|
21753
21923
|
Returns: {
|
|
21754
21924
|
agenda_carts: number;
|
|
21925
|
+
announced_carts: number;
|
|
21755
21926
|
control_carts: number;
|
|
21927
|
+
delivery_carts: number;
|
|
21756
21928
|
ok: boolean;
|
|
21757
21929
|
orphan_tasks: number;
|
|
21758
21930
|
pick_date: string;
|
|
21759
21931
|
raw_carts: number;
|
|
21932
|
+
sales_carts: number;
|
|
21933
|
+
station_carts: number;
|
|
21760
21934
|
}[];
|
|
21761
21935
|
};
|
|
21762
21936
|
logistics_delay_customer_email: {
|
|
@@ -21772,12 +21946,35 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21772
21946
|
subject: string;
|
|
21773
21947
|
}[];
|
|
21774
21948
|
};
|
|
21949
|
+
logistics_delivery_agenda: {
|
|
21950
|
+
Args: {
|
|
21951
|
+
p_from?: string;
|
|
21952
|
+
p_to?: string;
|
|
21953
|
+
};
|
|
21954
|
+
Returns: {
|
|
21955
|
+
announced_count: number;
|
|
21956
|
+
cart_count: number;
|
|
21957
|
+
controlled_count: number;
|
|
21958
|
+
delivery_date: string;
|
|
21959
|
+
order_count: number;
|
|
21960
|
+
orders: import("./types.js").Json;
|
|
21961
|
+
plant_count: number;
|
|
21962
|
+
printed_count: number;
|
|
21963
|
+
}[];
|
|
21964
|
+
};
|
|
21775
21965
|
logistics_document_layout: {
|
|
21776
21966
|
Args: {
|
|
21777
21967
|
_document_code: string;
|
|
21778
21968
|
};
|
|
21779
21969
|
Returns: import("./types.js").Json;
|
|
21780
21970
|
};
|
|
21971
|
+
logistics_document_layout_v2: {
|
|
21972
|
+
Args: {
|
|
21973
|
+
_document_code: string;
|
|
21974
|
+
_is_partial?: boolean;
|
|
21975
|
+
};
|
|
21976
|
+
Returns: import("./types.js").Json;
|
|
21977
|
+
};
|
|
21781
21978
|
logistics_document_station: {
|
|
21782
21979
|
Args: {
|
|
21783
21980
|
_document_code: string;
|
|
@@ -21803,6 +22000,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21803
22000
|
};
|
|
21804
22001
|
Returns: import("./types.js").Json;
|
|
21805
22002
|
};
|
|
22003
|
+
logistics_ensure_cart_barcode: {
|
|
22004
|
+
Args: {
|
|
22005
|
+
_cart_id: string;
|
|
22006
|
+
};
|
|
22007
|
+
Returns: string;
|
|
22008
|
+
};
|
|
21806
22009
|
logistics_fail_task: {
|
|
21807
22010
|
Args: {
|
|
21808
22011
|
p_error: string;
|
|
@@ -21848,6 +22051,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21848
22051
|
isSetofReturn: false;
|
|
21849
22052
|
};
|
|
21850
22053
|
};
|
|
22054
|
+
logistics_floriday_cart_plan: {
|
|
22055
|
+
Args: {
|
|
22056
|
+
p_order_id: string;
|
|
22057
|
+
};
|
|
22058
|
+
Returns: {
|
|
22059
|
+
carrier_type: string;
|
|
22060
|
+
idx: number;
|
|
22061
|
+
packages: number;
|
|
22062
|
+
}[];
|
|
22063
|
+
};
|
|
21851
22064
|
logistics_floriday_claim_pushes: {
|
|
21852
22065
|
Args: {
|
|
21853
22066
|
_lease_seconds?: number;
|
|
@@ -21999,10 +22212,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21999
22212
|
shifted_count: number;
|
|
22000
22213
|
}[];
|
|
22001
22214
|
};
|
|
22215
|
+
logistics_pick_barcode_enabled: {
|
|
22216
|
+
Args: never;
|
|
22217
|
+
Returns: boolean;
|
|
22218
|
+
};
|
|
22002
22219
|
logistics_pick_email_purpose: {
|
|
22003
22220
|
Args: never;
|
|
22004
22221
|
Returns: string;
|
|
22005
22222
|
};
|
|
22223
|
+
logistics_pick_start_estimate: {
|
|
22224
|
+
Args: {
|
|
22225
|
+
p_order: import("./types.js").Json;
|
|
22226
|
+
s: import("./types.js").Json;
|
|
22227
|
+
};
|
|
22228
|
+
Returns: string;
|
|
22229
|
+
};
|
|
22006
22230
|
logistics_plan_all: {
|
|
22007
22231
|
Args: {
|
|
22008
22232
|
p_user_id?: string;
|
|
@@ -22053,6 +22277,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22053
22277
|
};
|
|
22054
22278
|
Returns: undefined;
|
|
22055
22279
|
};
|
|
22280
|
+
logistics_plan_floriday_order: {
|
|
22281
|
+
Args: {
|
|
22282
|
+
p_buffer_id?: string;
|
|
22283
|
+
p_order_id: string;
|
|
22284
|
+
};
|
|
22285
|
+
Returns: number;
|
|
22286
|
+
};
|
|
22056
22287
|
logistics_plan_impact_orders: {
|
|
22057
22288
|
Args: {
|
|
22058
22289
|
p_order_id: string;
|
|
@@ -22246,6 +22477,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22246
22477
|
};
|
|
22247
22478
|
Returns: string;
|
|
22248
22479
|
};
|
|
22480
|
+
logistics_shipping_note_from_barcode: {
|
|
22481
|
+
Args: {
|
|
22482
|
+
p_allow_reprint?: boolean;
|
|
22483
|
+
p_barcode: string;
|
|
22484
|
+
p_station_id?: string;
|
|
22485
|
+
};
|
|
22486
|
+
Returns: import("./types.js").Json;
|
|
22487
|
+
};
|
|
22249
22488
|
logistics_supersede_stale_tasks: {
|
|
22250
22489
|
Args: {
|
|
22251
22490
|
p_keep: string[];
|
|
@@ -22467,6 +22706,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22467
22706
|
print_job_id: string | null;
|
|
22468
22707
|
printed_at: string | null;
|
|
22469
22708
|
printed_by: string | null;
|
|
22709
|
+
printed_cart_ids: import("./types.js").Json;
|
|
22470
22710
|
printer_id: string | null;
|
|
22471
22711
|
priority: number;
|
|
22472
22712
|
reference: string | null;
|
|
@@ -22516,6 +22756,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22516
22756
|
print_job_id: string | null;
|
|
22517
22757
|
printed_at: string | null;
|
|
22518
22758
|
printed_by: string | null;
|
|
22759
|
+
printed_cart_ids: import("./types.js").Json;
|
|
22519
22760
|
printer_id: string | null;
|
|
22520
22761
|
priority: number;
|
|
22521
22762
|
reference: string | null;
|
|
@@ -22570,6 +22811,56 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22570
22811
|
print_job_id: string | null;
|
|
22571
22812
|
printed_at: string | null;
|
|
22572
22813
|
printed_by: string | null;
|
|
22814
|
+
printed_cart_ids: import("./types.js").Json;
|
|
22815
|
+
printer_id: string | null;
|
|
22816
|
+
priority: number;
|
|
22817
|
+
reference: string | null;
|
|
22818
|
+
route: string | null;
|
|
22819
|
+
screen_id: string | null;
|
|
22820
|
+
station_id: string | null;
|
|
22821
|
+
status_id: string | null;
|
|
22822
|
+
updated_at: string;
|
|
22823
|
+
warnings: import("./types.js").Json;
|
|
22824
|
+
};
|
|
22825
|
+
SetofOptions: {
|
|
22826
|
+
from: "*";
|
|
22827
|
+
to: "pick_queue";
|
|
22828
|
+
isOneToOne: true;
|
|
22829
|
+
isSetofReturn: false;
|
|
22830
|
+
};
|
|
22831
|
+
};
|
|
22832
|
+
pick_complete_print_cart: {
|
|
22833
|
+
Args: {
|
|
22834
|
+
_cart_id: string;
|
|
22835
|
+
_printer_id: string;
|
|
22836
|
+
_queue_item_id: string;
|
|
22837
|
+
_session_id: string;
|
|
22838
|
+
};
|
|
22839
|
+
Returns: {
|
|
22840
|
+
announced_at: string;
|
|
22841
|
+
assigned_user_id: string | null;
|
|
22842
|
+
barcode: string | null;
|
|
22843
|
+
cancelled_at: string | null;
|
|
22844
|
+
cart_count: number;
|
|
22845
|
+
completed_at: string | null;
|
|
22846
|
+
country_code: string | null;
|
|
22847
|
+
created_at: string;
|
|
22848
|
+
customer_name: string | null;
|
|
22849
|
+
delivery_address: string | null;
|
|
22850
|
+
document_number: string | null;
|
|
22851
|
+
document_type_id: string | null;
|
|
22852
|
+
due_at: string | null;
|
|
22853
|
+
id: string;
|
|
22854
|
+
is_urgent: boolean;
|
|
22855
|
+
line_count: number;
|
|
22856
|
+
order_number: string | null;
|
|
22857
|
+
order_type: string | null;
|
|
22858
|
+
payload: import("./types.js").Json;
|
|
22859
|
+
print_count: number;
|
|
22860
|
+
print_job_id: string | null;
|
|
22861
|
+
printed_at: string | null;
|
|
22862
|
+
printed_by: string | null;
|
|
22863
|
+
printed_cart_ids: import("./types.js").Json;
|
|
22573
22864
|
printer_id: string | null;
|
|
22574
22865
|
priority: number;
|
|
22575
22866
|
reference: string | null;
|
|
@@ -22613,6 +22904,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22613
22904
|
_session_id?: string;
|
|
22614
22905
|
};
|
|
22615
22906
|
Returns: string;
|
|
22907
|
+
} | {
|
|
22908
|
+
Args: {
|
|
22909
|
+
_cart_id: string;
|
|
22910
|
+
_is_herprint: boolean;
|
|
22911
|
+
_printer_id: string;
|
|
22912
|
+
_queue_item_id: string;
|
|
22913
|
+
_session_id: string;
|
|
22914
|
+
};
|
|
22915
|
+
Returns: string;
|
|
22616
22916
|
};
|
|
22617
22917
|
pick_order_context: {
|
|
22618
22918
|
Args: {
|
|
@@ -22693,6 +22993,54 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22693
22993
|
print_job_id: string | null;
|
|
22694
22994
|
printed_at: string | null;
|
|
22695
22995
|
printed_by: string | null;
|
|
22996
|
+
printed_cart_ids: import("./types.js").Json;
|
|
22997
|
+
printer_id: string | null;
|
|
22998
|
+
priority: number;
|
|
22999
|
+
reference: string | null;
|
|
23000
|
+
route: string | null;
|
|
23001
|
+
screen_id: string | null;
|
|
23002
|
+
station_id: string | null;
|
|
23003
|
+
status_id: string | null;
|
|
23004
|
+
updated_at: string;
|
|
23005
|
+
warnings: import("./types.js").Json;
|
|
23006
|
+
};
|
|
23007
|
+
SetofOptions: {
|
|
23008
|
+
from: "*";
|
|
23009
|
+
to: "pick_queue";
|
|
23010
|
+
isOneToOne: true;
|
|
23011
|
+
isSetofReturn: false;
|
|
23012
|
+
};
|
|
23013
|
+
} | {
|
|
23014
|
+
Args: {
|
|
23015
|
+
_cart_id?: string;
|
|
23016
|
+
_queue_item_id: string;
|
|
23017
|
+
_session_id: string;
|
|
23018
|
+
};
|
|
23019
|
+
Returns: {
|
|
23020
|
+
announced_at: string;
|
|
23021
|
+
assigned_user_id: string | null;
|
|
23022
|
+
barcode: string | null;
|
|
23023
|
+
cancelled_at: string | null;
|
|
23024
|
+
cart_count: number;
|
|
23025
|
+
completed_at: string | null;
|
|
23026
|
+
country_code: string | null;
|
|
23027
|
+
created_at: string;
|
|
23028
|
+
customer_name: string | null;
|
|
23029
|
+
delivery_address: string | null;
|
|
23030
|
+
document_number: string | null;
|
|
23031
|
+
document_type_id: string | null;
|
|
23032
|
+
due_at: string | null;
|
|
23033
|
+
id: string;
|
|
23034
|
+
is_urgent: boolean;
|
|
23035
|
+
line_count: number;
|
|
23036
|
+
order_number: string | null;
|
|
23037
|
+
order_type: string | null;
|
|
23038
|
+
payload: import("./types.js").Json;
|
|
23039
|
+
print_count: number;
|
|
23040
|
+
print_job_id: string | null;
|
|
23041
|
+
printed_at: string | null;
|
|
23042
|
+
printed_by: string | null;
|
|
23043
|
+
printed_cart_ids: import("./types.js").Json;
|
|
22696
23044
|
printer_id: string | null;
|
|
22697
23045
|
priority: number;
|
|
22698
23046
|
reference: string | null;
|
|
@@ -22805,6 +23153,66 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22805
23153
|
};
|
|
22806
23154
|
Returns: undefined;
|
|
22807
23155
|
};
|
|
23156
|
+
planning_cancel_item: {
|
|
23157
|
+
Args: {
|
|
23158
|
+
_id: string;
|
|
23159
|
+
};
|
|
23160
|
+
Returns: undefined;
|
|
23161
|
+
};
|
|
23162
|
+
planning_list: {
|
|
23163
|
+
Args: {
|
|
23164
|
+
_from: string;
|
|
23165
|
+
_to: string;
|
|
23166
|
+
};
|
|
23167
|
+
Returns: {
|
|
23168
|
+
assigned_monteur_id: string | null;
|
|
23169
|
+
assistants: import("./types.js").Json | null;
|
|
23170
|
+
budget_mandate_cents: number | null;
|
|
23171
|
+
created_at: string | null;
|
|
23172
|
+
created_by: string | null;
|
|
23173
|
+
customer_id: string | null;
|
|
23174
|
+
customer_name: string | null;
|
|
23175
|
+
duration_minutes: number | null;
|
|
23176
|
+
end_at: string | null;
|
|
23177
|
+
id: string | null;
|
|
23178
|
+
needs_detail_review: boolean | null;
|
|
23179
|
+
notes: string | null;
|
|
23180
|
+
project_number: string | null;
|
|
23181
|
+
review_reasons: string[] | null;
|
|
23182
|
+
start_at: string | null;
|
|
23183
|
+
status: Database["public"]["Enums"]["planning_item_status"] | null;
|
|
23184
|
+
updated_at: string | null;
|
|
23185
|
+
viewer_role: string | null;
|
|
23186
|
+
werkbon_id: string | null;
|
|
23187
|
+
work_address: string | null;
|
|
23188
|
+
}[];
|
|
23189
|
+
SetofOptions: {
|
|
23190
|
+
from: "*";
|
|
23191
|
+
to: "planning_overview";
|
|
23192
|
+
isOneToOne: false;
|
|
23193
|
+
isSetofReturn: true;
|
|
23194
|
+
};
|
|
23195
|
+
};
|
|
23196
|
+
planning_set_assistants: {
|
|
23197
|
+
Args: {
|
|
23198
|
+
_monteur_ids: string[];
|
|
23199
|
+
_planning_item_id: string;
|
|
23200
|
+
};
|
|
23201
|
+
Returns: undefined;
|
|
23202
|
+
};
|
|
23203
|
+
planning_upsert_item: {
|
|
23204
|
+
Args: {
|
|
23205
|
+
_assigned_monteur_id: string;
|
|
23206
|
+
_end_at: string;
|
|
23207
|
+
_notes?: string;
|
|
23208
|
+
_start_at: string;
|
|
23209
|
+
_werkbon_id: string;
|
|
23210
|
+
};
|
|
23211
|
+
Returns: {
|
|
23212
|
+
action: string;
|
|
23213
|
+
id: string;
|
|
23214
|
+
}[];
|
|
23215
|
+
};
|
|
22808
23216
|
print_preview_toestaan: {
|
|
22809
23217
|
Args: {
|
|
22810
23218
|
_max?: number;
|
|
@@ -23386,6 +23794,26 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23386
23794
|
};
|
|
23387
23795
|
Returns: string[];
|
|
23388
23796
|
};
|
|
23797
|
+
start_time_log_at: {
|
|
23798
|
+
Args: {
|
|
23799
|
+
p_clicked_at?: string;
|
|
23800
|
+
p_employee_id: string;
|
|
23801
|
+
p_start_lat?: number;
|
|
23802
|
+
p_start_lng?: number;
|
|
23803
|
+
p_type: string;
|
|
23804
|
+
p_work_order_id?: string;
|
|
23805
|
+
};
|
|
23806
|
+
Returns: import("./types.js").Json;
|
|
23807
|
+
};
|
|
23808
|
+
stop_time_log: {
|
|
23809
|
+
Args: {
|
|
23810
|
+
p_employee_id: string;
|
|
23811
|
+
p_end_lat?: number;
|
|
23812
|
+
p_end_lng?: number;
|
|
23813
|
+
p_end_time: string;
|
|
23814
|
+
};
|
|
23815
|
+
Returns: import("./types.js").Json;
|
|
23816
|
+
};
|
|
23389
23817
|
switch_time_log: {
|
|
23390
23818
|
Args: {
|
|
23391
23819
|
p_employee_id: string;
|