@flowselections/logistiek-engine 1.0.234 → 1.0.236
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/db/schema/logistiek-engine.sql +16 -0
- package/dist-lib/integrations/supabase/client.js +1 -1
- package/dist-lib/integrations/supabase/client.server.js +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +664 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/autoSend.functions.js +3 -3
- package/dist-lib/lib/cartCoverage.functions.js +1 -1
- package/dist-lib/lib/floridayDocuments.functions.js +1 -1
- package/dist-lib/lib/floridayPush.functions.js +1 -1
- package/dist-lib/lib/loadCarrierPlanning.functions.js +1 -1
- package/dist-lib/lib/logisticsRecalcJob.functions.js +1 -1
- package/dist-lib/lib/logisticsRecalculate.functions.js +2 -2
- package/dist-lib/lib/moduleVersion.d.ts +1 -1
- package/dist-lib/lib/moduleVersion.js +1 -1
- package/dist-lib/lib/planPreview.functions.js +1 -1
- package/dist-lib/lib/plannerDiff.functions.js +1 -1
- package/dist-lib/lib/shellAdres.functions.js +2 -2
- package/package.json +1 -1
|
@@ -3090,6 +3090,30 @@ export type Database = {
|
|
|
3090
3090
|
}
|
|
3091
3091
|
];
|
|
3092
3092
|
};
|
|
3093
|
+
dashboard_ai_settings: {
|
|
3094
|
+
Row: {
|
|
3095
|
+
created_at: string;
|
|
3096
|
+
key: string;
|
|
3097
|
+
settings: Json;
|
|
3098
|
+
updated_at: string;
|
|
3099
|
+
updated_by: string | null;
|
|
3100
|
+
};
|
|
3101
|
+
Insert: {
|
|
3102
|
+
created_at?: string;
|
|
3103
|
+
key?: string;
|
|
3104
|
+
settings?: Json;
|
|
3105
|
+
updated_at?: string;
|
|
3106
|
+
updated_by?: string | null;
|
|
3107
|
+
};
|
|
3108
|
+
Update: {
|
|
3109
|
+
created_at?: string;
|
|
3110
|
+
key?: string;
|
|
3111
|
+
settings?: Json;
|
|
3112
|
+
updated_at?: string;
|
|
3113
|
+
updated_by?: string | null;
|
|
3114
|
+
};
|
|
3115
|
+
Relationships: [];
|
|
3116
|
+
};
|
|
3093
3117
|
dashboard_alert_events: {
|
|
3094
3118
|
Row: {
|
|
3095
3119
|
acknowledged: boolean;
|
|
@@ -4321,37 +4345,49 @@ export type Database = {
|
|
|
4321
4345
|
};
|
|
4322
4346
|
email_auth_events: {
|
|
4323
4347
|
Row: {
|
|
4348
|
+
attachments_purged_at: string | null;
|
|
4324
4349
|
connection_id: string;
|
|
4325
4350
|
consumed_at: string | null;
|
|
4326
4351
|
created_at: string;
|
|
4327
4352
|
event_type: string;
|
|
4328
4353
|
external_id: string | null;
|
|
4354
|
+
folder_id: string | null;
|
|
4355
|
+
folder_name: string | null;
|
|
4329
4356
|
id: string;
|
|
4330
4357
|
payload: Json;
|
|
4331
4358
|
provider: string;
|
|
4332
4359
|
received_at: string;
|
|
4360
|
+
subscription_id: string | null;
|
|
4333
4361
|
};
|
|
4334
4362
|
Insert: {
|
|
4363
|
+
attachments_purged_at?: string | null;
|
|
4335
4364
|
connection_id: string;
|
|
4336
4365
|
consumed_at?: string | null;
|
|
4337
4366
|
created_at?: string;
|
|
4338
4367
|
event_type: string;
|
|
4339
4368
|
external_id?: string | null;
|
|
4369
|
+
folder_id?: string | null;
|
|
4370
|
+
folder_name?: string | null;
|
|
4340
4371
|
id?: string;
|
|
4341
4372
|
payload?: Json;
|
|
4342
4373
|
provider: string;
|
|
4343
4374
|
received_at?: string;
|
|
4375
|
+
subscription_id?: string | null;
|
|
4344
4376
|
};
|
|
4345
4377
|
Update: {
|
|
4378
|
+
attachments_purged_at?: string | null;
|
|
4346
4379
|
connection_id?: string;
|
|
4347
4380
|
consumed_at?: string | null;
|
|
4348
4381
|
created_at?: string;
|
|
4349
4382
|
event_type?: string;
|
|
4350
4383
|
external_id?: string | null;
|
|
4384
|
+
folder_id?: string | null;
|
|
4385
|
+
folder_name?: string | null;
|
|
4351
4386
|
id?: string;
|
|
4352
4387
|
payload?: Json;
|
|
4353
4388
|
provider?: string;
|
|
4354
4389
|
received_at?: string;
|
|
4390
|
+
subscription_id?: string | null;
|
|
4355
4391
|
};
|
|
4356
4392
|
Relationships: [
|
|
4357
4393
|
{
|
|
@@ -7093,6 +7129,50 @@ export type Database = {
|
|
|
7093
7129
|
}
|
|
7094
7130
|
];
|
|
7095
7131
|
};
|
|
7132
|
+
floriday_auction_warehouses_cache: {
|
|
7133
|
+
Row: {
|
|
7134
|
+
connection_id: string;
|
|
7135
|
+
data: Json | null;
|
|
7136
|
+
fetched_at: string;
|
|
7137
|
+
floriday_id: string;
|
|
7138
|
+
gln_code: string | null;
|
|
7139
|
+
id: string;
|
|
7140
|
+
is_deleted: boolean;
|
|
7141
|
+
name: string | null;
|
|
7142
|
+
updated_at: string;
|
|
7143
|
+
};
|
|
7144
|
+
Insert: {
|
|
7145
|
+
connection_id: string;
|
|
7146
|
+
data?: Json | null;
|
|
7147
|
+
fetched_at?: string;
|
|
7148
|
+
floriday_id: string;
|
|
7149
|
+
gln_code?: string | null;
|
|
7150
|
+
id?: string;
|
|
7151
|
+
is_deleted?: boolean;
|
|
7152
|
+
name?: string | null;
|
|
7153
|
+
updated_at?: string;
|
|
7154
|
+
};
|
|
7155
|
+
Update: {
|
|
7156
|
+
connection_id?: string;
|
|
7157
|
+
data?: Json | null;
|
|
7158
|
+
fetched_at?: string;
|
|
7159
|
+
floriday_id?: string;
|
|
7160
|
+
gln_code?: string | null;
|
|
7161
|
+
id?: string;
|
|
7162
|
+
is_deleted?: boolean;
|
|
7163
|
+
name?: string | null;
|
|
7164
|
+
updated_at?: string;
|
|
7165
|
+
};
|
|
7166
|
+
Relationships: [
|
|
7167
|
+
{
|
|
7168
|
+
foreignKeyName: "floriday_auction_warehouses_cache_connection_id_fkey";
|
|
7169
|
+
columns: ["connection_id"];
|
|
7170
|
+
isOneToOne: false;
|
|
7171
|
+
referencedRelation: "floriday_connections";
|
|
7172
|
+
referencedColumns: ["id"];
|
|
7173
|
+
}
|
|
7174
|
+
];
|
|
7175
|
+
};
|
|
7096
7176
|
floriday_auto_fulfillment_log: {
|
|
7097
7177
|
Row: {
|
|
7098
7178
|
attempts: number;
|
|
@@ -7352,6 +7432,77 @@ export type Database = {
|
|
|
7352
7432
|
}
|
|
7353
7433
|
];
|
|
7354
7434
|
};
|
|
7435
|
+
floriday_clock_orders: {
|
|
7436
|
+
Row: {
|
|
7437
|
+
caller: string | null;
|
|
7438
|
+
connection_id: string;
|
|
7439
|
+
created_at: string;
|
|
7440
|
+
deleted_at: string | null;
|
|
7441
|
+
delivery_order_id: string;
|
|
7442
|
+
environment: string;
|
|
7443
|
+
id: string;
|
|
7444
|
+
idempotency_key: string;
|
|
7445
|
+
last_error: string | null;
|
|
7446
|
+
last_response: Json | null;
|
|
7447
|
+
lines: Json;
|
|
7448
|
+
mode: string | null;
|
|
7449
|
+
order_number: string;
|
|
7450
|
+
request: Json | null;
|
|
7451
|
+
sent_at: string | null;
|
|
7452
|
+
status: string;
|
|
7453
|
+
updated_at: string;
|
|
7454
|
+
version: number;
|
|
7455
|
+
};
|
|
7456
|
+
Insert: {
|
|
7457
|
+
caller?: string | null;
|
|
7458
|
+
connection_id: string;
|
|
7459
|
+
created_at?: string;
|
|
7460
|
+
deleted_at?: string | null;
|
|
7461
|
+
delivery_order_id: string;
|
|
7462
|
+
environment: string;
|
|
7463
|
+
id?: string;
|
|
7464
|
+
idempotency_key: string;
|
|
7465
|
+
last_error?: string | null;
|
|
7466
|
+
last_response?: Json | null;
|
|
7467
|
+
lines?: Json;
|
|
7468
|
+
mode?: string | null;
|
|
7469
|
+
order_number: string;
|
|
7470
|
+
request?: Json | null;
|
|
7471
|
+
sent_at?: string | null;
|
|
7472
|
+
status?: string;
|
|
7473
|
+
updated_at?: string;
|
|
7474
|
+
version: number;
|
|
7475
|
+
};
|
|
7476
|
+
Update: {
|
|
7477
|
+
caller?: string | null;
|
|
7478
|
+
connection_id?: string;
|
|
7479
|
+
created_at?: string;
|
|
7480
|
+
deleted_at?: string | null;
|
|
7481
|
+
delivery_order_id?: string;
|
|
7482
|
+
environment?: string;
|
|
7483
|
+
id?: string;
|
|
7484
|
+
idempotency_key?: string;
|
|
7485
|
+
last_error?: string | null;
|
|
7486
|
+
last_response?: Json | null;
|
|
7487
|
+
lines?: Json;
|
|
7488
|
+
mode?: string | null;
|
|
7489
|
+
order_number?: string;
|
|
7490
|
+
request?: Json | null;
|
|
7491
|
+
sent_at?: string | null;
|
|
7492
|
+
status?: string;
|
|
7493
|
+
updated_at?: string;
|
|
7494
|
+
version?: number;
|
|
7495
|
+
};
|
|
7496
|
+
Relationships: [
|
|
7497
|
+
{
|
|
7498
|
+
foreignKeyName: "floriday_clock_orders_connection_id_fkey";
|
|
7499
|
+
columns: ["connection_id"];
|
|
7500
|
+
isOneToOne: false;
|
|
7501
|
+
referencedRelation: "floriday_connections";
|
|
7502
|
+
referencedColumns: ["id"];
|
|
7503
|
+
}
|
|
7504
|
+
];
|
|
7505
|
+
};
|
|
7355
7506
|
floriday_clock_presales_cache: {
|
|
7356
7507
|
Row: {
|
|
7357
7508
|
buyer_organization_id: string | null;
|
|
@@ -29513,6 +29664,271 @@ export type Database = {
|
|
|
29513
29664
|
};
|
|
29514
29665
|
Relationships: [];
|
|
29515
29666
|
};
|
|
29667
|
+
verkoop_klok_events: {
|
|
29668
|
+
Row: {
|
|
29669
|
+
actie: string;
|
|
29670
|
+
code: string | null;
|
|
29671
|
+
created_at: string;
|
|
29672
|
+
detail: Json | null;
|
|
29673
|
+
id: string;
|
|
29674
|
+
klok_order_id: string | null;
|
|
29675
|
+
ok: boolean;
|
|
29676
|
+
user_id: string | null;
|
|
29677
|
+
};
|
|
29678
|
+
Insert: {
|
|
29679
|
+
actie: string;
|
|
29680
|
+
code?: string | null;
|
|
29681
|
+
created_at?: string;
|
|
29682
|
+
detail?: Json | null;
|
|
29683
|
+
id?: string;
|
|
29684
|
+
klok_order_id?: string | null;
|
|
29685
|
+
ok: boolean;
|
|
29686
|
+
user_id?: string | null;
|
|
29687
|
+
};
|
|
29688
|
+
Update: {
|
|
29689
|
+
actie?: string;
|
|
29690
|
+
code?: string | null;
|
|
29691
|
+
created_at?: string;
|
|
29692
|
+
detail?: Json | null;
|
|
29693
|
+
id?: string;
|
|
29694
|
+
klok_order_id?: string | null;
|
|
29695
|
+
ok?: boolean;
|
|
29696
|
+
user_id?: string | null;
|
|
29697
|
+
};
|
|
29698
|
+
Relationships: [
|
|
29699
|
+
{
|
|
29700
|
+
foreignKeyName: "verkoop_klok_events_klok_order_id_fkey";
|
|
29701
|
+
columns: ["klok_order_id"];
|
|
29702
|
+
isOneToOne: false;
|
|
29703
|
+
referencedRelation: "verkoop_klok_orders";
|
|
29704
|
+
referencedColumns: ["id"];
|
|
29705
|
+
}
|
|
29706
|
+
];
|
|
29707
|
+
};
|
|
29708
|
+
verkoop_klok_orders: {
|
|
29709
|
+
Row: {
|
|
29710
|
+
afleverbrieven: Json;
|
|
29711
|
+
auction_status: string | null;
|
|
29712
|
+
batch_ids: string[];
|
|
29713
|
+
bezig_sinds: string | null;
|
|
29714
|
+
carrier_org_id: string | null;
|
|
29715
|
+
created_at: string;
|
|
29716
|
+
created_by: string | null;
|
|
29717
|
+
customer_id: string | null;
|
|
29718
|
+
delivery_order_id: string | null;
|
|
29719
|
+
fulfillment_request_ids: string[];
|
|
29720
|
+
id: string;
|
|
29721
|
+
klok_nummer: string;
|
|
29722
|
+
laatste_fout: string | null;
|
|
29723
|
+
order_id: string | null;
|
|
29724
|
+
regels: Json;
|
|
29725
|
+
status: string;
|
|
29726
|
+
status_checked_at: string | null;
|
|
29727
|
+
status_detail: string | null;
|
|
29728
|
+
updated_at: string;
|
|
29729
|
+
veildatum: string | null;
|
|
29730
|
+
veilgroep: string | null;
|
|
29731
|
+
veillocatie_gln: string | null;
|
|
29732
|
+
veillocatie_id: string | null;
|
|
29733
|
+
veillocatie_naam: string | null;
|
|
29734
|
+
veillocatie_org_id: string | null;
|
|
29735
|
+
version: number;
|
|
29736
|
+
verstuurd_at: string | null;
|
|
29737
|
+
vervoer: string;
|
|
29738
|
+
verwijderd_at: string | null;
|
|
29739
|
+
verzendlocatie_id: string | null;
|
|
29740
|
+
verzendlocatie_naam: string | null;
|
|
29741
|
+
vorige_order_ids: string[];
|
|
29742
|
+
};
|
|
29743
|
+
Insert: {
|
|
29744
|
+
afleverbrieven?: Json;
|
|
29745
|
+
auction_status?: string | null;
|
|
29746
|
+
batch_ids?: string[];
|
|
29747
|
+
bezig_sinds?: string | null;
|
|
29748
|
+
carrier_org_id?: string | null;
|
|
29749
|
+
created_at?: string;
|
|
29750
|
+
created_by?: string | null;
|
|
29751
|
+
customer_id?: string | null;
|
|
29752
|
+
delivery_order_id?: string | null;
|
|
29753
|
+
fulfillment_request_ids?: string[];
|
|
29754
|
+
id?: string;
|
|
29755
|
+
klok_nummer?: string;
|
|
29756
|
+
laatste_fout?: string | null;
|
|
29757
|
+
order_id?: string | null;
|
|
29758
|
+
regels?: Json;
|
|
29759
|
+
status?: string;
|
|
29760
|
+
status_checked_at?: string | null;
|
|
29761
|
+
status_detail?: string | null;
|
|
29762
|
+
updated_at?: string;
|
|
29763
|
+
veildatum?: string | null;
|
|
29764
|
+
veilgroep?: string | null;
|
|
29765
|
+
veillocatie_gln?: string | null;
|
|
29766
|
+
veillocatie_id?: string | null;
|
|
29767
|
+
veillocatie_naam?: string | null;
|
|
29768
|
+
veillocatie_org_id?: string | null;
|
|
29769
|
+
version?: number;
|
|
29770
|
+
verstuurd_at?: string | null;
|
|
29771
|
+
vervoer?: string;
|
|
29772
|
+
verwijderd_at?: string | null;
|
|
29773
|
+
verzendlocatie_id?: string | null;
|
|
29774
|
+
verzendlocatie_naam?: string | null;
|
|
29775
|
+
vorige_order_ids?: string[];
|
|
29776
|
+
};
|
|
29777
|
+
Update: {
|
|
29778
|
+
afleverbrieven?: Json;
|
|
29779
|
+
auction_status?: string | null;
|
|
29780
|
+
batch_ids?: string[];
|
|
29781
|
+
bezig_sinds?: string | null;
|
|
29782
|
+
carrier_org_id?: string | null;
|
|
29783
|
+
created_at?: string;
|
|
29784
|
+
created_by?: string | null;
|
|
29785
|
+
customer_id?: string | null;
|
|
29786
|
+
delivery_order_id?: string | null;
|
|
29787
|
+
fulfillment_request_ids?: string[];
|
|
29788
|
+
id?: string;
|
|
29789
|
+
klok_nummer?: string;
|
|
29790
|
+
laatste_fout?: string | null;
|
|
29791
|
+
order_id?: string | null;
|
|
29792
|
+
regels?: Json;
|
|
29793
|
+
status?: string;
|
|
29794
|
+
status_checked_at?: string | null;
|
|
29795
|
+
status_detail?: string | null;
|
|
29796
|
+
updated_at?: string;
|
|
29797
|
+
veildatum?: string | null;
|
|
29798
|
+
veilgroep?: string | null;
|
|
29799
|
+
veillocatie_gln?: string | null;
|
|
29800
|
+
veillocatie_id?: string | null;
|
|
29801
|
+
veillocatie_naam?: string | null;
|
|
29802
|
+
veillocatie_org_id?: string | null;
|
|
29803
|
+
version?: number;
|
|
29804
|
+
verstuurd_at?: string | null;
|
|
29805
|
+
vervoer?: string;
|
|
29806
|
+
verwijderd_at?: string | null;
|
|
29807
|
+
verzendlocatie_id?: string | null;
|
|
29808
|
+
verzendlocatie_naam?: string | null;
|
|
29809
|
+
vorige_order_ids?: string[];
|
|
29810
|
+
};
|
|
29811
|
+
Relationships: [];
|
|
29812
|
+
};
|
|
29813
|
+
verkoop_klok_resultaten: {
|
|
29814
|
+
Row: {
|
|
29815
|
+
bedrag: number | null;
|
|
29816
|
+
created_at: string;
|
|
29817
|
+
data: Json | null;
|
|
29818
|
+
doorgedraaid: boolean;
|
|
29819
|
+
floriday_sales_order_id: string;
|
|
29820
|
+
gekoppeld_via: string | null;
|
|
29821
|
+
id: string;
|
|
29822
|
+
klok_order_id: string;
|
|
29823
|
+
koper_naam: string | null;
|
|
29824
|
+
koper_org_id: string | null;
|
|
29825
|
+
prijs: number | null;
|
|
29826
|
+
stuks: number | null;
|
|
29827
|
+
trade_instrument: string | null;
|
|
29828
|
+
updated_at: string;
|
|
29829
|
+
};
|
|
29830
|
+
Insert: {
|
|
29831
|
+
bedrag?: number | null;
|
|
29832
|
+
created_at?: string;
|
|
29833
|
+
data?: Json | null;
|
|
29834
|
+
doorgedraaid?: boolean;
|
|
29835
|
+
floriday_sales_order_id: string;
|
|
29836
|
+
gekoppeld_via?: string | null;
|
|
29837
|
+
id?: string;
|
|
29838
|
+
klok_order_id: string;
|
|
29839
|
+
koper_naam?: string | null;
|
|
29840
|
+
koper_org_id?: string | null;
|
|
29841
|
+
prijs?: number | null;
|
|
29842
|
+
stuks?: number | null;
|
|
29843
|
+
trade_instrument?: string | null;
|
|
29844
|
+
updated_at?: string;
|
|
29845
|
+
};
|
|
29846
|
+
Update: {
|
|
29847
|
+
bedrag?: number | null;
|
|
29848
|
+
created_at?: string;
|
|
29849
|
+
data?: Json | null;
|
|
29850
|
+
doorgedraaid?: boolean;
|
|
29851
|
+
floriday_sales_order_id?: string;
|
|
29852
|
+
gekoppeld_via?: string | null;
|
|
29853
|
+
id?: string;
|
|
29854
|
+
klok_order_id?: string;
|
|
29855
|
+
koper_naam?: string | null;
|
|
29856
|
+
koper_org_id?: string | null;
|
|
29857
|
+
prijs?: number | null;
|
|
29858
|
+
stuks?: number | null;
|
|
29859
|
+
trade_instrument?: string | null;
|
|
29860
|
+
updated_at?: string;
|
|
29861
|
+
};
|
|
29862
|
+
Relationships: [
|
|
29863
|
+
{
|
|
29864
|
+
foreignKeyName: "verkoop_klok_resultaten_klok_order_id_fkey";
|
|
29865
|
+
columns: ["klok_order_id"];
|
|
29866
|
+
isOneToOne: false;
|
|
29867
|
+
referencedRelation: "verkoop_klok_orders";
|
|
29868
|
+
referencedColumns: ["id"];
|
|
29869
|
+
}
|
|
29870
|
+
];
|
|
29871
|
+
};
|
|
29872
|
+
verkoop_klok_sjablonen: {
|
|
29873
|
+
Row: {
|
|
29874
|
+
created_at: string;
|
|
29875
|
+
created_by: string | null;
|
|
29876
|
+
id: string;
|
|
29877
|
+
kop: Json;
|
|
29878
|
+
naam: string;
|
|
29879
|
+
regels: Json;
|
|
29880
|
+
updated_at: string;
|
|
29881
|
+
veillocatie_id: string;
|
|
29882
|
+
};
|
|
29883
|
+
Insert: {
|
|
29884
|
+
created_at?: string;
|
|
29885
|
+
created_by?: string | null;
|
|
29886
|
+
id?: string;
|
|
29887
|
+
kop?: Json;
|
|
29888
|
+
naam: string;
|
|
29889
|
+
regels?: Json;
|
|
29890
|
+
updated_at?: string;
|
|
29891
|
+
veillocatie_id: string;
|
|
29892
|
+
};
|
|
29893
|
+
Update: {
|
|
29894
|
+
created_at?: string;
|
|
29895
|
+
created_by?: string | null;
|
|
29896
|
+
id?: string;
|
|
29897
|
+
kop?: Json;
|
|
29898
|
+
naam?: string;
|
|
29899
|
+
regels?: Json;
|
|
29900
|
+
updated_at?: string;
|
|
29901
|
+
veillocatie_id?: string;
|
|
29902
|
+
};
|
|
29903
|
+
Relationships: [];
|
|
29904
|
+
};
|
|
29905
|
+
verkoop_klok_voorkeuren: {
|
|
29906
|
+
Row: {
|
|
29907
|
+
artikel: Json;
|
|
29908
|
+
created_at: string;
|
|
29909
|
+
gebruikte_veillocaties: string[];
|
|
29910
|
+
laatste_veillocatie_id: string | null;
|
|
29911
|
+
updated_at: string;
|
|
29912
|
+
user_id: string;
|
|
29913
|
+
};
|
|
29914
|
+
Insert: {
|
|
29915
|
+
artikel?: Json;
|
|
29916
|
+
created_at?: string;
|
|
29917
|
+
gebruikte_veillocaties?: string[];
|
|
29918
|
+
laatste_veillocatie_id?: string | null;
|
|
29919
|
+
updated_at?: string;
|
|
29920
|
+
user_id: string;
|
|
29921
|
+
};
|
|
29922
|
+
Update: {
|
|
29923
|
+
artikel?: Json;
|
|
29924
|
+
created_at?: string;
|
|
29925
|
+
gebruikte_veillocaties?: string[];
|
|
29926
|
+
laatste_veillocatie_id?: string | null;
|
|
29927
|
+
updated_at?: string;
|
|
29928
|
+
user_id?: string;
|
|
29929
|
+
};
|
|
29930
|
+
Relationships: [];
|
|
29931
|
+
};
|
|
29516
29932
|
verkoop_pickup_locations: {
|
|
29517
29933
|
Row: {
|
|
29518
29934
|
address_line: string | null;
|
|
@@ -33000,6 +33416,12 @@ export type Database = {
|
|
|
33000
33416
|
};
|
|
33001
33417
|
Returns: string[][];
|
|
33002
33418
|
};
|
|
33419
|
+
_klanten_overzet_kern: {
|
|
33420
|
+
Args: {
|
|
33421
|
+
p_uitvoeren: boolean;
|
|
33422
|
+
};
|
|
33423
|
+
Returns: Json;
|
|
33424
|
+
};
|
|
33003
33425
|
_layout_is_beheerder: {
|
|
33004
33426
|
Args: never;
|
|
33005
33427
|
Returns: boolean;
|
|
@@ -34478,6 +34900,34 @@ export type Database = {
|
|
|
34478
34900
|
};
|
|
34479
34901
|
Returns: string;
|
|
34480
34902
|
};
|
|
34903
|
+
dashboard_aggregate_v1: {
|
|
34904
|
+
Args: {
|
|
34905
|
+
p_agg: string;
|
|
34906
|
+
p_bucket?: string;
|
|
34907
|
+
p_column?: string;
|
|
34908
|
+
p_date_column?: string;
|
|
34909
|
+
p_filters?: Json;
|
|
34910
|
+
p_since?: string;
|
|
34911
|
+
p_table: string;
|
|
34912
|
+
p_until?: string;
|
|
34913
|
+
};
|
|
34914
|
+
Returns: Json;
|
|
34915
|
+
};
|
|
34916
|
+
dashboard_aggregate_v2: {
|
|
34917
|
+
Args: {
|
|
34918
|
+
p_agg: string;
|
|
34919
|
+
p_bucket?: string;
|
|
34920
|
+
p_column?: string;
|
|
34921
|
+
p_date_column?: string;
|
|
34922
|
+
p_filters?: Json;
|
|
34923
|
+
p_group_column?: string;
|
|
34924
|
+
p_limit?: number;
|
|
34925
|
+
p_since?: string;
|
|
34926
|
+
p_table: string;
|
|
34927
|
+
p_until?: string;
|
|
34928
|
+
};
|
|
34929
|
+
Returns: Json;
|
|
34930
|
+
};
|
|
34481
34931
|
dashboard_alert_counts: {
|
|
34482
34932
|
Args: never;
|
|
34483
34933
|
Returns: Json;
|
|
@@ -34504,6 +34954,10 @@ export type Database = {
|
|
|
34504
34954
|
};
|
|
34505
34955
|
Returns: Json;
|
|
34506
34956
|
};
|
|
34957
|
+
dashboard_ensure_defaults: {
|
|
34958
|
+
Args: never;
|
|
34959
|
+
Returns: Json;
|
|
34960
|
+
};
|
|
34507
34961
|
dashboard_ensure_start_page: {
|
|
34508
34962
|
Args: never;
|
|
34509
34963
|
Returns: string;
|
|
@@ -34515,6 +34969,16 @@ export type Database = {
|
|
|
34515
34969
|
};
|
|
34516
34970
|
Returns: boolean;
|
|
34517
34971
|
};
|
|
34972
|
+
dashboard_install_check: {
|
|
34973
|
+
Args: never;
|
|
34974
|
+
Returns: Json;
|
|
34975
|
+
};
|
|
34976
|
+
dashboard_is_ai_admin: {
|
|
34977
|
+
Args: {
|
|
34978
|
+
_uid: string;
|
|
34979
|
+
};
|
|
34980
|
+
Returns: boolean;
|
|
34981
|
+
};
|
|
34518
34982
|
dashboard_jaar_start: {
|
|
34519
34983
|
Args: {
|
|
34520
34984
|
_vandaag: string;
|
|
@@ -34529,6 +34993,14 @@ export type Database = {
|
|
|
34529
34993
|
table_name: string;
|
|
34530
34994
|
}[];
|
|
34531
34995
|
};
|
|
34996
|
+
dashboard_list_readable_schema_v1: {
|
|
34997
|
+
Args: never;
|
|
34998
|
+
Returns: {
|
|
34999
|
+
column_name: string;
|
|
35000
|
+
data_type: string;
|
|
35001
|
+
table_name: string;
|
|
35002
|
+
}[];
|
|
35003
|
+
};
|
|
34532
35004
|
dashboard_order_state: {
|
|
34533
35005
|
Args: {
|
|
34534
35006
|
_order_id: string;
|
|
@@ -34628,6 +35100,35 @@ export type Database = {
|
|
|
34628
35100
|
};
|
|
34629
35101
|
Returns: Json;
|
|
34630
35102
|
};
|
|
35103
|
+
email_auth_events_current: {
|
|
35104
|
+
Args: {
|
|
35105
|
+
p_before?: string;
|
|
35106
|
+
p_connection_ids: string[];
|
|
35107
|
+
p_limit?: number;
|
|
35108
|
+
p_unconsumed_only?: boolean;
|
|
35109
|
+
};
|
|
35110
|
+
Returns: {
|
|
35111
|
+
attachments_purged_at: string | null;
|
|
35112
|
+
connection_id: string;
|
|
35113
|
+
consumed_at: string | null;
|
|
35114
|
+
created_at: string;
|
|
35115
|
+
event_type: string;
|
|
35116
|
+
external_id: string | null;
|
|
35117
|
+
folder_id: string | null;
|
|
35118
|
+
folder_name: string | null;
|
|
35119
|
+
id: string;
|
|
35120
|
+
payload: Json;
|
|
35121
|
+
provider: string;
|
|
35122
|
+
received_at: string;
|
|
35123
|
+
subscription_id: string | null;
|
|
35124
|
+
}[];
|
|
35125
|
+
SetofOptions: {
|
|
35126
|
+
from: "*";
|
|
35127
|
+
to: "email_auth_events";
|
|
35128
|
+
isOneToOne: false;
|
|
35129
|
+
isSetofReturn: true;
|
|
35130
|
+
};
|
|
35131
|
+
};
|
|
34631
35132
|
email_auth_fetch_message: {
|
|
34632
35133
|
Args: {
|
|
34633
35134
|
_connection_id: string;
|
|
@@ -35125,6 +35626,10 @@ export type Database = {
|
|
|
35125
35626
|
Args: never;
|
|
35126
35627
|
Returns: Json;
|
|
35127
35628
|
};
|
|
35629
|
+
floriday_dashboard_crons: {
|
|
35630
|
+
Args: never;
|
|
35631
|
+
Returns: string[];
|
|
35632
|
+
};
|
|
35128
35633
|
floriday_default_owner: {
|
|
35129
35634
|
Args: {
|
|
35130
35635
|
p_connection_id: string;
|
|
@@ -35221,6 +35726,23 @@ export type Database = {
|
|
|
35221
35726
|
};
|
|
35222
35727
|
Returns: number;
|
|
35223
35728
|
};
|
|
35729
|
+
floriday_klok_gereed: {
|
|
35730
|
+
Args: never;
|
|
35731
|
+
Returns: Json;
|
|
35732
|
+
};
|
|
35733
|
+
floriday_klok_install_rows: {
|
|
35734
|
+
Args: never;
|
|
35735
|
+
Returns: {
|
|
35736
|
+
aanwezig: boolean;
|
|
35737
|
+
anon_uitvoer: boolean;
|
|
35738
|
+
authenticated_uitvoer: boolean;
|
|
35739
|
+
interne_controle: boolean;
|
|
35740
|
+
melding: string;
|
|
35741
|
+
naam: string;
|
|
35742
|
+
niveau: string;
|
|
35743
|
+
soort: string;
|
|
35744
|
+
}[];
|
|
35745
|
+
};
|
|
35224
35746
|
floriday_leading_summary: {
|
|
35225
35747
|
Args: {
|
|
35226
35748
|
p_connection_id: string;
|
|
@@ -36364,6 +36886,14 @@ export type Database = {
|
|
|
36364
36886
|
};
|
|
36365
36887
|
Returns: string;
|
|
36366
36888
|
};
|
|
36889
|
+
klanten_afronden: {
|
|
36890
|
+
Args: {
|
|
36891
|
+
p_modus: string;
|
|
36892
|
+
p_stap: number;
|
|
36893
|
+
p_waarde: number;
|
|
36894
|
+
};
|
|
36895
|
+
Returns: number;
|
|
36896
|
+
};
|
|
36367
36897
|
klanten_auto_promote_status: {
|
|
36368
36898
|
Args: never;
|
|
36369
36899
|
Returns: Json;
|
|
@@ -36383,6 +36913,10 @@ export type Database = {
|
|
|
36383
36913
|
};
|
|
36384
36914
|
Returns: Json;
|
|
36385
36915
|
};
|
|
36916
|
+
klanten_ensure_defaults: {
|
|
36917
|
+
Args: never;
|
|
36918
|
+
Returns: Json;
|
|
36919
|
+
};
|
|
36386
36920
|
klanten_gln_backfill_report: {
|
|
36387
36921
|
Args: never;
|
|
36388
36922
|
Returns: Json;
|
|
@@ -36399,6 +36933,23 @@ export type Database = {
|
|
|
36399
36933
|
};
|
|
36400
36934
|
Returns: string;
|
|
36401
36935
|
};
|
|
36936
|
+
klanten_groepsprijs: {
|
|
36937
|
+
Args: {
|
|
36938
|
+
p_afronding: string;
|
|
36939
|
+
p_basis: number;
|
|
36940
|
+
p_calc_type: string;
|
|
36941
|
+
p_calc_value: number;
|
|
36942
|
+
p_calc_value_type: string;
|
|
36943
|
+
p_handling_fee: number;
|
|
36944
|
+
p_lagen: number;
|
|
36945
|
+
p_modus: string;
|
|
36946
|
+
p_per_fust: number;
|
|
36947
|
+
p_per_laag: number;
|
|
36948
|
+
p_stap: number;
|
|
36949
|
+
p_verdelen: string;
|
|
36950
|
+
};
|
|
36951
|
+
Returns: number;
|
|
36952
|
+
};
|
|
36402
36953
|
klanten_install_check: {
|
|
36403
36954
|
Args: never;
|
|
36404
36955
|
Returns: Json;
|
|
@@ -36423,6 +36974,56 @@ export type Database = {
|
|
|
36423
36974
|
Args: never;
|
|
36424
36975
|
Returns: boolean;
|
|
36425
36976
|
};
|
|
36977
|
+
klanten_orderprijs: {
|
|
36978
|
+
Args: {
|
|
36979
|
+
p_aantal?: number;
|
|
36980
|
+
p_customer_id: string;
|
|
36981
|
+
p_datum?: string;
|
|
36982
|
+
p_product_id: string;
|
|
36983
|
+
};
|
|
36984
|
+
Returns: {
|
|
36985
|
+
bron: string;
|
|
36986
|
+
bron_id: string;
|
|
36987
|
+
currency: string;
|
|
36988
|
+
net_price: number;
|
|
36989
|
+
price_group_id: string;
|
|
36990
|
+
price_group_name: string;
|
|
36991
|
+
}[];
|
|
36992
|
+
};
|
|
36993
|
+
klanten_overzet_lokale_prijsgroepen: {
|
|
36994
|
+
Args: {
|
|
36995
|
+
p_uitvoeren?: boolean;
|
|
36996
|
+
};
|
|
36997
|
+
Returns: Json;
|
|
36998
|
+
};
|
|
36999
|
+
klanten_prijs_sleutels: {
|
|
37000
|
+
Args: {
|
|
37001
|
+
p_customer_id: string;
|
|
37002
|
+
};
|
|
37003
|
+
Returns: string[];
|
|
37004
|
+
};
|
|
37005
|
+
klanten_prijsgroep_voor_klant: {
|
|
37006
|
+
Args: {
|
|
37007
|
+
p_customer_id: string;
|
|
37008
|
+
};
|
|
37009
|
+
Returns: {
|
|
37010
|
+
alle_groepen: Json;
|
|
37011
|
+
bron: string;
|
|
37012
|
+
naam: string;
|
|
37013
|
+
price_group_id: string;
|
|
37014
|
+
}[];
|
|
37015
|
+
};
|
|
37016
|
+
klanten_prijsgroepen_voor_klanten: {
|
|
37017
|
+
Args: {
|
|
37018
|
+
p_ids: string[];
|
|
37019
|
+
};
|
|
37020
|
+
Returns: {
|
|
37021
|
+
bron: string;
|
|
37022
|
+
customer_id: string;
|
|
37023
|
+
naam: string;
|
|
37024
|
+
price_group_id: string;
|
|
37025
|
+
}[];
|
|
37026
|
+
};
|
|
36426
37027
|
klanten_promote_round: {
|
|
36427
37028
|
Args: never;
|
|
36428
37029
|
Returns: Json;
|
|
@@ -39841,10 +40442,28 @@ export type Database = {
|
|
|
39841
40442
|
reden: string;
|
|
39842
40443
|
}[];
|
|
39843
40444
|
};
|
|
40445
|
+
logistics_pickup_at: {
|
|
40446
|
+
Args: {
|
|
40447
|
+
p_delivery_date: string;
|
|
40448
|
+
p_value: string;
|
|
40449
|
+
};
|
|
40450
|
+
Returns: Json;
|
|
40451
|
+
};
|
|
40452
|
+
logistics_pickup_herbereken: {
|
|
40453
|
+
Args: never;
|
|
40454
|
+
Returns: Json;
|
|
40455
|
+
};
|
|
39844
40456
|
logistics_pickup_moments_today: {
|
|
39845
40457
|
Args: never;
|
|
39846
40458
|
Returns: Json;
|
|
39847
40459
|
};
|
|
40460
|
+
logistics_pickup_ts: {
|
|
40461
|
+
Args: {
|
|
40462
|
+
p_delivery_date: string;
|
|
40463
|
+
p_value: string;
|
|
40464
|
+
};
|
|
40465
|
+
Returns: string;
|
|
40466
|
+
};
|
|
39848
40467
|
logistics_plan_all: {
|
|
39849
40468
|
Args: {
|
|
39850
40469
|
p_user_id?: string;
|
|
@@ -43732,6 +44351,15 @@ export type Database = {
|
|
|
43732
44351
|
};
|
|
43733
44352
|
Returns: undefined;
|
|
43734
44353
|
};
|
|
44354
|
+
pickstation_shipping_note_status: {
|
|
44355
|
+
Args: {
|
|
44356
|
+
p_cart_id?: string;
|
|
44357
|
+
p_device_key?: string;
|
|
44358
|
+
p_slip_job_id?: string;
|
|
44359
|
+
p_slug: string;
|
|
44360
|
+
};
|
|
44361
|
+
Returns: Json;
|
|
44362
|
+
};
|
|
43735
44363
|
pickstation_sticker_past_controle: {
|
|
43736
44364
|
Args: {
|
|
43737
44365
|
p_cart_id: string;
|
|
@@ -44222,6 +44850,12 @@ export type Database = {
|
|
|
44222
44850
|
Args: never;
|
|
44223
44851
|
Returns: number;
|
|
44224
44852
|
};
|
|
44853
|
+
prune_floriday_clock_orders: {
|
|
44854
|
+
Args: {
|
|
44855
|
+
p_limit?: number;
|
|
44856
|
+
};
|
|
44857
|
+
Returns: number;
|
|
44858
|
+
};
|
|
44225
44859
|
prune_floriday_logs_batch: {
|
|
44226
44860
|
Args: {
|
|
44227
44861
|
p_batch?: number;
|
|
@@ -46712,6 +47346,27 @@ export type Database = {
|
|
|
46712
47346
|
Args: never;
|
|
46713
47347
|
Returns: boolean;
|
|
46714
47348
|
};
|
|
47349
|
+
verkoop_klok_ensure_defaults: {
|
|
47350
|
+
Args: never;
|
|
47351
|
+
Returns: Json;
|
|
47352
|
+
};
|
|
47353
|
+
verkoop_klok_koppel_resultaat: {
|
|
47354
|
+
Args: {
|
|
47355
|
+
p_rows: Json;
|
|
47356
|
+
};
|
|
47357
|
+
Returns: Json;
|
|
47358
|
+
};
|
|
47359
|
+
verkoop_klok_log: {
|
|
47360
|
+
Args: {
|
|
47361
|
+
p_actie: string;
|
|
47362
|
+
p_code: string;
|
|
47363
|
+
p_detail: Json;
|
|
47364
|
+
p_klok: string;
|
|
47365
|
+
p_ok: boolean;
|
|
47366
|
+
p_user: string;
|
|
47367
|
+
};
|
|
47368
|
+
Returns: undefined;
|
|
47369
|
+
};
|
|
46715
47370
|
verkoop_packing_drift_apply: {
|
|
46716
47371
|
Args: {
|
|
46717
47372
|
p_order_ids: string[];
|
|
@@ -47105,6 +47760,15 @@ export type Database = {
|
|
|
47105
47760
|
};
|
|
47106
47761
|
Returns: boolean;
|
|
47107
47762
|
};
|
|
47763
|
+
voorraad_foto_info: {
|
|
47764
|
+
Args: {
|
|
47765
|
+
p_custom_fields: Json;
|
|
47766
|
+
p_floriday_trade_item_id: string;
|
|
47767
|
+
p_image_url: string;
|
|
47768
|
+
p_trade_item_key: string;
|
|
47769
|
+
};
|
|
47770
|
+
Returns: Json;
|
|
47771
|
+
};
|
|
47108
47772
|
voorraad_fust_bijhouden: {
|
|
47109
47773
|
Args: {
|
|
47110
47774
|
p_fust_type_id: string;
|