@flowselections/logistiek-engine 1.0.11 → 1.0.13
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/dist-lib/integrations/supabase/auth-middleware.d.ts +1134 -189
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1134 -189
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +1134 -189
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1161 -185
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.functions.d.ts +3162 -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 +1134 -189
- package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.server.d.ts +27 -21
- package/dist-lib/lib/floridayPush.server.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.server.js +160 -43
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +5270 -545
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +2108 -218
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts +1134 -189
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -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: {
|
|
@@ -17991,6 +18600,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17991
18600
|
scheduled_end_time: string | null;
|
|
17992
18601
|
scheduled_start_time: string | null;
|
|
17993
18602
|
sequence_number: number;
|
|
18603
|
+
signature_accepted_at: string | null;
|
|
18604
|
+
signature_by_user_id: string | null;
|
|
18605
|
+
signature_name: string | null;
|
|
17994
18606
|
source_email_meta: import("./types").Json | null;
|
|
17995
18607
|
source_mailbox_message_id: string | null;
|
|
17996
18608
|
source_pdf_path: string | null;
|
|
@@ -18026,6 +18638,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18026
18638
|
scheduled_end_time?: string | null;
|
|
18027
18639
|
scheduled_start_time?: string | null;
|
|
18028
18640
|
sequence_number: number;
|
|
18641
|
+
signature_accepted_at?: string | null;
|
|
18642
|
+
signature_by_user_id?: string | null;
|
|
18643
|
+
signature_name?: string | null;
|
|
18029
18644
|
source_email_meta?: import("./types").Json | null;
|
|
18030
18645
|
source_mailbox_message_id?: string | null;
|
|
18031
18646
|
source_pdf_path?: string | null;
|
|
@@ -18061,6 +18676,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18061
18676
|
scheduled_end_time?: string | null;
|
|
18062
18677
|
scheduled_start_time?: string | null;
|
|
18063
18678
|
sequence_number?: number;
|
|
18679
|
+
signature_accepted_at?: string | null;
|
|
18680
|
+
signature_by_user_id?: string | null;
|
|
18681
|
+
signature_name?: string | null;
|
|
18064
18682
|
source_email_meta?: import("./types").Json | null;
|
|
18065
18683
|
source_mailbox_message_id?: string | null;
|
|
18066
18684
|
source_pdf_path?: string | null;
|
|
@@ -18577,6 +19195,114 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18577
19195
|
};
|
|
18578
19196
|
Relationships: [];
|
|
18579
19197
|
};
|
|
19198
|
+
uren_facturen: {
|
|
19199
|
+
Row: {
|
|
19200
|
+
created_at: string | null;
|
|
19201
|
+
created_by: string | null;
|
|
19202
|
+
customer_id: string | null;
|
|
19203
|
+
customer_name: string | null;
|
|
19204
|
+
id: string | null;
|
|
19205
|
+
invoice_number: string | null;
|
|
19206
|
+
note: string | null;
|
|
19207
|
+
status: string | null;
|
|
19208
|
+
total_excl_cents: number | null;
|
|
19209
|
+
total_incl_cents: number | null;
|
|
19210
|
+
updated_at: string | null;
|
|
19211
|
+
vat_cents: number | null;
|
|
19212
|
+
vat_percentage: number | null;
|
|
19213
|
+
werkbon_id: string | null;
|
|
19214
|
+
};
|
|
19215
|
+
Insert: {
|
|
19216
|
+
created_at?: string | null;
|
|
19217
|
+
created_by?: string | null;
|
|
19218
|
+
customer_id?: string | null;
|
|
19219
|
+
customer_name?: string | null;
|
|
19220
|
+
id?: string | null;
|
|
19221
|
+
invoice_number?: string | null;
|
|
19222
|
+
note?: string | null;
|
|
19223
|
+
status?: string | null;
|
|
19224
|
+
total_excl_cents?: number | null;
|
|
19225
|
+
total_incl_cents?: number | null;
|
|
19226
|
+
updated_at?: string | null;
|
|
19227
|
+
vat_cents?: number | null;
|
|
19228
|
+
vat_percentage?: number | null;
|
|
19229
|
+
werkbon_id?: never;
|
|
19230
|
+
};
|
|
19231
|
+
Update: {
|
|
19232
|
+
created_at?: string | null;
|
|
19233
|
+
created_by?: string | null;
|
|
19234
|
+
customer_id?: string | null;
|
|
19235
|
+
customer_name?: string | null;
|
|
19236
|
+
id?: string | null;
|
|
19237
|
+
invoice_number?: string | null;
|
|
19238
|
+
note?: string | null;
|
|
19239
|
+
status?: string | null;
|
|
19240
|
+
total_excl_cents?: number | null;
|
|
19241
|
+
total_incl_cents?: number | null;
|
|
19242
|
+
updated_at?: string | null;
|
|
19243
|
+
vat_cents?: number | null;
|
|
19244
|
+
vat_percentage?: number | null;
|
|
19245
|
+
werkbon_id?: never;
|
|
19246
|
+
};
|
|
19247
|
+
Relationships: [{
|
|
19248
|
+
foreignKeyName: "invoices_customer_id_fkey";
|
|
19249
|
+
columns: ["customer_id"];
|
|
19250
|
+
isOneToOne: false;
|
|
19251
|
+
referencedRelation: "itk_customers";
|
|
19252
|
+
referencedColumns: ["id"];
|
|
19253
|
+
}];
|
|
19254
|
+
};
|
|
19255
|
+
uren_factuur_regels: {
|
|
19256
|
+
Row: {
|
|
19257
|
+
created_at: string | null;
|
|
19258
|
+
description: string | null;
|
|
19259
|
+
factuur_id: string | null;
|
|
19260
|
+
id: string | null;
|
|
19261
|
+
kind: string | null;
|
|
19262
|
+
quantity: number | null;
|
|
19263
|
+
sort_order: number | null;
|
|
19264
|
+
total_cents: number | null;
|
|
19265
|
+
unit: string | null;
|
|
19266
|
+
unit_price_cents: number | null;
|
|
19267
|
+
};
|
|
19268
|
+
Insert: {
|
|
19269
|
+
created_at?: string | null;
|
|
19270
|
+
description?: string | null;
|
|
19271
|
+
factuur_id?: string | null;
|
|
19272
|
+
id?: string | null;
|
|
19273
|
+
kind?: string | null;
|
|
19274
|
+
quantity?: number | null;
|
|
19275
|
+
sort_order?: number | null;
|
|
19276
|
+
total_cents?: number | null;
|
|
19277
|
+
unit?: string | null;
|
|
19278
|
+
unit_price_cents?: number | null;
|
|
19279
|
+
};
|
|
19280
|
+
Update: {
|
|
19281
|
+
created_at?: string | null;
|
|
19282
|
+
description?: string | null;
|
|
19283
|
+
factuur_id?: string | null;
|
|
19284
|
+
id?: string | null;
|
|
19285
|
+
kind?: string | null;
|
|
19286
|
+
quantity?: number | null;
|
|
19287
|
+
sort_order?: number | null;
|
|
19288
|
+
total_cents?: number | null;
|
|
19289
|
+
unit?: string | null;
|
|
19290
|
+
unit_price_cents?: number | null;
|
|
19291
|
+
};
|
|
19292
|
+
Relationships: [{
|
|
19293
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19294
|
+
columns: ["factuur_id"];
|
|
19295
|
+
isOneToOne: false;
|
|
19296
|
+
referencedRelation: "invoices";
|
|
19297
|
+
referencedColumns: ["id"];
|
|
19298
|
+
}, {
|
|
19299
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19300
|
+
columns: ["factuur_id"];
|
|
19301
|
+
isOneToOne: false;
|
|
19302
|
+
referencedRelation: "uren_facturen";
|
|
19303
|
+
referencedColumns: ["id"];
|
|
19304
|
+
}];
|
|
19305
|
+
};
|
|
18580
19306
|
v_external_customers_exact: {
|
|
18581
19307
|
Row: {
|
|
18582
19308
|
account_number: string | null;
|
|
@@ -19082,6 +19808,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19082
19808
|
gebruiker_id: string | null;
|
|
19083
19809
|
gebruiker_naam: string;
|
|
19084
19810
|
gestart_op: string | null;
|
|
19811
|
+
herkomst: string | null;
|
|
19085
19812
|
id: string;
|
|
19086
19813
|
idempotentie_sleutel: string | null;
|
|
19087
19814
|
is_herprint: boolean;
|
|
@@ -19202,6 +19929,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19202
19929
|
gebruiker_id: string | null;
|
|
19203
19930
|
gebruiker_naam: string;
|
|
19204
19931
|
gestart_op: string | null;
|
|
19932
|
+
herkomst: string | null;
|
|
19205
19933
|
id: string;
|
|
19206
19934
|
idempotentie_sleutel: string | null;
|
|
19207
19935
|
is_herprint: boolean;
|
|
@@ -19472,6 +20200,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19472
20200
|
};
|
|
19473
20201
|
Returns: string;
|
|
19474
20202
|
};
|
|
20203
|
+
employee_day_hours: {
|
|
20204
|
+
Args: {
|
|
20205
|
+
_day: string;
|
|
20206
|
+
_employee_id: string;
|
|
20207
|
+
};
|
|
20208
|
+
Returns: number;
|
|
20209
|
+
};
|
|
19475
20210
|
enqueue_cart_replan_if_unlocked: {
|
|
19476
20211
|
Args: {
|
|
19477
20212
|
p_order_id: string;
|
|
@@ -19796,6 +20531,46 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19796
20531
|
Args: never;
|
|
19797
20532
|
Returns: boolean;
|
|
19798
20533
|
};
|
|
20534
|
+
invoice_create_from_source: {
|
|
20535
|
+
Args: {
|
|
20536
|
+
_payload?: import("./types").Json;
|
|
20537
|
+
_source_id: string;
|
|
20538
|
+
_source_type: string;
|
|
20539
|
+
};
|
|
20540
|
+
Returns: import("./types").Json;
|
|
20541
|
+
};
|
|
20542
|
+
invoice_get_billable_lines: {
|
|
20543
|
+
Args: {
|
|
20544
|
+
_invoice_id: string;
|
|
20545
|
+
};
|
|
20546
|
+
Returns: import("./types").Json;
|
|
20547
|
+
};
|
|
20548
|
+
invoice_get_for_source: {
|
|
20549
|
+
Args: {
|
|
20550
|
+
_source_id: string;
|
|
20551
|
+
_source_type: string;
|
|
20552
|
+
};
|
|
20553
|
+
Returns: import("./types").Json;
|
|
20554
|
+
};
|
|
20555
|
+
invoice_get_summary: {
|
|
20556
|
+
Args: {
|
|
20557
|
+
_invoice_id: string;
|
|
20558
|
+
};
|
|
20559
|
+
Returns: import("./types").Json;
|
|
20560
|
+
};
|
|
20561
|
+
invoice_list_sources: {
|
|
20562
|
+
Args: {
|
|
20563
|
+
_limit?: number;
|
|
20564
|
+
_source_type?: string;
|
|
20565
|
+
};
|
|
20566
|
+
Returns: import("./types").Json;
|
|
20567
|
+
};
|
|
20568
|
+
invoice_recalc_totals: {
|
|
20569
|
+
Args: {
|
|
20570
|
+
_invoice_id: string;
|
|
20571
|
+
};
|
|
20572
|
+
Returns: import("./types").Json;
|
|
20573
|
+
};
|
|
19799
20574
|
is_authenticated: {
|
|
19800
20575
|
Args: never;
|
|
19801
20576
|
Returns: boolean;
|
|
@@ -19825,6 +20600,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19825
20600
|
Args: never;
|
|
19826
20601
|
Returns: boolean;
|
|
19827
20602
|
};
|
|
20603
|
+
itk_offerte_naar_werkbon: {
|
|
20604
|
+
Args: {
|
|
20605
|
+
_offerte_id: string;
|
|
20606
|
+
};
|
|
20607
|
+
Returns: string;
|
|
20608
|
+
};
|
|
20609
|
+
itk_offerte_restant_mandaat: {
|
|
20610
|
+
Args: {
|
|
20611
|
+
_exclude_offerte_id?: string;
|
|
20612
|
+
_werkbon_id: string;
|
|
20613
|
+
};
|
|
20614
|
+
Returns: number;
|
|
20615
|
+
};
|
|
19828
20616
|
jwt_has_role: {
|
|
19829
20617
|
Args: {
|
|
19830
20618
|
_role: Database["public"]["Enums"]["app_role"];
|
|
@@ -19835,12 +20623,45 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19835
20623
|
Args: never;
|
|
19836
20624
|
Returns: {
|
|
19837
20625
|
avatar_url: string;
|
|
20626
|
+
color: string;
|
|
19838
20627
|
display_name: string;
|
|
19839
20628
|
email: string;
|
|
20629
|
+
hours_fri: number;
|
|
20630
|
+
hours_mon: number;
|
|
20631
|
+
hours_thu: number;
|
|
20632
|
+
hours_tue: number;
|
|
20633
|
+
hours_wed: number;
|
|
19840
20634
|
id: string;
|
|
20635
|
+
is_active: boolean;
|
|
20636
|
+
leave_balance_hours: number;
|
|
20637
|
+
persnr: string;
|
|
20638
|
+
phone: string;
|
|
19841
20639
|
roles: string[];
|
|
19842
20640
|
}[];
|
|
19843
20641
|
};
|
|
20642
|
+
list_monteur_absences: {
|
|
20643
|
+
Args: {
|
|
20644
|
+
_from: string;
|
|
20645
|
+
_to: string;
|
|
20646
|
+
};
|
|
20647
|
+
Returns: {
|
|
20648
|
+
absence_date: string;
|
|
20649
|
+
end_time: string;
|
|
20650
|
+
full_day: boolean;
|
|
20651
|
+
kind: string;
|
|
20652
|
+
monteur_id: string;
|
|
20653
|
+
start_time: string;
|
|
20654
|
+
}[];
|
|
20655
|
+
};
|
|
20656
|
+
list_monteurs: {
|
|
20657
|
+
Args: never;
|
|
20658
|
+
Returns: {
|
|
20659
|
+
avatar_url: string;
|
|
20660
|
+
display_name: string;
|
|
20661
|
+
email: string;
|
|
20662
|
+
id: string;
|
|
20663
|
+
}[];
|
|
20664
|
+
};
|
|
19844
20665
|
list_my_planning_items: {
|
|
19845
20666
|
Args: {
|
|
19846
20667
|
_from: string;
|
|
@@ -20252,6 +21073,23 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20252
21073
|
};
|
|
20253
21074
|
Returns: string;
|
|
20254
21075
|
};
|
|
21076
|
+
logistics_floriday_finish_push_v2: {
|
|
21077
|
+
Args: {
|
|
21078
|
+
_error?: string;
|
|
21079
|
+
_error_code?: string;
|
|
21080
|
+
_fulfillment_order_id?: string;
|
|
21081
|
+
_gateway_status?: number;
|
|
21082
|
+
_id: string;
|
|
21083
|
+
_max_age_hours?: number;
|
|
21084
|
+
_max_attempts?: number;
|
|
21085
|
+
_ok: boolean;
|
|
21086
|
+
_permanent?: boolean;
|
|
21087
|
+
_response?: import("./types").Json;
|
|
21088
|
+
_revision: number;
|
|
21089
|
+
_sent_hash?: string;
|
|
21090
|
+
};
|
|
21091
|
+
Returns: string;
|
|
21092
|
+
};
|
|
20255
21093
|
logistics_floriday_prune_pushes: {
|
|
20256
21094
|
Args: {
|
|
20257
21095
|
_days?: number;
|
|
@@ -20794,6 +21632,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20794
21632
|
isSetofReturn: false;
|
|
20795
21633
|
};
|
|
20796
21634
|
};
|
|
21635
|
+
pick_cleanup_maintenance: {
|
|
21636
|
+
Args: {
|
|
21637
|
+
_heartbeat_hours?: number;
|
|
21638
|
+
_log_days?: number;
|
|
21639
|
+
};
|
|
21640
|
+
Returns: import("./types").Json;
|
|
21641
|
+
};
|
|
20797
21642
|
pick_complete_print: {
|
|
20798
21643
|
Args: {
|
|
20799
21644
|
_printer_id: string;
|
|
@@ -20845,6 +21690,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20845
21690
|
Args: never;
|
|
20846
21691
|
Returns: string;
|
|
20847
21692
|
};
|
|
21693
|
+
pick_day_counts: {
|
|
21694
|
+
Args: {
|
|
21695
|
+
_pick_day?: string;
|
|
21696
|
+
_screen_id?: string;
|
|
21697
|
+
_station_id?: string;
|
|
21698
|
+
};
|
|
21699
|
+
Returns: import("./types").Json;
|
|
21700
|
+
};
|
|
20848
21701
|
pick_document_layout_data: {
|
|
20849
21702
|
Args: {
|
|
20850
21703
|
_layout_id: string;
|
|
@@ -20882,6 +21735,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20882
21735
|
};
|
|
20883
21736
|
Returns: undefined;
|
|
20884
21737
|
};
|
|
21738
|
+
pick_reprint_document: {
|
|
21739
|
+
Args: {
|
|
21740
|
+
_queue_item_id: string;
|
|
21741
|
+
_session_id: string;
|
|
21742
|
+
_throttle_seconds?: number;
|
|
21743
|
+
};
|
|
21744
|
+
Returns: string;
|
|
21745
|
+
};
|
|
20885
21746
|
pick_reset_print: {
|
|
20886
21747
|
Args: {
|
|
20887
21748
|
_queue_item_id: string;
|
|
@@ -20947,6 +21808,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20947
21808
|
};
|
|
20948
21809
|
Returns: string;
|
|
20949
21810
|
};
|
|
21811
|
+
pick_sync_queue_throttled: {
|
|
21812
|
+
Args: {
|
|
21813
|
+
_min_seconds?: number;
|
|
21814
|
+
};
|
|
21815
|
+
Returns: import("./types").Json;
|
|
21816
|
+
};
|
|
20950
21817
|
pickstation_get_orders_raw: {
|
|
20951
21818
|
Args: never;
|
|
20952
21819
|
Returns: import("./types").Json;
|
|
@@ -21008,6 +21875,37 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21008
21875
|
};
|
|
21009
21876
|
Returns: undefined;
|
|
21010
21877
|
};
|
|
21878
|
+
quote_create_from_source: {
|
|
21879
|
+
Args: {
|
|
21880
|
+
_payload?: import("./types").Json;
|
|
21881
|
+
_source_id: string;
|
|
21882
|
+
_source_type: string;
|
|
21883
|
+
};
|
|
21884
|
+
Returns: string;
|
|
21885
|
+
};
|
|
21886
|
+
quote_get_billable_lines: {
|
|
21887
|
+
Args: {
|
|
21888
|
+
_quotation_id: string;
|
|
21889
|
+
};
|
|
21890
|
+
Returns: import("./types").Json;
|
|
21891
|
+
};
|
|
21892
|
+
quote_get_summary: {
|
|
21893
|
+
Args: {
|
|
21894
|
+
_quotation_id: string;
|
|
21895
|
+
};
|
|
21896
|
+
Returns: import("./types").Json;
|
|
21897
|
+
};
|
|
21898
|
+
quote_list_packages: {
|
|
21899
|
+
Args: never;
|
|
21900
|
+
Returns: import("./types").Json;
|
|
21901
|
+
};
|
|
21902
|
+
quote_list_sources: {
|
|
21903
|
+
Args: {
|
|
21904
|
+
_limit?: number;
|
|
21905
|
+
_source_type?: string;
|
|
21906
|
+
};
|
|
21907
|
+
Returns: import("./types").Json;
|
|
21908
|
+
};
|
|
21011
21909
|
recompute_all_reserved_stock: {
|
|
21012
21910
|
Args: never;
|
|
21013
21911
|
Returns: undefined;
|
|
@@ -21061,6 +21959,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21061
21959
|
};
|
|
21062
21960
|
Returns: boolean;
|
|
21063
21961
|
};
|
|
21962
|
+
release_stale_order_invoice_links: {
|
|
21963
|
+
Args: {
|
|
21964
|
+
_minutes?: number;
|
|
21965
|
+
};
|
|
21966
|
+
Returns: number;
|
|
21967
|
+
};
|
|
21064
21968
|
reorder_customer_price_groups: {
|
|
21065
21969
|
Args: {
|
|
21066
21970
|
_ids: string[];
|
|
@@ -21543,6 +22447,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21543
22447
|
};
|
|
21544
22448
|
Returns: undefined;
|
|
21545
22449
|
};
|
|
22450
|
+
sync_sick_time_off: {
|
|
22451
|
+
Args: {
|
|
22452
|
+
_period_id: string;
|
|
22453
|
+
};
|
|
22454
|
+
Returns: number;
|
|
22455
|
+
};
|
|
21546
22456
|
trade_item_stock_duplicates: {
|
|
21547
22457
|
Args: never;
|
|
21548
22458
|
Returns: {
|
|
@@ -21573,6 +22483,20 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21573
22483
|
};
|
|
21574
22484
|
Returns: undefined;
|
|
21575
22485
|
};
|
|
22486
|
+
twinfield_deactivate_connection: {
|
|
22487
|
+
Args: {
|
|
22488
|
+
p_connection_id: string;
|
|
22489
|
+
p_user_id: string;
|
|
22490
|
+
};
|
|
22491
|
+
Returns: import("./types").Json;
|
|
22492
|
+
};
|
|
22493
|
+
twinfield_handle_administration_change: {
|
|
22494
|
+
Args: {
|
|
22495
|
+
_administration_code: string;
|
|
22496
|
+
_user_id: string;
|
|
22497
|
+
};
|
|
22498
|
+
Returns: undefined;
|
|
22499
|
+
};
|
|
21576
22500
|
twinfield_prune_push_queue: {
|
|
21577
22501
|
Args: never;
|
|
21578
22502
|
Returns: number;
|
|
@@ -21592,10 +22516,11 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21592
22516
|
p_company_name?: string;
|
|
21593
22517
|
p_environment: string;
|
|
21594
22518
|
p_office_code?: string;
|
|
22519
|
+
p_reset_sync?: boolean;
|
|
21595
22520
|
p_status?: string;
|
|
21596
22521
|
p_user_id: string;
|
|
21597
22522
|
};
|
|
21598
|
-
Returns:
|
|
22523
|
+
Returns: import("./types").Json;
|
|
21599
22524
|
};
|
|
21600
22525
|
upsert_auto_fulfillment_log: {
|
|
21601
22526
|
Args: {
|
|
@@ -21616,6 +22541,26 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21616
22541
|
Args: never;
|
|
21617
22542
|
Returns: string;
|
|
21618
22543
|
};
|
|
22544
|
+
wo_create_from_source: {
|
|
22545
|
+
Args: {
|
|
22546
|
+
_payload?: import("./types").Json;
|
|
22547
|
+
_source_id: string;
|
|
22548
|
+
_source_type: string;
|
|
22549
|
+
};
|
|
22550
|
+
Returns: string;
|
|
22551
|
+
};
|
|
22552
|
+
wo_get_billable_lines: {
|
|
22553
|
+
Args: {
|
|
22554
|
+
_work_order_id: string;
|
|
22555
|
+
};
|
|
22556
|
+
Returns: import("./types").Json;
|
|
22557
|
+
};
|
|
22558
|
+
wo_get_summary: {
|
|
22559
|
+
Args: {
|
|
22560
|
+
_work_order_id: string;
|
|
22561
|
+
};
|
|
22562
|
+
Returns: import("./types").Json;
|
|
22563
|
+
};
|
|
21619
22564
|
};
|
|
21620
22565
|
Enums: {
|
|
21621
22566
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|