@flowselections/offertes-installatie-techniek 1.21.2 → 1.21.3
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/client.d.ts +2 -2
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.js +3 -12
- package/dist-lib/integrations/supabase/types.d.ts +224 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SupabaseClient } from
|
|
2
|
-
import type { Database } from
|
|
1
|
+
import type { SupabaseClient } from "@supabase/supabase-js";
|
|
2
|
+
import type { Database } from "./types.js";
|
|
3
3
|
export declare const supabase: SupabaseClient<Database>;
|
|
4
4
|
//# sourceMappingURL=client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/integrations/supabase/client.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/integrations/supabase/client.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAI3C,eAAO,MAAM,QAAQ,EAAE,cAAc,CAAC,QAAQ,CAAuD,CAAC"}
|
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
//
|
|
2
|
-
import {
|
|
3
|
-
import { brokeredPreviewStorage } from './previewAuthStorage';
|
|
4
|
-
const SUPABASE_URL = "https://wieomvgjyxoerzndxnla.supabase.co";
|
|
5
|
-
const SUPABASE_PUBLISHABLE_KEY = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6IndpZW9tdmdqeXhvZXJ6bmR4bmxhIiwicm9sZSI6ImFub24iLCJpYXQiOjE3ODMwNzQzMDgsImV4cCI6MjA5ODY1MDMwOH0.uP3RBhvEMqCW61E-firCtlBGsgRyWY9BkLriF-yInho";
|
|
1
|
+
// Geen project-URL of sleutel in module-code: de client komt van @flowselections/core (env-gebaseerd, dezelfde sessie als de shell).
|
|
2
|
+
import { supabase as coreSupabase } from "@flowselections/core";
|
|
6
3
|
// Import the supabase client like this:
|
|
7
4
|
// import { supabase } from "../../integrations/supabase/client";
|
|
8
|
-
export const supabase =
|
|
9
|
-
auth: {
|
|
10
|
-
storage: brokeredPreviewStorage(),
|
|
11
|
-
persistSession: true,
|
|
12
|
-
autoRefreshToken: true,
|
|
13
|
-
}
|
|
14
|
-
});
|
|
5
|
+
export const supabase = coreSupabase;
|
|
@@ -11615,6 +11615,57 @@ export type Database = {
|
|
|
11615
11615
|
};
|
|
11616
11616
|
Relationships: [];
|
|
11617
11617
|
};
|
|
11618
|
+
logistics_auto_send: {
|
|
11619
|
+
Row: {
|
|
11620
|
+
attempts: number;
|
|
11621
|
+
cart_ids: string[];
|
|
11622
|
+
created_at: string;
|
|
11623
|
+
id: string;
|
|
11624
|
+
idempotency_key: string;
|
|
11625
|
+
last_http_status: number | null;
|
|
11626
|
+
locked_until: string | null;
|
|
11627
|
+
max_attempts: number;
|
|
11628
|
+
next_attempt_at: string;
|
|
11629
|
+
order_id: string;
|
|
11630
|
+
reason: string | null;
|
|
11631
|
+
sent_at: string | null;
|
|
11632
|
+
status: string;
|
|
11633
|
+
updated_at: string;
|
|
11634
|
+
};
|
|
11635
|
+
Insert: {
|
|
11636
|
+
attempts?: number;
|
|
11637
|
+
cart_ids?: string[];
|
|
11638
|
+
created_at?: string;
|
|
11639
|
+
id?: string;
|
|
11640
|
+
idempotency_key: string;
|
|
11641
|
+
last_http_status?: number | null;
|
|
11642
|
+
locked_until?: string | null;
|
|
11643
|
+
max_attempts?: number;
|
|
11644
|
+
next_attempt_at?: string;
|
|
11645
|
+
order_id: string;
|
|
11646
|
+
reason?: string | null;
|
|
11647
|
+
sent_at?: string | null;
|
|
11648
|
+
status?: string;
|
|
11649
|
+
updated_at?: string;
|
|
11650
|
+
};
|
|
11651
|
+
Update: {
|
|
11652
|
+
attempts?: number;
|
|
11653
|
+
cart_ids?: string[];
|
|
11654
|
+
created_at?: string;
|
|
11655
|
+
id?: string;
|
|
11656
|
+
idempotency_key?: string;
|
|
11657
|
+
last_http_status?: number | null;
|
|
11658
|
+
locked_until?: string | null;
|
|
11659
|
+
max_attempts?: number;
|
|
11660
|
+
next_attempt_at?: string;
|
|
11661
|
+
order_id?: string;
|
|
11662
|
+
reason?: string | null;
|
|
11663
|
+
sent_at?: string | null;
|
|
11664
|
+
status?: string;
|
|
11665
|
+
updated_at?: string;
|
|
11666
|
+
};
|
|
11667
|
+
Relationships: [];
|
|
11668
|
+
};
|
|
11618
11669
|
logistics_autolink_audit: {
|
|
11619
11670
|
Row: {
|
|
11620
11671
|
created_at: string;
|
|
@@ -18514,6 +18565,7 @@ export type Database = {
|
|
|
18514
18565
|
created_at: string;
|
|
18515
18566
|
default_end: string;
|
|
18516
18567
|
default_start: string;
|
|
18568
|
+
eigen_vervoer: boolean;
|
|
18517
18569
|
end_address: string | null;
|
|
18518
18570
|
home_address: string | null;
|
|
18519
18571
|
id: string;
|
|
@@ -18525,6 +18577,7 @@ export type Database = {
|
|
|
18525
18577
|
created_at?: string;
|
|
18526
18578
|
default_end?: string;
|
|
18527
18579
|
default_start?: string;
|
|
18580
|
+
eigen_vervoer?: boolean;
|
|
18528
18581
|
end_address?: string | null;
|
|
18529
18582
|
home_address?: string | null;
|
|
18530
18583
|
id?: string;
|
|
@@ -18536,6 +18589,7 @@ export type Database = {
|
|
|
18536
18589
|
created_at?: string;
|
|
18537
18590
|
default_end?: string;
|
|
18538
18591
|
default_start?: string;
|
|
18592
|
+
eigen_vervoer?: boolean;
|
|
18539
18593
|
end_address?: string | null;
|
|
18540
18594
|
home_address?: string | null;
|
|
18541
18595
|
id?: string;
|
|
@@ -26938,9 +26992,59 @@ export type Database = {
|
|
|
26938
26992
|
};
|
|
26939
26993
|
Relationships: [];
|
|
26940
26994
|
};
|
|
26995
|
+
werkbon_standby_tijdvakken: {
|
|
26996
|
+
Row: {
|
|
26997
|
+
created_at: string;
|
|
26998
|
+
datum: string;
|
|
26999
|
+
eind_tijd: string;
|
|
27000
|
+
id: string;
|
|
27001
|
+
monteur_id: string;
|
|
27002
|
+
start_tijd: string;
|
|
27003
|
+
updated_at: string;
|
|
27004
|
+
werkbon_id: string;
|
|
27005
|
+
};
|
|
27006
|
+
Insert: {
|
|
27007
|
+
created_at?: string;
|
|
27008
|
+
datum: string;
|
|
27009
|
+
eind_tijd: string;
|
|
27010
|
+
id?: string;
|
|
27011
|
+
monteur_id: string;
|
|
27012
|
+
start_tijd: string;
|
|
27013
|
+
updated_at?: string;
|
|
27014
|
+
werkbon_id: string;
|
|
27015
|
+
};
|
|
27016
|
+
Update: {
|
|
27017
|
+
created_at?: string;
|
|
27018
|
+
datum?: string;
|
|
27019
|
+
eind_tijd?: string;
|
|
27020
|
+
id?: string;
|
|
27021
|
+
monteur_id?: string;
|
|
27022
|
+
start_tijd?: string;
|
|
27023
|
+
updated_at?: string;
|
|
27024
|
+
werkbon_id?: string;
|
|
27025
|
+
};
|
|
27026
|
+
Relationships: [
|
|
27027
|
+
{
|
|
27028
|
+
foreignKeyName: "werkbon_standby_tijdvakken_werkbon_id_fkey";
|
|
27029
|
+
columns: ["werkbon_id"];
|
|
27030
|
+
isOneToOne: false;
|
|
27031
|
+
referencedRelation: "werkbonnen";
|
|
27032
|
+
referencedColumns: ["id"];
|
|
27033
|
+
},
|
|
27034
|
+
{
|
|
27035
|
+
foreignKeyName: "werkbon_standby_tijdvakken_werkbon_id_fkey";
|
|
27036
|
+
columns: ["werkbon_id"];
|
|
27037
|
+
isOneToOne: false;
|
|
27038
|
+
referencedRelation: "wo_overview";
|
|
27039
|
+
referencedColumns: ["id"];
|
|
27040
|
+
}
|
|
27041
|
+
];
|
|
27042
|
+
};
|
|
26941
27043
|
werkbon_time_logs: {
|
|
26942
27044
|
Row: {
|
|
26943
27045
|
activity: string;
|
|
27046
|
+
auto_stop_reason: string | null;
|
|
27047
|
+
auto_stopped: boolean;
|
|
26944
27048
|
created_at: string;
|
|
26945
27049
|
ended_at: string | null;
|
|
26946
27050
|
id: string;
|
|
@@ -26951,6 +27055,8 @@ export type Database = {
|
|
|
26951
27055
|
};
|
|
26952
27056
|
Insert: {
|
|
26953
27057
|
activity: string;
|
|
27058
|
+
auto_stop_reason?: string | null;
|
|
27059
|
+
auto_stopped?: boolean;
|
|
26954
27060
|
created_at?: string;
|
|
26955
27061
|
ended_at?: string | null;
|
|
26956
27062
|
id?: string;
|
|
@@ -26961,6 +27067,8 @@ export type Database = {
|
|
|
26961
27067
|
};
|
|
26962
27068
|
Update: {
|
|
26963
27069
|
activity?: string;
|
|
27070
|
+
auto_stop_reason?: string | null;
|
|
27071
|
+
auto_stopped?: boolean;
|
|
26964
27072
|
created_at?: string;
|
|
26965
27073
|
ended_at?: string | null;
|
|
26966
27074
|
id?: string;
|
|
@@ -30601,6 +30709,55 @@ export type Database = {
|
|
|
30601
30709
|
reason_code: string;
|
|
30602
30710
|
}[];
|
|
30603
30711
|
};
|
|
30712
|
+
logistics_auto_send_claim: {
|
|
30713
|
+
Args: {
|
|
30714
|
+
p_limit?: number;
|
|
30715
|
+
};
|
|
30716
|
+
Returns: {
|
|
30717
|
+
attempts: number;
|
|
30718
|
+
cart_ids: string[];
|
|
30719
|
+
created_at: string;
|
|
30720
|
+
id: string;
|
|
30721
|
+
idempotency_key: string;
|
|
30722
|
+
last_http_status: number | null;
|
|
30723
|
+
locked_until: string | null;
|
|
30724
|
+
max_attempts: number;
|
|
30725
|
+
next_attempt_at: string;
|
|
30726
|
+
order_id: string;
|
|
30727
|
+
reason: string | null;
|
|
30728
|
+
sent_at: string | null;
|
|
30729
|
+
status: string;
|
|
30730
|
+
updated_at: string;
|
|
30731
|
+
}[];
|
|
30732
|
+
SetofOptions: {
|
|
30733
|
+
from: "*";
|
|
30734
|
+
to: "logistics_auto_send";
|
|
30735
|
+
isOneToOne: false;
|
|
30736
|
+
isSetofReturn: true;
|
|
30737
|
+
};
|
|
30738
|
+
};
|
|
30739
|
+
logistics_auto_send_enqueue_for_order: {
|
|
30740
|
+
Args: {
|
|
30741
|
+
p_order_id: string;
|
|
30742
|
+
};
|
|
30743
|
+
Returns: boolean;
|
|
30744
|
+
};
|
|
30745
|
+
logistics_auto_send_finish: {
|
|
30746
|
+
Args: {
|
|
30747
|
+
p_config_missing?: boolean;
|
|
30748
|
+
p_http?: number;
|
|
30749
|
+
p_id: string;
|
|
30750
|
+
p_ok: boolean;
|
|
30751
|
+
p_reason: string;
|
|
30752
|
+
};
|
|
30753
|
+
Returns: Json;
|
|
30754
|
+
};
|
|
30755
|
+
logistics_auto_send_status: {
|
|
30756
|
+
Args: {
|
|
30757
|
+
p_order_id: string;
|
|
30758
|
+
};
|
|
30759
|
+
Returns: Json;
|
|
30760
|
+
};
|
|
30604
30761
|
logistics_backorder_allowed: {
|
|
30605
30762
|
Args: {
|
|
30606
30763
|
p_strategy_id?: string;
|
|
@@ -31942,6 +32099,10 @@ export type Database = {
|
|
|
31942
32099
|
};
|
|
31943
32100
|
Returns: Json;
|
|
31944
32101
|
};
|
|
32102
|
+
logistics_orphan_carts_summary: {
|
|
32103
|
+
Args: never;
|
|
32104
|
+
Returns: Json;
|
|
32105
|
+
};
|
|
31945
32106
|
logistics_packing_autofix: {
|
|
31946
32107
|
Args: {
|
|
31947
32108
|
p_limit?: number;
|
|
@@ -31999,6 +32160,16 @@ export type Database = {
|
|
|
31999
32160
|
};
|
|
32000
32161
|
Returns: boolean;
|
|
32001
32162
|
};
|
|
32163
|
+
logistics_pakbon_old_order_row: {
|
|
32164
|
+
Args: {
|
|
32165
|
+
p_ids: string[];
|
|
32166
|
+
};
|
|
32167
|
+
Returns: boolean;
|
|
32168
|
+
};
|
|
32169
|
+
logistics_pakbon_oude_orderregels: {
|
|
32170
|
+
Args: never;
|
|
32171
|
+
Returns: Json;
|
|
32172
|
+
};
|
|
32002
32173
|
logistics_parse_pickup: {
|
|
32003
32174
|
Args: {
|
|
32004
32175
|
p_value: string;
|
|
@@ -32564,6 +32735,12 @@ export type Database = {
|
|
|
32564
32735
|
};
|
|
32565
32736
|
Returns: string;
|
|
32566
32737
|
};
|
|
32738
|
+
logistics_reserved_order_excluded: {
|
|
32739
|
+
Args: {
|
|
32740
|
+
p_order_id: string;
|
|
32741
|
+
};
|
|
32742
|
+
Returns: boolean;
|
|
32743
|
+
};
|
|
32567
32744
|
logistics_reserved_stock_nightly: {
|
|
32568
32745
|
Args: never;
|
|
32569
32746
|
Returns: undefined;
|
|
@@ -34246,6 +34423,10 @@ export type Database = {
|
|
|
34246
34423
|
isSetofReturn: true;
|
|
34247
34424
|
};
|
|
34248
34425
|
};
|
|
34426
|
+
planning_mijn_eigen_vervoer: {
|
|
34427
|
+
Args: never;
|
|
34428
|
+
Returns: boolean;
|
|
34429
|
+
};
|
|
34249
34430
|
planning_set_assistants: {
|
|
34250
34431
|
Args: {
|
|
34251
34432
|
_monteur_ids: string[];
|
|
@@ -34284,6 +34465,12 @@ export type Database = {
|
|
|
34284
34465
|
};
|
|
34285
34466
|
Returns: boolean;
|
|
34286
34467
|
};
|
|
34468
|
+
print_is_labelprinter: {
|
|
34469
|
+
Args: {
|
|
34470
|
+
_printer_id: string;
|
|
34471
|
+
};
|
|
34472
|
+
Returns: boolean;
|
|
34473
|
+
};
|
|
34287
34474
|
print_job_status_uitgebreid: {
|
|
34288
34475
|
Args: {
|
|
34289
34476
|
_job_id: string;
|
|
@@ -35836,6 +36023,12 @@ export type Database = {
|
|
|
35836
36023
|
};
|
|
35837
36024
|
Returns: undefined;
|
|
35838
36025
|
};
|
|
36026
|
+
uren_overuren_intrekken: {
|
|
36027
|
+
Args: {
|
|
36028
|
+
_datum: string;
|
|
36029
|
+
};
|
|
36030
|
+
Returns: undefined;
|
|
36031
|
+
};
|
|
35839
36032
|
uren_pagina_toegang_instellen: {
|
|
35840
36033
|
Args: {
|
|
35841
36034
|
_toegang: boolean;
|
|
@@ -36239,6 +36432,13 @@ export type Database = {
|
|
|
36239
36432
|
Args: never;
|
|
36240
36433
|
Returns: Json;
|
|
36241
36434
|
};
|
|
36435
|
+
wo_boek_standby_tijdvakken: {
|
|
36436
|
+
Args: {
|
|
36437
|
+
_tijdvakken: Json;
|
|
36438
|
+
_werkbon_id: string;
|
|
36439
|
+
};
|
|
36440
|
+
Returns: Json;
|
|
36441
|
+
};
|
|
36242
36442
|
wo_boek_standby_uren: {
|
|
36243
36443
|
Args: {
|
|
36244
36444
|
_datum: string;
|
|
@@ -36354,6 +36554,30 @@ export type Database = {
|
|
|
36354
36554
|
};
|
|
36355
36555
|
Returns: Json;
|
|
36356
36556
|
};
|
|
36557
|
+
wo_standby_dag_herberekenen: {
|
|
36558
|
+
Args: {
|
|
36559
|
+
_datum: string;
|
|
36560
|
+
_monteur: string;
|
|
36561
|
+
};
|
|
36562
|
+
Returns: Json;
|
|
36563
|
+
};
|
|
36564
|
+
wo_standby_ov_dag: {
|
|
36565
|
+
Args: {
|
|
36566
|
+
_dienst: Json;
|
|
36567
|
+
_dow: number;
|
|
36568
|
+
_feest: boolean;
|
|
36569
|
+
_vakken: Json;
|
|
36570
|
+
};
|
|
36571
|
+
Returns: Json;
|
|
36572
|
+
};
|
|
36573
|
+
wo_standby_tijdzone: {
|
|
36574
|
+
Args: never;
|
|
36575
|
+
Returns: string;
|
|
36576
|
+
};
|
|
36577
|
+
wo_timer_stop_0400: {
|
|
36578
|
+
Args: never;
|
|
36579
|
+
Returns: number;
|
|
36580
|
+
};
|
|
36357
36581
|
};
|
|
36358
36582
|
Enums: {
|
|
36359
36583
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|