@flowselections/logistiek-engine 1.0.10 → 1.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1125 -189
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +158 -1515
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1125 -189
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +1125 -189
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1152 -185
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.functions.d.ts +3135 -327
- package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.server.d.ts +14 -1
- package/dist-lib/lib/floridayDocuments.server.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.server.js +1 -1
- package/dist-lib/lib/floridayPush.functions.d.ts +1125 -189
- package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.server.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.server.js +48 -6
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +5255 -550
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +2090 -218
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts +1125 -189
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.js +970 -970
- package/package.json +2 -2
|
@@ -2758,6 +2758,42 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
2758
2758
|
};
|
|
2759
2759
|
Relationships: [];
|
|
2760
2760
|
};
|
|
2761
|
+
document_bronregels: {
|
|
2762
|
+
Row: {
|
|
2763
|
+
bron: string;
|
|
2764
|
+
created_at: string;
|
|
2765
|
+
documenttype: string;
|
|
2766
|
+
herkomst: string;
|
|
2767
|
+
id: string;
|
|
2768
|
+
layout_id: string | null;
|
|
2769
|
+
updated_at: string;
|
|
2770
|
+
};
|
|
2771
|
+
Insert: {
|
|
2772
|
+
bron?: string;
|
|
2773
|
+
created_at?: string;
|
|
2774
|
+
documenttype: string;
|
|
2775
|
+
herkomst: string;
|
|
2776
|
+
id?: string;
|
|
2777
|
+
layout_id?: string | null;
|
|
2778
|
+
updated_at?: string;
|
|
2779
|
+
};
|
|
2780
|
+
Update: {
|
|
2781
|
+
bron?: string;
|
|
2782
|
+
created_at?: string;
|
|
2783
|
+
documenttype?: string;
|
|
2784
|
+
herkomst?: string;
|
|
2785
|
+
id?: string;
|
|
2786
|
+
layout_id?: string | null;
|
|
2787
|
+
updated_at?: string;
|
|
2788
|
+
};
|
|
2789
|
+
Relationships: [{
|
|
2790
|
+
foreignKeyName: "document_bronregels_layout_id_fkey";
|
|
2791
|
+
columns: ["layout_id"];
|
|
2792
|
+
isOneToOne: false;
|
|
2793
|
+
referencedRelation: "document_layouts";
|
|
2794
|
+
referencedColumns: ["id"];
|
|
2795
|
+
}];
|
|
2796
|
+
};
|
|
2761
2797
|
document_formaat_printers: {
|
|
2762
2798
|
Row: {
|
|
2763
2799
|
created_at: string;
|
|
@@ -3035,6 +3071,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
3035
3071
|
Row: {
|
|
3036
3072
|
actief: boolean;
|
|
3037
3073
|
breedte_mm: number;
|
|
3074
|
+
bron: string;
|
|
3038
3075
|
config: import("./types").Json;
|
|
3039
3076
|
created_at: string;
|
|
3040
3077
|
created_by: string | null;
|
|
@@ -3052,12 +3089,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
3052
3089
|
orientatie: Database["public"]["Enums"]["doc_orientation"];
|
|
3053
3090
|
page_settings: import("./types").Json;
|
|
3054
3091
|
papierformaat: string;
|
|
3092
|
+
systeem: boolean;
|
|
3055
3093
|
thumbnail_url: string | null;
|
|
3056
3094
|
updated_at: string;
|
|
3057
3095
|
};
|
|
3058
3096
|
Insert: {
|
|
3059
3097
|
actief?: boolean;
|
|
3060
3098
|
breedte_mm?: number;
|
|
3099
|
+
bron?: string;
|
|
3061
3100
|
config?: import("./types").Json;
|
|
3062
3101
|
created_at?: string;
|
|
3063
3102
|
created_by?: string | null;
|
|
@@ -3075,12 +3114,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
3075
3114
|
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
3076
3115
|
page_settings?: import("./types").Json;
|
|
3077
3116
|
papierformaat?: string;
|
|
3117
|
+
systeem?: boolean;
|
|
3078
3118
|
thumbnail_url?: string | null;
|
|
3079
3119
|
updated_at?: string;
|
|
3080
3120
|
};
|
|
3081
3121
|
Update: {
|
|
3082
3122
|
actief?: boolean;
|
|
3083
3123
|
breedte_mm?: number;
|
|
3124
|
+
bron?: string;
|
|
3084
3125
|
config?: import("./types").Json;
|
|
3085
3126
|
created_at?: string;
|
|
3086
3127
|
created_by?: string | null;
|
|
@@ -3098,11 +3139,48 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
3098
3139
|
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
3099
3140
|
page_settings?: import("./types").Json;
|
|
3100
3141
|
papierformaat?: string;
|
|
3142
|
+
systeem?: boolean;
|
|
3101
3143
|
thumbnail_url?: string | null;
|
|
3102
3144
|
updated_at?: string;
|
|
3103
3145
|
};
|
|
3104
3146
|
Relationships: [];
|
|
3105
3147
|
};
|
|
3148
|
+
document_werkplek_printers: {
|
|
3149
|
+
Row: {
|
|
3150
|
+
created_at: string;
|
|
3151
|
+
documenttype: string;
|
|
3152
|
+
id: string;
|
|
3153
|
+
papierformaat: string | null;
|
|
3154
|
+
printer_id: string | null;
|
|
3155
|
+
updated_at: string;
|
|
3156
|
+
werkplek: string;
|
|
3157
|
+
};
|
|
3158
|
+
Insert: {
|
|
3159
|
+
created_at?: string;
|
|
3160
|
+
documenttype: string;
|
|
3161
|
+
id?: string;
|
|
3162
|
+
papierformaat?: string | null;
|
|
3163
|
+
printer_id?: string | null;
|
|
3164
|
+
updated_at?: string;
|
|
3165
|
+
werkplek: string;
|
|
3166
|
+
};
|
|
3167
|
+
Update: {
|
|
3168
|
+
created_at?: string;
|
|
3169
|
+
documenttype?: string;
|
|
3170
|
+
id?: string;
|
|
3171
|
+
papierformaat?: string | null;
|
|
3172
|
+
printer_id?: string | null;
|
|
3173
|
+
updated_at?: string;
|
|
3174
|
+
werkplek?: string;
|
|
3175
|
+
};
|
|
3176
|
+
Relationships: [{
|
|
3177
|
+
foreignKeyName: "document_werkplek_printers_printer_id_fkey";
|
|
3178
|
+
columns: ["printer_id"];
|
|
3179
|
+
isOneToOne: false;
|
|
3180
|
+
referencedRelation: "printers";
|
|
3181
|
+
referencedColumns: ["id"];
|
|
3182
|
+
}];
|
|
3183
|
+
};
|
|
3106
3184
|
email_auth_connections: {
|
|
3107
3185
|
Row: {
|
|
3108
3186
|
access_token_encrypted: string | null;
|
|
@@ -7348,8 +7426,63 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7348
7426
|
};
|
|
7349
7427
|
Relationships: [];
|
|
7350
7428
|
};
|
|
7429
|
+
invoice_items: {
|
|
7430
|
+
Row: {
|
|
7431
|
+
created_at: string;
|
|
7432
|
+
description: string;
|
|
7433
|
+
id: string;
|
|
7434
|
+
invoice_id: string;
|
|
7435
|
+
kind: string;
|
|
7436
|
+
quantity: number;
|
|
7437
|
+
sort_order: number;
|
|
7438
|
+
source_line_ref: string | null;
|
|
7439
|
+
total_cents: number;
|
|
7440
|
+
unit: string;
|
|
7441
|
+
unit_price_cents: number;
|
|
7442
|
+
};
|
|
7443
|
+
Insert: {
|
|
7444
|
+
created_at?: string;
|
|
7445
|
+
description?: string;
|
|
7446
|
+
id?: string;
|
|
7447
|
+
invoice_id: string;
|
|
7448
|
+
kind?: string;
|
|
7449
|
+
quantity?: number;
|
|
7450
|
+
sort_order?: number;
|
|
7451
|
+
source_line_ref?: string | null;
|
|
7452
|
+
total_cents?: number;
|
|
7453
|
+
unit?: string;
|
|
7454
|
+
unit_price_cents?: number;
|
|
7455
|
+
};
|
|
7456
|
+
Update: {
|
|
7457
|
+
created_at?: string;
|
|
7458
|
+
description?: string;
|
|
7459
|
+
id?: string;
|
|
7460
|
+
invoice_id?: string;
|
|
7461
|
+
kind?: string;
|
|
7462
|
+
quantity?: number;
|
|
7463
|
+
sort_order?: number;
|
|
7464
|
+
source_line_ref?: string | null;
|
|
7465
|
+
total_cents?: number;
|
|
7466
|
+
unit?: string;
|
|
7467
|
+
unit_price_cents?: number;
|
|
7468
|
+
};
|
|
7469
|
+
Relationships: [{
|
|
7470
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
7471
|
+
columns: ["invoice_id"];
|
|
7472
|
+
isOneToOne: false;
|
|
7473
|
+
referencedRelation: "invoices";
|
|
7474
|
+
referencedColumns: ["id"];
|
|
7475
|
+
}, {
|
|
7476
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
7477
|
+
columns: ["invoice_id"];
|
|
7478
|
+
isOneToOne: false;
|
|
7479
|
+
referencedRelation: "uren_facturen";
|
|
7480
|
+
referencedColumns: ["id"];
|
|
7481
|
+
}];
|
|
7482
|
+
};
|
|
7351
7483
|
invoice_post_idempotency: {
|
|
7352
7484
|
Row: {
|
|
7485
|
+
administration_code: string;
|
|
7353
7486
|
client_request_id: string;
|
|
7354
7487
|
completed_at: string | null;
|
|
7355
7488
|
created_at: string;
|
|
@@ -7359,6 +7492,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7359
7492
|
user_id: string;
|
|
7360
7493
|
};
|
|
7361
7494
|
Insert: {
|
|
7495
|
+
administration_code?: string;
|
|
7362
7496
|
client_request_id: string;
|
|
7363
7497
|
completed_at?: string | null;
|
|
7364
7498
|
created_at?: string;
|
|
@@ -7368,6 +7502,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7368
7502
|
user_id: string;
|
|
7369
7503
|
};
|
|
7370
7504
|
Update: {
|
|
7505
|
+
administration_code?: string;
|
|
7371
7506
|
client_request_id?: string;
|
|
7372
7507
|
completed_at?: string | null;
|
|
7373
7508
|
created_at?: string;
|
|
@@ -7573,6 +7708,75 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7573
7708
|
};
|
|
7574
7709
|
Relationships: [];
|
|
7575
7710
|
};
|
|
7711
|
+
invoices: {
|
|
7712
|
+
Row: {
|
|
7713
|
+
created_at: string;
|
|
7714
|
+
created_by: string | null;
|
|
7715
|
+
customer_id: string | null;
|
|
7716
|
+
customer_name: string | null;
|
|
7717
|
+
due_date: string | null;
|
|
7718
|
+
id: string;
|
|
7719
|
+
invoice_date: string;
|
|
7720
|
+
invoice_number: string | null;
|
|
7721
|
+
note: string | null;
|
|
7722
|
+
source_number: string | null;
|
|
7723
|
+
source_ref: string | null;
|
|
7724
|
+
source_type: string;
|
|
7725
|
+
status: string;
|
|
7726
|
+
subtotal_cents: number;
|
|
7727
|
+
total_cents: number;
|
|
7728
|
+
updated_at: string;
|
|
7729
|
+
vat_cents: number;
|
|
7730
|
+
vat_rate: number;
|
|
7731
|
+
};
|
|
7732
|
+
Insert: {
|
|
7733
|
+
created_at?: string;
|
|
7734
|
+
created_by?: string | null;
|
|
7735
|
+
customer_id?: string | null;
|
|
7736
|
+
customer_name?: string | null;
|
|
7737
|
+
due_date?: string | null;
|
|
7738
|
+
id?: string;
|
|
7739
|
+
invoice_date?: string;
|
|
7740
|
+
invoice_number?: string | null;
|
|
7741
|
+
note?: string | null;
|
|
7742
|
+
source_number?: string | null;
|
|
7743
|
+
source_ref?: string | null;
|
|
7744
|
+
source_type?: string;
|
|
7745
|
+
status?: string;
|
|
7746
|
+
subtotal_cents?: number;
|
|
7747
|
+
total_cents?: number;
|
|
7748
|
+
updated_at?: string;
|
|
7749
|
+
vat_cents?: number;
|
|
7750
|
+
vat_rate?: number;
|
|
7751
|
+
};
|
|
7752
|
+
Update: {
|
|
7753
|
+
created_at?: string;
|
|
7754
|
+
created_by?: string | null;
|
|
7755
|
+
customer_id?: string | null;
|
|
7756
|
+
customer_name?: string | null;
|
|
7757
|
+
due_date?: string | null;
|
|
7758
|
+
id?: string;
|
|
7759
|
+
invoice_date?: string;
|
|
7760
|
+
invoice_number?: string | null;
|
|
7761
|
+
note?: string | null;
|
|
7762
|
+
source_number?: string | null;
|
|
7763
|
+
source_ref?: string | null;
|
|
7764
|
+
source_type?: string;
|
|
7765
|
+
status?: string;
|
|
7766
|
+
subtotal_cents?: number;
|
|
7767
|
+
total_cents?: number;
|
|
7768
|
+
updated_at?: string;
|
|
7769
|
+
vat_cents?: number;
|
|
7770
|
+
vat_rate?: number;
|
|
7771
|
+
};
|
|
7772
|
+
Relationships: [{
|
|
7773
|
+
foreignKeyName: "invoices_customer_id_fkey";
|
|
7774
|
+
columns: ["customer_id"];
|
|
7775
|
+
isOneToOne: false;
|
|
7776
|
+
referencedRelation: "itk_customers";
|
|
7777
|
+
referencedColumns: ["id"];
|
|
7778
|
+
}];
|
|
7779
|
+
};
|
|
7576
7780
|
itk_contact_persons: {
|
|
7577
7781
|
Row: {
|
|
7578
7782
|
created_at: string;
|
|
@@ -7768,108 +7972,360 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7768
7972
|
};
|
|
7769
7973
|
Relationships: [];
|
|
7770
7974
|
};
|
|
7771
|
-
|
|
7975
|
+
itk_offerte_events: {
|
|
7772
7976
|
Row: {
|
|
7773
|
-
city: string | null;
|
|
7774
7977
|
created_at: string;
|
|
7775
|
-
|
|
7978
|
+
event_type: string;
|
|
7776
7979
|
id: string;
|
|
7777
|
-
|
|
7778
|
-
|
|
7779
|
-
|
|
7780
|
-
|
|
7781
|
-
postcode: string | null;
|
|
7782
|
-
street: string | null;
|
|
7783
|
-
updated_at: string;
|
|
7980
|
+
metadata: import("./types").Json;
|
|
7981
|
+
offerte_id: string;
|
|
7982
|
+
omschrijving: string | null;
|
|
7983
|
+
user_id: string | null;
|
|
7784
7984
|
};
|
|
7785
7985
|
Insert: {
|
|
7786
|
-
city?: string | null;
|
|
7787
7986
|
created_at?: string;
|
|
7788
|
-
|
|
7987
|
+
event_type: string;
|
|
7789
7988
|
id?: string;
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
|
|
7793
|
-
|
|
7794
|
-
postcode?: string | null;
|
|
7795
|
-
street?: string | null;
|
|
7796
|
-
updated_at?: string;
|
|
7989
|
+
metadata?: import("./types").Json;
|
|
7990
|
+
offerte_id: string;
|
|
7991
|
+
omschrijving?: string | null;
|
|
7992
|
+
user_id?: string | null;
|
|
7797
7993
|
};
|
|
7798
7994
|
Update: {
|
|
7799
|
-
city?: string | null;
|
|
7800
7995
|
created_at?: string;
|
|
7801
|
-
|
|
7996
|
+
event_type?: string;
|
|
7802
7997
|
id?: string;
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
postcode?: string | null;
|
|
7808
|
-
street?: string | null;
|
|
7809
|
-
updated_at?: string;
|
|
7998
|
+
metadata?: import("./types").Json;
|
|
7999
|
+
offerte_id?: string;
|
|
8000
|
+
omschrijving?: string | null;
|
|
8001
|
+
user_id?: string | null;
|
|
7810
8002
|
};
|
|
7811
8003
|
Relationships: [{
|
|
7812
|
-
foreignKeyName: "
|
|
7813
|
-
columns: ["
|
|
8004
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
8005
|
+
columns: ["offerte_id"];
|
|
7814
8006
|
isOneToOne: false;
|
|
7815
|
-
referencedRelation: "
|
|
8007
|
+
referencedRelation: "itk_offertes";
|
|
7816
8008
|
referencedColumns: ["id"];
|
|
7817
8009
|
}];
|
|
7818
8010
|
};
|
|
7819
|
-
|
|
8011
|
+
itk_offerte_regels: {
|
|
7820
8012
|
Row: {
|
|
7821
|
-
bestand_url: string;
|
|
7822
|
-
bestandsgrootte: number;
|
|
7823
|
-
bestandspad: string | null;
|
|
7824
|
-
bestandstype: string;
|
|
7825
|
-
breedte: number;
|
|
7826
|
-
categorie: string;
|
|
7827
8013
|
created_at: string;
|
|
7828
|
-
hash: string | null;
|
|
7829
|
-
hoogte: number;
|
|
7830
8014
|
id: string;
|
|
7831
|
-
|
|
7832
|
-
|
|
8015
|
+
line_total_cents: number;
|
|
8016
|
+
offerte_id: string;
|
|
7833
8017
|
omschrijving: string;
|
|
7834
|
-
|
|
8018
|
+
package_id: string | null;
|
|
8019
|
+
quantity: number;
|
|
8020
|
+
sort_order: number;
|
|
8021
|
+
source: string;
|
|
8022
|
+
unit_price_cents: number;
|
|
7835
8023
|
updated_at: string;
|
|
7836
8024
|
};
|
|
7837
8025
|
Insert: {
|
|
7838
|
-
bestand_url: string;
|
|
7839
|
-
bestandsgrootte?: number;
|
|
7840
|
-
bestandspad?: string | null;
|
|
7841
|
-
bestandstype?: string;
|
|
7842
|
-
breedte?: number;
|
|
7843
|
-
categorie?: string;
|
|
7844
8026
|
created_at?: string;
|
|
7845
|
-
hash?: string | null;
|
|
7846
|
-
hoogte?: number;
|
|
7847
8027
|
id?: string;
|
|
7848
|
-
|
|
7849
|
-
|
|
8028
|
+
line_total_cents?: number;
|
|
8029
|
+
offerte_id: string;
|
|
7850
8030
|
omschrijving?: string;
|
|
7851
|
-
|
|
8031
|
+
package_id?: string | null;
|
|
8032
|
+
quantity?: number;
|
|
8033
|
+
sort_order?: number;
|
|
8034
|
+
source?: string;
|
|
8035
|
+
unit_price_cents?: number;
|
|
7852
8036
|
updated_at?: string;
|
|
7853
8037
|
};
|
|
7854
8038
|
Update: {
|
|
7855
|
-
bestand_url?: string;
|
|
7856
|
-
bestandsgrootte?: number;
|
|
7857
|
-
bestandspad?: string | null;
|
|
7858
|
-
bestandstype?: string;
|
|
7859
|
-
breedte?: number;
|
|
7860
|
-
categorie?: string;
|
|
7861
8039
|
created_at?: string;
|
|
7862
|
-
hash?: string | null;
|
|
7863
|
-
hoogte?: number;
|
|
7864
8040
|
id?: string;
|
|
7865
|
-
|
|
7866
|
-
|
|
8041
|
+
line_total_cents?: number;
|
|
8042
|
+
offerte_id?: string;
|
|
7867
8043
|
omschrijving?: string;
|
|
7868
|
-
|
|
7869
|
-
|
|
7870
|
-
|
|
7871
|
-
|
|
7872
|
-
|
|
8044
|
+
package_id?: string | null;
|
|
8045
|
+
quantity?: number;
|
|
8046
|
+
sort_order?: number;
|
|
8047
|
+
source?: string;
|
|
8048
|
+
unit_price_cents?: number;
|
|
8049
|
+
updated_at?: string;
|
|
8050
|
+
};
|
|
8051
|
+
Relationships: [{
|
|
8052
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
8053
|
+
columns: ["offerte_id"];
|
|
8054
|
+
isOneToOne: false;
|
|
8055
|
+
referencedRelation: "itk_offertes";
|
|
8056
|
+
referencedColumns: ["id"];
|
|
8057
|
+
}, {
|
|
8058
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
8059
|
+
columns: ["package_id"];
|
|
8060
|
+
isOneToOne: false;
|
|
8061
|
+
referencedRelation: "werkbon_packages";
|
|
8062
|
+
referencedColumns: ["id"];
|
|
8063
|
+
}];
|
|
8064
|
+
};
|
|
8065
|
+
itk_offerte_settings: {
|
|
8066
|
+
Row: {
|
|
8067
|
+
auto_convert_binnen_mandaat: boolean;
|
|
8068
|
+
created_at: string;
|
|
8069
|
+
default_geldigheid_dagen: number;
|
|
8070
|
+
default_vat_rate: number;
|
|
8071
|
+
id: string;
|
|
8072
|
+
singleton: boolean;
|
|
8073
|
+
updated_at: string;
|
|
8074
|
+
};
|
|
8075
|
+
Insert: {
|
|
8076
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
8077
|
+
created_at?: string;
|
|
8078
|
+
default_geldigheid_dagen?: number;
|
|
8079
|
+
default_vat_rate?: number;
|
|
8080
|
+
id?: string;
|
|
8081
|
+
singleton?: boolean;
|
|
8082
|
+
updated_at?: string;
|
|
8083
|
+
};
|
|
8084
|
+
Update: {
|
|
8085
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
8086
|
+
created_at?: string;
|
|
8087
|
+
default_geldigheid_dagen?: number;
|
|
8088
|
+
default_vat_rate?: number;
|
|
8089
|
+
id?: string;
|
|
8090
|
+
singleton?: boolean;
|
|
8091
|
+
updated_at?: string;
|
|
8092
|
+
};
|
|
8093
|
+
Relationships: [];
|
|
8094
|
+
};
|
|
8095
|
+
itk_offertes: {
|
|
8096
|
+
Row: {
|
|
8097
|
+
ai_generated: boolean;
|
|
8098
|
+
approved_at: string | null;
|
|
8099
|
+
binnen_mandaat: boolean;
|
|
8100
|
+
contact_id: string | null;
|
|
8101
|
+
converted_at: string | null;
|
|
8102
|
+
created_at: string;
|
|
8103
|
+
created_by: string | null;
|
|
8104
|
+
customer_id: string | null;
|
|
8105
|
+
follow_up_werkbon_id: string | null;
|
|
8106
|
+
id: string;
|
|
8107
|
+
jaar: number;
|
|
8108
|
+
mandaat_restant_cents: number;
|
|
8109
|
+
notities: string | null;
|
|
8110
|
+
offerte_number: string | null;
|
|
8111
|
+
omschrijving: string;
|
|
8112
|
+
rejected_at: string | null;
|
|
8113
|
+
sent_at: string | null;
|
|
8114
|
+
source_number: string | null;
|
|
8115
|
+
source_ref: string | null;
|
|
8116
|
+
source_type: string;
|
|
8117
|
+
status: string;
|
|
8118
|
+
subtotal_cents: number;
|
|
8119
|
+
total_cents: number;
|
|
8120
|
+
updated_at: string;
|
|
8121
|
+
valid_until: string | null;
|
|
8122
|
+
vat_cents: number;
|
|
8123
|
+
vat_rate: number;
|
|
8124
|
+
viewed_at: string | null;
|
|
8125
|
+
volgnummer: number | null;
|
|
8126
|
+
werkbon_id: string | null;
|
|
8127
|
+
work_location_id: string | null;
|
|
8128
|
+
};
|
|
8129
|
+
Insert: {
|
|
8130
|
+
ai_generated?: boolean;
|
|
8131
|
+
approved_at?: string | null;
|
|
8132
|
+
binnen_mandaat?: boolean;
|
|
8133
|
+
contact_id?: string | null;
|
|
8134
|
+
converted_at?: string | null;
|
|
8135
|
+
created_at?: string;
|
|
8136
|
+
created_by?: string | null;
|
|
8137
|
+
customer_id?: string | null;
|
|
8138
|
+
follow_up_werkbon_id?: string | null;
|
|
8139
|
+
id?: string;
|
|
8140
|
+
jaar?: number;
|
|
8141
|
+
mandaat_restant_cents?: number;
|
|
8142
|
+
notities?: string | null;
|
|
8143
|
+
offerte_number?: string | null;
|
|
8144
|
+
omschrijving?: string;
|
|
8145
|
+
rejected_at?: string | null;
|
|
8146
|
+
sent_at?: string | null;
|
|
8147
|
+
source_number?: string | null;
|
|
8148
|
+
source_ref?: string | null;
|
|
8149
|
+
source_type?: string;
|
|
8150
|
+
status?: string;
|
|
8151
|
+
subtotal_cents?: number;
|
|
8152
|
+
total_cents?: number;
|
|
8153
|
+
updated_at?: string;
|
|
8154
|
+
valid_until?: string | null;
|
|
8155
|
+
vat_cents?: number;
|
|
8156
|
+
vat_rate?: number;
|
|
8157
|
+
viewed_at?: string | null;
|
|
8158
|
+
volgnummer?: number | null;
|
|
8159
|
+
werkbon_id?: string | null;
|
|
8160
|
+
work_location_id?: string | null;
|
|
8161
|
+
};
|
|
8162
|
+
Update: {
|
|
8163
|
+
ai_generated?: boolean;
|
|
8164
|
+
approved_at?: string | null;
|
|
8165
|
+
binnen_mandaat?: boolean;
|
|
8166
|
+
contact_id?: string | null;
|
|
8167
|
+
converted_at?: string | null;
|
|
8168
|
+
created_at?: string;
|
|
8169
|
+
created_by?: string | null;
|
|
8170
|
+
customer_id?: string | null;
|
|
8171
|
+
follow_up_werkbon_id?: string | null;
|
|
8172
|
+
id?: string;
|
|
8173
|
+
jaar?: number;
|
|
8174
|
+
mandaat_restant_cents?: number;
|
|
8175
|
+
notities?: string | null;
|
|
8176
|
+
offerte_number?: string | null;
|
|
8177
|
+
omschrijving?: string;
|
|
8178
|
+
rejected_at?: string | null;
|
|
8179
|
+
sent_at?: string | null;
|
|
8180
|
+
source_number?: string | null;
|
|
8181
|
+
source_ref?: string | null;
|
|
8182
|
+
source_type?: string;
|
|
8183
|
+
status?: string;
|
|
8184
|
+
subtotal_cents?: number;
|
|
8185
|
+
total_cents?: number;
|
|
8186
|
+
updated_at?: string;
|
|
8187
|
+
valid_until?: string | null;
|
|
8188
|
+
vat_cents?: number;
|
|
8189
|
+
vat_rate?: number;
|
|
8190
|
+
viewed_at?: string | null;
|
|
8191
|
+
volgnummer?: number | null;
|
|
8192
|
+
werkbon_id?: string | null;
|
|
8193
|
+
work_location_id?: string | null;
|
|
8194
|
+
};
|
|
8195
|
+
Relationships: [{
|
|
8196
|
+
foreignKeyName: "itk_offertes_contact_id_fkey";
|
|
8197
|
+
columns: ["contact_id"];
|
|
8198
|
+
isOneToOne: false;
|
|
8199
|
+
referencedRelation: "itk_contact_persons";
|
|
8200
|
+
referencedColumns: ["id"];
|
|
8201
|
+
}, {
|
|
8202
|
+
foreignKeyName: "itk_offertes_customer_id_fkey";
|
|
8203
|
+
columns: ["customer_id"];
|
|
8204
|
+
isOneToOne: false;
|
|
8205
|
+
referencedRelation: "itk_customers";
|
|
8206
|
+
referencedColumns: ["id"];
|
|
8207
|
+
}, {
|
|
8208
|
+
foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
|
|
8209
|
+
columns: ["follow_up_werkbon_id"];
|
|
8210
|
+
isOneToOne: false;
|
|
8211
|
+
referencedRelation: "werkbonnen";
|
|
8212
|
+
referencedColumns: ["id"];
|
|
8213
|
+
}, {
|
|
8214
|
+
foreignKeyName: "itk_offertes_werkbon_id_fkey";
|
|
8215
|
+
columns: ["werkbon_id"];
|
|
8216
|
+
isOneToOne: false;
|
|
8217
|
+
referencedRelation: "werkbonnen";
|
|
8218
|
+
referencedColumns: ["id"];
|
|
8219
|
+
}, {
|
|
8220
|
+
foreignKeyName: "itk_offertes_work_location_id_fkey";
|
|
8221
|
+
columns: ["work_location_id"];
|
|
8222
|
+
isOneToOne: false;
|
|
8223
|
+
referencedRelation: "itk_work_locations";
|
|
8224
|
+
referencedColumns: ["id"];
|
|
8225
|
+
}];
|
|
8226
|
+
};
|
|
8227
|
+
itk_work_locations: {
|
|
8228
|
+
Row: {
|
|
8229
|
+
city: string | null;
|
|
8230
|
+
created_at: string;
|
|
8231
|
+
customer_id: string;
|
|
8232
|
+
id: string;
|
|
8233
|
+
instructions: string | null;
|
|
8234
|
+
label: string;
|
|
8235
|
+
latitude: number | null;
|
|
8236
|
+
longitude: number | null;
|
|
8237
|
+
postcode: string | null;
|
|
8238
|
+
street: string | null;
|
|
8239
|
+
updated_at: string;
|
|
8240
|
+
};
|
|
8241
|
+
Insert: {
|
|
8242
|
+
city?: string | null;
|
|
8243
|
+
created_at?: string;
|
|
8244
|
+
customer_id: string;
|
|
8245
|
+
id?: string;
|
|
8246
|
+
instructions?: string | null;
|
|
8247
|
+
label: string;
|
|
8248
|
+
latitude?: number | null;
|
|
8249
|
+
longitude?: number | null;
|
|
8250
|
+
postcode?: string | null;
|
|
8251
|
+
street?: string | null;
|
|
8252
|
+
updated_at?: string;
|
|
8253
|
+
};
|
|
8254
|
+
Update: {
|
|
8255
|
+
city?: string | null;
|
|
8256
|
+
created_at?: string;
|
|
8257
|
+
customer_id?: string;
|
|
8258
|
+
id?: string;
|
|
8259
|
+
instructions?: string | null;
|
|
8260
|
+
label?: string;
|
|
8261
|
+
latitude?: number | null;
|
|
8262
|
+
longitude?: number | null;
|
|
8263
|
+
postcode?: string | null;
|
|
8264
|
+
street?: string | null;
|
|
8265
|
+
updated_at?: string;
|
|
8266
|
+
};
|
|
8267
|
+
Relationships: [{
|
|
8268
|
+
foreignKeyName: "itk_work_locations_customer_id_fkey";
|
|
8269
|
+
columns: ["customer_id"];
|
|
8270
|
+
isOneToOne: false;
|
|
8271
|
+
referencedRelation: "itk_customers";
|
|
8272
|
+
referencedColumns: ["id"];
|
|
8273
|
+
}];
|
|
8274
|
+
};
|
|
8275
|
+
layout_logos: {
|
|
8276
|
+
Row: {
|
|
8277
|
+
bestand_url: string;
|
|
8278
|
+
bestandsgrootte: number;
|
|
8279
|
+
bestandspad: string | null;
|
|
8280
|
+
bestandstype: string;
|
|
8281
|
+
breedte: number;
|
|
8282
|
+
categorie: string;
|
|
8283
|
+
created_at: string;
|
|
8284
|
+
hash: string | null;
|
|
8285
|
+
hoogte: number;
|
|
8286
|
+
id: string;
|
|
8287
|
+
is_standaard: boolean;
|
|
8288
|
+
naam: string;
|
|
8289
|
+
omschrijving: string;
|
|
8290
|
+
transparant: boolean;
|
|
8291
|
+
updated_at: string;
|
|
8292
|
+
};
|
|
8293
|
+
Insert: {
|
|
8294
|
+
bestand_url: string;
|
|
8295
|
+
bestandsgrootte?: number;
|
|
8296
|
+
bestandspad?: string | null;
|
|
8297
|
+
bestandstype?: string;
|
|
8298
|
+
breedte?: number;
|
|
8299
|
+
categorie?: string;
|
|
8300
|
+
created_at?: string;
|
|
8301
|
+
hash?: string | null;
|
|
8302
|
+
hoogte?: number;
|
|
8303
|
+
id?: string;
|
|
8304
|
+
is_standaard?: boolean;
|
|
8305
|
+
naam: string;
|
|
8306
|
+
omschrijving?: string;
|
|
8307
|
+
transparant?: boolean;
|
|
8308
|
+
updated_at?: string;
|
|
8309
|
+
};
|
|
8310
|
+
Update: {
|
|
8311
|
+
bestand_url?: string;
|
|
8312
|
+
bestandsgrootte?: number;
|
|
8313
|
+
bestandspad?: string | null;
|
|
8314
|
+
bestandstype?: string;
|
|
8315
|
+
breedte?: number;
|
|
8316
|
+
categorie?: string;
|
|
8317
|
+
created_at?: string;
|
|
8318
|
+
hash?: string | null;
|
|
8319
|
+
hoogte?: number;
|
|
8320
|
+
id?: string;
|
|
8321
|
+
is_standaard?: boolean;
|
|
8322
|
+
naam?: string;
|
|
8323
|
+
omschrijving?: string;
|
|
8324
|
+
transparant?: boolean;
|
|
8325
|
+
updated_at?: string;
|
|
8326
|
+
};
|
|
8327
|
+
Relationships: [];
|
|
8328
|
+
};
|
|
7873
8329
|
leave_requests: {
|
|
7874
8330
|
Row: {
|
|
7875
8331
|
created_at: string;
|
|
@@ -8668,6 +9124,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8668
9124
|
id: string;
|
|
8669
9125
|
last_error: string | null;
|
|
8670
9126
|
last_error_at: string | null;
|
|
9127
|
+
last_error_code: string | null;
|
|
9128
|
+
last_gateway_status: number | null;
|
|
9129
|
+
last_response: import("./types").Json | null;
|
|
8671
9130
|
last_sent_hash: string | null;
|
|
8672
9131
|
locked_by: string | null;
|
|
8673
9132
|
locked_until: string | null;
|
|
@@ -8688,6 +9147,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8688
9147
|
id?: string;
|
|
8689
9148
|
last_error?: string | null;
|
|
8690
9149
|
last_error_at?: string | null;
|
|
9150
|
+
last_error_code?: string | null;
|
|
9151
|
+
last_gateway_status?: number | null;
|
|
9152
|
+
last_response?: import("./types").Json | null;
|
|
8691
9153
|
last_sent_hash?: string | null;
|
|
8692
9154
|
locked_by?: string | null;
|
|
8693
9155
|
locked_until?: string | null;
|
|
@@ -8708,6 +9170,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8708
9170
|
id?: string;
|
|
8709
9171
|
last_error?: string | null;
|
|
8710
9172
|
last_error_at?: string | null;
|
|
9173
|
+
last_error_code?: string | null;
|
|
9174
|
+
last_gateway_status?: number | null;
|
|
9175
|
+
last_response?: import("./types").Json | null;
|
|
8711
9176
|
last_sent_hash?: string | null;
|
|
8712
9177
|
locked_by?: string | null;
|
|
8713
9178
|
locked_until?: string | null;
|
|
@@ -10141,6 +10606,63 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10141
10606
|
referencedColumns: ["id"];
|
|
10142
10607
|
}];
|
|
10143
10608
|
};
|
|
10609
|
+
medewerker_details: {
|
|
10610
|
+
Row: {
|
|
10611
|
+
color: string | null;
|
|
10612
|
+
created_at: string;
|
|
10613
|
+
hours_fri: number | null;
|
|
10614
|
+
hours_mon: number | null;
|
|
10615
|
+
hours_thu: number | null;
|
|
10616
|
+
hours_tue: number | null;
|
|
10617
|
+
hours_wed: number | null;
|
|
10618
|
+
id: string;
|
|
10619
|
+
is_active: boolean;
|
|
10620
|
+
leave_balance_hours: number;
|
|
10621
|
+
persnr: string | null;
|
|
10622
|
+
phone: string | null;
|
|
10623
|
+
profile_id: string;
|
|
10624
|
+
updated_at: string;
|
|
10625
|
+
};
|
|
10626
|
+
Insert: {
|
|
10627
|
+
color?: string | null;
|
|
10628
|
+
created_at?: string;
|
|
10629
|
+
hours_fri?: number | null;
|
|
10630
|
+
hours_mon?: number | null;
|
|
10631
|
+
hours_thu?: number | null;
|
|
10632
|
+
hours_tue?: number | null;
|
|
10633
|
+
hours_wed?: number | null;
|
|
10634
|
+
id?: string;
|
|
10635
|
+
is_active?: boolean;
|
|
10636
|
+
leave_balance_hours?: number;
|
|
10637
|
+
persnr?: string | null;
|
|
10638
|
+
phone?: string | null;
|
|
10639
|
+
profile_id: string;
|
|
10640
|
+
updated_at?: string;
|
|
10641
|
+
};
|
|
10642
|
+
Update: {
|
|
10643
|
+
color?: string | null;
|
|
10644
|
+
created_at?: string;
|
|
10645
|
+
hours_fri?: number | null;
|
|
10646
|
+
hours_mon?: number | null;
|
|
10647
|
+
hours_thu?: number | null;
|
|
10648
|
+
hours_tue?: number | null;
|
|
10649
|
+
hours_wed?: number | null;
|
|
10650
|
+
id?: string;
|
|
10651
|
+
is_active?: boolean;
|
|
10652
|
+
leave_balance_hours?: number;
|
|
10653
|
+
persnr?: string | null;
|
|
10654
|
+
phone?: string | null;
|
|
10655
|
+
profile_id?: string;
|
|
10656
|
+
updated_at?: string;
|
|
10657
|
+
};
|
|
10658
|
+
Relationships: [{
|
|
10659
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
10660
|
+
columns: ["profile_id"];
|
|
10661
|
+
isOneToOne: true;
|
|
10662
|
+
referencedRelation: "profiles";
|
|
10663
|
+
referencedColumns: ["id"];
|
|
10664
|
+
}];
|
|
10665
|
+
};
|
|
10144
10666
|
module_features: {
|
|
10145
10667
|
Row: {
|
|
10146
10668
|
created_at: string;
|
|
@@ -10204,6 +10726,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10204
10726
|
enforce: boolean;
|
|
10205
10727
|
is_active: boolean;
|
|
10206
10728
|
last_seen_at: string;
|
|
10729
|
+
missing_count: number;
|
|
10207
10730
|
module_id: string;
|
|
10208
10731
|
name: string;
|
|
10209
10732
|
shell_id: string | null;
|
|
@@ -10214,6 +10737,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10214
10737
|
enforce?: boolean;
|
|
10215
10738
|
is_active?: boolean;
|
|
10216
10739
|
last_seen_at?: string;
|
|
10740
|
+
missing_count?: number;
|
|
10217
10741
|
module_id: string;
|
|
10218
10742
|
name: string;
|
|
10219
10743
|
shell_id?: string | null;
|
|
@@ -10224,6 +10748,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10224
10748
|
enforce?: boolean;
|
|
10225
10749
|
is_active?: boolean;
|
|
10226
10750
|
last_seen_at?: string;
|
|
10751
|
+
missing_count?: number;
|
|
10227
10752
|
module_id?: string;
|
|
10228
10753
|
name?: string;
|
|
10229
10754
|
shell_id?: string | null;
|
|
@@ -11223,6 +11748,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11223
11748
|
};
|
|
11224
11749
|
order_invoice_links: {
|
|
11225
11750
|
Row: {
|
|
11751
|
+
administration_code: string | null;
|
|
11226
11752
|
attempts: number;
|
|
11227
11753
|
created_at: string;
|
|
11228
11754
|
error_message: string | null;
|
|
@@ -11235,6 +11761,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11235
11761
|
updated_at: string;
|
|
11236
11762
|
};
|
|
11237
11763
|
Insert: {
|
|
11764
|
+
administration_code?: string | null;
|
|
11238
11765
|
attempts?: number;
|
|
11239
11766
|
created_at?: string;
|
|
11240
11767
|
error_message?: string | null;
|
|
@@ -11247,6 +11774,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11247
11774
|
updated_at?: string;
|
|
11248
11775
|
};
|
|
11249
11776
|
Update: {
|
|
11777
|
+
administration_code?: string | null;
|
|
11250
11778
|
attempts?: number;
|
|
11251
11779
|
created_at?: string;
|
|
11252
11780
|
error_message?: string | null;
|
|
@@ -11434,6 +11962,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11434
11962
|
orders: {
|
|
11435
11963
|
Row: {
|
|
11436
11964
|
buffer_id: string | null;
|
|
11965
|
+
cancel_reason: string | null;
|
|
11966
|
+
cancelled_at: string | null;
|
|
11437
11967
|
created_at: string;
|
|
11438
11968
|
custom_fields: import("./types").Json;
|
|
11439
11969
|
customer_id: string | null;
|
|
@@ -11456,6 +11986,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11456
11986
|
};
|
|
11457
11987
|
Insert: {
|
|
11458
11988
|
buffer_id?: string | null;
|
|
11989
|
+
cancel_reason?: string | null;
|
|
11990
|
+
cancelled_at?: string | null;
|
|
11459
11991
|
created_at?: string;
|
|
11460
11992
|
custom_fields?: import("./types").Json;
|
|
11461
11993
|
customer_id?: string | null;
|
|
@@ -11478,6 +12010,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11478
12010
|
};
|
|
11479
12011
|
Update: {
|
|
11480
12012
|
buffer_id?: string | null;
|
|
12013
|
+
cancel_reason?: string | null;
|
|
12014
|
+
cancelled_at?: string | null;
|
|
11481
12015
|
created_at?: string;
|
|
11482
12016
|
custom_fields?: import("./types").Json;
|
|
11483
12017
|
customer_id?: string | null;
|
|
@@ -12406,6 +12940,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12406
12940
|
referencedColumns: ["id"];
|
|
12407
12941
|
}];
|
|
12408
12942
|
};
|
|
12943
|
+
pick_sync_state: {
|
|
12944
|
+
Row: {
|
|
12945
|
+
id: boolean;
|
|
12946
|
+
last_cleanup_at: string | null;
|
|
12947
|
+
last_sync_at: string | null;
|
|
12948
|
+
updated_at: string;
|
|
12949
|
+
};
|
|
12950
|
+
Insert: {
|
|
12951
|
+
id?: boolean;
|
|
12952
|
+
last_cleanup_at?: string | null;
|
|
12953
|
+
last_sync_at?: string | null;
|
|
12954
|
+
updated_at?: string;
|
|
12955
|
+
};
|
|
12956
|
+
Update: {
|
|
12957
|
+
id?: boolean;
|
|
12958
|
+
last_cleanup_at?: string | null;
|
|
12959
|
+
last_sync_at?: string | null;
|
|
12960
|
+
updated_at?: string;
|
|
12961
|
+
};
|
|
12962
|
+
Relationships: [];
|
|
12963
|
+
};
|
|
12409
12964
|
pick_task_document_types: {
|
|
12410
12965
|
Row: {
|
|
12411
12966
|
created_at: string;
|
|
@@ -12688,6 +13243,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12688
13243
|
gebruiker_id: string | null;
|
|
12689
13244
|
gebruiker_naam: string;
|
|
12690
13245
|
gestart_op: string | null;
|
|
13246
|
+
herkomst: string | null;
|
|
12691
13247
|
id: string;
|
|
12692
13248
|
idempotentie_sleutel: string | null;
|
|
12693
13249
|
is_herprint: boolean;
|
|
@@ -12717,6 +13273,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12717
13273
|
gebruiker_id?: string | null;
|
|
12718
13274
|
gebruiker_naam?: string;
|
|
12719
13275
|
gestart_op?: string | null;
|
|
13276
|
+
herkomst?: string | null;
|
|
12720
13277
|
id?: string;
|
|
12721
13278
|
idempotentie_sleutel?: string | null;
|
|
12722
13279
|
is_herprint?: boolean;
|
|
@@ -12746,6 +13303,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12746
13303
|
gebruiker_id?: string | null;
|
|
12747
13304
|
gebruiker_naam?: string;
|
|
12748
13305
|
gestart_op?: string | null;
|
|
13306
|
+
herkomst?: string | null;
|
|
12749
13307
|
id?: string;
|
|
12750
13308
|
idempotentie_sleutel?: string | null;
|
|
12751
13309
|
is_herprint?: boolean;
|
|
@@ -13540,6 +14098,66 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13540
14098
|
};
|
|
13541
14099
|
Relationships: [];
|
|
13542
14100
|
};
|
|
14101
|
+
profile_modules: {
|
|
14102
|
+
Row: {
|
|
14103
|
+
created_at: string;
|
|
14104
|
+
id: string;
|
|
14105
|
+
module_id: string;
|
|
14106
|
+
profile_id: string;
|
|
14107
|
+
};
|
|
14108
|
+
Insert: {
|
|
14109
|
+
created_at?: string;
|
|
14110
|
+
id?: string;
|
|
14111
|
+
module_id: string;
|
|
14112
|
+
profile_id: string;
|
|
14113
|
+
};
|
|
14114
|
+
Update: {
|
|
14115
|
+
created_at?: string;
|
|
14116
|
+
id?: string;
|
|
14117
|
+
module_id?: string;
|
|
14118
|
+
profile_id?: string;
|
|
14119
|
+
};
|
|
14120
|
+
Relationships: [{
|
|
14121
|
+
foreignKeyName: "profile_modules_profile_id_fkey";
|
|
14122
|
+
columns: ["profile_id"];
|
|
14123
|
+
isOneToOne: false;
|
|
14124
|
+
referencedRelation: "profiles_org";
|
|
14125
|
+
referencedColumns: ["id"];
|
|
14126
|
+
}];
|
|
14127
|
+
};
|
|
14128
|
+
profile_roles: {
|
|
14129
|
+
Row: {
|
|
14130
|
+
created_at: string;
|
|
14131
|
+
id: string;
|
|
14132
|
+
profile_id: string;
|
|
14133
|
+
role_id: string;
|
|
14134
|
+
};
|
|
14135
|
+
Insert: {
|
|
14136
|
+
created_at?: string;
|
|
14137
|
+
id?: string;
|
|
14138
|
+
profile_id: string;
|
|
14139
|
+
role_id: string;
|
|
14140
|
+
};
|
|
14141
|
+
Update: {
|
|
14142
|
+
created_at?: string;
|
|
14143
|
+
id?: string;
|
|
14144
|
+
profile_id?: string;
|
|
14145
|
+
role_id?: string;
|
|
14146
|
+
};
|
|
14147
|
+
Relationships: [{
|
|
14148
|
+
foreignKeyName: "profile_roles_profile_id_fkey";
|
|
14149
|
+
columns: ["profile_id"];
|
|
14150
|
+
isOneToOne: false;
|
|
14151
|
+
referencedRelation: "profiles_org";
|
|
14152
|
+
referencedColumns: ["id"];
|
|
14153
|
+
}, {
|
|
14154
|
+
foreignKeyName: "profile_roles_role_id_fkey";
|
|
14155
|
+
columns: ["role_id"];
|
|
14156
|
+
isOneToOne: false;
|
|
14157
|
+
referencedRelation: "roles";
|
|
14158
|
+
referencedColumns: ["id"];
|
|
14159
|
+
}];
|
|
14160
|
+
};
|
|
13543
14161
|
profiles: {
|
|
13544
14162
|
Row: {
|
|
13545
14163
|
address: string | null;
|
|
@@ -13585,6 +14203,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13585
14203
|
referencedColumns: ["id"];
|
|
13586
14204
|
}];
|
|
13587
14205
|
};
|
|
14206
|
+
profiles_org: {
|
|
14207
|
+
Row: {
|
|
14208
|
+
created_at: string;
|
|
14209
|
+
id: string;
|
|
14210
|
+
is_default: boolean;
|
|
14211
|
+
name: string;
|
|
14212
|
+
tenant_id: string | null;
|
|
14213
|
+
updated_at: string;
|
|
14214
|
+
};
|
|
14215
|
+
Insert: {
|
|
14216
|
+
created_at?: string;
|
|
14217
|
+
id?: string;
|
|
14218
|
+
is_default?: boolean;
|
|
14219
|
+
name: string;
|
|
14220
|
+
tenant_id?: string | null;
|
|
14221
|
+
updated_at?: string;
|
|
14222
|
+
};
|
|
14223
|
+
Update: {
|
|
14224
|
+
created_at?: string;
|
|
14225
|
+
id?: string;
|
|
14226
|
+
is_default?: boolean;
|
|
14227
|
+
name?: string;
|
|
14228
|
+
tenant_id?: string | null;
|
|
14229
|
+
updated_at?: string;
|
|
14230
|
+
};
|
|
14231
|
+
Relationships: [{
|
|
14232
|
+
foreignKeyName: "profiles_org_tenant_id_fkey";
|
|
14233
|
+
columns: ["tenant_id"];
|
|
14234
|
+
isOneToOne: false;
|
|
14235
|
+
referencedRelation: "tenants";
|
|
14236
|
+
referencedColumns: ["id"];
|
|
14237
|
+
}];
|
|
14238
|
+
};
|
|
13588
14239
|
projects: {
|
|
13589
14240
|
Row: {
|
|
13590
14241
|
contact_name: string | null;
|
|
@@ -14759,6 +15410,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14759
15410
|
type: string;
|
|
14760
15411
|
updated_at: string;
|
|
14761
15412
|
vereist_medewerker: boolean;
|
|
15413
|
+
werkplek: string | null;
|
|
14762
15414
|
};
|
|
14763
15415
|
Insert: {
|
|
14764
15416
|
actief?: boolean;
|
|
@@ -14772,6 +15424,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14772
15424
|
type?: string;
|
|
14773
15425
|
updated_at?: string;
|
|
14774
15426
|
vereist_medewerker?: boolean;
|
|
15427
|
+
werkplek?: string | null;
|
|
14775
15428
|
};
|
|
14776
15429
|
Update: {
|
|
14777
15430
|
actief?: boolean;
|
|
@@ -14785,9 +15438,46 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14785
15438
|
type?: string;
|
|
14786
15439
|
updated_at?: string;
|
|
14787
15440
|
vereist_medewerker?: boolean;
|
|
15441
|
+
werkplek?: string | null;
|
|
14788
15442
|
};
|
|
14789
15443
|
Relationships: [];
|
|
14790
15444
|
};
|
|
15445
|
+
sick_periods: {
|
|
15446
|
+
Row: {
|
|
15447
|
+
created_at: string;
|
|
15448
|
+
employee_id: string;
|
|
15449
|
+
end_date: string | null;
|
|
15450
|
+
id: string;
|
|
15451
|
+
notes: string | null;
|
|
15452
|
+
start_date: string;
|
|
15453
|
+
updated_at: string;
|
|
15454
|
+
};
|
|
15455
|
+
Insert: {
|
|
15456
|
+
created_at?: string;
|
|
15457
|
+
employee_id: string;
|
|
15458
|
+
end_date?: string | null;
|
|
15459
|
+
id?: string;
|
|
15460
|
+
notes?: string | null;
|
|
15461
|
+
start_date: string;
|
|
15462
|
+
updated_at?: string;
|
|
15463
|
+
};
|
|
15464
|
+
Update: {
|
|
15465
|
+
created_at?: string;
|
|
15466
|
+
employee_id?: string;
|
|
15467
|
+
end_date?: string | null;
|
|
15468
|
+
id?: string;
|
|
15469
|
+
notes?: string | null;
|
|
15470
|
+
start_date?: string;
|
|
15471
|
+
updated_at?: string;
|
|
15472
|
+
};
|
|
15473
|
+
Relationships: [{
|
|
15474
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
15475
|
+
columns: ["employee_id"];
|
|
15476
|
+
isOneToOne: false;
|
|
15477
|
+
referencedRelation: "profiles";
|
|
15478
|
+
referencedColumns: ["id"];
|
|
15479
|
+
}];
|
|
15480
|
+
};
|
|
14791
15481
|
sidebar_config: {
|
|
14792
15482
|
Row: {
|
|
14793
15483
|
id: string;
|
|
@@ -15618,12 +16308,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15618
16308
|
company_name: string | null;
|
|
15619
16309
|
connected_at: string | null;
|
|
15620
16310
|
created_at: string;
|
|
16311
|
+
disconnected_at: string | null;
|
|
15621
16312
|
environment: string;
|
|
15622
16313
|
id: string;
|
|
16314
|
+
initial_sync_completed_at: string | null;
|
|
16315
|
+
initial_sync_started_at: string | null;
|
|
15623
16316
|
is_active: boolean;
|
|
15624
16317
|
label: string | null;
|
|
15625
16318
|
office_code: string | null;
|
|
15626
16319
|
redirect_uri: string | null;
|
|
16320
|
+
superseded_at: string | null;
|
|
15627
16321
|
updated_at: string;
|
|
15628
16322
|
user_id: string;
|
|
15629
16323
|
};
|
|
@@ -15634,12 +16328,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15634
16328
|
company_name?: string | null;
|
|
15635
16329
|
connected_at?: string | null;
|
|
15636
16330
|
created_at?: string;
|
|
16331
|
+
disconnected_at?: string | null;
|
|
15637
16332
|
environment: string;
|
|
15638
16333
|
id?: string;
|
|
16334
|
+
initial_sync_completed_at?: string | null;
|
|
16335
|
+
initial_sync_started_at?: string | null;
|
|
15639
16336
|
is_active?: boolean;
|
|
15640
16337
|
label?: string | null;
|
|
15641
16338
|
office_code?: string | null;
|
|
15642
16339
|
redirect_uri?: string | null;
|
|
16340
|
+
superseded_at?: string | null;
|
|
15643
16341
|
updated_at?: string;
|
|
15644
16342
|
user_id: string;
|
|
15645
16343
|
};
|
|
@@ -15650,12 +16348,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15650
16348
|
company_name?: string | null;
|
|
15651
16349
|
connected_at?: string | null;
|
|
15652
16350
|
created_at?: string;
|
|
16351
|
+
disconnected_at?: string | null;
|
|
15653
16352
|
environment?: string;
|
|
15654
16353
|
id?: string;
|
|
16354
|
+
initial_sync_completed_at?: string | null;
|
|
16355
|
+
initial_sync_started_at?: string | null;
|
|
15655
16356
|
is_active?: boolean;
|
|
15656
16357
|
label?: string | null;
|
|
15657
16358
|
office_code?: string | null;
|
|
15658
16359
|
redirect_uri?: string | null;
|
|
16360
|
+
superseded_at?: string | null;
|
|
15659
16361
|
updated_at?: string;
|
|
15660
16362
|
user_id?: string;
|
|
15661
16363
|
};
|
|
@@ -15715,6 +16417,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15715
16417
|
twinfield_customers: {
|
|
15716
16418
|
Row: {
|
|
15717
16419
|
address: string | null;
|
|
16420
|
+
administration_code: string;
|
|
15718
16421
|
city: string | null;
|
|
15719
16422
|
country: string | null;
|
|
15720
16423
|
created_at: string;
|
|
@@ -15734,6 +16437,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15734
16437
|
};
|
|
15735
16438
|
Insert: {
|
|
15736
16439
|
address?: string | null;
|
|
16440
|
+
administration_code?: string;
|
|
15737
16441
|
city?: string | null;
|
|
15738
16442
|
country?: string | null;
|
|
15739
16443
|
created_at?: string;
|
|
@@ -15753,6 +16457,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15753
16457
|
};
|
|
15754
16458
|
Update: {
|
|
15755
16459
|
address?: string | null;
|
|
16460
|
+
administration_code?: string;
|
|
15756
16461
|
city?: string | null;
|
|
15757
16462
|
country?: string | null;
|
|
15758
16463
|
created_at?: string;
|
|
@@ -15966,7 +16671,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15966
16671
|
};
|
|
15967
16672
|
twinfield_invoice_settings: {
|
|
15968
16673
|
Row: {
|
|
16674
|
+
administration_code: string | null;
|
|
15969
16675
|
auto_invoice_enabled: boolean;
|
|
16676
|
+
auto_invoice_start_date: string | null;
|
|
15970
16677
|
auto_invoice_trigger_statuses: string[];
|
|
15971
16678
|
created_at: string;
|
|
15972
16679
|
debtor_gl_account: string;
|
|
@@ -15980,15 +16687,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15980
16687
|
invoice_enabled_fo: boolean;
|
|
15981
16688
|
invoice_enabled_ho: boolean;
|
|
15982
16689
|
invoice_enabled_mo: boolean;
|
|
16690
|
+
needs_review: boolean;
|
|
15983
16691
|
payment_gl_account: string;
|
|
15984
16692
|
payment_journal_code: string;
|
|
16693
|
+
settings_confirmed_at: string | null;
|
|
15985
16694
|
updated_at: string;
|
|
15986
16695
|
user_id: string;
|
|
15987
16696
|
vat_code_eu_reverse: string | null;
|
|
15988
16697
|
vat_code_export: string | null;
|
|
15989
16698
|
};
|
|
15990
16699
|
Insert: {
|
|
16700
|
+
administration_code?: string | null;
|
|
15991
16701
|
auto_invoice_enabled?: boolean;
|
|
16702
|
+
auto_invoice_start_date?: string | null;
|
|
15992
16703
|
auto_invoice_trigger_statuses?: string[];
|
|
15993
16704
|
created_at?: string;
|
|
15994
16705
|
debtor_gl_account?: string;
|
|
@@ -16002,15 +16713,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16002
16713
|
invoice_enabled_fo?: boolean;
|
|
16003
16714
|
invoice_enabled_ho?: boolean;
|
|
16004
16715
|
invoice_enabled_mo?: boolean;
|
|
16716
|
+
needs_review?: boolean;
|
|
16005
16717
|
payment_gl_account?: string;
|
|
16006
16718
|
payment_journal_code?: string;
|
|
16719
|
+
settings_confirmed_at?: string | null;
|
|
16007
16720
|
updated_at?: string;
|
|
16008
16721
|
user_id: string;
|
|
16009
16722
|
vat_code_eu_reverse?: string | null;
|
|
16010
16723
|
vat_code_export?: string | null;
|
|
16011
16724
|
};
|
|
16012
16725
|
Update: {
|
|
16726
|
+
administration_code?: string | null;
|
|
16013
16727
|
auto_invoice_enabled?: boolean;
|
|
16728
|
+
auto_invoice_start_date?: string | null;
|
|
16014
16729
|
auto_invoice_trigger_statuses?: string[];
|
|
16015
16730
|
created_at?: string;
|
|
16016
16731
|
debtor_gl_account?: string;
|
|
@@ -16024,8 +16739,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16024
16739
|
invoice_enabled_fo?: boolean;
|
|
16025
16740
|
invoice_enabled_ho?: boolean;
|
|
16026
16741
|
invoice_enabled_mo?: boolean;
|
|
16742
|
+
needs_review?: boolean;
|
|
16027
16743
|
payment_gl_account?: string;
|
|
16028
16744
|
payment_journal_code?: string;
|
|
16745
|
+
settings_confirmed_at?: string | null;
|
|
16029
16746
|
updated_at?: string;
|
|
16030
16747
|
user_id?: string;
|
|
16031
16748
|
vat_code_eu_reverse?: string | null;
|
|
@@ -16613,130 +17330,22 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16613
17330
|
created_by?: string | null;
|
|
16614
17331
|
file_name?: string | null;
|
|
16615
17332
|
id?: string;
|
|
16616
|
-
monteur_ids?: string[];
|
|
16617
|
-
period_end: string;
|
|
16618
|
-
period_start: string;
|
|
16619
|
-
row_count?: number;
|
|
16620
|
-
};
|
|
16621
|
-
Update: {
|
|
16622
|
-
created_at?: string;
|
|
16623
|
-
created_by?: string | null;
|
|
16624
|
-
file_name?: string | null;
|
|
16625
|
-
id?: string;
|
|
16626
|
-
monteur_ids?: string[];
|
|
16627
|
-
period_end?: string;
|
|
16628
|
-
period_start?: string;
|
|
16629
|
-
row_count?: number;
|
|
16630
|
-
};
|
|
16631
|
-
Relationships: [];
|
|
16632
|
-
};
|
|
16633
|
-
uren_facturen: {
|
|
16634
|
-
Row: {
|
|
16635
|
-
created_at: string;
|
|
16636
|
-
created_by: string | null;
|
|
16637
|
-
customer_id: string | null;
|
|
16638
|
-
customer_name: string | null;
|
|
16639
|
-
id: string;
|
|
16640
|
-
invoice_number: string | null;
|
|
16641
|
-
note: string | null;
|
|
16642
|
-
status: string;
|
|
16643
|
-
total_excl_cents: number;
|
|
16644
|
-
total_incl_cents: number;
|
|
16645
|
-
updated_at: string;
|
|
16646
|
-
vat_cents: number;
|
|
16647
|
-
vat_percentage: number;
|
|
16648
|
-
werkbon_id: string | null;
|
|
16649
|
-
};
|
|
16650
|
-
Insert: {
|
|
16651
|
-
created_at?: string;
|
|
16652
|
-
created_by?: string | null;
|
|
16653
|
-
customer_id?: string | null;
|
|
16654
|
-
customer_name?: string | null;
|
|
16655
|
-
id?: string;
|
|
16656
|
-
invoice_number?: string | null;
|
|
16657
|
-
note?: string | null;
|
|
16658
|
-
status?: string;
|
|
16659
|
-
total_excl_cents?: number;
|
|
16660
|
-
total_incl_cents?: number;
|
|
16661
|
-
updated_at?: string;
|
|
16662
|
-
vat_cents?: number;
|
|
16663
|
-
vat_percentage?: number;
|
|
16664
|
-
werkbon_id?: string | null;
|
|
16665
|
-
};
|
|
16666
|
-
Update: {
|
|
16667
|
-
created_at?: string;
|
|
16668
|
-
created_by?: string | null;
|
|
16669
|
-
customer_id?: string | null;
|
|
16670
|
-
customer_name?: string | null;
|
|
16671
|
-
id?: string;
|
|
16672
|
-
invoice_number?: string | null;
|
|
16673
|
-
note?: string | null;
|
|
16674
|
-
status?: string;
|
|
16675
|
-
total_excl_cents?: number;
|
|
16676
|
-
total_incl_cents?: number;
|
|
16677
|
-
updated_at?: string;
|
|
16678
|
-
vat_cents?: number;
|
|
16679
|
-
vat_percentage?: number;
|
|
16680
|
-
werkbon_id?: string | null;
|
|
16681
|
-
};
|
|
16682
|
-
Relationships: [{
|
|
16683
|
-
foreignKeyName: "uren_facturen_customer_id_fkey";
|
|
16684
|
-
columns: ["customer_id"];
|
|
16685
|
-
isOneToOne: false;
|
|
16686
|
-
referencedRelation: "itk_customers";
|
|
16687
|
-
referencedColumns: ["id"];
|
|
16688
|
-
}, {
|
|
16689
|
-
foreignKeyName: "uren_facturen_werkbon_id_fkey";
|
|
16690
|
-
columns: ["werkbon_id"];
|
|
16691
|
-
isOneToOne: true;
|
|
16692
|
-
referencedRelation: "werkbonnen";
|
|
16693
|
-
referencedColumns: ["id"];
|
|
16694
|
-
}];
|
|
16695
|
-
};
|
|
16696
|
-
uren_factuur_regels: {
|
|
16697
|
-
Row: {
|
|
16698
|
-
created_at: string;
|
|
16699
|
-
description: string;
|
|
16700
|
-
factuur_id: string;
|
|
16701
|
-
id: string;
|
|
16702
|
-
kind: string | null;
|
|
16703
|
-
quantity: number;
|
|
16704
|
-
sort_order: number;
|
|
16705
|
-
total_cents: number;
|
|
16706
|
-
unit: string;
|
|
16707
|
-
unit_price_cents: number;
|
|
16708
|
-
};
|
|
16709
|
-
Insert: {
|
|
16710
|
-
created_at?: string;
|
|
16711
|
-
description: string;
|
|
16712
|
-
factuur_id: string;
|
|
16713
|
-
id?: string;
|
|
16714
|
-
kind?: string | null;
|
|
16715
|
-
quantity?: number;
|
|
16716
|
-
sort_order?: number;
|
|
16717
|
-
total_cents?: number;
|
|
16718
|
-
unit?: string;
|
|
16719
|
-
unit_price_cents?: number;
|
|
17333
|
+
monteur_ids?: string[];
|
|
17334
|
+
period_end: string;
|
|
17335
|
+
period_start: string;
|
|
17336
|
+
row_count?: number;
|
|
16720
17337
|
};
|
|
16721
17338
|
Update: {
|
|
16722
17339
|
created_at?: string;
|
|
16723
|
-
|
|
16724
|
-
|
|
17340
|
+
created_by?: string | null;
|
|
17341
|
+
file_name?: string | null;
|
|
16725
17342
|
id?: string;
|
|
16726
|
-
|
|
16727
|
-
|
|
16728
|
-
|
|
16729
|
-
|
|
16730
|
-
unit?: string;
|
|
16731
|
-
unit_price_cents?: number;
|
|
17343
|
+
monteur_ids?: string[];
|
|
17344
|
+
period_end?: string;
|
|
17345
|
+
period_start?: string;
|
|
17346
|
+
row_count?: number;
|
|
16732
17347
|
};
|
|
16733
|
-
Relationships: [
|
|
16734
|
-
foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
|
|
16735
|
-
columns: ["factuur_id"];
|
|
16736
|
-
isOneToOne: false;
|
|
16737
|
-
referencedRelation: "uren_facturen";
|
|
16738
|
-
referencedColumns: ["id"];
|
|
16739
|
-
}];
|
|
17348
|
+
Relationships: [];
|
|
16740
17349
|
};
|
|
16741
17350
|
uren_offerte_regels: {
|
|
16742
17351
|
Row: {
|
|
@@ -18577,6 +19186,114 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18577
19186
|
};
|
|
18578
19187
|
Relationships: [];
|
|
18579
19188
|
};
|
|
19189
|
+
uren_facturen: {
|
|
19190
|
+
Row: {
|
|
19191
|
+
created_at: string | null;
|
|
19192
|
+
created_by: string | null;
|
|
19193
|
+
customer_id: string | null;
|
|
19194
|
+
customer_name: string | null;
|
|
19195
|
+
id: string | null;
|
|
19196
|
+
invoice_number: string | null;
|
|
19197
|
+
note: string | null;
|
|
19198
|
+
status: string | null;
|
|
19199
|
+
total_excl_cents: number | null;
|
|
19200
|
+
total_incl_cents: number | null;
|
|
19201
|
+
updated_at: string | null;
|
|
19202
|
+
vat_cents: number | null;
|
|
19203
|
+
vat_percentage: number | null;
|
|
19204
|
+
werkbon_id: string | null;
|
|
19205
|
+
};
|
|
19206
|
+
Insert: {
|
|
19207
|
+
created_at?: string | null;
|
|
19208
|
+
created_by?: string | null;
|
|
19209
|
+
customer_id?: string | null;
|
|
19210
|
+
customer_name?: string | null;
|
|
19211
|
+
id?: string | null;
|
|
19212
|
+
invoice_number?: string | null;
|
|
19213
|
+
note?: string | null;
|
|
19214
|
+
status?: string | null;
|
|
19215
|
+
total_excl_cents?: number | null;
|
|
19216
|
+
total_incl_cents?: number | null;
|
|
19217
|
+
updated_at?: string | null;
|
|
19218
|
+
vat_cents?: number | null;
|
|
19219
|
+
vat_percentage?: number | null;
|
|
19220
|
+
werkbon_id?: never;
|
|
19221
|
+
};
|
|
19222
|
+
Update: {
|
|
19223
|
+
created_at?: string | null;
|
|
19224
|
+
created_by?: string | null;
|
|
19225
|
+
customer_id?: string | null;
|
|
19226
|
+
customer_name?: string | null;
|
|
19227
|
+
id?: string | null;
|
|
19228
|
+
invoice_number?: string | null;
|
|
19229
|
+
note?: string | null;
|
|
19230
|
+
status?: string | null;
|
|
19231
|
+
total_excl_cents?: number | null;
|
|
19232
|
+
total_incl_cents?: number | null;
|
|
19233
|
+
updated_at?: string | null;
|
|
19234
|
+
vat_cents?: number | null;
|
|
19235
|
+
vat_percentage?: number | null;
|
|
19236
|
+
werkbon_id?: never;
|
|
19237
|
+
};
|
|
19238
|
+
Relationships: [{
|
|
19239
|
+
foreignKeyName: "invoices_customer_id_fkey";
|
|
19240
|
+
columns: ["customer_id"];
|
|
19241
|
+
isOneToOne: false;
|
|
19242
|
+
referencedRelation: "itk_customers";
|
|
19243
|
+
referencedColumns: ["id"];
|
|
19244
|
+
}];
|
|
19245
|
+
};
|
|
19246
|
+
uren_factuur_regels: {
|
|
19247
|
+
Row: {
|
|
19248
|
+
created_at: string | null;
|
|
19249
|
+
description: string | null;
|
|
19250
|
+
factuur_id: string | null;
|
|
19251
|
+
id: string | null;
|
|
19252
|
+
kind: string | null;
|
|
19253
|
+
quantity: number | null;
|
|
19254
|
+
sort_order: number | null;
|
|
19255
|
+
total_cents: number | null;
|
|
19256
|
+
unit: string | null;
|
|
19257
|
+
unit_price_cents: number | null;
|
|
19258
|
+
};
|
|
19259
|
+
Insert: {
|
|
19260
|
+
created_at?: string | null;
|
|
19261
|
+
description?: string | null;
|
|
19262
|
+
factuur_id?: string | null;
|
|
19263
|
+
id?: string | null;
|
|
19264
|
+
kind?: string | null;
|
|
19265
|
+
quantity?: number | null;
|
|
19266
|
+
sort_order?: number | null;
|
|
19267
|
+
total_cents?: number | null;
|
|
19268
|
+
unit?: string | null;
|
|
19269
|
+
unit_price_cents?: number | null;
|
|
19270
|
+
};
|
|
19271
|
+
Update: {
|
|
19272
|
+
created_at?: string | null;
|
|
19273
|
+
description?: string | null;
|
|
19274
|
+
factuur_id?: string | null;
|
|
19275
|
+
id?: string | null;
|
|
19276
|
+
kind?: string | null;
|
|
19277
|
+
quantity?: number | null;
|
|
19278
|
+
sort_order?: number | null;
|
|
19279
|
+
total_cents?: number | null;
|
|
19280
|
+
unit?: string | null;
|
|
19281
|
+
unit_price_cents?: number | null;
|
|
19282
|
+
};
|
|
19283
|
+
Relationships: [{
|
|
19284
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19285
|
+
columns: ["factuur_id"];
|
|
19286
|
+
isOneToOne: false;
|
|
19287
|
+
referencedRelation: "invoices";
|
|
19288
|
+
referencedColumns: ["id"];
|
|
19289
|
+
}, {
|
|
19290
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19291
|
+
columns: ["factuur_id"];
|
|
19292
|
+
isOneToOne: false;
|
|
19293
|
+
referencedRelation: "uren_facturen";
|
|
19294
|
+
referencedColumns: ["id"];
|
|
19295
|
+
}];
|
|
19296
|
+
};
|
|
18580
19297
|
v_external_customers_exact: {
|
|
18581
19298
|
Row: {
|
|
18582
19299
|
account_number: string | null;
|
|
@@ -19082,6 +19799,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19082
19799
|
gebruiker_id: string | null;
|
|
19083
19800
|
gebruiker_naam: string;
|
|
19084
19801
|
gestart_op: string | null;
|
|
19802
|
+
herkomst: string | null;
|
|
19085
19803
|
id: string;
|
|
19086
19804
|
idempotentie_sleutel: string | null;
|
|
19087
19805
|
is_herprint: boolean;
|
|
@@ -19202,6 +19920,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19202
19920
|
gebruiker_id: string | null;
|
|
19203
19921
|
gebruiker_naam: string;
|
|
19204
19922
|
gestart_op: string | null;
|
|
19923
|
+
herkomst: string | null;
|
|
19205
19924
|
id: string;
|
|
19206
19925
|
idempotentie_sleutel: string | null;
|
|
19207
19926
|
is_herprint: boolean;
|
|
@@ -19472,6 +20191,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19472
20191
|
};
|
|
19473
20192
|
Returns: string;
|
|
19474
20193
|
};
|
|
20194
|
+
employee_day_hours: {
|
|
20195
|
+
Args: {
|
|
20196
|
+
_day: string;
|
|
20197
|
+
_employee_id: string;
|
|
20198
|
+
};
|
|
20199
|
+
Returns: number;
|
|
20200
|
+
};
|
|
19475
20201
|
enqueue_cart_replan_if_unlocked: {
|
|
19476
20202
|
Args: {
|
|
19477
20203
|
p_order_id: string;
|
|
@@ -19796,6 +20522,46 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19796
20522
|
Args: never;
|
|
19797
20523
|
Returns: boolean;
|
|
19798
20524
|
};
|
|
20525
|
+
invoice_create_from_source: {
|
|
20526
|
+
Args: {
|
|
20527
|
+
_payload?: import("./types").Json;
|
|
20528
|
+
_source_id: string;
|
|
20529
|
+
_source_type: string;
|
|
20530
|
+
};
|
|
20531
|
+
Returns: import("./types").Json;
|
|
20532
|
+
};
|
|
20533
|
+
invoice_get_billable_lines: {
|
|
20534
|
+
Args: {
|
|
20535
|
+
_invoice_id: string;
|
|
20536
|
+
};
|
|
20537
|
+
Returns: import("./types").Json;
|
|
20538
|
+
};
|
|
20539
|
+
invoice_get_for_source: {
|
|
20540
|
+
Args: {
|
|
20541
|
+
_source_id: string;
|
|
20542
|
+
_source_type: string;
|
|
20543
|
+
};
|
|
20544
|
+
Returns: import("./types").Json;
|
|
20545
|
+
};
|
|
20546
|
+
invoice_get_summary: {
|
|
20547
|
+
Args: {
|
|
20548
|
+
_invoice_id: string;
|
|
20549
|
+
};
|
|
20550
|
+
Returns: import("./types").Json;
|
|
20551
|
+
};
|
|
20552
|
+
invoice_list_sources: {
|
|
20553
|
+
Args: {
|
|
20554
|
+
_limit?: number;
|
|
20555
|
+
_source_type?: string;
|
|
20556
|
+
};
|
|
20557
|
+
Returns: import("./types").Json;
|
|
20558
|
+
};
|
|
20559
|
+
invoice_recalc_totals: {
|
|
20560
|
+
Args: {
|
|
20561
|
+
_invoice_id: string;
|
|
20562
|
+
};
|
|
20563
|
+
Returns: import("./types").Json;
|
|
20564
|
+
};
|
|
19799
20565
|
is_authenticated: {
|
|
19800
20566
|
Args: never;
|
|
19801
20567
|
Returns: boolean;
|
|
@@ -19825,6 +20591,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19825
20591
|
Args: never;
|
|
19826
20592
|
Returns: boolean;
|
|
19827
20593
|
};
|
|
20594
|
+
itk_offerte_naar_werkbon: {
|
|
20595
|
+
Args: {
|
|
20596
|
+
_offerte_id: string;
|
|
20597
|
+
};
|
|
20598
|
+
Returns: string;
|
|
20599
|
+
};
|
|
20600
|
+
itk_offerte_restant_mandaat: {
|
|
20601
|
+
Args: {
|
|
20602
|
+
_exclude_offerte_id?: string;
|
|
20603
|
+
_werkbon_id: string;
|
|
20604
|
+
};
|
|
20605
|
+
Returns: number;
|
|
20606
|
+
};
|
|
19828
20607
|
jwt_has_role: {
|
|
19829
20608
|
Args: {
|
|
19830
20609
|
_role: Database["public"]["Enums"]["app_role"];
|
|
@@ -19835,12 +20614,45 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19835
20614
|
Args: never;
|
|
19836
20615
|
Returns: {
|
|
19837
20616
|
avatar_url: string;
|
|
20617
|
+
color: string;
|
|
19838
20618
|
display_name: string;
|
|
19839
20619
|
email: string;
|
|
20620
|
+
hours_fri: number;
|
|
20621
|
+
hours_mon: number;
|
|
20622
|
+
hours_thu: number;
|
|
20623
|
+
hours_tue: number;
|
|
20624
|
+
hours_wed: number;
|
|
19840
20625
|
id: string;
|
|
20626
|
+
is_active: boolean;
|
|
20627
|
+
leave_balance_hours: number;
|
|
20628
|
+
persnr: string;
|
|
20629
|
+
phone: string;
|
|
19841
20630
|
roles: string[];
|
|
19842
20631
|
}[];
|
|
19843
20632
|
};
|
|
20633
|
+
list_monteur_absences: {
|
|
20634
|
+
Args: {
|
|
20635
|
+
_from: string;
|
|
20636
|
+
_to: string;
|
|
20637
|
+
};
|
|
20638
|
+
Returns: {
|
|
20639
|
+
absence_date: string;
|
|
20640
|
+
end_time: string;
|
|
20641
|
+
full_day: boolean;
|
|
20642
|
+
kind: string;
|
|
20643
|
+
monteur_id: string;
|
|
20644
|
+
start_time: string;
|
|
20645
|
+
}[];
|
|
20646
|
+
};
|
|
20647
|
+
list_monteurs: {
|
|
20648
|
+
Args: never;
|
|
20649
|
+
Returns: {
|
|
20650
|
+
avatar_url: string;
|
|
20651
|
+
display_name: string;
|
|
20652
|
+
email: string;
|
|
20653
|
+
id: string;
|
|
20654
|
+
}[];
|
|
20655
|
+
};
|
|
19844
20656
|
list_my_planning_items: {
|
|
19845
20657
|
Args: {
|
|
19846
20658
|
_from: string;
|
|
@@ -20252,6 +21064,23 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20252
21064
|
};
|
|
20253
21065
|
Returns: string;
|
|
20254
21066
|
};
|
|
21067
|
+
logistics_floriday_finish_push_v2: {
|
|
21068
|
+
Args: {
|
|
21069
|
+
_error?: string;
|
|
21070
|
+
_error_code?: string;
|
|
21071
|
+
_fulfillment_order_id?: string;
|
|
21072
|
+
_gateway_status?: number;
|
|
21073
|
+
_id: string;
|
|
21074
|
+
_max_age_hours?: number;
|
|
21075
|
+
_max_attempts?: number;
|
|
21076
|
+
_ok: boolean;
|
|
21077
|
+
_permanent?: boolean;
|
|
21078
|
+
_response?: import("./types").Json;
|
|
21079
|
+
_revision: number;
|
|
21080
|
+
_sent_hash?: string;
|
|
21081
|
+
};
|
|
21082
|
+
Returns: string;
|
|
21083
|
+
};
|
|
20255
21084
|
logistics_floriday_prune_pushes: {
|
|
20256
21085
|
Args: {
|
|
20257
21086
|
_days?: number;
|
|
@@ -20794,6 +21623,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20794
21623
|
isSetofReturn: false;
|
|
20795
21624
|
};
|
|
20796
21625
|
};
|
|
21626
|
+
pick_cleanup_maintenance: {
|
|
21627
|
+
Args: {
|
|
21628
|
+
_heartbeat_hours?: number;
|
|
21629
|
+
_log_days?: number;
|
|
21630
|
+
};
|
|
21631
|
+
Returns: import("./types").Json;
|
|
21632
|
+
};
|
|
20797
21633
|
pick_complete_print: {
|
|
20798
21634
|
Args: {
|
|
20799
21635
|
_printer_id: string;
|
|
@@ -20845,6 +21681,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20845
21681
|
Args: never;
|
|
20846
21682
|
Returns: string;
|
|
20847
21683
|
};
|
|
21684
|
+
pick_day_counts: {
|
|
21685
|
+
Args: {
|
|
21686
|
+
_pick_day?: string;
|
|
21687
|
+
_screen_id?: string;
|
|
21688
|
+
_station_id?: string;
|
|
21689
|
+
};
|
|
21690
|
+
Returns: import("./types").Json;
|
|
21691
|
+
};
|
|
20848
21692
|
pick_document_layout_data: {
|
|
20849
21693
|
Args: {
|
|
20850
21694
|
_layout_id: string;
|
|
@@ -20882,6 +21726,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20882
21726
|
};
|
|
20883
21727
|
Returns: undefined;
|
|
20884
21728
|
};
|
|
21729
|
+
pick_reprint_document: {
|
|
21730
|
+
Args: {
|
|
21731
|
+
_queue_item_id: string;
|
|
21732
|
+
_session_id: string;
|
|
21733
|
+
_throttle_seconds?: number;
|
|
21734
|
+
};
|
|
21735
|
+
Returns: string;
|
|
21736
|
+
};
|
|
20885
21737
|
pick_reset_print: {
|
|
20886
21738
|
Args: {
|
|
20887
21739
|
_queue_item_id: string;
|
|
@@ -20947,6 +21799,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20947
21799
|
};
|
|
20948
21800
|
Returns: string;
|
|
20949
21801
|
};
|
|
21802
|
+
pick_sync_queue_throttled: {
|
|
21803
|
+
Args: {
|
|
21804
|
+
_min_seconds?: number;
|
|
21805
|
+
};
|
|
21806
|
+
Returns: import("./types").Json;
|
|
21807
|
+
};
|
|
20950
21808
|
pickstation_get_orders_raw: {
|
|
20951
21809
|
Args: never;
|
|
20952
21810
|
Returns: import("./types").Json;
|
|
@@ -21008,6 +21866,37 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21008
21866
|
};
|
|
21009
21867
|
Returns: undefined;
|
|
21010
21868
|
};
|
|
21869
|
+
quote_create_from_source: {
|
|
21870
|
+
Args: {
|
|
21871
|
+
_payload?: import("./types").Json;
|
|
21872
|
+
_source_id: string;
|
|
21873
|
+
_source_type: string;
|
|
21874
|
+
};
|
|
21875
|
+
Returns: string;
|
|
21876
|
+
};
|
|
21877
|
+
quote_get_billable_lines: {
|
|
21878
|
+
Args: {
|
|
21879
|
+
_quotation_id: string;
|
|
21880
|
+
};
|
|
21881
|
+
Returns: import("./types").Json;
|
|
21882
|
+
};
|
|
21883
|
+
quote_get_summary: {
|
|
21884
|
+
Args: {
|
|
21885
|
+
_quotation_id: string;
|
|
21886
|
+
};
|
|
21887
|
+
Returns: import("./types").Json;
|
|
21888
|
+
};
|
|
21889
|
+
quote_list_packages: {
|
|
21890
|
+
Args: never;
|
|
21891
|
+
Returns: import("./types").Json;
|
|
21892
|
+
};
|
|
21893
|
+
quote_list_sources: {
|
|
21894
|
+
Args: {
|
|
21895
|
+
_limit?: number;
|
|
21896
|
+
_source_type?: string;
|
|
21897
|
+
};
|
|
21898
|
+
Returns: import("./types").Json;
|
|
21899
|
+
};
|
|
21011
21900
|
recompute_all_reserved_stock: {
|
|
21012
21901
|
Args: never;
|
|
21013
21902
|
Returns: undefined;
|
|
@@ -21061,6 +21950,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21061
21950
|
};
|
|
21062
21951
|
Returns: boolean;
|
|
21063
21952
|
};
|
|
21953
|
+
release_stale_order_invoice_links: {
|
|
21954
|
+
Args: {
|
|
21955
|
+
_minutes?: number;
|
|
21956
|
+
};
|
|
21957
|
+
Returns: number;
|
|
21958
|
+
};
|
|
21064
21959
|
reorder_customer_price_groups: {
|
|
21065
21960
|
Args: {
|
|
21066
21961
|
_ids: string[];
|
|
@@ -21543,6 +22438,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21543
22438
|
};
|
|
21544
22439
|
Returns: undefined;
|
|
21545
22440
|
};
|
|
22441
|
+
sync_sick_time_off: {
|
|
22442
|
+
Args: {
|
|
22443
|
+
_period_id: string;
|
|
22444
|
+
};
|
|
22445
|
+
Returns: number;
|
|
22446
|
+
};
|
|
21546
22447
|
trade_item_stock_duplicates: {
|
|
21547
22448
|
Args: never;
|
|
21548
22449
|
Returns: {
|
|
@@ -21573,6 +22474,20 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21573
22474
|
};
|
|
21574
22475
|
Returns: undefined;
|
|
21575
22476
|
};
|
|
22477
|
+
twinfield_deactivate_connection: {
|
|
22478
|
+
Args: {
|
|
22479
|
+
p_connection_id: string;
|
|
22480
|
+
p_user_id: string;
|
|
22481
|
+
};
|
|
22482
|
+
Returns: import("./types").Json;
|
|
22483
|
+
};
|
|
22484
|
+
twinfield_handle_administration_change: {
|
|
22485
|
+
Args: {
|
|
22486
|
+
_administration_code: string;
|
|
22487
|
+
_user_id: string;
|
|
22488
|
+
};
|
|
22489
|
+
Returns: undefined;
|
|
22490
|
+
};
|
|
21576
22491
|
twinfield_prune_push_queue: {
|
|
21577
22492
|
Args: never;
|
|
21578
22493
|
Returns: number;
|
|
@@ -21592,10 +22507,11 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21592
22507
|
p_company_name?: string;
|
|
21593
22508
|
p_environment: string;
|
|
21594
22509
|
p_office_code?: string;
|
|
22510
|
+
p_reset_sync?: boolean;
|
|
21595
22511
|
p_status?: string;
|
|
21596
22512
|
p_user_id: string;
|
|
21597
22513
|
};
|
|
21598
|
-
Returns:
|
|
22514
|
+
Returns: import("./types").Json;
|
|
21599
22515
|
};
|
|
21600
22516
|
upsert_auto_fulfillment_log: {
|
|
21601
22517
|
Args: {
|
|
@@ -21616,6 +22532,26 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21616
22532
|
Args: never;
|
|
21617
22533
|
Returns: string;
|
|
21618
22534
|
};
|
|
22535
|
+
wo_create_from_source: {
|
|
22536
|
+
Args: {
|
|
22537
|
+
_payload?: import("./types").Json;
|
|
22538
|
+
_source_id: string;
|
|
22539
|
+
_source_type: string;
|
|
22540
|
+
};
|
|
22541
|
+
Returns: string;
|
|
22542
|
+
};
|
|
22543
|
+
wo_get_billable_lines: {
|
|
22544
|
+
Args: {
|
|
22545
|
+
_work_order_id: string;
|
|
22546
|
+
};
|
|
22547
|
+
Returns: import("./types").Json;
|
|
22548
|
+
};
|
|
22549
|
+
wo_get_summary: {
|
|
22550
|
+
Args: {
|
|
22551
|
+
_work_order_id: string;
|
|
22552
|
+
};
|
|
22553
|
+
Returns: import("./types").Json;
|
|
22554
|
+
};
|
|
21619
22555
|
};
|
|
21620
22556
|
Enums: {
|
|
21621
22557
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|