@flowselections/floriday-afhandeling-module 1.0.61 → 1.0.64
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/afhandeling/AutoSendStatus.d.ts +9 -2
- package/dist-lib/components/afhandeling/AutoSendStatus.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/AutoSendStatus.js +70 -6
- package/dist-lib/components/afhandeling/DagDetailDialog.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/DagDetailDialog.js +40 -24
- package/dist-lib/components/afhandeling/LeveringenPage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/LeveringenPage.js +3 -1
- package/dist-lib/components/afhandeling/NuVersturenButton.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/NuVersturenButton.js +4 -4
- package/dist-lib/components/afhandeling/PickAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/PickAgendaView.js +9 -7
- package/dist-lib/components/afhandeling/ScanControleView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/ScanControleView.js +2 -2
- package/dist-lib/components/afhandeling/SignupMailMoments.d.ts +8 -0
- package/dist-lib/components/afhandeling/SignupMailMoments.d.ts.map +1 -0
- package/dist-lib/components/afhandeling/SignupMailMoments.js +72 -0
- package/dist-lib/components/afhandeling/VerzetOrderDialog.js +3 -3
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.js +6 -2
- package/dist-lib/components/settings/AfhandelingSettingsCard.d.ts.map +1 -1
- package/dist-lib/components/settings/AfhandelingSettingsCard.js +47 -2
- package/dist-lib/hooks/useOrderPlanning.d.ts.map +1 -1
- package/dist-lib/hooks/useOrderPlanning.js +7 -6
- package/dist-lib/hooks/usePickAgenda.d.ts +4 -0
- package/dist-lib/hooks/usePickAgenda.d.ts.map +1 -1
- package/dist-lib/hooks/usePickAgenda.js +36 -5
- package/dist-lib/integrations/supabase/types.d.ts +335 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/carrierSignup.functions.d.ts +100 -0
- package/dist-lib/lib/carrierSignup.functions.d.ts.map +1 -0
- package/dist-lib/lib/carrierSignup.functions.js +117 -0
- package/dist-lib/lib/cartAssignments.functions.d.ts +4 -0
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.js +5 -1
- package/dist-lib/lib/floridayLoading.functions.d.ts +7 -0
- package/dist-lib/lib/floridayLoading.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayLoading.functions.js +11 -4
- package/dist-lib/lib/printing.js +1 -1
- package/dist-lib/lib/serverRoutes/autoSend.handler.d.ts +2 -1
- package/dist-lib/lib/serverRoutes/autoSend.handler.d.ts.map +1 -1
- package/dist-lib/lib/serverRoutes/autoSend.handler.js +26 -5
- package/dist-lib/lib/serverRoutes/dispatchCarrierSignups.handler.d.ts +1 -1
- package/dist-lib/lib/serverRoutes/dispatchCarrierSignups.handler.d.ts.map +1 -1
- package/dist-lib/lib/serverRoutes/dispatchCarrierSignups.handler.js +2 -325
- package/dist-lib/lib/serverRoutes/index.d.ts +1 -0
- package/dist-lib/lib/serverRoutes/index.d.ts.map +1 -1
- package/dist-lib/lib/serverRoutes/index.js +1 -0
- package/dist-lib/lib/signupMailText.d.ts +4 -0
- package/dist-lib/lib/signupMailText.d.ts.map +1 -0
- package/dist-lib/lib/signupMailText.js +35 -0
- package/package.json +12 -1
|
@@ -1231,38 +1231,59 @@ export type Database = {
|
|
|
1231
1231
|
Row: {
|
|
1232
1232
|
carrier_id: string;
|
|
1233
1233
|
cart_count: number;
|
|
1234
|
+
cart_ids: string[] | null;
|
|
1234
1235
|
created_at: string;
|
|
1236
|
+
fingerprint: string | null;
|
|
1235
1237
|
id: string;
|
|
1238
|
+
kind: string;
|
|
1236
1239
|
order_count: number;
|
|
1237
1240
|
outbox_id: string | null;
|
|
1238
1241
|
pickup_date: string;
|
|
1239
1242
|
pickup_moment_key: string;
|
|
1243
|
+
previous_cart_count: number | null;
|
|
1244
|
+
recipient: string | null;
|
|
1240
1245
|
sent_at: string;
|
|
1241
1246
|
signup_deadline: string;
|
|
1247
|
+
source: string;
|
|
1248
|
+
version: number;
|
|
1242
1249
|
};
|
|
1243
1250
|
Insert: {
|
|
1244
1251
|
carrier_id: string;
|
|
1245
1252
|
cart_count?: number;
|
|
1253
|
+
cart_ids?: string[] | null;
|
|
1246
1254
|
created_at?: string;
|
|
1255
|
+
fingerprint?: string | null;
|
|
1247
1256
|
id?: string;
|
|
1257
|
+
kind?: string;
|
|
1248
1258
|
order_count?: number;
|
|
1249
1259
|
outbox_id?: string | null;
|
|
1250
1260
|
pickup_date: string;
|
|
1251
1261
|
pickup_moment_key: string;
|
|
1262
|
+
previous_cart_count?: number | null;
|
|
1263
|
+
recipient?: string | null;
|
|
1252
1264
|
sent_at?: string;
|
|
1253
1265
|
signup_deadline: string;
|
|
1266
|
+
source?: string;
|
|
1267
|
+
version?: number;
|
|
1254
1268
|
};
|
|
1255
1269
|
Update: {
|
|
1256
1270
|
carrier_id?: string;
|
|
1257
1271
|
cart_count?: number;
|
|
1272
|
+
cart_ids?: string[] | null;
|
|
1258
1273
|
created_at?: string;
|
|
1274
|
+
fingerprint?: string | null;
|
|
1259
1275
|
id?: string;
|
|
1276
|
+
kind?: string;
|
|
1260
1277
|
order_count?: number;
|
|
1261
1278
|
outbox_id?: string | null;
|
|
1262
1279
|
pickup_date?: string;
|
|
1263
1280
|
pickup_moment_key?: string;
|
|
1281
|
+
previous_cart_count?: number | null;
|
|
1282
|
+
recipient?: string | null;
|
|
1264
1283
|
sent_at?: string;
|
|
1265
1284
|
signup_deadline?: string;
|
|
1285
|
+
source?: string;
|
|
1286
|
+
version?: number;
|
|
1266
1287
|
};
|
|
1267
1288
|
Relationships: [
|
|
1268
1289
|
{
|
|
@@ -11618,6 +11639,7 @@ export type Database = {
|
|
|
11618
11639
|
logistics_auto_send: {
|
|
11619
11640
|
Row: {
|
|
11620
11641
|
attempts: number;
|
|
11642
|
+
buffer_id: string | null;
|
|
11621
11643
|
cart_ids: string[];
|
|
11622
11644
|
created_at: string;
|
|
11623
11645
|
id: string;
|
|
@@ -11627,13 +11649,16 @@ export type Database = {
|
|
|
11627
11649
|
max_attempts: number;
|
|
11628
11650
|
next_attempt_at: string;
|
|
11629
11651
|
order_id: string;
|
|
11652
|
+
order_ids: string[];
|
|
11630
11653
|
reason: string | null;
|
|
11631
11654
|
sent_at: string | null;
|
|
11655
|
+
sent_how: string | null;
|
|
11632
11656
|
status: string;
|
|
11633
11657
|
updated_at: string;
|
|
11634
11658
|
};
|
|
11635
11659
|
Insert: {
|
|
11636
11660
|
attempts?: number;
|
|
11661
|
+
buffer_id?: string | null;
|
|
11637
11662
|
cart_ids?: string[];
|
|
11638
11663
|
created_at?: string;
|
|
11639
11664
|
id?: string;
|
|
@@ -11643,13 +11668,16 @@ export type Database = {
|
|
|
11643
11668
|
max_attempts?: number;
|
|
11644
11669
|
next_attempt_at?: string;
|
|
11645
11670
|
order_id: string;
|
|
11671
|
+
order_ids?: string[];
|
|
11646
11672
|
reason?: string | null;
|
|
11647
11673
|
sent_at?: string | null;
|
|
11674
|
+
sent_how?: string | null;
|
|
11648
11675
|
status?: string;
|
|
11649
11676
|
updated_at?: string;
|
|
11650
11677
|
};
|
|
11651
11678
|
Update: {
|
|
11652
11679
|
attempts?: number;
|
|
11680
|
+
buffer_id?: string | null;
|
|
11653
11681
|
cart_ids?: string[];
|
|
11654
11682
|
created_at?: string;
|
|
11655
11683
|
id?: string;
|
|
@@ -11659,8 +11687,10 @@ export type Database = {
|
|
|
11659
11687
|
max_attempts?: number;
|
|
11660
11688
|
next_attempt_at?: string;
|
|
11661
11689
|
order_id?: string;
|
|
11690
|
+
order_ids?: string[];
|
|
11662
11691
|
reason?: string | null;
|
|
11663
11692
|
sent_at?: string | null;
|
|
11693
|
+
sent_how?: string | null;
|
|
11664
11694
|
status?: string;
|
|
11665
11695
|
updated_at?: string;
|
|
11666
11696
|
};
|
|
@@ -16800,6 +16830,44 @@ export type Database = {
|
|
|
16800
16830
|
};
|
|
16801
16831
|
Relationships: [];
|
|
16802
16832
|
};
|
|
16833
|
+
order_review_dismissals: {
|
|
16834
|
+
Row: {
|
|
16835
|
+
dismissed_at: string;
|
|
16836
|
+
dismissed_by: string | null;
|
|
16837
|
+
id: string;
|
|
16838
|
+
kind: string;
|
|
16839
|
+
note: string | null;
|
|
16840
|
+
order_id: string;
|
|
16841
|
+
review_reason: string;
|
|
16842
|
+
};
|
|
16843
|
+
Insert: {
|
|
16844
|
+
dismissed_at?: string;
|
|
16845
|
+
dismissed_by?: string | null;
|
|
16846
|
+
id?: string;
|
|
16847
|
+
kind: string;
|
|
16848
|
+
note?: string | null;
|
|
16849
|
+
order_id: string;
|
|
16850
|
+
review_reason: string;
|
|
16851
|
+
};
|
|
16852
|
+
Update: {
|
|
16853
|
+
dismissed_at?: string;
|
|
16854
|
+
dismissed_by?: string | null;
|
|
16855
|
+
id?: string;
|
|
16856
|
+
kind?: string;
|
|
16857
|
+
note?: string | null;
|
|
16858
|
+
order_id?: string;
|
|
16859
|
+
review_reason?: string;
|
|
16860
|
+
};
|
|
16861
|
+
Relationships: [
|
|
16862
|
+
{
|
|
16863
|
+
foreignKeyName: "order_review_dismissals_order_id_fkey";
|
|
16864
|
+
columns: ["order_id"];
|
|
16865
|
+
isOneToOne: false;
|
|
16866
|
+
referencedRelation: "orders";
|
|
16867
|
+
referencedColumns: ["id"];
|
|
16868
|
+
}
|
|
16869
|
+
];
|
|
16870
|
+
};
|
|
16803
16871
|
order_shipment_items: {
|
|
16804
16872
|
Row: {
|
|
16805
16873
|
created_at: string;
|
|
@@ -28494,6 +28562,12 @@ export type Database = {
|
|
|
28494
28562
|
};
|
|
28495
28563
|
Returns: Json;
|
|
28496
28564
|
};
|
|
28565
|
+
_scan_kar_voortgang: {
|
|
28566
|
+
Args: {
|
|
28567
|
+
p_cart_id: string;
|
|
28568
|
+
};
|
|
28569
|
+
Returns: Json;
|
|
28570
|
+
};
|
|
28497
28571
|
_stock_import_caller: {
|
|
28498
28572
|
Args: {
|
|
28499
28573
|
p_owner: string;
|
|
@@ -28511,6 +28585,18 @@ export type Database = {
|
|
|
28511
28585
|
};
|
|
28512
28586
|
Returns: string;
|
|
28513
28587
|
};
|
|
28588
|
+
afh_html: {
|
|
28589
|
+
Args: {
|
|
28590
|
+
_s: string;
|
|
28591
|
+
};
|
|
28592
|
+
Returns: string;
|
|
28593
|
+
};
|
|
28594
|
+
afh_nl_date: {
|
|
28595
|
+
Args: {
|
|
28596
|
+
_d: string;
|
|
28597
|
+
};
|
|
28598
|
+
Returns: string;
|
|
28599
|
+
};
|
|
28514
28600
|
afh_normalize_country: {
|
|
28515
28601
|
Args: {
|
|
28516
28602
|
_raw: string;
|
|
@@ -28523,6 +28609,46 @@ export type Database = {
|
|
|
28523
28609
|
};
|
|
28524
28610
|
Returns: string;
|
|
28525
28611
|
};
|
|
28612
|
+
afh_signup_config: {
|
|
28613
|
+
Args: never;
|
|
28614
|
+
Returns: Json;
|
|
28615
|
+
};
|
|
28616
|
+
afh_signup_find_group: {
|
|
28617
|
+
Args: {
|
|
28618
|
+
p_carrier_id: string;
|
|
28619
|
+
p_moment_key: string;
|
|
28620
|
+
p_pickup_date: string;
|
|
28621
|
+
p_tz: string;
|
|
28622
|
+
};
|
|
28623
|
+
Returns: Json;
|
|
28624
|
+
};
|
|
28625
|
+
afh_signup_groups: {
|
|
28626
|
+
Args: {
|
|
28627
|
+
p_from: string;
|
|
28628
|
+
p_to: string;
|
|
28629
|
+
p_tz: string;
|
|
28630
|
+
};
|
|
28631
|
+
Returns: Json;
|
|
28632
|
+
};
|
|
28633
|
+
afh_signup_mail: {
|
|
28634
|
+
Args: {
|
|
28635
|
+
g: Json;
|
|
28636
|
+
p_prev: number;
|
|
28637
|
+
p_tz: string;
|
|
28638
|
+
};
|
|
28639
|
+
Returns: Json;
|
|
28640
|
+
};
|
|
28641
|
+
afh_signup_send_group: {
|
|
28642
|
+
Args: {
|
|
28643
|
+
g: Json;
|
|
28644
|
+
p_connection: string;
|
|
28645
|
+
p_purpose: string;
|
|
28646
|
+
p_source: string;
|
|
28647
|
+
p_tz: string;
|
|
28648
|
+
p_user: string;
|
|
28649
|
+
};
|
|
28650
|
+
Returns: Json;
|
|
28651
|
+
};
|
|
28526
28652
|
afh_subtract_workdays: {
|
|
28527
28653
|
Args: {
|
|
28528
28654
|
_date: string;
|
|
@@ -28530,6 +28656,14 @@ export type Database = {
|
|
|
28530
28656
|
};
|
|
28531
28657
|
Returns: string;
|
|
28532
28658
|
};
|
|
28659
|
+
afhandeling_signup_cron_status: {
|
|
28660
|
+
Args: never;
|
|
28661
|
+
Returns: Json;
|
|
28662
|
+
};
|
|
28663
|
+
afhandeling_sync_signup_cron: {
|
|
28664
|
+
Args: never;
|
|
28665
|
+
Returns: Json;
|
|
28666
|
+
};
|
|
28533
28667
|
ai_usage_by_module: {
|
|
28534
28668
|
Args: {
|
|
28535
28669
|
_from: string;
|
|
@@ -28671,6 +28805,29 @@ export type Database = {
|
|
|
28671
28805
|
id: string;
|
|
28672
28806
|
}[];
|
|
28673
28807
|
};
|
|
28808
|
+
carrier_signup_overview: {
|
|
28809
|
+
Args: {
|
|
28810
|
+
p_from: string;
|
|
28811
|
+
p_to: string;
|
|
28812
|
+
};
|
|
28813
|
+
Returns: Json;
|
|
28814
|
+
};
|
|
28815
|
+
carrier_signup_preview: {
|
|
28816
|
+
Args: {
|
|
28817
|
+
p_carrier_id: string;
|
|
28818
|
+
p_moment_key: string;
|
|
28819
|
+
p_pickup_date: string;
|
|
28820
|
+
};
|
|
28821
|
+
Returns: Json;
|
|
28822
|
+
};
|
|
28823
|
+
carrier_signup_send_now: {
|
|
28824
|
+
Args: {
|
|
28825
|
+
p_carrier_id: string;
|
|
28826
|
+
p_moment_key: string;
|
|
28827
|
+
p_pickup_date: string;
|
|
28828
|
+
};
|
|
28829
|
+
Returns: Json;
|
|
28830
|
+
};
|
|
28674
28831
|
check_offer_product_available_stock: {
|
|
28675
28832
|
Args: {
|
|
28676
28833
|
p_campaign_product_id: string;
|
|
@@ -29217,6 +29374,13 @@ export type Database = {
|
|
|
29217
29374
|
status: string;
|
|
29218
29375
|
}[];
|
|
29219
29376
|
};
|
|
29377
|
+
control_mark_cart_delivered_by_cart: {
|
|
29378
|
+
Args: {
|
|
29379
|
+
p_afmeld_bron?: string;
|
|
29380
|
+
p_cart_id: string;
|
|
29381
|
+
};
|
|
29382
|
+
Returns: Json;
|
|
29383
|
+
};
|
|
29220
29384
|
control_mark_carts_delivered: {
|
|
29221
29385
|
Args: {
|
|
29222
29386
|
p_carts: Json;
|
|
@@ -29236,6 +29400,13 @@ export type Database = {
|
|
|
29236
29400
|
outcome: string;
|
|
29237
29401
|
}[];
|
|
29238
29402
|
};
|
|
29403
|
+
control_post_mark_cart_delivered: {
|
|
29404
|
+
Args: {
|
|
29405
|
+
p_cart_id: string;
|
|
29406
|
+
p_slug: string;
|
|
29407
|
+
};
|
|
29408
|
+
Returns: Json;
|
|
29409
|
+
};
|
|
29239
29410
|
count_distinct_regulatory_products: {
|
|
29240
29411
|
Args: never;
|
|
29241
29412
|
Returns: number;
|
|
@@ -30715,6 +30886,7 @@ export type Database = {
|
|
|
30715
30886
|
};
|
|
30716
30887
|
Returns: {
|
|
30717
30888
|
attempts: number;
|
|
30889
|
+
buffer_id: string | null;
|
|
30718
30890
|
cart_ids: string[];
|
|
30719
30891
|
created_at: string;
|
|
30720
30892
|
id: string;
|
|
@@ -30724,8 +30896,10 @@ export type Database = {
|
|
|
30724
30896
|
max_attempts: number;
|
|
30725
30897
|
next_attempt_at: string;
|
|
30726
30898
|
order_id: string;
|
|
30899
|
+
order_ids: string[];
|
|
30727
30900
|
reason: string | null;
|
|
30728
30901
|
sent_at: string | null;
|
|
30902
|
+
sent_how: string | null;
|
|
30729
30903
|
status: string;
|
|
30730
30904
|
updated_at: string;
|
|
30731
30905
|
}[];
|
|
@@ -30753,12 +30927,28 @@ export type Database = {
|
|
|
30753
30927
|
};
|
|
30754
30928
|
Returns: Json;
|
|
30755
30929
|
};
|
|
30930
|
+
logistics_auto_send_route_missing: {
|
|
30931
|
+
Args: never;
|
|
30932
|
+
Returns: boolean;
|
|
30933
|
+
};
|
|
30934
|
+
logistics_auto_send_sent_elsewhere: {
|
|
30935
|
+
Args: {
|
|
30936
|
+
p_order_id: string;
|
|
30937
|
+
};
|
|
30938
|
+
Returns: string;
|
|
30939
|
+
};
|
|
30756
30940
|
logistics_auto_send_status: {
|
|
30757
30941
|
Args: {
|
|
30758
30942
|
p_order_id: string;
|
|
30759
30943
|
};
|
|
30760
30944
|
Returns: Json;
|
|
30761
30945
|
};
|
|
30946
|
+
logistics_auto_send_status_core: {
|
|
30947
|
+
Args: {
|
|
30948
|
+
p_order_id: string;
|
|
30949
|
+
};
|
|
30950
|
+
Returns: Json;
|
|
30951
|
+
};
|
|
30762
30952
|
logistics_backorder_allowed: {
|
|
30763
30953
|
Args: {
|
|
30764
30954
|
p_strategy_id?: string;
|
|
@@ -30943,6 +31133,12 @@ export type Database = {
|
|
|
30943
31133
|
Args: never;
|
|
30944
31134
|
Returns: Json;
|
|
30945
31135
|
};
|
|
31136
|
+
logistics_cart_fixed_numbering: {
|
|
31137
|
+
Args: {
|
|
31138
|
+
p_cart_id: string;
|
|
31139
|
+
};
|
|
31140
|
+
Returns: Json;
|
|
31141
|
+
};
|
|
30946
31142
|
logistics_cart_handled: {
|
|
30947
31143
|
Args: {
|
|
30948
31144
|
p_cart_index: number;
|
|
@@ -30994,10 +31190,22 @@ export type Database = {
|
|
|
30994
31190
|
};
|
|
30995
31191
|
Returns: boolean;
|
|
30996
31192
|
};
|
|
31193
|
+
logistics_cart_json_fixed: {
|
|
31194
|
+
Args: {
|
|
31195
|
+
p_cart: Json;
|
|
31196
|
+
};
|
|
31197
|
+
Returns: Json;
|
|
31198
|
+
};
|
|
30997
31199
|
logistics_cart_layout_method: {
|
|
30998
31200
|
Args: never;
|
|
30999
31201
|
Returns: Json;
|
|
31000
31202
|
};
|
|
31203
|
+
logistics_cart_order_ids: {
|
|
31204
|
+
Args: {
|
|
31205
|
+
p_cart_id: string;
|
|
31206
|
+
};
|
|
31207
|
+
Returns: string[];
|
|
31208
|
+
};
|
|
31001
31209
|
logistics_cart_order_refs: {
|
|
31002
31210
|
Args: {
|
|
31003
31211
|
p_cart_id: string;
|
|
@@ -31041,6 +31249,12 @@ export type Database = {
|
|
|
31041
31249
|
};
|
|
31042
31250
|
Returns: boolean;
|
|
31043
31251
|
};
|
|
31252
|
+
logistics_cart_scanned: {
|
|
31253
|
+
Args: {
|
|
31254
|
+
p_cart_id: string;
|
|
31255
|
+
};
|
|
31256
|
+
Returns: boolean;
|
|
31257
|
+
};
|
|
31044
31258
|
logistics_cart_seq: {
|
|
31045
31259
|
Args: {
|
|
31046
31260
|
p_order_uuid?: string;
|
|
@@ -31097,6 +31311,12 @@ export type Database = {
|
|
|
31097
31311
|
unit_ref: string;
|
|
31098
31312
|
}[];
|
|
31099
31313
|
};
|
|
31314
|
+
logistics_cart_wait_until: {
|
|
31315
|
+
Args: {
|
|
31316
|
+
p_cart_id: string;
|
|
31317
|
+
};
|
|
31318
|
+
Returns: string;
|
|
31319
|
+
};
|
|
31100
31320
|
logistics_carts_per_print: {
|
|
31101
31321
|
Args: never;
|
|
31102
31322
|
Returns: number;
|
|
@@ -31379,6 +31599,13 @@ export type Database = {
|
|
|
31379
31599
|
};
|
|
31380
31600
|
Returns: number;
|
|
31381
31601
|
};
|
|
31602
|
+
logistics_control_scan_record_afmelding_cart: {
|
|
31603
|
+
Args: {
|
|
31604
|
+
p_bron: string;
|
|
31605
|
+
p_cart_id: string;
|
|
31606
|
+
};
|
|
31607
|
+
Returns: number;
|
|
31608
|
+
};
|
|
31382
31609
|
logistics_control_scan_retry: {
|
|
31383
31610
|
Args: {
|
|
31384
31611
|
_id: string;
|
|
@@ -31806,6 +32033,23 @@ export type Database = {
|
|
|
31806
32033
|
};
|
|
31807
32034
|
Returns: number;
|
|
31808
32035
|
};
|
|
32036
|
+
logistics_local_hhmi: {
|
|
32037
|
+
Args: {
|
|
32038
|
+
p_ts: string;
|
|
32039
|
+
};
|
|
32040
|
+
Returns: string;
|
|
32041
|
+
};
|
|
32042
|
+
logistics_local_today: {
|
|
32043
|
+
Args: never;
|
|
32044
|
+
Returns: string;
|
|
32045
|
+
};
|
|
32046
|
+
logistics_mark_cart_delivered_core: {
|
|
32047
|
+
Args: {
|
|
32048
|
+
p_bron: string;
|
|
32049
|
+
p_cart_id: string;
|
|
32050
|
+
};
|
|
32051
|
+
Returns: Json;
|
|
32052
|
+
};
|
|
31809
32053
|
logistics_merge_decision: {
|
|
31810
32054
|
Args: {
|
|
31811
32055
|
p_lines: Json;
|
|
@@ -31864,6 +32108,12 @@ export type Database = {
|
|
|
31864
32108
|
};
|
|
31865
32109
|
Returns: boolean;
|
|
31866
32110
|
};
|
|
32111
|
+
logistics_order_all_carts_scanned: {
|
|
32112
|
+
Args: {
|
|
32113
|
+
p_order_id: string;
|
|
32114
|
+
};
|
|
32115
|
+
Returns: boolean;
|
|
32116
|
+
};
|
|
31867
32117
|
logistics_order_backlog_info: {
|
|
31868
32118
|
Args: {
|
|
31869
32119
|
p_order_id: string;
|
|
@@ -31891,6 +32141,12 @@ export type Database = {
|
|
|
31891
32141
|
};
|
|
31892
32142
|
Returns: number;
|
|
31893
32143
|
};
|
|
32144
|
+
logistics_order_cart_ids: {
|
|
32145
|
+
Args: {
|
|
32146
|
+
p_order_id: string;
|
|
32147
|
+
};
|
|
32148
|
+
Returns: string[];
|
|
32149
|
+
};
|
|
31894
32150
|
logistics_order_changed: {
|
|
31895
32151
|
Args: {
|
|
31896
32152
|
p_order_id: string;
|
|
@@ -32177,6 +32433,10 @@ export type Database = {
|
|
|
32177
32433
|
};
|
|
32178
32434
|
Returns: string;
|
|
32179
32435
|
};
|
|
32436
|
+
logistics_partial_wait_minutes: {
|
|
32437
|
+
Args: never;
|
|
32438
|
+
Returns: number;
|
|
32439
|
+
};
|
|
32180
32440
|
logistics_payload_is_floriday: {
|
|
32181
32441
|
Args: {
|
|
32182
32442
|
_payload: Json;
|
|
@@ -32219,6 +32479,14 @@ export type Database = {
|
|
|
32219
32479
|
Args: never;
|
|
32220
32480
|
Returns: string;
|
|
32221
32481
|
};
|
|
32482
|
+
logistics_pick_queue_close: {
|
|
32483
|
+
Args: {
|
|
32484
|
+
p_ids: string[];
|
|
32485
|
+
p_mode: string;
|
|
32486
|
+
p_reason: string;
|
|
32487
|
+
};
|
|
32488
|
+
Returns: number;
|
|
32489
|
+
};
|
|
32222
32490
|
logistics_pick_start_estimate: {
|
|
32223
32491
|
Args: {
|
|
32224
32492
|
p_order: Json;
|
|
@@ -33341,6 +33609,22 @@ export type Database = {
|
|
|
33341
33609
|
};
|
|
33342
33610
|
Returns: Json;
|
|
33343
33611
|
};
|
|
33612
|
+
logistics_tz: {
|
|
33613
|
+
Args: never;
|
|
33614
|
+
Returns: string;
|
|
33615
|
+
};
|
|
33616
|
+
logistics_unit_all_carts_scanned: {
|
|
33617
|
+
Args: {
|
|
33618
|
+
p_order_id: string;
|
|
33619
|
+
};
|
|
33620
|
+
Returns: boolean;
|
|
33621
|
+
};
|
|
33622
|
+
logistics_unit_order_ids: {
|
|
33623
|
+
Args: {
|
|
33624
|
+
p_order_id: string;
|
|
33625
|
+
};
|
|
33626
|
+
Returns: string[];
|
|
33627
|
+
};
|
|
33344
33628
|
logistics_upsert_task: {
|
|
33345
33629
|
Args: {
|
|
33346
33630
|
p_buffer_ref: string;
|
|
@@ -33556,6 +33840,12 @@ export type Database = {
|
|
|
33556
33840
|
Args: never;
|
|
33557
33841
|
Returns: Json;
|
|
33558
33842
|
};
|
|
33843
|
+
pick_assert_printable: {
|
|
33844
|
+
Args: {
|
|
33845
|
+
_item: Database["public"]["Tables"]["pick_queue"]["Row"];
|
|
33846
|
+
};
|
|
33847
|
+
Returns: undefined;
|
|
33848
|
+
};
|
|
33559
33849
|
pick_available_pick_days: {
|
|
33560
33850
|
Args: {
|
|
33561
33851
|
_max_days?: number;
|
|
@@ -34277,6 +34567,13 @@ export type Database = {
|
|
|
34277
34567
|
};
|
|
34278
34568
|
Returns: Json;
|
|
34279
34569
|
};
|
|
34570
|
+
pickstation_auto_send_status: {
|
|
34571
|
+
Args: {
|
|
34572
|
+
p_order_id: string;
|
|
34573
|
+
p_slug: string;
|
|
34574
|
+
};
|
|
34575
|
+
Returns: Json;
|
|
34576
|
+
};
|
|
34280
34577
|
pickstation_cart_sticker_state: {
|
|
34281
34578
|
Args: {
|
|
34282
34579
|
p_cart_id: string;
|
|
@@ -35092,6 +35389,14 @@ export type Database = {
|
|
|
35092
35389
|
};
|
|
35093
35390
|
Returns: Json;
|
|
35094
35391
|
};
|
|
35392
|
+
scan_kar_voortgang: {
|
|
35393
|
+
Args: {
|
|
35394
|
+
p_cart_id: string;
|
|
35395
|
+
p_scanner_id?: string;
|
|
35396
|
+
p_slug?: string;
|
|
35397
|
+
};
|
|
35398
|
+
Returns: Json;
|
|
35399
|
+
};
|
|
35095
35400
|
scan_log_code: {
|
|
35096
35401
|
Args: {
|
|
35097
35402
|
p_code: string;
|
|
@@ -35109,6 +35414,12 @@ export type Database = {
|
|
|
35109
35414
|
};
|
|
35110
35415
|
Returns: Json;
|
|
35111
35416
|
};
|
|
35417
|
+
scan_order_klant: {
|
|
35418
|
+
Args: {
|
|
35419
|
+
p_order_id: string;
|
|
35420
|
+
};
|
|
35421
|
+
Returns: Json;
|
|
35422
|
+
};
|
|
35112
35423
|
scan_pakbon_lookup: {
|
|
35113
35424
|
Args: {
|
|
35114
35425
|
p_barcode: string;
|
|
@@ -35215,6 +35526,10 @@ export type Database = {
|
|
|
35215
35526
|
};
|
|
35216
35527
|
Returns: Json;
|
|
35217
35528
|
};
|
|
35529
|
+
scan_tijdzone: {
|
|
35530
|
+
Args: never;
|
|
35531
|
+
Returns: string;
|
|
35532
|
+
};
|
|
35218
35533
|
scan_verzendbrief_regels: {
|
|
35219
35534
|
Args: {
|
|
35220
35535
|
p_sessie_id: string;
|
|
@@ -35543,6 +35858,26 @@ export type Database = {
|
|
|
35543
35858
|
trade_item_key: string;
|
|
35544
35859
|
updated_at: string;
|
|
35545
35860
|
}[];
|
|
35861
|
+
} | {
|
|
35862
|
+
Args: {
|
|
35863
|
+
p_change_source?: string;
|
|
35864
|
+
p_incoming_stock?: number;
|
|
35865
|
+
p_minimum_stock?: number;
|
|
35866
|
+
p_notes?: string;
|
|
35867
|
+
p_physical_stock: number;
|
|
35868
|
+
p_product_id: string;
|
|
35869
|
+
};
|
|
35870
|
+
Returns: {
|
|
35871
|
+
connection_id: string;
|
|
35872
|
+
incoming_stock: number;
|
|
35873
|
+
minimum_stock: number;
|
|
35874
|
+
notes: string;
|
|
35875
|
+
physical_stock: number;
|
|
35876
|
+
product_id: string;
|
|
35877
|
+
reserved_stock: number;
|
|
35878
|
+
trade_item_key: string;
|
|
35879
|
+
updated_at: string;
|
|
35880
|
+
}[];
|
|
35546
35881
|
};
|
|
35547
35882
|
show_limit: {
|
|
35548
35883
|
Args: never;
|