@flowselections/layout-maker 1.32.0 → 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/ComputersLijst.d.ts.map +1 -1
- package/dist-lib/components/ComputersLijst.js +5 -5
- package/dist-lib/components/DocumentenPage.d.ts.map +1 -1
- package/dist-lib/components/DocumentenPage.js +3 -2
- package/dist-lib/components/LayoutPrinterSelect.d.ts +8 -0
- package/dist-lib/components/LayoutPrinterSelect.d.ts.map +1 -0
- package/dist-lib/components/LayoutPrinterSelect.js +23 -0
- package/dist-lib/components/LayoutsPage.d.ts.map +1 -1
- package/dist-lib/components/LayoutsPage.js +16 -3
- 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 +6 -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 +7 -2
- package/dist-lib/components/PdfMapAutoSaver.d.ts +6 -0
- package/dist-lib/components/PdfMapAutoSaver.d.ts.map +1 -0
- package/dist-lib/components/PdfMapAutoSaver.js +12 -0
- package/dist-lib/components/PdfMapGlobaleBanner.d.ts +12 -0
- package/dist-lib/components/PdfMapGlobaleBanner.d.ts.map +1 -0
- package/dist-lib/components/PdfMapGlobaleBanner.js +30 -0
- package/dist-lib/components/PdfMapToestemmingBanner.d.ts +7 -0
- package/dist-lib/components/PdfMapToestemmingBanner.d.ts.map +1 -0
- package/dist-lib/components/PdfMapToestemmingBanner.js +139 -0
- package/dist-lib/components/PrintQueuePage.d.ts.map +1 -1
- package/dist-lib/components/PrintQueuePage.js +42 -3
- package/dist-lib/components/PrintenPage.d.ts.map +1 -1
- package/dist-lib/components/PrintenPage.js +3 -2
- package/dist-lib/components/PrinterSetupWizard.d.ts.map +1 -1
- package/dist-lib/components/PrinterSetupWizard.js +28 -5
- package/dist-lib/components/PrintersRedirectPage.d.ts +1 -1
- package/dist-lib/components/PrintersRedirectPage.js +14 -14
- package/dist-lib/components/PrintplekDetailPage.d.ts.map +1 -1
- package/dist-lib/components/PrintplekDetailPage.js +30 -4
- package/dist-lib/components/PrintplekWizard.d.ts.map +1 -1
- package/dist-lib/components/PrintplekWizard.js +81 -3
- package/dist-lib/components/ProductiebonBuilderPage.d.ts.map +1 -1
- package/dist-lib/components/ProductiebonBuilderPage.js +3 -1
- package/dist-lib/index.d.ts +10 -2
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +13 -2
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1396 -727
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1396 -727
- 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 +1403 -750
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/aiLayout.functions.d.ts +1396 -727
- 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 +101 -6
- 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 +123 -10
- 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/pdfJobSaver.d.ts +20 -0
- package/dist-lib/lib/pdfJobSaver.d.ts.map +1 -0
- package/dist-lib/lib/pdfJobSaver.js +173 -0
- package/dist-lib/lib/pdfMap.d.ts +48 -0
- package/dist-lib/lib/pdfMap.d.ts.map +1 -0
- package/dist-lib/lib/pdfMap.js +219 -0
- package/dist-lib/lib/pdfPrinter.d.ts +9 -0
- package/dist-lib/lib/pdfPrinter.d.ts.map +1 -0
- package/dist-lib/lib/pdfPrinter.js +34 -0
- package/dist-lib/lib/previewPdf.d.ts.map +1 -1
- package/dist-lib/lib/previewPdf.js +41 -9
- package/dist-lib/lib/printApi.d.ts.map +1 -1
- package/dist-lib/lib/printApi.js +9 -1
- 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 +346 -52
- package/dist-lib/lib/printService.functions.d.ts +5365 -2689
- 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/dist-lib/lib/useDocumentData.d.ts +10 -0
- package/dist-lib/lib/useDocumentData.d.ts.map +1 -1
- package/dist-lib/lib/useDocumentData.js +19 -0
- package/dist-lib/lib/voorbeeldPrint.d.ts +4 -0
- package/dist-lib/lib/voorbeeldPrint.d.ts.map +1 -1
- package/dist-lib/lib/voorbeeldPrint.js +13 -2
- package/package.json +151 -151
|
@@ -3,7 +3,7 @@ export type Json = string | number | boolean | null | {
|
|
|
3
3
|
} | Json[];
|
|
4
4
|
export type Database = {
|
|
5
5
|
__InternalSupabase: {
|
|
6
|
-
PostgrestVersion: "14.
|
|
6
|
+
PostgrestVersion: "14.5";
|
|
7
7
|
};
|
|
8
8
|
public: {
|
|
9
9
|
Tables: {
|
|
@@ -2911,6 +2911,86 @@ export type Database = {
|
|
|
2911
2911
|
};
|
|
2912
2912
|
Relationships: [];
|
|
2913
2913
|
};
|
|
2914
|
+
delivery_notes: {
|
|
2915
|
+
Row: {
|
|
2916
|
+
byte_size: number | null;
|
|
2917
|
+
connection_id: string | null;
|
|
2918
|
+
content_type: string;
|
|
2919
|
+
created_at: string;
|
|
2920
|
+
error_message: string | null;
|
|
2921
|
+
fetched_at: string | null;
|
|
2922
|
+
fulfillment_order_id: string | null;
|
|
2923
|
+
http_status: number | null;
|
|
2924
|
+
id: string;
|
|
2925
|
+
label_code: string | null;
|
|
2926
|
+
letter: string | null;
|
|
2927
|
+
load_carrier_index: number | null;
|
|
2928
|
+
load_carrier_type: string | null;
|
|
2929
|
+
order_id: string | null;
|
|
2930
|
+
order_number: string | null;
|
|
2931
|
+
packages: number | null;
|
|
2932
|
+
source: string;
|
|
2933
|
+
status: string;
|
|
2934
|
+
storage_bucket: string;
|
|
2935
|
+
storage_path: string | null;
|
|
2936
|
+
updated_at: string;
|
|
2937
|
+
};
|
|
2938
|
+
Insert: {
|
|
2939
|
+
byte_size?: number | null;
|
|
2940
|
+
connection_id?: string | null;
|
|
2941
|
+
content_type?: string;
|
|
2942
|
+
created_at?: string;
|
|
2943
|
+
error_message?: string | null;
|
|
2944
|
+
fetched_at?: string | null;
|
|
2945
|
+
fulfillment_order_id?: string | null;
|
|
2946
|
+
http_status?: number | null;
|
|
2947
|
+
id?: string;
|
|
2948
|
+
label_code?: string | null;
|
|
2949
|
+
letter?: string | null;
|
|
2950
|
+
load_carrier_index?: number | null;
|
|
2951
|
+
load_carrier_type?: string | null;
|
|
2952
|
+
order_id?: string | null;
|
|
2953
|
+
order_number?: string | null;
|
|
2954
|
+
packages?: number | null;
|
|
2955
|
+
source?: string;
|
|
2956
|
+
status?: string;
|
|
2957
|
+
storage_bucket?: string;
|
|
2958
|
+
storage_path?: string | null;
|
|
2959
|
+
updated_at?: string;
|
|
2960
|
+
};
|
|
2961
|
+
Update: {
|
|
2962
|
+
byte_size?: number | null;
|
|
2963
|
+
connection_id?: string | null;
|
|
2964
|
+
content_type?: string;
|
|
2965
|
+
created_at?: string;
|
|
2966
|
+
error_message?: string | null;
|
|
2967
|
+
fetched_at?: string | null;
|
|
2968
|
+
fulfillment_order_id?: string | null;
|
|
2969
|
+
http_status?: number | null;
|
|
2970
|
+
id?: string;
|
|
2971
|
+
label_code?: string | null;
|
|
2972
|
+
letter?: string | null;
|
|
2973
|
+
load_carrier_index?: number | null;
|
|
2974
|
+
load_carrier_type?: string | null;
|
|
2975
|
+
order_id?: string | null;
|
|
2976
|
+
order_number?: string | null;
|
|
2977
|
+
packages?: number | null;
|
|
2978
|
+
source?: string;
|
|
2979
|
+
status?: string;
|
|
2980
|
+
storage_bucket?: string;
|
|
2981
|
+
storage_path?: string | null;
|
|
2982
|
+
updated_at?: string;
|
|
2983
|
+
};
|
|
2984
|
+
Relationships: [
|
|
2985
|
+
{
|
|
2986
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
2987
|
+
columns: ["order_id"];
|
|
2988
|
+
isOneToOne: false;
|
|
2989
|
+
referencedRelation: "orders";
|
|
2990
|
+
referencedColumns: ["id"];
|
|
2991
|
+
}
|
|
2992
|
+
];
|
|
2993
|
+
};
|
|
2914
2994
|
document_bronregels: {
|
|
2915
2995
|
Row: {
|
|
2916
2996
|
bron: string;
|
|
@@ -6048,10 +6128,7 @@ export type Database = {
|
|
|
6048
6128
|
};
|
|
6049
6129
|
floriday_connections: {
|
|
6050
6130
|
Row: {
|
|
6051
|
-
access_token: string | null;
|
|
6052
6131
|
api_key: string;
|
|
6053
|
-
client_id: string;
|
|
6054
|
-
client_secret: string;
|
|
6055
6132
|
created_at: string;
|
|
6056
6133
|
customers_endpoint: string | null;
|
|
6057
6134
|
environment: string;
|
|
@@ -6066,10 +6143,7 @@ export type Database = {
|
|
|
6066
6143
|
updated_at: string;
|
|
6067
6144
|
};
|
|
6068
6145
|
Insert: {
|
|
6069
|
-
access_token?: string | null;
|
|
6070
6146
|
api_key: string;
|
|
6071
|
-
client_id: string;
|
|
6072
|
-
client_secret: string;
|
|
6073
6147
|
created_at?: string;
|
|
6074
6148
|
customers_endpoint?: string | null;
|
|
6075
6149
|
environment: string;
|
|
@@ -6084,10 +6158,7 @@ export type Database = {
|
|
|
6084
6158
|
updated_at?: string;
|
|
6085
6159
|
};
|
|
6086
6160
|
Update: {
|
|
6087
|
-
access_token?: string | null;
|
|
6088
6161
|
api_key?: string;
|
|
6089
|
-
client_id?: string;
|
|
6090
|
-
client_secret?: string;
|
|
6091
6162
|
created_at?: string;
|
|
6092
6163
|
customers_endpoint?: string | null;
|
|
6093
6164
|
environment?: string;
|
|
@@ -6173,6 +6244,7 @@ export type Database = {
|
|
|
6173
6244
|
attempts: number;
|
|
6174
6245
|
connection_id: string;
|
|
6175
6246
|
created_at: string;
|
|
6247
|
+
dead_lettered_at: string | null;
|
|
6176
6248
|
desired_available: boolean | null;
|
|
6177
6249
|
gateway_attempt_id: string | null;
|
|
6178
6250
|
id: string;
|
|
@@ -6181,9 +6253,13 @@ export type Database = {
|
|
|
6181
6253
|
locked_by: string | null;
|
|
6182
6254
|
next_attempt_at: string;
|
|
6183
6255
|
number_of_pieces: number;
|
|
6256
|
+
product_id: string | null;
|
|
6184
6257
|
sent_at: string | null;
|
|
6185
6258
|
status: string;
|
|
6259
|
+
stock_mode: string | null;
|
|
6186
6260
|
superseded_by: string | null;
|
|
6261
|
+
target_week: number | null;
|
|
6262
|
+
target_year: number | null;
|
|
6187
6263
|
trade_item_id: string;
|
|
6188
6264
|
updated_at: string;
|
|
6189
6265
|
user_id: string;
|
|
@@ -6192,6 +6268,7 @@ export type Database = {
|
|
|
6192
6268
|
attempts?: number;
|
|
6193
6269
|
connection_id: string;
|
|
6194
6270
|
created_at?: string;
|
|
6271
|
+
dead_lettered_at?: string | null;
|
|
6195
6272
|
desired_available?: boolean | null;
|
|
6196
6273
|
gateway_attempt_id?: string | null;
|
|
6197
6274
|
id?: string;
|
|
@@ -6200,9 +6277,13 @@ export type Database = {
|
|
|
6200
6277
|
locked_by?: string | null;
|
|
6201
6278
|
next_attempt_at?: string;
|
|
6202
6279
|
number_of_pieces?: number;
|
|
6280
|
+
product_id?: string | null;
|
|
6203
6281
|
sent_at?: string | null;
|
|
6204
6282
|
status?: string;
|
|
6283
|
+
stock_mode?: string | null;
|
|
6205
6284
|
superseded_by?: string | null;
|
|
6285
|
+
target_week?: number | null;
|
|
6286
|
+
target_year?: number | null;
|
|
6206
6287
|
trade_item_id: string;
|
|
6207
6288
|
updated_at?: string;
|
|
6208
6289
|
user_id: string;
|
|
@@ -6211,6 +6292,7 @@ export type Database = {
|
|
|
6211
6292
|
attempts?: number;
|
|
6212
6293
|
connection_id?: string;
|
|
6213
6294
|
created_at?: string;
|
|
6295
|
+
dead_lettered_at?: string | null;
|
|
6214
6296
|
desired_available?: boolean | null;
|
|
6215
6297
|
gateway_attempt_id?: string | null;
|
|
6216
6298
|
id?: string;
|
|
@@ -6219,9 +6301,13 @@ export type Database = {
|
|
|
6219
6301
|
locked_by?: string | null;
|
|
6220
6302
|
next_attempt_at?: string;
|
|
6221
6303
|
number_of_pieces?: number;
|
|
6304
|
+
product_id?: string | null;
|
|
6222
6305
|
sent_at?: string | null;
|
|
6223
6306
|
status?: string;
|
|
6307
|
+
stock_mode?: string | null;
|
|
6224
6308
|
superseded_by?: string | null;
|
|
6309
|
+
target_week?: number | null;
|
|
6310
|
+
target_year?: number | null;
|
|
6225
6311
|
trade_item_id?: string;
|
|
6226
6312
|
updated_at?: string;
|
|
6227
6313
|
user_id?: string;
|
|
@@ -6648,6 +6734,87 @@ export type Database = {
|
|
|
6648
6734
|
}
|
|
6649
6735
|
];
|
|
6650
6736
|
};
|
|
6737
|
+
floriday_inventory_settings: {
|
|
6738
|
+
Row: {
|
|
6739
|
+
buffer_quantity: number;
|
|
6740
|
+
connection_id: string;
|
|
6741
|
+
created_at: string;
|
|
6742
|
+
desired_availability: boolean;
|
|
6743
|
+
desired_quantity: number;
|
|
6744
|
+
fixed_quantity: number | null;
|
|
6745
|
+
floriday_trade_item_id: string | null;
|
|
6746
|
+
id: string;
|
|
6747
|
+
last_confirmed_at: string | null;
|
|
6748
|
+
last_enqueued_at: string | null;
|
|
6749
|
+
last_published_at: string | null;
|
|
6750
|
+
last_sync_error: string | null;
|
|
6751
|
+
manual_quantity: number | null;
|
|
6752
|
+
maximum_quantity: number | null;
|
|
6753
|
+
product_id: string;
|
|
6754
|
+
quantity_control: string;
|
|
6755
|
+
remote_available: boolean | null;
|
|
6756
|
+
remote_checked_at: string | null;
|
|
6757
|
+
remote_quantity: number | null;
|
|
6758
|
+
stock_mode: string;
|
|
6759
|
+
sync_status: string;
|
|
6760
|
+
updated_at: string;
|
|
6761
|
+
updated_by: string | null;
|
|
6762
|
+
user_id: string;
|
|
6763
|
+
};
|
|
6764
|
+
Insert: {
|
|
6765
|
+
buffer_quantity?: number;
|
|
6766
|
+
connection_id: string;
|
|
6767
|
+
created_at?: string;
|
|
6768
|
+
desired_availability?: boolean;
|
|
6769
|
+
desired_quantity?: number;
|
|
6770
|
+
fixed_quantity?: number | null;
|
|
6771
|
+
floriday_trade_item_id?: string | null;
|
|
6772
|
+
id?: string;
|
|
6773
|
+
last_confirmed_at?: string | null;
|
|
6774
|
+
last_enqueued_at?: string | null;
|
|
6775
|
+
last_published_at?: string | null;
|
|
6776
|
+
last_sync_error?: string | null;
|
|
6777
|
+
manual_quantity?: number | null;
|
|
6778
|
+
maximum_quantity?: number | null;
|
|
6779
|
+
product_id: string;
|
|
6780
|
+
quantity_control?: string;
|
|
6781
|
+
remote_available?: boolean | null;
|
|
6782
|
+
remote_checked_at?: string | null;
|
|
6783
|
+
remote_quantity?: number | null;
|
|
6784
|
+
stock_mode?: string;
|
|
6785
|
+
sync_status?: string;
|
|
6786
|
+
updated_at?: string;
|
|
6787
|
+
updated_by?: string | null;
|
|
6788
|
+
user_id: string;
|
|
6789
|
+
};
|
|
6790
|
+
Update: {
|
|
6791
|
+
buffer_quantity?: number;
|
|
6792
|
+
connection_id?: string;
|
|
6793
|
+
created_at?: string;
|
|
6794
|
+
desired_availability?: boolean;
|
|
6795
|
+
desired_quantity?: number;
|
|
6796
|
+
fixed_quantity?: number | null;
|
|
6797
|
+
floriday_trade_item_id?: string | null;
|
|
6798
|
+
id?: string;
|
|
6799
|
+
last_confirmed_at?: string | null;
|
|
6800
|
+
last_enqueued_at?: string | null;
|
|
6801
|
+
last_published_at?: string | null;
|
|
6802
|
+
last_sync_error?: string | null;
|
|
6803
|
+
manual_quantity?: number | null;
|
|
6804
|
+
maximum_quantity?: number | null;
|
|
6805
|
+
product_id?: string;
|
|
6806
|
+
quantity_control?: string;
|
|
6807
|
+
remote_available?: boolean | null;
|
|
6808
|
+
remote_checked_at?: string | null;
|
|
6809
|
+
remote_quantity?: number | null;
|
|
6810
|
+
stock_mode?: string;
|
|
6811
|
+
sync_status?: string;
|
|
6812
|
+
updated_at?: string;
|
|
6813
|
+
updated_by?: string | null;
|
|
6814
|
+
user_id?: string;
|
|
6815
|
+
};
|
|
6816
|
+
Relationships: [];
|
|
6817
|
+
};
|
|
6651
6818
|
floriday_invoices_cache: {
|
|
6652
6819
|
Row: {
|
|
6653
6820
|
buyer_organization_id: string | null;
|
|
@@ -6944,6 +7111,39 @@ export type Database = {
|
|
|
6944
7111
|
};
|
|
6945
7112
|
Relationships: [];
|
|
6946
7113
|
};
|
|
7114
|
+
floriday_sales_order_ingest: {
|
|
7115
|
+
Row: {
|
|
7116
|
+
connection_id: string;
|
|
7117
|
+
created_at: string;
|
|
7118
|
+
id: string;
|
|
7119
|
+
impact: Json;
|
|
7120
|
+
order_status: string | null;
|
|
7121
|
+
order_version: number;
|
|
7122
|
+
processed_at: string;
|
|
7123
|
+
sales_order_id: string;
|
|
7124
|
+
};
|
|
7125
|
+
Insert: {
|
|
7126
|
+
connection_id: string;
|
|
7127
|
+
created_at?: string;
|
|
7128
|
+
id?: string;
|
|
7129
|
+
impact?: Json;
|
|
7130
|
+
order_status?: string | null;
|
|
7131
|
+
order_version?: number;
|
|
7132
|
+
processed_at?: string;
|
|
7133
|
+
sales_order_id: string;
|
|
7134
|
+
};
|
|
7135
|
+
Update: {
|
|
7136
|
+
connection_id?: string;
|
|
7137
|
+
created_at?: string;
|
|
7138
|
+
id?: string;
|
|
7139
|
+
impact?: Json;
|
|
7140
|
+
order_status?: string | null;
|
|
7141
|
+
order_version?: number;
|
|
7142
|
+
processed_at?: string;
|
|
7143
|
+
sales_order_id?: string;
|
|
7144
|
+
};
|
|
7145
|
+
Relationships: [];
|
|
7146
|
+
};
|
|
6947
7147
|
floriday_sales_strategies_cache: {
|
|
6948
7148
|
Row: {
|
|
6949
7149
|
connection_id: string;
|
|
@@ -7047,6 +7247,39 @@ export type Database = {
|
|
|
7047
7247
|
};
|
|
7048
7248
|
Relationships: [];
|
|
7049
7249
|
};
|
|
7250
|
+
floriday_sync_cursors: {
|
|
7251
|
+
Row: {
|
|
7252
|
+
connection_id: string;
|
|
7253
|
+
created_at: string;
|
|
7254
|
+
id: string;
|
|
7255
|
+
last_error: string | null;
|
|
7256
|
+
last_sync_at: string | null;
|
|
7257
|
+
resource_type: string;
|
|
7258
|
+
sequence_number: number;
|
|
7259
|
+
updated_at: string;
|
|
7260
|
+
};
|
|
7261
|
+
Insert: {
|
|
7262
|
+
connection_id: string;
|
|
7263
|
+
created_at?: string;
|
|
7264
|
+
id?: string;
|
|
7265
|
+
last_error?: string | null;
|
|
7266
|
+
last_sync_at?: string | null;
|
|
7267
|
+
resource_type: string;
|
|
7268
|
+
sequence_number?: number;
|
|
7269
|
+
updated_at?: string;
|
|
7270
|
+
};
|
|
7271
|
+
Update: {
|
|
7272
|
+
connection_id?: string;
|
|
7273
|
+
created_at?: string;
|
|
7274
|
+
id?: string;
|
|
7275
|
+
last_error?: string | null;
|
|
7276
|
+
last_sync_at?: string | null;
|
|
7277
|
+
resource_type?: string;
|
|
7278
|
+
sequence_number?: number;
|
|
7279
|
+
updated_at?: string;
|
|
7280
|
+
};
|
|
7281
|
+
Relationships: [];
|
|
7282
|
+
};
|
|
7050
7283
|
floriday_sync_state: {
|
|
7051
7284
|
Row: {
|
|
7052
7285
|
connection_id: string;
|
|
@@ -7762,6 +7995,42 @@ export type Database = {
|
|
|
7762
7995
|
};
|
|
7763
7996
|
Relationships: [];
|
|
7764
7997
|
};
|
|
7998
|
+
inventory_stock_snapshots: {
|
|
7999
|
+
Row: {
|
|
8000
|
+
connection_id: string;
|
|
8001
|
+
created_at: string;
|
|
8002
|
+
erp_available_quantity: number;
|
|
8003
|
+
floriday_desired_quantity: number;
|
|
8004
|
+
floriday_remote_quantity: number | null;
|
|
8005
|
+
granularity: string;
|
|
8006
|
+
id: string;
|
|
8007
|
+
snapshot_at: string;
|
|
8008
|
+
user_id: string | null;
|
|
8009
|
+
};
|
|
8010
|
+
Insert: {
|
|
8011
|
+
connection_id: string;
|
|
8012
|
+
created_at?: string;
|
|
8013
|
+
erp_available_quantity?: number;
|
|
8014
|
+
floriday_desired_quantity?: number;
|
|
8015
|
+
floriday_remote_quantity?: number | null;
|
|
8016
|
+
granularity?: string;
|
|
8017
|
+
id?: string;
|
|
8018
|
+
snapshot_at?: string;
|
|
8019
|
+
user_id?: string | null;
|
|
8020
|
+
};
|
|
8021
|
+
Update: {
|
|
8022
|
+
connection_id?: string;
|
|
8023
|
+
created_at?: string;
|
|
8024
|
+
erp_available_quantity?: number;
|
|
8025
|
+
floriday_desired_quantity?: number;
|
|
8026
|
+
floriday_remote_quantity?: number | null;
|
|
8027
|
+
granularity?: string;
|
|
8028
|
+
id?: string;
|
|
8029
|
+
snapshot_at?: string;
|
|
8030
|
+
user_id?: string | null;
|
|
8031
|
+
};
|
|
8032
|
+
Relationships: [];
|
|
8033
|
+
};
|
|
7765
8034
|
invoice_items: {
|
|
7766
8035
|
Row: {
|
|
7767
8036
|
created_at: string;
|
|
@@ -8287,15 +8556,7 @@ export type Database = {
|
|
|
8287
8556
|
segment?: Database["public"]["Enums"]["itk_customer_segment"];
|
|
8288
8557
|
updated_at?: string;
|
|
8289
8558
|
};
|
|
8290
|
-
Relationships: [
|
|
8291
|
-
{
|
|
8292
|
-
foreignKeyName: "itk_customers_legacy_customer_id_fkey";
|
|
8293
|
-
columns: ["legacy_customer_id"];
|
|
8294
|
-
isOneToOne: false;
|
|
8295
|
-
referencedRelation: "customers";
|
|
8296
|
-
referencedColumns: ["id"];
|
|
8297
|
-
}
|
|
8298
|
-
];
|
|
8559
|
+
Relationships: [];
|
|
8299
8560
|
};
|
|
8300
8561
|
itk_dynamic_fields: {
|
|
8301
8562
|
Row: {
|
|
@@ -8327,98 +8588,272 @@ export type Database = {
|
|
|
8327
8588
|
};
|
|
8328
8589
|
Relationships: [];
|
|
8329
8590
|
};
|
|
8330
|
-
|
|
8591
|
+
itk_handover_rechten: {
|
|
8331
8592
|
Row: {
|
|
8332
8593
|
created_at: string;
|
|
8333
|
-
event_type: string;
|
|
8334
8594
|
id: string;
|
|
8335
|
-
|
|
8336
|
-
|
|
8337
|
-
|
|
8595
|
+
module_id: string;
|
|
8596
|
+
rol: Database["public"]["Enums"]["app_role"] | null;
|
|
8597
|
+
updated_at: string;
|
|
8338
8598
|
user_id: string | null;
|
|
8339
8599
|
};
|
|
8340
8600
|
Insert: {
|
|
8341
8601
|
created_at?: string;
|
|
8342
|
-
event_type: string;
|
|
8343
8602
|
id?: string;
|
|
8344
|
-
|
|
8345
|
-
|
|
8346
|
-
|
|
8603
|
+
module_id: string;
|
|
8604
|
+
rol?: Database["public"]["Enums"]["app_role"] | null;
|
|
8605
|
+
updated_at?: string;
|
|
8347
8606
|
user_id?: string | null;
|
|
8348
8607
|
};
|
|
8349
8608
|
Update: {
|
|
8350
8609
|
created_at?: string;
|
|
8351
|
-
event_type?: string;
|
|
8352
8610
|
id?: string;
|
|
8353
|
-
|
|
8354
|
-
|
|
8355
|
-
|
|
8611
|
+
module_id?: string;
|
|
8612
|
+
rol?: Database["public"]["Enums"]["app_role"] | null;
|
|
8613
|
+
updated_at?: string;
|
|
8356
8614
|
user_id?: string | null;
|
|
8357
8615
|
};
|
|
8358
|
-
Relationships: [
|
|
8359
|
-
{
|
|
8360
|
-
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
8361
|
-
columns: ["offerte_id"];
|
|
8362
|
-
isOneToOne: false;
|
|
8363
|
-
referencedRelation: "itk_offertes";
|
|
8364
|
-
referencedColumns: ["id"];
|
|
8365
|
-
}
|
|
8366
|
-
];
|
|
8616
|
+
Relationships: [];
|
|
8367
8617
|
};
|
|
8368
|
-
|
|
8618
|
+
itk_handover_tokens: {
|
|
8369
8619
|
Row: {
|
|
8620
|
+
aangemaakt_door: string | null;
|
|
8370
8621
|
created_at: string;
|
|
8371
8622
|
id: string;
|
|
8372
|
-
|
|
8373
|
-
|
|
8374
|
-
|
|
8375
|
-
|
|
8376
|
-
|
|
8377
|
-
sort_order: number;
|
|
8378
|
-
source: string;
|
|
8379
|
-
unit_price_cents: number;
|
|
8623
|
+
is_actief: boolean;
|
|
8624
|
+
laatst_gebruikt_op: string | null;
|
|
8625
|
+
label: string;
|
|
8626
|
+
module_id: string;
|
|
8627
|
+
token_hash: string;
|
|
8380
8628
|
updated_at: string;
|
|
8629
|
+
verloopt_op: string | null;
|
|
8381
8630
|
};
|
|
8382
8631
|
Insert: {
|
|
8632
|
+
aangemaakt_door?: string | null;
|
|
8383
8633
|
created_at?: string;
|
|
8384
8634
|
id?: string;
|
|
8385
|
-
|
|
8386
|
-
|
|
8387
|
-
|
|
8388
|
-
|
|
8389
|
-
|
|
8390
|
-
sort_order?: number;
|
|
8391
|
-
source?: string;
|
|
8392
|
-
unit_price_cents?: number;
|
|
8635
|
+
is_actief?: boolean;
|
|
8636
|
+
laatst_gebruikt_op?: string | null;
|
|
8637
|
+
label?: string;
|
|
8638
|
+
module_id: string;
|
|
8639
|
+
token_hash: string;
|
|
8393
8640
|
updated_at?: string;
|
|
8641
|
+
verloopt_op?: string | null;
|
|
8394
8642
|
};
|
|
8395
8643
|
Update: {
|
|
8644
|
+
aangemaakt_door?: string | null;
|
|
8396
8645
|
created_at?: string;
|
|
8397
8646
|
id?: string;
|
|
8398
|
-
|
|
8399
|
-
|
|
8400
|
-
|
|
8401
|
-
|
|
8402
|
-
|
|
8403
|
-
sort_order?: number;
|
|
8404
|
-
source?: string;
|
|
8405
|
-
unit_price_cents?: number;
|
|
8647
|
+
is_actief?: boolean;
|
|
8648
|
+
laatst_gebruikt_op?: string | null;
|
|
8649
|
+
label?: string;
|
|
8650
|
+
module_id?: string;
|
|
8651
|
+
token_hash?: string;
|
|
8406
8652
|
updated_at?: string;
|
|
8653
|
+
verloopt_op?: string | null;
|
|
8407
8654
|
};
|
|
8408
|
-
Relationships: [
|
|
8409
|
-
|
|
8410
|
-
|
|
8411
|
-
|
|
8412
|
-
|
|
8413
|
-
|
|
8414
|
-
|
|
8415
|
-
|
|
8416
|
-
|
|
8417
|
-
|
|
8418
|
-
|
|
8419
|
-
|
|
8420
|
-
|
|
8421
|
-
|
|
8655
|
+
Relationships: [];
|
|
8656
|
+
};
|
|
8657
|
+
itk_module_handovers: {
|
|
8658
|
+
Row: {
|
|
8659
|
+
bevindingen: string | null;
|
|
8660
|
+
bezit_tabellen: string[];
|
|
8661
|
+
conflicten_snapshot: Json;
|
|
8662
|
+
contractfuncties: string[];
|
|
8663
|
+
created_at: string;
|
|
8664
|
+
eigenaar_module_id: string | null;
|
|
8665
|
+
gepubliceerd_door: string | null;
|
|
8666
|
+
gepubliceerd_op: string;
|
|
8667
|
+
herzieningstermijn_dagen: number;
|
|
8668
|
+
id: string;
|
|
8669
|
+
inhoud_md: string;
|
|
8670
|
+
is_actueel: boolean;
|
|
8671
|
+
module_id: string;
|
|
8672
|
+
module_titel: string;
|
|
8673
|
+
ontbrekende_contracten: string[];
|
|
8674
|
+
samenvatting: string | null;
|
|
8675
|
+
updated_at: string;
|
|
8676
|
+
versie: number;
|
|
8677
|
+
};
|
|
8678
|
+
Insert: {
|
|
8679
|
+
bevindingen?: string | null;
|
|
8680
|
+
bezit_tabellen?: string[];
|
|
8681
|
+
conflicten_snapshot?: Json;
|
|
8682
|
+
contractfuncties?: string[];
|
|
8683
|
+
created_at?: string;
|
|
8684
|
+
eigenaar_module_id?: string | null;
|
|
8685
|
+
gepubliceerd_door?: string | null;
|
|
8686
|
+
gepubliceerd_op?: string;
|
|
8687
|
+
herzieningstermijn_dagen?: number;
|
|
8688
|
+
id?: string;
|
|
8689
|
+
inhoud_md: string;
|
|
8690
|
+
is_actueel?: boolean;
|
|
8691
|
+
module_id: string;
|
|
8692
|
+
module_titel: string;
|
|
8693
|
+
ontbrekende_contracten?: string[];
|
|
8694
|
+
samenvatting?: string | null;
|
|
8695
|
+
updated_at?: string;
|
|
8696
|
+
versie?: number;
|
|
8697
|
+
};
|
|
8698
|
+
Update: {
|
|
8699
|
+
bevindingen?: string | null;
|
|
8700
|
+
bezit_tabellen?: string[];
|
|
8701
|
+
conflicten_snapshot?: Json;
|
|
8702
|
+
contractfuncties?: string[];
|
|
8703
|
+
created_at?: string;
|
|
8704
|
+
eigenaar_module_id?: string | null;
|
|
8705
|
+
gepubliceerd_door?: string | null;
|
|
8706
|
+
gepubliceerd_op?: string;
|
|
8707
|
+
herzieningstermijn_dagen?: number;
|
|
8708
|
+
id?: string;
|
|
8709
|
+
inhoud_md?: string;
|
|
8710
|
+
is_actueel?: boolean;
|
|
8711
|
+
module_id?: string;
|
|
8712
|
+
module_titel?: string;
|
|
8713
|
+
ontbrekende_contracten?: string[];
|
|
8714
|
+
samenvatting?: string | null;
|
|
8715
|
+
updated_at?: string;
|
|
8716
|
+
versie?: number;
|
|
8717
|
+
};
|
|
8718
|
+
Relationships: [];
|
|
8719
|
+
};
|
|
8720
|
+
itk_module_instructies: {
|
|
8721
|
+
Row: {
|
|
8722
|
+
created_at: string;
|
|
8723
|
+
eigenaar_module_id: string;
|
|
8724
|
+
gepubliceerd_door: string | null;
|
|
8725
|
+
gepubliceerd_op: string;
|
|
8726
|
+
id: string;
|
|
8727
|
+
inhoud_md: string;
|
|
8728
|
+
is_actueel: boolean;
|
|
8729
|
+
sleutel: string;
|
|
8730
|
+
titel: string;
|
|
8731
|
+
toelichting: string | null;
|
|
8732
|
+
updated_at: string;
|
|
8733
|
+
versie: number;
|
|
8734
|
+
};
|
|
8735
|
+
Insert: {
|
|
8736
|
+
created_at?: string;
|
|
8737
|
+
eigenaar_module_id?: string;
|
|
8738
|
+
gepubliceerd_door?: string | null;
|
|
8739
|
+
gepubliceerd_op?: string;
|
|
8740
|
+
id?: string;
|
|
8741
|
+
inhoud_md: string;
|
|
8742
|
+
is_actueel?: boolean;
|
|
8743
|
+
sleutel: string;
|
|
8744
|
+
titel: string;
|
|
8745
|
+
toelichting?: string | null;
|
|
8746
|
+
updated_at?: string;
|
|
8747
|
+
versie?: number;
|
|
8748
|
+
};
|
|
8749
|
+
Update: {
|
|
8750
|
+
created_at?: string;
|
|
8751
|
+
eigenaar_module_id?: string;
|
|
8752
|
+
gepubliceerd_door?: string | null;
|
|
8753
|
+
gepubliceerd_op?: string;
|
|
8754
|
+
id?: string;
|
|
8755
|
+
inhoud_md?: string;
|
|
8756
|
+
is_actueel?: boolean;
|
|
8757
|
+
sleutel?: string;
|
|
8758
|
+
titel?: string;
|
|
8759
|
+
toelichting?: string | null;
|
|
8760
|
+
updated_at?: string;
|
|
8761
|
+
versie?: number;
|
|
8762
|
+
};
|
|
8763
|
+
Relationships: [];
|
|
8764
|
+
};
|
|
8765
|
+
itk_offerte_events: {
|
|
8766
|
+
Row: {
|
|
8767
|
+
created_at: string;
|
|
8768
|
+
event_type: string;
|
|
8769
|
+
id: string;
|
|
8770
|
+
metadata: Json;
|
|
8771
|
+
offerte_id: string;
|
|
8772
|
+
omschrijving: string | null;
|
|
8773
|
+
user_id: string | null;
|
|
8774
|
+
};
|
|
8775
|
+
Insert: {
|
|
8776
|
+
created_at?: string;
|
|
8777
|
+
event_type: string;
|
|
8778
|
+
id?: string;
|
|
8779
|
+
metadata?: Json;
|
|
8780
|
+
offerte_id: string;
|
|
8781
|
+
omschrijving?: string | null;
|
|
8782
|
+
user_id?: string | null;
|
|
8783
|
+
};
|
|
8784
|
+
Update: {
|
|
8785
|
+
created_at?: string;
|
|
8786
|
+
event_type?: string;
|
|
8787
|
+
id?: string;
|
|
8788
|
+
metadata?: Json;
|
|
8789
|
+
offerte_id?: string;
|
|
8790
|
+
omschrijving?: string | null;
|
|
8791
|
+
user_id?: string | null;
|
|
8792
|
+
};
|
|
8793
|
+
Relationships: [
|
|
8794
|
+
{
|
|
8795
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
8796
|
+
columns: ["offerte_id"];
|
|
8797
|
+
isOneToOne: false;
|
|
8798
|
+
referencedRelation: "itk_offertes";
|
|
8799
|
+
referencedColumns: ["id"];
|
|
8800
|
+
}
|
|
8801
|
+
];
|
|
8802
|
+
};
|
|
8803
|
+
itk_offerte_regels: {
|
|
8804
|
+
Row: {
|
|
8805
|
+
created_at: string;
|
|
8806
|
+
id: string;
|
|
8807
|
+
line_total_cents: number;
|
|
8808
|
+
offerte_id: string;
|
|
8809
|
+
omschrijving: string;
|
|
8810
|
+
package_id: string | null;
|
|
8811
|
+
quantity: number;
|
|
8812
|
+
sort_order: number;
|
|
8813
|
+
source: string;
|
|
8814
|
+
unit_price_cents: number;
|
|
8815
|
+
updated_at: string;
|
|
8816
|
+
};
|
|
8817
|
+
Insert: {
|
|
8818
|
+
created_at?: string;
|
|
8819
|
+
id?: string;
|
|
8820
|
+
line_total_cents?: number;
|
|
8821
|
+
offerte_id: string;
|
|
8822
|
+
omschrijving?: string;
|
|
8823
|
+
package_id?: string | null;
|
|
8824
|
+
quantity?: number;
|
|
8825
|
+
sort_order?: number;
|
|
8826
|
+
source?: string;
|
|
8827
|
+
unit_price_cents?: number;
|
|
8828
|
+
updated_at?: string;
|
|
8829
|
+
};
|
|
8830
|
+
Update: {
|
|
8831
|
+
created_at?: string;
|
|
8832
|
+
id?: string;
|
|
8833
|
+
line_total_cents?: number;
|
|
8834
|
+
offerte_id?: string;
|
|
8835
|
+
omschrijving?: string;
|
|
8836
|
+
package_id?: string | null;
|
|
8837
|
+
quantity?: number;
|
|
8838
|
+
sort_order?: number;
|
|
8839
|
+
source?: string;
|
|
8840
|
+
unit_price_cents?: number;
|
|
8841
|
+
updated_at?: string;
|
|
8842
|
+
};
|
|
8843
|
+
Relationships: [
|
|
8844
|
+
{
|
|
8845
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
8846
|
+
columns: ["offerte_id"];
|
|
8847
|
+
isOneToOne: false;
|
|
8848
|
+
referencedRelation: "itk_offertes";
|
|
8849
|
+
referencedColumns: ["id"];
|
|
8850
|
+
},
|
|
8851
|
+
{
|
|
8852
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
8853
|
+
columns: ["package_id"];
|
|
8854
|
+
isOneToOne: false;
|
|
8855
|
+
referencedRelation: "werkbon_packages";
|
|
8856
|
+
referencedColumns: ["id"];
|
|
8422
8857
|
}
|
|
8423
8858
|
];
|
|
8424
8859
|
};
|
|
@@ -9215,6 +9650,27 @@ export type Database = {
|
|
|
9215
9650
|
};
|
|
9216
9651
|
Relationships: [];
|
|
9217
9652
|
};
|
|
9653
|
+
logistics_cart_barcode: {
|
|
9654
|
+
Row: {
|
|
9655
|
+
barcode: string;
|
|
9656
|
+
cart_id: string;
|
|
9657
|
+
created_at: string;
|
|
9658
|
+
order_id: string | null;
|
|
9659
|
+
};
|
|
9660
|
+
Insert: {
|
|
9661
|
+
barcode: string;
|
|
9662
|
+
cart_id: string;
|
|
9663
|
+
created_at?: string;
|
|
9664
|
+
order_id?: string | null;
|
|
9665
|
+
};
|
|
9666
|
+
Update: {
|
|
9667
|
+
barcode?: string;
|
|
9668
|
+
cart_id?: string;
|
|
9669
|
+
created_at?: string;
|
|
9670
|
+
order_id?: string | null;
|
|
9671
|
+
};
|
|
9672
|
+
Relationships: [];
|
|
9673
|
+
};
|
|
9218
9674
|
logistics_decisions: {
|
|
9219
9675
|
Row: {
|
|
9220
9676
|
created_at: string;
|
|
@@ -10058,6 +10514,36 @@ export type Database = {
|
|
|
10058
10514
|
}
|
|
10059
10515
|
];
|
|
10060
10516
|
};
|
|
10517
|
+
logistics_shipping_note_scan: {
|
|
10518
|
+
Row: {
|
|
10519
|
+
barcode: string;
|
|
10520
|
+
cart_id: string;
|
|
10521
|
+
id: string;
|
|
10522
|
+
is_reprint: boolean;
|
|
10523
|
+
order_id: string | null;
|
|
10524
|
+
print_job_id: string | null;
|
|
10525
|
+
scanned_at: string;
|
|
10526
|
+
};
|
|
10527
|
+
Insert: {
|
|
10528
|
+
barcode: string;
|
|
10529
|
+
cart_id: string;
|
|
10530
|
+
id?: string;
|
|
10531
|
+
is_reprint?: boolean;
|
|
10532
|
+
order_id?: string | null;
|
|
10533
|
+
print_job_id?: string | null;
|
|
10534
|
+
scanned_at?: string;
|
|
10535
|
+
};
|
|
10536
|
+
Update: {
|
|
10537
|
+
barcode?: string;
|
|
10538
|
+
cart_id?: string;
|
|
10539
|
+
id?: string;
|
|
10540
|
+
is_reprint?: boolean;
|
|
10541
|
+
order_id?: string | null;
|
|
10542
|
+
print_job_id?: string | null;
|
|
10543
|
+
scanned_at?: string;
|
|
10544
|
+
};
|
|
10545
|
+
Relationships: [];
|
|
10546
|
+
};
|
|
10061
10547
|
logistics_staff_planning: {
|
|
10062
10548
|
Row: {
|
|
10063
10549
|
created_at: string;
|
|
@@ -12165,6 +12651,8 @@ export type Database = {
|
|
|
12165
12651
|
order_buffers: {
|
|
12166
12652
|
Row: {
|
|
12167
12653
|
buffer_key: string;
|
|
12654
|
+
close_at: string | null;
|
|
12655
|
+
closed_at: string | null;
|
|
12168
12656
|
created_at: string;
|
|
12169
12657
|
customer_id: string | null;
|
|
12170
12658
|
grouping_mode: string;
|
|
@@ -12176,6 +12664,8 @@ export type Database = {
|
|
|
12176
12664
|
};
|
|
12177
12665
|
Insert: {
|
|
12178
12666
|
buffer_key: string;
|
|
12667
|
+
close_at?: string | null;
|
|
12668
|
+
closed_at?: string | null;
|
|
12179
12669
|
created_at?: string;
|
|
12180
12670
|
customer_id?: string | null;
|
|
12181
12671
|
grouping_mode: string;
|
|
@@ -12187,6 +12677,8 @@ export type Database = {
|
|
|
12187
12677
|
};
|
|
12188
12678
|
Update: {
|
|
12189
12679
|
buffer_key?: string;
|
|
12680
|
+
close_at?: string | null;
|
|
12681
|
+
closed_at?: string | null;
|
|
12190
12682
|
created_at?: string;
|
|
12191
12683
|
customer_id?: string | null;
|
|
12192
12684
|
grouping_mode?: string;
|
|
@@ -12203,10 +12695,12 @@ export type Database = {
|
|
|
12203
12695
|
boxes: number | null;
|
|
12204
12696
|
cart_id: string;
|
|
12205
12697
|
crates: number;
|
|
12698
|
+
crates_in_layer: number | null;
|
|
12206
12699
|
crates_per_layer: number;
|
|
12207
12700
|
created_at: string;
|
|
12208
12701
|
id: string;
|
|
12209
12702
|
layer_fraction: number;
|
|
12703
|
+
layer_index: number | null;
|
|
12210
12704
|
layer_share_pct: number;
|
|
12211
12705
|
layers_per_cart: number;
|
|
12212
12706
|
order_item_id: string | null;
|
|
@@ -12219,10 +12713,12 @@ export type Database = {
|
|
|
12219
12713
|
boxes?: number | null;
|
|
12220
12714
|
cart_id: string;
|
|
12221
12715
|
crates: number;
|
|
12716
|
+
crates_in_layer?: number | null;
|
|
12222
12717
|
crates_per_layer?: number;
|
|
12223
12718
|
created_at?: string;
|
|
12224
12719
|
id?: string;
|
|
12225
12720
|
layer_fraction?: number;
|
|
12721
|
+
layer_index?: number | null;
|
|
12226
12722
|
layer_share_pct?: number;
|
|
12227
12723
|
layers_per_cart?: number;
|
|
12228
12724
|
order_item_id?: string | null;
|
|
@@ -12235,10 +12731,12 @@ export type Database = {
|
|
|
12235
12731
|
boxes?: number | null;
|
|
12236
12732
|
cart_id?: string;
|
|
12237
12733
|
crates?: number;
|
|
12734
|
+
crates_in_layer?: number | null;
|
|
12238
12735
|
crates_per_layer?: number;
|
|
12239
12736
|
created_at?: string;
|
|
12240
12737
|
id?: string;
|
|
12241
12738
|
layer_fraction?: number;
|
|
12739
|
+
layer_index?: number | null;
|
|
12242
12740
|
layer_share_pct?: number;
|
|
12243
12741
|
layers_per_cart?: number;
|
|
12244
12742
|
order_item_id?: string | null;
|
|
@@ -12282,6 +12780,7 @@ export type Database = {
|
|
|
12282
12780
|
id: string;
|
|
12283
12781
|
is_auto: boolean;
|
|
12284
12782
|
is_complete: boolean;
|
|
12783
|
+
layout_method: string | null;
|
|
12285
12784
|
max_layers: number | null;
|
|
12286
12785
|
moved_at: string | null;
|
|
12287
12786
|
moved_from_moment_id: string | null;
|
|
@@ -12306,6 +12805,7 @@ export type Database = {
|
|
|
12306
12805
|
id?: string;
|
|
12307
12806
|
is_auto?: boolean;
|
|
12308
12807
|
is_complete?: boolean;
|
|
12808
|
+
layout_method?: string | null;
|
|
12309
12809
|
max_layers?: number | null;
|
|
12310
12810
|
moved_at?: string | null;
|
|
12311
12811
|
moved_from_moment_id?: string | null;
|
|
@@ -12330,6 +12830,7 @@ export type Database = {
|
|
|
12330
12830
|
id?: string;
|
|
12331
12831
|
is_auto?: boolean;
|
|
12332
12832
|
is_complete?: boolean;
|
|
12833
|
+
layout_method?: string | null;
|
|
12333
12834
|
max_layers?: number | null;
|
|
12334
12835
|
moved_at?: string | null;
|
|
12335
12836
|
moved_from_moment_id?: string | null;
|
|
@@ -12798,6 +13299,63 @@ export type Database = {
|
|
|
12798
13299
|
};
|
|
12799
13300
|
Relationships: [];
|
|
12800
13301
|
};
|
|
13302
|
+
pakbon_barcode_inhoud: {
|
|
13303
|
+
Row: {
|
|
13304
|
+
barcode: string;
|
|
13305
|
+
cart_id: string | null;
|
|
13306
|
+
cart_index: number | null;
|
|
13307
|
+
cart_label: string | null;
|
|
13308
|
+
cart_total: number | null;
|
|
13309
|
+
created_at: string;
|
|
13310
|
+
is_herprint: boolean;
|
|
13311
|
+
klant_naam: string | null;
|
|
13312
|
+
klant_nummer: string | null;
|
|
13313
|
+
layout_id: string | null;
|
|
13314
|
+
layout_variant: string | null;
|
|
13315
|
+
order_nummer: string | null;
|
|
13316
|
+
order_ref: string | null;
|
|
13317
|
+
print_job_id: string | null;
|
|
13318
|
+
regels: Json;
|
|
13319
|
+
updated_at: string;
|
|
13320
|
+
};
|
|
13321
|
+
Insert: {
|
|
13322
|
+
barcode: string;
|
|
13323
|
+
cart_id?: string | null;
|
|
13324
|
+
cart_index?: number | null;
|
|
13325
|
+
cart_label?: string | null;
|
|
13326
|
+
cart_total?: number | null;
|
|
13327
|
+
created_at?: string;
|
|
13328
|
+
is_herprint?: boolean;
|
|
13329
|
+
klant_naam?: string | null;
|
|
13330
|
+
klant_nummer?: string | null;
|
|
13331
|
+
layout_id?: string | null;
|
|
13332
|
+
layout_variant?: string | null;
|
|
13333
|
+
order_nummer?: string | null;
|
|
13334
|
+
order_ref?: string | null;
|
|
13335
|
+
print_job_id?: string | null;
|
|
13336
|
+
regels?: Json;
|
|
13337
|
+
updated_at?: string;
|
|
13338
|
+
};
|
|
13339
|
+
Update: {
|
|
13340
|
+
barcode?: string;
|
|
13341
|
+
cart_id?: string | null;
|
|
13342
|
+
cart_index?: number | null;
|
|
13343
|
+
cart_label?: string | null;
|
|
13344
|
+
cart_total?: number | null;
|
|
13345
|
+
created_at?: string;
|
|
13346
|
+
is_herprint?: boolean;
|
|
13347
|
+
klant_naam?: string | null;
|
|
13348
|
+
klant_nummer?: string | null;
|
|
13349
|
+
layout_id?: string | null;
|
|
13350
|
+
layout_variant?: string | null;
|
|
13351
|
+
order_nummer?: string | null;
|
|
13352
|
+
order_ref?: string | null;
|
|
13353
|
+
print_job_id?: string | null;
|
|
13354
|
+
regels?: Json;
|
|
13355
|
+
updated_at?: string;
|
|
13356
|
+
};
|
|
13357
|
+
Relationships: [];
|
|
13358
|
+
};
|
|
12801
13359
|
pick_countries: {
|
|
12802
13360
|
Row: {
|
|
12803
13361
|
active: boolean;
|
|
@@ -12957,6 +13515,7 @@ export type Database = {
|
|
|
12957
13515
|
print_job_id: string | null;
|
|
12958
13516
|
printed_at: string | null;
|
|
12959
13517
|
printed_by: string | null;
|
|
13518
|
+
printed_cart_ids: Json;
|
|
12960
13519
|
printer_id: string | null;
|
|
12961
13520
|
priority: number;
|
|
12962
13521
|
reference: string | null;
|
|
@@ -12991,6 +13550,7 @@ export type Database = {
|
|
|
12991
13550
|
print_job_id?: string | null;
|
|
12992
13551
|
printed_at?: string | null;
|
|
12993
13552
|
printed_by?: string | null;
|
|
13553
|
+
printed_cart_ids?: Json;
|
|
12994
13554
|
printer_id?: string | null;
|
|
12995
13555
|
priority?: number;
|
|
12996
13556
|
reference?: string | null;
|
|
@@ -13025,6 +13585,7 @@ export type Database = {
|
|
|
13025
13585
|
print_job_id?: string | null;
|
|
13026
13586
|
printed_at?: string | null;
|
|
13027
13587
|
printed_by?: string | null;
|
|
13588
|
+
printed_cart_ids?: Json;
|
|
13028
13589
|
printer_id?: string | null;
|
|
13029
13590
|
priority?: number;
|
|
13030
13591
|
reference?: string | null;
|
|
@@ -13858,6 +14419,13 @@ export type Database = {
|
|
|
13858
14419
|
isOneToOne: false;
|
|
13859
14420
|
referencedRelation: "planning_items";
|
|
13860
14421
|
referencedColumns: ["id"];
|
|
14422
|
+
},
|
|
14423
|
+
{
|
|
14424
|
+
foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
|
|
14425
|
+
columns: ["planning_item_id"];
|
|
14426
|
+
isOneToOne: false;
|
|
14427
|
+
referencedRelation: "planning_overview";
|
|
14428
|
+
referencedColumns: ["id"];
|
|
13861
14429
|
}
|
|
13862
14430
|
];
|
|
13863
14431
|
};
|
|
@@ -14041,6 +14609,9 @@ export type Database = {
|
|
|
14041
14609
|
is_herprint: boolean;
|
|
14042
14610
|
kopieen: number;
|
|
14043
14611
|
layout_id: string | null;
|
|
14612
|
+
lokaal_opgeslagen_op: string | null;
|
|
14613
|
+
lokale_pdf_fout: string | null;
|
|
14614
|
+
lokale_pdf_status: string | null;
|
|
14044
14615
|
opgepakt_op: string | null;
|
|
14045
14616
|
paginas: number;
|
|
14046
14617
|
payload: Json;
|
|
@@ -14049,6 +14620,7 @@ export type Database = {
|
|
|
14049
14620
|
pogingen: number;
|
|
14050
14621
|
printer_id: string | null;
|
|
14051
14622
|
render_html: string | null;
|
|
14623
|
+
resultaat_pdf_base64: string | null;
|
|
14052
14624
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
14053
14625
|
updated_at: string;
|
|
14054
14626
|
volgende_poging: string | null;
|
|
@@ -14073,6 +14645,9 @@ export type Database = {
|
|
|
14073
14645
|
is_herprint?: boolean;
|
|
14074
14646
|
kopieen?: number;
|
|
14075
14647
|
layout_id?: string | null;
|
|
14648
|
+
lokaal_opgeslagen_op?: string | null;
|
|
14649
|
+
lokale_pdf_fout?: string | null;
|
|
14650
|
+
lokale_pdf_status?: string | null;
|
|
14076
14651
|
opgepakt_op?: string | null;
|
|
14077
14652
|
paginas?: number;
|
|
14078
14653
|
payload?: Json;
|
|
@@ -14081,6 +14656,7 @@ export type Database = {
|
|
|
14081
14656
|
pogingen?: number;
|
|
14082
14657
|
printer_id?: string | null;
|
|
14083
14658
|
render_html?: string | null;
|
|
14659
|
+
resultaat_pdf_base64?: string | null;
|
|
14084
14660
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
14085
14661
|
updated_at?: string;
|
|
14086
14662
|
volgende_poging?: string | null;
|
|
@@ -14105,6 +14681,9 @@ export type Database = {
|
|
|
14105
14681
|
is_herprint?: boolean;
|
|
14106
14682
|
kopieen?: number;
|
|
14107
14683
|
layout_id?: string | null;
|
|
14684
|
+
lokaal_opgeslagen_op?: string | null;
|
|
14685
|
+
lokale_pdf_fout?: string | null;
|
|
14686
|
+
lokale_pdf_status?: string | null;
|
|
14108
14687
|
opgepakt_op?: string | null;
|
|
14109
14688
|
paginas?: number;
|
|
14110
14689
|
payload?: Json;
|
|
@@ -14113,6 +14692,7 @@ export type Database = {
|
|
|
14113
14692
|
pogingen?: number;
|
|
14114
14693
|
printer_id?: string | null;
|
|
14115
14694
|
render_html?: string | null;
|
|
14695
|
+
resultaat_pdf_base64?: string | null;
|
|
14116
14696
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
14117
14697
|
updated_at?: string;
|
|
14118
14698
|
volgende_poging?: string | null;
|
|
@@ -14519,6 +15099,7 @@ export type Database = {
|
|
|
14519
15099
|
ondersteunde_laden: Json | null;
|
|
14520
15100
|
online: boolean;
|
|
14521
15101
|
papierformaat: string;
|
|
15102
|
+
pdf_map: string | null;
|
|
14522
15103
|
poort: number | null;
|
|
14523
15104
|
soort: Database["public"]["Enums"]["printer_kind"];
|
|
14524
15105
|
systeemnaam: string;
|
|
@@ -14544,6 +15125,7 @@ export type Database = {
|
|
|
14544
15125
|
ondersteunde_laden?: Json | null;
|
|
14545
15126
|
online?: boolean;
|
|
14546
15127
|
papierformaat?: string;
|
|
15128
|
+
pdf_map?: string | null;
|
|
14547
15129
|
poort?: number | null;
|
|
14548
15130
|
soort?: Database["public"]["Enums"]["printer_kind"];
|
|
14549
15131
|
systeemnaam?: string;
|
|
@@ -14569,6 +15151,7 @@ export type Database = {
|
|
|
14569
15151
|
ondersteunde_laden?: Json | null;
|
|
14570
15152
|
online?: boolean;
|
|
14571
15153
|
papierformaat?: string;
|
|
15154
|
+
pdf_map?: string | null;
|
|
14572
15155
|
poort?: number | null;
|
|
14573
15156
|
soort?: Database["public"]["Enums"]["printer_kind"];
|
|
14574
15157
|
systeemnaam?: string;
|
|
@@ -14989,6 +15572,7 @@ export type Database = {
|
|
|
14989
15572
|
created_at: string;
|
|
14990
15573
|
custom_fields: Json;
|
|
14991
15574
|
floriday_trade_item_id: string | null;
|
|
15575
|
+
fust_type_id: string | null;
|
|
14992
15576
|
id: string;
|
|
14993
15577
|
image_url: string | null;
|
|
14994
15578
|
incoming_quantity: number;
|
|
@@ -14996,6 +15580,7 @@ export type Database = {
|
|
|
14996
15580
|
layers_per_cart: number;
|
|
14997
15581
|
location: string;
|
|
14998
15582
|
min_quantity: number;
|
|
15583
|
+
plant_height_cm: number | null;
|
|
14999
15584
|
plants_per_crate: number;
|
|
15000
15585
|
product: string;
|
|
15001
15586
|
product_type: string;
|
|
@@ -15015,6 +15600,7 @@ export type Database = {
|
|
|
15015
15600
|
created_at?: string;
|
|
15016
15601
|
custom_fields?: Json;
|
|
15017
15602
|
floriday_trade_item_id?: string | null;
|
|
15603
|
+
fust_type_id?: string | null;
|
|
15018
15604
|
id?: string;
|
|
15019
15605
|
image_url?: string | null;
|
|
15020
15606
|
incoming_quantity?: number;
|
|
@@ -15022,6 +15608,7 @@ export type Database = {
|
|
|
15022
15608
|
layers_per_cart?: number;
|
|
15023
15609
|
location: string;
|
|
15024
15610
|
min_quantity?: number;
|
|
15611
|
+
plant_height_cm?: number | null;
|
|
15025
15612
|
plants_per_crate?: number;
|
|
15026
15613
|
product: string;
|
|
15027
15614
|
product_type?: string;
|
|
@@ -15041,6 +15628,7 @@ export type Database = {
|
|
|
15041
15628
|
created_at?: string;
|
|
15042
15629
|
custom_fields?: Json;
|
|
15043
15630
|
floriday_trade_item_id?: string | null;
|
|
15631
|
+
fust_type_id?: string | null;
|
|
15044
15632
|
id?: string;
|
|
15045
15633
|
image_url?: string | null;
|
|
15046
15634
|
incoming_quantity?: number;
|
|
@@ -15048,6 +15636,7 @@ export type Database = {
|
|
|
15048
15636
|
layers_per_cart?: number;
|
|
15049
15637
|
location?: string;
|
|
15050
15638
|
min_quantity?: number;
|
|
15639
|
+
plant_height_cm?: number | null;
|
|
15051
15640
|
plants_per_crate?: number;
|
|
15052
15641
|
product?: string;
|
|
15053
15642
|
product_type?: string;
|
|
@@ -15059,7 +15648,15 @@ export type Database = {
|
|
|
15059
15648
|
updated_at?: string;
|
|
15060
15649
|
weight?: string | null;
|
|
15061
15650
|
};
|
|
15062
|
-
Relationships: [
|
|
15651
|
+
Relationships: [
|
|
15652
|
+
{
|
|
15653
|
+
foreignKeyName: "products_fust_type_id_fkey";
|
|
15654
|
+
columns: ["fust_type_id"];
|
|
15655
|
+
isOneToOne: false;
|
|
15656
|
+
referencedRelation: "fust_types";
|
|
15657
|
+
referencedColumns: ["id"];
|
|
15658
|
+
}
|
|
15659
|
+
];
|
|
15063
15660
|
};
|
|
15064
15661
|
profile_modules: {
|
|
15065
15662
|
Row: {
|
|
@@ -15478,513 +16075,53 @@ export type Database = {
|
|
|
15478
16075
|
}
|
|
15479
16076
|
];
|
|
15480
16077
|
};
|
|
15481
|
-
|
|
16078
|
+
reception_notifications: {
|
|
15482
16079
|
Row: {
|
|
16080
|
+
booking_id: string | null;
|
|
15483
16081
|
created_at: string;
|
|
15484
|
-
event_type: string;
|
|
15485
16082
|
id: string;
|
|
15486
|
-
|
|
15487
|
-
|
|
15488
|
-
|
|
16083
|
+
is_read: boolean;
|
|
16084
|
+
message: string;
|
|
16085
|
+
recipient_email: string | null;
|
|
16086
|
+
title: string;
|
|
16087
|
+
type: string;
|
|
15489
16088
|
};
|
|
15490
16089
|
Insert: {
|
|
16090
|
+
booking_id?: string | null;
|
|
15491
16091
|
created_at?: string;
|
|
15492
|
-
event_type: string;
|
|
15493
16092
|
id?: string;
|
|
15494
|
-
|
|
15495
|
-
|
|
15496
|
-
|
|
16093
|
+
is_read?: boolean;
|
|
16094
|
+
message: string;
|
|
16095
|
+
recipient_email?: string | null;
|
|
16096
|
+
title: string;
|
|
16097
|
+
type: string;
|
|
15497
16098
|
};
|
|
15498
16099
|
Update: {
|
|
16100
|
+
booking_id?: string | null;
|
|
15499
16101
|
created_at?: string;
|
|
15500
|
-
event_type?: string;
|
|
15501
16102
|
id?: string;
|
|
15502
|
-
|
|
15503
|
-
|
|
15504
|
-
|
|
16103
|
+
is_read?: boolean;
|
|
16104
|
+
message?: string;
|
|
16105
|
+
recipient_email?: string | null;
|
|
16106
|
+
title?: string;
|
|
16107
|
+
type?: string;
|
|
15505
16108
|
};
|
|
15506
16109
|
Relationships: [
|
|
15507
16110
|
{
|
|
15508
|
-
foreignKeyName: "
|
|
15509
|
-
columns: ["
|
|
16111
|
+
foreignKeyName: "reception_notifications_booking_id_fkey";
|
|
16112
|
+
columns: ["booking_id"];
|
|
15510
16113
|
isOneToOne: false;
|
|
15511
|
-
referencedRelation: "
|
|
16114
|
+
referencedRelation: "bookings";
|
|
15512
16115
|
referencedColumns: ["id"];
|
|
15513
16116
|
}
|
|
15514
16117
|
];
|
|
15515
16118
|
};
|
|
15516
|
-
|
|
16119
|
+
role_assignments: {
|
|
15517
16120
|
Row: {
|
|
15518
16121
|
created_at: string;
|
|
15519
|
-
file_name: string;
|
|
15520
|
-
file_size: number | null;
|
|
15521
|
-
file_url: string;
|
|
15522
16122
|
id: string;
|
|
15523
|
-
|
|
15524
|
-
|
|
15525
|
-
};
|
|
15526
|
-
Insert: {
|
|
15527
|
-
created_at?: string;
|
|
15528
|
-
file_name: string;
|
|
15529
|
-
file_size?: number | null;
|
|
15530
|
-
file_url: string;
|
|
15531
|
-
id?: string;
|
|
15532
|
-
mime_type?: string | null;
|
|
15533
|
-
quote_id: string;
|
|
15534
|
-
};
|
|
15535
|
-
Update: {
|
|
15536
|
-
created_at?: string;
|
|
15537
|
-
file_name?: string;
|
|
15538
|
-
file_size?: number | null;
|
|
15539
|
-
file_url?: string;
|
|
15540
|
-
id?: string;
|
|
15541
|
-
mime_type?: string | null;
|
|
15542
|
-
quote_id?: string;
|
|
15543
|
-
};
|
|
15544
|
-
Relationships: [
|
|
15545
|
-
{
|
|
15546
|
-
foreignKeyName: "quote_attachments_quote_id_fkey";
|
|
15547
|
-
columns: ["quote_id"];
|
|
15548
|
-
isOneToOne: false;
|
|
15549
|
-
referencedRelation: "quotes";
|
|
15550
|
-
referencedColumns: ["id"];
|
|
15551
|
-
}
|
|
15552
|
-
];
|
|
15553
|
-
};
|
|
15554
|
-
quote_field_options: {
|
|
15555
|
-
Row: {
|
|
15556
|
-
created_at: string;
|
|
15557
|
-
field_id: string;
|
|
15558
|
-
id: string;
|
|
15559
|
-
label: string;
|
|
15560
|
-
sort_order: number;
|
|
15561
|
-
value: string;
|
|
15562
|
-
};
|
|
15563
|
-
Insert: {
|
|
15564
|
-
created_at?: string;
|
|
15565
|
-
field_id: string;
|
|
15566
|
-
id?: string;
|
|
15567
|
-
label: string;
|
|
15568
|
-
sort_order?: number;
|
|
15569
|
-
value: string;
|
|
15570
|
-
};
|
|
15571
|
-
Update: {
|
|
15572
|
-
created_at?: string;
|
|
15573
|
-
field_id?: string;
|
|
15574
|
-
id?: string;
|
|
15575
|
-
label?: string;
|
|
15576
|
-
sort_order?: number;
|
|
15577
|
-
value?: string;
|
|
15578
|
-
};
|
|
15579
|
-
Relationships: [
|
|
15580
|
-
{
|
|
15581
|
-
foreignKeyName: "quote_field_options_field_id_fkey";
|
|
15582
|
-
columns: ["field_id"];
|
|
15583
|
-
isOneToOne: false;
|
|
15584
|
-
referencedRelation: "quote_field_settings";
|
|
15585
|
-
referencedColumns: ["id"];
|
|
15586
|
-
}
|
|
15587
|
-
];
|
|
15588
|
-
};
|
|
15589
|
-
quote_field_settings: {
|
|
15590
|
-
Row: {
|
|
15591
|
-
created_at: string;
|
|
15592
|
-
default_value: string | null;
|
|
15593
|
-
field_key: string;
|
|
15594
|
-
field_type: string;
|
|
15595
|
-
id: string;
|
|
15596
|
-
is_system: boolean;
|
|
15597
|
-
label: string;
|
|
15598
|
-
required: boolean;
|
|
15599
|
-
sort_order: number;
|
|
15600
|
-
updated_at: string;
|
|
15601
|
-
visible: boolean;
|
|
15602
|
-
};
|
|
15603
|
-
Insert: {
|
|
15604
|
-
created_at?: string;
|
|
15605
|
-
default_value?: string | null;
|
|
15606
|
-
field_key: string;
|
|
15607
|
-
field_type: string;
|
|
15608
|
-
id?: string;
|
|
15609
|
-
is_system?: boolean;
|
|
15610
|
-
label: string;
|
|
15611
|
-
required?: boolean;
|
|
15612
|
-
sort_order?: number;
|
|
15613
|
-
updated_at?: string;
|
|
15614
|
-
visible?: boolean;
|
|
15615
|
-
};
|
|
15616
|
-
Update: {
|
|
15617
|
-
created_at?: string;
|
|
15618
|
-
default_value?: string | null;
|
|
15619
|
-
field_key?: string;
|
|
15620
|
-
field_type?: string;
|
|
15621
|
-
id?: string;
|
|
15622
|
-
is_system?: boolean;
|
|
15623
|
-
label?: string;
|
|
15624
|
-
required?: boolean;
|
|
15625
|
-
sort_order?: number;
|
|
15626
|
-
updated_at?: string;
|
|
15627
|
-
visible?: boolean;
|
|
15628
|
-
};
|
|
15629
|
-
Relationships: [];
|
|
15630
|
-
};
|
|
15631
|
-
quote_items: {
|
|
15632
|
-
Row: {
|
|
15633
|
-
category: string | null;
|
|
15634
|
-
created_at: string;
|
|
15635
|
-
description: string;
|
|
15636
|
-
id: string;
|
|
15637
|
-
line_total: number;
|
|
15638
|
-
module_id: string | null;
|
|
15639
|
-
name: string | null;
|
|
15640
|
-
quantity: number;
|
|
15641
|
-
quote_id: string;
|
|
15642
|
-
sort_order: number;
|
|
15643
|
-
unit_price: number;
|
|
15644
|
-
};
|
|
15645
|
-
Insert: {
|
|
15646
|
-
category?: string | null;
|
|
15647
|
-
created_at?: string;
|
|
15648
|
-
description?: string;
|
|
15649
|
-
id?: string;
|
|
15650
|
-
line_total?: number;
|
|
15651
|
-
module_id?: string | null;
|
|
15652
|
-
name?: string | null;
|
|
15653
|
-
quantity?: number;
|
|
15654
|
-
quote_id: string;
|
|
15655
|
-
sort_order?: number;
|
|
15656
|
-
unit_price?: number;
|
|
15657
|
-
};
|
|
15658
|
-
Update: {
|
|
15659
|
-
category?: string | null;
|
|
15660
|
-
created_at?: string;
|
|
15661
|
-
description?: string;
|
|
15662
|
-
id?: string;
|
|
15663
|
-
line_total?: number;
|
|
15664
|
-
module_id?: string | null;
|
|
15665
|
-
name?: string | null;
|
|
15666
|
-
quantity?: number;
|
|
15667
|
-
quote_id?: string;
|
|
15668
|
-
sort_order?: number;
|
|
15669
|
-
unit_price?: number;
|
|
15670
|
-
};
|
|
15671
|
-
Relationships: [
|
|
15672
|
-
{
|
|
15673
|
-
foreignKeyName: "quote_items_module_id_fkey";
|
|
15674
|
-
columns: ["module_id"];
|
|
15675
|
-
isOneToOne: false;
|
|
15676
|
-
referencedRelation: "quote_modules";
|
|
15677
|
-
referencedColumns: ["id"];
|
|
15678
|
-
},
|
|
15679
|
-
{
|
|
15680
|
-
foreignKeyName: "quote_items_quote_id_fkey";
|
|
15681
|
-
columns: ["quote_id"];
|
|
15682
|
-
isOneToOne: false;
|
|
15683
|
-
referencedRelation: "quotes";
|
|
15684
|
-
referencedColumns: ["id"];
|
|
15685
|
-
}
|
|
15686
|
-
];
|
|
15687
|
-
};
|
|
15688
|
-
quote_modules: {
|
|
15689
|
-
Row: {
|
|
15690
|
-
category: string | null;
|
|
15691
|
-
created_at: string;
|
|
15692
|
-
description: string | null;
|
|
15693
|
-
id: string;
|
|
15694
|
-
is_active: boolean;
|
|
15695
|
-
name: string;
|
|
15696
|
-
price: number;
|
|
15697
|
-
sort_order: number;
|
|
15698
|
-
updated_at: string;
|
|
15699
|
-
};
|
|
15700
|
-
Insert: {
|
|
15701
|
-
category?: string | null;
|
|
15702
|
-
created_at?: string;
|
|
15703
|
-
description?: string | null;
|
|
15704
|
-
id?: string;
|
|
15705
|
-
is_active?: boolean;
|
|
15706
|
-
name: string;
|
|
15707
|
-
price?: number;
|
|
15708
|
-
sort_order?: number;
|
|
15709
|
-
updated_at?: string;
|
|
15710
|
-
};
|
|
15711
|
-
Update: {
|
|
15712
|
-
category?: string | null;
|
|
15713
|
-
created_at?: string;
|
|
15714
|
-
description?: string | null;
|
|
15715
|
-
id?: string;
|
|
15716
|
-
is_active?: boolean;
|
|
15717
|
-
name?: string;
|
|
15718
|
-
price?: number;
|
|
15719
|
-
sort_order?: number;
|
|
15720
|
-
updated_at?: string;
|
|
15721
|
-
};
|
|
15722
|
-
Relationships: [];
|
|
15723
|
-
};
|
|
15724
|
-
quote_templates: {
|
|
15725
|
-
Row: {
|
|
15726
|
-
created_at: string;
|
|
15727
|
-
description: string | null;
|
|
15728
|
-
field_values: Json;
|
|
15729
|
-
id: string;
|
|
15730
|
-
is_default: boolean;
|
|
15731
|
-
items: Json;
|
|
15732
|
-
name: string;
|
|
15733
|
-
updated_at: string;
|
|
15734
|
-
vat_rate: number;
|
|
15735
|
-
};
|
|
15736
|
-
Insert: {
|
|
15737
|
-
created_at?: string;
|
|
15738
|
-
description?: string | null;
|
|
15739
|
-
field_values?: Json;
|
|
15740
|
-
id?: string;
|
|
15741
|
-
is_default?: boolean;
|
|
15742
|
-
items?: Json;
|
|
15743
|
-
name: string;
|
|
15744
|
-
updated_at?: string;
|
|
15745
|
-
vat_rate?: number;
|
|
15746
|
-
};
|
|
15747
|
-
Update: {
|
|
15748
|
-
created_at?: string;
|
|
15749
|
-
description?: string | null;
|
|
15750
|
-
field_values?: Json;
|
|
15751
|
-
id?: string;
|
|
15752
|
-
is_default?: boolean;
|
|
15753
|
-
items?: Json;
|
|
15754
|
-
name?: string;
|
|
15755
|
-
updated_at?: string;
|
|
15756
|
-
vat_rate?: number;
|
|
15757
|
-
};
|
|
15758
|
-
Relationships: [];
|
|
15759
|
-
};
|
|
15760
|
-
quote_terms: {
|
|
15761
|
-
Row: {
|
|
15762
|
-
content: string | null;
|
|
15763
|
-
created_at: string;
|
|
15764
|
-
file_url: string | null;
|
|
15765
|
-
id: string;
|
|
15766
|
-
is_active: boolean;
|
|
15767
|
-
name: string;
|
|
15768
|
-
published_at: string | null;
|
|
15769
|
-
updated_at: string;
|
|
15770
|
-
version: string;
|
|
15771
|
-
};
|
|
15772
|
-
Insert: {
|
|
15773
|
-
content?: string | null;
|
|
15774
|
-
created_at?: string;
|
|
15775
|
-
file_url?: string | null;
|
|
15776
|
-
id?: string;
|
|
15777
|
-
is_active?: boolean;
|
|
15778
|
-
name: string;
|
|
15779
|
-
published_at?: string | null;
|
|
15780
|
-
updated_at?: string;
|
|
15781
|
-
version?: string;
|
|
15782
|
-
};
|
|
15783
|
-
Update: {
|
|
15784
|
-
content?: string | null;
|
|
15785
|
-
created_at?: string;
|
|
15786
|
-
file_url?: string | null;
|
|
15787
|
-
id?: string;
|
|
15788
|
-
is_active?: boolean;
|
|
15789
|
-
name?: string;
|
|
15790
|
-
published_at?: string | null;
|
|
15791
|
-
updated_at?: string;
|
|
15792
|
-
version?: string;
|
|
15793
|
-
};
|
|
15794
|
-
Relationships: [];
|
|
15795
|
-
};
|
|
15796
|
-
quotes: {
|
|
15797
|
-
Row: {
|
|
15798
|
-
accepted_at: string | null;
|
|
15799
|
-
archived_at: string | null;
|
|
15800
|
-
contact_id: string | null;
|
|
15801
|
-
created_at: string;
|
|
15802
|
-
customer_id: string | null;
|
|
15803
|
-
discount: number;
|
|
15804
|
-
expires_at: string | null;
|
|
15805
|
-
field_values: Json;
|
|
15806
|
-
id: string;
|
|
15807
|
-
notes: string | null;
|
|
15808
|
-
owner_id: string | null;
|
|
15809
|
-
personal_message: string | null;
|
|
15810
|
-
project_id: string | null;
|
|
15811
|
-
prospect_id: string | null;
|
|
15812
|
-
public_token: string;
|
|
15813
|
-
quote_number: string | null;
|
|
15814
|
-
recipient_email: string | null;
|
|
15815
|
-
recipient_name: string | null;
|
|
15816
|
-
rejected_at: string | null;
|
|
15817
|
-
sent_at: string | null;
|
|
15818
|
-
status: string;
|
|
15819
|
-
subtotal: number;
|
|
15820
|
-
template_id: string | null;
|
|
15821
|
-
terms_id: string | null;
|
|
15822
|
-
title: string;
|
|
15823
|
-
total: number;
|
|
15824
|
-
updated_at: string;
|
|
15825
|
-
valid_until: string | null;
|
|
15826
|
-
vat_amount: number;
|
|
15827
|
-
vat_rate: number;
|
|
15828
|
-
viewed_at: string | null;
|
|
15829
|
-
};
|
|
15830
|
-
Insert: {
|
|
15831
|
-
accepted_at?: string | null;
|
|
15832
|
-
archived_at?: string | null;
|
|
15833
|
-
contact_id?: string | null;
|
|
15834
|
-
created_at?: string;
|
|
15835
|
-
customer_id?: string | null;
|
|
15836
|
-
discount?: number;
|
|
15837
|
-
expires_at?: string | null;
|
|
15838
|
-
field_values?: Json;
|
|
15839
|
-
id?: string;
|
|
15840
|
-
notes?: string | null;
|
|
15841
|
-
owner_id?: string | null;
|
|
15842
|
-
personal_message?: string | null;
|
|
15843
|
-
project_id?: string | null;
|
|
15844
|
-
prospect_id?: string | null;
|
|
15845
|
-
public_token?: string;
|
|
15846
|
-
quote_number?: string | null;
|
|
15847
|
-
recipient_email?: string | null;
|
|
15848
|
-
recipient_name?: string | null;
|
|
15849
|
-
rejected_at?: string | null;
|
|
15850
|
-
sent_at?: string | null;
|
|
15851
|
-
status?: string;
|
|
15852
|
-
subtotal?: number;
|
|
15853
|
-
template_id?: string | null;
|
|
15854
|
-
terms_id?: string | null;
|
|
15855
|
-
title?: string;
|
|
15856
|
-
total?: number;
|
|
15857
|
-
updated_at?: string;
|
|
15858
|
-
valid_until?: string | null;
|
|
15859
|
-
vat_amount?: number;
|
|
15860
|
-
vat_rate?: number;
|
|
15861
|
-
viewed_at?: string | null;
|
|
15862
|
-
};
|
|
15863
|
-
Update: {
|
|
15864
|
-
accepted_at?: string | null;
|
|
15865
|
-
archived_at?: string | null;
|
|
15866
|
-
contact_id?: string | null;
|
|
15867
|
-
created_at?: string;
|
|
15868
|
-
customer_id?: string | null;
|
|
15869
|
-
discount?: number;
|
|
15870
|
-
expires_at?: string | null;
|
|
15871
|
-
field_values?: Json;
|
|
15872
|
-
id?: string;
|
|
15873
|
-
notes?: string | null;
|
|
15874
|
-
owner_id?: string | null;
|
|
15875
|
-
personal_message?: string | null;
|
|
15876
|
-
project_id?: string | null;
|
|
15877
|
-
prospect_id?: string | null;
|
|
15878
|
-
public_token?: string;
|
|
15879
|
-
quote_number?: string | null;
|
|
15880
|
-
recipient_email?: string | null;
|
|
15881
|
-
recipient_name?: string | null;
|
|
15882
|
-
rejected_at?: string | null;
|
|
15883
|
-
sent_at?: string | null;
|
|
15884
|
-
status?: string;
|
|
15885
|
-
subtotal?: number;
|
|
15886
|
-
template_id?: string | null;
|
|
15887
|
-
terms_id?: string | null;
|
|
15888
|
-
title?: string;
|
|
15889
|
-
total?: number;
|
|
15890
|
-
updated_at?: string;
|
|
15891
|
-
valid_until?: string | null;
|
|
15892
|
-
vat_amount?: number;
|
|
15893
|
-
vat_rate?: number;
|
|
15894
|
-
viewed_at?: string | null;
|
|
15895
|
-
};
|
|
15896
|
-
Relationships: [
|
|
15897
|
-
{
|
|
15898
|
-
foreignKeyName: "quotes_contact_id_fkey";
|
|
15899
|
-
columns: ["contact_id"];
|
|
15900
|
-
isOneToOne: false;
|
|
15901
|
-
referencedRelation: "customer_contacts";
|
|
15902
|
-
referencedColumns: ["id"];
|
|
15903
|
-
},
|
|
15904
|
-
{
|
|
15905
|
-
foreignKeyName: "quotes_customer_id_fkey";
|
|
15906
|
-
columns: ["customer_id"];
|
|
15907
|
-
isOneToOne: false;
|
|
15908
|
-
referencedRelation: "customers";
|
|
15909
|
-
referencedColumns: ["id"];
|
|
15910
|
-
},
|
|
15911
|
-
{
|
|
15912
|
-
foreignKeyName: "quotes_project_id_fkey";
|
|
15913
|
-
columns: ["project_id"];
|
|
15914
|
-
isOneToOne: false;
|
|
15915
|
-
referencedRelation: "projects";
|
|
15916
|
-
referencedColumns: ["id"];
|
|
15917
|
-
},
|
|
15918
|
-
{
|
|
15919
|
-
foreignKeyName: "quotes_prospect_id_fkey";
|
|
15920
|
-
columns: ["prospect_id"];
|
|
15921
|
-
isOneToOne: false;
|
|
15922
|
-
referencedRelation: "prospects";
|
|
15923
|
-
referencedColumns: ["id"];
|
|
15924
|
-
},
|
|
15925
|
-
{
|
|
15926
|
-
foreignKeyName: "quotes_template_id_fkey";
|
|
15927
|
-
columns: ["template_id"];
|
|
15928
|
-
isOneToOne: false;
|
|
15929
|
-
referencedRelation: "quote_templates";
|
|
15930
|
-
referencedColumns: ["id"];
|
|
15931
|
-
},
|
|
15932
|
-
{
|
|
15933
|
-
foreignKeyName: "quotes_terms_id_fkey";
|
|
15934
|
-
columns: ["terms_id"];
|
|
15935
|
-
isOneToOne: false;
|
|
15936
|
-
referencedRelation: "quote_terms";
|
|
15937
|
-
referencedColumns: ["id"];
|
|
15938
|
-
}
|
|
15939
|
-
];
|
|
15940
|
-
};
|
|
15941
|
-
reception_notifications: {
|
|
15942
|
-
Row: {
|
|
15943
|
-
booking_id: string | null;
|
|
15944
|
-
created_at: string;
|
|
15945
|
-
id: string;
|
|
15946
|
-
is_read: boolean;
|
|
15947
|
-
message: string;
|
|
15948
|
-
recipient_email: string | null;
|
|
15949
|
-
title: string;
|
|
15950
|
-
type: string;
|
|
15951
|
-
};
|
|
15952
|
-
Insert: {
|
|
15953
|
-
booking_id?: string | null;
|
|
15954
|
-
created_at?: string;
|
|
15955
|
-
id?: string;
|
|
15956
|
-
is_read?: boolean;
|
|
15957
|
-
message: string;
|
|
15958
|
-
recipient_email?: string | null;
|
|
15959
|
-
title: string;
|
|
15960
|
-
type: string;
|
|
15961
|
-
};
|
|
15962
|
-
Update: {
|
|
15963
|
-
booking_id?: string | null;
|
|
15964
|
-
created_at?: string;
|
|
15965
|
-
id?: string;
|
|
15966
|
-
is_read?: boolean;
|
|
15967
|
-
message?: string;
|
|
15968
|
-
recipient_email?: string | null;
|
|
15969
|
-
title?: string;
|
|
15970
|
-
type?: string;
|
|
15971
|
-
};
|
|
15972
|
-
Relationships: [
|
|
15973
|
-
{
|
|
15974
|
-
foreignKeyName: "reception_notifications_booking_id_fkey";
|
|
15975
|
-
columns: ["booking_id"];
|
|
15976
|
-
isOneToOne: false;
|
|
15977
|
-
referencedRelation: "bookings";
|
|
15978
|
-
referencedColumns: ["id"];
|
|
15979
|
-
}
|
|
15980
|
-
];
|
|
15981
|
-
};
|
|
15982
|
-
role_assignments: {
|
|
15983
|
-
Row: {
|
|
15984
|
-
created_at: string;
|
|
15985
|
-
id: string;
|
|
15986
|
-
role_id: string;
|
|
15987
|
-
user_id: string;
|
|
16123
|
+
role_id: string;
|
|
16124
|
+
user_id: string;
|
|
15988
16125
|
};
|
|
15989
16126
|
Insert: {
|
|
15990
16127
|
created_at?: string;
|
|
@@ -17084,7 +17221,7 @@ export type Database = {
|
|
|
17084
17221
|
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
17085
17222
|
columns: ["work_order_id"];
|
|
17086
17223
|
isOneToOne: false;
|
|
17087
|
-
referencedRelation: "
|
|
17224
|
+
referencedRelation: "werkbonnen";
|
|
17088
17225
|
referencedColumns: ["id"];
|
|
17089
17226
|
}
|
|
17090
17227
|
];
|
|
@@ -17219,6 +17356,7 @@ export type Database = {
|
|
|
17219
17356
|
};
|
|
17220
17357
|
trade_item_stock: {
|
|
17221
17358
|
Row: {
|
|
17359
|
+
change_source: string;
|
|
17222
17360
|
connection_id: string;
|
|
17223
17361
|
created_at: string;
|
|
17224
17362
|
id: string;
|
|
@@ -17232,6 +17370,7 @@ export type Database = {
|
|
|
17232
17370
|
user_id: string;
|
|
17233
17371
|
};
|
|
17234
17372
|
Insert: {
|
|
17373
|
+
change_source?: string;
|
|
17235
17374
|
connection_id: string;
|
|
17236
17375
|
created_at?: string;
|
|
17237
17376
|
id?: string;
|
|
@@ -17245,6 +17384,7 @@ export type Database = {
|
|
|
17245
17384
|
user_id: string;
|
|
17246
17385
|
};
|
|
17247
17386
|
Update: {
|
|
17387
|
+
change_source?: string;
|
|
17248
17388
|
connection_id?: string;
|
|
17249
17389
|
created_at?: string;
|
|
17250
17390
|
id?: string;
|
|
@@ -18408,185 +18548,30 @@ export type Database = {
|
|
|
18408
18548
|
id: string;
|
|
18409
18549
|
monteur_ids: string[];
|
|
18410
18550
|
period_end: string;
|
|
18411
|
-
period_start: string;
|
|
18412
|
-
row_count: number;
|
|
18413
|
-
};
|
|
18414
|
-
Insert: {
|
|
18415
|
-
created_at?: string;
|
|
18416
|
-
created_by?: string | null;
|
|
18417
|
-
file_name?: string | null;
|
|
18418
|
-
id?: string;
|
|
18419
|
-
monteur_ids?: string[];
|
|
18420
|
-
period_end: string;
|
|
18421
|
-
period_start: string;
|
|
18422
|
-
row_count?: number;
|
|
18423
|
-
};
|
|
18424
|
-
Update: {
|
|
18425
|
-
created_at?: string;
|
|
18426
|
-
created_by?: string | null;
|
|
18427
|
-
file_name?: string | null;
|
|
18428
|
-
id?: string;
|
|
18429
|
-
monteur_ids?: string[];
|
|
18430
|
-
period_end?: string;
|
|
18431
|
-
period_start?: string;
|
|
18432
|
-
row_count?: number;
|
|
18433
|
-
};
|
|
18434
|
-
Relationships: [];
|
|
18435
|
-
};
|
|
18436
|
-
uren_offerte_regels: {
|
|
18437
|
-
Row: {
|
|
18438
|
-
created_at: string;
|
|
18439
|
-
description: string;
|
|
18440
|
-
duration_minutes: number;
|
|
18441
|
-
id: string;
|
|
18442
|
-
offerte_id: string;
|
|
18443
|
-
package_id: string | null;
|
|
18444
|
-
quantity: number;
|
|
18445
|
-
sort_order: number;
|
|
18446
|
-
total_cents: number;
|
|
18447
|
-
unit_price_cents: number;
|
|
18448
|
-
};
|
|
18449
|
-
Insert: {
|
|
18450
|
-
created_at?: string;
|
|
18451
|
-
description: string;
|
|
18452
|
-
duration_minutes?: number;
|
|
18453
|
-
id?: string;
|
|
18454
|
-
offerte_id: string;
|
|
18455
|
-
package_id?: string | null;
|
|
18456
|
-
quantity?: number;
|
|
18457
|
-
sort_order?: number;
|
|
18458
|
-
total_cents?: number;
|
|
18459
|
-
unit_price_cents?: number;
|
|
18460
|
-
};
|
|
18461
|
-
Update: {
|
|
18462
|
-
created_at?: string;
|
|
18463
|
-
description?: string;
|
|
18464
|
-
duration_minutes?: number;
|
|
18465
|
-
id?: string;
|
|
18466
|
-
offerte_id?: string;
|
|
18467
|
-
package_id?: string | null;
|
|
18468
|
-
quantity?: number;
|
|
18469
|
-
sort_order?: number;
|
|
18470
|
-
total_cents?: number;
|
|
18471
|
-
unit_price_cents?: number;
|
|
18472
|
-
};
|
|
18473
|
-
Relationships: [
|
|
18474
|
-
{
|
|
18475
|
-
foreignKeyName: "uren_offerte_regels_offerte_id_fkey";
|
|
18476
|
-
columns: ["offerte_id"];
|
|
18477
|
-
isOneToOne: false;
|
|
18478
|
-
referencedRelation: "uren_offertes";
|
|
18479
|
-
referencedColumns: ["id"];
|
|
18480
|
-
},
|
|
18481
|
-
{
|
|
18482
|
-
foreignKeyName: "uren_offerte_regels_package_id_fkey";
|
|
18483
|
-
columns: ["package_id"];
|
|
18484
|
-
isOneToOne: false;
|
|
18485
|
-
referencedRelation: "werkbon_packages";
|
|
18486
|
-
referencedColumns: ["id"];
|
|
18487
|
-
}
|
|
18488
|
-
];
|
|
18489
|
-
};
|
|
18490
|
-
uren_offerte_velden: {
|
|
18491
|
-
Row: {
|
|
18492
|
-
created_at: string;
|
|
18493
|
-
field_type: string;
|
|
18494
|
-
id: string;
|
|
18495
|
-
key: string;
|
|
18496
|
-
label: string;
|
|
18497
|
-
options: string[];
|
|
18498
|
-
required: boolean;
|
|
18499
|
-
sort_order: number;
|
|
18500
|
-
updated_at: string;
|
|
18501
|
-
};
|
|
18502
|
-
Insert: {
|
|
18503
|
-
created_at?: string;
|
|
18504
|
-
field_type?: string;
|
|
18505
|
-
id?: string;
|
|
18506
|
-
key: string;
|
|
18507
|
-
label: string;
|
|
18508
|
-
options?: string[];
|
|
18509
|
-
required?: boolean;
|
|
18510
|
-
sort_order?: number;
|
|
18511
|
-
updated_at?: string;
|
|
18512
|
-
};
|
|
18513
|
-
Update: {
|
|
18514
|
-
created_at?: string;
|
|
18515
|
-
field_type?: string;
|
|
18516
|
-
id?: string;
|
|
18517
|
-
key?: string;
|
|
18518
|
-
label?: string;
|
|
18519
|
-
options?: string[];
|
|
18520
|
-
required?: boolean;
|
|
18521
|
-
sort_order?: number;
|
|
18522
|
-
updated_at?: string;
|
|
18523
|
-
};
|
|
18524
|
-
Relationships: [];
|
|
18525
|
-
};
|
|
18526
|
-
uren_offertes: {
|
|
18527
|
-
Row: {
|
|
18528
|
-
created_at: string;
|
|
18529
|
-
created_by: string | null;
|
|
18530
|
-
customer_id: string | null;
|
|
18531
|
-
customer_name: string | null;
|
|
18532
|
-
dynamic_fields: Json;
|
|
18533
|
-
estimated_minutes: number;
|
|
18534
|
-
id: string;
|
|
18535
|
-
note: string | null;
|
|
18536
|
-
quote_number: string | null;
|
|
18537
|
-
status: string;
|
|
18538
|
-
title: string;
|
|
18539
|
-
total_excl_cents: number;
|
|
18540
|
-
total_incl_cents: number;
|
|
18541
|
-
updated_at: string;
|
|
18542
|
-
valid_until: string | null;
|
|
18543
|
-
vat_percentage: number;
|
|
18551
|
+
period_start: string;
|
|
18552
|
+
row_count: number;
|
|
18544
18553
|
};
|
|
18545
18554
|
Insert: {
|
|
18546
18555
|
created_at?: string;
|
|
18547
18556
|
created_by?: string | null;
|
|
18548
|
-
|
|
18549
|
-
customer_name?: string | null;
|
|
18550
|
-
dynamic_fields?: Json;
|
|
18551
|
-
estimated_minutes?: number;
|
|
18557
|
+
file_name?: string | null;
|
|
18552
18558
|
id?: string;
|
|
18553
|
-
|
|
18554
|
-
|
|
18555
|
-
|
|
18556
|
-
|
|
18557
|
-
total_excl_cents?: number;
|
|
18558
|
-
total_incl_cents?: number;
|
|
18559
|
-
updated_at?: string;
|
|
18560
|
-
valid_until?: string | null;
|
|
18561
|
-
vat_percentage?: number;
|
|
18559
|
+
monteur_ids?: string[];
|
|
18560
|
+
period_end: string;
|
|
18561
|
+
period_start: string;
|
|
18562
|
+
row_count?: number;
|
|
18562
18563
|
};
|
|
18563
18564
|
Update: {
|
|
18564
18565
|
created_at?: string;
|
|
18565
18566
|
created_by?: string | null;
|
|
18566
|
-
|
|
18567
|
-
customer_name?: string | null;
|
|
18568
|
-
dynamic_fields?: Json;
|
|
18569
|
-
estimated_minutes?: number;
|
|
18567
|
+
file_name?: string | null;
|
|
18570
18568
|
id?: string;
|
|
18571
|
-
|
|
18572
|
-
|
|
18573
|
-
|
|
18574
|
-
|
|
18575
|
-
total_excl_cents?: number;
|
|
18576
|
-
total_incl_cents?: number;
|
|
18577
|
-
updated_at?: string;
|
|
18578
|
-
valid_until?: string | null;
|
|
18579
|
-
vat_percentage?: number;
|
|
18569
|
+
monteur_ids?: string[];
|
|
18570
|
+
period_end?: string;
|
|
18571
|
+
period_start?: string;
|
|
18572
|
+
row_count?: number;
|
|
18580
18573
|
};
|
|
18581
|
-
Relationships: [
|
|
18582
|
-
{
|
|
18583
|
-
foreignKeyName: "uren_offertes_customer_id_fkey";
|
|
18584
|
-
columns: ["customer_id"];
|
|
18585
|
-
isOneToOne: false;
|
|
18586
|
-
referencedRelation: "itk_customers";
|
|
18587
|
-
referencedColumns: ["id"];
|
|
18588
|
-
}
|
|
18589
|
-
];
|
|
18574
|
+
Relationships: [];
|
|
18590
18575
|
};
|
|
18591
18576
|
uren_settings: {
|
|
18592
18577
|
Row: {
|
|
@@ -20311,6 +20296,39 @@ export type Database = {
|
|
|
20311
20296
|
};
|
|
20312
20297
|
Relationships: [];
|
|
20313
20298
|
};
|
|
20299
|
+
planning_overview: {
|
|
20300
|
+
Row: {
|
|
20301
|
+
assigned_monteur_id: string | null;
|
|
20302
|
+
assistants: Json | null;
|
|
20303
|
+
budget_mandate_cents: number | null;
|
|
20304
|
+
created_at: string | null;
|
|
20305
|
+
created_by: string | null;
|
|
20306
|
+
customer_id: string | null;
|
|
20307
|
+
customer_name: string | null;
|
|
20308
|
+
duration_minutes: number | null;
|
|
20309
|
+
end_at: string | null;
|
|
20310
|
+
id: string | null;
|
|
20311
|
+
needs_detail_review: boolean | null;
|
|
20312
|
+
notes: string | null;
|
|
20313
|
+
project_number: string | null;
|
|
20314
|
+
review_reasons: string[] | null;
|
|
20315
|
+
start_at: string | null;
|
|
20316
|
+
status: Database["public"]["Enums"]["planning_item_status"] | null;
|
|
20317
|
+
updated_at: string | null;
|
|
20318
|
+
viewer_role: string | null;
|
|
20319
|
+
werkbon_id: string | null;
|
|
20320
|
+
work_address: string | null;
|
|
20321
|
+
};
|
|
20322
|
+
Relationships: [
|
|
20323
|
+
{
|
|
20324
|
+
foreignKeyName: "planning_items_werkbon_id_fkey";
|
|
20325
|
+
columns: ["werkbon_id"];
|
|
20326
|
+
isOneToOne: false;
|
|
20327
|
+
referencedRelation: "werkbonnen";
|
|
20328
|
+
referencedColumns: ["id"];
|
|
20329
|
+
}
|
|
20330
|
+
];
|
|
20331
|
+
};
|
|
20314
20332
|
product_group_stock_view: {
|
|
20315
20333
|
Row: {
|
|
20316
20334
|
item_count: number | null;
|
|
@@ -20925,6 +20943,18 @@ export type Database = {
|
|
|
20925
20943
|
Args: never;
|
|
20926
20944
|
Returns: number;
|
|
20927
20945
|
};
|
|
20946
|
+
calculate_floriday_desired_stock: {
|
|
20947
|
+
Args: {
|
|
20948
|
+
p_connection_id: string;
|
|
20949
|
+
p_product_id: string;
|
|
20950
|
+
};
|
|
20951
|
+
Returns: {
|
|
20952
|
+
desired_availability: boolean;
|
|
20953
|
+
desired_quantity: number;
|
|
20954
|
+
erp_available: number;
|
|
20955
|
+
stock_mode: string;
|
|
20956
|
+
}[];
|
|
20957
|
+
};
|
|
20928
20958
|
calculate_layer_stock: {
|
|
20929
20959
|
Args: {
|
|
20930
20960
|
p_product_id: string;
|
|
@@ -20986,6 +21016,9 @@ export type Database = {
|
|
|
20986
21016
|
is_herprint: boolean;
|
|
20987
21017
|
kopieen: number;
|
|
20988
21018
|
layout_id: string | null;
|
|
21019
|
+
lokaal_opgeslagen_op: string | null;
|
|
21020
|
+
lokale_pdf_fout: string | null;
|
|
21021
|
+
lokale_pdf_status: string | null;
|
|
20989
21022
|
opgepakt_op: string | null;
|
|
20990
21023
|
paginas: number;
|
|
20991
21024
|
payload: Json;
|
|
@@ -20994,6 +21027,7 @@ export type Database = {
|
|
|
20994
21027
|
pogingen: number;
|
|
20995
21028
|
printer_id: string | null;
|
|
20996
21029
|
render_html: string | null;
|
|
21030
|
+
resultaat_pdf_base64: string | null;
|
|
20997
21031
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
20998
21032
|
updated_at: string;
|
|
20999
21033
|
volgende_poging: string | null;
|
|
@@ -21015,6 +21049,7 @@ export type Database = {
|
|
|
21015
21049
|
attempts: number;
|
|
21016
21050
|
connection_id: string;
|
|
21017
21051
|
created_at: string;
|
|
21052
|
+
dead_lettered_at: string | null;
|
|
21018
21053
|
desired_available: boolean | null;
|
|
21019
21054
|
gateway_attempt_id: string | null;
|
|
21020
21055
|
id: string;
|
|
@@ -21023,9 +21058,13 @@ export type Database = {
|
|
|
21023
21058
|
locked_by: string | null;
|
|
21024
21059
|
next_attempt_at: string;
|
|
21025
21060
|
number_of_pieces: number;
|
|
21061
|
+
product_id: string | null;
|
|
21026
21062
|
sent_at: string | null;
|
|
21027
21063
|
status: string;
|
|
21064
|
+
stock_mode: string | null;
|
|
21028
21065
|
superseded_by: string | null;
|
|
21066
|
+
target_week: number | null;
|
|
21067
|
+
target_year: number | null;
|
|
21029
21068
|
trade_item_id: string;
|
|
21030
21069
|
updated_at: string;
|
|
21031
21070
|
user_id: string;
|
|
@@ -21085,6 +21124,53 @@ export type Database = {
|
|
|
21085
21124
|
isSetofReturn: true;
|
|
21086
21125
|
};
|
|
21087
21126
|
};
|
|
21127
|
+
claim_pdf_print_jobs: {
|
|
21128
|
+
Args: {
|
|
21129
|
+
_max?: number;
|
|
21130
|
+
};
|
|
21131
|
+
Returns: {
|
|
21132
|
+
agent_id: string | null;
|
|
21133
|
+
bron_job_id: string | null;
|
|
21134
|
+
created_at: string;
|
|
21135
|
+
documentnaam: string;
|
|
21136
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
21137
|
+
extern_job_id: string | null;
|
|
21138
|
+
foutmelding: string | null;
|
|
21139
|
+
gebruiker_id: string | null;
|
|
21140
|
+
gebruiker_naam: string;
|
|
21141
|
+
gebruikte_bron: string | null;
|
|
21142
|
+
gebruikte_layout_id: string | null;
|
|
21143
|
+
gestart_op: string | null;
|
|
21144
|
+
herkomst: string | null;
|
|
21145
|
+
id: string;
|
|
21146
|
+
idempotentie_sleutel: string | null;
|
|
21147
|
+
is_herprint: boolean;
|
|
21148
|
+
kopieen: number;
|
|
21149
|
+
layout_id: string | null;
|
|
21150
|
+
lokaal_opgeslagen_op: string | null;
|
|
21151
|
+
lokale_pdf_fout: string | null;
|
|
21152
|
+
lokale_pdf_status: string | null;
|
|
21153
|
+
opgepakt_op: string | null;
|
|
21154
|
+
paginas: number;
|
|
21155
|
+
payload: Json;
|
|
21156
|
+
pdf_base64: string | null;
|
|
21157
|
+
pdf_url: string | null;
|
|
21158
|
+
pogingen: number;
|
|
21159
|
+
printer_id: string | null;
|
|
21160
|
+
render_html: string | null;
|
|
21161
|
+
resultaat_pdf_base64: string | null;
|
|
21162
|
+
status: Database["public"]["Enums"]["print_job_status"];
|
|
21163
|
+
updated_at: string;
|
|
21164
|
+
volgende_poging: string | null;
|
|
21165
|
+
voltooid_op: string | null;
|
|
21166
|
+
}[];
|
|
21167
|
+
SetofOptions: {
|
|
21168
|
+
from: "*";
|
|
21169
|
+
to: "print_jobs";
|
|
21170
|
+
isOneToOne: false;
|
|
21171
|
+
isSetofReturn: true;
|
|
21172
|
+
};
|
|
21173
|
+
};
|
|
21088
21174
|
claim_print_jobs: {
|
|
21089
21175
|
Args: {
|
|
21090
21176
|
_agent_id: string;
|
|
@@ -21109,6 +21195,9 @@ export type Database = {
|
|
|
21109
21195
|
is_herprint: boolean;
|
|
21110
21196
|
kopieen: number;
|
|
21111
21197
|
layout_id: string | null;
|
|
21198
|
+
lokaal_opgeslagen_op: string | null;
|
|
21199
|
+
lokale_pdf_fout: string | null;
|
|
21200
|
+
lokale_pdf_status: string | null;
|
|
21112
21201
|
opgepakt_op: string | null;
|
|
21113
21202
|
paginas: number;
|
|
21114
21203
|
payload: Json;
|
|
@@ -21117,6 +21206,7 @@ export type Database = {
|
|
|
21117
21206
|
pogingen: number;
|
|
21118
21207
|
printer_id: string | null;
|
|
21119
21208
|
render_html: string | null;
|
|
21209
|
+
resultaat_pdf_base64: string | null;
|
|
21120
21210
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
21121
21211
|
updated_at: string;
|
|
21122
21212
|
volgende_poging: string | null;
|
|
@@ -21257,6 +21347,8 @@ export type Database = {
|
|
|
21257
21347
|
order_id: string;
|
|
21258
21348
|
order_source: string;
|
|
21259
21349
|
pick_date: string;
|
|
21350
|
+
printed_at: string;
|
|
21351
|
+
printed_today: boolean;
|
|
21260
21352
|
status: string;
|
|
21261
21353
|
}[];
|
|
21262
21354
|
};
|
|
@@ -21453,6 +21545,24 @@ export type Database = {
|
|
|
21453
21545
|
};
|
|
21454
21546
|
Returns: string;
|
|
21455
21547
|
};
|
|
21548
|
+
floriday_capture_stock_snapshot: {
|
|
21549
|
+
Args: never;
|
|
21550
|
+
Returns: number;
|
|
21551
|
+
};
|
|
21552
|
+
floriday_cleanup_stock_queue_v2: {
|
|
21553
|
+
Args: never;
|
|
21554
|
+
Returns: undefined;
|
|
21555
|
+
};
|
|
21556
|
+
floriday_compact_stock_snapshots: {
|
|
21557
|
+
Args: never;
|
|
21558
|
+
Returns: undefined;
|
|
21559
|
+
};
|
|
21560
|
+
floriday_default_owner: {
|
|
21561
|
+
Args: {
|
|
21562
|
+
p_connection_id: string;
|
|
21563
|
+
};
|
|
21564
|
+
Returns: string;
|
|
21565
|
+
};
|
|
21456
21566
|
floriday_effective_price: {
|
|
21457
21567
|
Args: {
|
|
21458
21568
|
_buyer_id: string;
|
|
@@ -21470,6 +21580,34 @@ export type Database = {
|
|
|
21470
21580
|
source_id: string;
|
|
21471
21581
|
}[];
|
|
21472
21582
|
};
|
|
21583
|
+
floriday_fill_publish_horizon: {
|
|
21584
|
+
Args: never;
|
|
21585
|
+
Returns: number;
|
|
21586
|
+
};
|
|
21587
|
+
floriday_ingest_sales_orders: {
|
|
21588
|
+
Args: {
|
|
21589
|
+
p_limit?: number;
|
|
21590
|
+
};
|
|
21591
|
+
Returns: number;
|
|
21592
|
+
};
|
|
21593
|
+
floriday_publish_horizon_weeks: {
|
|
21594
|
+
Args: never;
|
|
21595
|
+
Returns: number;
|
|
21596
|
+
};
|
|
21597
|
+
floriday_recompute_inventory: {
|
|
21598
|
+
Args: {
|
|
21599
|
+
p_connection_id: string;
|
|
21600
|
+
p_force?: boolean;
|
|
21601
|
+
p_product_id: string;
|
|
21602
|
+
};
|
|
21603
|
+
Returns: undefined;
|
|
21604
|
+
};
|
|
21605
|
+
floriday_requeue_dead_letters: {
|
|
21606
|
+
Args: {
|
|
21607
|
+
p_connection_id?: string;
|
|
21608
|
+
};
|
|
21609
|
+
Returns: number;
|
|
21610
|
+
};
|
|
21473
21611
|
format_cart_number: {
|
|
21474
21612
|
Args: {
|
|
21475
21613
|
p_pick_date: string;
|
|
@@ -21686,6 +21824,131 @@ export type Database = {
|
|
|
21686
21824
|
Args: never;
|
|
21687
21825
|
Returns: string;
|
|
21688
21826
|
};
|
|
21827
|
+
handover_get: {
|
|
21828
|
+
Args: {
|
|
21829
|
+
_module_id: string;
|
|
21830
|
+
};
|
|
21831
|
+
Returns: Json;
|
|
21832
|
+
};
|
|
21833
|
+
handover_kern_naam: {
|
|
21834
|
+
Args: {
|
|
21835
|
+
_naam: string;
|
|
21836
|
+
};
|
|
21837
|
+
Returns: string;
|
|
21838
|
+
};
|
|
21839
|
+
handover_ketenmodel: {
|
|
21840
|
+
Args: never;
|
|
21841
|
+
Returns: Json;
|
|
21842
|
+
};
|
|
21843
|
+
handover_kruisconflicten: {
|
|
21844
|
+
Args: never;
|
|
21845
|
+
Returns: Json;
|
|
21846
|
+
};
|
|
21847
|
+
handover_list: {
|
|
21848
|
+
Args: never;
|
|
21849
|
+
Returns: Json;
|
|
21850
|
+
};
|
|
21851
|
+
handover_mag_schrijven: {
|
|
21852
|
+
Args: {
|
|
21853
|
+
_module_id: string;
|
|
21854
|
+
};
|
|
21855
|
+
Returns: boolean;
|
|
21856
|
+
};
|
|
21857
|
+
handover_norm_naam: {
|
|
21858
|
+
Args: {
|
|
21859
|
+
_naam: string;
|
|
21860
|
+
};
|
|
21861
|
+
Returns: string;
|
|
21862
|
+
};
|
|
21863
|
+
handover_publish: {
|
|
21864
|
+
Args: {
|
|
21865
|
+
_bevindingen?: string;
|
|
21866
|
+
_bezit_tabellen?: string[];
|
|
21867
|
+
_conflicten_snapshot?: Json;
|
|
21868
|
+
_contractfuncties?: string[];
|
|
21869
|
+
_inhoud_md: string;
|
|
21870
|
+
_module_id: string;
|
|
21871
|
+
_module_titel: string;
|
|
21872
|
+
_ontbrekende_contracten?: string[];
|
|
21873
|
+
_samenvatting?: string;
|
|
21874
|
+
};
|
|
21875
|
+
Returns: number;
|
|
21876
|
+
};
|
|
21877
|
+
handover_publish_via_token: {
|
|
21878
|
+
Args: {
|
|
21879
|
+
_bevindingen?: string;
|
|
21880
|
+
_bezit_tabellen?: string[];
|
|
21881
|
+
_conflicten_snapshot?: Json;
|
|
21882
|
+
_contractfuncties?: string[];
|
|
21883
|
+
_inhoud_md: string;
|
|
21884
|
+
_module_id: string;
|
|
21885
|
+
_module_titel: string;
|
|
21886
|
+
_ontbrekende_contracten?: string[];
|
|
21887
|
+
_samenvatting?: string;
|
|
21888
|
+
_token_hash: string;
|
|
21889
|
+
};
|
|
21890
|
+
Returns: number;
|
|
21891
|
+
};
|
|
21892
|
+
handover_status: {
|
|
21893
|
+
Args: never;
|
|
21894
|
+
Returns: Json;
|
|
21895
|
+
};
|
|
21896
|
+
handover_synonym_kern: {
|
|
21897
|
+
Args: {
|
|
21898
|
+
_naam: string;
|
|
21899
|
+
};
|
|
21900
|
+
Returns: string;
|
|
21901
|
+
};
|
|
21902
|
+
handover_token_intrekken: {
|
|
21903
|
+
Args: {
|
|
21904
|
+
_id: string;
|
|
21905
|
+
};
|
|
21906
|
+
Returns: boolean;
|
|
21907
|
+
};
|
|
21908
|
+
handover_token_lijst: {
|
|
21909
|
+
Args: never;
|
|
21910
|
+
Returns: Json;
|
|
21911
|
+
};
|
|
21912
|
+
handover_token_maken: {
|
|
21913
|
+
Args: {
|
|
21914
|
+
_label?: string;
|
|
21915
|
+
_module_id: string;
|
|
21916
|
+
};
|
|
21917
|
+
Returns: string;
|
|
21918
|
+
};
|
|
21919
|
+
handover_update: {
|
|
21920
|
+
Args: {
|
|
21921
|
+
_bezit_tabellen?: string[];
|
|
21922
|
+
_contractfuncties?: string[];
|
|
21923
|
+
_herzieningstermijn_dagen?: number;
|
|
21924
|
+
_inhoud_md?: string;
|
|
21925
|
+
_module_id: string;
|
|
21926
|
+
_module_titel?: string;
|
|
21927
|
+
_samenvatting?: string;
|
|
21928
|
+
_versie: number;
|
|
21929
|
+
};
|
|
21930
|
+
Returns: boolean;
|
|
21931
|
+
} | {
|
|
21932
|
+
Args: {
|
|
21933
|
+
_bevindingen?: string;
|
|
21934
|
+
_bezit_tabellen?: string[];
|
|
21935
|
+
_contractfuncties?: string[];
|
|
21936
|
+
_herzieningstermijn_dagen?: number;
|
|
21937
|
+
_inhoud_md?: string;
|
|
21938
|
+
_module_id: string;
|
|
21939
|
+
_module_titel?: string;
|
|
21940
|
+
_ontbrekende_contracten?: string[];
|
|
21941
|
+
_samenvatting?: string;
|
|
21942
|
+
_versie: number;
|
|
21943
|
+
};
|
|
21944
|
+
Returns: boolean;
|
|
21945
|
+
};
|
|
21946
|
+
handover_versies: {
|
|
21947
|
+
Args: {
|
|
21948
|
+
_module_id: string;
|
|
21949
|
+
};
|
|
21950
|
+
Returns: Json;
|
|
21951
|
+
};
|
|
21689
21952
|
has_module_permission: {
|
|
21690
21953
|
Args: {
|
|
21691
21954
|
_min: string;
|
|
@@ -21705,6 +21968,25 @@ export type Database = {
|
|
|
21705
21968
|
Args: never;
|
|
21706
21969
|
Returns: boolean;
|
|
21707
21970
|
};
|
|
21971
|
+
instructie_get: {
|
|
21972
|
+
Args: {
|
|
21973
|
+
_sleutel: string;
|
|
21974
|
+
};
|
|
21975
|
+
Returns: Json;
|
|
21976
|
+
};
|
|
21977
|
+
instructie_list: {
|
|
21978
|
+
Args: never;
|
|
21979
|
+
Returns: Json;
|
|
21980
|
+
};
|
|
21981
|
+
instructie_publish: {
|
|
21982
|
+
Args: {
|
|
21983
|
+
_inhoud_md: string;
|
|
21984
|
+
_sleutel: string;
|
|
21985
|
+
_titel: string;
|
|
21986
|
+
_toelichting?: string;
|
|
21987
|
+
};
|
|
21988
|
+
Returns: number;
|
|
21989
|
+
};
|
|
21708
21990
|
invoice_create_from_source: {
|
|
21709
21991
|
Args: {
|
|
21710
21992
|
_payload?: Json;
|
|
@@ -21929,6 +22211,12 @@ export type Database = {
|
|
|
21929
22211
|
};
|
|
21930
22212
|
Returns: boolean;
|
|
21931
22213
|
};
|
|
22214
|
+
logistics_barcode_lookup: {
|
|
22215
|
+
Args: {
|
|
22216
|
+
p_barcode: string;
|
|
22217
|
+
};
|
|
22218
|
+
Returns: Json;
|
|
22219
|
+
};
|
|
21932
22220
|
logistics_buffer_criteria: {
|
|
21933
22221
|
Args: {
|
|
21934
22222
|
p_settings: Json;
|
|
@@ -21965,6 +22253,10 @@ export type Database = {
|
|
|
21965
22253
|
};
|
|
21966
22254
|
Returns: number;
|
|
21967
22255
|
};
|
|
22256
|
+
logistics_cancel_orphan_tasks: {
|
|
22257
|
+
Args: never;
|
|
22258
|
+
Returns: number;
|
|
22259
|
+
};
|
|
21968
22260
|
logistics_capacity_day_check: {
|
|
21969
22261
|
Args: {
|
|
21970
22262
|
p_from?: string;
|
|
@@ -21976,14 +22268,49 @@ export type Database = {
|
|
|
21976
22268
|
Args: {
|
|
21977
22269
|
p_date: string;
|
|
21978
22270
|
};
|
|
21979
|
-
Returns: Json;
|
|
22271
|
+
Returns: Json;
|
|
22272
|
+
};
|
|
22273
|
+
logistics_carrier_minutes: {
|
|
22274
|
+
Args: {
|
|
22275
|
+
p_carrier: string;
|
|
22276
|
+
p_settings: Json;
|
|
22277
|
+
};
|
|
22278
|
+
Returns: number;
|
|
22279
|
+
};
|
|
22280
|
+
logistics_cart_barcode_value: {
|
|
22281
|
+
Args: {
|
|
22282
|
+
_cart_id: string;
|
|
22283
|
+
};
|
|
22284
|
+
Returns: string;
|
|
22285
|
+
};
|
|
22286
|
+
logistics_cart_index: {
|
|
22287
|
+
Args: {
|
|
22288
|
+
p_from?: string;
|
|
22289
|
+
p_to?: string;
|
|
22290
|
+
};
|
|
22291
|
+
Returns: {
|
|
22292
|
+
cart_id: string;
|
|
22293
|
+
cart_index: number;
|
|
22294
|
+
cart_label: string;
|
|
22295
|
+
delivery_date: string;
|
|
22296
|
+
is_announced: boolean;
|
|
22297
|
+
is_controlled: boolean;
|
|
22298
|
+
is_printed: boolean;
|
|
22299
|
+
is_shared: boolean;
|
|
22300
|
+
order_number: string;
|
|
22301
|
+
order_source: string;
|
|
22302
|
+
order_uuid: string;
|
|
22303
|
+
pick_date: string;
|
|
22304
|
+
printed_at: string;
|
|
22305
|
+
shifted: boolean;
|
|
22306
|
+
task_status: string;
|
|
22307
|
+
}[];
|
|
21980
22308
|
};
|
|
21981
|
-
|
|
22309
|
+
logistics_cart_slip_plan: {
|
|
21982
22310
|
Args: {
|
|
21983
|
-
|
|
21984
|
-
p_settings: Json;
|
|
22311
|
+
p_order_id: string;
|
|
21985
22312
|
};
|
|
21986
|
-
Returns:
|
|
22313
|
+
Returns: Json;
|
|
21987
22314
|
};
|
|
21988
22315
|
logistics_check_order_allowed: {
|
|
21989
22316
|
Args: {
|
|
@@ -22133,6 +22460,21 @@ export type Database = {
|
|
|
22133
22460
|
isSetofReturn: false;
|
|
22134
22461
|
};
|
|
22135
22462
|
};
|
|
22463
|
+
logistics_consistency_check: {
|
|
22464
|
+
Args: never;
|
|
22465
|
+
Returns: {
|
|
22466
|
+
agenda_carts: number;
|
|
22467
|
+
announced_carts: number;
|
|
22468
|
+
control_carts: number;
|
|
22469
|
+
delivery_carts: number;
|
|
22470
|
+
ok: boolean;
|
|
22471
|
+
orphan_tasks: number;
|
|
22472
|
+
pick_date: string;
|
|
22473
|
+
raw_carts: number;
|
|
22474
|
+
sales_carts: number;
|
|
22475
|
+
station_carts: number;
|
|
22476
|
+
}[];
|
|
22477
|
+
};
|
|
22136
22478
|
logistics_delay_customer_email: {
|
|
22137
22479
|
Args: {
|
|
22138
22480
|
p_customer: string;
|
|
@@ -22146,12 +22488,35 @@ export type Database = {
|
|
|
22146
22488
|
subject: string;
|
|
22147
22489
|
}[];
|
|
22148
22490
|
};
|
|
22491
|
+
logistics_delivery_agenda: {
|
|
22492
|
+
Args: {
|
|
22493
|
+
p_from?: string;
|
|
22494
|
+
p_to?: string;
|
|
22495
|
+
};
|
|
22496
|
+
Returns: {
|
|
22497
|
+
announced_count: number;
|
|
22498
|
+
cart_count: number;
|
|
22499
|
+
controlled_count: number;
|
|
22500
|
+
delivery_date: string;
|
|
22501
|
+
order_count: number;
|
|
22502
|
+
orders: Json;
|
|
22503
|
+
plant_count: number;
|
|
22504
|
+
printed_count: number;
|
|
22505
|
+
}[];
|
|
22506
|
+
};
|
|
22149
22507
|
logistics_document_layout: {
|
|
22150
22508
|
Args: {
|
|
22151
22509
|
_document_code: string;
|
|
22152
22510
|
};
|
|
22153
22511
|
Returns: Json;
|
|
22154
22512
|
};
|
|
22513
|
+
logistics_document_layout_v2: {
|
|
22514
|
+
Args: {
|
|
22515
|
+
_document_code: string;
|
|
22516
|
+
_is_partial?: boolean;
|
|
22517
|
+
};
|
|
22518
|
+
Returns: Json;
|
|
22519
|
+
};
|
|
22155
22520
|
logistics_document_station: {
|
|
22156
22521
|
Args: {
|
|
22157
22522
|
_document_code: string;
|
|
@@ -22177,6 +22542,12 @@ export type Database = {
|
|
|
22177
22542
|
};
|
|
22178
22543
|
Returns: Json;
|
|
22179
22544
|
};
|
|
22545
|
+
logistics_ensure_cart_barcode: {
|
|
22546
|
+
Args: {
|
|
22547
|
+
_cart_id: string;
|
|
22548
|
+
};
|
|
22549
|
+
Returns: string;
|
|
22550
|
+
};
|
|
22180
22551
|
logistics_fail_task: {
|
|
22181
22552
|
Args: {
|
|
22182
22553
|
p_error: string;
|
|
@@ -22222,6 +22593,16 @@ export type Database = {
|
|
|
22222
22593
|
isSetofReturn: false;
|
|
22223
22594
|
};
|
|
22224
22595
|
};
|
|
22596
|
+
logistics_floriday_cart_plan: {
|
|
22597
|
+
Args: {
|
|
22598
|
+
p_order_id: string;
|
|
22599
|
+
};
|
|
22600
|
+
Returns: {
|
|
22601
|
+
carrier_type: string;
|
|
22602
|
+
idx: number;
|
|
22603
|
+
packages: number;
|
|
22604
|
+
}[];
|
|
22605
|
+
};
|
|
22225
22606
|
logistics_floriday_claim_pushes: {
|
|
22226
22607
|
Args: {
|
|
22227
22608
|
_lease_seconds?: number;
|
|
@@ -22326,6 +22707,25 @@ export type Database = {
|
|
|
22326
22707
|
};
|
|
22327
22708
|
Returns: number;
|
|
22328
22709
|
};
|
|
22710
|
+
logistics_order_overview: {
|
|
22711
|
+
Args: {
|
|
22712
|
+
p_from?: string;
|
|
22713
|
+
p_to?: string;
|
|
22714
|
+
};
|
|
22715
|
+
Returns: {
|
|
22716
|
+
cart_count: number;
|
|
22717
|
+
customer_name: string;
|
|
22718
|
+
delivery_date: string;
|
|
22719
|
+
order_number: string;
|
|
22720
|
+
order_source: string;
|
|
22721
|
+
order_uuid: string;
|
|
22722
|
+
pick_date: string;
|
|
22723
|
+
plant_count: number;
|
|
22724
|
+
printed_at: string;
|
|
22725
|
+
shifted: boolean;
|
|
22726
|
+
status: string;
|
|
22727
|
+
}[];
|
|
22728
|
+
};
|
|
22329
22729
|
logistics_order_pick_day: {
|
|
22330
22730
|
Args: {
|
|
22331
22731
|
p_order_ref: string;
|
|
@@ -22338,10 +22738,37 @@ export type Database = {
|
|
|
22338
22738
|
};
|
|
22339
22739
|
Returns: string;
|
|
22340
22740
|
};
|
|
22741
|
+
logistics_pick_agenda: {
|
|
22742
|
+
Args: {
|
|
22743
|
+
p_from?: string;
|
|
22744
|
+
p_to?: string;
|
|
22745
|
+
};
|
|
22746
|
+
Returns: {
|
|
22747
|
+
cart_count: number;
|
|
22748
|
+
in_preparation: number;
|
|
22749
|
+
order_count: number;
|
|
22750
|
+
orders: Json;
|
|
22751
|
+
pick_date: string;
|
|
22752
|
+
plant_count: number;
|
|
22753
|
+
ready: number;
|
|
22754
|
+
shifted_count: number;
|
|
22755
|
+
}[];
|
|
22756
|
+
};
|
|
22757
|
+
logistics_pick_barcode_enabled: {
|
|
22758
|
+
Args: never;
|
|
22759
|
+
Returns: boolean;
|
|
22760
|
+
};
|
|
22341
22761
|
logistics_pick_email_purpose: {
|
|
22342
22762
|
Args: never;
|
|
22343
22763
|
Returns: string;
|
|
22344
22764
|
};
|
|
22765
|
+
logistics_pick_start_estimate: {
|
|
22766
|
+
Args: {
|
|
22767
|
+
p_order: Json;
|
|
22768
|
+
s: Json;
|
|
22769
|
+
};
|
|
22770
|
+
Returns: string;
|
|
22771
|
+
};
|
|
22345
22772
|
logistics_plan_all: {
|
|
22346
22773
|
Args: {
|
|
22347
22774
|
p_user_id?: string;
|
|
@@ -22392,6 +22819,13 @@ export type Database = {
|
|
|
22392
22819
|
};
|
|
22393
22820
|
Returns: undefined;
|
|
22394
22821
|
};
|
|
22822
|
+
logistics_plan_floriday_order: {
|
|
22823
|
+
Args: {
|
|
22824
|
+
p_buffer_id?: string;
|
|
22825
|
+
p_order_id: string;
|
|
22826
|
+
};
|
|
22827
|
+
Returns: number;
|
|
22828
|
+
};
|
|
22395
22829
|
logistics_plan_impact_orders: {
|
|
22396
22830
|
Args: {
|
|
22397
22831
|
p_order_id: string;
|
|
@@ -22497,6 +22931,15 @@ export type Database = {
|
|
|
22497
22931
|
};
|
|
22498
22932
|
Returns: Json;
|
|
22499
22933
|
};
|
|
22934
|
+
logistics_resolve_pick_document: {
|
|
22935
|
+
Args: {
|
|
22936
|
+
_is_herprint: boolean;
|
|
22937
|
+
_queue_item_id: string;
|
|
22938
|
+
_session_id: string;
|
|
22939
|
+
_voorbeeld: boolean;
|
|
22940
|
+
};
|
|
22941
|
+
Returns: Json;
|
|
22942
|
+
};
|
|
22500
22943
|
logistics_resolve_settings: {
|
|
22501
22944
|
Args: {
|
|
22502
22945
|
p_config_id: string;
|
|
@@ -22576,6 +23019,14 @@ export type Database = {
|
|
|
22576
23019
|
};
|
|
22577
23020
|
Returns: string;
|
|
22578
23021
|
};
|
|
23022
|
+
logistics_shipping_note_from_barcode: {
|
|
23023
|
+
Args: {
|
|
23024
|
+
p_allow_reprint?: boolean;
|
|
23025
|
+
p_barcode: string;
|
|
23026
|
+
p_station_id?: string;
|
|
23027
|
+
};
|
|
23028
|
+
Returns: Json;
|
|
23029
|
+
};
|
|
22579
23030
|
logistics_supersede_stale_tasks: {
|
|
22580
23031
|
Args: {
|
|
22581
23032
|
p_keep: string[];
|
|
@@ -22797,6 +23248,7 @@ export type Database = {
|
|
|
22797
23248
|
print_job_id: string | null;
|
|
22798
23249
|
printed_at: string | null;
|
|
22799
23250
|
printed_by: string | null;
|
|
23251
|
+
printed_cart_ids: Json;
|
|
22800
23252
|
printer_id: string | null;
|
|
22801
23253
|
priority: number;
|
|
22802
23254
|
reference: string | null;
|
|
@@ -22846,6 +23298,7 @@ export type Database = {
|
|
|
22846
23298
|
print_job_id: string | null;
|
|
22847
23299
|
printed_at: string | null;
|
|
22848
23300
|
printed_by: string | null;
|
|
23301
|
+
printed_cart_ids: Json;
|
|
22849
23302
|
printer_id: string | null;
|
|
22850
23303
|
priority: number;
|
|
22851
23304
|
reference: string | null;
|
|
@@ -22900,6 +23353,56 @@ export type Database = {
|
|
|
22900
23353
|
print_job_id: string | null;
|
|
22901
23354
|
printed_at: string | null;
|
|
22902
23355
|
printed_by: string | null;
|
|
23356
|
+
printed_cart_ids: Json;
|
|
23357
|
+
printer_id: string | null;
|
|
23358
|
+
priority: number;
|
|
23359
|
+
reference: string | null;
|
|
23360
|
+
route: string | null;
|
|
23361
|
+
screen_id: string | null;
|
|
23362
|
+
station_id: string | null;
|
|
23363
|
+
status_id: string | null;
|
|
23364
|
+
updated_at: string;
|
|
23365
|
+
warnings: Json;
|
|
23366
|
+
};
|
|
23367
|
+
SetofOptions: {
|
|
23368
|
+
from: "*";
|
|
23369
|
+
to: "pick_queue";
|
|
23370
|
+
isOneToOne: true;
|
|
23371
|
+
isSetofReturn: false;
|
|
23372
|
+
};
|
|
23373
|
+
};
|
|
23374
|
+
pick_complete_print_cart: {
|
|
23375
|
+
Args: {
|
|
23376
|
+
_cart_id: string;
|
|
23377
|
+
_printer_id: string;
|
|
23378
|
+
_queue_item_id: string;
|
|
23379
|
+
_session_id: string;
|
|
23380
|
+
};
|
|
23381
|
+
Returns: {
|
|
23382
|
+
announced_at: string;
|
|
23383
|
+
assigned_user_id: string | null;
|
|
23384
|
+
barcode: string | null;
|
|
23385
|
+
cancelled_at: string | null;
|
|
23386
|
+
cart_count: number;
|
|
23387
|
+
completed_at: string | null;
|
|
23388
|
+
country_code: string | null;
|
|
23389
|
+
created_at: string;
|
|
23390
|
+
customer_name: string | null;
|
|
23391
|
+
delivery_address: string | null;
|
|
23392
|
+
document_number: string | null;
|
|
23393
|
+
document_type_id: string | null;
|
|
23394
|
+
due_at: string | null;
|
|
23395
|
+
id: string;
|
|
23396
|
+
is_urgent: boolean;
|
|
23397
|
+
line_count: number;
|
|
23398
|
+
order_number: string | null;
|
|
23399
|
+
order_type: string | null;
|
|
23400
|
+
payload: Json;
|
|
23401
|
+
print_count: number;
|
|
23402
|
+
print_job_id: string | null;
|
|
23403
|
+
printed_at: string | null;
|
|
23404
|
+
printed_by: string | null;
|
|
23405
|
+
printed_cart_ids: Json;
|
|
22903
23406
|
printer_id: string | null;
|
|
22904
23407
|
priority: number;
|
|
22905
23408
|
reference: string | null;
|
|
@@ -22943,6 +23446,15 @@ export type Database = {
|
|
|
22943
23446
|
_session_id?: string;
|
|
22944
23447
|
};
|
|
22945
23448
|
Returns: string;
|
|
23449
|
+
} | {
|
|
23450
|
+
Args: {
|
|
23451
|
+
_cart_id: string;
|
|
23452
|
+
_is_herprint: boolean;
|
|
23453
|
+
_printer_id: string;
|
|
23454
|
+
_queue_item_id: string;
|
|
23455
|
+
_session_id: string;
|
|
23456
|
+
};
|
|
23457
|
+
Returns: string;
|
|
22946
23458
|
};
|
|
22947
23459
|
pick_order_context: {
|
|
22948
23460
|
Args: {
|
|
@@ -22951,6 +23463,13 @@ export type Database = {
|
|
|
22951
23463
|
};
|
|
22952
23464
|
Returns: Json;
|
|
22953
23465
|
};
|
|
23466
|
+
pick_preview_job: {
|
|
23467
|
+
Args: {
|
|
23468
|
+
_queue_item_id: string;
|
|
23469
|
+
_station_slug: string;
|
|
23470
|
+
};
|
|
23471
|
+
Returns: Json;
|
|
23472
|
+
};
|
|
22954
23473
|
pick_print_job_status: {
|
|
22955
23474
|
Args: {
|
|
22956
23475
|
_job_id: string;
|
|
@@ -23016,6 +23535,54 @@ export type Database = {
|
|
|
23016
23535
|
print_job_id: string | null;
|
|
23017
23536
|
printed_at: string | null;
|
|
23018
23537
|
printed_by: string | null;
|
|
23538
|
+
printed_cart_ids: Json;
|
|
23539
|
+
printer_id: string | null;
|
|
23540
|
+
priority: number;
|
|
23541
|
+
reference: string | null;
|
|
23542
|
+
route: string | null;
|
|
23543
|
+
screen_id: string | null;
|
|
23544
|
+
station_id: string | null;
|
|
23545
|
+
status_id: string | null;
|
|
23546
|
+
updated_at: string;
|
|
23547
|
+
warnings: Json;
|
|
23548
|
+
};
|
|
23549
|
+
SetofOptions: {
|
|
23550
|
+
from: "*";
|
|
23551
|
+
to: "pick_queue";
|
|
23552
|
+
isOneToOne: true;
|
|
23553
|
+
isSetofReturn: false;
|
|
23554
|
+
};
|
|
23555
|
+
} | {
|
|
23556
|
+
Args: {
|
|
23557
|
+
_cart_id?: string;
|
|
23558
|
+
_queue_item_id: string;
|
|
23559
|
+
_session_id: string;
|
|
23560
|
+
};
|
|
23561
|
+
Returns: {
|
|
23562
|
+
announced_at: string;
|
|
23563
|
+
assigned_user_id: string | null;
|
|
23564
|
+
barcode: string | null;
|
|
23565
|
+
cancelled_at: string | null;
|
|
23566
|
+
cart_count: number;
|
|
23567
|
+
completed_at: string | null;
|
|
23568
|
+
country_code: string | null;
|
|
23569
|
+
created_at: string;
|
|
23570
|
+
customer_name: string | null;
|
|
23571
|
+
delivery_address: string | null;
|
|
23572
|
+
document_number: string | null;
|
|
23573
|
+
document_type_id: string | null;
|
|
23574
|
+
due_at: string | null;
|
|
23575
|
+
id: string;
|
|
23576
|
+
is_urgent: boolean;
|
|
23577
|
+
line_count: number;
|
|
23578
|
+
order_number: string | null;
|
|
23579
|
+
order_type: string | null;
|
|
23580
|
+
payload: Json;
|
|
23581
|
+
print_count: number;
|
|
23582
|
+
print_job_id: string | null;
|
|
23583
|
+
printed_at: string | null;
|
|
23584
|
+
printed_by: string | null;
|
|
23585
|
+
printed_cart_ids: Json;
|
|
23019
23586
|
printer_id: string | null;
|
|
23020
23587
|
priority: number;
|
|
23021
23588
|
reference: string | null;
|
|
@@ -23128,6 +23695,66 @@ export type Database = {
|
|
|
23128
23695
|
};
|
|
23129
23696
|
Returns: undefined;
|
|
23130
23697
|
};
|
|
23698
|
+
planning_cancel_item: {
|
|
23699
|
+
Args: {
|
|
23700
|
+
_id: string;
|
|
23701
|
+
};
|
|
23702
|
+
Returns: undefined;
|
|
23703
|
+
};
|
|
23704
|
+
planning_list: {
|
|
23705
|
+
Args: {
|
|
23706
|
+
_from: string;
|
|
23707
|
+
_to: string;
|
|
23708
|
+
};
|
|
23709
|
+
Returns: {
|
|
23710
|
+
assigned_monteur_id: string | null;
|
|
23711
|
+
assistants: Json | null;
|
|
23712
|
+
budget_mandate_cents: number | null;
|
|
23713
|
+
created_at: string | null;
|
|
23714
|
+
created_by: string | null;
|
|
23715
|
+
customer_id: string | null;
|
|
23716
|
+
customer_name: string | null;
|
|
23717
|
+
duration_minutes: number | null;
|
|
23718
|
+
end_at: string | null;
|
|
23719
|
+
id: string | null;
|
|
23720
|
+
needs_detail_review: boolean | null;
|
|
23721
|
+
notes: string | null;
|
|
23722
|
+
project_number: string | null;
|
|
23723
|
+
review_reasons: string[] | null;
|
|
23724
|
+
start_at: string | null;
|
|
23725
|
+
status: Database["public"]["Enums"]["planning_item_status"] | null;
|
|
23726
|
+
updated_at: string | null;
|
|
23727
|
+
viewer_role: string | null;
|
|
23728
|
+
werkbon_id: string | null;
|
|
23729
|
+
work_address: string | null;
|
|
23730
|
+
}[];
|
|
23731
|
+
SetofOptions: {
|
|
23732
|
+
from: "*";
|
|
23733
|
+
to: "planning_overview";
|
|
23734
|
+
isOneToOne: false;
|
|
23735
|
+
isSetofReturn: true;
|
|
23736
|
+
};
|
|
23737
|
+
};
|
|
23738
|
+
planning_set_assistants: {
|
|
23739
|
+
Args: {
|
|
23740
|
+
_monteur_ids: string[];
|
|
23741
|
+
_planning_item_id: string;
|
|
23742
|
+
};
|
|
23743
|
+
Returns: undefined;
|
|
23744
|
+
};
|
|
23745
|
+
planning_upsert_item: {
|
|
23746
|
+
Args: {
|
|
23747
|
+
_assigned_monteur_id: string;
|
|
23748
|
+
_end_at: string;
|
|
23749
|
+
_notes?: string;
|
|
23750
|
+
_start_at: string;
|
|
23751
|
+
_werkbon_id: string;
|
|
23752
|
+
};
|
|
23753
|
+
Returns: {
|
|
23754
|
+
action: string;
|
|
23755
|
+
id: string;
|
|
23756
|
+
}[];
|
|
23757
|
+
};
|
|
23131
23758
|
print_preview_toestaan: {
|
|
23132
23759
|
Args: {
|
|
23133
23760
|
_max?: number;
|
|
@@ -23300,6 +23927,12 @@ export type Database = {
|
|
|
23300
23927
|
};
|
|
23301
23928
|
Returns: string;
|
|
23302
23929
|
};
|
|
23930
|
+
resolve_print_job_printer_id: {
|
|
23931
|
+
Args: {
|
|
23932
|
+
_job: Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
23933
|
+
};
|
|
23934
|
+
Returns: string;
|
|
23935
|
+
};
|
|
23303
23936
|
resolve_product_id_for_item: {
|
|
23304
23937
|
Args: {
|
|
23305
23938
|
p_product_name: string;
|
|
@@ -23703,6 +24336,26 @@ export type Database = {
|
|
|
23703
24336
|
};
|
|
23704
24337
|
Returns: string[];
|
|
23705
24338
|
};
|
|
24339
|
+
start_time_log_at: {
|
|
24340
|
+
Args: {
|
|
24341
|
+
p_clicked_at?: string;
|
|
24342
|
+
p_employee_id: string;
|
|
24343
|
+
p_start_lat?: number;
|
|
24344
|
+
p_start_lng?: number;
|
|
24345
|
+
p_type: string;
|
|
24346
|
+
p_work_order_id?: string;
|
|
24347
|
+
};
|
|
24348
|
+
Returns: Json;
|
|
24349
|
+
};
|
|
24350
|
+
stop_time_log: {
|
|
24351
|
+
Args: {
|
|
24352
|
+
p_employee_id: string;
|
|
24353
|
+
p_end_lat?: number;
|
|
24354
|
+
p_end_lng?: number;
|
|
24355
|
+
p_end_time: string;
|
|
24356
|
+
};
|
|
24357
|
+
Returns: Json;
|
|
24358
|
+
};
|
|
23706
24359
|
switch_time_log: {
|
|
23707
24360
|
Args: {
|
|
23708
24361
|
p_employee_id: string;
|
|
@@ -23898,9 +24551,9 @@ type DatabaseWithoutInternals = Omit<Database, "__InternalSupabase">;
|
|
|
23898
24551
|
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
|
|
23899
24552
|
export type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
|
|
23900
24553
|
schema: keyof DatabaseWithoutInternals;
|
|
23901
|
-
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
24554
|
+
}, TableName extends (DefaultSchemaTableNameOrOptions extends {
|
|
23902
24555
|
schema: keyof DatabaseWithoutInternals;
|
|
23903
|
-
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
24556
|
+
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never) = never> = DefaultSchemaTableNameOrOptions extends {
|
|
23904
24557
|
schema: keyof DatabaseWithoutInternals;
|
|
23905
24558
|
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
|
|
23906
24559
|
Row: infer R;
|
|
@@ -23909,9 +24562,9 @@ export type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema[
|
|
|
23909
24562
|
} ? R : never : never;
|
|
23910
24563
|
export type TablesInsert<DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] | {
|
|
23911
24564
|
schema: keyof DatabaseWithoutInternals;
|
|
23912
|
-
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
24565
|
+
}, TableName extends (DefaultSchemaTableNameOrOptions extends {
|
|
23913
24566
|
schema: keyof DatabaseWithoutInternals;
|
|
23914
|
-
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
24567
|
+
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never) = never> = DefaultSchemaTableNameOrOptions extends {
|
|
23915
24568
|
schema: keyof DatabaseWithoutInternals;
|
|
23916
24569
|
} ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends {
|
|
23917
24570
|
Insert: infer I;
|
|
@@ -23920,9 +24573,9 @@ export type TablesInsert<DefaultSchemaTableNameOrOptions extends keyof DefaultSc
|
|
|
23920
24573
|
} ? I : never : never;
|
|
23921
24574
|
export type TablesUpdate<DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] | {
|
|
23922
24575
|
schema: keyof DatabaseWithoutInternals;
|
|
23923
|
-
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
24576
|
+
}, TableName extends (DefaultSchemaTableNameOrOptions extends {
|
|
23924
24577
|
schema: keyof DatabaseWithoutInternals;
|
|
23925
|
-
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
24578
|
+
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never) = never> = DefaultSchemaTableNameOrOptions extends {
|
|
23926
24579
|
schema: keyof DatabaseWithoutInternals;
|
|
23927
24580
|
} ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends {
|
|
23928
24581
|
Update: infer U;
|
|
@@ -23931,16 +24584,16 @@ export type TablesUpdate<DefaultSchemaTableNameOrOptions extends keyof DefaultSc
|
|
|
23931
24584
|
} ? U : never : never;
|
|
23932
24585
|
export type Enums<DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema["Enums"] | {
|
|
23933
24586
|
schema: keyof DatabaseWithoutInternals;
|
|
23934
|
-
}, EnumName extends DefaultSchemaEnumNameOrOptions extends {
|
|
24587
|
+
}, EnumName extends (DefaultSchemaEnumNameOrOptions extends {
|
|
23935
24588
|
schema: keyof DatabaseWithoutInternals;
|
|
23936
|
-
} ? keyof DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"] : never = never> = DefaultSchemaEnumNameOrOptions extends {
|
|
24589
|
+
} ? keyof DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"] : never) = never> = DefaultSchemaEnumNameOrOptions extends {
|
|
23937
24590
|
schema: keyof DatabaseWithoutInternals;
|
|
23938
24591
|
} ? DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"][EnumName] : DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema["Enums"] ? DefaultSchema["Enums"][DefaultSchemaEnumNameOrOptions] : never;
|
|
23939
24592
|
export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] | {
|
|
23940
24593
|
schema: keyof DatabaseWithoutInternals;
|
|
23941
|
-
}, CompositeTypeName extends PublicCompositeTypeNameOrOptions extends {
|
|
24594
|
+
}, CompositeTypeName extends (PublicCompositeTypeNameOrOptions extends {
|
|
23942
24595
|
schema: keyof DatabaseWithoutInternals;
|
|
23943
|
-
} ? keyof DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"] : never = never> = PublicCompositeTypeNameOrOptions extends {
|
|
24596
|
+
} ? keyof DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"] : never) = never> = PublicCompositeTypeNameOrOptions extends {
|
|
23944
24597
|
schema: keyof DatabaseWithoutInternals;
|
|
23945
24598
|
} ? DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName] : PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] ? DefaultSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions] : never;
|
|
23946
24599
|
export declare const Constants: {
|