@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
|
@@ -5044,42 +5044,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
5044
5044
|
};
|
|
5045
5045
|
Relationships: [];
|
|
5046
5046
|
};
|
|
5047
|
-
facturen: {
|
|
5048
|
-
Row: {
|
|
5049
|
-
bedrag_incl_btw: number;
|
|
5050
|
-
created_at: string;
|
|
5051
|
-
datum: string;
|
|
5052
|
-
factuurnummer: string;
|
|
5053
|
-
id: string;
|
|
5054
|
-
klantnaam: string;
|
|
5055
|
-
status: string;
|
|
5056
|
-
updated_at: string;
|
|
5057
|
-
user_id: string;
|
|
5058
|
-
};
|
|
5059
|
-
Insert: {
|
|
5060
|
-
bedrag_incl_btw: number;
|
|
5061
|
-
created_at?: string;
|
|
5062
|
-
datum?: string;
|
|
5063
|
-
factuurnummer: string;
|
|
5064
|
-
id?: string;
|
|
5065
|
-
klantnaam: string;
|
|
5066
|
-
status?: string;
|
|
5067
|
-
updated_at?: string;
|
|
5068
|
-
user_id?: string;
|
|
5069
|
-
};
|
|
5070
|
-
Update: {
|
|
5071
|
-
bedrag_incl_btw?: number;
|
|
5072
|
-
created_at?: string;
|
|
5073
|
-
datum?: string;
|
|
5074
|
-
factuurnummer?: string;
|
|
5075
|
-
id?: string;
|
|
5076
|
-
klantnaam?: string;
|
|
5077
|
-
status?: string;
|
|
5078
|
-
updated_at?: string;
|
|
5079
|
-
user_id?: string;
|
|
5080
|
-
};
|
|
5081
|
-
Relationships: [];
|
|
5082
|
-
};
|
|
5083
5047
|
floricode_connection_settings: {
|
|
5084
5048
|
Row: {
|
|
5085
5049
|
catalog_key: string | null;
|
|
@@ -7384,6 +7348,60 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7384
7348
|
};
|
|
7385
7349
|
Relationships: [];
|
|
7386
7350
|
};
|
|
7351
|
+
invoice_items: {
|
|
7352
|
+
Row: {
|
|
7353
|
+
created_at: string;
|
|
7354
|
+
description: string;
|
|
7355
|
+
id: string;
|
|
7356
|
+
invoice_id: string;
|
|
7357
|
+
kind: string;
|
|
7358
|
+
quantity: number;
|
|
7359
|
+
sort_order: number;
|
|
7360
|
+
source_line_ref: string | null;
|
|
7361
|
+
total_cents: number;
|
|
7362
|
+
unit: string;
|
|
7363
|
+
unit_price_cents: number;
|
|
7364
|
+
};
|
|
7365
|
+
Insert: {
|
|
7366
|
+
created_at?: string;
|
|
7367
|
+
description?: string;
|
|
7368
|
+
id?: string;
|
|
7369
|
+
invoice_id: string;
|
|
7370
|
+
kind?: string;
|
|
7371
|
+
quantity?: number;
|
|
7372
|
+
sort_order?: number;
|
|
7373
|
+
source_line_ref?: string | null;
|
|
7374
|
+
total_cents?: number;
|
|
7375
|
+
unit?: string;
|
|
7376
|
+
unit_price_cents?: number;
|
|
7377
|
+
};
|
|
7378
|
+
Update: {
|
|
7379
|
+
created_at?: string;
|
|
7380
|
+
description?: string;
|
|
7381
|
+
id?: string;
|
|
7382
|
+
invoice_id?: string;
|
|
7383
|
+
kind?: string;
|
|
7384
|
+
quantity?: number;
|
|
7385
|
+
sort_order?: number;
|
|
7386
|
+
source_line_ref?: string | null;
|
|
7387
|
+
total_cents?: number;
|
|
7388
|
+
unit?: string;
|
|
7389
|
+
unit_price_cents?: number;
|
|
7390
|
+
};
|
|
7391
|
+
Relationships: [{
|
|
7392
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
7393
|
+
columns: ["invoice_id"];
|
|
7394
|
+
isOneToOne: false;
|
|
7395
|
+
referencedRelation: "invoices";
|
|
7396
|
+
referencedColumns: ["id"];
|
|
7397
|
+
}, {
|
|
7398
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
7399
|
+
columns: ["invoice_id"];
|
|
7400
|
+
isOneToOne: false;
|
|
7401
|
+
referencedRelation: "uren_facturen";
|
|
7402
|
+
referencedColumns: ["id"];
|
|
7403
|
+
}];
|
|
7404
|
+
};
|
|
7387
7405
|
invoice_post_idempotency: {
|
|
7388
7406
|
Row: {
|
|
7389
7407
|
client_request_id: string;
|
|
@@ -7609,6 +7627,75 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7609
7627
|
};
|
|
7610
7628
|
Relationships: [];
|
|
7611
7629
|
};
|
|
7630
|
+
invoices: {
|
|
7631
|
+
Row: {
|
|
7632
|
+
created_at: string;
|
|
7633
|
+
created_by: string | null;
|
|
7634
|
+
customer_id: string | null;
|
|
7635
|
+
customer_name: string | null;
|
|
7636
|
+
due_date: string | null;
|
|
7637
|
+
id: string;
|
|
7638
|
+
invoice_date: string;
|
|
7639
|
+
invoice_number: string | null;
|
|
7640
|
+
note: string | null;
|
|
7641
|
+
source_number: string | null;
|
|
7642
|
+
source_ref: string | null;
|
|
7643
|
+
source_type: string;
|
|
7644
|
+
status: string;
|
|
7645
|
+
subtotal_cents: number;
|
|
7646
|
+
total_cents: number;
|
|
7647
|
+
updated_at: string;
|
|
7648
|
+
vat_cents: number;
|
|
7649
|
+
vat_rate: number;
|
|
7650
|
+
};
|
|
7651
|
+
Insert: {
|
|
7652
|
+
created_at?: string;
|
|
7653
|
+
created_by?: string | null;
|
|
7654
|
+
customer_id?: string | null;
|
|
7655
|
+
customer_name?: string | null;
|
|
7656
|
+
due_date?: string | null;
|
|
7657
|
+
id?: string;
|
|
7658
|
+
invoice_date?: string;
|
|
7659
|
+
invoice_number?: string | null;
|
|
7660
|
+
note?: string | null;
|
|
7661
|
+
source_number?: string | null;
|
|
7662
|
+
source_ref?: string | null;
|
|
7663
|
+
source_type?: string;
|
|
7664
|
+
status?: string;
|
|
7665
|
+
subtotal_cents?: number;
|
|
7666
|
+
total_cents?: number;
|
|
7667
|
+
updated_at?: string;
|
|
7668
|
+
vat_cents?: number;
|
|
7669
|
+
vat_rate?: number;
|
|
7670
|
+
};
|
|
7671
|
+
Update: {
|
|
7672
|
+
created_at?: string;
|
|
7673
|
+
created_by?: string | null;
|
|
7674
|
+
customer_id?: string | null;
|
|
7675
|
+
customer_name?: string | null;
|
|
7676
|
+
due_date?: string | null;
|
|
7677
|
+
id?: string;
|
|
7678
|
+
invoice_date?: string;
|
|
7679
|
+
invoice_number?: string | null;
|
|
7680
|
+
note?: string | null;
|
|
7681
|
+
source_number?: string | null;
|
|
7682
|
+
source_ref?: string | null;
|
|
7683
|
+
source_type?: string;
|
|
7684
|
+
status?: string;
|
|
7685
|
+
subtotal_cents?: number;
|
|
7686
|
+
total_cents?: number;
|
|
7687
|
+
updated_at?: string;
|
|
7688
|
+
vat_cents?: number;
|
|
7689
|
+
vat_rate?: number;
|
|
7690
|
+
};
|
|
7691
|
+
Relationships: [{
|
|
7692
|
+
foreignKeyName: "invoices_customer_id_fkey";
|
|
7693
|
+
columns: ["customer_id"];
|
|
7694
|
+
isOneToOne: false;
|
|
7695
|
+
referencedRelation: "itk_customers";
|
|
7696
|
+
referencedColumns: ["id"];
|
|
7697
|
+
}];
|
|
7698
|
+
};
|
|
7612
7699
|
itk_contact_persons: {
|
|
7613
7700
|
Row: {
|
|
7614
7701
|
created_at: string;
|
|
@@ -11779,6 +11866,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11779
11866
|
orders: {
|
|
11780
11867
|
Row: {
|
|
11781
11868
|
buffer_id: string | null;
|
|
11869
|
+
cancel_reason: string | null;
|
|
11870
|
+
cancelled_at: string | null;
|
|
11782
11871
|
created_at: string;
|
|
11783
11872
|
custom_fields: import("./types").Json;
|
|
11784
11873
|
customer_id: string | null;
|
|
@@ -11801,6 +11890,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11801
11890
|
};
|
|
11802
11891
|
Insert: {
|
|
11803
11892
|
buffer_id?: string | null;
|
|
11893
|
+
cancel_reason?: string | null;
|
|
11894
|
+
cancelled_at?: string | null;
|
|
11804
11895
|
created_at?: string;
|
|
11805
11896
|
custom_fields?: import("./types").Json;
|
|
11806
11897
|
customer_id?: string | null;
|
|
@@ -11823,6 +11914,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11823
11914
|
};
|
|
11824
11915
|
Update: {
|
|
11825
11916
|
buffer_id?: string | null;
|
|
11917
|
+
cancel_reason?: string | null;
|
|
11918
|
+
cancelled_at?: string | null;
|
|
11826
11919
|
created_at?: string;
|
|
11827
11920
|
custom_fields?: import("./types").Json;
|
|
11828
11921
|
customer_id?: string | null;
|
|
@@ -17107,114 +17200,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17107
17200
|
};
|
|
17108
17201
|
Relationships: [];
|
|
17109
17202
|
};
|
|
17110
|
-
uren_facturen: {
|
|
17111
|
-
Row: {
|
|
17112
|
-
created_at: string;
|
|
17113
|
-
created_by: string | null;
|
|
17114
|
-
customer_id: string | null;
|
|
17115
|
-
customer_name: string | null;
|
|
17116
|
-
id: string;
|
|
17117
|
-
invoice_number: string | null;
|
|
17118
|
-
note: string | null;
|
|
17119
|
-
status: string;
|
|
17120
|
-
total_excl_cents: number;
|
|
17121
|
-
total_incl_cents: number;
|
|
17122
|
-
updated_at: string;
|
|
17123
|
-
vat_cents: number;
|
|
17124
|
-
vat_percentage: number;
|
|
17125
|
-
werkbon_id: string | null;
|
|
17126
|
-
};
|
|
17127
|
-
Insert: {
|
|
17128
|
-
created_at?: string;
|
|
17129
|
-
created_by?: string | null;
|
|
17130
|
-
customer_id?: string | null;
|
|
17131
|
-
customer_name?: string | null;
|
|
17132
|
-
id?: string;
|
|
17133
|
-
invoice_number?: string | null;
|
|
17134
|
-
note?: string | null;
|
|
17135
|
-
status?: string;
|
|
17136
|
-
total_excl_cents?: number;
|
|
17137
|
-
total_incl_cents?: number;
|
|
17138
|
-
updated_at?: string;
|
|
17139
|
-
vat_cents?: number;
|
|
17140
|
-
vat_percentage?: number;
|
|
17141
|
-
werkbon_id?: string | null;
|
|
17142
|
-
};
|
|
17143
|
-
Update: {
|
|
17144
|
-
created_at?: string;
|
|
17145
|
-
created_by?: string | null;
|
|
17146
|
-
customer_id?: string | null;
|
|
17147
|
-
customer_name?: string | null;
|
|
17148
|
-
id?: string;
|
|
17149
|
-
invoice_number?: string | null;
|
|
17150
|
-
note?: string | null;
|
|
17151
|
-
status?: string;
|
|
17152
|
-
total_excl_cents?: number;
|
|
17153
|
-
total_incl_cents?: number;
|
|
17154
|
-
updated_at?: string;
|
|
17155
|
-
vat_cents?: number;
|
|
17156
|
-
vat_percentage?: number;
|
|
17157
|
-
werkbon_id?: string | null;
|
|
17158
|
-
};
|
|
17159
|
-
Relationships: [{
|
|
17160
|
-
foreignKeyName: "uren_facturen_customer_id_fkey";
|
|
17161
|
-
columns: ["customer_id"];
|
|
17162
|
-
isOneToOne: false;
|
|
17163
|
-
referencedRelation: "itk_customers";
|
|
17164
|
-
referencedColumns: ["id"];
|
|
17165
|
-
}, {
|
|
17166
|
-
foreignKeyName: "uren_facturen_werkbon_id_fkey";
|
|
17167
|
-
columns: ["werkbon_id"];
|
|
17168
|
-
isOneToOne: true;
|
|
17169
|
-
referencedRelation: "werkbonnen";
|
|
17170
|
-
referencedColumns: ["id"];
|
|
17171
|
-
}];
|
|
17172
|
-
};
|
|
17173
|
-
uren_factuur_regels: {
|
|
17174
|
-
Row: {
|
|
17175
|
-
created_at: string;
|
|
17176
|
-
description: string;
|
|
17177
|
-
factuur_id: string;
|
|
17178
|
-
id: string;
|
|
17179
|
-
kind: string | null;
|
|
17180
|
-
quantity: number;
|
|
17181
|
-
sort_order: number;
|
|
17182
|
-
total_cents: number;
|
|
17183
|
-
unit: string;
|
|
17184
|
-
unit_price_cents: number;
|
|
17185
|
-
};
|
|
17186
|
-
Insert: {
|
|
17187
|
-
created_at?: string;
|
|
17188
|
-
description: string;
|
|
17189
|
-
factuur_id: string;
|
|
17190
|
-
id?: string;
|
|
17191
|
-
kind?: string | null;
|
|
17192
|
-
quantity?: number;
|
|
17193
|
-
sort_order?: number;
|
|
17194
|
-
total_cents?: number;
|
|
17195
|
-
unit?: string;
|
|
17196
|
-
unit_price_cents?: number;
|
|
17197
|
-
};
|
|
17198
|
-
Update: {
|
|
17199
|
-
created_at?: string;
|
|
17200
|
-
description?: string;
|
|
17201
|
-
factuur_id?: string;
|
|
17202
|
-
id?: string;
|
|
17203
|
-
kind?: string | null;
|
|
17204
|
-
quantity?: number;
|
|
17205
|
-
sort_order?: number;
|
|
17206
|
-
total_cents?: number;
|
|
17207
|
-
unit?: string;
|
|
17208
|
-
unit_price_cents?: number;
|
|
17209
|
-
};
|
|
17210
|
-
Relationships: [{
|
|
17211
|
-
foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
|
|
17212
|
-
columns: ["factuur_id"];
|
|
17213
|
-
isOneToOne: false;
|
|
17214
|
-
referencedRelation: "uren_facturen";
|
|
17215
|
-
referencedColumns: ["id"];
|
|
17216
|
-
}];
|
|
17217
|
-
};
|
|
17218
17203
|
uren_offerte_regels: {
|
|
17219
17204
|
Row: {
|
|
17220
17205
|
created_at: string;
|
|
@@ -19054,6 +19039,114 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19054
19039
|
};
|
|
19055
19040
|
Relationships: [];
|
|
19056
19041
|
};
|
|
19042
|
+
uren_facturen: {
|
|
19043
|
+
Row: {
|
|
19044
|
+
created_at: string | null;
|
|
19045
|
+
created_by: string | null;
|
|
19046
|
+
customer_id: string | null;
|
|
19047
|
+
customer_name: string | null;
|
|
19048
|
+
id: string | null;
|
|
19049
|
+
invoice_number: string | null;
|
|
19050
|
+
note: string | null;
|
|
19051
|
+
status: string | null;
|
|
19052
|
+
total_excl_cents: number | null;
|
|
19053
|
+
total_incl_cents: number | null;
|
|
19054
|
+
updated_at: string | null;
|
|
19055
|
+
vat_cents: number | null;
|
|
19056
|
+
vat_percentage: number | null;
|
|
19057
|
+
werkbon_id: string | null;
|
|
19058
|
+
};
|
|
19059
|
+
Insert: {
|
|
19060
|
+
created_at?: string | null;
|
|
19061
|
+
created_by?: string | null;
|
|
19062
|
+
customer_id?: string | null;
|
|
19063
|
+
customer_name?: string | null;
|
|
19064
|
+
id?: string | null;
|
|
19065
|
+
invoice_number?: string | null;
|
|
19066
|
+
note?: string | null;
|
|
19067
|
+
status?: string | null;
|
|
19068
|
+
total_excl_cents?: number | null;
|
|
19069
|
+
total_incl_cents?: number | null;
|
|
19070
|
+
updated_at?: string | null;
|
|
19071
|
+
vat_cents?: number | null;
|
|
19072
|
+
vat_percentage?: number | null;
|
|
19073
|
+
werkbon_id?: never;
|
|
19074
|
+
};
|
|
19075
|
+
Update: {
|
|
19076
|
+
created_at?: string | null;
|
|
19077
|
+
created_by?: string | null;
|
|
19078
|
+
customer_id?: string | null;
|
|
19079
|
+
customer_name?: string | null;
|
|
19080
|
+
id?: string | null;
|
|
19081
|
+
invoice_number?: string | null;
|
|
19082
|
+
note?: string | null;
|
|
19083
|
+
status?: string | null;
|
|
19084
|
+
total_excl_cents?: number | null;
|
|
19085
|
+
total_incl_cents?: number | null;
|
|
19086
|
+
updated_at?: string | null;
|
|
19087
|
+
vat_cents?: number | null;
|
|
19088
|
+
vat_percentage?: number | null;
|
|
19089
|
+
werkbon_id?: never;
|
|
19090
|
+
};
|
|
19091
|
+
Relationships: [{
|
|
19092
|
+
foreignKeyName: "invoices_customer_id_fkey";
|
|
19093
|
+
columns: ["customer_id"];
|
|
19094
|
+
isOneToOne: false;
|
|
19095
|
+
referencedRelation: "itk_customers";
|
|
19096
|
+
referencedColumns: ["id"];
|
|
19097
|
+
}];
|
|
19098
|
+
};
|
|
19099
|
+
uren_factuur_regels: {
|
|
19100
|
+
Row: {
|
|
19101
|
+
created_at: string | null;
|
|
19102
|
+
description: string | null;
|
|
19103
|
+
factuur_id: string | null;
|
|
19104
|
+
id: string | null;
|
|
19105
|
+
kind: string | null;
|
|
19106
|
+
quantity: number | null;
|
|
19107
|
+
sort_order: number | null;
|
|
19108
|
+
total_cents: number | null;
|
|
19109
|
+
unit: string | null;
|
|
19110
|
+
unit_price_cents: number | null;
|
|
19111
|
+
};
|
|
19112
|
+
Insert: {
|
|
19113
|
+
created_at?: string | null;
|
|
19114
|
+
description?: string | null;
|
|
19115
|
+
factuur_id?: string | null;
|
|
19116
|
+
id?: string | null;
|
|
19117
|
+
kind?: string | null;
|
|
19118
|
+
quantity?: number | null;
|
|
19119
|
+
sort_order?: number | null;
|
|
19120
|
+
total_cents?: number | null;
|
|
19121
|
+
unit?: string | null;
|
|
19122
|
+
unit_price_cents?: number | null;
|
|
19123
|
+
};
|
|
19124
|
+
Update: {
|
|
19125
|
+
created_at?: string | null;
|
|
19126
|
+
description?: string | null;
|
|
19127
|
+
factuur_id?: string | null;
|
|
19128
|
+
id?: string | null;
|
|
19129
|
+
kind?: string | null;
|
|
19130
|
+
quantity?: number | null;
|
|
19131
|
+
sort_order?: number | null;
|
|
19132
|
+
total_cents?: number | null;
|
|
19133
|
+
unit?: string | null;
|
|
19134
|
+
unit_price_cents?: number | null;
|
|
19135
|
+
};
|
|
19136
|
+
Relationships: [{
|
|
19137
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19138
|
+
columns: ["factuur_id"];
|
|
19139
|
+
isOneToOne: false;
|
|
19140
|
+
referencedRelation: "invoices";
|
|
19141
|
+
referencedColumns: ["id"];
|
|
19142
|
+
}, {
|
|
19143
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19144
|
+
columns: ["factuur_id"];
|
|
19145
|
+
isOneToOne: false;
|
|
19146
|
+
referencedRelation: "uren_facturen";
|
|
19147
|
+
referencedColumns: ["id"];
|
|
19148
|
+
}];
|
|
19149
|
+
};
|
|
19057
19150
|
v_external_customers_exact: {
|
|
19058
19151
|
Row: {
|
|
19059
19152
|
account_number: string | null;
|
|
@@ -20280,6 +20373,46 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20280
20373
|
Args: never;
|
|
20281
20374
|
Returns: boolean;
|
|
20282
20375
|
};
|
|
20376
|
+
invoice_create_from_source: {
|
|
20377
|
+
Args: {
|
|
20378
|
+
_payload?: import("./types").Json;
|
|
20379
|
+
_source_id: string;
|
|
20380
|
+
_source_type: string;
|
|
20381
|
+
};
|
|
20382
|
+
Returns: import("./types").Json;
|
|
20383
|
+
};
|
|
20384
|
+
invoice_get_billable_lines: {
|
|
20385
|
+
Args: {
|
|
20386
|
+
_invoice_id: string;
|
|
20387
|
+
};
|
|
20388
|
+
Returns: import("./types").Json;
|
|
20389
|
+
};
|
|
20390
|
+
invoice_get_for_source: {
|
|
20391
|
+
Args: {
|
|
20392
|
+
_source_id: string;
|
|
20393
|
+
_source_type: string;
|
|
20394
|
+
};
|
|
20395
|
+
Returns: import("./types").Json;
|
|
20396
|
+
};
|
|
20397
|
+
invoice_get_summary: {
|
|
20398
|
+
Args: {
|
|
20399
|
+
_invoice_id: string;
|
|
20400
|
+
};
|
|
20401
|
+
Returns: import("./types").Json;
|
|
20402
|
+
};
|
|
20403
|
+
invoice_list_sources: {
|
|
20404
|
+
Args: {
|
|
20405
|
+
_limit?: number;
|
|
20406
|
+
_source_type?: string;
|
|
20407
|
+
};
|
|
20408
|
+
Returns: import("./types").Json;
|
|
20409
|
+
};
|
|
20410
|
+
invoice_recalc_totals: {
|
|
20411
|
+
Args: {
|
|
20412
|
+
_invoice_id: string;
|
|
20413
|
+
};
|
|
20414
|
+
Returns: import("./types").Json;
|
|
20415
|
+
};
|
|
20283
20416
|
is_authenticated: {
|
|
20284
20417
|
Args: never;
|
|
20285
20418
|
Returns: boolean;
|
|
@@ -22160,6 +22293,26 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
22160
22293
|
Args: never;
|
|
22161
22294
|
Returns: string;
|
|
22162
22295
|
};
|
|
22296
|
+
wo_create_from_source: {
|
|
22297
|
+
Args: {
|
|
22298
|
+
_payload?: import("./types").Json;
|
|
22299
|
+
_source_id: string;
|
|
22300
|
+
_source_type: string;
|
|
22301
|
+
};
|
|
22302
|
+
Returns: string;
|
|
22303
|
+
};
|
|
22304
|
+
wo_get_billable_lines: {
|
|
22305
|
+
Args: {
|
|
22306
|
+
_work_order_id: string;
|
|
22307
|
+
};
|
|
22308
|
+
Returns: import("./types").Json;
|
|
22309
|
+
};
|
|
22310
|
+
wo_get_summary: {
|
|
22311
|
+
Args: {
|
|
22312
|
+
_work_order_id: string;
|
|
22313
|
+
};
|
|
22314
|
+
Returns: import("./types").Json;
|
|
22315
|
+
};
|
|
22163
22316
|
};
|
|
22164
22317
|
Enums: {
|
|
22165
22318
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|