@flowselections/admin-installatietechniek 1.0.6 → 1.0.7
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/components/AdminForInstallatieTechniek.d.ts.map +1 -1
- package/dist-lib/components/AdminForInstallatieTechniek.js +126 -28
- package/dist-lib/index.d.ts +5 -4
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +3 -3
- package/dist-lib/integrations/supabase/auth-attacher.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/auth-attacher.js +11 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +297 -144
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +297 -144
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +297 -144
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +307 -149
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/admin.functions.d.ts +6543 -3168
- package/dist-lib/lib/admin.functions.d.ts.map +1 -1
- package/dist-lib/lib/admin.functions.js +190 -27
- package/package.json +2 -2
|
@@ -5157,42 +5157,6 @@ export type Database = {
|
|
|
5157
5157
|
};
|
|
5158
5158
|
Relationships: [];
|
|
5159
5159
|
};
|
|
5160
|
-
facturen: {
|
|
5161
|
-
Row: {
|
|
5162
|
-
bedrag_incl_btw: number;
|
|
5163
|
-
created_at: string;
|
|
5164
|
-
datum: string;
|
|
5165
|
-
factuurnummer: string;
|
|
5166
|
-
id: string;
|
|
5167
|
-
klantnaam: string;
|
|
5168
|
-
status: string;
|
|
5169
|
-
updated_at: string;
|
|
5170
|
-
user_id: string;
|
|
5171
|
-
};
|
|
5172
|
-
Insert: {
|
|
5173
|
-
bedrag_incl_btw: number;
|
|
5174
|
-
created_at?: string;
|
|
5175
|
-
datum?: string;
|
|
5176
|
-
factuurnummer: string;
|
|
5177
|
-
id?: string;
|
|
5178
|
-
klantnaam: string;
|
|
5179
|
-
status?: string;
|
|
5180
|
-
updated_at?: string;
|
|
5181
|
-
user_id?: string;
|
|
5182
|
-
};
|
|
5183
|
-
Update: {
|
|
5184
|
-
bedrag_incl_btw?: number;
|
|
5185
|
-
created_at?: string;
|
|
5186
|
-
datum?: string;
|
|
5187
|
-
factuurnummer?: string;
|
|
5188
|
-
id?: string;
|
|
5189
|
-
klantnaam?: string;
|
|
5190
|
-
status?: string;
|
|
5191
|
-
updated_at?: string;
|
|
5192
|
-
user_id?: string;
|
|
5193
|
-
};
|
|
5194
|
-
Relationships: [];
|
|
5195
|
-
};
|
|
5196
5160
|
floricode_connection_settings: {
|
|
5197
5161
|
Row: {
|
|
5198
5162
|
catalog_key: string | null;
|
|
@@ -7578,6 +7542,63 @@ export type Database = {
|
|
|
7578
7542
|
};
|
|
7579
7543
|
Relationships: [];
|
|
7580
7544
|
};
|
|
7545
|
+
invoice_items: {
|
|
7546
|
+
Row: {
|
|
7547
|
+
created_at: string;
|
|
7548
|
+
description: string;
|
|
7549
|
+
id: string;
|
|
7550
|
+
invoice_id: string;
|
|
7551
|
+
kind: string;
|
|
7552
|
+
quantity: number;
|
|
7553
|
+
sort_order: number;
|
|
7554
|
+
source_line_ref: string | null;
|
|
7555
|
+
total_cents: number;
|
|
7556
|
+
unit: string;
|
|
7557
|
+
unit_price_cents: number;
|
|
7558
|
+
};
|
|
7559
|
+
Insert: {
|
|
7560
|
+
created_at?: string;
|
|
7561
|
+
description?: string;
|
|
7562
|
+
id?: string;
|
|
7563
|
+
invoice_id: string;
|
|
7564
|
+
kind?: string;
|
|
7565
|
+
quantity?: number;
|
|
7566
|
+
sort_order?: number;
|
|
7567
|
+
source_line_ref?: string | null;
|
|
7568
|
+
total_cents?: number;
|
|
7569
|
+
unit?: string;
|
|
7570
|
+
unit_price_cents?: number;
|
|
7571
|
+
};
|
|
7572
|
+
Update: {
|
|
7573
|
+
created_at?: string;
|
|
7574
|
+
description?: string;
|
|
7575
|
+
id?: string;
|
|
7576
|
+
invoice_id?: string;
|
|
7577
|
+
kind?: string;
|
|
7578
|
+
quantity?: number;
|
|
7579
|
+
sort_order?: number;
|
|
7580
|
+
source_line_ref?: string | null;
|
|
7581
|
+
total_cents?: number;
|
|
7582
|
+
unit?: string;
|
|
7583
|
+
unit_price_cents?: number;
|
|
7584
|
+
};
|
|
7585
|
+
Relationships: [
|
|
7586
|
+
{
|
|
7587
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
7588
|
+
columns: ["invoice_id"];
|
|
7589
|
+
isOneToOne: false;
|
|
7590
|
+
referencedRelation: "invoices";
|
|
7591
|
+
referencedColumns: ["id"];
|
|
7592
|
+
},
|
|
7593
|
+
{
|
|
7594
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
7595
|
+
columns: ["invoice_id"];
|
|
7596
|
+
isOneToOne: false;
|
|
7597
|
+
referencedRelation: "uren_facturen";
|
|
7598
|
+
referencedColumns: ["id"];
|
|
7599
|
+
}
|
|
7600
|
+
];
|
|
7601
|
+
};
|
|
7581
7602
|
invoice_post_idempotency: {
|
|
7582
7603
|
Row: {
|
|
7583
7604
|
client_request_id: string;
|
|
@@ -7808,6 +7829,77 @@ export type Database = {
|
|
|
7808
7829
|
};
|
|
7809
7830
|
Relationships: [];
|
|
7810
7831
|
};
|
|
7832
|
+
invoices: {
|
|
7833
|
+
Row: {
|
|
7834
|
+
created_at: string;
|
|
7835
|
+
created_by: string | null;
|
|
7836
|
+
customer_id: string | null;
|
|
7837
|
+
customer_name: string | null;
|
|
7838
|
+
due_date: string | null;
|
|
7839
|
+
id: string;
|
|
7840
|
+
invoice_date: string;
|
|
7841
|
+
invoice_number: string | null;
|
|
7842
|
+
note: string | null;
|
|
7843
|
+
source_number: string | null;
|
|
7844
|
+
source_ref: string | null;
|
|
7845
|
+
source_type: string;
|
|
7846
|
+
status: string;
|
|
7847
|
+
subtotal_cents: number;
|
|
7848
|
+
total_cents: number;
|
|
7849
|
+
updated_at: string;
|
|
7850
|
+
vat_cents: number;
|
|
7851
|
+
vat_rate: number;
|
|
7852
|
+
};
|
|
7853
|
+
Insert: {
|
|
7854
|
+
created_at?: string;
|
|
7855
|
+
created_by?: string | null;
|
|
7856
|
+
customer_id?: string | null;
|
|
7857
|
+
customer_name?: string | null;
|
|
7858
|
+
due_date?: string | null;
|
|
7859
|
+
id?: string;
|
|
7860
|
+
invoice_date?: string;
|
|
7861
|
+
invoice_number?: string | null;
|
|
7862
|
+
note?: string | null;
|
|
7863
|
+
source_number?: string | null;
|
|
7864
|
+
source_ref?: string | null;
|
|
7865
|
+
source_type?: string;
|
|
7866
|
+
status?: string;
|
|
7867
|
+
subtotal_cents?: number;
|
|
7868
|
+
total_cents?: number;
|
|
7869
|
+
updated_at?: string;
|
|
7870
|
+
vat_cents?: number;
|
|
7871
|
+
vat_rate?: number;
|
|
7872
|
+
};
|
|
7873
|
+
Update: {
|
|
7874
|
+
created_at?: string;
|
|
7875
|
+
created_by?: string | null;
|
|
7876
|
+
customer_id?: string | null;
|
|
7877
|
+
customer_name?: string | null;
|
|
7878
|
+
due_date?: string | null;
|
|
7879
|
+
id?: string;
|
|
7880
|
+
invoice_date?: string;
|
|
7881
|
+
invoice_number?: string | null;
|
|
7882
|
+
note?: string | null;
|
|
7883
|
+
source_number?: string | null;
|
|
7884
|
+
source_ref?: string | null;
|
|
7885
|
+
source_type?: string;
|
|
7886
|
+
status?: string;
|
|
7887
|
+
subtotal_cents?: number;
|
|
7888
|
+
total_cents?: number;
|
|
7889
|
+
updated_at?: string;
|
|
7890
|
+
vat_cents?: number;
|
|
7891
|
+
vat_rate?: number;
|
|
7892
|
+
};
|
|
7893
|
+
Relationships: [
|
|
7894
|
+
{
|
|
7895
|
+
foreignKeyName: "invoices_customer_id_fkey";
|
|
7896
|
+
columns: ["customer_id"];
|
|
7897
|
+
isOneToOne: false;
|
|
7898
|
+
referencedRelation: "itk_customers";
|
|
7899
|
+
referencedColumns: ["id"];
|
|
7900
|
+
}
|
|
7901
|
+
];
|
|
7902
|
+
};
|
|
7811
7903
|
itk_contact_persons: {
|
|
7812
7904
|
Row: {
|
|
7813
7905
|
created_at: string;
|
|
@@ -12102,6 +12194,8 @@ export type Database = {
|
|
|
12102
12194
|
orders: {
|
|
12103
12195
|
Row: {
|
|
12104
12196
|
buffer_id: string | null;
|
|
12197
|
+
cancel_reason: string | null;
|
|
12198
|
+
cancelled_at: string | null;
|
|
12105
12199
|
created_at: string;
|
|
12106
12200
|
custom_fields: Json;
|
|
12107
12201
|
customer_id: string | null;
|
|
@@ -12124,6 +12218,8 @@ export type Database = {
|
|
|
12124
12218
|
};
|
|
12125
12219
|
Insert: {
|
|
12126
12220
|
buffer_id?: string | null;
|
|
12221
|
+
cancel_reason?: string | null;
|
|
12222
|
+
cancelled_at?: string | null;
|
|
12127
12223
|
created_at?: string;
|
|
12128
12224
|
custom_fields?: Json;
|
|
12129
12225
|
customer_id?: string | null;
|
|
@@ -12146,6 +12242,8 @@ export type Database = {
|
|
|
12146
12242
|
};
|
|
12147
12243
|
Update: {
|
|
12148
12244
|
buffer_id?: string | null;
|
|
12245
|
+
cancel_reason?: string | null;
|
|
12246
|
+
cancelled_at?: string | null;
|
|
12149
12247
|
created_at?: string;
|
|
12150
12248
|
custom_fields?: Json;
|
|
12151
12249
|
customer_id?: string | null;
|
|
@@ -17586,119 +17684,6 @@ export type Database = {
|
|
|
17586
17684
|
};
|
|
17587
17685
|
Relationships: [];
|
|
17588
17686
|
};
|
|
17589
|
-
uren_facturen: {
|
|
17590
|
-
Row: {
|
|
17591
|
-
created_at: string;
|
|
17592
|
-
created_by: string | null;
|
|
17593
|
-
customer_id: string | null;
|
|
17594
|
-
customer_name: string | null;
|
|
17595
|
-
id: string;
|
|
17596
|
-
invoice_number: string | null;
|
|
17597
|
-
note: string | null;
|
|
17598
|
-
status: string;
|
|
17599
|
-
total_excl_cents: number;
|
|
17600
|
-
total_incl_cents: number;
|
|
17601
|
-
updated_at: string;
|
|
17602
|
-
vat_cents: number;
|
|
17603
|
-
vat_percentage: number;
|
|
17604
|
-
werkbon_id: string | null;
|
|
17605
|
-
};
|
|
17606
|
-
Insert: {
|
|
17607
|
-
created_at?: string;
|
|
17608
|
-
created_by?: string | null;
|
|
17609
|
-
customer_id?: string | null;
|
|
17610
|
-
customer_name?: string | null;
|
|
17611
|
-
id?: string;
|
|
17612
|
-
invoice_number?: string | null;
|
|
17613
|
-
note?: string | null;
|
|
17614
|
-
status?: string;
|
|
17615
|
-
total_excl_cents?: number;
|
|
17616
|
-
total_incl_cents?: number;
|
|
17617
|
-
updated_at?: string;
|
|
17618
|
-
vat_cents?: number;
|
|
17619
|
-
vat_percentage?: number;
|
|
17620
|
-
werkbon_id?: string | null;
|
|
17621
|
-
};
|
|
17622
|
-
Update: {
|
|
17623
|
-
created_at?: string;
|
|
17624
|
-
created_by?: string | null;
|
|
17625
|
-
customer_id?: string | null;
|
|
17626
|
-
customer_name?: string | null;
|
|
17627
|
-
id?: string;
|
|
17628
|
-
invoice_number?: string | null;
|
|
17629
|
-
note?: string | null;
|
|
17630
|
-
status?: string;
|
|
17631
|
-
total_excl_cents?: number;
|
|
17632
|
-
total_incl_cents?: number;
|
|
17633
|
-
updated_at?: string;
|
|
17634
|
-
vat_cents?: number;
|
|
17635
|
-
vat_percentage?: number;
|
|
17636
|
-
werkbon_id?: string | null;
|
|
17637
|
-
};
|
|
17638
|
-
Relationships: [
|
|
17639
|
-
{
|
|
17640
|
-
foreignKeyName: "uren_facturen_customer_id_fkey";
|
|
17641
|
-
columns: ["customer_id"];
|
|
17642
|
-
isOneToOne: false;
|
|
17643
|
-
referencedRelation: "itk_customers";
|
|
17644
|
-
referencedColumns: ["id"];
|
|
17645
|
-
},
|
|
17646
|
-
{
|
|
17647
|
-
foreignKeyName: "uren_facturen_werkbon_id_fkey";
|
|
17648
|
-
columns: ["werkbon_id"];
|
|
17649
|
-
isOneToOne: true;
|
|
17650
|
-
referencedRelation: "werkbonnen";
|
|
17651
|
-
referencedColumns: ["id"];
|
|
17652
|
-
}
|
|
17653
|
-
];
|
|
17654
|
-
};
|
|
17655
|
-
uren_factuur_regels: {
|
|
17656
|
-
Row: {
|
|
17657
|
-
created_at: string;
|
|
17658
|
-
description: string;
|
|
17659
|
-
factuur_id: string;
|
|
17660
|
-
id: string;
|
|
17661
|
-
kind: string | null;
|
|
17662
|
-
quantity: number;
|
|
17663
|
-
sort_order: number;
|
|
17664
|
-
total_cents: number;
|
|
17665
|
-
unit: string;
|
|
17666
|
-
unit_price_cents: number;
|
|
17667
|
-
};
|
|
17668
|
-
Insert: {
|
|
17669
|
-
created_at?: string;
|
|
17670
|
-
description: string;
|
|
17671
|
-
factuur_id: string;
|
|
17672
|
-
id?: string;
|
|
17673
|
-
kind?: string | null;
|
|
17674
|
-
quantity?: number;
|
|
17675
|
-
sort_order?: number;
|
|
17676
|
-
total_cents?: number;
|
|
17677
|
-
unit?: string;
|
|
17678
|
-
unit_price_cents?: number;
|
|
17679
|
-
};
|
|
17680
|
-
Update: {
|
|
17681
|
-
created_at?: string;
|
|
17682
|
-
description?: string;
|
|
17683
|
-
factuur_id?: string;
|
|
17684
|
-
id?: string;
|
|
17685
|
-
kind?: string | null;
|
|
17686
|
-
quantity?: number;
|
|
17687
|
-
sort_order?: number;
|
|
17688
|
-
total_cents?: number;
|
|
17689
|
-
unit?: string;
|
|
17690
|
-
unit_price_cents?: number;
|
|
17691
|
-
};
|
|
17692
|
-
Relationships: [
|
|
17693
|
-
{
|
|
17694
|
-
foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
|
|
17695
|
-
columns: ["factuur_id"];
|
|
17696
|
-
isOneToOne: false;
|
|
17697
|
-
referencedRelation: "uren_facturen";
|
|
17698
|
-
referencedColumns: ["id"];
|
|
17699
|
-
}
|
|
17700
|
-
];
|
|
17701
|
-
};
|
|
17702
17687
|
uren_offerte_regels: {
|
|
17703
17688
|
Row: {
|
|
17704
17689
|
created_at: string;
|
|
@@ -19581,6 +19566,119 @@ export type Database = {
|
|
|
19581
19566
|
};
|
|
19582
19567
|
Relationships: [];
|
|
19583
19568
|
};
|
|
19569
|
+
uren_facturen: {
|
|
19570
|
+
Row: {
|
|
19571
|
+
created_at: string | null;
|
|
19572
|
+
created_by: string | null;
|
|
19573
|
+
customer_id: string | null;
|
|
19574
|
+
customer_name: string | null;
|
|
19575
|
+
id: string | null;
|
|
19576
|
+
invoice_number: string | null;
|
|
19577
|
+
note: string | null;
|
|
19578
|
+
status: string | null;
|
|
19579
|
+
total_excl_cents: number | null;
|
|
19580
|
+
total_incl_cents: number | null;
|
|
19581
|
+
updated_at: string | null;
|
|
19582
|
+
vat_cents: number | null;
|
|
19583
|
+
vat_percentage: number | null;
|
|
19584
|
+
werkbon_id: string | null;
|
|
19585
|
+
};
|
|
19586
|
+
Insert: {
|
|
19587
|
+
created_at?: string | null;
|
|
19588
|
+
created_by?: string | null;
|
|
19589
|
+
customer_id?: string | null;
|
|
19590
|
+
customer_name?: string | null;
|
|
19591
|
+
id?: string | null;
|
|
19592
|
+
invoice_number?: string | null;
|
|
19593
|
+
note?: string | null;
|
|
19594
|
+
status?: string | null;
|
|
19595
|
+
total_excl_cents?: number | null;
|
|
19596
|
+
total_incl_cents?: number | null;
|
|
19597
|
+
updated_at?: string | null;
|
|
19598
|
+
vat_cents?: number | null;
|
|
19599
|
+
vat_percentage?: number | null;
|
|
19600
|
+
werkbon_id?: never;
|
|
19601
|
+
};
|
|
19602
|
+
Update: {
|
|
19603
|
+
created_at?: string | null;
|
|
19604
|
+
created_by?: string | null;
|
|
19605
|
+
customer_id?: string | null;
|
|
19606
|
+
customer_name?: string | null;
|
|
19607
|
+
id?: string | null;
|
|
19608
|
+
invoice_number?: string | null;
|
|
19609
|
+
note?: string | null;
|
|
19610
|
+
status?: string | null;
|
|
19611
|
+
total_excl_cents?: number | null;
|
|
19612
|
+
total_incl_cents?: number | null;
|
|
19613
|
+
updated_at?: string | null;
|
|
19614
|
+
vat_cents?: number | null;
|
|
19615
|
+
vat_percentage?: number | null;
|
|
19616
|
+
werkbon_id?: never;
|
|
19617
|
+
};
|
|
19618
|
+
Relationships: [
|
|
19619
|
+
{
|
|
19620
|
+
foreignKeyName: "invoices_customer_id_fkey";
|
|
19621
|
+
columns: ["customer_id"];
|
|
19622
|
+
isOneToOne: false;
|
|
19623
|
+
referencedRelation: "itk_customers";
|
|
19624
|
+
referencedColumns: ["id"];
|
|
19625
|
+
}
|
|
19626
|
+
];
|
|
19627
|
+
};
|
|
19628
|
+
uren_factuur_regels: {
|
|
19629
|
+
Row: {
|
|
19630
|
+
created_at: string | null;
|
|
19631
|
+
description: string | null;
|
|
19632
|
+
factuur_id: string | null;
|
|
19633
|
+
id: string | null;
|
|
19634
|
+
kind: string | null;
|
|
19635
|
+
quantity: number | null;
|
|
19636
|
+
sort_order: number | null;
|
|
19637
|
+
total_cents: number | null;
|
|
19638
|
+
unit: string | null;
|
|
19639
|
+
unit_price_cents: number | null;
|
|
19640
|
+
};
|
|
19641
|
+
Insert: {
|
|
19642
|
+
created_at?: string | null;
|
|
19643
|
+
description?: string | null;
|
|
19644
|
+
factuur_id?: string | null;
|
|
19645
|
+
id?: string | null;
|
|
19646
|
+
kind?: string | null;
|
|
19647
|
+
quantity?: number | null;
|
|
19648
|
+
sort_order?: number | null;
|
|
19649
|
+
total_cents?: number | null;
|
|
19650
|
+
unit?: string | null;
|
|
19651
|
+
unit_price_cents?: number | null;
|
|
19652
|
+
};
|
|
19653
|
+
Update: {
|
|
19654
|
+
created_at?: string | null;
|
|
19655
|
+
description?: string | null;
|
|
19656
|
+
factuur_id?: string | null;
|
|
19657
|
+
id?: string | null;
|
|
19658
|
+
kind?: string | null;
|
|
19659
|
+
quantity?: number | null;
|
|
19660
|
+
sort_order?: number | null;
|
|
19661
|
+
total_cents?: number | null;
|
|
19662
|
+
unit?: string | null;
|
|
19663
|
+
unit_price_cents?: number | null;
|
|
19664
|
+
};
|
|
19665
|
+
Relationships: [
|
|
19666
|
+
{
|
|
19667
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19668
|
+
columns: ["factuur_id"];
|
|
19669
|
+
isOneToOne: false;
|
|
19670
|
+
referencedRelation: "invoices";
|
|
19671
|
+
referencedColumns: ["id"];
|
|
19672
|
+
},
|
|
19673
|
+
{
|
|
19674
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19675
|
+
columns: ["factuur_id"];
|
|
19676
|
+
isOneToOne: false;
|
|
19677
|
+
referencedRelation: "uren_facturen";
|
|
19678
|
+
referencedColumns: ["id"];
|
|
19679
|
+
}
|
|
19680
|
+
];
|
|
19681
|
+
};
|
|
19584
19682
|
v_external_customers_exact: {
|
|
19585
19683
|
Row: {
|
|
19586
19684
|
account_number: string | null;
|
|
@@ -20817,6 +20915,46 @@ export type Database = {
|
|
|
20817
20915
|
Args: never;
|
|
20818
20916
|
Returns: boolean;
|
|
20819
20917
|
};
|
|
20918
|
+
invoice_create_from_source: {
|
|
20919
|
+
Args: {
|
|
20920
|
+
_payload?: Json;
|
|
20921
|
+
_source_id: string;
|
|
20922
|
+
_source_type: string;
|
|
20923
|
+
};
|
|
20924
|
+
Returns: Json;
|
|
20925
|
+
};
|
|
20926
|
+
invoice_get_billable_lines: {
|
|
20927
|
+
Args: {
|
|
20928
|
+
_invoice_id: string;
|
|
20929
|
+
};
|
|
20930
|
+
Returns: Json;
|
|
20931
|
+
};
|
|
20932
|
+
invoice_get_for_source: {
|
|
20933
|
+
Args: {
|
|
20934
|
+
_source_id: string;
|
|
20935
|
+
_source_type: string;
|
|
20936
|
+
};
|
|
20937
|
+
Returns: Json;
|
|
20938
|
+
};
|
|
20939
|
+
invoice_get_summary: {
|
|
20940
|
+
Args: {
|
|
20941
|
+
_invoice_id: string;
|
|
20942
|
+
};
|
|
20943
|
+
Returns: Json;
|
|
20944
|
+
};
|
|
20945
|
+
invoice_list_sources: {
|
|
20946
|
+
Args: {
|
|
20947
|
+
_limit?: number;
|
|
20948
|
+
_source_type?: string;
|
|
20949
|
+
};
|
|
20950
|
+
Returns: Json;
|
|
20951
|
+
};
|
|
20952
|
+
invoice_recalc_totals: {
|
|
20953
|
+
Args: {
|
|
20954
|
+
_invoice_id: string;
|
|
20955
|
+
};
|
|
20956
|
+
Returns: Json;
|
|
20957
|
+
};
|
|
20820
20958
|
is_authenticated: {
|
|
20821
20959
|
Args: never;
|
|
20822
20960
|
Returns: boolean;
|
|
@@ -22697,6 +22835,26 @@ export type Database = {
|
|
|
22697
22835
|
Args: never;
|
|
22698
22836
|
Returns: string;
|
|
22699
22837
|
};
|
|
22838
|
+
wo_create_from_source: {
|
|
22839
|
+
Args: {
|
|
22840
|
+
_payload?: Json;
|
|
22841
|
+
_source_id: string;
|
|
22842
|
+
_source_type: string;
|
|
22843
|
+
};
|
|
22844
|
+
Returns: string;
|
|
22845
|
+
};
|
|
22846
|
+
wo_get_billable_lines: {
|
|
22847
|
+
Args: {
|
|
22848
|
+
_work_order_id: string;
|
|
22849
|
+
};
|
|
22850
|
+
Returns: Json;
|
|
22851
|
+
};
|
|
22852
|
+
wo_get_summary: {
|
|
22853
|
+
Args: {
|
|
22854
|
+
_work_order_id: string;
|
|
22855
|
+
};
|
|
22856
|
+
Returns: Json;
|
|
22857
|
+
};
|
|
22700
22858
|
};
|
|
22701
22859
|
Enums: {
|
|
22702
22860
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|