@flowselections/layout-maker 1.36.7 → 1.38.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +139 -139
- package/dist-lib/components/AfdrukKnop.d.ts +19 -19
- package/dist-lib/components/NetwerkPrintersDialog.d.ts +7 -7
- package/dist-lib/components/PaginaDocument.d.ts +4 -1
- package/dist-lib/components/PaginaDocument.d.ts.map +1 -1
- package/dist-lib/components/PaginaDocument.js +10 -5
- package/dist-lib/components/PakbonBuilderPage.d.ts.map +1 -1
- package/dist-lib/components/PakbonBuilderPage.js +4 -2
- package/dist-lib/components/PakbonPreview.d.ts +4 -2
- package/dist-lib/components/PakbonPreview.d.ts.map +1 -1
- package/dist-lib/components/PakbonPreview.js +55 -12
- package/dist-lib/components/PakbonSectiesPanel.d.ts +2 -2
- package/dist-lib/components/PakbonSectiesPanel.d.ts.map +1 -1
- package/dist-lib/components/PakbonSectiesPanel.js +3 -2
- package/dist-lib/components/PrinterSetupWizard.js +3 -3
- package/dist-lib/components/PrintersRedirectPage.d.ts +1 -1
- package/dist-lib/components/PrintersRedirectPage.js +14 -14
- package/dist-lib/index.d.ts +4 -2
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +3 -2
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1240 -812
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1240 -812
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.js +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +24008 -0
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -0
- package/dist-lib/integrations/supabase/moduleClient.js +29 -0
- package/dist-lib/integrations/supabase/types.d.ts +1231 -821
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/aiLayout.functions.d.ts +1240 -812
- package/dist-lib/lib/aiLayout.functions.d.ts.map +1 -1
- package/dist-lib/lib/aiLayout.server.js +9 -9
- package/dist-lib/lib/browserPrint.js +1 -1
- package/dist-lib/lib/code128.d.ts +5 -0
- package/dist-lib/lib/code128.d.ts.map +1 -0
- package/dist-lib/lib/code128.js +51 -0
- package/dist-lib/lib/htmlPdf.server.d.ts.map +1 -1
- package/dist-lib/lib/htmlPdf.server.js +58 -0
- package/dist-lib/lib/layoutPreview.d.ts.map +1 -1
- package/dist-lib/lib/layoutPreview.js +11 -8
- package/dist-lib/lib/orderData.server.d.ts.map +1 -1
- package/dist-lib/lib/orderData.server.js +6 -0
- package/dist-lib/lib/pakbonBuilder.d.ts +28 -2
- package/dist-lib/lib/pakbonBuilder.d.ts.map +1 -1
- package/dist-lib/lib/pakbonBuilder.js +69 -8
- package/dist-lib/lib/pakbonHtml.d.ts +14 -2
- package/dist-lib/lib/pakbonHtml.d.ts.map +1 -1
- package/dist-lib/lib/pakbonHtml.js +155 -63
- package/dist-lib/lib/pakbonScan.d.ts +44 -0
- package/dist-lib/lib/pakbonScan.d.ts.map +1 -0
- package/dist-lib/lib/pakbonScan.js +105 -0
- package/dist-lib/lib/printQueue.server.d.ts +7 -0
- package/dist-lib/lib/printQueue.server.d.ts.map +1 -1
- package/dist-lib/lib/printQueue.server.js +247 -26
- package/dist-lib/lib/printService.functions.d.ts +4445 -2733
- package/dist-lib/lib/printService.functions.d.ts.map +1 -1
- package/dist-lib/lib/productiebonHtml.js +15 -15
- package/dist-lib/lib/profielHtml.js +18 -18
- package/dist-lib/lib/supabaseAdmin.server.d.ts +5 -5
- package/dist-lib/lib/supabaseAdmin.server.js +43 -43
- package/dist-lib/lib/supabaseClient.d.ts +1 -3
- package/dist-lib/lib/supabaseClient.d.ts.map +1 -1
- package/dist-lib/lib/supabaseClient.js +4 -8
- package/dist-lib/lib/testpagina.js +3 -3
- package/dist-lib/lib/testprint.js +4 -4
- package/package.json +151 -151
|
@@ -6128,10 +6128,7 @@ export type Database = {
|
|
|
6128
6128
|
};
|
|
6129
6129
|
floriday_connections: {
|
|
6130
6130
|
Row: {
|
|
6131
|
-
access_token: string | null;
|
|
6132
6131
|
api_key: string;
|
|
6133
|
-
client_id: string;
|
|
6134
|
-
client_secret: string;
|
|
6135
6132
|
created_at: string;
|
|
6136
6133
|
customers_endpoint: string | null;
|
|
6137
6134
|
environment: string;
|
|
@@ -6146,10 +6143,7 @@ export type Database = {
|
|
|
6146
6143
|
updated_at: string;
|
|
6147
6144
|
};
|
|
6148
6145
|
Insert: {
|
|
6149
|
-
access_token?: string | null;
|
|
6150
6146
|
api_key: string;
|
|
6151
|
-
client_id: string;
|
|
6152
|
-
client_secret: string;
|
|
6153
6147
|
created_at?: string;
|
|
6154
6148
|
customers_endpoint?: string | null;
|
|
6155
6149
|
environment: string;
|
|
@@ -6164,10 +6158,7 @@ export type Database = {
|
|
|
6164
6158
|
updated_at?: string;
|
|
6165
6159
|
};
|
|
6166
6160
|
Update: {
|
|
6167
|
-
access_token?: string | null;
|
|
6168
6161
|
api_key?: string;
|
|
6169
|
-
client_id?: string;
|
|
6170
|
-
client_secret?: string;
|
|
6171
6162
|
created_at?: string;
|
|
6172
6163
|
customers_endpoint?: string | null;
|
|
6173
6164
|
environment?: string;
|
|
@@ -6253,6 +6244,7 @@ export type Database = {
|
|
|
6253
6244
|
attempts: number;
|
|
6254
6245
|
connection_id: string;
|
|
6255
6246
|
created_at: string;
|
|
6247
|
+
dead_lettered_at: string | null;
|
|
6256
6248
|
desired_available: boolean | null;
|
|
6257
6249
|
gateway_attempt_id: string | null;
|
|
6258
6250
|
id: string;
|
|
@@ -6261,9 +6253,13 @@ export type Database = {
|
|
|
6261
6253
|
locked_by: string | null;
|
|
6262
6254
|
next_attempt_at: string;
|
|
6263
6255
|
number_of_pieces: number;
|
|
6256
|
+
product_id: string | null;
|
|
6264
6257
|
sent_at: string | null;
|
|
6265
6258
|
status: string;
|
|
6259
|
+
stock_mode: string | null;
|
|
6266
6260
|
superseded_by: string | null;
|
|
6261
|
+
target_week: number | null;
|
|
6262
|
+
target_year: number | null;
|
|
6267
6263
|
trade_item_id: string;
|
|
6268
6264
|
updated_at: string;
|
|
6269
6265
|
user_id: string;
|
|
@@ -6272,6 +6268,7 @@ export type Database = {
|
|
|
6272
6268
|
attempts?: number;
|
|
6273
6269
|
connection_id: string;
|
|
6274
6270
|
created_at?: string;
|
|
6271
|
+
dead_lettered_at?: string | null;
|
|
6275
6272
|
desired_available?: boolean | null;
|
|
6276
6273
|
gateway_attempt_id?: string | null;
|
|
6277
6274
|
id?: string;
|
|
@@ -6280,9 +6277,13 @@ export type Database = {
|
|
|
6280
6277
|
locked_by?: string | null;
|
|
6281
6278
|
next_attempt_at?: string;
|
|
6282
6279
|
number_of_pieces?: number;
|
|
6280
|
+
product_id?: string | null;
|
|
6283
6281
|
sent_at?: string | null;
|
|
6284
6282
|
status?: string;
|
|
6283
|
+
stock_mode?: string | null;
|
|
6285
6284
|
superseded_by?: string | null;
|
|
6285
|
+
target_week?: number | null;
|
|
6286
|
+
target_year?: number | null;
|
|
6286
6287
|
trade_item_id: string;
|
|
6287
6288
|
updated_at?: string;
|
|
6288
6289
|
user_id: string;
|
|
@@ -6291,6 +6292,7 @@ export type Database = {
|
|
|
6291
6292
|
attempts?: number;
|
|
6292
6293
|
connection_id?: string;
|
|
6293
6294
|
created_at?: string;
|
|
6295
|
+
dead_lettered_at?: string | null;
|
|
6294
6296
|
desired_available?: boolean | null;
|
|
6295
6297
|
gateway_attempt_id?: string | null;
|
|
6296
6298
|
id?: string;
|
|
@@ -6299,9 +6301,13 @@ export type Database = {
|
|
|
6299
6301
|
locked_by?: string | null;
|
|
6300
6302
|
next_attempt_at?: string;
|
|
6301
6303
|
number_of_pieces?: number;
|
|
6304
|
+
product_id?: string | null;
|
|
6302
6305
|
sent_at?: string | null;
|
|
6303
6306
|
status?: string;
|
|
6307
|
+
stock_mode?: string | null;
|
|
6304
6308
|
superseded_by?: string | null;
|
|
6309
|
+
target_week?: number | null;
|
|
6310
|
+
target_year?: number | null;
|
|
6305
6311
|
trade_item_id?: string;
|
|
6306
6312
|
updated_at?: string;
|
|
6307
6313
|
user_id?: string;
|
|
@@ -6728,6 +6734,87 @@ export type Database = {
|
|
|
6728
6734
|
}
|
|
6729
6735
|
];
|
|
6730
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
|
+
};
|
|
6731
6818
|
floriday_invoices_cache: {
|
|
6732
6819
|
Row: {
|
|
6733
6820
|
buyer_organization_id: string | null;
|
|
@@ -7024,6 +7111,39 @@ export type Database = {
|
|
|
7024
7111
|
};
|
|
7025
7112
|
Relationships: [];
|
|
7026
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
|
+
};
|
|
7027
7147
|
floriday_sales_strategies_cache: {
|
|
7028
7148
|
Row: {
|
|
7029
7149
|
connection_id: string;
|
|
@@ -7127,6 +7247,39 @@ export type Database = {
|
|
|
7127
7247
|
};
|
|
7128
7248
|
Relationships: [];
|
|
7129
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
|
+
};
|
|
7130
7283
|
floriday_sync_state: {
|
|
7131
7284
|
Row: {
|
|
7132
7285
|
connection_id: string;
|
|
@@ -7842,6 +7995,42 @@ export type Database = {
|
|
|
7842
7995
|
};
|
|
7843
7996
|
Relationships: [];
|
|
7844
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
|
+
};
|
|
7845
8034
|
invoice_items: {
|
|
7846
8035
|
Row: {
|
|
7847
8036
|
created_at: string;
|
|
@@ -8367,15 +8556,7 @@ export type Database = {
|
|
|
8367
8556
|
segment?: Database["public"]["Enums"]["itk_customer_segment"];
|
|
8368
8557
|
updated_at?: string;
|
|
8369
8558
|
};
|
|
8370
|
-
Relationships: [
|
|
8371
|
-
{
|
|
8372
|
-
foreignKeyName: "itk_customers_legacy_customer_id_fkey";
|
|
8373
|
-
columns: ["legacy_customer_id"];
|
|
8374
|
-
isOneToOne: false;
|
|
8375
|
-
referencedRelation: "customers";
|
|
8376
|
-
referencedColumns: ["id"];
|
|
8377
|
-
}
|
|
8378
|
-
];
|
|
8559
|
+
Relationships: [];
|
|
8379
8560
|
};
|
|
8380
8561
|
itk_dynamic_fields: {
|
|
8381
8562
|
Row: {
|
|
@@ -8407,6 +8588,180 @@ export type Database = {
|
|
|
8407
8588
|
};
|
|
8408
8589
|
Relationships: [];
|
|
8409
8590
|
};
|
|
8591
|
+
itk_handover_rechten: {
|
|
8592
|
+
Row: {
|
|
8593
|
+
created_at: string;
|
|
8594
|
+
id: string;
|
|
8595
|
+
module_id: string;
|
|
8596
|
+
rol: Database["public"]["Enums"]["app_role"] | null;
|
|
8597
|
+
updated_at: string;
|
|
8598
|
+
user_id: string | null;
|
|
8599
|
+
};
|
|
8600
|
+
Insert: {
|
|
8601
|
+
created_at?: string;
|
|
8602
|
+
id?: string;
|
|
8603
|
+
module_id: string;
|
|
8604
|
+
rol?: Database["public"]["Enums"]["app_role"] | null;
|
|
8605
|
+
updated_at?: string;
|
|
8606
|
+
user_id?: string | null;
|
|
8607
|
+
};
|
|
8608
|
+
Update: {
|
|
8609
|
+
created_at?: string;
|
|
8610
|
+
id?: string;
|
|
8611
|
+
module_id?: string;
|
|
8612
|
+
rol?: Database["public"]["Enums"]["app_role"] | null;
|
|
8613
|
+
updated_at?: string;
|
|
8614
|
+
user_id?: string | null;
|
|
8615
|
+
};
|
|
8616
|
+
Relationships: [];
|
|
8617
|
+
};
|
|
8618
|
+
itk_handover_tokens: {
|
|
8619
|
+
Row: {
|
|
8620
|
+
aangemaakt_door: string | null;
|
|
8621
|
+
created_at: string;
|
|
8622
|
+
id: string;
|
|
8623
|
+
is_actief: boolean;
|
|
8624
|
+
laatst_gebruikt_op: string | null;
|
|
8625
|
+
label: string;
|
|
8626
|
+
module_id: string;
|
|
8627
|
+
token_hash: string;
|
|
8628
|
+
updated_at: string;
|
|
8629
|
+
verloopt_op: string | null;
|
|
8630
|
+
};
|
|
8631
|
+
Insert: {
|
|
8632
|
+
aangemaakt_door?: string | null;
|
|
8633
|
+
created_at?: string;
|
|
8634
|
+
id?: string;
|
|
8635
|
+
is_actief?: boolean;
|
|
8636
|
+
laatst_gebruikt_op?: string | null;
|
|
8637
|
+
label?: string;
|
|
8638
|
+
module_id: string;
|
|
8639
|
+
token_hash: string;
|
|
8640
|
+
updated_at?: string;
|
|
8641
|
+
verloopt_op?: string | null;
|
|
8642
|
+
};
|
|
8643
|
+
Update: {
|
|
8644
|
+
aangemaakt_door?: string | null;
|
|
8645
|
+
created_at?: string;
|
|
8646
|
+
id?: string;
|
|
8647
|
+
is_actief?: boolean;
|
|
8648
|
+
laatst_gebruikt_op?: string | null;
|
|
8649
|
+
label?: string;
|
|
8650
|
+
module_id?: string;
|
|
8651
|
+
token_hash?: string;
|
|
8652
|
+
updated_at?: string;
|
|
8653
|
+
verloopt_op?: string | null;
|
|
8654
|
+
};
|
|
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
|
+
};
|
|
8410
8765
|
itk_offerte_events: {
|
|
8411
8766
|
Row: {
|
|
8412
8767
|
created_at: string;
|
|
@@ -9295,6 +9650,27 @@ export type Database = {
|
|
|
9295
9650
|
};
|
|
9296
9651
|
Relationships: [];
|
|
9297
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
|
+
};
|
|
9298
9674
|
logistics_decisions: {
|
|
9299
9675
|
Row: {
|
|
9300
9676
|
created_at: string;
|
|
@@ -10138,6 +10514,36 @@ export type Database = {
|
|
|
10138
10514
|
}
|
|
10139
10515
|
];
|
|
10140
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
|
+
};
|
|
10141
10547
|
logistics_staff_planning: {
|
|
10142
10548
|
Row: {
|
|
10143
10549
|
created_at: string;
|
|
@@ -12245,6 +12651,8 @@ export type Database = {
|
|
|
12245
12651
|
order_buffers: {
|
|
12246
12652
|
Row: {
|
|
12247
12653
|
buffer_key: string;
|
|
12654
|
+
close_at: string | null;
|
|
12655
|
+
closed_at: string | null;
|
|
12248
12656
|
created_at: string;
|
|
12249
12657
|
customer_id: string | null;
|
|
12250
12658
|
grouping_mode: string;
|
|
@@ -12256,6 +12664,8 @@ export type Database = {
|
|
|
12256
12664
|
};
|
|
12257
12665
|
Insert: {
|
|
12258
12666
|
buffer_key: string;
|
|
12667
|
+
close_at?: string | null;
|
|
12668
|
+
closed_at?: string | null;
|
|
12259
12669
|
created_at?: string;
|
|
12260
12670
|
customer_id?: string | null;
|
|
12261
12671
|
grouping_mode: string;
|
|
@@ -12267,6 +12677,8 @@ export type Database = {
|
|
|
12267
12677
|
};
|
|
12268
12678
|
Update: {
|
|
12269
12679
|
buffer_key?: string;
|
|
12680
|
+
close_at?: string | null;
|
|
12681
|
+
closed_at?: string | null;
|
|
12270
12682
|
created_at?: string;
|
|
12271
12683
|
customer_id?: string | null;
|
|
12272
12684
|
grouping_mode?: string;
|
|
@@ -12283,10 +12695,12 @@ export type Database = {
|
|
|
12283
12695
|
boxes: number | null;
|
|
12284
12696
|
cart_id: string;
|
|
12285
12697
|
crates: number;
|
|
12698
|
+
crates_in_layer: number | null;
|
|
12286
12699
|
crates_per_layer: number;
|
|
12287
12700
|
created_at: string;
|
|
12288
12701
|
id: string;
|
|
12289
12702
|
layer_fraction: number;
|
|
12703
|
+
layer_index: number | null;
|
|
12290
12704
|
layer_share_pct: number;
|
|
12291
12705
|
layers_per_cart: number;
|
|
12292
12706
|
order_item_id: string | null;
|
|
@@ -12299,10 +12713,12 @@ export type Database = {
|
|
|
12299
12713
|
boxes?: number | null;
|
|
12300
12714
|
cart_id: string;
|
|
12301
12715
|
crates: number;
|
|
12716
|
+
crates_in_layer?: number | null;
|
|
12302
12717
|
crates_per_layer?: number;
|
|
12303
12718
|
created_at?: string;
|
|
12304
12719
|
id?: string;
|
|
12305
12720
|
layer_fraction?: number;
|
|
12721
|
+
layer_index?: number | null;
|
|
12306
12722
|
layer_share_pct?: number;
|
|
12307
12723
|
layers_per_cart?: number;
|
|
12308
12724
|
order_item_id?: string | null;
|
|
@@ -12315,10 +12731,12 @@ export type Database = {
|
|
|
12315
12731
|
boxes?: number | null;
|
|
12316
12732
|
cart_id?: string;
|
|
12317
12733
|
crates?: number;
|
|
12734
|
+
crates_in_layer?: number | null;
|
|
12318
12735
|
crates_per_layer?: number;
|
|
12319
12736
|
created_at?: string;
|
|
12320
12737
|
id?: string;
|
|
12321
12738
|
layer_fraction?: number;
|
|
12739
|
+
layer_index?: number | null;
|
|
12322
12740
|
layer_share_pct?: number;
|
|
12323
12741
|
layers_per_cart?: number;
|
|
12324
12742
|
order_item_id?: string | null;
|
|
@@ -12362,6 +12780,7 @@ export type Database = {
|
|
|
12362
12780
|
id: string;
|
|
12363
12781
|
is_auto: boolean;
|
|
12364
12782
|
is_complete: boolean;
|
|
12783
|
+
layout_method: string | null;
|
|
12365
12784
|
max_layers: number | null;
|
|
12366
12785
|
moved_at: string | null;
|
|
12367
12786
|
moved_from_moment_id: string | null;
|
|
@@ -12386,6 +12805,7 @@ export type Database = {
|
|
|
12386
12805
|
id?: string;
|
|
12387
12806
|
is_auto?: boolean;
|
|
12388
12807
|
is_complete?: boolean;
|
|
12808
|
+
layout_method?: string | null;
|
|
12389
12809
|
max_layers?: number | null;
|
|
12390
12810
|
moved_at?: string | null;
|
|
12391
12811
|
moved_from_moment_id?: string | null;
|
|
@@ -12410,6 +12830,7 @@ export type Database = {
|
|
|
12410
12830
|
id?: string;
|
|
12411
12831
|
is_auto?: boolean;
|
|
12412
12832
|
is_complete?: boolean;
|
|
12833
|
+
layout_method?: string | null;
|
|
12413
12834
|
max_layers?: number | null;
|
|
12414
12835
|
moved_at?: string | null;
|
|
12415
12836
|
moved_from_moment_id?: string | null;
|
|
@@ -12878,10 +13299,67 @@ export type Database = {
|
|
|
12878
13299
|
};
|
|
12879
13300
|
Relationships: [];
|
|
12880
13301
|
};
|
|
12881
|
-
|
|
13302
|
+
pakbon_barcode_inhoud: {
|
|
12882
13303
|
Row: {
|
|
12883
|
-
|
|
12884
|
-
|
|
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
|
+
};
|
|
13359
|
+
pick_countries: {
|
|
13360
|
+
Row: {
|
|
13361
|
+
active: boolean;
|
|
13362
|
+
code: string;
|
|
12885
13363
|
created_at: string;
|
|
12886
13364
|
flag: string | null;
|
|
12887
13365
|
id: string;
|
|
@@ -13037,6 +13515,7 @@ export type Database = {
|
|
|
13037
13515
|
print_job_id: string | null;
|
|
13038
13516
|
printed_at: string | null;
|
|
13039
13517
|
printed_by: string | null;
|
|
13518
|
+
printed_cart_ids: Json;
|
|
13040
13519
|
printer_id: string | null;
|
|
13041
13520
|
priority: number;
|
|
13042
13521
|
reference: string | null;
|
|
@@ -13071,6 +13550,7 @@ export type Database = {
|
|
|
13071
13550
|
print_job_id?: string | null;
|
|
13072
13551
|
printed_at?: string | null;
|
|
13073
13552
|
printed_by?: string | null;
|
|
13553
|
+
printed_cart_ids?: Json;
|
|
13074
13554
|
printer_id?: string | null;
|
|
13075
13555
|
priority?: number;
|
|
13076
13556
|
reference?: string | null;
|
|
@@ -13105,6 +13585,7 @@ export type Database = {
|
|
|
13105
13585
|
print_job_id?: string | null;
|
|
13106
13586
|
printed_at?: string | null;
|
|
13107
13587
|
printed_by?: string | null;
|
|
13588
|
+
printed_cart_ids?: Json;
|
|
13108
13589
|
printer_id?: string | null;
|
|
13109
13590
|
priority?: number;
|
|
13110
13591
|
reference?: string | null;
|
|
@@ -13938,6 +14419,13 @@ export type Database = {
|
|
|
13938
14419
|
isOneToOne: false;
|
|
13939
14420
|
referencedRelation: "planning_items";
|
|
13940
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"];
|
|
13941
14429
|
}
|
|
13942
14430
|
];
|
|
13943
14431
|
};
|
|
@@ -15084,6 +15572,7 @@ export type Database = {
|
|
|
15084
15572
|
created_at: string;
|
|
15085
15573
|
custom_fields: Json;
|
|
15086
15574
|
floriday_trade_item_id: string | null;
|
|
15575
|
+
fust_type_id: string | null;
|
|
15087
15576
|
id: string;
|
|
15088
15577
|
image_url: string | null;
|
|
15089
15578
|
incoming_quantity: number;
|
|
@@ -15091,6 +15580,7 @@ export type Database = {
|
|
|
15091
15580
|
layers_per_cart: number;
|
|
15092
15581
|
location: string;
|
|
15093
15582
|
min_quantity: number;
|
|
15583
|
+
plant_height_cm: number | null;
|
|
15094
15584
|
plants_per_crate: number;
|
|
15095
15585
|
product: string;
|
|
15096
15586
|
product_type: string;
|
|
@@ -15110,6 +15600,7 @@ export type Database = {
|
|
|
15110
15600
|
created_at?: string;
|
|
15111
15601
|
custom_fields?: Json;
|
|
15112
15602
|
floriday_trade_item_id?: string | null;
|
|
15603
|
+
fust_type_id?: string | null;
|
|
15113
15604
|
id?: string;
|
|
15114
15605
|
image_url?: string | null;
|
|
15115
15606
|
incoming_quantity?: number;
|
|
@@ -15117,6 +15608,7 @@ export type Database = {
|
|
|
15117
15608
|
layers_per_cart?: number;
|
|
15118
15609
|
location: string;
|
|
15119
15610
|
min_quantity?: number;
|
|
15611
|
+
plant_height_cm?: number | null;
|
|
15120
15612
|
plants_per_crate?: number;
|
|
15121
15613
|
product: string;
|
|
15122
15614
|
product_type?: string;
|
|
@@ -15136,6 +15628,7 @@ export type Database = {
|
|
|
15136
15628
|
created_at?: string;
|
|
15137
15629
|
custom_fields?: Json;
|
|
15138
15630
|
floriday_trade_item_id?: string | null;
|
|
15631
|
+
fust_type_id?: string | null;
|
|
15139
15632
|
id?: string;
|
|
15140
15633
|
image_url?: string | null;
|
|
15141
15634
|
incoming_quantity?: number;
|
|
@@ -15143,6 +15636,7 @@ export type Database = {
|
|
|
15143
15636
|
layers_per_cart?: number;
|
|
15144
15637
|
location?: string;
|
|
15145
15638
|
min_quantity?: number;
|
|
15639
|
+
plant_height_cm?: number | null;
|
|
15146
15640
|
plants_per_crate?: number;
|
|
15147
15641
|
product?: string;
|
|
15148
15642
|
product_type?: string;
|
|
@@ -15154,7 +15648,15 @@ export type Database = {
|
|
|
15154
15648
|
updated_at?: string;
|
|
15155
15649
|
weight?: string | null;
|
|
15156
15650
|
};
|
|
15157
|
-
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
|
+
];
|
|
15158
15660
|
};
|
|
15159
15661
|
profile_modules: {
|
|
15160
15662
|
Row: {
|
|
@@ -15573,640 +16075,180 @@ export type Database = {
|
|
|
15573
16075
|
}
|
|
15574
16076
|
];
|
|
15575
16077
|
};
|
|
15576
|
-
|
|
15577
|
-
Row: {
|
|
15578
|
-
created_at: string;
|
|
15579
|
-
event_type: string;
|
|
15580
|
-
id: string;
|
|
15581
|
-
metadata: Json;
|
|
15582
|
-
quote_id: string;
|
|
15583
|
-
user_id: string | null;
|
|
15584
|
-
};
|
|
15585
|
-
Insert: {
|
|
15586
|
-
created_at?: string;
|
|
15587
|
-
event_type: string;
|
|
15588
|
-
id?: string;
|
|
15589
|
-
metadata?: Json;
|
|
15590
|
-
quote_id: string;
|
|
15591
|
-
user_id?: string | null;
|
|
15592
|
-
};
|
|
15593
|
-
Update: {
|
|
15594
|
-
created_at?: string;
|
|
15595
|
-
event_type?: string;
|
|
15596
|
-
id?: string;
|
|
15597
|
-
metadata?: Json;
|
|
15598
|
-
quote_id?: string;
|
|
15599
|
-
user_id?: string | null;
|
|
15600
|
-
};
|
|
15601
|
-
Relationships: [
|
|
15602
|
-
{
|
|
15603
|
-
foreignKeyName: "quote_activities_quote_id_fkey";
|
|
15604
|
-
columns: ["quote_id"];
|
|
15605
|
-
isOneToOne: false;
|
|
15606
|
-
referencedRelation: "quotes";
|
|
15607
|
-
referencedColumns: ["id"];
|
|
15608
|
-
}
|
|
15609
|
-
];
|
|
15610
|
-
};
|
|
15611
|
-
quote_attachments: {
|
|
16078
|
+
reception_notifications: {
|
|
15612
16079
|
Row: {
|
|
16080
|
+
booking_id: string | null;
|
|
15613
16081
|
created_at: string;
|
|
15614
|
-
file_name: string;
|
|
15615
|
-
file_size: number | null;
|
|
15616
|
-
file_url: string;
|
|
15617
16082
|
id: string;
|
|
15618
|
-
|
|
15619
|
-
|
|
16083
|
+
is_read: boolean;
|
|
16084
|
+
message: string;
|
|
16085
|
+
recipient_email: string | null;
|
|
16086
|
+
title: string;
|
|
16087
|
+
type: string;
|
|
15620
16088
|
};
|
|
15621
16089
|
Insert: {
|
|
16090
|
+
booking_id?: string | null;
|
|
15622
16091
|
created_at?: string;
|
|
15623
|
-
file_name: string;
|
|
15624
|
-
file_size?: number | null;
|
|
15625
|
-
file_url: string;
|
|
15626
16092
|
id?: string;
|
|
15627
|
-
|
|
15628
|
-
|
|
16093
|
+
is_read?: boolean;
|
|
16094
|
+
message: string;
|
|
16095
|
+
recipient_email?: string | null;
|
|
16096
|
+
title: string;
|
|
16097
|
+
type: string;
|
|
15629
16098
|
};
|
|
15630
16099
|
Update: {
|
|
16100
|
+
booking_id?: string | null;
|
|
15631
16101
|
created_at?: string;
|
|
15632
|
-
file_name?: string;
|
|
15633
|
-
file_size?: number | null;
|
|
15634
|
-
file_url?: string;
|
|
15635
16102
|
id?: string;
|
|
15636
|
-
|
|
15637
|
-
|
|
16103
|
+
is_read?: boolean;
|
|
16104
|
+
message?: string;
|
|
16105
|
+
recipient_email?: string | null;
|
|
16106
|
+
title?: string;
|
|
16107
|
+
type?: string;
|
|
15638
16108
|
};
|
|
15639
16109
|
Relationships: [
|
|
15640
16110
|
{
|
|
15641
|
-
foreignKeyName: "
|
|
15642
|
-
columns: ["
|
|
16111
|
+
foreignKeyName: "reception_notifications_booking_id_fkey";
|
|
16112
|
+
columns: ["booking_id"];
|
|
15643
16113
|
isOneToOne: false;
|
|
15644
|
-
referencedRelation: "
|
|
16114
|
+
referencedRelation: "bookings";
|
|
15645
16115
|
referencedColumns: ["id"];
|
|
15646
16116
|
}
|
|
15647
16117
|
];
|
|
15648
16118
|
};
|
|
15649
|
-
|
|
16119
|
+
role_assignments: {
|
|
15650
16120
|
Row: {
|
|
15651
16121
|
created_at: string;
|
|
15652
|
-
field_id: string;
|
|
15653
16122
|
id: string;
|
|
15654
|
-
|
|
15655
|
-
|
|
15656
|
-
value: string;
|
|
16123
|
+
role_id: string;
|
|
16124
|
+
user_id: string;
|
|
15657
16125
|
};
|
|
15658
16126
|
Insert: {
|
|
15659
16127
|
created_at?: string;
|
|
15660
|
-
field_id: string;
|
|
15661
16128
|
id?: string;
|
|
15662
|
-
|
|
15663
|
-
|
|
15664
|
-
value: string;
|
|
16129
|
+
role_id: string;
|
|
16130
|
+
user_id: string;
|
|
15665
16131
|
};
|
|
15666
16132
|
Update: {
|
|
15667
16133
|
created_at?: string;
|
|
15668
|
-
field_id?: string;
|
|
15669
16134
|
id?: string;
|
|
15670
|
-
|
|
15671
|
-
|
|
15672
|
-
value?: string;
|
|
16135
|
+
role_id?: string;
|
|
16136
|
+
user_id?: string;
|
|
15673
16137
|
};
|
|
15674
16138
|
Relationships: [
|
|
15675
16139
|
{
|
|
15676
|
-
foreignKeyName: "
|
|
15677
|
-
columns: ["
|
|
16140
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
16141
|
+
columns: ["role_id"];
|
|
15678
16142
|
isOneToOne: false;
|
|
15679
|
-
referencedRelation: "
|
|
16143
|
+
referencedRelation: "roles";
|
|
15680
16144
|
referencedColumns: ["id"];
|
|
15681
16145
|
}
|
|
15682
16146
|
];
|
|
15683
16147
|
};
|
|
15684
|
-
|
|
16148
|
+
role_permissions: {
|
|
15685
16149
|
Row: {
|
|
15686
|
-
|
|
15687
|
-
|
|
15688
|
-
|
|
15689
|
-
field_type: string;
|
|
16150
|
+
can_edit: boolean;
|
|
16151
|
+
can_view: boolean;
|
|
16152
|
+
feature_id: string;
|
|
15690
16153
|
id: string;
|
|
15691
|
-
|
|
15692
|
-
|
|
15693
|
-
required: boolean;
|
|
15694
|
-
sort_order: number;
|
|
16154
|
+
module_id: string;
|
|
16155
|
+
role_id: string;
|
|
15695
16156
|
updated_at: string;
|
|
15696
|
-
visible: boolean;
|
|
15697
16157
|
};
|
|
15698
16158
|
Insert: {
|
|
15699
|
-
|
|
15700
|
-
|
|
15701
|
-
|
|
15702
|
-
field_type: string;
|
|
16159
|
+
can_edit?: boolean;
|
|
16160
|
+
can_view?: boolean;
|
|
16161
|
+
feature_id?: string;
|
|
15703
16162
|
id?: string;
|
|
15704
|
-
|
|
15705
|
-
|
|
15706
|
-
required?: boolean;
|
|
15707
|
-
sort_order?: number;
|
|
16163
|
+
module_id: string;
|
|
16164
|
+
role_id: string;
|
|
15708
16165
|
updated_at?: string;
|
|
15709
|
-
visible?: boolean;
|
|
15710
16166
|
};
|
|
15711
16167
|
Update: {
|
|
15712
|
-
|
|
15713
|
-
|
|
15714
|
-
|
|
15715
|
-
field_type?: string;
|
|
16168
|
+
can_edit?: boolean;
|
|
16169
|
+
can_view?: boolean;
|
|
16170
|
+
feature_id?: string;
|
|
15716
16171
|
id?: string;
|
|
15717
|
-
|
|
15718
|
-
|
|
15719
|
-
required?: boolean;
|
|
15720
|
-
sort_order?: number;
|
|
16172
|
+
module_id?: string;
|
|
16173
|
+
role_id?: string;
|
|
15721
16174
|
updated_at?: string;
|
|
15722
|
-
visible?: boolean;
|
|
15723
|
-
};
|
|
15724
|
-
Relationships: [];
|
|
15725
|
-
};
|
|
15726
|
-
quote_items: {
|
|
15727
|
-
Row: {
|
|
15728
|
-
category: string | null;
|
|
15729
|
-
created_at: string;
|
|
15730
|
-
description: string;
|
|
15731
|
-
id: string;
|
|
15732
|
-
line_total: number;
|
|
15733
|
-
module_id: string | null;
|
|
15734
|
-
name: string | null;
|
|
15735
|
-
quantity: number;
|
|
15736
|
-
quote_id: string;
|
|
15737
|
-
sort_order: number;
|
|
15738
|
-
unit_price: number;
|
|
15739
|
-
};
|
|
15740
|
-
Insert: {
|
|
15741
|
-
category?: string | null;
|
|
15742
|
-
created_at?: string;
|
|
15743
|
-
description?: string;
|
|
15744
|
-
id?: string;
|
|
15745
|
-
line_total?: number;
|
|
15746
|
-
module_id?: string | null;
|
|
15747
|
-
name?: string | null;
|
|
15748
|
-
quantity?: number;
|
|
15749
|
-
quote_id: string;
|
|
15750
|
-
sort_order?: number;
|
|
15751
|
-
unit_price?: number;
|
|
15752
|
-
};
|
|
15753
|
-
Update: {
|
|
15754
|
-
category?: string | null;
|
|
15755
|
-
created_at?: string;
|
|
15756
|
-
description?: string;
|
|
15757
|
-
id?: string;
|
|
15758
|
-
line_total?: number;
|
|
15759
|
-
module_id?: string | null;
|
|
15760
|
-
name?: string | null;
|
|
15761
|
-
quantity?: number;
|
|
15762
|
-
quote_id?: string;
|
|
15763
|
-
sort_order?: number;
|
|
15764
|
-
unit_price?: number;
|
|
15765
16175
|
};
|
|
15766
16176
|
Relationships: [
|
|
15767
16177
|
{
|
|
15768
|
-
foreignKeyName: "
|
|
15769
|
-
columns: ["
|
|
15770
|
-
isOneToOne: false;
|
|
15771
|
-
referencedRelation: "quote_modules";
|
|
15772
|
-
referencedColumns: ["id"];
|
|
15773
|
-
},
|
|
15774
|
-
{
|
|
15775
|
-
foreignKeyName: "quote_items_quote_id_fkey";
|
|
15776
|
-
columns: ["quote_id"];
|
|
16178
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
16179
|
+
columns: ["role_id"];
|
|
15777
16180
|
isOneToOne: false;
|
|
15778
|
-
referencedRelation: "
|
|
16181
|
+
referencedRelation: "roles";
|
|
15779
16182
|
referencedColumns: ["id"];
|
|
15780
16183
|
}
|
|
15781
16184
|
];
|
|
15782
16185
|
};
|
|
15783
|
-
|
|
16186
|
+
roles: {
|
|
15784
16187
|
Row: {
|
|
15785
|
-
category: string | null;
|
|
15786
16188
|
created_at: string;
|
|
15787
|
-
description: string | null;
|
|
15788
16189
|
id: string;
|
|
15789
|
-
|
|
16190
|
+
is_protected: boolean;
|
|
16191
|
+
key: string;
|
|
15790
16192
|
name: string;
|
|
15791
|
-
price: number;
|
|
15792
|
-
sort_order: number;
|
|
15793
16193
|
updated_at: string;
|
|
15794
16194
|
};
|
|
15795
16195
|
Insert: {
|
|
15796
|
-
category?: string | null;
|
|
15797
16196
|
created_at?: string;
|
|
15798
|
-
description?: string | null;
|
|
15799
16197
|
id?: string;
|
|
15800
|
-
|
|
16198
|
+
is_protected?: boolean;
|
|
16199
|
+
key: string;
|
|
15801
16200
|
name: string;
|
|
15802
|
-
price?: number;
|
|
15803
|
-
sort_order?: number;
|
|
15804
16201
|
updated_at?: string;
|
|
15805
16202
|
};
|
|
15806
16203
|
Update: {
|
|
15807
|
-
category?: string | null;
|
|
15808
16204
|
created_at?: string;
|
|
15809
|
-
description?: string | null;
|
|
15810
16205
|
id?: string;
|
|
15811
|
-
|
|
16206
|
+
is_protected?: boolean;
|
|
16207
|
+
key?: string;
|
|
15812
16208
|
name?: string;
|
|
15813
|
-
price?: number;
|
|
15814
|
-
sort_order?: number;
|
|
15815
16209
|
updated_at?: string;
|
|
15816
16210
|
};
|
|
15817
16211
|
Relationships: [];
|
|
15818
16212
|
};
|
|
15819
|
-
|
|
16213
|
+
rooms: {
|
|
15820
16214
|
Row: {
|
|
16215
|
+
capacity: number;
|
|
16216
|
+
color_code: string | null;
|
|
15821
16217
|
created_at: string;
|
|
15822
16218
|
description: string | null;
|
|
15823
|
-
|
|
16219
|
+
hourly_rate: number;
|
|
15824
16220
|
id: string;
|
|
15825
|
-
|
|
15826
|
-
|
|
16221
|
+
image_url: string | null;
|
|
16222
|
+
is_active: boolean;
|
|
15827
16223
|
name: string;
|
|
15828
|
-
updated_at: string;
|
|
15829
|
-
vat_rate: number;
|
|
15830
16224
|
};
|
|
15831
16225
|
Insert: {
|
|
16226
|
+
capacity?: number;
|
|
16227
|
+
color_code?: string | null;
|
|
15832
16228
|
created_at?: string;
|
|
15833
16229
|
description?: string | null;
|
|
15834
|
-
|
|
16230
|
+
hourly_rate?: number;
|
|
15835
16231
|
id?: string;
|
|
15836
|
-
|
|
15837
|
-
|
|
16232
|
+
image_url?: string | null;
|
|
16233
|
+
is_active?: boolean;
|
|
15838
16234
|
name: string;
|
|
15839
|
-
updated_at?: string;
|
|
15840
|
-
vat_rate?: number;
|
|
15841
16235
|
};
|
|
15842
16236
|
Update: {
|
|
16237
|
+
capacity?: number;
|
|
16238
|
+
color_code?: string | null;
|
|
15843
16239
|
created_at?: string;
|
|
15844
16240
|
description?: string | null;
|
|
15845
|
-
|
|
16241
|
+
hourly_rate?: number;
|
|
15846
16242
|
id?: string;
|
|
15847
|
-
|
|
15848
|
-
|
|
16243
|
+
image_url?: string | null;
|
|
16244
|
+
is_active?: boolean;
|
|
15849
16245
|
name?: string;
|
|
15850
|
-
updated_at?: string;
|
|
15851
|
-
vat_rate?: number;
|
|
15852
16246
|
};
|
|
15853
16247
|
Relationships: [];
|
|
15854
16248
|
};
|
|
15855
|
-
|
|
16249
|
+
scan_kar_items: {
|
|
15856
16250
|
Row: {
|
|
15857
|
-
|
|
15858
|
-
created_at: string;
|
|
15859
|
-
file_url: string | null;
|
|
15860
|
-
id: string;
|
|
15861
|
-
is_active: boolean;
|
|
15862
|
-
name: string;
|
|
15863
|
-
published_at: string | null;
|
|
15864
|
-
updated_at: string;
|
|
15865
|
-
version: string;
|
|
15866
|
-
};
|
|
15867
|
-
Insert: {
|
|
15868
|
-
content?: string | null;
|
|
15869
|
-
created_at?: string;
|
|
15870
|
-
file_url?: string | null;
|
|
15871
|
-
id?: string;
|
|
15872
|
-
is_active?: boolean;
|
|
15873
|
-
name: string;
|
|
15874
|
-
published_at?: string | null;
|
|
15875
|
-
updated_at?: string;
|
|
15876
|
-
version?: string;
|
|
15877
|
-
};
|
|
15878
|
-
Update: {
|
|
15879
|
-
content?: string | null;
|
|
15880
|
-
created_at?: string;
|
|
15881
|
-
file_url?: string | null;
|
|
15882
|
-
id?: string;
|
|
15883
|
-
is_active?: boolean;
|
|
15884
|
-
name?: string;
|
|
15885
|
-
published_at?: string | null;
|
|
15886
|
-
updated_at?: string;
|
|
15887
|
-
version?: string;
|
|
15888
|
-
};
|
|
15889
|
-
Relationships: [];
|
|
15890
|
-
};
|
|
15891
|
-
quotes: {
|
|
15892
|
-
Row: {
|
|
15893
|
-
accepted_at: string | null;
|
|
15894
|
-
archived_at: string | null;
|
|
15895
|
-
contact_id: string | null;
|
|
15896
|
-
created_at: string;
|
|
15897
|
-
customer_id: string | null;
|
|
15898
|
-
discount: number;
|
|
15899
|
-
expires_at: string | null;
|
|
15900
|
-
field_values: Json;
|
|
15901
|
-
id: string;
|
|
15902
|
-
notes: string | null;
|
|
15903
|
-
owner_id: string | null;
|
|
15904
|
-
personal_message: string | null;
|
|
15905
|
-
project_id: string | null;
|
|
15906
|
-
prospect_id: string | null;
|
|
15907
|
-
public_token: string;
|
|
15908
|
-
quote_number: string | null;
|
|
15909
|
-
recipient_email: string | null;
|
|
15910
|
-
recipient_name: string | null;
|
|
15911
|
-
rejected_at: string | null;
|
|
15912
|
-
sent_at: string | null;
|
|
15913
|
-
status: string;
|
|
15914
|
-
subtotal: number;
|
|
15915
|
-
template_id: string | null;
|
|
15916
|
-
terms_id: string | null;
|
|
15917
|
-
title: string;
|
|
15918
|
-
total: number;
|
|
15919
|
-
updated_at: string;
|
|
15920
|
-
valid_until: string | null;
|
|
15921
|
-
vat_amount: number;
|
|
15922
|
-
vat_rate: number;
|
|
15923
|
-
viewed_at: string | null;
|
|
15924
|
-
};
|
|
15925
|
-
Insert: {
|
|
15926
|
-
accepted_at?: string | null;
|
|
15927
|
-
archived_at?: string | null;
|
|
15928
|
-
contact_id?: string | null;
|
|
15929
|
-
created_at?: string;
|
|
15930
|
-
customer_id?: string | null;
|
|
15931
|
-
discount?: number;
|
|
15932
|
-
expires_at?: string | null;
|
|
15933
|
-
field_values?: Json;
|
|
15934
|
-
id?: string;
|
|
15935
|
-
notes?: string | null;
|
|
15936
|
-
owner_id?: string | null;
|
|
15937
|
-
personal_message?: string | null;
|
|
15938
|
-
project_id?: string | null;
|
|
15939
|
-
prospect_id?: string | null;
|
|
15940
|
-
public_token?: string;
|
|
15941
|
-
quote_number?: string | null;
|
|
15942
|
-
recipient_email?: string | null;
|
|
15943
|
-
recipient_name?: string | null;
|
|
15944
|
-
rejected_at?: string | null;
|
|
15945
|
-
sent_at?: string | null;
|
|
15946
|
-
status?: string;
|
|
15947
|
-
subtotal?: number;
|
|
15948
|
-
template_id?: string | null;
|
|
15949
|
-
terms_id?: string | null;
|
|
15950
|
-
title?: string;
|
|
15951
|
-
total?: number;
|
|
15952
|
-
updated_at?: string;
|
|
15953
|
-
valid_until?: string | null;
|
|
15954
|
-
vat_amount?: number;
|
|
15955
|
-
vat_rate?: number;
|
|
15956
|
-
viewed_at?: string | null;
|
|
15957
|
-
};
|
|
15958
|
-
Update: {
|
|
15959
|
-
accepted_at?: string | null;
|
|
15960
|
-
archived_at?: string | null;
|
|
15961
|
-
contact_id?: string | null;
|
|
15962
|
-
created_at?: string;
|
|
15963
|
-
customer_id?: string | null;
|
|
15964
|
-
discount?: number;
|
|
15965
|
-
expires_at?: string | null;
|
|
15966
|
-
field_values?: Json;
|
|
15967
|
-
id?: string;
|
|
15968
|
-
notes?: string | null;
|
|
15969
|
-
owner_id?: string | null;
|
|
15970
|
-
personal_message?: string | null;
|
|
15971
|
-
project_id?: string | null;
|
|
15972
|
-
prospect_id?: string | null;
|
|
15973
|
-
public_token?: string;
|
|
15974
|
-
quote_number?: string | null;
|
|
15975
|
-
recipient_email?: string | null;
|
|
15976
|
-
recipient_name?: string | null;
|
|
15977
|
-
rejected_at?: string | null;
|
|
15978
|
-
sent_at?: string | null;
|
|
15979
|
-
status?: string;
|
|
15980
|
-
subtotal?: number;
|
|
15981
|
-
template_id?: string | null;
|
|
15982
|
-
terms_id?: string | null;
|
|
15983
|
-
title?: string;
|
|
15984
|
-
total?: number;
|
|
15985
|
-
updated_at?: string;
|
|
15986
|
-
valid_until?: string | null;
|
|
15987
|
-
vat_amount?: number;
|
|
15988
|
-
vat_rate?: number;
|
|
15989
|
-
viewed_at?: string | null;
|
|
15990
|
-
};
|
|
15991
|
-
Relationships: [
|
|
15992
|
-
{
|
|
15993
|
-
foreignKeyName: "quotes_contact_id_fkey";
|
|
15994
|
-
columns: ["contact_id"];
|
|
15995
|
-
isOneToOne: false;
|
|
15996
|
-
referencedRelation: "customer_contacts";
|
|
15997
|
-
referencedColumns: ["id"];
|
|
15998
|
-
},
|
|
15999
|
-
{
|
|
16000
|
-
foreignKeyName: "quotes_customer_id_fkey";
|
|
16001
|
-
columns: ["customer_id"];
|
|
16002
|
-
isOneToOne: false;
|
|
16003
|
-
referencedRelation: "customers";
|
|
16004
|
-
referencedColumns: ["id"];
|
|
16005
|
-
},
|
|
16006
|
-
{
|
|
16007
|
-
foreignKeyName: "quotes_project_id_fkey";
|
|
16008
|
-
columns: ["project_id"];
|
|
16009
|
-
isOneToOne: false;
|
|
16010
|
-
referencedRelation: "projects";
|
|
16011
|
-
referencedColumns: ["id"];
|
|
16012
|
-
},
|
|
16013
|
-
{
|
|
16014
|
-
foreignKeyName: "quotes_prospect_id_fkey";
|
|
16015
|
-
columns: ["prospect_id"];
|
|
16016
|
-
isOneToOne: false;
|
|
16017
|
-
referencedRelation: "prospects";
|
|
16018
|
-
referencedColumns: ["id"];
|
|
16019
|
-
},
|
|
16020
|
-
{
|
|
16021
|
-
foreignKeyName: "quotes_template_id_fkey";
|
|
16022
|
-
columns: ["template_id"];
|
|
16023
|
-
isOneToOne: false;
|
|
16024
|
-
referencedRelation: "quote_templates";
|
|
16025
|
-
referencedColumns: ["id"];
|
|
16026
|
-
},
|
|
16027
|
-
{
|
|
16028
|
-
foreignKeyName: "quotes_terms_id_fkey";
|
|
16029
|
-
columns: ["terms_id"];
|
|
16030
|
-
isOneToOne: false;
|
|
16031
|
-
referencedRelation: "quote_terms";
|
|
16032
|
-
referencedColumns: ["id"];
|
|
16033
|
-
}
|
|
16034
|
-
];
|
|
16035
|
-
};
|
|
16036
|
-
reception_notifications: {
|
|
16037
|
-
Row: {
|
|
16038
|
-
booking_id: string | null;
|
|
16039
|
-
created_at: string;
|
|
16040
|
-
id: string;
|
|
16041
|
-
is_read: boolean;
|
|
16042
|
-
message: string;
|
|
16043
|
-
recipient_email: string | null;
|
|
16044
|
-
title: string;
|
|
16045
|
-
type: string;
|
|
16046
|
-
};
|
|
16047
|
-
Insert: {
|
|
16048
|
-
booking_id?: string | null;
|
|
16049
|
-
created_at?: string;
|
|
16050
|
-
id?: string;
|
|
16051
|
-
is_read?: boolean;
|
|
16052
|
-
message: string;
|
|
16053
|
-
recipient_email?: string | null;
|
|
16054
|
-
title: string;
|
|
16055
|
-
type: string;
|
|
16056
|
-
};
|
|
16057
|
-
Update: {
|
|
16058
|
-
booking_id?: string | null;
|
|
16059
|
-
created_at?: string;
|
|
16060
|
-
id?: string;
|
|
16061
|
-
is_read?: boolean;
|
|
16062
|
-
message?: string;
|
|
16063
|
-
recipient_email?: string | null;
|
|
16064
|
-
title?: string;
|
|
16065
|
-
type?: string;
|
|
16066
|
-
};
|
|
16067
|
-
Relationships: [
|
|
16068
|
-
{
|
|
16069
|
-
foreignKeyName: "reception_notifications_booking_id_fkey";
|
|
16070
|
-
columns: ["booking_id"];
|
|
16071
|
-
isOneToOne: false;
|
|
16072
|
-
referencedRelation: "bookings";
|
|
16073
|
-
referencedColumns: ["id"];
|
|
16074
|
-
}
|
|
16075
|
-
];
|
|
16076
|
-
};
|
|
16077
|
-
role_assignments: {
|
|
16078
|
-
Row: {
|
|
16079
|
-
created_at: string;
|
|
16080
|
-
id: string;
|
|
16081
|
-
role_id: string;
|
|
16082
|
-
user_id: string;
|
|
16083
|
-
};
|
|
16084
|
-
Insert: {
|
|
16085
|
-
created_at?: string;
|
|
16086
|
-
id?: string;
|
|
16087
|
-
role_id: string;
|
|
16088
|
-
user_id: string;
|
|
16089
|
-
};
|
|
16090
|
-
Update: {
|
|
16091
|
-
created_at?: string;
|
|
16092
|
-
id?: string;
|
|
16093
|
-
role_id?: string;
|
|
16094
|
-
user_id?: string;
|
|
16095
|
-
};
|
|
16096
|
-
Relationships: [
|
|
16097
|
-
{
|
|
16098
|
-
foreignKeyName: "role_assignments_role_id_fkey";
|
|
16099
|
-
columns: ["role_id"];
|
|
16100
|
-
isOneToOne: false;
|
|
16101
|
-
referencedRelation: "roles";
|
|
16102
|
-
referencedColumns: ["id"];
|
|
16103
|
-
}
|
|
16104
|
-
];
|
|
16105
|
-
};
|
|
16106
|
-
role_permissions: {
|
|
16107
|
-
Row: {
|
|
16108
|
-
can_edit: boolean;
|
|
16109
|
-
can_view: boolean;
|
|
16110
|
-
feature_id: string;
|
|
16111
|
-
id: string;
|
|
16112
|
-
module_id: string;
|
|
16113
|
-
role_id: string;
|
|
16114
|
-
updated_at: string;
|
|
16115
|
-
};
|
|
16116
|
-
Insert: {
|
|
16117
|
-
can_edit?: boolean;
|
|
16118
|
-
can_view?: boolean;
|
|
16119
|
-
feature_id?: string;
|
|
16120
|
-
id?: string;
|
|
16121
|
-
module_id: string;
|
|
16122
|
-
role_id: string;
|
|
16123
|
-
updated_at?: string;
|
|
16124
|
-
};
|
|
16125
|
-
Update: {
|
|
16126
|
-
can_edit?: boolean;
|
|
16127
|
-
can_view?: boolean;
|
|
16128
|
-
feature_id?: string;
|
|
16129
|
-
id?: string;
|
|
16130
|
-
module_id?: string;
|
|
16131
|
-
role_id?: string;
|
|
16132
|
-
updated_at?: string;
|
|
16133
|
-
};
|
|
16134
|
-
Relationships: [
|
|
16135
|
-
{
|
|
16136
|
-
foreignKeyName: "role_permissions_role_id_fkey";
|
|
16137
|
-
columns: ["role_id"];
|
|
16138
|
-
isOneToOne: false;
|
|
16139
|
-
referencedRelation: "roles";
|
|
16140
|
-
referencedColumns: ["id"];
|
|
16141
|
-
}
|
|
16142
|
-
];
|
|
16143
|
-
};
|
|
16144
|
-
roles: {
|
|
16145
|
-
Row: {
|
|
16146
|
-
created_at: string;
|
|
16147
|
-
id: string;
|
|
16148
|
-
is_protected: boolean;
|
|
16149
|
-
key: string;
|
|
16150
|
-
name: string;
|
|
16151
|
-
updated_at: string;
|
|
16152
|
-
};
|
|
16153
|
-
Insert: {
|
|
16154
|
-
created_at?: string;
|
|
16155
|
-
id?: string;
|
|
16156
|
-
is_protected?: boolean;
|
|
16157
|
-
key: string;
|
|
16158
|
-
name: string;
|
|
16159
|
-
updated_at?: string;
|
|
16160
|
-
};
|
|
16161
|
-
Update: {
|
|
16162
|
-
created_at?: string;
|
|
16163
|
-
id?: string;
|
|
16164
|
-
is_protected?: boolean;
|
|
16165
|
-
key?: string;
|
|
16166
|
-
name?: string;
|
|
16167
|
-
updated_at?: string;
|
|
16168
|
-
};
|
|
16169
|
-
Relationships: [];
|
|
16170
|
-
};
|
|
16171
|
-
rooms: {
|
|
16172
|
-
Row: {
|
|
16173
|
-
capacity: number;
|
|
16174
|
-
color_code: string | null;
|
|
16175
|
-
created_at: string;
|
|
16176
|
-
description: string | null;
|
|
16177
|
-
hourly_rate: number;
|
|
16178
|
-
id: string;
|
|
16179
|
-
image_url: string | null;
|
|
16180
|
-
is_active: boolean;
|
|
16181
|
-
name: string;
|
|
16182
|
-
};
|
|
16183
|
-
Insert: {
|
|
16184
|
-
capacity?: number;
|
|
16185
|
-
color_code?: string | null;
|
|
16186
|
-
created_at?: string;
|
|
16187
|
-
description?: string | null;
|
|
16188
|
-
hourly_rate?: number;
|
|
16189
|
-
id?: string;
|
|
16190
|
-
image_url?: string | null;
|
|
16191
|
-
is_active?: boolean;
|
|
16192
|
-
name: string;
|
|
16193
|
-
};
|
|
16194
|
-
Update: {
|
|
16195
|
-
capacity?: number;
|
|
16196
|
-
color_code?: string | null;
|
|
16197
|
-
created_at?: string;
|
|
16198
|
-
description?: string | null;
|
|
16199
|
-
hourly_rate?: number;
|
|
16200
|
-
id?: string;
|
|
16201
|
-
image_url?: string | null;
|
|
16202
|
-
is_active?: boolean;
|
|
16203
|
-
name?: string;
|
|
16204
|
-
};
|
|
16205
|
-
Relationships: [];
|
|
16206
|
-
};
|
|
16207
|
-
scan_kar_items: {
|
|
16208
|
-
Row: {
|
|
16209
|
-
barcode: string;
|
|
16251
|
+
barcode: string;
|
|
16210
16252
|
id: string;
|
|
16211
16253
|
kar_id: string;
|
|
16212
16254
|
pakbon_id: string;
|
|
@@ -17179,7 +17221,7 @@ export type Database = {
|
|
|
17179
17221
|
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
17180
17222
|
columns: ["work_order_id"];
|
|
17181
17223
|
isOneToOne: false;
|
|
17182
|
-
referencedRelation: "
|
|
17224
|
+
referencedRelation: "werkbonnen";
|
|
17183
17225
|
referencedColumns: ["id"];
|
|
17184
17226
|
}
|
|
17185
17227
|
];
|
|
@@ -17314,6 +17356,7 @@ export type Database = {
|
|
|
17314
17356
|
};
|
|
17315
17357
|
trade_item_stock: {
|
|
17316
17358
|
Row: {
|
|
17359
|
+
change_source: string;
|
|
17317
17360
|
connection_id: string;
|
|
17318
17361
|
created_at: string;
|
|
17319
17362
|
id: string;
|
|
@@ -17327,6 +17370,7 @@ export type Database = {
|
|
|
17327
17370
|
user_id: string;
|
|
17328
17371
|
};
|
|
17329
17372
|
Insert: {
|
|
17373
|
+
change_source?: string;
|
|
17330
17374
|
connection_id: string;
|
|
17331
17375
|
created_at?: string;
|
|
17332
17376
|
id?: string;
|
|
@@ -17340,6 +17384,7 @@ export type Database = {
|
|
|
17340
17384
|
user_id: string;
|
|
17341
17385
|
};
|
|
17342
17386
|
Update: {
|
|
17387
|
+
change_source?: string;
|
|
17343
17388
|
connection_id?: string;
|
|
17344
17389
|
created_at?: string;
|
|
17345
17390
|
id?: string;
|
|
@@ -18418,271 +18463,116 @@ export type Database = {
|
|
|
18418
18463
|
id?: string;
|
|
18419
18464
|
include_travel?: boolean | null;
|
|
18420
18465
|
monteur_id: string;
|
|
18421
|
-
ov02_percentage?: number | null;
|
|
18422
|
-
ov03_percentage?: number | null;
|
|
18423
|
-
updated_at?: string;
|
|
18424
|
-
weekly_threshold_hours?: number | null;
|
|
18425
|
-
workday_end?: string | null;
|
|
18426
|
-
workday_start?: string | null;
|
|
18427
|
-
};
|
|
18428
|
-
Update: {
|
|
18429
|
-
break_minutes?: number | null;
|
|
18430
|
-
contract_hours_per_week?: number;
|
|
18431
|
-
created_at?: string;
|
|
18432
|
-
daily_threshold_hours?: number | null;
|
|
18433
|
-
id?: string;
|
|
18434
|
-
include_travel?: boolean | null;
|
|
18435
|
-
monteur_id?: string;
|
|
18436
|
-
ov02_percentage?: number | null;
|
|
18437
|
-
ov03_percentage?: number | null;
|
|
18438
|
-
updated_at?: string;
|
|
18439
|
-
weekly_threshold_hours?: number | null;
|
|
18440
|
-
workday_end?: string | null;
|
|
18441
|
-
workday_start?: string | null;
|
|
18442
|
-
};
|
|
18443
|
-
Relationships: [];
|
|
18444
|
-
};
|
|
18445
|
-
uren_entries: {
|
|
18446
|
-
Row: {
|
|
18447
|
-
created_at: string;
|
|
18448
|
-
created_by: string | null;
|
|
18449
|
-
entry_date: string;
|
|
18450
|
-
hours: number;
|
|
18451
|
-
id: string;
|
|
18452
|
-
kind: string;
|
|
18453
|
-
monteur_id: string;
|
|
18454
|
-
note: string | null;
|
|
18455
|
-
source: string;
|
|
18456
|
-
travel_km: number;
|
|
18457
|
-
updated_at: string;
|
|
18458
|
-
werkbon_id: string | null;
|
|
18459
|
-
};
|
|
18460
|
-
Insert: {
|
|
18461
|
-
created_at?: string;
|
|
18462
|
-
created_by?: string | null;
|
|
18463
|
-
entry_date: string;
|
|
18464
|
-
hours?: number;
|
|
18465
|
-
id?: string;
|
|
18466
|
-
kind?: string;
|
|
18467
|
-
monteur_id: string;
|
|
18468
|
-
note?: string | null;
|
|
18469
|
-
source?: string;
|
|
18470
|
-
travel_km?: number;
|
|
18471
|
-
updated_at?: string;
|
|
18472
|
-
werkbon_id?: string | null;
|
|
18473
|
-
};
|
|
18474
|
-
Update: {
|
|
18475
|
-
created_at?: string;
|
|
18476
|
-
created_by?: string | null;
|
|
18477
|
-
entry_date?: string;
|
|
18478
|
-
hours?: number;
|
|
18479
|
-
id?: string;
|
|
18480
|
-
kind?: string;
|
|
18481
|
-
monteur_id?: string;
|
|
18482
|
-
note?: string | null;
|
|
18483
|
-
source?: string;
|
|
18484
|
-
travel_km?: number;
|
|
18485
|
-
updated_at?: string;
|
|
18486
|
-
werkbon_id?: string | null;
|
|
18487
|
-
};
|
|
18488
|
-
Relationships: [
|
|
18489
|
-
{
|
|
18490
|
-
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
18491
|
-
columns: ["werkbon_id"];
|
|
18492
|
-
isOneToOne: false;
|
|
18493
|
-
referencedRelation: "werkbonnen";
|
|
18494
|
-
referencedColumns: ["id"];
|
|
18495
|
-
}
|
|
18496
|
-
];
|
|
18497
|
-
};
|
|
18498
|
-
uren_exports: {
|
|
18499
|
-
Row: {
|
|
18500
|
-
created_at: string;
|
|
18501
|
-
created_by: string | null;
|
|
18502
|
-
file_name: string | null;
|
|
18503
|
-
id: string;
|
|
18504
|
-
monteur_ids: string[];
|
|
18505
|
-
period_end: string;
|
|
18506
|
-
period_start: string;
|
|
18507
|
-
row_count: number;
|
|
18508
|
-
};
|
|
18509
|
-
Insert: {
|
|
18510
|
-
created_at?: string;
|
|
18511
|
-
created_by?: string | null;
|
|
18512
|
-
file_name?: string | null;
|
|
18513
|
-
id?: string;
|
|
18514
|
-
monteur_ids?: string[];
|
|
18515
|
-
period_end: string;
|
|
18516
|
-
period_start: string;
|
|
18517
|
-
row_count?: number;
|
|
18518
|
-
};
|
|
18519
|
-
Update: {
|
|
18520
|
-
created_at?: string;
|
|
18521
|
-
created_by?: string | null;
|
|
18522
|
-
file_name?: string | null;
|
|
18523
|
-
id?: string;
|
|
18524
|
-
monteur_ids?: string[];
|
|
18525
|
-
period_end?: string;
|
|
18526
|
-
period_start?: string;
|
|
18527
|
-
row_count?: number;
|
|
18528
|
-
};
|
|
18529
|
-
Relationships: [];
|
|
18530
|
-
};
|
|
18531
|
-
uren_offerte_regels: {
|
|
18532
|
-
Row: {
|
|
18533
|
-
created_at: string;
|
|
18534
|
-
description: string;
|
|
18535
|
-
duration_minutes: number;
|
|
18536
|
-
id: string;
|
|
18537
|
-
offerte_id: string;
|
|
18538
|
-
package_id: string | null;
|
|
18539
|
-
quantity: number;
|
|
18540
|
-
sort_order: number;
|
|
18541
|
-
total_cents: number;
|
|
18542
|
-
unit_price_cents: number;
|
|
18543
|
-
};
|
|
18544
|
-
Insert: {
|
|
18545
|
-
created_at?: string;
|
|
18546
|
-
description: string;
|
|
18547
|
-
duration_minutes?: number;
|
|
18548
|
-
id?: string;
|
|
18549
|
-
offerte_id: string;
|
|
18550
|
-
package_id?: string | null;
|
|
18551
|
-
quantity?: number;
|
|
18552
|
-
sort_order?: number;
|
|
18553
|
-
total_cents?: number;
|
|
18554
|
-
unit_price_cents?: number;
|
|
18555
|
-
};
|
|
18556
|
-
Update: {
|
|
18557
|
-
created_at?: string;
|
|
18558
|
-
description?: string;
|
|
18559
|
-
duration_minutes?: number;
|
|
18560
|
-
id?: string;
|
|
18561
|
-
offerte_id?: string;
|
|
18562
|
-
package_id?: string | null;
|
|
18563
|
-
quantity?: number;
|
|
18564
|
-
sort_order?: number;
|
|
18565
|
-
total_cents?: number;
|
|
18566
|
-
unit_price_cents?: number;
|
|
18567
|
-
};
|
|
18568
|
-
Relationships: [
|
|
18569
|
-
{
|
|
18570
|
-
foreignKeyName: "uren_offerte_regels_offerte_id_fkey";
|
|
18571
|
-
columns: ["offerte_id"];
|
|
18572
|
-
isOneToOne: false;
|
|
18573
|
-
referencedRelation: "uren_offertes";
|
|
18574
|
-
referencedColumns: ["id"];
|
|
18575
|
-
},
|
|
18576
|
-
{
|
|
18577
|
-
foreignKeyName: "uren_offerte_regels_package_id_fkey";
|
|
18578
|
-
columns: ["package_id"];
|
|
18579
|
-
isOneToOne: false;
|
|
18580
|
-
referencedRelation: "werkbon_packages";
|
|
18581
|
-
referencedColumns: ["id"];
|
|
18582
|
-
}
|
|
18583
|
-
];
|
|
18584
|
-
};
|
|
18585
|
-
uren_offerte_velden: {
|
|
18586
|
-
Row: {
|
|
18587
|
-
created_at: string;
|
|
18588
|
-
field_type: string;
|
|
18589
|
-
id: string;
|
|
18590
|
-
key: string;
|
|
18591
|
-
label: string;
|
|
18592
|
-
options: string[];
|
|
18593
|
-
required: boolean;
|
|
18594
|
-
sort_order: number;
|
|
18595
|
-
updated_at: string;
|
|
18596
|
-
};
|
|
18597
|
-
Insert: {
|
|
18598
|
-
created_at?: string;
|
|
18599
|
-
field_type?: string;
|
|
18600
|
-
id?: string;
|
|
18601
|
-
key: string;
|
|
18602
|
-
label: string;
|
|
18603
|
-
options?: string[];
|
|
18604
|
-
required?: boolean;
|
|
18605
|
-
sort_order?: number;
|
|
18466
|
+
ov02_percentage?: number | null;
|
|
18467
|
+
ov03_percentage?: number | null;
|
|
18606
18468
|
updated_at?: string;
|
|
18469
|
+
weekly_threshold_hours?: number | null;
|
|
18470
|
+
workday_end?: string | null;
|
|
18471
|
+
workday_start?: string | null;
|
|
18607
18472
|
};
|
|
18608
18473
|
Update: {
|
|
18474
|
+
break_minutes?: number | null;
|
|
18475
|
+
contract_hours_per_week?: number;
|
|
18609
18476
|
created_at?: string;
|
|
18610
|
-
|
|
18477
|
+
daily_threshold_hours?: number | null;
|
|
18611
18478
|
id?: string;
|
|
18612
|
-
|
|
18613
|
-
|
|
18614
|
-
|
|
18615
|
-
|
|
18616
|
-
sort_order?: number;
|
|
18479
|
+
include_travel?: boolean | null;
|
|
18480
|
+
monteur_id?: string;
|
|
18481
|
+
ov02_percentage?: number | null;
|
|
18482
|
+
ov03_percentage?: number | null;
|
|
18617
18483
|
updated_at?: string;
|
|
18484
|
+
weekly_threshold_hours?: number | null;
|
|
18485
|
+
workday_end?: string | null;
|
|
18486
|
+
workday_start?: string | null;
|
|
18618
18487
|
};
|
|
18619
18488
|
Relationships: [];
|
|
18620
18489
|
};
|
|
18621
|
-
|
|
18490
|
+
uren_entries: {
|
|
18622
18491
|
Row: {
|
|
18623
18492
|
created_at: string;
|
|
18624
18493
|
created_by: string | null;
|
|
18625
|
-
|
|
18626
|
-
|
|
18627
|
-
dynamic_fields: Json;
|
|
18628
|
-
estimated_minutes: number;
|
|
18494
|
+
entry_date: string;
|
|
18495
|
+
hours: number;
|
|
18629
18496
|
id: string;
|
|
18497
|
+
kind: string;
|
|
18498
|
+
monteur_id: string;
|
|
18630
18499
|
note: string | null;
|
|
18631
|
-
|
|
18632
|
-
|
|
18633
|
-
title: string;
|
|
18634
|
-
total_excl_cents: number;
|
|
18635
|
-
total_incl_cents: number;
|
|
18500
|
+
source: string;
|
|
18501
|
+
travel_km: number;
|
|
18636
18502
|
updated_at: string;
|
|
18637
|
-
|
|
18638
|
-
vat_percentage: number;
|
|
18503
|
+
werkbon_id: string | null;
|
|
18639
18504
|
};
|
|
18640
18505
|
Insert: {
|
|
18641
18506
|
created_at?: string;
|
|
18642
18507
|
created_by?: string | null;
|
|
18643
|
-
|
|
18644
|
-
|
|
18645
|
-
dynamic_fields?: Json;
|
|
18646
|
-
estimated_minutes?: number;
|
|
18508
|
+
entry_date: string;
|
|
18509
|
+
hours?: number;
|
|
18647
18510
|
id?: string;
|
|
18511
|
+
kind?: string;
|
|
18512
|
+
monteur_id: string;
|
|
18648
18513
|
note?: string | null;
|
|
18649
|
-
|
|
18650
|
-
|
|
18651
|
-
title?: string;
|
|
18652
|
-
total_excl_cents?: number;
|
|
18653
|
-
total_incl_cents?: number;
|
|
18514
|
+
source?: string;
|
|
18515
|
+
travel_km?: number;
|
|
18654
18516
|
updated_at?: string;
|
|
18655
|
-
|
|
18656
|
-
vat_percentage?: number;
|
|
18517
|
+
werkbon_id?: string | null;
|
|
18657
18518
|
};
|
|
18658
18519
|
Update: {
|
|
18659
18520
|
created_at?: string;
|
|
18660
18521
|
created_by?: string | null;
|
|
18661
|
-
|
|
18662
|
-
|
|
18663
|
-
dynamic_fields?: Json;
|
|
18664
|
-
estimated_minutes?: number;
|
|
18522
|
+
entry_date?: string;
|
|
18523
|
+
hours?: number;
|
|
18665
18524
|
id?: string;
|
|
18525
|
+
kind?: string;
|
|
18526
|
+
monteur_id?: string;
|
|
18666
18527
|
note?: string | null;
|
|
18667
|
-
|
|
18668
|
-
|
|
18669
|
-
title?: string;
|
|
18670
|
-
total_excl_cents?: number;
|
|
18671
|
-
total_incl_cents?: number;
|
|
18528
|
+
source?: string;
|
|
18529
|
+
travel_km?: number;
|
|
18672
18530
|
updated_at?: string;
|
|
18673
|
-
|
|
18674
|
-
vat_percentage?: number;
|
|
18531
|
+
werkbon_id?: string | null;
|
|
18675
18532
|
};
|
|
18676
18533
|
Relationships: [
|
|
18677
18534
|
{
|
|
18678
|
-
foreignKeyName: "
|
|
18679
|
-
columns: ["
|
|
18535
|
+
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
18536
|
+
columns: ["werkbon_id"];
|
|
18680
18537
|
isOneToOne: false;
|
|
18681
|
-
referencedRelation: "
|
|
18538
|
+
referencedRelation: "werkbonnen";
|
|
18682
18539
|
referencedColumns: ["id"];
|
|
18683
18540
|
}
|
|
18684
18541
|
];
|
|
18685
18542
|
};
|
|
18543
|
+
uren_exports: {
|
|
18544
|
+
Row: {
|
|
18545
|
+
created_at: string;
|
|
18546
|
+
created_by: string | null;
|
|
18547
|
+
file_name: string | null;
|
|
18548
|
+
id: string;
|
|
18549
|
+
monteur_ids: string[];
|
|
18550
|
+
period_end: string;
|
|
18551
|
+
period_start: string;
|
|
18552
|
+
row_count: number;
|
|
18553
|
+
};
|
|
18554
|
+
Insert: {
|
|
18555
|
+
created_at?: string;
|
|
18556
|
+
created_by?: string | null;
|
|
18557
|
+
file_name?: string | null;
|
|
18558
|
+
id?: string;
|
|
18559
|
+
monteur_ids?: string[];
|
|
18560
|
+
period_end: string;
|
|
18561
|
+
period_start: string;
|
|
18562
|
+
row_count?: number;
|
|
18563
|
+
};
|
|
18564
|
+
Update: {
|
|
18565
|
+
created_at?: string;
|
|
18566
|
+
created_by?: string | null;
|
|
18567
|
+
file_name?: string | null;
|
|
18568
|
+
id?: string;
|
|
18569
|
+
monteur_ids?: string[];
|
|
18570
|
+
period_end?: string;
|
|
18571
|
+
period_start?: string;
|
|
18572
|
+
row_count?: number;
|
|
18573
|
+
};
|
|
18574
|
+
Relationships: [];
|
|
18575
|
+
};
|
|
18686
18576
|
uren_settings: {
|
|
18687
18577
|
Row: {
|
|
18688
18578
|
break_minutes: number;
|
|
@@ -20406,6 +20296,39 @@ export type Database = {
|
|
|
20406
20296
|
};
|
|
20407
20297
|
Relationships: [];
|
|
20408
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
|
+
};
|
|
20409
20332
|
product_group_stock_view: {
|
|
20410
20333
|
Row: {
|
|
20411
20334
|
item_count: number | null;
|
|
@@ -21020,6 +20943,18 @@ export type Database = {
|
|
|
21020
20943
|
Args: never;
|
|
21021
20944
|
Returns: number;
|
|
21022
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
|
+
};
|
|
21023
20958
|
calculate_layer_stock: {
|
|
21024
20959
|
Args: {
|
|
21025
20960
|
p_product_id: string;
|
|
@@ -21114,6 +21049,7 @@ export type Database = {
|
|
|
21114
21049
|
attempts: number;
|
|
21115
21050
|
connection_id: string;
|
|
21116
21051
|
created_at: string;
|
|
21052
|
+
dead_lettered_at: string | null;
|
|
21117
21053
|
desired_available: boolean | null;
|
|
21118
21054
|
gateway_attempt_id: string | null;
|
|
21119
21055
|
id: string;
|
|
@@ -21122,9 +21058,13 @@ export type Database = {
|
|
|
21122
21058
|
locked_by: string | null;
|
|
21123
21059
|
next_attempt_at: string;
|
|
21124
21060
|
number_of_pieces: number;
|
|
21061
|
+
product_id: string | null;
|
|
21125
21062
|
sent_at: string | null;
|
|
21126
21063
|
status: string;
|
|
21064
|
+
stock_mode: string | null;
|
|
21127
21065
|
superseded_by: string | null;
|
|
21066
|
+
target_week: number | null;
|
|
21067
|
+
target_year: number | null;
|
|
21128
21068
|
trade_item_id: string;
|
|
21129
21069
|
updated_at: string;
|
|
21130
21070
|
user_id: string;
|
|
@@ -21605,6 +21545,24 @@ export type Database = {
|
|
|
21605
21545
|
};
|
|
21606
21546
|
Returns: string;
|
|
21607
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
|
+
};
|
|
21608
21566
|
floriday_effective_price: {
|
|
21609
21567
|
Args: {
|
|
21610
21568
|
_buyer_id: string;
|
|
@@ -21622,6 +21580,34 @@ export type Database = {
|
|
|
21622
21580
|
source_id: string;
|
|
21623
21581
|
}[];
|
|
21624
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
|
+
};
|
|
21625
21611
|
format_cart_number: {
|
|
21626
21612
|
Args: {
|
|
21627
21613
|
p_pick_date: string;
|
|
@@ -21809,34 +21795,159 @@ export type Database = {
|
|
|
21809
21795
|
};
|
|
21810
21796
|
get_product_group_available_stock: {
|
|
21811
21797
|
Args: {
|
|
21812
|
-
p_group_id: string;
|
|
21798
|
+
p_group_id: string;
|
|
21799
|
+
};
|
|
21800
|
+
Returns: number;
|
|
21801
|
+
};
|
|
21802
|
+
get_room_busy_windows: {
|
|
21803
|
+
Args: {
|
|
21804
|
+
p_from: string;
|
|
21805
|
+
p_to: string;
|
|
21806
|
+
};
|
|
21807
|
+
Returns: {
|
|
21808
|
+
end_time: string;
|
|
21809
|
+
room_id: string;
|
|
21810
|
+
start_time: string;
|
|
21811
|
+
status: string;
|
|
21812
|
+
}[];
|
|
21813
|
+
};
|
|
21814
|
+
get_twinfield_cron_jobs: {
|
|
21815
|
+
Args: never;
|
|
21816
|
+
Returns: {
|
|
21817
|
+
active: boolean;
|
|
21818
|
+
jobname: string;
|
|
21819
|
+
schedule: string;
|
|
21820
|
+
url: string;
|
|
21821
|
+
}[];
|
|
21822
|
+
};
|
|
21823
|
+
get_user_tenant_id: {
|
|
21824
|
+
Args: never;
|
|
21825
|
+
Returns: string;
|
|
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;
|
|
21813
21943
|
};
|
|
21814
|
-
Returns:
|
|
21944
|
+
Returns: boolean;
|
|
21815
21945
|
};
|
|
21816
|
-
|
|
21946
|
+
handover_versies: {
|
|
21817
21947
|
Args: {
|
|
21818
|
-
|
|
21819
|
-
p_to: string;
|
|
21948
|
+
_module_id: string;
|
|
21820
21949
|
};
|
|
21821
|
-
Returns:
|
|
21822
|
-
end_time: string;
|
|
21823
|
-
room_id: string;
|
|
21824
|
-
start_time: string;
|
|
21825
|
-
status: string;
|
|
21826
|
-
}[];
|
|
21827
|
-
};
|
|
21828
|
-
get_twinfield_cron_jobs: {
|
|
21829
|
-
Args: never;
|
|
21830
|
-
Returns: {
|
|
21831
|
-
active: boolean;
|
|
21832
|
-
jobname: string;
|
|
21833
|
-
schedule: string;
|
|
21834
|
-
url: string;
|
|
21835
|
-
}[];
|
|
21836
|
-
};
|
|
21837
|
-
get_user_tenant_id: {
|
|
21838
|
-
Args: never;
|
|
21839
|
-
Returns: string;
|
|
21950
|
+
Returns: Json;
|
|
21840
21951
|
};
|
|
21841
21952
|
has_module_permission: {
|
|
21842
21953
|
Args: {
|
|
@@ -21857,6 +21968,25 @@ export type Database = {
|
|
|
21857
21968
|
Args: never;
|
|
21858
21969
|
Returns: boolean;
|
|
21859
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
|
+
};
|
|
21860
21990
|
invoice_create_from_source: {
|
|
21861
21991
|
Args: {
|
|
21862
21992
|
_payload?: Json;
|
|
@@ -22081,6 +22211,12 @@ export type Database = {
|
|
|
22081
22211
|
};
|
|
22082
22212
|
Returns: boolean;
|
|
22083
22213
|
};
|
|
22214
|
+
logistics_barcode_lookup: {
|
|
22215
|
+
Args: {
|
|
22216
|
+
p_barcode: string;
|
|
22217
|
+
};
|
|
22218
|
+
Returns: Json;
|
|
22219
|
+
};
|
|
22084
22220
|
logistics_buffer_criteria: {
|
|
22085
22221
|
Args: {
|
|
22086
22222
|
p_settings: Json;
|
|
@@ -22141,6 +22277,12 @@ export type Database = {
|
|
|
22141
22277
|
};
|
|
22142
22278
|
Returns: number;
|
|
22143
22279
|
};
|
|
22280
|
+
logistics_cart_barcode_value: {
|
|
22281
|
+
Args: {
|
|
22282
|
+
_cart_id: string;
|
|
22283
|
+
};
|
|
22284
|
+
Returns: string;
|
|
22285
|
+
};
|
|
22144
22286
|
logistics_cart_index: {
|
|
22145
22287
|
Args: {
|
|
22146
22288
|
p_from?: string;
|
|
@@ -22150,6 +22292,10 @@ export type Database = {
|
|
|
22150
22292
|
cart_id: string;
|
|
22151
22293
|
cart_index: number;
|
|
22152
22294
|
cart_label: string;
|
|
22295
|
+
delivery_date: string;
|
|
22296
|
+
is_announced: boolean;
|
|
22297
|
+
is_controlled: boolean;
|
|
22298
|
+
is_printed: boolean;
|
|
22153
22299
|
is_shared: boolean;
|
|
22154
22300
|
order_number: string;
|
|
22155
22301
|
order_source: string;
|
|
@@ -22160,6 +22306,12 @@ export type Database = {
|
|
|
22160
22306
|
task_status: string;
|
|
22161
22307
|
}[];
|
|
22162
22308
|
};
|
|
22309
|
+
logistics_cart_slip_plan: {
|
|
22310
|
+
Args: {
|
|
22311
|
+
p_order_id: string;
|
|
22312
|
+
};
|
|
22313
|
+
Returns: Json;
|
|
22314
|
+
};
|
|
22163
22315
|
logistics_check_order_allowed: {
|
|
22164
22316
|
Args: {
|
|
22165
22317
|
p_lines: Json;
|
|
@@ -22312,11 +22464,15 @@ export type Database = {
|
|
|
22312
22464
|
Args: never;
|
|
22313
22465
|
Returns: {
|
|
22314
22466
|
agenda_carts: number;
|
|
22467
|
+
announced_carts: number;
|
|
22315
22468
|
control_carts: number;
|
|
22469
|
+
delivery_carts: number;
|
|
22316
22470
|
ok: boolean;
|
|
22317
22471
|
orphan_tasks: number;
|
|
22318
22472
|
pick_date: string;
|
|
22319
22473
|
raw_carts: number;
|
|
22474
|
+
sales_carts: number;
|
|
22475
|
+
station_carts: number;
|
|
22320
22476
|
}[];
|
|
22321
22477
|
};
|
|
22322
22478
|
logistics_delay_customer_email: {
|
|
@@ -22332,12 +22488,35 @@ export type Database = {
|
|
|
22332
22488
|
subject: string;
|
|
22333
22489
|
}[];
|
|
22334
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
|
+
};
|
|
22335
22507
|
logistics_document_layout: {
|
|
22336
22508
|
Args: {
|
|
22337
22509
|
_document_code: string;
|
|
22338
22510
|
};
|
|
22339
22511
|
Returns: Json;
|
|
22340
22512
|
};
|
|
22513
|
+
logistics_document_layout_v2: {
|
|
22514
|
+
Args: {
|
|
22515
|
+
_document_code: string;
|
|
22516
|
+
_is_partial?: boolean;
|
|
22517
|
+
};
|
|
22518
|
+
Returns: Json;
|
|
22519
|
+
};
|
|
22341
22520
|
logistics_document_station: {
|
|
22342
22521
|
Args: {
|
|
22343
22522
|
_document_code: string;
|
|
@@ -22363,6 +22542,12 @@ export type Database = {
|
|
|
22363
22542
|
};
|
|
22364
22543
|
Returns: Json;
|
|
22365
22544
|
};
|
|
22545
|
+
logistics_ensure_cart_barcode: {
|
|
22546
|
+
Args: {
|
|
22547
|
+
_cart_id: string;
|
|
22548
|
+
};
|
|
22549
|
+
Returns: string;
|
|
22550
|
+
};
|
|
22366
22551
|
logistics_fail_task: {
|
|
22367
22552
|
Args: {
|
|
22368
22553
|
p_error: string;
|
|
@@ -22408,6 +22593,16 @@ export type Database = {
|
|
|
22408
22593
|
isSetofReturn: false;
|
|
22409
22594
|
};
|
|
22410
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
|
+
};
|
|
22411
22606
|
logistics_floriday_claim_pushes: {
|
|
22412
22607
|
Args: {
|
|
22413
22608
|
_lease_seconds?: number;
|
|
@@ -22559,10 +22754,21 @@ export type Database = {
|
|
|
22559
22754
|
shifted_count: number;
|
|
22560
22755
|
}[];
|
|
22561
22756
|
};
|
|
22757
|
+
logistics_pick_barcode_enabled: {
|
|
22758
|
+
Args: never;
|
|
22759
|
+
Returns: boolean;
|
|
22760
|
+
};
|
|
22562
22761
|
logistics_pick_email_purpose: {
|
|
22563
22762
|
Args: never;
|
|
22564
22763
|
Returns: string;
|
|
22565
22764
|
};
|
|
22765
|
+
logistics_pick_start_estimate: {
|
|
22766
|
+
Args: {
|
|
22767
|
+
p_order: Json;
|
|
22768
|
+
s: Json;
|
|
22769
|
+
};
|
|
22770
|
+
Returns: string;
|
|
22771
|
+
};
|
|
22566
22772
|
logistics_plan_all: {
|
|
22567
22773
|
Args: {
|
|
22568
22774
|
p_user_id?: string;
|
|
@@ -22613,6 +22819,13 @@ export type Database = {
|
|
|
22613
22819
|
};
|
|
22614
22820
|
Returns: undefined;
|
|
22615
22821
|
};
|
|
22822
|
+
logistics_plan_floriday_order: {
|
|
22823
|
+
Args: {
|
|
22824
|
+
p_buffer_id?: string;
|
|
22825
|
+
p_order_id: string;
|
|
22826
|
+
};
|
|
22827
|
+
Returns: number;
|
|
22828
|
+
};
|
|
22616
22829
|
logistics_plan_impact_orders: {
|
|
22617
22830
|
Args: {
|
|
22618
22831
|
p_order_id: string;
|
|
@@ -22806,6 +23019,14 @@ export type Database = {
|
|
|
22806
23019
|
};
|
|
22807
23020
|
Returns: string;
|
|
22808
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
|
+
};
|
|
22809
23030
|
logistics_supersede_stale_tasks: {
|
|
22810
23031
|
Args: {
|
|
22811
23032
|
p_keep: string[];
|
|
@@ -23027,6 +23248,7 @@ export type Database = {
|
|
|
23027
23248
|
print_job_id: string | null;
|
|
23028
23249
|
printed_at: string | null;
|
|
23029
23250
|
printed_by: string | null;
|
|
23251
|
+
printed_cart_ids: Json;
|
|
23030
23252
|
printer_id: string | null;
|
|
23031
23253
|
priority: number;
|
|
23032
23254
|
reference: string | null;
|
|
@@ -23076,6 +23298,7 @@ export type Database = {
|
|
|
23076
23298
|
print_job_id: string | null;
|
|
23077
23299
|
printed_at: string | null;
|
|
23078
23300
|
printed_by: string | null;
|
|
23301
|
+
printed_cart_ids: Json;
|
|
23079
23302
|
printer_id: string | null;
|
|
23080
23303
|
priority: number;
|
|
23081
23304
|
reference: string | null;
|
|
@@ -23130,6 +23353,56 @@ export type Database = {
|
|
|
23130
23353
|
print_job_id: string | null;
|
|
23131
23354
|
printed_at: string | null;
|
|
23132
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;
|
|
23133
23406
|
printer_id: string | null;
|
|
23134
23407
|
priority: number;
|
|
23135
23408
|
reference: string | null;
|
|
@@ -23173,6 +23446,15 @@ export type Database = {
|
|
|
23173
23446
|
_session_id?: string;
|
|
23174
23447
|
};
|
|
23175
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;
|
|
23176
23458
|
};
|
|
23177
23459
|
pick_order_context: {
|
|
23178
23460
|
Args: {
|
|
@@ -23253,6 +23535,54 @@ export type Database = {
|
|
|
23253
23535
|
print_job_id: string | null;
|
|
23254
23536
|
printed_at: string | null;
|
|
23255
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;
|
|
23256
23586
|
printer_id: string | null;
|
|
23257
23587
|
priority: number;
|
|
23258
23588
|
reference: string | null;
|
|
@@ -23365,6 +23695,66 @@ export type Database = {
|
|
|
23365
23695
|
};
|
|
23366
23696
|
Returns: undefined;
|
|
23367
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
|
+
};
|
|
23368
23758
|
print_preview_toestaan: {
|
|
23369
23759
|
Args: {
|
|
23370
23760
|
_max?: number;
|
|
@@ -23946,6 +24336,26 @@ export type Database = {
|
|
|
23946
24336
|
};
|
|
23947
24337
|
Returns: string[];
|
|
23948
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
|
+
};
|
|
23949
24359
|
switch_time_log: {
|
|
23950
24360
|
Args: {
|
|
23951
24361
|
p_employee_id: string;
|
|
@@ -24141,9 +24551,9 @@ type DatabaseWithoutInternals = Omit<Database, "__InternalSupabase">;
|
|
|
24141
24551
|
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
|
|
24142
24552
|
export type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
|
|
24143
24553
|
schema: keyof DatabaseWithoutInternals;
|
|
24144
|
-
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
24554
|
+
}, TableName extends (DefaultSchemaTableNameOrOptions extends {
|
|
24145
24555
|
schema: keyof DatabaseWithoutInternals;
|
|
24146
|
-
} ? 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 {
|
|
24147
24557
|
schema: keyof DatabaseWithoutInternals;
|
|
24148
24558
|
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
|
|
24149
24559
|
Row: infer R;
|
|
@@ -24152,9 +24562,9 @@ export type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema[
|
|
|
24152
24562
|
} ? R : never : never;
|
|
24153
24563
|
export type TablesInsert<DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] | {
|
|
24154
24564
|
schema: keyof DatabaseWithoutInternals;
|
|
24155
|
-
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
24565
|
+
}, TableName extends (DefaultSchemaTableNameOrOptions extends {
|
|
24156
24566
|
schema: keyof DatabaseWithoutInternals;
|
|
24157
|
-
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
24567
|
+
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never) = never> = DefaultSchemaTableNameOrOptions extends {
|
|
24158
24568
|
schema: keyof DatabaseWithoutInternals;
|
|
24159
24569
|
} ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends {
|
|
24160
24570
|
Insert: infer I;
|
|
@@ -24163,9 +24573,9 @@ export type TablesInsert<DefaultSchemaTableNameOrOptions extends keyof DefaultSc
|
|
|
24163
24573
|
} ? I : never : never;
|
|
24164
24574
|
export type TablesUpdate<DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] | {
|
|
24165
24575
|
schema: keyof DatabaseWithoutInternals;
|
|
24166
|
-
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
24576
|
+
}, TableName extends (DefaultSchemaTableNameOrOptions extends {
|
|
24167
24577
|
schema: keyof DatabaseWithoutInternals;
|
|
24168
|
-
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
24578
|
+
} ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never) = never> = DefaultSchemaTableNameOrOptions extends {
|
|
24169
24579
|
schema: keyof DatabaseWithoutInternals;
|
|
24170
24580
|
} ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends {
|
|
24171
24581
|
Update: infer U;
|
|
@@ -24174,16 +24584,16 @@ export type TablesUpdate<DefaultSchemaTableNameOrOptions extends keyof DefaultSc
|
|
|
24174
24584
|
} ? U : never : never;
|
|
24175
24585
|
export type Enums<DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema["Enums"] | {
|
|
24176
24586
|
schema: keyof DatabaseWithoutInternals;
|
|
24177
|
-
}, EnumName extends DefaultSchemaEnumNameOrOptions extends {
|
|
24587
|
+
}, EnumName extends (DefaultSchemaEnumNameOrOptions extends {
|
|
24178
24588
|
schema: keyof DatabaseWithoutInternals;
|
|
24179
|
-
} ? keyof DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"] : never = never> = DefaultSchemaEnumNameOrOptions extends {
|
|
24589
|
+
} ? keyof DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"] : never) = never> = DefaultSchemaEnumNameOrOptions extends {
|
|
24180
24590
|
schema: keyof DatabaseWithoutInternals;
|
|
24181
24591
|
} ? DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"][EnumName] : DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema["Enums"] ? DefaultSchema["Enums"][DefaultSchemaEnumNameOrOptions] : never;
|
|
24182
24592
|
export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] | {
|
|
24183
24593
|
schema: keyof DatabaseWithoutInternals;
|
|
24184
|
-
}, CompositeTypeName extends PublicCompositeTypeNameOrOptions extends {
|
|
24594
|
+
}, CompositeTypeName extends (PublicCompositeTypeNameOrOptions extends {
|
|
24185
24595
|
schema: keyof DatabaseWithoutInternals;
|
|
24186
|
-
} ? keyof DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"] : never = never> = PublicCompositeTypeNameOrOptions extends {
|
|
24596
|
+
} ? keyof DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"] : never) = never> = PublicCompositeTypeNameOrOptions extends {
|
|
24187
24597
|
schema: keyof DatabaseWithoutInternals;
|
|
24188
24598
|
} ? DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName] : PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] ? DefaultSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions] : never;
|
|
24189
24599
|
export declare const Constants: {
|