@flowselections/floriday-voorraad 1.0.82 → 1.0.86
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/voorraad/ArtikelWizard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.js +53 -10
- package/dist-lib/components/voorraad/FloridayTakeoverPanel.d.ts +7 -0
- package/dist-lib/components/voorraad/FloridayTakeoverPanel.d.ts.map +1 -0
- package/dist-lib/components/voorraad/FloridayTakeoverPanel.js +186 -0
- package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadPage.js +2 -1
- package/dist-lib/hooks-entry.d.ts +1 -0
- package/dist-lib/hooks-entry.d.ts.map +1 -1
- package/dist-lib/hooks-entry.js +1 -0
- package/dist-lib/integrations/supabase/types.d.ts +773 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floriday-client.d.ts +5 -0
- package/dist-lib/lib/floriday-client.d.ts.map +1 -1
- package/dist-lib/lib/floriday-client.js +59 -50
- package/dist-lib/lib/floriday-takeover.functions.d.ts +49 -0
- package/dist-lib/lib/floriday-takeover.functions.d.ts.map +1 -0
- package/dist-lib/lib/floriday-takeover.functions.js +185 -0
- package/dist-lib/lib/publish-readiness.js +2 -2
- package/dist-lib/server-hooks/__tests__/trade-item-photo.test.d.ts +2 -0
- package/dist-lib/server-hooks/__tests__/trade-item-photo.test.d.ts.map +1 -0
- package/dist-lib/server-hooks/__tests__/trade-item-photo.test.js +19 -0
- package/dist-lib/server-hooks/floriday-stock-reconcile.d.ts.map +1 -1
- package/dist-lib/server-hooks/floriday-stock-reconcile.js +5 -1
- package/dist-lib/server-hooks/guard.d.ts.map +1 -1
- package/dist-lib/server-hooks/guard.js +26 -3
- package/dist-lib/server-hooks/trade-item-photo.d.ts +13 -0
- package/dist-lib/server-hooks/trade-item-photo.d.ts.map +1 -0
- package/dist-lib/server-hooks/trade-item-photo.js +354 -0
- package/package.json +10 -1
|
@@ -5979,33 +5979,42 @@ export type Database = {
|
|
|
5979
5979
|
};
|
|
5980
5980
|
floricode_sync_state: {
|
|
5981
5981
|
Row: {
|
|
5982
|
+
completed_at: string | null;
|
|
5982
5983
|
cursor_skip: number;
|
|
5983
5984
|
error_message: string | null;
|
|
5984
5985
|
last_change_date_time: string | null;
|
|
5985
5986
|
last_sequence_number: number;
|
|
5986
5987
|
last_sync_at: string | null;
|
|
5988
|
+
pending_change_date_time: string | null;
|
|
5987
5989
|
resource: string;
|
|
5988
5990
|
status: string;
|
|
5991
|
+
total_count: number | null;
|
|
5989
5992
|
updated_at: string;
|
|
5990
5993
|
};
|
|
5991
5994
|
Insert: {
|
|
5995
|
+
completed_at?: string | null;
|
|
5992
5996
|
cursor_skip?: number;
|
|
5993
5997
|
error_message?: string | null;
|
|
5994
5998
|
last_change_date_time?: string | null;
|
|
5995
5999
|
last_sequence_number?: number;
|
|
5996
6000
|
last_sync_at?: string | null;
|
|
6001
|
+
pending_change_date_time?: string | null;
|
|
5997
6002
|
resource: string;
|
|
5998
6003
|
status?: string;
|
|
6004
|
+
total_count?: number | null;
|
|
5999
6005
|
updated_at?: string;
|
|
6000
6006
|
};
|
|
6001
6007
|
Update: {
|
|
6008
|
+
completed_at?: string | null;
|
|
6002
6009
|
cursor_skip?: number;
|
|
6003
6010
|
error_message?: string | null;
|
|
6004
6011
|
last_change_date_time?: string | null;
|
|
6005
6012
|
last_sequence_number?: number;
|
|
6006
6013
|
last_sync_at?: string | null;
|
|
6014
|
+
pending_change_date_time?: string | null;
|
|
6007
6015
|
resource?: string;
|
|
6008
6016
|
status?: string;
|
|
6017
|
+
total_count?: number | null;
|
|
6009
6018
|
updated_at?: string;
|
|
6010
6019
|
};
|
|
6011
6020
|
Relationships: [];
|
|
@@ -6760,6 +6769,9 @@ export type Database = {
|
|
|
6760
6769
|
organization_name: string | null;
|
|
6761
6770
|
preferred_warehouse_id: string | null;
|
|
6762
6771
|
preferred_warehouse_name: string | null;
|
|
6772
|
+
read_only: boolean;
|
|
6773
|
+
read_only_changed_at: string | null;
|
|
6774
|
+
read_only_changed_by: string | null;
|
|
6763
6775
|
token_expires_at: string | null;
|
|
6764
6776
|
updated_at: string;
|
|
6765
6777
|
};
|
|
@@ -6775,6 +6787,9 @@ export type Database = {
|
|
|
6775
6787
|
organization_name?: string | null;
|
|
6776
6788
|
preferred_warehouse_id?: string | null;
|
|
6777
6789
|
preferred_warehouse_name?: string | null;
|
|
6790
|
+
read_only?: boolean;
|
|
6791
|
+
read_only_changed_at?: string | null;
|
|
6792
|
+
read_only_changed_by?: string | null;
|
|
6778
6793
|
token_expires_at?: string | null;
|
|
6779
6794
|
updated_at?: string;
|
|
6780
6795
|
};
|
|
@@ -6790,6 +6805,9 @@ export type Database = {
|
|
|
6790
6805
|
organization_name?: string | null;
|
|
6791
6806
|
preferred_warehouse_id?: string | null;
|
|
6792
6807
|
preferred_warehouse_name?: string | null;
|
|
6808
|
+
read_only?: boolean;
|
|
6809
|
+
read_only_changed_at?: string | null;
|
|
6810
|
+
read_only_changed_by?: string | null;
|
|
6793
6811
|
token_expires_at?: string | null;
|
|
6794
6812
|
updated_at?: string;
|
|
6795
6813
|
};
|
|
@@ -7604,7 +7622,11 @@ export type Database = {
|
|
|
7604
7622
|
created_at: string;
|
|
7605
7623
|
desired_availability: boolean;
|
|
7606
7624
|
desired_quantity: number;
|
|
7625
|
+
erp_leading: boolean | null;
|
|
7626
|
+
erp_leading_at: string | null;
|
|
7627
|
+
first_positive_published_at: string | null;
|
|
7607
7628
|
fixed_quantity: number | null;
|
|
7629
|
+
floriday_offer_forms: Json | null;
|
|
7608
7630
|
floriday_trade_item_id: string | null;
|
|
7609
7631
|
id: string;
|
|
7610
7632
|
last_confirmed_at: string | null;
|
|
@@ -7636,7 +7658,11 @@ export type Database = {
|
|
|
7636
7658
|
created_at?: string;
|
|
7637
7659
|
desired_availability?: boolean;
|
|
7638
7660
|
desired_quantity?: number;
|
|
7661
|
+
erp_leading?: boolean | null;
|
|
7662
|
+
erp_leading_at?: string | null;
|
|
7663
|
+
first_positive_published_at?: string | null;
|
|
7639
7664
|
fixed_quantity?: number | null;
|
|
7665
|
+
floriday_offer_forms?: Json | null;
|
|
7640
7666
|
floriday_trade_item_id?: string | null;
|
|
7641
7667
|
id?: string;
|
|
7642
7668
|
last_confirmed_at?: string | null;
|
|
@@ -7668,7 +7694,11 @@ export type Database = {
|
|
|
7668
7694
|
created_at?: string;
|
|
7669
7695
|
desired_availability?: boolean;
|
|
7670
7696
|
desired_quantity?: number;
|
|
7697
|
+
erp_leading?: boolean | null;
|
|
7698
|
+
erp_leading_at?: string | null;
|
|
7699
|
+
first_positive_published_at?: string | null;
|
|
7671
7700
|
fixed_quantity?: number | null;
|
|
7701
|
+
floriday_offer_forms?: Json | null;
|
|
7672
7702
|
floriday_trade_item_id?: string | null;
|
|
7673
7703
|
id?: string;
|
|
7674
7704
|
last_confirmed_at?: string | null;
|
|
@@ -8529,6 +8559,116 @@ export type Database = {
|
|
|
8529
8559
|
}
|
|
8530
8560
|
];
|
|
8531
8561
|
};
|
|
8562
|
+
floriday_takeover_items: {
|
|
8563
|
+
Row: {
|
|
8564
|
+
created_at: string;
|
|
8565
|
+
created_product: boolean;
|
|
8566
|
+
id: string;
|
|
8567
|
+
new_price: number | null;
|
|
8568
|
+
new_stock: number | null;
|
|
8569
|
+
offer_forms: Json | null;
|
|
8570
|
+
old_erp_leading: boolean | null;
|
|
8571
|
+
old_offer_forms: Json | null;
|
|
8572
|
+
old_price: number | null;
|
|
8573
|
+
old_stock: number | null;
|
|
8574
|
+
price_source: string | null;
|
|
8575
|
+
product_id: string;
|
|
8576
|
+
run_id: string;
|
|
8577
|
+
stock_source: string | null;
|
|
8578
|
+
trade_item_id: string;
|
|
8579
|
+
undo_skipped_reason: string | null;
|
|
8580
|
+
undone: boolean;
|
|
8581
|
+
};
|
|
8582
|
+
Insert: {
|
|
8583
|
+
created_at?: string;
|
|
8584
|
+
created_product?: boolean;
|
|
8585
|
+
id?: string;
|
|
8586
|
+
new_price?: number | null;
|
|
8587
|
+
new_stock?: number | null;
|
|
8588
|
+
offer_forms?: Json | null;
|
|
8589
|
+
old_erp_leading?: boolean | null;
|
|
8590
|
+
old_offer_forms?: Json | null;
|
|
8591
|
+
old_price?: number | null;
|
|
8592
|
+
old_stock?: number | null;
|
|
8593
|
+
price_source?: string | null;
|
|
8594
|
+
product_id: string;
|
|
8595
|
+
run_id: string;
|
|
8596
|
+
stock_source?: string | null;
|
|
8597
|
+
trade_item_id: string;
|
|
8598
|
+
undo_skipped_reason?: string | null;
|
|
8599
|
+
undone?: boolean;
|
|
8600
|
+
};
|
|
8601
|
+
Update: {
|
|
8602
|
+
created_at?: string;
|
|
8603
|
+
created_product?: boolean;
|
|
8604
|
+
id?: string;
|
|
8605
|
+
new_price?: number | null;
|
|
8606
|
+
new_stock?: number | null;
|
|
8607
|
+
offer_forms?: Json | null;
|
|
8608
|
+
old_erp_leading?: boolean | null;
|
|
8609
|
+
old_offer_forms?: Json | null;
|
|
8610
|
+
old_price?: number | null;
|
|
8611
|
+
old_stock?: number | null;
|
|
8612
|
+
price_source?: string | null;
|
|
8613
|
+
product_id?: string;
|
|
8614
|
+
run_id?: string;
|
|
8615
|
+
stock_source?: string | null;
|
|
8616
|
+
trade_item_id?: string;
|
|
8617
|
+
undo_skipped_reason?: string | null;
|
|
8618
|
+
undone?: boolean;
|
|
8619
|
+
};
|
|
8620
|
+
Relationships: [
|
|
8621
|
+
{
|
|
8622
|
+
foreignKeyName: "floriday_takeover_items_run_id_fkey";
|
|
8623
|
+
columns: ["run_id"];
|
|
8624
|
+
isOneToOne: false;
|
|
8625
|
+
referencedRelation: "floriday_takeover_runs";
|
|
8626
|
+
referencedColumns: ["id"];
|
|
8627
|
+
}
|
|
8628
|
+
];
|
|
8629
|
+
};
|
|
8630
|
+
floriday_takeover_runs: {
|
|
8631
|
+
Row: {
|
|
8632
|
+
connection_id: string;
|
|
8633
|
+
created_at: string;
|
|
8634
|
+
created_products: number;
|
|
8635
|
+
id: string;
|
|
8636
|
+
status: string;
|
|
8637
|
+
total_items: number;
|
|
8638
|
+
undo_skipped_items: number;
|
|
8639
|
+
undone_at: string | null;
|
|
8640
|
+
undone_items: number;
|
|
8641
|
+
updated_at: string;
|
|
8642
|
+
user_id: string;
|
|
8643
|
+
};
|
|
8644
|
+
Insert: {
|
|
8645
|
+
connection_id: string;
|
|
8646
|
+
created_at?: string;
|
|
8647
|
+
created_products?: number;
|
|
8648
|
+
id?: string;
|
|
8649
|
+
status?: string;
|
|
8650
|
+
total_items?: number;
|
|
8651
|
+
undo_skipped_items?: number;
|
|
8652
|
+
undone_at?: string | null;
|
|
8653
|
+
undone_items?: number;
|
|
8654
|
+
updated_at?: string;
|
|
8655
|
+
user_id: string;
|
|
8656
|
+
};
|
|
8657
|
+
Update: {
|
|
8658
|
+
connection_id?: string;
|
|
8659
|
+
created_at?: string;
|
|
8660
|
+
created_products?: number;
|
|
8661
|
+
id?: string;
|
|
8662
|
+
status?: string;
|
|
8663
|
+
total_items?: number;
|
|
8664
|
+
undo_skipped_items?: number;
|
|
8665
|
+
undone_at?: string | null;
|
|
8666
|
+
undone_items?: number;
|
|
8667
|
+
updated_at?: string;
|
|
8668
|
+
user_id?: string;
|
|
8669
|
+
};
|
|
8670
|
+
Relationships: [];
|
|
8671
|
+
};
|
|
8532
8672
|
floriday_token_refresh_log: {
|
|
8533
8673
|
Row: {
|
|
8534
8674
|
attempted_at: string;
|
|
@@ -12421,6 +12561,39 @@ export type Database = {
|
|
|
12421
12561
|
};
|
|
12422
12562
|
Relationships: [];
|
|
12423
12563
|
};
|
|
12564
|
+
logistics_external_fulfillment: {
|
|
12565
|
+
Row: {
|
|
12566
|
+
applied_at: string;
|
|
12567
|
+
created_at: string;
|
|
12568
|
+
event_id: string | null;
|
|
12569
|
+
full_fulfilled: boolean;
|
|
12570
|
+
order_id: string;
|
|
12571
|
+
reason: string;
|
|
12572
|
+
sales_order_ids: string[];
|
|
12573
|
+
updated_at: string;
|
|
12574
|
+
};
|
|
12575
|
+
Insert: {
|
|
12576
|
+
applied_at?: string;
|
|
12577
|
+
created_at?: string;
|
|
12578
|
+
event_id?: string | null;
|
|
12579
|
+
full_fulfilled?: boolean;
|
|
12580
|
+
order_id: string;
|
|
12581
|
+
reason?: string;
|
|
12582
|
+
sales_order_ids?: string[];
|
|
12583
|
+
updated_at?: string;
|
|
12584
|
+
};
|
|
12585
|
+
Update: {
|
|
12586
|
+
applied_at?: string;
|
|
12587
|
+
created_at?: string;
|
|
12588
|
+
event_id?: string | null;
|
|
12589
|
+
full_fulfilled?: boolean;
|
|
12590
|
+
order_id?: string;
|
|
12591
|
+
reason?: string;
|
|
12592
|
+
sales_order_ids?: string[];
|
|
12593
|
+
updated_at?: string;
|
|
12594
|
+
};
|
|
12595
|
+
Relationships: [];
|
|
12596
|
+
};
|
|
12424
12597
|
logistics_floriday_carrier_map: {
|
|
12425
12598
|
Row: {
|
|
12426
12599
|
carrier_code: string;
|
|
@@ -14583,6 +14756,45 @@ export type Database = {
|
|
|
14583
14756
|
};
|
|
14584
14757
|
Relationships: [];
|
|
14585
14758
|
};
|
|
14759
|
+
mailbox_ai_runs: {
|
|
14760
|
+
Row: {
|
|
14761
|
+
error: string | null;
|
|
14762
|
+
finished_at: string | null;
|
|
14763
|
+
id: string;
|
|
14764
|
+
input_tokens: number | null;
|
|
14765
|
+
is_test: boolean;
|
|
14766
|
+
message_id: string | null;
|
|
14767
|
+
ok: boolean | null;
|
|
14768
|
+
output_tokens: number | null;
|
|
14769
|
+
started_at: string;
|
|
14770
|
+
trigger: string;
|
|
14771
|
+
};
|
|
14772
|
+
Insert: {
|
|
14773
|
+
error?: string | null;
|
|
14774
|
+
finished_at?: string | null;
|
|
14775
|
+
id?: string;
|
|
14776
|
+
input_tokens?: number | null;
|
|
14777
|
+
is_test?: boolean;
|
|
14778
|
+
message_id?: string | null;
|
|
14779
|
+
ok?: boolean | null;
|
|
14780
|
+
output_tokens?: number | null;
|
|
14781
|
+
started_at?: string;
|
|
14782
|
+
trigger?: string;
|
|
14783
|
+
};
|
|
14784
|
+
Update: {
|
|
14785
|
+
error?: string | null;
|
|
14786
|
+
finished_at?: string | null;
|
|
14787
|
+
id?: string;
|
|
14788
|
+
input_tokens?: number | null;
|
|
14789
|
+
is_test?: boolean;
|
|
14790
|
+
message_id?: string | null;
|
|
14791
|
+
ok?: boolean | null;
|
|
14792
|
+
output_tokens?: number | null;
|
|
14793
|
+
started_at?: string;
|
|
14794
|
+
trigger?: string;
|
|
14795
|
+
};
|
|
14796
|
+
Relationships: [];
|
|
14797
|
+
};
|
|
14586
14798
|
mailbox_ai_settings: {
|
|
14587
14799
|
Row: {
|
|
14588
14800
|
active_goal_key: string | null;
|
|
@@ -14616,6 +14828,78 @@ export type Database = {
|
|
|
14616
14828
|
};
|
|
14617
14829
|
Relationships: [];
|
|
14618
14830
|
};
|
|
14831
|
+
mailbox_filter_settings: {
|
|
14832
|
+
Row: {
|
|
14833
|
+
analyze_unknown_with_signals: boolean;
|
|
14834
|
+
conf_green: number;
|
|
14835
|
+
conf_orange: number;
|
|
14836
|
+
created_at: string;
|
|
14837
|
+
domain_match: boolean;
|
|
14838
|
+
duplicate_days: number;
|
|
14839
|
+
id: string;
|
|
14840
|
+
max_agent_reparse: number;
|
|
14841
|
+
max_ai_per_day: number;
|
|
14842
|
+
max_ai_per_month: number;
|
|
14843
|
+
max_candidates: number;
|
|
14844
|
+
max_retries_per_run: number;
|
|
14845
|
+
max_retry_attempts: number;
|
|
14846
|
+
min_signals_unknown: number;
|
|
14847
|
+
negative_keywords: string[];
|
|
14848
|
+
order_keywords: string[];
|
|
14849
|
+
order_patterns: string[];
|
|
14850
|
+
singleton: boolean;
|
|
14851
|
+
skip_domains: string[];
|
|
14852
|
+
skip_senders: string[];
|
|
14853
|
+
updated_at: string;
|
|
14854
|
+
};
|
|
14855
|
+
Insert: {
|
|
14856
|
+
analyze_unknown_with_signals?: boolean;
|
|
14857
|
+
conf_green?: number;
|
|
14858
|
+
conf_orange?: number;
|
|
14859
|
+
created_at?: string;
|
|
14860
|
+
domain_match?: boolean;
|
|
14861
|
+
duplicate_days?: number;
|
|
14862
|
+
id?: string;
|
|
14863
|
+
max_agent_reparse?: number;
|
|
14864
|
+
max_ai_per_day?: number;
|
|
14865
|
+
max_ai_per_month?: number;
|
|
14866
|
+
max_candidates?: number;
|
|
14867
|
+
max_retries_per_run?: number;
|
|
14868
|
+
max_retry_attempts?: number;
|
|
14869
|
+
min_signals_unknown?: number;
|
|
14870
|
+
negative_keywords?: string[];
|
|
14871
|
+
order_keywords?: string[];
|
|
14872
|
+
order_patterns?: string[];
|
|
14873
|
+
singleton?: boolean;
|
|
14874
|
+
skip_domains?: string[];
|
|
14875
|
+
skip_senders?: string[];
|
|
14876
|
+
updated_at?: string;
|
|
14877
|
+
};
|
|
14878
|
+
Update: {
|
|
14879
|
+
analyze_unknown_with_signals?: boolean;
|
|
14880
|
+
conf_green?: number;
|
|
14881
|
+
conf_orange?: number;
|
|
14882
|
+
created_at?: string;
|
|
14883
|
+
domain_match?: boolean;
|
|
14884
|
+
duplicate_days?: number;
|
|
14885
|
+
id?: string;
|
|
14886
|
+
max_agent_reparse?: number;
|
|
14887
|
+
max_ai_per_day?: number;
|
|
14888
|
+
max_ai_per_month?: number;
|
|
14889
|
+
max_candidates?: number;
|
|
14890
|
+
max_retries_per_run?: number;
|
|
14891
|
+
max_retry_attempts?: number;
|
|
14892
|
+
min_signals_unknown?: number;
|
|
14893
|
+
negative_keywords?: string[];
|
|
14894
|
+
order_keywords?: string[];
|
|
14895
|
+
order_patterns?: string[];
|
|
14896
|
+
singleton?: boolean;
|
|
14897
|
+
skip_domains?: string[];
|
|
14898
|
+
skip_senders?: string[];
|
|
14899
|
+
updated_at?: string;
|
|
14900
|
+
};
|
|
14901
|
+
Relationships: [];
|
|
14902
|
+
};
|
|
14619
14903
|
mailbox_ingest_runs: {
|
|
14620
14904
|
Row: {
|
|
14621
14905
|
connection_id: string | null;
|
|
@@ -14654,6 +14938,10 @@ export type Database = {
|
|
|
14654
14938
|
};
|
|
14655
14939
|
mailbox_messages: {
|
|
14656
14940
|
Row: {
|
|
14941
|
+
analysis_count: number;
|
|
14942
|
+
analysis_note: string | null;
|
|
14943
|
+
analysis_started_at: string | null;
|
|
14944
|
+
analysis_state: string | null;
|
|
14657
14945
|
attachments: Json;
|
|
14658
14946
|
body_html: string | null;
|
|
14659
14947
|
body_text: string | null;
|
|
@@ -14662,6 +14950,8 @@ export type Database = {
|
|
|
14662
14950
|
created_at: string;
|
|
14663
14951
|
error_message: string | null;
|
|
14664
14952
|
external_id: string | null;
|
|
14953
|
+
filter_outcome: string | null;
|
|
14954
|
+
filter_reason: string | null;
|
|
14665
14955
|
from_email: string | null;
|
|
14666
14956
|
from_name: string | null;
|
|
14667
14957
|
has_attachments: boolean;
|
|
@@ -14678,6 +14968,10 @@ export type Database = {
|
|
|
14678
14968
|
updated_at: string;
|
|
14679
14969
|
};
|
|
14680
14970
|
Insert: {
|
|
14971
|
+
analysis_count?: number;
|
|
14972
|
+
analysis_note?: string | null;
|
|
14973
|
+
analysis_started_at?: string | null;
|
|
14974
|
+
analysis_state?: string | null;
|
|
14681
14975
|
attachments?: Json;
|
|
14682
14976
|
body_html?: string | null;
|
|
14683
14977
|
body_text?: string | null;
|
|
@@ -14686,6 +14980,8 @@ export type Database = {
|
|
|
14686
14980
|
created_at?: string;
|
|
14687
14981
|
error_message?: string | null;
|
|
14688
14982
|
external_id?: string | null;
|
|
14983
|
+
filter_outcome?: string | null;
|
|
14984
|
+
filter_reason?: string | null;
|
|
14689
14985
|
from_email?: string | null;
|
|
14690
14986
|
from_name?: string | null;
|
|
14691
14987
|
has_attachments?: boolean;
|
|
@@ -14702,6 +14998,10 @@ export type Database = {
|
|
|
14702
14998
|
updated_at?: string;
|
|
14703
14999
|
};
|
|
14704
15000
|
Update: {
|
|
15001
|
+
analysis_count?: number;
|
|
15002
|
+
analysis_note?: string | null;
|
|
15003
|
+
analysis_started_at?: string | null;
|
|
15004
|
+
analysis_state?: string | null;
|
|
14705
15005
|
attachments?: Json;
|
|
14706
15006
|
body_html?: string | null;
|
|
14707
15007
|
body_text?: string | null;
|
|
@@ -14710,6 +15010,8 @@ export type Database = {
|
|
|
14710
15010
|
created_at?: string;
|
|
14711
15011
|
error_message?: string | null;
|
|
14712
15012
|
external_id?: string | null;
|
|
15013
|
+
filter_outcome?: string | null;
|
|
15014
|
+
filter_reason?: string | null;
|
|
14713
15015
|
from_email?: string | null;
|
|
14714
15016
|
from_name?: string | null;
|
|
14715
15017
|
has_attachments?: boolean;
|
|
@@ -14756,6 +15058,7 @@ export type Database = {
|
|
|
14756
15058
|
confidence: number | null;
|
|
14757
15059
|
created_at: string;
|
|
14758
15060
|
created_order_id: string | null;
|
|
15061
|
+
customer_reference: string | null;
|
|
14759
15062
|
delivery_date: string | null;
|
|
14760
15063
|
id: string;
|
|
14761
15064
|
matched_customer_id: string | null;
|
|
@@ -14774,6 +15077,7 @@ export type Database = {
|
|
|
14774
15077
|
confidence?: number | null;
|
|
14775
15078
|
created_at?: string;
|
|
14776
15079
|
created_order_id?: string | null;
|
|
15080
|
+
customer_reference?: string | null;
|
|
14777
15081
|
delivery_date?: string | null;
|
|
14778
15082
|
id?: string;
|
|
14779
15083
|
matched_customer_id?: string | null;
|
|
@@ -14792,6 +15096,7 @@ export type Database = {
|
|
|
14792
15096
|
confidence?: number | null;
|
|
14793
15097
|
created_at?: string;
|
|
14794
15098
|
created_order_id?: string | null;
|
|
15099
|
+
customer_reference?: string | null;
|
|
14795
15100
|
delivery_date?: string | null;
|
|
14796
15101
|
id?: string;
|
|
14797
15102
|
matched_customer_id?: string | null;
|
|
@@ -14928,43 +15233,85 @@ export type Database = {
|
|
|
14928
15233
|
};
|
|
14929
15234
|
mailbox_proposal_lines: {
|
|
14930
15235
|
Row: {
|
|
15236
|
+
belading: Json | null;
|
|
15237
|
+
confidence: Json | null;
|
|
14931
15238
|
created_at: string;
|
|
15239
|
+
currency: string | null;
|
|
14932
15240
|
id: string;
|
|
14933
15241
|
match_confidence: number | null;
|
|
15242
|
+
match_source: string | null;
|
|
15243
|
+
name_in_mail: string | null;
|
|
15244
|
+
pieces_per_unit: number | null;
|
|
14934
15245
|
plant_type: string | null;
|
|
15246
|
+
plants: number | null;
|
|
15247
|
+
price_per: string | null;
|
|
14935
15248
|
product_id: string | null;
|
|
14936
15249
|
proposal_id: string;
|
|
15250
|
+
qty_in_mail: number | null;
|
|
14937
15251
|
quantity: number | null;
|
|
15252
|
+
raw_code: string | null;
|
|
14938
15253
|
raw_product_text: string | null;
|
|
14939
15254
|
sort_order: number;
|
|
14940
15255
|
unit: string | null;
|
|
15256
|
+
unit_kind: string | null;
|
|
15257
|
+
unit_price: number | null;
|
|
15258
|
+
unit_text: string | null;
|
|
14941
15259
|
updated_at: string;
|
|
15260
|
+
warnings: string[] | null;
|
|
14942
15261
|
};
|
|
14943
15262
|
Insert: {
|
|
15263
|
+
belading?: Json | null;
|
|
15264
|
+
confidence?: Json | null;
|
|
14944
15265
|
created_at?: string;
|
|
15266
|
+
currency?: string | null;
|
|
14945
15267
|
id?: string;
|
|
14946
15268
|
match_confidence?: number | null;
|
|
15269
|
+
match_source?: string | null;
|
|
15270
|
+
name_in_mail?: string | null;
|
|
15271
|
+
pieces_per_unit?: number | null;
|
|
14947
15272
|
plant_type?: string | null;
|
|
15273
|
+
plants?: number | null;
|
|
15274
|
+
price_per?: string | null;
|
|
14948
15275
|
product_id?: string | null;
|
|
14949
15276
|
proposal_id: string;
|
|
15277
|
+
qty_in_mail?: number | null;
|
|
14950
15278
|
quantity?: number | null;
|
|
15279
|
+
raw_code?: string | null;
|
|
14951
15280
|
raw_product_text?: string | null;
|
|
14952
15281
|
sort_order?: number;
|
|
14953
15282
|
unit?: string | null;
|
|
15283
|
+
unit_kind?: string | null;
|
|
15284
|
+
unit_price?: number | null;
|
|
15285
|
+
unit_text?: string | null;
|
|
14954
15286
|
updated_at?: string;
|
|
15287
|
+
warnings?: string[] | null;
|
|
14955
15288
|
};
|
|
14956
15289
|
Update: {
|
|
15290
|
+
belading?: Json | null;
|
|
15291
|
+
confidence?: Json | null;
|
|
14957
15292
|
created_at?: string;
|
|
15293
|
+
currency?: string | null;
|
|
14958
15294
|
id?: string;
|
|
14959
15295
|
match_confidence?: number | null;
|
|
15296
|
+
match_source?: string | null;
|
|
15297
|
+
name_in_mail?: string | null;
|
|
15298
|
+
pieces_per_unit?: number | null;
|
|
14960
15299
|
plant_type?: string | null;
|
|
15300
|
+
plants?: number | null;
|
|
15301
|
+
price_per?: string | null;
|
|
14961
15302
|
product_id?: string | null;
|
|
14962
15303
|
proposal_id?: string;
|
|
15304
|
+
qty_in_mail?: number | null;
|
|
14963
15305
|
quantity?: number | null;
|
|
15306
|
+
raw_code?: string | null;
|
|
14964
15307
|
raw_product_text?: string | null;
|
|
14965
15308
|
sort_order?: number;
|
|
14966
15309
|
unit?: string | null;
|
|
15310
|
+
unit_kind?: string | null;
|
|
15311
|
+
unit_price?: number | null;
|
|
15312
|
+
unit_text?: string | null;
|
|
14967
15313
|
updated_at?: string;
|
|
15314
|
+
warnings?: string[] | null;
|
|
14968
15315
|
};
|
|
14969
15316
|
Relationships: [
|
|
14970
15317
|
{
|
|
@@ -15038,6 +15385,51 @@ export type Database = {
|
|
|
15038
15385
|
};
|
|
15039
15386
|
Relationships: [];
|
|
15040
15387
|
};
|
|
15388
|
+
mailbox_test_cases: {
|
|
15389
|
+
Row: {
|
|
15390
|
+
body_text: string;
|
|
15391
|
+
created_at: string;
|
|
15392
|
+
expected: Json;
|
|
15393
|
+
from_email: string;
|
|
15394
|
+
has_attachment: boolean;
|
|
15395
|
+
id: string;
|
|
15396
|
+
last_result: Json | null;
|
|
15397
|
+
last_run_at: string | null;
|
|
15398
|
+
name: string;
|
|
15399
|
+
sort_order: number;
|
|
15400
|
+
subject: string;
|
|
15401
|
+
updated_at: string;
|
|
15402
|
+
};
|
|
15403
|
+
Insert: {
|
|
15404
|
+
body_text?: string;
|
|
15405
|
+
created_at?: string;
|
|
15406
|
+
expected?: Json;
|
|
15407
|
+
from_email?: string;
|
|
15408
|
+
has_attachment?: boolean;
|
|
15409
|
+
id?: string;
|
|
15410
|
+
last_result?: Json | null;
|
|
15411
|
+
last_run_at?: string | null;
|
|
15412
|
+
name: string;
|
|
15413
|
+
sort_order?: number;
|
|
15414
|
+
subject?: string;
|
|
15415
|
+
updated_at?: string;
|
|
15416
|
+
};
|
|
15417
|
+
Update: {
|
|
15418
|
+
body_text?: string;
|
|
15419
|
+
created_at?: string;
|
|
15420
|
+
expected?: Json;
|
|
15421
|
+
from_email?: string;
|
|
15422
|
+
has_attachment?: boolean;
|
|
15423
|
+
id?: string;
|
|
15424
|
+
last_result?: Json | null;
|
|
15425
|
+
last_run_at?: string | null;
|
|
15426
|
+
name?: string;
|
|
15427
|
+
sort_order?: number;
|
|
15428
|
+
subject?: string;
|
|
15429
|
+
updated_at?: string;
|
|
15430
|
+
};
|
|
15431
|
+
Relationships: [];
|
|
15432
|
+
};
|
|
15041
15433
|
manufacture_product_components: {
|
|
15042
15434
|
Row: {
|
|
15043
15435
|
component_type: string;
|
|
@@ -16160,10 +16552,12 @@ export type Database = {
|
|
|
16160
16552
|
id: string;
|
|
16161
16553
|
items: Json;
|
|
16162
16554
|
notes: string | null;
|
|
16555
|
+
order_creation_attempts: number;
|
|
16163
16556
|
order_creation_error: string | null;
|
|
16164
16557
|
order_creation_failed_at: string | null;
|
|
16165
16558
|
order_id: string | null;
|
|
16166
16559
|
order_number: string | null;
|
|
16560
|
+
order_retry_payload: Json | null;
|
|
16167
16561
|
recipient_id: string;
|
|
16168
16562
|
total_amount: number;
|
|
16169
16563
|
};
|
|
@@ -16177,10 +16571,12 @@ export type Database = {
|
|
|
16177
16571
|
id?: string;
|
|
16178
16572
|
items?: Json;
|
|
16179
16573
|
notes?: string | null;
|
|
16574
|
+
order_creation_attempts?: number;
|
|
16180
16575
|
order_creation_error?: string | null;
|
|
16181
16576
|
order_creation_failed_at?: string | null;
|
|
16182
16577
|
order_id?: string | null;
|
|
16183
16578
|
order_number?: string | null;
|
|
16579
|
+
order_retry_payload?: Json | null;
|
|
16184
16580
|
recipient_id: string;
|
|
16185
16581
|
total_amount?: number;
|
|
16186
16582
|
};
|
|
@@ -16194,10 +16590,12 @@ export type Database = {
|
|
|
16194
16590
|
id?: string;
|
|
16195
16591
|
items?: Json;
|
|
16196
16592
|
notes?: string | null;
|
|
16593
|
+
order_creation_attempts?: number;
|
|
16197
16594
|
order_creation_error?: string | null;
|
|
16198
16595
|
order_creation_failed_at?: string | null;
|
|
16199
16596
|
order_id?: string | null;
|
|
16200
16597
|
order_number?: string | null;
|
|
16598
|
+
order_retry_payload?: Json | null;
|
|
16201
16599
|
recipient_id?: string;
|
|
16202
16600
|
total_amount?: number;
|
|
16203
16601
|
};
|
|
@@ -20951,6 +21349,69 @@ export type Database = {
|
|
|
20951
21349
|
}
|
|
20952
21350
|
];
|
|
20953
21351
|
};
|
|
21352
|
+
productontwerp_import_map: {
|
|
21353
|
+
Row: {
|
|
21354
|
+
created_at: string;
|
|
21355
|
+
entity_type: string;
|
|
21356
|
+
id: string;
|
|
21357
|
+
imported_at: string;
|
|
21358
|
+
match_method: string | null;
|
|
21359
|
+
source_id: string;
|
|
21360
|
+
source_shell_id: string;
|
|
21361
|
+
target_id: string;
|
|
21362
|
+
updated_at: string;
|
|
21363
|
+
};
|
|
21364
|
+
Insert: {
|
|
21365
|
+
created_at?: string;
|
|
21366
|
+
entity_type: string;
|
|
21367
|
+
id?: string;
|
|
21368
|
+
imported_at?: string;
|
|
21369
|
+
match_method?: string | null;
|
|
21370
|
+
source_id: string;
|
|
21371
|
+
source_shell_id: string;
|
|
21372
|
+
target_id: string;
|
|
21373
|
+
updated_at?: string;
|
|
21374
|
+
};
|
|
21375
|
+
Update: {
|
|
21376
|
+
created_at?: string;
|
|
21377
|
+
entity_type?: string;
|
|
21378
|
+
id?: string;
|
|
21379
|
+
imported_at?: string;
|
|
21380
|
+
match_method?: string | null;
|
|
21381
|
+
source_id?: string;
|
|
21382
|
+
source_shell_id?: string;
|
|
21383
|
+
target_id?: string;
|
|
21384
|
+
updated_at?: string;
|
|
21385
|
+
};
|
|
21386
|
+
Relationships: [];
|
|
21387
|
+
};
|
|
21388
|
+
productontwerp_structure_codes: {
|
|
21389
|
+
Row: {
|
|
21390
|
+
code: string;
|
|
21391
|
+
created_at: string;
|
|
21392
|
+
entity_id: string;
|
|
21393
|
+
entity_type: string;
|
|
21394
|
+
id: string;
|
|
21395
|
+
updated_at: string;
|
|
21396
|
+
};
|
|
21397
|
+
Insert: {
|
|
21398
|
+
code: string;
|
|
21399
|
+
created_at?: string;
|
|
21400
|
+
entity_id: string;
|
|
21401
|
+
entity_type: string;
|
|
21402
|
+
id?: string;
|
|
21403
|
+
updated_at?: string;
|
|
21404
|
+
};
|
|
21405
|
+
Update: {
|
|
21406
|
+
code?: string;
|
|
21407
|
+
created_at?: string;
|
|
21408
|
+
entity_id?: string;
|
|
21409
|
+
entity_type?: string;
|
|
21410
|
+
id?: string;
|
|
21411
|
+
updated_at?: string;
|
|
21412
|
+
};
|
|
21413
|
+
Relationships: [];
|
|
21414
|
+
};
|
|
20954
21415
|
products: {
|
|
20955
21416
|
Row: {
|
|
20956
21417
|
article_number: string | null;
|
|
@@ -28777,6 +29238,10 @@ export type Database = {
|
|
|
28777
29238
|
};
|
|
28778
29239
|
};
|
|
28779
29240
|
Functions: {
|
|
29241
|
+
_arm_offer_order_retry: {
|
|
29242
|
+
Args: never;
|
|
29243
|
+
Returns: undefined;
|
|
29244
|
+
};
|
|
28780
29245
|
_floriday_queue_cleanup_batch: {
|
|
28781
29246
|
Args: {
|
|
28782
29247
|
p_days: number;
|
|
@@ -28902,6 +29367,12 @@ export type Database = {
|
|
|
28902
29367
|
};
|
|
28903
29368
|
Returns: string;
|
|
28904
29369
|
};
|
|
29370
|
+
afh_order_floriday_afgehandeld: {
|
|
29371
|
+
Args: {
|
|
29372
|
+
p_order_id: string;
|
|
29373
|
+
};
|
|
29374
|
+
Returns: boolean;
|
|
29375
|
+
};
|
|
28905
29376
|
afh_pick_workdays: {
|
|
28906
29377
|
Args: {
|
|
28907
29378
|
p_from: string;
|
|
@@ -28944,6 +29415,14 @@ export type Database = {
|
|
|
28944
29415
|
};
|
|
28945
29416
|
Returns: Json;
|
|
28946
29417
|
};
|
|
29418
|
+
afh_signup_groups_wacht: {
|
|
29419
|
+
Args: {
|
|
29420
|
+
p_from: string;
|
|
29421
|
+
p_to: string;
|
|
29422
|
+
p_tz: string;
|
|
29423
|
+
};
|
|
29424
|
+
Returns: Json;
|
|
29425
|
+
};
|
|
28947
29426
|
afh_signup_mail: {
|
|
28948
29427
|
Args: {
|
|
28949
29428
|
g: Json;
|
|
@@ -28960,6 +29439,14 @@ export type Database = {
|
|
|
28960
29439
|
};
|
|
28961
29440
|
Returns: Json;
|
|
28962
29441
|
};
|
|
29442
|
+
afh_signup_mail_wacht: {
|
|
29443
|
+
Args: {
|
|
29444
|
+
g: Json;
|
|
29445
|
+
p_prev: number;
|
|
29446
|
+
p_tz: string;
|
|
29447
|
+
};
|
|
29448
|
+
Returns: Json;
|
|
29449
|
+
};
|
|
28963
29450
|
afh_signup_send_group: {
|
|
28964
29451
|
Args: {
|
|
28965
29452
|
g: Json;
|
|
@@ -30062,6 +30549,30 @@ export type Database = {
|
|
|
30062
30549
|
};
|
|
30063
30550
|
Returns: boolean;
|
|
30064
30551
|
};
|
|
30552
|
+
floricode_sync_cron_schedule: {
|
|
30553
|
+
Args: {
|
|
30554
|
+
p_apikey: string;
|
|
30555
|
+
p_schedule: string;
|
|
30556
|
+
p_url: string;
|
|
30557
|
+
};
|
|
30558
|
+
Returns: number;
|
|
30559
|
+
};
|
|
30560
|
+
floricode_sync_cron_set_schedule: {
|
|
30561
|
+
Args: {
|
|
30562
|
+
p_schedule: string;
|
|
30563
|
+
};
|
|
30564
|
+
Returns: boolean;
|
|
30565
|
+
};
|
|
30566
|
+
floricode_sync_cron_status: {
|
|
30567
|
+
Args: never;
|
|
30568
|
+
Returns: {
|
|
30569
|
+
active: boolean;
|
|
30570
|
+
last_run_at: string;
|
|
30571
|
+
last_run_status: string;
|
|
30572
|
+
schedule: string;
|
|
30573
|
+
scheduled: boolean;
|
|
30574
|
+
}[];
|
|
30575
|
+
};
|
|
30065
30576
|
floriday_adopt_connection: {
|
|
30066
30577
|
Args: {
|
|
30067
30578
|
p_new: string;
|
|
@@ -30121,6 +30632,26 @@ export type Database = {
|
|
|
30121
30632
|
source_id: string;
|
|
30122
30633
|
}[];
|
|
30123
30634
|
};
|
|
30635
|
+
floriday_erp_leading_preview: {
|
|
30636
|
+
Args: {
|
|
30637
|
+
p_connection_id: string;
|
|
30638
|
+
p_product_ids: string[];
|
|
30639
|
+
p_stock_mode?: string;
|
|
30640
|
+
};
|
|
30641
|
+
Returns: {
|
|
30642
|
+
blocker: string;
|
|
30643
|
+
desired_available: boolean;
|
|
30644
|
+
desired_quantity: number;
|
|
30645
|
+
horizon_weeks: number;
|
|
30646
|
+
offer_forms: Json;
|
|
30647
|
+
product_id: string;
|
|
30648
|
+
product_name: string;
|
|
30649
|
+
sale_price: number;
|
|
30650
|
+
stock_mode: string;
|
|
30651
|
+
trade_item_id: string;
|
|
30652
|
+
weeks: Json;
|
|
30653
|
+
}[];
|
|
30654
|
+
};
|
|
30124
30655
|
floriday_fill_publish_horizon: {
|
|
30125
30656
|
Args: never;
|
|
30126
30657
|
Returns: number;
|
|
@@ -30131,6 +30662,20 @@ export type Database = {
|
|
|
30131
30662
|
};
|
|
30132
30663
|
Returns: number;
|
|
30133
30664
|
};
|
|
30665
|
+
floriday_leading_summary: {
|
|
30666
|
+
Args: {
|
|
30667
|
+
p_connection_id: string;
|
|
30668
|
+
};
|
|
30669
|
+
Returns: Json;
|
|
30670
|
+
};
|
|
30671
|
+
floriday_make_erp_leading: {
|
|
30672
|
+
Args: {
|
|
30673
|
+
p_connection_id: string;
|
|
30674
|
+
p_product_ids: string[];
|
|
30675
|
+
p_stock_mode?: string;
|
|
30676
|
+
};
|
|
30677
|
+
Returns: Json;
|
|
30678
|
+
};
|
|
30134
30679
|
floriday_network_status: {
|
|
30135
30680
|
Args: {
|
|
30136
30681
|
p_organization_id: string;
|
|
@@ -30142,6 +30687,12 @@ export type Database = {
|
|
|
30142
30687
|
synced_at: string;
|
|
30143
30688
|
}[];
|
|
30144
30689
|
};
|
|
30690
|
+
floriday_norm_offer_forms: {
|
|
30691
|
+
Args: {
|
|
30692
|
+
p: Json;
|
|
30693
|
+
};
|
|
30694
|
+
Returns: Json;
|
|
30695
|
+
};
|
|
30145
30696
|
floriday_orphan_settings_count: {
|
|
30146
30697
|
Args: never;
|
|
30147
30698
|
Returns: number;
|
|
@@ -30170,10 +30721,27 @@ export type Database = {
|
|
|
30170
30721
|
};
|
|
30171
30722
|
Returns: number;
|
|
30172
30723
|
};
|
|
30724
|
+
floriday_takeover_apply: {
|
|
30725
|
+
Args: {
|
|
30726
|
+
p_connection_id: string;
|
|
30727
|
+
p_items: Json;
|
|
30728
|
+
};
|
|
30729
|
+
Returns: Json;
|
|
30730
|
+
};
|
|
30731
|
+
floriday_takeover_undo: {
|
|
30732
|
+
Args: {
|
|
30733
|
+
p_run_id: string;
|
|
30734
|
+
};
|
|
30735
|
+
Returns: Json;
|
|
30736
|
+
};
|
|
30173
30737
|
floriday_today_announce_summary: {
|
|
30174
30738
|
Args: never;
|
|
30175
30739
|
Returns: Json;
|
|
30176
30740
|
};
|
|
30741
|
+
floriday_write_mode: {
|
|
30742
|
+
Args: never;
|
|
30743
|
+
Returns: Json;
|
|
30744
|
+
};
|
|
30177
30745
|
format_cart_number: {
|
|
30178
30746
|
Args: {
|
|
30179
30747
|
p_pick_date: string;
|
|
@@ -31162,6 +31730,14 @@ export type Database = {
|
|
|
31162
31730
|
};
|
|
31163
31731
|
Returns: string;
|
|
31164
31732
|
};
|
|
31733
|
+
log_offer_event_by_code: {
|
|
31734
|
+
Args: {
|
|
31735
|
+
p_code: string;
|
|
31736
|
+
p_event_type: string;
|
|
31737
|
+
p_metadata?: Json;
|
|
31738
|
+
};
|
|
31739
|
+
Returns: boolean;
|
|
31740
|
+
};
|
|
31165
31741
|
logistics_active_layout_method: {
|
|
31166
31742
|
Args: never;
|
|
31167
31743
|
Returns: string;
|
|
@@ -31224,6 +31800,12 @@ export type Database = {
|
|
|
31224
31800
|
Args: never;
|
|
31225
31801
|
Returns: undefined;
|
|
31226
31802
|
};
|
|
31803
|
+
logistics_apply_external_fulfillment: {
|
|
31804
|
+
Args: {
|
|
31805
|
+
p_event_id: string;
|
|
31806
|
+
};
|
|
31807
|
+
Returns: string;
|
|
31808
|
+
};
|
|
31227
31809
|
logistics_apply_order_buffer: {
|
|
31228
31810
|
Args: {
|
|
31229
31811
|
p_order_id: string;
|
|
@@ -31579,6 +32161,12 @@ export type Database = {
|
|
|
31579
32161
|
};
|
|
31580
32162
|
Returns: boolean;
|
|
31581
32163
|
};
|
|
32164
|
+
logistics_cart_has_packing_slip: {
|
|
32165
|
+
Args: {
|
|
32166
|
+
p_cart_id: string;
|
|
32167
|
+
};
|
|
32168
|
+
Returns: boolean;
|
|
32169
|
+
};
|
|
31582
32170
|
logistics_cart_ids_frozen: {
|
|
31583
32171
|
Args: {
|
|
31584
32172
|
p_cart_ids: string[];
|
|
@@ -32137,6 +32725,7 @@ export type Database = {
|
|
|
32137
32725
|
p_delivery_date: string;
|
|
32138
32726
|
p_delivery_location: string;
|
|
32139
32727
|
p_moment_key?: string;
|
|
32728
|
+
p_own_transport?: boolean;
|
|
32140
32729
|
};
|
|
32141
32730
|
Returns: Json;
|
|
32142
32731
|
};
|
|
@@ -32243,6 +32832,17 @@ export type Database = {
|
|
|
32243
32832
|
ref: string;
|
|
32244
32833
|
}[];
|
|
32245
32834
|
};
|
|
32835
|
+
logistics_external_fulfillment_key_report: {
|
|
32836
|
+
Args: never;
|
|
32837
|
+
Returns: {
|
|
32838
|
+
ander_nummer: number;
|
|
32839
|
+
floriday_sales_order_id: string;
|
|
32840
|
+
order_id: string;
|
|
32841
|
+
order_number: string;
|
|
32842
|
+
regels: number;
|
|
32843
|
+
zonder_nummer: number;
|
|
32844
|
+
}[];
|
|
32845
|
+
};
|
|
32246
32846
|
logistics_fail_task: {
|
|
32247
32847
|
Args: {
|
|
32248
32848
|
p_error: string;
|
|
@@ -32380,6 +32980,10 @@ export type Database = {
|
|
|
32380
32980
|
Args: never;
|
|
32381
32981
|
Returns: Json;
|
|
32382
32982
|
};
|
|
32983
|
+
logistics_floriday_is_read_only: {
|
|
32984
|
+
Args: never;
|
|
32985
|
+
Returns: boolean;
|
|
32986
|
+
};
|
|
32383
32987
|
logistics_floriday_layout_id: {
|
|
32384
32988
|
Args: {
|
|
32385
32989
|
p_documenttype: string;
|
|
@@ -32420,6 +33024,13 @@ export type Database = {
|
|
|
32420
33024
|
};
|
|
32421
33025
|
Returns: number;
|
|
32422
33026
|
};
|
|
33027
|
+
logistics_floriday_push_hold_read_only: {
|
|
33028
|
+
Args: {
|
|
33029
|
+
_id: string;
|
|
33030
|
+
_revision: number;
|
|
33031
|
+
};
|
|
33032
|
+
Returns: string;
|
|
33033
|
+
};
|
|
32423
33034
|
logistics_floriday_queue_push: {
|
|
32424
33035
|
Args: {
|
|
32425
33036
|
_order_ref: string;
|
|
@@ -32428,6 +33039,10 @@ export type Database = {
|
|
|
32428
33039
|
};
|
|
32429
33040
|
Returns: string;
|
|
32430
33041
|
};
|
|
33042
|
+
logistics_floriday_release_read_only: {
|
|
33043
|
+
Args: never;
|
|
33044
|
+
Returns: Json;
|
|
33045
|
+
};
|
|
32431
33046
|
logistics_floriday_status_updates_enabled: {
|
|
32432
33047
|
Args: never;
|
|
32433
33048
|
Returns: boolean;
|
|
@@ -32491,6 +33106,13 @@ export type Database = {
|
|
|
32491
33106
|
};
|
|
32492
33107
|
Returns: boolean;
|
|
32493
33108
|
};
|
|
33109
|
+
logistics_item_external_fulfilled: {
|
|
33110
|
+
Args: {
|
|
33111
|
+
p_order_id: string;
|
|
33112
|
+
p_source_line_key: string;
|
|
33113
|
+
};
|
|
33114
|
+
Returns: boolean;
|
|
33115
|
+
};
|
|
32494
33116
|
logistics_key_product: {
|
|
32495
33117
|
Args: {
|
|
32496
33118
|
p_key: string;
|
|
@@ -32572,6 +33194,12 @@ export type Database = {
|
|
|
32572
33194
|
};
|
|
32573
33195
|
Returns: string;
|
|
32574
33196
|
};
|
|
33197
|
+
logistics_nl_date: {
|
|
33198
|
+
Args: {
|
|
33199
|
+
p_day: string;
|
|
33200
|
+
};
|
|
33201
|
+
Returns: string;
|
|
33202
|
+
};
|
|
32575
33203
|
logistics_nl_moment: {
|
|
32576
33204
|
Args: {
|
|
32577
33205
|
p_at: string;
|
|
@@ -32698,6 +33326,12 @@ export type Database = {
|
|
|
32698
33326
|
};
|
|
32699
33327
|
Returns: boolean;
|
|
32700
33328
|
};
|
|
33329
|
+
logistics_order_external_state: {
|
|
33330
|
+
Args: {
|
|
33331
|
+
p_order_id: string;
|
|
33332
|
+
};
|
|
33333
|
+
Returns: Json;
|
|
33334
|
+
};
|
|
32701
33335
|
logistics_order_finalize_enqueue: {
|
|
32702
33336
|
Args: {
|
|
32703
33337
|
p_order_id: string;
|
|
@@ -32778,6 +33412,12 @@ export type Database = {
|
|
|
32778
33412
|
};
|
|
32779
33413
|
Returns: boolean;
|
|
32780
33414
|
};
|
|
33415
|
+
logistics_order_is_shipped_status: {
|
|
33416
|
+
Args: {
|
|
33417
|
+
p_status: string;
|
|
33418
|
+
};
|
|
33419
|
+
Returns: boolean;
|
|
33420
|
+
};
|
|
32781
33421
|
logistics_order_is_topick: {
|
|
32782
33422
|
Args: {
|
|
32783
33423
|
p_order_id: string;
|
|
@@ -32890,6 +33530,12 @@ export type Database = {
|
|
|
32890
33530
|
state: string;
|
|
32891
33531
|
}[];
|
|
32892
33532
|
};
|
|
33533
|
+
logistics_order_plan_coverage_v165: {
|
|
33534
|
+
Args: {
|
|
33535
|
+
p_order_id: string;
|
|
33536
|
+
};
|
|
33537
|
+
Returns: Json;
|
|
33538
|
+
};
|
|
32893
33539
|
logistics_order_released: {
|
|
32894
33540
|
Args: {
|
|
32895
33541
|
p_order_ref: string;
|
|
@@ -32910,6 +33556,13 @@ export type Database = {
|
|
|
32910
33556
|
Args: never;
|
|
32911
33557
|
Returns: Json;
|
|
32912
33558
|
};
|
|
33559
|
+
logistics_own_transport_departure: {
|
|
33560
|
+
Args: {
|
|
33561
|
+
p_delivery_date: string;
|
|
33562
|
+
p_pickup_at: string;
|
|
33563
|
+
};
|
|
33564
|
+
Returns: Json;
|
|
33565
|
+
};
|
|
32913
33566
|
logistics_packing_autofix: {
|
|
32914
33567
|
Args: {
|
|
32915
33568
|
p_limit?: number;
|
|
@@ -33661,6 +34314,13 @@ export type Database = {
|
|
|
33661
34314
|
};
|
|
33662
34315
|
Returns: Json;
|
|
33663
34316
|
};
|
|
34317
|
+
logistics_sales_order_external_fulfilled: {
|
|
34318
|
+
Args: {
|
|
34319
|
+
p_order_id: string;
|
|
34320
|
+
p_sales_order_id: string;
|
|
34321
|
+
};
|
|
34322
|
+
Returns: boolean;
|
|
34323
|
+
};
|
|
33664
34324
|
logistics_scan_delays: {
|
|
33665
34325
|
Args: never;
|
|
33666
34326
|
Returns: number;
|
|
@@ -33719,6 +34379,10 @@ export type Database = {
|
|
|
33719
34379
|
peer_order_id: string;
|
|
33720
34380
|
}[];
|
|
33721
34381
|
};
|
|
34382
|
+
logistics_shell_base_url: {
|
|
34383
|
+
Args: never;
|
|
34384
|
+
Returns: string;
|
|
34385
|
+
};
|
|
33722
34386
|
logistics_shift_to_workday: {
|
|
33723
34387
|
Args: {
|
|
33724
34388
|
p_days: string[];
|
|
@@ -33798,6 +34462,12 @@ export type Database = {
|
|
|
33798
34462
|
};
|
|
33799
34463
|
Returns: boolean;
|
|
33800
34464
|
};
|
|
34465
|
+
logistics_slip_is_herprint: {
|
|
34466
|
+
Args: {
|
|
34467
|
+
p_slip_job_id: string;
|
|
34468
|
+
};
|
|
34469
|
+
Returns: boolean;
|
|
34470
|
+
};
|
|
33801
34471
|
logistics_slip_note_claim: {
|
|
33802
34472
|
Args: {
|
|
33803
34473
|
_lease_seconds?: number;
|
|
@@ -33871,6 +34541,12 @@ export type Database = {
|
|
|
33871
34541
|
};
|
|
33872
34542
|
Returns: undefined;
|
|
33873
34543
|
};
|
|
34544
|
+
logistics_slip_note_hold_read_only: {
|
|
34545
|
+
Args: {
|
|
34546
|
+
_id: string;
|
|
34547
|
+
};
|
|
34548
|
+
Returns: undefined;
|
|
34549
|
+
};
|
|
33874
34550
|
logistics_slip_note_keep_waiting: {
|
|
33875
34551
|
Args: {
|
|
33876
34552
|
_class?: string;
|
|
@@ -33889,6 +34565,12 @@ export type Database = {
|
|
|
33889
34565
|
};
|
|
33890
34566
|
Returns: Json;
|
|
33891
34567
|
};
|
|
34568
|
+
logistics_slip_note_skip_herprint: {
|
|
34569
|
+
Args: {
|
|
34570
|
+
_id: string;
|
|
34571
|
+
};
|
|
34572
|
+
Returns: undefined;
|
|
34573
|
+
};
|
|
33892
34574
|
logistics_status_after_shipping: {
|
|
33893
34575
|
Args: {
|
|
33894
34576
|
p_status: string;
|
|
@@ -33920,6 +34602,12 @@ export type Database = {
|
|
|
33920
34602
|
pieces: number;
|
|
33921
34603
|
}[];
|
|
33922
34604
|
};
|
|
34605
|
+
logistics_sticker_external_fulfilled: {
|
|
34606
|
+
Args: {
|
|
34607
|
+
p_sticker_print_id: string;
|
|
34608
|
+
};
|
|
34609
|
+
Returns: boolean;
|
|
34610
|
+
};
|
|
33923
34611
|
logistics_sticker_follows_slip: {
|
|
33924
34612
|
Args: never;
|
|
33925
34613
|
Returns: boolean;
|
|
@@ -33997,6 +34685,12 @@ export type Database = {
|
|
|
33997
34685
|
Args: never;
|
|
33998
34686
|
Returns: Json;
|
|
33999
34687
|
};
|
|
34688
|
+
logistics_sync_stock_alert_email_status: {
|
|
34689
|
+
Args: {
|
|
34690
|
+
p_limit?: number;
|
|
34691
|
+
};
|
|
34692
|
+
Returns: Json;
|
|
34693
|
+
};
|
|
34000
34694
|
logistics_sync_task_carriers: {
|
|
34001
34695
|
Args: {
|
|
34002
34696
|
p_order_ref?: string;
|
|
@@ -34285,6 +34979,12 @@ export type Database = {
|
|
|
34285
34979
|
};
|
|
34286
34980
|
Returns: boolean;
|
|
34287
34981
|
};
|
|
34982
|
+
logistics_verkoop_order_link: {
|
|
34983
|
+
Args: {
|
|
34984
|
+
p_order_id: string;
|
|
34985
|
+
};
|
|
34986
|
+
Returns: string;
|
|
34987
|
+
};
|
|
34288
34988
|
logistics_working_hours_status: {
|
|
34289
34989
|
Args: never;
|
|
34290
34990
|
Returns: Json;
|
|
@@ -34301,6 +35001,14 @@ export type Database = {
|
|
|
34301
35001
|
};
|
|
34302
35002
|
Returns: number;
|
|
34303
35003
|
};
|
|
35004
|
+
mailbox_claim_analysis: {
|
|
35005
|
+
Args: {
|
|
35006
|
+
p_force?: boolean;
|
|
35007
|
+
p_message_id: string;
|
|
35008
|
+
p_trigger?: string;
|
|
35009
|
+
};
|
|
35010
|
+
Returns: Json;
|
|
35011
|
+
};
|
|
34304
35012
|
mark_offer_clicked: {
|
|
34305
35013
|
Args: {
|
|
34306
35014
|
p_code: string;
|
|
@@ -35631,6 +36339,23 @@ export type Database = {
|
|
|
35631
36339
|
};
|
|
35632
36340
|
Returns: string;
|
|
35633
36341
|
};
|
|
36342
|
+
productontwerp_export: {
|
|
36343
|
+
Args: never;
|
|
36344
|
+
Returns: Json;
|
|
36345
|
+
};
|
|
36346
|
+
productontwerp_import: {
|
|
36347
|
+
Args: {
|
|
36348
|
+
p_dry_run: boolean;
|
|
36349
|
+
p_payload: Json;
|
|
36350
|
+
};
|
|
36351
|
+
Returns: Json;
|
|
36352
|
+
};
|
|
36353
|
+
productontwerp_product_ref: {
|
|
36354
|
+
Args: {
|
|
36355
|
+
p_id: string;
|
|
36356
|
+
};
|
|
36357
|
+
Returns: Json;
|
|
36358
|
+
};
|
|
35634
36359
|
promote_floriday_customer: {
|
|
35635
36360
|
Args: {
|
|
35636
36361
|
_org_id: string;
|
|
@@ -35796,6 +36521,13 @@ export type Database = {
|
|
|
35796
36521
|
};
|
|
35797
36522
|
Returns: undefined;
|
|
35798
36523
|
};
|
|
36524
|
+
record_offer_order_failure: {
|
|
36525
|
+
Args: {
|
|
36526
|
+
p_error: string;
|
|
36527
|
+
p_offer_order_id: string;
|
|
36528
|
+
};
|
|
36529
|
+
Returns: undefined;
|
|
36530
|
+
};
|
|
35799
36531
|
refresh_external_customers_grouped: {
|
|
35800
36532
|
Args: never;
|
|
35801
36533
|
Returns: undefined;
|
|
@@ -35932,6 +36664,10 @@ export type Database = {
|
|
|
35932
36664
|
};
|
|
35933
36665
|
Returns: string;
|
|
35934
36666
|
};
|
|
36667
|
+
retry_offer_orders: {
|
|
36668
|
+
Args: never;
|
|
36669
|
+
Returns: number;
|
|
36670
|
+
};
|
|
35935
36671
|
retry_twinfield_push: {
|
|
35936
36672
|
Args: {
|
|
35937
36673
|
_customer_id: string;
|
|
@@ -36085,6 +36821,18 @@ export type Database = {
|
|
|
36085
36821
|
};
|
|
36086
36822
|
Returns: Json;
|
|
36087
36823
|
};
|
|
36824
|
+
scan_kar_logs: {
|
|
36825
|
+
Args: {
|
|
36826
|
+
p_cart_ids: string[];
|
|
36827
|
+
};
|
|
36828
|
+
Returns: {
|
|
36829
|
+
created_at: string;
|
|
36830
|
+
kar_id: string;
|
|
36831
|
+
medewerker_naam: string;
|
|
36832
|
+
message: string;
|
|
36833
|
+
result: string;
|
|
36834
|
+
}[];
|
|
36835
|
+
};
|
|
36088
36836
|
scan_kar_regels: {
|
|
36089
36837
|
Args: {
|
|
36090
36838
|
p_cart_id: string;
|
|
@@ -36102,6 +36850,7 @@ export type Database = {
|
|
|
36102
36850
|
scan_log_code: {
|
|
36103
36851
|
Args: {
|
|
36104
36852
|
p_code: string;
|
|
36853
|
+
p_kar_id?: string;
|
|
36105
36854
|
p_latency_ms?: number;
|
|
36106
36855
|
p_medewerker?: string;
|
|
36107
36856
|
p_message?: string;
|
|
@@ -36541,6 +37290,12 @@ export type Database = {
|
|
|
36541
37290
|
};
|
|
36542
37291
|
Returns: undefined;
|
|
36543
37292
|
};
|
|
37293
|
+
set_primary_delivery_location: {
|
|
37294
|
+
Args: {
|
|
37295
|
+
p_location_id: string;
|
|
37296
|
+
};
|
|
37297
|
+
Returns: undefined;
|
|
37298
|
+
};
|
|
36544
37299
|
set_product_stock: {
|
|
36545
37300
|
Args: {
|
|
36546
37301
|
p_incoming_stock?: number;
|
|
@@ -37389,6 +38144,24 @@ export type Database = {
|
|
|
37389
38144
|
};
|
|
37390
38145
|
Returns: number;
|
|
37391
38146
|
};
|
|
38147
|
+
verkoop_create_order: {
|
|
38148
|
+
Args: {
|
|
38149
|
+
p_accept_late_signup?: boolean;
|
|
38150
|
+
p_accepted_by?: string;
|
|
38151
|
+
p_carrier_id: string;
|
|
38152
|
+
p_customer_id: string;
|
|
38153
|
+
p_customer_reference?: string;
|
|
38154
|
+
p_delivery_date: string;
|
|
38155
|
+
p_delivery_location_id: string;
|
|
38156
|
+
p_lines: Json;
|
|
38157
|
+
p_moment_key?: string;
|
|
38158
|
+
p_notes?: string;
|
|
38159
|
+
p_own_transport?: boolean;
|
|
38160
|
+
p_source: string;
|
|
38161
|
+
p_source_id: string;
|
|
38162
|
+
};
|
|
38163
|
+
Returns: Json;
|
|
38164
|
+
};
|
|
37392
38165
|
vervang_printer: {
|
|
37393
38166
|
Args: {
|
|
37394
38167
|
_nieuw: string;
|