@flowselections/ai-authenticatie 1.0.14 → 1.1.1
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/AiAuthenticatiePage.d.ts.map +1 -1
- package/dist-lib/components/AiAuthenticatiePage.js +6 -3
- package/dist-lib/hooks/useAiForGoal.d.ts +2 -2
- package/dist-lib/hooks/useAiForGoal.d.ts.map +1 -1
- package/dist-lib/hooks/useAiForGoal.js +1 -1
- package/dist-lib/hooks/useIsAiAdmin.d.ts +1 -0
- package/dist-lib/hooks/useIsAiAdmin.d.ts.map +1 -1
- package/dist-lib/hooks/useIsAiAdmin.js +22 -3
- package/dist-lib/index.d.ts +6 -1
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +4 -0
- package/dist-lib/integrations/supabase/types.d.ts +1544 -15
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/aiAttachments.d.ts +22 -0
- package/dist-lib/lib/aiAttachments.d.ts.map +1 -0
- package/dist-lib/lib/aiAttachments.js +105 -0
- package/dist-lib/lib/aiChat.functions.d.ts +3 -2
- package/dist-lib/lib/aiChat.functions.d.ts.map +1 -1
- package/dist-lib/lib/aiChat.functions.js +6 -1
- package/dist-lib/lib/aiChat.server.d.ts +8 -1
- package/dist-lib/lib/aiChat.server.d.ts.map +1 -1
- package/dist-lib/lib/aiChat.server.js +37 -17
- package/dist-lib/lib/aiChat.stream.server.d.ts.map +1 -1
- package/dist-lib/lib/aiChat.stream.server.js +3 -1
- package/dist-lib/lib/aiChat.types.d.ts +8 -1
- package/dist-lib/lib/aiChat.types.d.ts.map +1 -1
- package/dist-lib/lib/aiModules.server.d.ts +4 -0
- package/dist-lib/lib/aiModules.server.d.ts.map +1 -1
- package/dist-lib/lib/aiModules.server.js +6 -3
- package/dist-lib/lib/aiRegistry.d.ts +31 -0
- package/dist-lib/lib/aiRegistry.d.ts.map +1 -0
- package/dist-lib/lib/aiRegistry.functions.d.ts +25 -0
- package/dist-lib/lib/aiRegistry.functions.d.ts.map +1 -0
- package/dist-lib/lib/aiRegistry.functions.js +25 -0
- package/dist-lib/lib/aiRegistry.js +46 -0
- package/dist-lib/lib/aiRegistry.server.d.ts +13 -0
- package/dist-lib/lib/aiRegistry.server.d.ts.map +1 -0
- package/dist-lib/lib/aiRegistry.server.js +21 -0
- package/dist-lib/lib/aiUsageByModule.functions.d.ts.map +1 -1
- package/dist-lib/lib/aiUsageByModule.functions.js +1 -4
- package/dist-lib/lib/modules.server.d.ts.map +1 -1
- package/dist-lib/lib/modules.server.js +7 -7
- package/package.json +14 -4
- package/schema/ai-authenticatie.sql +124 -0
|
@@ -606,24 +606,36 @@ export type Database = {
|
|
|
606
606
|
ai_modules: {
|
|
607
607
|
Row: {
|
|
608
608
|
ai_enabled: boolean;
|
|
609
|
+
ai_source: string;
|
|
609
610
|
created_at: string;
|
|
611
|
+
declared_ai: boolean;
|
|
610
612
|
id: string;
|
|
613
|
+
is_in_use: boolean;
|
|
614
|
+
last_declared_at: string | null;
|
|
611
615
|
module_key: string;
|
|
612
616
|
module_name: string;
|
|
613
617
|
updated_at: string;
|
|
614
618
|
};
|
|
615
619
|
Insert: {
|
|
616
620
|
ai_enabled?: boolean;
|
|
621
|
+
ai_source?: string;
|
|
617
622
|
created_at?: string;
|
|
623
|
+
declared_ai?: boolean;
|
|
618
624
|
id?: string;
|
|
625
|
+
is_in_use?: boolean;
|
|
626
|
+
last_declared_at?: string | null;
|
|
619
627
|
module_key: string;
|
|
620
628
|
module_name: string;
|
|
621
629
|
updated_at?: string;
|
|
622
630
|
};
|
|
623
631
|
Update: {
|
|
624
632
|
ai_enabled?: boolean;
|
|
633
|
+
ai_source?: string;
|
|
625
634
|
created_at?: string;
|
|
635
|
+
declared_ai?: boolean;
|
|
626
636
|
id?: string;
|
|
637
|
+
is_in_use?: boolean;
|
|
638
|
+
last_declared_at?: string | null;
|
|
627
639
|
module_key?: string;
|
|
628
640
|
module_name?: string;
|
|
629
641
|
updated_at?: string;
|
|
@@ -2235,6 +2247,50 @@ export type Database = {
|
|
|
2235
2247
|
}
|
|
2236
2248
|
];
|
|
2237
2249
|
};
|
|
2250
|
+
customer_match_suggestions: {
|
|
2251
|
+
Row: {
|
|
2252
|
+
created_at: string;
|
|
2253
|
+
customer_id: string;
|
|
2254
|
+
decided_at: string | null;
|
|
2255
|
+
decided_by: string | null;
|
|
2256
|
+
floriday_organization_id: string;
|
|
2257
|
+
id: string;
|
|
2258
|
+
reason: string;
|
|
2259
|
+
status: string;
|
|
2260
|
+
updated_at: string;
|
|
2261
|
+
};
|
|
2262
|
+
Insert: {
|
|
2263
|
+
created_at?: string;
|
|
2264
|
+
customer_id: string;
|
|
2265
|
+
decided_at?: string | null;
|
|
2266
|
+
decided_by?: string | null;
|
|
2267
|
+
floriday_organization_id: string;
|
|
2268
|
+
id?: string;
|
|
2269
|
+
reason: string;
|
|
2270
|
+
status?: string;
|
|
2271
|
+
updated_at?: string;
|
|
2272
|
+
};
|
|
2273
|
+
Update: {
|
|
2274
|
+
created_at?: string;
|
|
2275
|
+
customer_id?: string;
|
|
2276
|
+
decided_at?: string | null;
|
|
2277
|
+
decided_by?: string | null;
|
|
2278
|
+
floriday_organization_id?: string;
|
|
2279
|
+
id?: string;
|
|
2280
|
+
reason?: string;
|
|
2281
|
+
status?: string;
|
|
2282
|
+
updated_at?: string;
|
|
2283
|
+
};
|
|
2284
|
+
Relationships: [
|
|
2285
|
+
{
|
|
2286
|
+
foreignKeyName: "customer_match_suggestions_customer_id_fkey";
|
|
2287
|
+
columns: ["customer_id"];
|
|
2288
|
+
isOneToOne: false;
|
|
2289
|
+
referencedRelation: "customers";
|
|
2290
|
+
referencedColumns: ["id"];
|
|
2291
|
+
}
|
|
2292
|
+
];
|
|
2293
|
+
};
|
|
2238
2294
|
customer_notes: {
|
|
2239
2295
|
Row: {
|
|
2240
2296
|
created_at: string;
|
|
@@ -3770,6 +3826,8 @@ export type Database = {
|
|
|
3770
3826
|
orientatie: Database["public"]["Enums"]["doc_orientation"];
|
|
3771
3827
|
page_settings: Json;
|
|
3772
3828
|
papierformaat: string;
|
|
3829
|
+
standaard_sleutel: string | null;
|
|
3830
|
+
standaard_versie: number | null;
|
|
3773
3831
|
systeem: boolean;
|
|
3774
3832
|
thumbnail_url: string | null;
|
|
3775
3833
|
updated_at: string;
|
|
@@ -3795,6 +3853,8 @@ export type Database = {
|
|
|
3795
3853
|
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
3796
3854
|
page_settings?: Json;
|
|
3797
3855
|
papierformaat?: string;
|
|
3856
|
+
standaard_sleutel?: string | null;
|
|
3857
|
+
standaard_versie?: number | null;
|
|
3798
3858
|
systeem?: boolean;
|
|
3799
3859
|
thumbnail_url?: string | null;
|
|
3800
3860
|
updated_at?: string;
|
|
@@ -3820,6 +3880,8 @@ export type Database = {
|
|
|
3820
3880
|
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
3821
3881
|
page_settings?: Json;
|
|
3822
3882
|
papierformaat?: string;
|
|
3883
|
+
standaard_sleutel?: string | null;
|
|
3884
|
+
standaard_versie?: number | null;
|
|
3823
3885
|
systeem?: boolean;
|
|
3824
3886
|
thumbnail_url?: string | null;
|
|
3825
3887
|
updated_at?: string;
|
|
@@ -5979,33 +6041,42 @@ export type Database = {
|
|
|
5979
6041
|
};
|
|
5980
6042
|
floricode_sync_state: {
|
|
5981
6043
|
Row: {
|
|
6044
|
+
completed_at: string | null;
|
|
5982
6045
|
cursor_skip: number;
|
|
5983
6046
|
error_message: string | null;
|
|
5984
6047
|
last_change_date_time: string | null;
|
|
5985
6048
|
last_sequence_number: number;
|
|
5986
6049
|
last_sync_at: string | null;
|
|
6050
|
+
pending_change_date_time: string | null;
|
|
5987
6051
|
resource: string;
|
|
5988
6052
|
status: string;
|
|
6053
|
+
total_count: number | null;
|
|
5989
6054
|
updated_at: string;
|
|
5990
6055
|
};
|
|
5991
6056
|
Insert: {
|
|
6057
|
+
completed_at?: string | null;
|
|
5992
6058
|
cursor_skip?: number;
|
|
5993
6059
|
error_message?: string | null;
|
|
5994
6060
|
last_change_date_time?: string | null;
|
|
5995
6061
|
last_sequence_number?: number;
|
|
5996
6062
|
last_sync_at?: string | null;
|
|
6063
|
+
pending_change_date_time?: string | null;
|
|
5997
6064
|
resource: string;
|
|
5998
6065
|
status?: string;
|
|
6066
|
+
total_count?: number | null;
|
|
5999
6067
|
updated_at?: string;
|
|
6000
6068
|
};
|
|
6001
6069
|
Update: {
|
|
6070
|
+
completed_at?: string | null;
|
|
6002
6071
|
cursor_skip?: number;
|
|
6003
6072
|
error_message?: string | null;
|
|
6004
6073
|
last_change_date_time?: string | null;
|
|
6005
6074
|
last_sequence_number?: number;
|
|
6006
6075
|
last_sync_at?: string | null;
|
|
6076
|
+
pending_change_date_time?: string | null;
|
|
6007
6077
|
resource?: string;
|
|
6008
6078
|
status?: string;
|
|
6079
|
+
total_count?: number | null;
|
|
6009
6080
|
updated_at?: string;
|
|
6010
6081
|
};
|
|
6011
6082
|
Relationships: [];
|
|
@@ -6757,9 +6828,16 @@ export type Database = {
|
|
|
6757
6828
|
id: string;
|
|
6758
6829
|
is_active: boolean;
|
|
6759
6830
|
label: string;
|
|
6831
|
+
organization_fetched_at: string | null;
|
|
6832
|
+
organization_id: string | null;
|
|
6833
|
+
organization_mailing_address: Json | null;
|
|
6760
6834
|
organization_name: string | null;
|
|
6835
|
+
organization_physical_address: Json | null;
|
|
6761
6836
|
preferred_warehouse_id: string | null;
|
|
6762
6837
|
preferred_warehouse_name: string | null;
|
|
6838
|
+
read_only: boolean;
|
|
6839
|
+
read_only_changed_at: string | null;
|
|
6840
|
+
read_only_changed_by: string | null;
|
|
6763
6841
|
token_expires_at: string | null;
|
|
6764
6842
|
updated_at: string;
|
|
6765
6843
|
};
|
|
@@ -6772,9 +6850,16 @@ export type Database = {
|
|
|
6772
6850
|
id?: string;
|
|
6773
6851
|
is_active?: boolean;
|
|
6774
6852
|
label?: string;
|
|
6853
|
+
organization_fetched_at?: string | null;
|
|
6854
|
+
organization_id?: string | null;
|
|
6855
|
+
organization_mailing_address?: Json | null;
|
|
6775
6856
|
organization_name?: string | null;
|
|
6857
|
+
organization_physical_address?: Json | null;
|
|
6776
6858
|
preferred_warehouse_id?: string | null;
|
|
6777
6859
|
preferred_warehouse_name?: string | null;
|
|
6860
|
+
read_only?: boolean;
|
|
6861
|
+
read_only_changed_at?: string | null;
|
|
6862
|
+
read_only_changed_by?: string | null;
|
|
6778
6863
|
token_expires_at?: string | null;
|
|
6779
6864
|
updated_at?: string;
|
|
6780
6865
|
};
|
|
@@ -6787,9 +6872,16 @@ export type Database = {
|
|
|
6787
6872
|
id?: string;
|
|
6788
6873
|
is_active?: boolean;
|
|
6789
6874
|
label?: string;
|
|
6875
|
+
organization_fetched_at?: string | null;
|
|
6876
|
+
organization_id?: string | null;
|
|
6877
|
+
organization_mailing_address?: Json | null;
|
|
6790
6878
|
organization_name?: string | null;
|
|
6879
|
+
organization_physical_address?: Json | null;
|
|
6791
6880
|
preferred_warehouse_id?: string | null;
|
|
6792
6881
|
preferred_warehouse_name?: string | null;
|
|
6882
|
+
read_only?: boolean;
|
|
6883
|
+
read_only_changed_at?: string | null;
|
|
6884
|
+
read_only_changed_by?: string | null;
|
|
6793
6885
|
token_expires_at?: string | null;
|
|
6794
6886
|
updated_at?: string;
|
|
6795
6887
|
};
|
|
@@ -7047,6 +7139,44 @@ export type Database = {
|
|
|
7047
7139
|
}
|
|
7048
7140
|
];
|
|
7049
7141
|
};
|
|
7142
|
+
floriday_customer_offers_cache: {
|
|
7143
|
+
Row: {
|
|
7144
|
+
connection_id: string;
|
|
7145
|
+
data: Json;
|
|
7146
|
+
fetched_at: string;
|
|
7147
|
+
floriday_id: string;
|
|
7148
|
+
is_deleted: boolean;
|
|
7149
|
+
sequence_number: number;
|
|
7150
|
+
updated_at: string;
|
|
7151
|
+
};
|
|
7152
|
+
Insert: {
|
|
7153
|
+
connection_id: string;
|
|
7154
|
+
data?: Json;
|
|
7155
|
+
fetched_at?: string;
|
|
7156
|
+
floriday_id: string;
|
|
7157
|
+
is_deleted?: boolean;
|
|
7158
|
+
sequence_number?: number;
|
|
7159
|
+
updated_at?: string;
|
|
7160
|
+
};
|
|
7161
|
+
Update: {
|
|
7162
|
+
connection_id?: string;
|
|
7163
|
+
data?: Json;
|
|
7164
|
+
fetched_at?: string;
|
|
7165
|
+
floriday_id?: string;
|
|
7166
|
+
is_deleted?: boolean;
|
|
7167
|
+
sequence_number?: number;
|
|
7168
|
+
updated_at?: string;
|
|
7169
|
+
};
|
|
7170
|
+
Relationships: [
|
|
7171
|
+
{
|
|
7172
|
+
foreignKeyName: "floriday_customer_offers_cache_connection_id_fkey";
|
|
7173
|
+
columns: ["connection_id"];
|
|
7174
|
+
isOneToOne: false;
|
|
7175
|
+
referencedRelation: "floriday_connections";
|
|
7176
|
+
referencedColumns: ["id"];
|
|
7177
|
+
}
|
|
7178
|
+
];
|
|
7179
|
+
};
|
|
7050
7180
|
floriday_customer_sticker_pdfs_cache: {
|
|
7051
7181
|
Row: {
|
|
7052
7182
|
byte_size: number | null;
|
|
@@ -7153,7 +7283,11 @@ export type Database = {
|
|
|
7153
7283
|
quantity: number | null;
|
|
7154
7284
|
sales_order_id: string | null;
|
|
7155
7285
|
sequence_number: number;
|
|
7286
|
+
should_be_printed: boolean | null;
|
|
7156
7287
|
status: string | null;
|
|
7288
|
+
sticker_height_mm: number | null;
|
|
7289
|
+
sticker_type: string | null;
|
|
7290
|
+
sticker_width_mm: number | null;
|
|
7157
7291
|
trade_item_id: string | null;
|
|
7158
7292
|
updated_at: string;
|
|
7159
7293
|
};
|
|
@@ -7168,7 +7302,11 @@ export type Database = {
|
|
|
7168
7302
|
quantity?: number | null;
|
|
7169
7303
|
sales_order_id?: string | null;
|
|
7170
7304
|
sequence_number?: number;
|
|
7305
|
+
should_be_printed?: boolean | null;
|
|
7171
7306
|
status?: string | null;
|
|
7307
|
+
sticker_height_mm?: number | null;
|
|
7308
|
+
sticker_type?: string | null;
|
|
7309
|
+
sticker_width_mm?: number | null;
|
|
7172
7310
|
trade_item_id?: string | null;
|
|
7173
7311
|
updated_at?: string;
|
|
7174
7312
|
};
|
|
@@ -7183,7 +7321,11 @@ export type Database = {
|
|
|
7183
7321
|
quantity?: number | null;
|
|
7184
7322
|
sales_order_id?: string | null;
|
|
7185
7323
|
sequence_number?: number;
|
|
7324
|
+
should_be_printed?: boolean | null;
|
|
7186
7325
|
status?: string | null;
|
|
7326
|
+
sticker_height_mm?: number | null;
|
|
7327
|
+
sticker_type?: string | null;
|
|
7328
|
+
sticker_width_mm?: number | null;
|
|
7187
7329
|
trade_item_id?: string | null;
|
|
7188
7330
|
updated_at?: string;
|
|
7189
7331
|
};
|
|
@@ -7592,8 +7734,14 @@ export type Database = {
|
|
|
7592
7734
|
created_at: string;
|
|
7593
7735
|
desired_availability: boolean;
|
|
7594
7736
|
desired_quantity: number;
|
|
7737
|
+
erp_leading: boolean | null;
|
|
7738
|
+
erp_leading_at: string | null;
|
|
7739
|
+
first_positive_published_at: string | null;
|
|
7595
7740
|
fixed_quantity: number | null;
|
|
7741
|
+
floriday_offer_forms: Json | null;
|
|
7596
7742
|
floriday_trade_item_id: string | null;
|
|
7743
|
+
follow_floriday_at: string | null;
|
|
7744
|
+
follow_floriday_result: string | null;
|
|
7597
7745
|
id: string;
|
|
7598
7746
|
last_confirmed_at: string | null;
|
|
7599
7747
|
last_enqueued_at: string | null;
|
|
@@ -7624,8 +7772,14 @@ export type Database = {
|
|
|
7624
7772
|
created_at?: string;
|
|
7625
7773
|
desired_availability?: boolean;
|
|
7626
7774
|
desired_quantity?: number;
|
|
7775
|
+
erp_leading?: boolean | null;
|
|
7776
|
+
erp_leading_at?: string | null;
|
|
7777
|
+
first_positive_published_at?: string | null;
|
|
7627
7778
|
fixed_quantity?: number | null;
|
|
7779
|
+
floriday_offer_forms?: Json | null;
|
|
7628
7780
|
floriday_trade_item_id?: string | null;
|
|
7781
|
+
follow_floriday_at?: string | null;
|
|
7782
|
+
follow_floriday_result?: string | null;
|
|
7629
7783
|
id?: string;
|
|
7630
7784
|
last_confirmed_at?: string | null;
|
|
7631
7785
|
last_enqueued_at?: string | null;
|
|
@@ -7656,8 +7810,14 @@ export type Database = {
|
|
|
7656
7810
|
created_at?: string;
|
|
7657
7811
|
desired_availability?: boolean;
|
|
7658
7812
|
desired_quantity?: number;
|
|
7813
|
+
erp_leading?: boolean | null;
|
|
7814
|
+
erp_leading_at?: string | null;
|
|
7815
|
+
first_positive_published_at?: string | null;
|
|
7659
7816
|
fixed_quantity?: number | null;
|
|
7817
|
+
floriday_offer_forms?: Json | null;
|
|
7660
7818
|
floriday_trade_item_id?: string | null;
|
|
7819
|
+
follow_floriday_at?: string | null;
|
|
7820
|
+
follow_floriday_result?: string | null;
|
|
7661
7821
|
id?: string;
|
|
7662
7822
|
last_confirmed_at?: string | null;
|
|
7663
7823
|
last_enqueued_at?: string | null;
|
|
@@ -8475,33 +8635,45 @@ export type Database = {
|
|
|
8475
8635
|
};
|
|
8476
8636
|
floriday_sync_state: {
|
|
8477
8637
|
Row: {
|
|
8638
|
+
backfill_done_at: string | null;
|
|
8639
|
+
backfill_started_at: string | null;
|
|
8640
|
+
backfill_target_sequence: number | null;
|
|
8478
8641
|
connection_id: string;
|
|
8479
8642
|
entity_type: string;
|
|
8480
8643
|
last_error: string | null;
|
|
8481
8644
|
last_items_processed: number | null;
|
|
8482
8645
|
last_max_sequence_seen: number | null;
|
|
8646
|
+
last_rate_limited_at: string | null;
|
|
8483
8647
|
last_sequence_number: number;
|
|
8484
8648
|
last_success_at: string | null;
|
|
8485
8649
|
last_synced_at: string | null;
|
|
8486
8650
|
updated_at: string;
|
|
8487
8651
|
};
|
|
8488
8652
|
Insert: {
|
|
8653
|
+
backfill_done_at?: string | null;
|
|
8654
|
+
backfill_started_at?: string | null;
|
|
8655
|
+
backfill_target_sequence?: number | null;
|
|
8489
8656
|
connection_id: string;
|
|
8490
8657
|
entity_type: string;
|
|
8491
8658
|
last_error?: string | null;
|
|
8492
8659
|
last_items_processed?: number | null;
|
|
8493
8660
|
last_max_sequence_seen?: number | null;
|
|
8661
|
+
last_rate_limited_at?: string | null;
|
|
8494
8662
|
last_sequence_number?: number;
|
|
8495
8663
|
last_success_at?: string | null;
|
|
8496
8664
|
last_synced_at?: string | null;
|
|
8497
8665
|
updated_at?: string;
|
|
8498
8666
|
};
|
|
8499
8667
|
Update: {
|
|
8668
|
+
backfill_done_at?: string | null;
|
|
8669
|
+
backfill_started_at?: string | null;
|
|
8670
|
+
backfill_target_sequence?: number | null;
|
|
8500
8671
|
connection_id?: string;
|
|
8501
8672
|
entity_type?: string;
|
|
8502
8673
|
last_error?: string | null;
|
|
8503
8674
|
last_items_processed?: number | null;
|
|
8504
8675
|
last_max_sequence_seen?: number | null;
|
|
8676
|
+
last_rate_limited_at?: string | null;
|
|
8505
8677
|
last_sequence_number?: number;
|
|
8506
8678
|
last_success_at?: string | null;
|
|
8507
8679
|
last_synced_at?: string | null;
|
|
@@ -8517,6 +8689,116 @@ export type Database = {
|
|
|
8517
8689
|
}
|
|
8518
8690
|
];
|
|
8519
8691
|
};
|
|
8692
|
+
floriday_takeover_items: {
|
|
8693
|
+
Row: {
|
|
8694
|
+
created_at: string;
|
|
8695
|
+
created_product: boolean;
|
|
8696
|
+
id: string;
|
|
8697
|
+
new_price: number | null;
|
|
8698
|
+
new_stock: number | null;
|
|
8699
|
+
offer_forms: Json | null;
|
|
8700
|
+
old_erp_leading: boolean | null;
|
|
8701
|
+
old_offer_forms: Json | null;
|
|
8702
|
+
old_price: number | null;
|
|
8703
|
+
old_stock: number | null;
|
|
8704
|
+
price_source: string | null;
|
|
8705
|
+
product_id: string;
|
|
8706
|
+
run_id: string;
|
|
8707
|
+
stock_source: string | null;
|
|
8708
|
+
trade_item_id: string;
|
|
8709
|
+
undo_skipped_reason: string | null;
|
|
8710
|
+
undone: boolean;
|
|
8711
|
+
};
|
|
8712
|
+
Insert: {
|
|
8713
|
+
created_at?: string;
|
|
8714
|
+
created_product?: boolean;
|
|
8715
|
+
id?: string;
|
|
8716
|
+
new_price?: number | null;
|
|
8717
|
+
new_stock?: number | null;
|
|
8718
|
+
offer_forms?: Json | null;
|
|
8719
|
+
old_erp_leading?: boolean | null;
|
|
8720
|
+
old_offer_forms?: Json | null;
|
|
8721
|
+
old_price?: number | null;
|
|
8722
|
+
old_stock?: number | null;
|
|
8723
|
+
price_source?: string | null;
|
|
8724
|
+
product_id: string;
|
|
8725
|
+
run_id: string;
|
|
8726
|
+
stock_source?: string | null;
|
|
8727
|
+
trade_item_id: string;
|
|
8728
|
+
undo_skipped_reason?: string | null;
|
|
8729
|
+
undone?: boolean;
|
|
8730
|
+
};
|
|
8731
|
+
Update: {
|
|
8732
|
+
created_at?: string;
|
|
8733
|
+
created_product?: boolean;
|
|
8734
|
+
id?: string;
|
|
8735
|
+
new_price?: number | null;
|
|
8736
|
+
new_stock?: number | null;
|
|
8737
|
+
offer_forms?: Json | null;
|
|
8738
|
+
old_erp_leading?: boolean | null;
|
|
8739
|
+
old_offer_forms?: Json | null;
|
|
8740
|
+
old_price?: number | null;
|
|
8741
|
+
old_stock?: number | null;
|
|
8742
|
+
price_source?: string | null;
|
|
8743
|
+
product_id?: string;
|
|
8744
|
+
run_id?: string;
|
|
8745
|
+
stock_source?: string | null;
|
|
8746
|
+
trade_item_id?: string;
|
|
8747
|
+
undo_skipped_reason?: string | null;
|
|
8748
|
+
undone?: boolean;
|
|
8749
|
+
};
|
|
8750
|
+
Relationships: [
|
|
8751
|
+
{
|
|
8752
|
+
foreignKeyName: "floriday_takeover_items_run_id_fkey";
|
|
8753
|
+
columns: ["run_id"];
|
|
8754
|
+
isOneToOne: false;
|
|
8755
|
+
referencedRelation: "floriday_takeover_runs";
|
|
8756
|
+
referencedColumns: ["id"];
|
|
8757
|
+
}
|
|
8758
|
+
];
|
|
8759
|
+
};
|
|
8760
|
+
floriday_takeover_runs: {
|
|
8761
|
+
Row: {
|
|
8762
|
+
connection_id: string;
|
|
8763
|
+
created_at: string;
|
|
8764
|
+
created_products: number;
|
|
8765
|
+
id: string;
|
|
8766
|
+
status: string;
|
|
8767
|
+
total_items: number;
|
|
8768
|
+
undo_skipped_items: number;
|
|
8769
|
+
undone_at: string | null;
|
|
8770
|
+
undone_items: number;
|
|
8771
|
+
updated_at: string;
|
|
8772
|
+
user_id: string;
|
|
8773
|
+
};
|
|
8774
|
+
Insert: {
|
|
8775
|
+
connection_id: string;
|
|
8776
|
+
created_at?: string;
|
|
8777
|
+
created_products?: number;
|
|
8778
|
+
id?: string;
|
|
8779
|
+
status?: string;
|
|
8780
|
+
total_items?: number;
|
|
8781
|
+
undo_skipped_items?: number;
|
|
8782
|
+
undone_at?: string | null;
|
|
8783
|
+
undone_items?: number;
|
|
8784
|
+
updated_at?: string;
|
|
8785
|
+
user_id: string;
|
|
8786
|
+
};
|
|
8787
|
+
Update: {
|
|
8788
|
+
connection_id?: string;
|
|
8789
|
+
created_at?: string;
|
|
8790
|
+
created_products?: number;
|
|
8791
|
+
id?: string;
|
|
8792
|
+
status?: string;
|
|
8793
|
+
total_items?: number;
|
|
8794
|
+
undo_skipped_items?: number;
|
|
8795
|
+
undone_at?: string | null;
|
|
8796
|
+
undone_items?: number;
|
|
8797
|
+
updated_at?: string;
|
|
8798
|
+
user_id?: string;
|
|
8799
|
+
};
|
|
8800
|
+
Relationships: [];
|
|
8801
|
+
};
|
|
8520
8802
|
floriday_token_refresh_log: {
|
|
8521
8803
|
Row: {
|
|
8522
8804
|
attempted_at: string;
|
|
@@ -11162,6 +11444,36 @@ export type Database = {
|
|
|
11162
11444
|
};
|
|
11163
11445
|
Relationships: [];
|
|
11164
11446
|
};
|
|
11447
|
+
layout_auto_acties: {
|
|
11448
|
+
Row: {
|
|
11449
|
+
actie: string;
|
|
11450
|
+
created_at: string;
|
|
11451
|
+
detail: string;
|
|
11452
|
+
documenttype: string | null;
|
|
11453
|
+
id: string;
|
|
11454
|
+
layout_id: string | null;
|
|
11455
|
+
printer_id: string | null;
|
|
11456
|
+
};
|
|
11457
|
+
Insert: {
|
|
11458
|
+
actie: string;
|
|
11459
|
+
created_at?: string;
|
|
11460
|
+
detail?: string;
|
|
11461
|
+
documenttype?: string | null;
|
|
11462
|
+
id?: string;
|
|
11463
|
+
layout_id?: string | null;
|
|
11464
|
+
printer_id?: string | null;
|
|
11465
|
+
};
|
|
11466
|
+
Update: {
|
|
11467
|
+
actie?: string;
|
|
11468
|
+
created_at?: string;
|
|
11469
|
+
detail?: string;
|
|
11470
|
+
documenttype?: string | null;
|
|
11471
|
+
id?: string;
|
|
11472
|
+
layout_id?: string | null;
|
|
11473
|
+
printer_id?: string | null;
|
|
11474
|
+
};
|
|
11475
|
+
Relationships: [];
|
|
11476
|
+
};
|
|
11165
11477
|
layout_logos: {
|
|
11166
11478
|
Row: {
|
|
11167
11479
|
bestand_url: string;
|
|
@@ -11177,6 +11489,7 @@ export type Database = {
|
|
|
11177
11489
|
is_standaard: boolean;
|
|
11178
11490
|
naam: string;
|
|
11179
11491
|
omschrijving: string;
|
|
11492
|
+
origineel_pad: string | null;
|
|
11180
11493
|
transparant: boolean;
|
|
11181
11494
|
updated_at: string;
|
|
11182
11495
|
};
|
|
@@ -11194,6 +11507,7 @@ export type Database = {
|
|
|
11194
11507
|
is_standaard?: boolean;
|
|
11195
11508
|
naam: string;
|
|
11196
11509
|
omschrijving?: string;
|
|
11510
|
+
origineel_pad?: string | null;
|
|
11197
11511
|
transparant?: boolean;
|
|
11198
11512
|
updated_at?: string;
|
|
11199
11513
|
};
|
|
@@ -11211,11 +11525,57 @@ export type Database = {
|
|
|
11211
11525
|
is_standaard?: boolean;
|
|
11212
11526
|
naam?: string;
|
|
11213
11527
|
omschrijving?: string;
|
|
11528
|
+
origineel_pad?: string | null;
|
|
11214
11529
|
transparant?: boolean;
|
|
11215
11530
|
updated_at?: string;
|
|
11216
11531
|
};
|
|
11217
11532
|
Relationships: [];
|
|
11218
11533
|
};
|
|
11534
|
+
layout_standaarden: {
|
|
11535
|
+
Row: {
|
|
11536
|
+
breedte_mm: number;
|
|
11537
|
+
config: Json;
|
|
11538
|
+
created_at: string;
|
|
11539
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
11540
|
+
hoogte_mm: number;
|
|
11541
|
+
naam: string;
|
|
11542
|
+
omschrijving: string;
|
|
11543
|
+
page_settings: Json;
|
|
11544
|
+
papierformaat: string;
|
|
11545
|
+
sleutel: string;
|
|
11546
|
+
updated_at: string;
|
|
11547
|
+
versie: number;
|
|
11548
|
+
};
|
|
11549
|
+
Insert: {
|
|
11550
|
+
breedte_mm?: number;
|
|
11551
|
+
config?: Json;
|
|
11552
|
+
created_at?: string;
|
|
11553
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
11554
|
+
hoogte_mm?: number;
|
|
11555
|
+
naam: string;
|
|
11556
|
+
omschrijving?: string;
|
|
11557
|
+
page_settings?: Json;
|
|
11558
|
+
papierformaat?: string;
|
|
11559
|
+
sleutel: string;
|
|
11560
|
+
updated_at?: string;
|
|
11561
|
+
versie: number;
|
|
11562
|
+
};
|
|
11563
|
+
Update: {
|
|
11564
|
+
breedte_mm?: number;
|
|
11565
|
+
config?: Json;
|
|
11566
|
+
created_at?: string;
|
|
11567
|
+
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
11568
|
+
hoogte_mm?: number;
|
|
11569
|
+
naam?: string;
|
|
11570
|
+
omschrijving?: string;
|
|
11571
|
+
page_settings?: Json;
|
|
11572
|
+
papierformaat?: string;
|
|
11573
|
+
sleutel?: string;
|
|
11574
|
+
updated_at?: string;
|
|
11575
|
+
versie?: number;
|
|
11576
|
+
};
|
|
11577
|
+
Relationships: [];
|
|
11578
|
+
};
|
|
11219
11579
|
leave_requests: {
|
|
11220
11580
|
Row: {
|
|
11221
11581
|
cancellation_requested_at: string | null;
|
|
@@ -12269,6 +12629,33 @@ export type Database = {
|
|
|
12269
12629
|
}
|
|
12270
12630
|
];
|
|
12271
12631
|
};
|
|
12632
|
+
logistics_departure_check: {
|
|
12633
|
+
Row: {
|
|
12634
|
+
after: Json | null;
|
|
12635
|
+
before: Json | null;
|
|
12636
|
+
check_run: string;
|
|
12637
|
+
created_at: string;
|
|
12638
|
+
id: number;
|
|
12639
|
+
order_id: string;
|
|
12640
|
+
};
|
|
12641
|
+
Insert: {
|
|
12642
|
+
after?: Json | null;
|
|
12643
|
+
before?: Json | null;
|
|
12644
|
+
check_run: string;
|
|
12645
|
+
created_at?: string;
|
|
12646
|
+
id?: never;
|
|
12647
|
+
order_id: string;
|
|
12648
|
+
};
|
|
12649
|
+
Update: {
|
|
12650
|
+
after?: Json | null;
|
|
12651
|
+
before?: Json | null;
|
|
12652
|
+
check_run?: string;
|
|
12653
|
+
created_at?: string;
|
|
12654
|
+
id?: never;
|
|
12655
|
+
order_id?: string;
|
|
12656
|
+
};
|
|
12657
|
+
Relationships: [];
|
|
12658
|
+
};
|
|
12272
12659
|
logistics_document_prints: {
|
|
12273
12660
|
Row: {
|
|
12274
12661
|
created_at: string;
|
|
@@ -12379,6 +12766,39 @@ export type Database = {
|
|
|
12379
12766
|
};
|
|
12380
12767
|
Relationships: [];
|
|
12381
12768
|
};
|
|
12769
|
+
logistics_external_fulfillment: {
|
|
12770
|
+
Row: {
|
|
12771
|
+
applied_at: string;
|
|
12772
|
+
created_at: string;
|
|
12773
|
+
event_id: string | null;
|
|
12774
|
+
full_fulfilled: boolean;
|
|
12775
|
+
order_id: string;
|
|
12776
|
+
reason: string;
|
|
12777
|
+
sales_order_ids: string[];
|
|
12778
|
+
updated_at: string;
|
|
12779
|
+
};
|
|
12780
|
+
Insert: {
|
|
12781
|
+
applied_at?: string;
|
|
12782
|
+
created_at?: string;
|
|
12783
|
+
event_id?: string | null;
|
|
12784
|
+
full_fulfilled?: boolean;
|
|
12785
|
+
order_id: string;
|
|
12786
|
+
reason?: string;
|
|
12787
|
+
sales_order_ids?: string[];
|
|
12788
|
+
updated_at?: string;
|
|
12789
|
+
};
|
|
12790
|
+
Update: {
|
|
12791
|
+
applied_at?: string;
|
|
12792
|
+
created_at?: string;
|
|
12793
|
+
event_id?: string | null;
|
|
12794
|
+
full_fulfilled?: boolean;
|
|
12795
|
+
order_id?: string;
|
|
12796
|
+
reason?: string;
|
|
12797
|
+
sales_order_ids?: string[];
|
|
12798
|
+
updated_at?: string;
|
|
12799
|
+
};
|
|
12800
|
+
Relationships: [];
|
|
12801
|
+
};
|
|
12382
12802
|
logistics_floriday_carrier_map: {
|
|
12383
12803
|
Row: {
|
|
12384
12804
|
carrier_code: string;
|
|
@@ -13319,7 +13739,9 @@ export type Database = {
|
|
|
13319
13739
|
id: boolean;
|
|
13320
13740
|
last_checked: number;
|
|
13321
13741
|
last_duration_ms: number;
|
|
13742
|
+
last_error: string | null;
|
|
13322
13743
|
last_mode: string | null;
|
|
13744
|
+
last_report: Json | null;
|
|
13323
13745
|
last_run_at: string | null;
|
|
13324
13746
|
last_updated: number;
|
|
13325
13747
|
last_would_change: number | null;
|
|
@@ -13332,7 +13754,9 @@ export type Database = {
|
|
|
13332
13754
|
id?: boolean;
|
|
13333
13755
|
last_checked?: number;
|
|
13334
13756
|
last_duration_ms?: number;
|
|
13757
|
+
last_error?: string | null;
|
|
13335
13758
|
last_mode?: string | null;
|
|
13759
|
+
last_report?: Json | null;
|
|
13336
13760
|
last_run_at?: string | null;
|
|
13337
13761
|
last_updated?: number;
|
|
13338
13762
|
last_would_change?: number | null;
|
|
@@ -13345,7 +13769,9 @@ export type Database = {
|
|
|
13345
13769
|
id?: boolean;
|
|
13346
13770
|
last_checked?: number;
|
|
13347
13771
|
last_duration_ms?: number;
|
|
13772
|
+
last_error?: string | null;
|
|
13348
13773
|
last_mode?: string | null;
|
|
13774
|
+
last_report?: Json | null;
|
|
13349
13775
|
last_run_at?: string | null;
|
|
13350
13776
|
last_updated?: number;
|
|
13351
13777
|
last_would_change?: number | null;
|
|
@@ -13766,6 +14192,8 @@ export type Database = {
|
|
|
13766
14192
|
handled_at: string | null;
|
|
13767
14193
|
handled_error: string | null;
|
|
13768
14194
|
handled_next_at: string | null;
|
|
14195
|
+
herprint_reden: string | null;
|
|
14196
|
+
herprint_requested_at: string | null;
|
|
13769
14197
|
hoogte_mm: number | null;
|
|
13770
14198
|
id: string;
|
|
13771
14199
|
kopieen: number;
|
|
@@ -13777,6 +14205,7 @@ export type Database = {
|
|
|
13777
14205
|
reden: string | null;
|
|
13778
14206
|
soort: string;
|
|
13779
14207
|
status: string;
|
|
14208
|
+
sticker_type: string | null;
|
|
13780
14209
|
updated_at: string;
|
|
13781
14210
|
};
|
|
13782
14211
|
Insert: {
|
|
@@ -13789,6 +14218,8 @@ export type Database = {
|
|
|
13789
14218
|
handled_at?: string | null;
|
|
13790
14219
|
handled_error?: string | null;
|
|
13791
14220
|
handled_next_at?: string | null;
|
|
14221
|
+
herprint_reden?: string | null;
|
|
14222
|
+
herprint_requested_at?: string | null;
|
|
13792
14223
|
hoogte_mm?: number | null;
|
|
13793
14224
|
id?: string;
|
|
13794
14225
|
kopieen?: number;
|
|
@@ -13800,6 +14231,7 @@ export type Database = {
|
|
|
13800
14231
|
reden?: string | null;
|
|
13801
14232
|
soort: string;
|
|
13802
14233
|
status?: string;
|
|
14234
|
+
sticker_type?: string | null;
|
|
13803
14235
|
updated_at?: string;
|
|
13804
14236
|
};
|
|
13805
14237
|
Update: {
|
|
@@ -13812,6 +14244,8 @@ export type Database = {
|
|
|
13812
14244
|
handled_at?: string | null;
|
|
13813
14245
|
handled_error?: string | null;
|
|
13814
14246
|
handled_next_at?: string | null;
|
|
14247
|
+
herprint_reden?: string | null;
|
|
14248
|
+
herprint_requested_at?: string | null;
|
|
13815
14249
|
hoogte_mm?: number | null;
|
|
13816
14250
|
id?: string;
|
|
13817
14251
|
kopieen?: number;
|
|
@@ -13823,6 +14257,7 @@ export type Database = {
|
|
|
13823
14257
|
reden?: string | null;
|
|
13824
14258
|
soort?: string;
|
|
13825
14259
|
status?: string;
|
|
14260
|
+
sticker_type?: string | null;
|
|
13826
14261
|
updated_at?: string;
|
|
13827
14262
|
};
|
|
13828
14263
|
Relationships: [];
|
|
@@ -14172,22 +14607,52 @@ export type Database = {
|
|
|
14172
14607
|
};
|
|
14173
14608
|
Relationships: [];
|
|
14174
14609
|
};
|
|
14610
|
+
logistics_tick_runs: {
|
|
14611
|
+
Row: {
|
|
14612
|
+
duration_ms: number | null;
|
|
14613
|
+
finished_at: string | null;
|
|
14614
|
+
has_error: boolean;
|
|
14615
|
+
id: number;
|
|
14616
|
+
started_at: string;
|
|
14617
|
+
steps: Json;
|
|
14618
|
+
};
|
|
14619
|
+
Insert: {
|
|
14620
|
+
duration_ms?: number | null;
|
|
14621
|
+
finished_at?: string | null;
|
|
14622
|
+
has_error?: boolean;
|
|
14623
|
+
id?: never;
|
|
14624
|
+
started_at?: string;
|
|
14625
|
+
steps?: Json;
|
|
14626
|
+
};
|
|
14627
|
+
Update: {
|
|
14628
|
+
duration_ms?: number | null;
|
|
14629
|
+
finished_at?: string | null;
|
|
14630
|
+
has_error?: boolean;
|
|
14631
|
+
id?: never;
|
|
14632
|
+
started_at?: string;
|
|
14633
|
+
steps?: Json;
|
|
14634
|
+
};
|
|
14635
|
+
Relationships: [];
|
|
14636
|
+
};
|
|
14175
14637
|
logistics_time_settings: {
|
|
14176
14638
|
Row: {
|
|
14177
14639
|
departure_rule_since: string | null;
|
|
14178
14640
|
id: boolean;
|
|
14641
|
+
rule_160_since: string | null;
|
|
14179
14642
|
timezone: string;
|
|
14180
14643
|
updated_at: string;
|
|
14181
14644
|
};
|
|
14182
14645
|
Insert: {
|
|
14183
14646
|
departure_rule_since?: string | null;
|
|
14184
14647
|
id?: boolean;
|
|
14648
|
+
rule_160_since?: string | null;
|
|
14185
14649
|
timezone: string;
|
|
14186
14650
|
updated_at?: string;
|
|
14187
14651
|
};
|
|
14188
14652
|
Update: {
|
|
14189
14653
|
departure_rule_since?: string | null;
|
|
14190
14654
|
id?: boolean;
|
|
14655
|
+
rule_160_since?: string | null;
|
|
14191
14656
|
timezone?: string;
|
|
14192
14657
|
updated_at?: string;
|
|
14193
14658
|
};
|
|
@@ -14496,6 +14961,45 @@ export type Database = {
|
|
|
14496
14961
|
};
|
|
14497
14962
|
Relationships: [];
|
|
14498
14963
|
};
|
|
14964
|
+
mailbox_ai_runs: {
|
|
14965
|
+
Row: {
|
|
14966
|
+
error: string | null;
|
|
14967
|
+
finished_at: string | null;
|
|
14968
|
+
id: string;
|
|
14969
|
+
input_tokens: number | null;
|
|
14970
|
+
is_test: boolean;
|
|
14971
|
+
message_id: string | null;
|
|
14972
|
+
ok: boolean | null;
|
|
14973
|
+
output_tokens: number | null;
|
|
14974
|
+
started_at: string;
|
|
14975
|
+
trigger: string;
|
|
14976
|
+
};
|
|
14977
|
+
Insert: {
|
|
14978
|
+
error?: string | null;
|
|
14979
|
+
finished_at?: string | null;
|
|
14980
|
+
id?: string;
|
|
14981
|
+
input_tokens?: number | null;
|
|
14982
|
+
is_test?: boolean;
|
|
14983
|
+
message_id?: string | null;
|
|
14984
|
+
ok?: boolean | null;
|
|
14985
|
+
output_tokens?: number | null;
|
|
14986
|
+
started_at?: string;
|
|
14987
|
+
trigger?: string;
|
|
14988
|
+
};
|
|
14989
|
+
Update: {
|
|
14990
|
+
error?: string | null;
|
|
14991
|
+
finished_at?: string | null;
|
|
14992
|
+
id?: string;
|
|
14993
|
+
input_tokens?: number | null;
|
|
14994
|
+
is_test?: boolean;
|
|
14995
|
+
message_id?: string | null;
|
|
14996
|
+
ok?: boolean | null;
|
|
14997
|
+
output_tokens?: number | null;
|
|
14998
|
+
started_at?: string;
|
|
14999
|
+
trigger?: string;
|
|
15000
|
+
};
|
|
15001
|
+
Relationships: [];
|
|
15002
|
+
};
|
|
14499
15003
|
mailbox_ai_settings: {
|
|
14500
15004
|
Row: {
|
|
14501
15005
|
active_goal_key: string | null;
|
|
@@ -14529,6 +15033,78 @@ export type Database = {
|
|
|
14529
15033
|
};
|
|
14530
15034
|
Relationships: [];
|
|
14531
15035
|
};
|
|
15036
|
+
mailbox_filter_settings: {
|
|
15037
|
+
Row: {
|
|
15038
|
+
analyze_unknown_with_signals: boolean;
|
|
15039
|
+
conf_green: number;
|
|
15040
|
+
conf_orange: number;
|
|
15041
|
+
created_at: string;
|
|
15042
|
+
domain_match: boolean;
|
|
15043
|
+
duplicate_days: number;
|
|
15044
|
+
id: string;
|
|
15045
|
+
max_agent_reparse: number;
|
|
15046
|
+
max_ai_per_day: number;
|
|
15047
|
+
max_ai_per_month: number;
|
|
15048
|
+
max_candidates: number;
|
|
15049
|
+
max_retries_per_run: number;
|
|
15050
|
+
max_retry_attempts: number;
|
|
15051
|
+
min_signals_unknown: number;
|
|
15052
|
+
negative_keywords: string[];
|
|
15053
|
+
order_keywords: string[];
|
|
15054
|
+
order_patterns: string[];
|
|
15055
|
+
singleton: boolean;
|
|
15056
|
+
skip_domains: string[];
|
|
15057
|
+
skip_senders: string[];
|
|
15058
|
+
updated_at: string;
|
|
15059
|
+
};
|
|
15060
|
+
Insert: {
|
|
15061
|
+
analyze_unknown_with_signals?: boolean;
|
|
15062
|
+
conf_green?: number;
|
|
15063
|
+
conf_orange?: number;
|
|
15064
|
+
created_at?: string;
|
|
15065
|
+
domain_match?: boolean;
|
|
15066
|
+
duplicate_days?: number;
|
|
15067
|
+
id?: string;
|
|
15068
|
+
max_agent_reparse?: number;
|
|
15069
|
+
max_ai_per_day?: number;
|
|
15070
|
+
max_ai_per_month?: number;
|
|
15071
|
+
max_candidates?: number;
|
|
15072
|
+
max_retries_per_run?: number;
|
|
15073
|
+
max_retry_attempts?: number;
|
|
15074
|
+
min_signals_unknown?: number;
|
|
15075
|
+
negative_keywords?: string[];
|
|
15076
|
+
order_keywords?: string[];
|
|
15077
|
+
order_patterns?: string[];
|
|
15078
|
+
singleton?: boolean;
|
|
15079
|
+
skip_domains?: string[];
|
|
15080
|
+
skip_senders?: string[];
|
|
15081
|
+
updated_at?: string;
|
|
15082
|
+
};
|
|
15083
|
+
Update: {
|
|
15084
|
+
analyze_unknown_with_signals?: boolean;
|
|
15085
|
+
conf_green?: number;
|
|
15086
|
+
conf_orange?: number;
|
|
15087
|
+
created_at?: string;
|
|
15088
|
+
domain_match?: boolean;
|
|
15089
|
+
duplicate_days?: number;
|
|
15090
|
+
id?: string;
|
|
15091
|
+
max_agent_reparse?: number;
|
|
15092
|
+
max_ai_per_day?: number;
|
|
15093
|
+
max_ai_per_month?: number;
|
|
15094
|
+
max_candidates?: number;
|
|
15095
|
+
max_retries_per_run?: number;
|
|
15096
|
+
max_retry_attempts?: number;
|
|
15097
|
+
min_signals_unknown?: number;
|
|
15098
|
+
negative_keywords?: string[];
|
|
15099
|
+
order_keywords?: string[];
|
|
15100
|
+
order_patterns?: string[];
|
|
15101
|
+
singleton?: boolean;
|
|
15102
|
+
skip_domains?: string[];
|
|
15103
|
+
skip_senders?: string[];
|
|
15104
|
+
updated_at?: string;
|
|
15105
|
+
};
|
|
15106
|
+
Relationships: [];
|
|
15107
|
+
};
|
|
14532
15108
|
mailbox_ingest_runs: {
|
|
14533
15109
|
Row: {
|
|
14534
15110
|
connection_id: string | null;
|
|
@@ -14567,6 +15143,10 @@ export type Database = {
|
|
|
14567
15143
|
};
|
|
14568
15144
|
mailbox_messages: {
|
|
14569
15145
|
Row: {
|
|
15146
|
+
analysis_count: number;
|
|
15147
|
+
analysis_note: string | null;
|
|
15148
|
+
analysis_started_at: string | null;
|
|
15149
|
+
analysis_state: string | null;
|
|
14570
15150
|
attachments: Json;
|
|
14571
15151
|
body_html: string | null;
|
|
14572
15152
|
body_text: string | null;
|
|
@@ -14575,6 +15155,8 @@ export type Database = {
|
|
|
14575
15155
|
created_at: string;
|
|
14576
15156
|
error_message: string | null;
|
|
14577
15157
|
external_id: string | null;
|
|
15158
|
+
filter_outcome: string | null;
|
|
15159
|
+
filter_reason: string | null;
|
|
14578
15160
|
from_email: string | null;
|
|
14579
15161
|
from_name: string | null;
|
|
14580
15162
|
has_attachments: boolean;
|
|
@@ -14591,6 +15173,10 @@ export type Database = {
|
|
|
14591
15173
|
updated_at: string;
|
|
14592
15174
|
};
|
|
14593
15175
|
Insert: {
|
|
15176
|
+
analysis_count?: number;
|
|
15177
|
+
analysis_note?: string | null;
|
|
15178
|
+
analysis_started_at?: string | null;
|
|
15179
|
+
analysis_state?: string | null;
|
|
14594
15180
|
attachments?: Json;
|
|
14595
15181
|
body_html?: string | null;
|
|
14596
15182
|
body_text?: string | null;
|
|
@@ -14599,6 +15185,8 @@ export type Database = {
|
|
|
14599
15185
|
created_at?: string;
|
|
14600
15186
|
error_message?: string | null;
|
|
14601
15187
|
external_id?: string | null;
|
|
15188
|
+
filter_outcome?: string | null;
|
|
15189
|
+
filter_reason?: string | null;
|
|
14602
15190
|
from_email?: string | null;
|
|
14603
15191
|
from_name?: string | null;
|
|
14604
15192
|
has_attachments?: boolean;
|
|
@@ -14615,6 +15203,10 @@ export type Database = {
|
|
|
14615
15203
|
updated_at?: string;
|
|
14616
15204
|
};
|
|
14617
15205
|
Update: {
|
|
15206
|
+
analysis_count?: number;
|
|
15207
|
+
analysis_note?: string | null;
|
|
15208
|
+
analysis_started_at?: string | null;
|
|
15209
|
+
analysis_state?: string | null;
|
|
14618
15210
|
attachments?: Json;
|
|
14619
15211
|
body_html?: string | null;
|
|
14620
15212
|
body_text?: string | null;
|
|
@@ -14623,6 +15215,8 @@ export type Database = {
|
|
|
14623
15215
|
created_at?: string;
|
|
14624
15216
|
error_message?: string | null;
|
|
14625
15217
|
external_id?: string | null;
|
|
15218
|
+
filter_outcome?: string | null;
|
|
15219
|
+
filter_reason?: string | null;
|
|
14626
15220
|
from_email?: string | null;
|
|
14627
15221
|
from_name?: string | null;
|
|
14628
15222
|
has_attachments?: boolean;
|
|
@@ -14669,6 +15263,7 @@ export type Database = {
|
|
|
14669
15263
|
confidence: number | null;
|
|
14670
15264
|
created_at: string;
|
|
14671
15265
|
created_order_id: string | null;
|
|
15266
|
+
customer_reference: string | null;
|
|
14672
15267
|
delivery_date: string | null;
|
|
14673
15268
|
id: string;
|
|
14674
15269
|
matched_customer_id: string | null;
|
|
@@ -14687,6 +15282,7 @@ export type Database = {
|
|
|
14687
15282
|
confidence?: number | null;
|
|
14688
15283
|
created_at?: string;
|
|
14689
15284
|
created_order_id?: string | null;
|
|
15285
|
+
customer_reference?: string | null;
|
|
14690
15286
|
delivery_date?: string | null;
|
|
14691
15287
|
id?: string;
|
|
14692
15288
|
matched_customer_id?: string | null;
|
|
@@ -14705,6 +15301,7 @@ export type Database = {
|
|
|
14705
15301
|
confidence?: number | null;
|
|
14706
15302
|
created_at?: string;
|
|
14707
15303
|
created_order_id?: string | null;
|
|
15304
|
+
customer_reference?: string | null;
|
|
14708
15305
|
delivery_date?: string | null;
|
|
14709
15306
|
id?: string;
|
|
14710
15307
|
matched_customer_id?: string | null;
|
|
@@ -14841,43 +15438,85 @@ export type Database = {
|
|
|
14841
15438
|
};
|
|
14842
15439
|
mailbox_proposal_lines: {
|
|
14843
15440
|
Row: {
|
|
15441
|
+
belading: Json | null;
|
|
15442
|
+
confidence: Json | null;
|
|
14844
15443
|
created_at: string;
|
|
15444
|
+
currency: string | null;
|
|
14845
15445
|
id: string;
|
|
14846
15446
|
match_confidence: number | null;
|
|
15447
|
+
match_source: string | null;
|
|
15448
|
+
name_in_mail: string | null;
|
|
15449
|
+
pieces_per_unit: number | null;
|
|
14847
15450
|
plant_type: string | null;
|
|
15451
|
+
plants: number | null;
|
|
15452
|
+
price_per: string | null;
|
|
14848
15453
|
product_id: string | null;
|
|
14849
15454
|
proposal_id: string;
|
|
15455
|
+
qty_in_mail: number | null;
|
|
14850
15456
|
quantity: number | null;
|
|
15457
|
+
raw_code: string | null;
|
|
14851
15458
|
raw_product_text: string | null;
|
|
14852
15459
|
sort_order: number;
|
|
14853
15460
|
unit: string | null;
|
|
15461
|
+
unit_kind: string | null;
|
|
15462
|
+
unit_price: number | null;
|
|
15463
|
+
unit_text: string | null;
|
|
14854
15464
|
updated_at: string;
|
|
15465
|
+
warnings: string[] | null;
|
|
14855
15466
|
};
|
|
14856
15467
|
Insert: {
|
|
15468
|
+
belading?: Json | null;
|
|
15469
|
+
confidence?: Json | null;
|
|
14857
15470
|
created_at?: string;
|
|
15471
|
+
currency?: string | null;
|
|
14858
15472
|
id?: string;
|
|
14859
15473
|
match_confidence?: number | null;
|
|
15474
|
+
match_source?: string | null;
|
|
15475
|
+
name_in_mail?: string | null;
|
|
15476
|
+
pieces_per_unit?: number | null;
|
|
14860
15477
|
plant_type?: string | null;
|
|
15478
|
+
plants?: number | null;
|
|
15479
|
+
price_per?: string | null;
|
|
14861
15480
|
product_id?: string | null;
|
|
14862
15481
|
proposal_id: string;
|
|
15482
|
+
qty_in_mail?: number | null;
|
|
14863
15483
|
quantity?: number | null;
|
|
15484
|
+
raw_code?: string | null;
|
|
14864
15485
|
raw_product_text?: string | null;
|
|
14865
15486
|
sort_order?: number;
|
|
14866
15487
|
unit?: string | null;
|
|
15488
|
+
unit_kind?: string | null;
|
|
15489
|
+
unit_price?: number | null;
|
|
15490
|
+
unit_text?: string | null;
|
|
14867
15491
|
updated_at?: string;
|
|
15492
|
+
warnings?: string[] | null;
|
|
14868
15493
|
};
|
|
14869
15494
|
Update: {
|
|
15495
|
+
belading?: Json | null;
|
|
15496
|
+
confidence?: Json | null;
|
|
14870
15497
|
created_at?: string;
|
|
15498
|
+
currency?: string | null;
|
|
14871
15499
|
id?: string;
|
|
14872
15500
|
match_confidence?: number | null;
|
|
15501
|
+
match_source?: string | null;
|
|
15502
|
+
name_in_mail?: string | null;
|
|
15503
|
+
pieces_per_unit?: number | null;
|
|
14873
15504
|
plant_type?: string | null;
|
|
15505
|
+
plants?: number | null;
|
|
15506
|
+
price_per?: string | null;
|
|
14874
15507
|
product_id?: string | null;
|
|
14875
15508
|
proposal_id?: string;
|
|
15509
|
+
qty_in_mail?: number | null;
|
|
14876
15510
|
quantity?: number | null;
|
|
15511
|
+
raw_code?: string | null;
|
|
14877
15512
|
raw_product_text?: string | null;
|
|
14878
15513
|
sort_order?: number;
|
|
14879
15514
|
unit?: string | null;
|
|
15515
|
+
unit_kind?: string | null;
|
|
15516
|
+
unit_price?: number | null;
|
|
15517
|
+
unit_text?: string | null;
|
|
14880
15518
|
updated_at?: string;
|
|
15519
|
+
warnings?: string[] | null;
|
|
14881
15520
|
};
|
|
14882
15521
|
Relationships: [
|
|
14883
15522
|
{
|
|
@@ -14951,6 +15590,51 @@ export type Database = {
|
|
|
14951
15590
|
};
|
|
14952
15591
|
Relationships: [];
|
|
14953
15592
|
};
|
|
15593
|
+
mailbox_test_cases: {
|
|
15594
|
+
Row: {
|
|
15595
|
+
body_text: string;
|
|
15596
|
+
created_at: string;
|
|
15597
|
+
expected: Json;
|
|
15598
|
+
from_email: string;
|
|
15599
|
+
has_attachment: boolean;
|
|
15600
|
+
id: string;
|
|
15601
|
+
last_result: Json | null;
|
|
15602
|
+
last_run_at: string | null;
|
|
15603
|
+
name: string;
|
|
15604
|
+
sort_order: number;
|
|
15605
|
+
subject: string;
|
|
15606
|
+
updated_at: string;
|
|
15607
|
+
};
|
|
15608
|
+
Insert: {
|
|
15609
|
+
body_text?: string;
|
|
15610
|
+
created_at?: string;
|
|
15611
|
+
expected?: Json;
|
|
15612
|
+
from_email?: string;
|
|
15613
|
+
has_attachment?: boolean;
|
|
15614
|
+
id?: string;
|
|
15615
|
+
last_result?: Json | null;
|
|
15616
|
+
last_run_at?: string | null;
|
|
15617
|
+
name: string;
|
|
15618
|
+
sort_order?: number;
|
|
15619
|
+
subject?: string;
|
|
15620
|
+
updated_at?: string;
|
|
15621
|
+
};
|
|
15622
|
+
Update: {
|
|
15623
|
+
body_text?: string;
|
|
15624
|
+
created_at?: string;
|
|
15625
|
+
expected?: Json;
|
|
15626
|
+
from_email?: string;
|
|
15627
|
+
has_attachment?: boolean;
|
|
15628
|
+
id?: string;
|
|
15629
|
+
last_result?: Json | null;
|
|
15630
|
+
last_run_at?: string | null;
|
|
15631
|
+
name?: string;
|
|
15632
|
+
sort_order?: number;
|
|
15633
|
+
subject?: string;
|
|
15634
|
+
updated_at?: string;
|
|
15635
|
+
};
|
|
15636
|
+
Relationships: [];
|
|
15637
|
+
};
|
|
14954
15638
|
manufacture_product_components: {
|
|
14955
15639
|
Row: {
|
|
14956
15640
|
component_type: string;
|
|
@@ -15015,7 +15699,7 @@ export type Database = {
|
|
|
15015
15699
|
name: string;
|
|
15016
15700
|
produced_stock: number;
|
|
15017
15701
|
product_code: string;
|
|
15018
|
-
tenant_id: string;
|
|
15702
|
+
tenant_id: string | null;
|
|
15019
15703
|
updated_at: string;
|
|
15020
15704
|
};
|
|
15021
15705
|
Insert: {
|
|
@@ -15026,7 +15710,7 @@ export type Database = {
|
|
|
15026
15710
|
name: string;
|
|
15027
15711
|
produced_stock?: number;
|
|
15028
15712
|
product_code: string;
|
|
15029
|
-
tenant_id
|
|
15713
|
+
tenant_id?: string | null;
|
|
15030
15714
|
updated_at?: string;
|
|
15031
15715
|
};
|
|
15032
15716
|
Update: {
|
|
@@ -15037,7 +15721,7 @@ export type Database = {
|
|
|
15037
15721
|
name?: string;
|
|
15038
15722
|
produced_stock?: number;
|
|
15039
15723
|
product_code?: string;
|
|
15040
|
-
tenant_id?: string;
|
|
15724
|
+
tenant_id?: string | null;
|
|
15041
15725
|
updated_at?: string;
|
|
15042
15726
|
};
|
|
15043
15727
|
Relationships: [];
|
|
@@ -16073,10 +16757,12 @@ export type Database = {
|
|
|
16073
16757
|
id: string;
|
|
16074
16758
|
items: Json;
|
|
16075
16759
|
notes: string | null;
|
|
16760
|
+
order_creation_attempts: number;
|
|
16076
16761
|
order_creation_error: string | null;
|
|
16077
16762
|
order_creation_failed_at: string | null;
|
|
16078
16763
|
order_id: string | null;
|
|
16079
16764
|
order_number: string | null;
|
|
16765
|
+
order_retry_payload: Json | null;
|
|
16080
16766
|
recipient_id: string;
|
|
16081
16767
|
total_amount: number;
|
|
16082
16768
|
};
|
|
@@ -16090,10 +16776,12 @@ export type Database = {
|
|
|
16090
16776
|
id?: string;
|
|
16091
16777
|
items?: Json;
|
|
16092
16778
|
notes?: string | null;
|
|
16779
|
+
order_creation_attempts?: number;
|
|
16093
16780
|
order_creation_error?: string | null;
|
|
16094
16781
|
order_creation_failed_at?: string | null;
|
|
16095
16782
|
order_id?: string | null;
|
|
16096
16783
|
order_number?: string | null;
|
|
16784
|
+
order_retry_payload?: Json | null;
|
|
16097
16785
|
recipient_id: string;
|
|
16098
16786
|
total_amount?: number;
|
|
16099
16787
|
};
|
|
@@ -16107,10 +16795,12 @@ export type Database = {
|
|
|
16107
16795
|
id?: string;
|
|
16108
16796
|
items?: Json;
|
|
16109
16797
|
notes?: string | null;
|
|
16798
|
+
order_creation_attempts?: number;
|
|
16110
16799
|
order_creation_error?: string | null;
|
|
16111
16800
|
order_creation_failed_at?: string | null;
|
|
16112
16801
|
order_id?: string | null;
|
|
16113
16802
|
order_number?: string | null;
|
|
16803
|
+
order_retry_payload?: Json | null;
|
|
16114
16804
|
recipient_id?: string;
|
|
16115
16805
|
total_amount?: number;
|
|
16116
16806
|
};
|
|
@@ -16826,6 +17516,7 @@ export type Database = {
|
|
|
16826
17516
|
created_at: string;
|
|
16827
17517
|
id: string;
|
|
16828
17518
|
layers_per_cart: number | null;
|
|
17519
|
+
needs_sticker: boolean;
|
|
16829
17520
|
order_id: string;
|
|
16830
17521
|
packing_locked_at: string | null;
|
|
16831
17522
|
packing_locked_by: string | null;
|
|
@@ -16845,6 +17536,7 @@ export type Database = {
|
|
|
16845
17536
|
created_at?: string;
|
|
16846
17537
|
id?: string;
|
|
16847
17538
|
layers_per_cart?: number | null;
|
|
17539
|
+
needs_sticker?: boolean;
|
|
16848
17540
|
order_id: string;
|
|
16849
17541
|
packing_locked_at?: string | null;
|
|
16850
17542
|
packing_locked_by?: string | null;
|
|
@@ -16864,6 +17556,7 @@ export type Database = {
|
|
|
16864
17556
|
created_at?: string;
|
|
16865
17557
|
id?: string;
|
|
16866
17558
|
layers_per_cart?: number | null;
|
|
17559
|
+
needs_sticker?: boolean;
|
|
16867
17560
|
order_id?: string;
|
|
16868
17561
|
packing_locked_at?: string | null;
|
|
16869
17562
|
packing_locked_by?: string | null;
|
|
@@ -19634,6 +20327,42 @@ export type Database = {
|
|
|
19634
20327
|
};
|
|
19635
20328
|
Relationships: [];
|
|
19636
20329
|
};
|
|
20330
|
+
print_printer_verwijder_herstel: {
|
|
20331
|
+
Row: {
|
|
20332
|
+
created_at: string;
|
|
20333
|
+
extern_printer_id: string | null;
|
|
20334
|
+
hersteld_op: string | null;
|
|
20335
|
+
id: string;
|
|
20336
|
+
print_plek_id: string;
|
|
20337
|
+
printer_id: string;
|
|
20338
|
+
printer_naam: string | null;
|
|
20339
|
+
regels: Json;
|
|
20340
|
+
verwijderd_op: string;
|
|
20341
|
+
};
|
|
20342
|
+
Insert: {
|
|
20343
|
+
created_at?: string;
|
|
20344
|
+
extern_printer_id?: string | null;
|
|
20345
|
+
hersteld_op?: string | null;
|
|
20346
|
+
id?: string;
|
|
20347
|
+
print_plek_id: string;
|
|
20348
|
+
printer_id: string;
|
|
20349
|
+
printer_naam?: string | null;
|
|
20350
|
+
regels?: Json;
|
|
20351
|
+
verwijderd_op?: string;
|
|
20352
|
+
};
|
|
20353
|
+
Update: {
|
|
20354
|
+
created_at?: string;
|
|
20355
|
+
extern_printer_id?: string | null;
|
|
20356
|
+
hersteld_op?: string | null;
|
|
20357
|
+
id?: string;
|
|
20358
|
+
print_plek_id?: string;
|
|
20359
|
+
printer_id?: string;
|
|
20360
|
+
printer_naam?: string | null;
|
|
20361
|
+
regels?: Json;
|
|
20362
|
+
verwijderd_op?: string;
|
|
20363
|
+
};
|
|
20364
|
+
Relationships: [];
|
|
20365
|
+
};
|
|
19637
20366
|
print_queue_leases: {
|
|
19638
20367
|
Row: {
|
|
19639
20368
|
created_at: string;
|
|
@@ -20284,7 +21013,7 @@ export type Database = {
|
|
|
20284
21013
|
parent_trade_item_floriday_id: string | null;
|
|
20285
21014
|
quantity: number;
|
|
20286
21015
|
sort_order: number;
|
|
20287
|
-
tenant_id: string;
|
|
21016
|
+
tenant_id: string | null;
|
|
20288
21017
|
unit: string;
|
|
20289
21018
|
updated_at: string;
|
|
20290
21019
|
};
|
|
@@ -20297,7 +21026,7 @@ export type Database = {
|
|
|
20297
21026
|
parent_trade_item_floriday_id?: string | null;
|
|
20298
21027
|
quantity?: number;
|
|
20299
21028
|
sort_order?: number;
|
|
20300
|
-
tenant_id
|
|
21029
|
+
tenant_id?: string | null;
|
|
20301
21030
|
unit?: string;
|
|
20302
21031
|
updated_at?: string;
|
|
20303
21032
|
};
|
|
@@ -20310,7 +21039,7 @@ export type Database = {
|
|
|
20310
21039
|
parent_trade_item_floriday_id?: string | null;
|
|
20311
21040
|
quantity?: number;
|
|
20312
21041
|
sort_order?: number;
|
|
20313
|
-
tenant_id?: string;
|
|
21042
|
+
tenant_id?: string | null;
|
|
20314
21043
|
unit?: string;
|
|
20315
21044
|
updated_at?: string;
|
|
20316
21045
|
};
|
|
@@ -20343,7 +21072,7 @@ export type Database = {
|
|
|
20343
21072
|
parent_trade_item_floriday_id: string | null;
|
|
20344
21073
|
quantity: number;
|
|
20345
21074
|
sort_order: number;
|
|
20346
|
-
tenant_id: string;
|
|
21075
|
+
tenant_id: string | null;
|
|
20347
21076
|
unit: string;
|
|
20348
21077
|
updated_at: string;
|
|
20349
21078
|
};
|
|
@@ -20358,7 +21087,7 @@ export type Database = {
|
|
|
20358
21087
|
parent_trade_item_floriday_id?: string | null;
|
|
20359
21088
|
quantity?: number;
|
|
20360
21089
|
sort_order?: number;
|
|
20361
|
-
tenant_id
|
|
21090
|
+
tenant_id?: string | null;
|
|
20362
21091
|
unit?: string;
|
|
20363
21092
|
updated_at?: string;
|
|
20364
21093
|
};
|
|
@@ -20373,7 +21102,7 @@ export type Database = {
|
|
|
20373
21102
|
parent_trade_item_floriday_id?: string | null;
|
|
20374
21103
|
quantity?: number;
|
|
20375
21104
|
sort_order?: number;
|
|
20376
|
-
tenant_id?: string;
|
|
21105
|
+
tenant_id?: string | null;
|
|
20377
21106
|
unit?: string;
|
|
20378
21107
|
updated_at?: string;
|
|
20379
21108
|
};
|
|
@@ -20553,7 +21282,7 @@ export type Database = {
|
|
|
20553
21282
|
id: string;
|
|
20554
21283
|
is_active: boolean;
|
|
20555
21284
|
name: string;
|
|
20556
|
-
tenant_id: string;
|
|
21285
|
+
tenant_id: string | null;
|
|
20557
21286
|
updated_at: string;
|
|
20558
21287
|
};
|
|
20559
21288
|
Insert: {
|
|
@@ -20564,7 +21293,7 @@ export type Database = {
|
|
|
20564
21293
|
id?: string;
|
|
20565
21294
|
is_active?: boolean;
|
|
20566
21295
|
name: string;
|
|
20567
|
-
tenant_id
|
|
21296
|
+
tenant_id?: string | null;
|
|
20568
21297
|
updated_at?: string;
|
|
20569
21298
|
};
|
|
20570
21299
|
Update: {
|
|
@@ -20575,7 +21304,7 @@ export type Database = {
|
|
|
20575
21304
|
id?: string;
|
|
20576
21305
|
is_active?: boolean;
|
|
20577
21306
|
name?: string;
|
|
20578
|
-
tenant_id?: string;
|
|
21307
|
+
tenant_id?: string | null;
|
|
20579
21308
|
updated_at?: string;
|
|
20580
21309
|
};
|
|
20581
21310
|
Relationships: [
|
|
@@ -20610,7 +21339,7 @@ export type Database = {
|
|
|
20610
21339
|
packages_per_layer: number | null;
|
|
20611
21340
|
packing_configuration_id: string;
|
|
20612
21341
|
product_id: string | null;
|
|
20613
|
-
tenant_id: string;
|
|
21342
|
+
tenant_id: string | null;
|
|
20614
21343
|
trade_item_floriday_id: string | null;
|
|
20615
21344
|
units_per_package: number | null;
|
|
20616
21345
|
updated_at: string;
|
|
@@ -20629,7 +21358,7 @@ export type Database = {
|
|
|
20629
21358
|
packages_per_layer?: number | null;
|
|
20630
21359
|
packing_configuration_id?: string;
|
|
20631
21360
|
product_id?: string | null;
|
|
20632
|
-
tenant_id
|
|
21361
|
+
tenant_id?: string | null;
|
|
20633
21362
|
trade_item_floriday_id?: string | null;
|
|
20634
21363
|
units_per_package?: number | null;
|
|
20635
21364
|
updated_at?: string;
|
|
@@ -20648,7 +21377,7 @@ export type Database = {
|
|
|
20648
21377
|
packages_per_layer?: number | null;
|
|
20649
21378
|
packing_configuration_id?: string;
|
|
20650
21379
|
product_id?: string | null;
|
|
20651
|
-
tenant_id?: string;
|
|
21380
|
+
tenant_id?: string | null;
|
|
20652
21381
|
trade_item_floriday_id?: string | null;
|
|
20653
21382
|
units_per_package?: number | null;
|
|
20654
21383
|
updated_at?: string;
|
|
@@ -20828,6 +21557,69 @@ export type Database = {
|
|
|
20828
21557
|
}
|
|
20829
21558
|
];
|
|
20830
21559
|
};
|
|
21560
|
+
productontwerp_import_map: {
|
|
21561
|
+
Row: {
|
|
21562
|
+
created_at: string;
|
|
21563
|
+
entity_type: string;
|
|
21564
|
+
id: string;
|
|
21565
|
+
imported_at: string;
|
|
21566
|
+
match_method: string | null;
|
|
21567
|
+
source_id: string;
|
|
21568
|
+
source_shell_id: string;
|
|
21569
|
+
target_id: string;
|
|
21570
|
+
updated_at: string;
|
|
21571
|
+
};
|
|
21572
|
+
Insert: {
|
|
21573
|
+
created_at?: string;
|
|
21574
|
+
entity_type: string;
|
|
21575
|
+
id?: string;
|
|
21576
|
+
imported_at?: string;
|
|
21577
|
+
match_method?: string | null;
|
|
21578
|
+
source_id: string;
|
|
21579
|
+
source_shell_id: string;
|
|
21580
|
+
target_id: string;
|
|
21581
|
+
updated_at?: string;
|
|
21582
|
+
};
|
|
21583
|
+
Update: {
|
|
21584
|
+
created_at?: string;
|
|
21585
|
+
entity_type?: string;
|
|
21586
|
+
id?: string;
|
|
21587
|
+
imported_at?: string;
|
|
21588
|
+
match_method?: string | null;
|
|
21589
|
+
source_id?: string;
|
|
21590
|
+
source_shell_id?: string;
|
|
21591
|
+
target_id?: string;
|
|
21592
|
+
updated_at?: string;
|
|
21593
|
+
};
|
|
21594
|
+
Relationships: [];
|
|
21595
|
+
};
|
|
21596
|
+
productontwerp_structure_codes: {
|
|
21597
|
+
Row: {
|
|
21598
|
+
code: string;
|
|
21599
|
+
created_at: string;
|
|
21600
|
+
entity_id: string;
|
|
21601
|
+
entity_type: string;
|
|
21602
|
+
id: string;
|
|
21603
|
+
updated_at: string;
|
|
21604
|
+
};
|
|
21605
|
+
Insert: {
|
|
21606
|
+
code: string;
|
|
21607
|
+
created_at?: string;
|
|
21608
|
+
entity_id: string;
|
|
21609
|
+
entity_type: string;
|
|
21610
|
+
id?: string;
|
|
21611
|
+
updated_at?: string;
|
|
21612
|
+
};
|
|
21613
|
+
Update: {
|
|
21614
|
+
code?: string;
|
|
21615
|
+
created_at?: string;
|
|
21616
|
+
entity_id?: string;
|
|
21617
|
+
entity_type?: string;
|
|
21618
|
+
id?: string;
|
|
21619
|
+
updated_at?: string;
|
|
21620
|
+
};
|
|
21621
|
+
Relationships: [];
|
|
21622
|
+
};
|
|
20831
21623
|
products: {
|
|
20832
21624
|
Row: {
|
|
20833
21625
|
article_number: string | null;
|
|
@@ -28654,6 +29446,10 @@ export type Database = {
|
|
|
28654
29446
|
};
|
|
28655
29447
|
};
|
|
28656
29448
|
Functions: {
|
|
29449
|
+
_arm_offer_order_retry: {
|
|
29450
|
+
Args: never;
|
|
29451
|
+
Returns: undefined;
|
|
29452
|
+
};
|
|
28657
29453
|
_floriday_queue_cleanup_batch: {
|
|
28658
29454
|
Args: {
|
|
28659
29455
|
p_days: number;
|
|
@@ -28681,6 +29477,10 @@ export type Database = {
|
|
|
28681
29477
|
};
|
|
28682
29478
|
Returns: string[][];
|
|
28683
29479
|
};
|
|
29480
|
+
_layout_is_beheerder: {
|
|
29481
|
+
Args: never;
|
|
29482
|
+
Returns: boolean;
|
|
29483
|
+
};
|
|
28684
29484
|
_migrate_rewrite_stock_key: {
|
|
28685
29485
|
Args: {
|
|
28686
29486
|
_from_key: string;
|
|
@@ -28688,6 +29488,18 @@ export type Database = {
|
|
|
28688
29488
|
};
|
|
28689
29489
|
Returns: undefined;
|
|
28690
29490
|
};
|
|
29491
|
+
_pick_station_for_cart: {
|
|
29492
|
+
Args: {
|
|
29493
|
+
p_cart_id: string;
|
|
29494
|
+
};
|
|
29495
|
+
Returns: string;
|
|
29496
|
+
};
|
|
29497
|
+
_pick_sticker_ids_for_cart: {
|
|
29498
|
+
Args: {
|
|
29499
|
+
p_cart_id: string;
|
|
29500
|
+
};
|
|
29501
|
+
Returns: string[];
|
|
29502
|
+
};
|
|
28691
29503
|
_print_meld_stilstand: {
|
|
28692
29504
|
Args: {
|
|
28693
29505
|
_reden: string;
|
|
@@ -28701,6 +29513,19 @@ export type Database = {
|
|
|
28701
29513
|
};
|
|
28702
29514
|
Returns: Json;
|
|
28703
29515
|
};
|
|
29516
|
+
_scan_kar_floriday_afgehandeld: {
|
|
29517
|
+
Args: {
|
|
29518
|
+
p_cart_id: string;
|
|
29519
|
+
p_order_id?: string;
|
|
29520
|
+
};
|
|
29521
|
+
Returns: Json;
|
|
29522
|
+
};
|
|
29523
|
+
_scan_kar_pakbon_geprint: {
|
|
29524
|
+
Args: {
|
|
29525
|
+
p_cart_id: string;
|
|
29526
|
+
};
|
|
29527
|
+
Returns: Json;
|
|
29528
|
+
};
|
|
28704
29529
|
_scan_kar_voortgang: {
|
|
28705
29530
|
Args: {
|
|
28706
29531
|
p_cart_id: string;
|
|
@@ -28754,6 +29579,12 @@ export type Database = {
|
|
|
28754
29579
|
};
|
|
28755
29580
|
Returns: string;
|
|
28756
29581
|
};
|
|
29582
|
+
afh_order_floriday_afgehandeld: {
|
|
29583
|
+
Args: {
|
|
29584
|
+
p_order_id: string;
|
|
29585
|
+
};
|
|
29586
|
+
Returns: boolean;
|
|
29587
|
+
};
|
|
28757
29588
|
afh_pick_workdays: {
|
|
28758
29589
|
Args: {
|
|
28759
29590
|
p_from: string;
|
|
@@ -28788,6 +29619,22 @@ export type Database = {
|
|
|
28788
29619
|
};
|
|
28789
29620
|
Returns: Json;
|
|
28790
29621
|
};
|
|
29622
|
+
afh_signup_groups_base: {
|
|
29623
|
+
Args: {
|
|
29624
|
+
p_from: string;
|
|
29625
|
+
p_to: string;
|
|
29626
|
+
p_tz: string;
|
|
29627
|
+
};
|
|
29628
|
+
Returns: Json;
|
|
29629
|
+
};
|
|
29630
|
+
afh_signup_groups_wacht: {
|
|
29631
|
+
Args: {
|
|
29632
|
+
p_from: string;
|
|
29633
|
+
p_to: string;
|
|
29634
|
+
p_tz: string;
|
|
29635
|
+
};
|
|
29636
|
+
Returns: Json;
|
|
29637
|
+
};
|
|
28791
29638
|
afh_signup_mail: {
|
|
28792
29639
|
Args: {
|
|
28793
29640
|
g: Json;
|
|
@@ -28796,6 +29643,22 @@ export type Database = {
|
|
|
28796
29643
|
};
|
|
28797
29644
|
Returns: Json;
|
|
28798
29645
|
};
|
|
29646
|
+
afh_signup_mail_base: {
|
|
29647
|
+
Args: {
|
|
29648
|
+
g: Json;
|
|
29649
|
+
p_prev: number;
|
|
29650
|
+
p_tz: string;
|
|
29651
|
+
};
|
|
29652
|
+
Returns: Json;
|
|
29653
|
+
};
|
|
29654
|
+
afh_signup_mail_wacht: {
|
|
29655
|
+
Args: {
|
|
29656
|
+
g: Json;
|
|
29657
|
+
p_prev: number;
|
|
29658
|
+
p_tz: string;
|
|
29659
|
+
};
|
|
29660
|
+
Returns: Json;
|
|
29661
|
+
};
|
|
28799
29662
|
afh_signup_send_group: {
|
|
28800
29663
|
Args: {
|
|
28801
29664
|
g: Json;
|
|
@@ -28807,6 +29670,17 @@ export type Database = {
|
|
|
28807
29670
|
};
|
|
28808
29671
|
Returns: Json;
|
|
28809
29672
|
};
|
|
29673
|
+
afh_signup_send_group_base: {
|
|
29674
|
+
Args: {
|
|
29675
|
+
g: Json;
|
|
29676
|
+
p_connection: string;
|
|
29677
|
+
p_purpose: string;
|
|
29678
|
+
p_source: string;
|
|
29679
|
+
p_tz: string;
|
|
29680
|
+
p_user: string;
|
|
29681
|
+
};
|
|
29682
|
+
Returns: Json;
|
|
29683
|
+
};
|
|
28810
29684
|
afh_subtract_workdays: {
|
|
28811
29685
|
Args: {
|
|
28812
29686
|
_date: string;
|
|
@@ -28822,6 +29696,26 @@ export type Database = {
|
|
|
28822
29696
|
Args: never;
|
|
28823
29697
|
Returns: Json;
|
|
28824
29698
|
};
|
|
29699
|
+
ai_is_admin: {
|
|
29700
|
+
Args: {
|
|
29701
|
+
_uid: string;
|
|
29702
|
+
};
|
|
29703
|
+
Returns: boolean;
|
|
29704
|
+
};
|
|
29705
|
+
ai_register_consumers: {
|
|
29706
|
+
Args: {
|
|
29707
|
+
_full_list?: boolean;
|
|
29708
|
+
_modules: Json;
|
|
29709
|
+
_source?: string;
|
|
29710
|
+
};
|
|
29711
|
+
Returns: Json;
|
|
29712
|
+
};
|
|
29713
|
+
ai_register_runtime_consumer: {
|
|
29714
|
+
Args: {
|
|
29715
|
+
_module_key: string;
|
|
29716
|
+
};
|
|
29717
|
+
Returns: boolean;
|
|
29718
|
+
};
|
|
28825
29719
|
ai_usage_by_module: {
|
|
28826
29720
|
Args: {
|
|
28827
29721
|
_from: string;
|
|
@@ -29887,6 +30781,30 @@ export type Database = {
|
|
|
29887
30781
|
};
|
|
29888
30782
|
Returns: boolean;
|
|
29889
30783
|
};
|
|
30784
|
+
floricode_sync_cron_schedule: {
|
|
30785
|
+
Args: {
|
|
30786
|
+
p_apikey: string;
|
|
30787
|
+
p_schedule: string;
|
|
30788
|
+
p_url: string;
|
|
30789
|
+
};
|
|
30790
|
+
Returns: number;
|
|
30791
|
+
};
|
|
30792
|
+
floricode_sync_cron_set_schedule: {
|
|
30793
|
+
Args: {
|
|
30794
|
+
p_schedule: string;
|
|
30795
|
+
};
|
|
30796
|
+
Returns: boolean;
|
|
30797
|
+
};
|
|
30798
|
+
floricode_sync_cron_status: {
|
|
30799
|
+
Args: never;
|
|
30800
|
+
Returns: {
|
|
30801
|
+
active: boolean;
|
|
30802
|
+
last_run_at: string;
|
|
30803
|
+
last_run_status: string;
|
|
30804
|
+
schedule: string;
|
|
30805
|
+
scheduled: boolean;
|
|
30806
|
+
}[];
|
|
30807
|
+
};
|
|
29890
30808
|
floriday_adopt_connection: {
|
|
29891
30809
|
Args: {
|
|
29892
30810
|
p_new: string;
|
|
@@ -29910,6 +30828,18 @@ export type Database = {
|
|
|
29910
30828
|
Args: never;
|
|
29911
30829
|
Returns: undefined;
|
|
29912
30830
|
};
|
|
30831
|
+
floriday_customer_candidates: {
|
|
30832
|
+
Args: never;
|
|
30833
|
+
Returns: {
|
|
30834
|
+
in_cache: boolean;
|
|
30835
|
+
organization_id: string;
|
|
30836
|
+
reason: string;
|
|
30837
|
+
}[];
|
|
30838
|
+
};
|
|
30839
|
+
floriday_customer_promotion_preview: {
|
|
30840
|
+
Args: never;
|
|
30841
|
+
Returns: Json;
|
|
30842
|
+
};
|
|
29913
30843
|
floriday_default_owner: {
|
|
29914
30844
|
Args: {
|
|
29915
30845
|
p_connection_id: string;
|
|
@@ -29946,16 +30876,70 @@ export type Database = {
|
|
|
29946
30876
|
source_id: string;
|
|
29947
30877
|
}[];
|
|
29948
30878
|
};
|
|
30879
|
+
floriday_eigen_organisatie: {
|
|
30880
|
+
Args: never;
|
|
30881
|
+
Returns: {
|
|
30882
|
+
adres: string;
|
|
30883
|
+
gln: string;
|
|
30884
|
+
land: string;
|
|
30885
|
+
naam: string;
|
|
30886
|
+
opgehaald_op: string;
|
|
30887
|
+
organisatie_id: string;
|
|
30888
|
+
plaats: string;
|
|
30889
|
+
postcode: string;
|
|
30890
|
+
}[];
|
|
30891
|
+
};
|
|
30892
|
+
floriday_erp_leading_preview: {
|
|
30893
|
+
Args: {
|
|
30894
|
+
p_connection_id: string;
|
|
30895
|
+
p_product_ids: string[];
|
|
30896
|
+
p_stock_mode?: string;
|
|
30897
|
+
};
|
|
30898
|
+
Returns: {
|
|
30899
|
+
blocker: string;
|
|
30900
|
+
desired_available: boolean;
|
|
30901
|
+
desired_quantity: number;
|
|
30902
|
+
horizon_weeks: number;
|
|
30903
|
+
offer_forms: Json;
|
|
30904
|
+
product_id: string;
|
|
30905
|
+
product_name: string;
|
|
30906
|
+
sale_price: number;
|
|
30907
|
+
stock_mode: string;
|
|
30908
|
+
trade_item_id: string;
|
|
30909
|
+
weeks: Json;
|
|
30910
|
+
}[];
|
|
30911
|
+
};
|
|
29949
30912
|
floriday_fill_publish_horizon: {
|
|
29950
30913
|
Args: never;
|
|
29951
30914
|
Returns: number;
|
|
29952
30915
|
};
|
|
30916
|
+
floriday_follow_apply: {
|
|
30917
|
+
Args: {
|
|
30918
|
+
p_connection_id: string;
|
|
30919
|
+
p_items: Json;
|
|
30920
|
+
};
|
|
30921
|
+
Returns: Json;
|
|
30922
|
+
};
|
|
29953
30923
|
floriday_ingest_sales_orders: {
|
|
29954
30924
|
Args: {
|
|
29955
30925
|
p_limit?: number;
|
|
29956
30926
|
};
|
|
29957
30927
|
Returns: number;
|
|
29958
30928
|
};
|
|
30929
|
+
floriday_leading_summary: {
|
|
30930
|
+
Args: {
|
|
30931
|
+
p_connection_id: string;
|
|
30932
|
+
};
|
|
30933
|
+
Returns: Json;
|
|
30934
|
+
};
|
|
30935
|
+
floriday_make_erp_leading: {
|
|
30936
|
+
Args: {
|
|
30937
|
+
p_connection_id: string;
|
|
30938
|
+
p_product_ids: string[];
|
|
30939
|
+
p_stock_mode?: string;
|
|
30940
|
+
};
|
|
30941
|
+
Returns: Json;
|
|
30942
|
+
};
|
|
29959
30943
|
floriday_network_status: {
|
|
29960
30944
|
Args: {
|
|
29961
30945
|
p_organization_id: string;
|
|
@@ -29967,6 +30951,12 @@ export type Database = {
|
|
|
29967
30951
|
synced_at: string;
|
|
29968
30952
|
}[];
|
|
29969
30953
|
};
|
|
30954
|
+
floriday_norm_offer_forms: {
|
|
30955
|
+
Args: {
|
|
30956
|
+
p: Json;
|
|
30957
|
+
};
|
|
30958
|
+
Returns: Json;
|
|
30959
|
+
};
|
|
29970
30960
|
floriday_orphan_settings_count: {
|
|
29971
30961
|
Args: never;
|
|
29972
30962
|
Returns: number;
|
|
@@ -29995,10 +30985,34 @@ export type Database = {
|
|
|
29995
30985
|
};
|
|
29996
30986
|
Returns: number;
|
|
29997
30987
|
};
|
|
30988
|
+
floriday_takeover_apply: {
|
|
30989
|
+
Args: {
|
|
30990
|
+
p_connection_id: string;
|
|
30991
|
+
p_items: Json;
|
|
30992
|
+
};
|
|
30993
|
+
Returns: Json;
|
|
30994
|
+
};
|
|
30995
|
+
floriday_takeover_fetch_state: {
|
|
30996
|
+
Args: {
|
|
30997
|
+
p_connection_id: string;
|
|
30998
|
+
p_entity?: string;
|
|
30999
|
+
};
|
|
31000
|
+
Returns: string;
|
|
31001
|
+
};
|
|
31002
|
+
floriday_takeover_undo: {
|
|
31003
|
+
Args: {
|
|
31004
|
+
p_run_id: string;
|
|
31005
|
+
};
|
|
31006
|
+
Returns: Json;
|
|
31007
|
+
};
|
|
29998
31008
|
floriday_today_announce_summary: {
|
|
29999
31009
|
Args: never;
|
|
30000
31010
|
Returns: Json;
|
|
30001
31011
|
};
|
|
31012
|
+
floriday_write_mode: {
|
|
31013
|
+
Args: never;
|
|
31014
|
+
Returns: Json;
|
|
31015
|
+
};
|
|
30002
31016
|
format_cart_number: {
|
|
30003
31017
|
Args: {
|
|
30004
31018
|
p_pick_date: string;
|
|
@@ -30857,6 +31871,25 @@ export type Database = {
|
|
|
30857
31871
|
};
|
|
30858
31872
|
Returns: boolean;
|
|
30859
31873
|
};
|
|
31874
|
+
klanten_auto_promote_status: {
|
|
31875
|
+
Args: never;
|
|
31876
|
+
Returns: Json;
|
|
31877
|
+
};
|
|
31878
|
+
klanten_install_check: {
|
|
31879
|
+
Args: never;
|
|
31880
|
+
Returns: Json;
|
|
31881
|
+
};
|
|
31882
|
+
klanten_promote_round: {
|
|
31883
|
+
Args: never;
|
|
31884
|
+
Returns: Json;
|
|
31885
|
+
};
|
|
31886
|
+
klanten_set_auto_promote: {
|
|
31887
|
+
Args: {
|
|
31888
|
+
p_kind: string;
|
|
31889
|
+
p_on: boolean;
|
|
31890
|
+
};
|
|
31891
|
+
Returns: Json;
|
|
31892
|
+
};
|
|
30860
31893
|
layout_print_document: {
|
|
30861
31894
|
Args: {
|
|
30862
31895
|
_documentnaam: string;
|
|
@@ -30883,6 +31916,18 @@ export type Database = {
|
|
|
30883
31916
|
status: string;
|
|
30884
31917
|
}[];
|
|
30885
31918
|
};
|
|
31919
|
+
layout_standaard_overnemen: {
|
|
31920
|
+
Args: {
|
|
31921
|
+
_layout_id: string;
|
|
31922
|
+
};
|
|
31923
|
+
Returns: Json;
|
|
31924
|
+
};
|
|
31925
|
+
layout_versie_terugzetten: {
|
|
31926
|
+
Args: {
|
|
31927
|
+
_versie_id: string;
|
|
31928
|
+
};
|
|
31929
|
+
Returns: number;
|
|
31930
|
+
};
|
|
30886
31931
|
layout_verwijzing_omzetten: {
|
|
30887
31932
|
Args: {
|
|
30888
31933
|
_nieuw: string;
|
|
@@ -30896,6 +31941,10 @@ export type Database = {
|
|
|
30896
31941
|
Args: never;
|
|
30897
31942
|
Returns: Json;
|
|
30898
31943
|
};
|
|
31944
|
+
layout_zorg_systeemlayouts: {
|
|
31945
|
+
Args: never;
|
|
31946
|
+
Returns: number;
|
|
31947
|
+
};
|
|
30899
31948
|
list_medewerkers: {
|
|
30900
31949
|
Args: never;
|
|
30901
31950
|
Returns: {
|
|
@@ -30987,6 +32036,14 @@ export type Database = {
|
|
|
30987
32036
|
};
|
|
30988
32037
|
Returns: string;
|
|
30989
32038
|
};
|
|
32039
|
+
log_offer_event_by_code: {
|
|
32040
|
+
Args: {
|
|
32041
|
+
p_code: string;
|
|
32042
|
+
p_event_type: string;
|
|
32043
|
+
p_metadata?: Json;
|
|
32044
|
+
};
|
|
32045
|
+
Returns: boolean;
|
|
32046
|
+
};
|
|
30990
32047
|
logistics_active_layout_method: {
|
|
30991
32048
|
Args: never;
|
|
30992
32049
|
Returns: string;
|
|
@@ -31049,6 +32106,12 @@ export type Database = {
|
|
|
31049
32106
|
Args: never;
|
|
31050
32107
|
Returns: undefined;
|
|
31051
32108
|
};
|
|
32109
|
+
logistics_apply_external_fulfillment: {
|
|
32110
|
+
Args: {
|
|
32111
|
+
p_event_id: string;
|
|
32112
|
+
};
|
|
32113
|
+
Returns: string;
|
|
32114
|
+
};
|
|
31052
32115
|
logistics_apply_order_buffer: {
|
|
31053
32116
|
Args: {
|
|
31054
32117
|
p_order_id: string;
|
|
@@ -31199,6 +32262,12 @@ export type Database = {
|
|
|
31199
32262
|
};
|
|
31200
32263
|
Returns: Json;
|
|
31201
32264
|
};
|
|
32265
|
+
logistics_buffer_closed_for_join: {
|
|
32266
|
+
Args: {
|
|
32267
|
+
p_buffer: string;
|
|
32268
|
+
};
|
|
32269
|
+
Returns: boolean;
|
|
32270
|
+
};
|
|
31202
32271
|
logistics_buffer_criteria: {
|
|
31203
32272
|
Args: {
|
|
31204
32273
|
p_settings: Json;
|
|
@@ -31227,6 +32296,12 @@ export type Database = {
|
|
|
31227
32296
|
};
|
|
31228
32297
|
Returns: Json;
|
|
31229
32298
|
};
|
|
32299
|
+
logistics_buffer_frozen: {
|
|
32300
|
+
Args: {
|
|
32301
|
+
p_buffer: string;
|
|
32302
|
+
};
|
|
32303
|
+
Returns: boolean;
|
|
32304
|
+
};
|
|
31230
32305
|
logistics_buffer_frozen_order: {
|
|
31231
32306
|
Args: {
|
|
31232
32307
|
p_order_id: string;
|
|
@@ -31267,6 +32342,12 @@ export type Database = {
|
|
|
31267
32342
|
};
|
|
31268
32343
|
Returns: Json;
|
|
31269
32344
|
};
|
|
32345
|
+
logistics_buffer_target: {
|
|
32346
|
+
Args: {
|
|
32347
|
+
p_order_id: string;
|
|
32348
|
+
};
|
|
32349
|
+
Returns: Json;
|
|
32350
|
+
};
|
|
31270
32351
|
logistics_buffer_value: {
|
|
31271
32352
|
Args: {
|
|
31272
32353
|
p_criterion: string;
|
|
@@ -31286,6 +32367,12 @@ export type Database = {
|
|
|
31286
32367
|
Args: never;
|
|
31287
32368
|
Returns: number;
|
|
31288
32369
|
};
|
|
32370
|
+
logistics_cancel_stale_cart_pick_rows: {
|
|
32371
|
+
Args: {
|
|
32372
|
+
p_order_ids: string[];
|
|
32373
|
+
};
|
|
32374
|
+
Returns: number;
|
|
32375
|
+
};
|
|
31289
32376
|
logistics_capacity_day_check: {
|
|
31290
32377
|
Args: {
|
|
31291
32378
|
p_from?: string;
|
|
@@ -31299,6 +32386,13 @@ export type Database = {
|
|
|
31299
32386
|
};
|
|
31300
32387
|
Returns: Json;
|
|
31301
32388
|
};
|
|
32389
|
+
logistics_carrier_for_location: {
|
|
32390
|
+
Args: {
|
|
32391
|
+
p_customer_id: string;
|
|
32392
|
+
p_location: string;
|
|
32393
|
+
};
|
|
32394
|
+
Returns: string;
|
|
32395
|
+
};
|
|
31302
32396
|
logistics_carrier_minutes: {
|
|
31303
32397
|
Args: {
|
|
31304
32398
|
p_carrier: string;
|
|
@@ -31373,6 +32467,12 @@ export type Database = {
|
|
|
31373
32467
|
};
|
|
31374
32468
|
Returns: boolean;
|
|
31375
32469
|
};
|
|
32470
|
+
logistics_cart_has_packing_slip: {
|
|
32471
|
+
Args: {
|
|
32472
|
+
p_cart_id: string;
|
|
32473
|
+
};
|
|
32474
|
+
Returns: boolean;
|
|
32475
|
+
};
|
|
31376
32476
|
logistics_cart_ids_frozen: {
|
|
31377
32477
|
Args: {
|
|
31378
32478
|
p_cart_ids: string[];
|
|
@@ -31519,6 +32619,12 @@ export type Database = {
|
|
|
31519
32619
|
};
|
|
31520
32620
|
Returns: Json;
|
|
31521
32621
|
};
|
|
32622
|
+
logistics_cart_slip_queued: {
|
|
32623
|
+
Args: {
|
|
32624
|
+
p_cart: string;
|
|
32625
|
+
};
|
|
32626
|
+
Returns: boolean;
|
|
32627
|
+
};
|
|
31522
32628
|
logistics_cart_sticker_state: {
|
|
31523
32629
|
Args: {
|
|
31524
32630
|
p_cart_id: string;
|
|
@@ -31910,6 +33016,25 @@ export type Database = {
|
|
|
31910
33016
|
printed_count: number;
|
|
31911
33017
|
}[];
|
|
31912
33018
|
};
|
|
33019
|
+
logistics_departure_calc: {
|
|
33020
|
+
Args: {
|
|
33021
|
+
p_carrier_id: string;
|
|
33022
|
+
p_delivery_date: string;
|
|
33023
|
+
p_moment_key?: string;
|
|
33024
|
+
p_ref_at: string;
|
|
33025
|
+
};
|
|
33026
|
+
Returns: Json;
|
|
33027
|
+
};
|
|
33028
|
+
logistics_departure_preview: {
|
|
33029
|
+
Args: {
|
|
33030
|
+
p_carrier_id: string;
|
|
33031
|
+
p_delivery_date: string;
|
|
33032
|
+
p_delivery_location: string;
|
|
33033
|
+
p_moment_key?: string;
|
|
33034
|
+
p_own_transport?: boolean;
|
|
33035
|
+
};
|
|
33036
|
+
Returns: Json;
|
|
33037
|
+
};
|
|
31913
33038
|
logistics_document_layout: {
|
|
31914
33039
|
Args: {
|
|
31915
33040
|
_document_code: string;
|
|
@@ -31993,6 +33118,10 @@ export type Database = {
|
|
|
31993
33118
|
};
|
|
31994
33119
|
Returns: Json;
|
|
31995
33120
|
};
|
|
33121
|
+
logistics_ensure_runtime_defaults: {
|
|
33122
|
+
Args: never;
|
|
33123
|
+
Returns: undefined;
|
|
33124
|
+
};
|
|
31996
33125
|
logistics_ensure_shipping_notes: {
|
|
31997
33126
|
Args: {
|
|
31998
33127
|
p_limit?: number;
|
|
@@ -32013,6 +33142,17 @@ export type Database = {
|
|
|
32013
33142
|
ref: string;
|
|
32014
33143
|
}[];
|
|
32015
33144
|
};
|
|
33145
|
+
logistics_external_fulfillment_key_report: {
|
|
33146
|
+
Args: never;
|
|
33147
|
+
Returns: {
|
|
33148
|
+
ander_nummer: number;
|
|
33149
|
+
floriday_sales_order_id: string;
|
|
33150
|
+
order_id: string;
|
|
33151
|
+
order_number: string;
|
|
33152
|
+
regels: number;
|
|
33153
|
+
zonder_nummer: number;
|
|
33154
|
+
}[];
|
|
33155
|
+
};
|
|
32016
33156
|
logistics_fail_task: {
|
|
32017
33157
|
Args: {
|
|
32018
33158
|
p_error: string;
|
|
@@ -32058,6 +33198,10 @@ export type Database = {
|
|
|
32058
33198
|
isSetofReturn: false;
|
|
32059
33199
|
};
|
|
32060
33200
|
};
|
|
33201
|
+
logistics_fill_cart_departure: {
|
|
33202
|
+
Args: never;
|
|
33203
|
+
Returns: number;
|
|
33204
|
+
};
|
|
32061
33205
|
logistics_fix_wrong_shipping_notes: {
|
|
32062
33206
|
Args: never;
|
|
32063
33207
|
Returns: Json;
|
|
@@ -32146,6 +33290,10 @@ export type Database = {
|
|
|
32146
33290
|
Args: never;
|
|
32147
33291
|
Returns: Json;
|
|
32148
33292
|
};
|
|
33293
|
+
logistics_floriday_is_read_only: {
|
|
33294
|
+
Args: never;
|
|
33295
|
+
Returns: boolean;
|
|
33296
|
+
};
|
|
32149
33297
|
logistics_floriday_layout_id: {
|
|
32150
33298
|
Args: {
|
|
32151
33299
|
p_documenttype: string;
|
|
@@ -32186,6 +33334,13 @@ export type Database = {
|
|
|
32186
33334
|
};
|
|
32187
33335
|
Returns: number;
|
|
32188
33336
|
};
|
|
33337
|
+
logistics_floriday_push_hold_read_only: {
|
|
33338
|
+
Args: {
|
|
33339
|
+
_id: string;
|
|
33340
|
+
_revision: number;
|
|
33341
|
+
};
|
|
33342
|
+
Returns: string;
|
|
33343
|
+
};
|
|
32189
33344
|
logistics_floriday_queue_push: {
|
|
32190
33345
|
Args: {
|
|
32191
33346
|
_order_ref: string;
|
|
@@ -32194,6 +33349,10 @@ export type Database = {
|
|
|
32194
33349
|
};
|
|
32195
33350
|
Returns: string;
|
|
32196
33351
|
};
|
|
33352
|
+
logistics_floriday_release_read_only: {
|
|
33353
|
+
Args: never;
|
|
33354
|
+
Returns: Json;
|
|
33355
|
+
};
|
|
32197
33356
|
logistics_floriday_status_updates_enabled: {
|
|
32198
33357
|
Args: never;
|
|
32199
33358
|
Returns: boolean;
|
|
@@ -32257,6 +33416,13 @@ export type Database = {
|
|
|
32257
33416
|
};
|
|
32258
33417
|
Returns: boolean;
|
|
32259
33418
|
};
|
|
33419
|
+
logistics_item_external_fulfilled: {
|
|
33420
|
+
Args: {
|
|
33421
|
+
p_order_id: string;
|
|
33422
|
+
p_source_line_key: string;
|
|
33423
|
+
};
|
|
33424
|
+
Returns: boolean;
|
|
33425
|
+
};
|
|
32260
33426
|
logistics_key_product: {
|
|
32261
33427
|
Args: {
|
|
32262
33428
|
p_key: string;
|
|
@@ -32338,6 +33504,19 @@ export type Database = {
|
|
|
32338
33504
|
};
|
|
32339
33505
|
Returns: string;
|
|
32340
33506
|
};
|
|
33507
|
+
logistics_nl_date: {
|
|
33508
|
+
Args: {
|
|
33509
|
+
p_day: string;
|
|
33510
|
+
};
|
|
33511
|
+
Returns: string;
|
|
33512
|
+
};
|
|
33513
|
+
logistics_nl_moment: {
|
|
33514
|
+
Args: {
|
|
33515
|
+
p_at: string;
|
|
33516
|
+
p_tz: string;
|
|
33517
|
+
};
|
|
33518
|
+
Returns: string;
|
|
33519
|
+
};
|
|
32341
33520
|
logistics_normalize_product_label: {
|
|
32342
33521
|
Args: {
|
|
32343
33522
|
p_label: string;
|
|
@@ -32430,6 +33609,21 @@ export type Database = {
|
|
|
32430
33609
|
};
|
|
32431
33610
|
Returns: Json;
|
|
32432
33611
|
};
|
|
33612
|
+
logistics_order_departure_list: {
|
|
33613
|
+
Args: {
|
|
33614
|
+
p_order_ids: string[];
|
|
33615
|
+
};
|
|
33616
|
+
Returns: {
|
|
33617
|
+
carrierId: string;
|
|
33618
|
+
departureAt: string;
|
|
33619
|
+
lateSignup: boolean;
|
|
33620
|
+
momentKey: string;
|
|
33621
|
+
ok: boolean;
|
|
33622
|
+
order_id: string;
|
|
33623
|
+
reason: string;
|
|
33624
|
+
signupDeadline: string;
|
|
33625
|
+
}[];
|
|
33626
|
+
};
|
|
32433
33627
|
logistics_order_documents_ready: {
|
|
32434
33628
|
Args: {
|
|
32435
33629
|
p_order_ref: string;
|
|
@@ -32442,6 +33636,12 @@ export type Database = {
|
|
|
32442
33636
|
};
|
|
32443
33637
|
Returns: boolean;
|
|
32444
33638
|
};
|
|
33639
|
+
logistics_order_external_state: {
|
|
33640
|
+
Args: {
|
|
33641
|
+
p_order_id: string;
|
|
33642
|
+
};
|
|
33643
|
+
Returns: Json;
|
|
33644
|
+
};
|
|
32445
33645
|
logistics_order_finalize_enqueue: {
|
|
32446
33646
|
Args: {
|
|
32447
33647
|
p_order_id: string;
|
|
@@ -32522,6 +33722,12 @@ export type Database = {
|
|
|
32522
33722
|
};
|
|
32523
33723
|
Returns: boolean;
|
|
32524
33724
|
};
|
|
33725
|
+
logistics_order_is_shipped_status: {
|
|
33726
|
+
Args: {
|
|
33727
|
+
p_status: string;
|
|
33728
|
+
};
|
|
33729
|
+
Returns: boolean;
|
|
33730
|
+
};
|
|
32525
33731
|
logistics_order_is_topick: {
|
|
32526
33732
|
Args: {
|
|
32527
33733
|
p_order_id: string;
|
|
@@ -32634,6 +33840,12 @@ export type Database = {
|
|
|
32634
33840
|
state: string;
|
|
32635
33841
|
}[];
|
|
32636
33842
|
};
|
|
33843
|
+
logistics_order_plan_coverage_v165: {
|
|
33844
|
+
Args: {
|
|
33845
|
+
p_order_id: string;
|
|
33846
|
+
};
|
|
33847
|
+
Returns: Json;
|
|
33848
|
+
};
|
|
32637
33849
|
logistics_order_released: {
|
|
32638
33850
|
Args: {
|
|
32639
33851
|
p_order_ref: string;
|
|
@@ -32654,6 +33866,13 @@ export type Database = {
|
|
|
32654
33866
|
Args: never;
|
|
32655
33867
|
Returns: Json;
|
|
32656
33868
|
};
|
|
33869
|
+
logistics_own_transport_departure: {
|
|
33870
|
+
Args: {
|
|
33871
|
+
p_delivery_date: string;
|
|
33872
|
+
p_pickup_at: string;
|
|
33873
|
+
};
|
|
33874
|
+
Returns: Json;
|
|
33875
|
+
};
|
|
32657
33876
|
logistics_packing_autofix: {
|
|
32658
33877
|
Args: {
|
|
32659
33878
|
p_limit?: number;
|
|
@@ -33128,6 +34347,12 @@ export type Database = {
|
|
|
33128
34347
|
Args: never;
|
|
33129
34348
|
Returns: number;
|
|
33130
34349
|
};
|
|
34350
|
+
logistics_rebuffer_candidates: {
|
|
34351
|
+
Args: never;
|
|
34352
|
+
Returns: {
|
|
34353
|
+
order_id: string;
|
|
34354
|
+
}[];
|
|
34355
|
+
};
|
|
33131
34356
|
logistics_rebuffer_open_orders: {
|
|
33132
34357
|
Args: {
|
|
33133
34358
|
p_strategy_id?: string;
|
|
@@ -33144,6 +34369,23 @@ export type Database = {
|
|
|
33144
34369
|
Args: never;
|
|
33145
34370
|
Returns: Json;
|
|
33146
34371
|
};
|
|
34372
|
+
logistics_rebuffer_report: {
|
|
34373
|
+
Args: never;
|
|
34374
|
+
Returns: Json;
|
|
34375
|
+
};
|
|
34376
|
+
logistics_rebuffer_simulate_open: {
|
|
34377
|
+
Args: never;
|
|
34378
|
+
Returns: {
|
|
34379
|
+
buffer_id: string;
|
|
34380
|
+
changed: boolean;
|
|
34381
|
+
cur_label: string;
|
|
34382
|
+
delivery_date: string;
|
|
34383
|
+
id: string;
|
|
34384
|
+
new_label: string;
|
|
34385
|
+
order_number: string;
|
|
34386
|
+
reason: string;
|
|
34387
|
+
}[];
|
|
34388
|
+
};
|
|
33147
34389
|
logistics_recalc_tick_kick: {
|
|
33148
34390
|
Args: never;
|
|
33149
34391
|
Returns: number;
|
|
@@ -33176,6 +34418,12 @@ export type Database = {
|
|
|
33176
34418
|
};
|
|
33177
34419
|
Returns: Json;
|
|
33178
34420
|
};
|
|
34421
|
+
logistics_register_tick_apikey: {
|
|
34422
|
+
Args: {
|
|
34423
|
+
p_key: string;
|
|
34424
|
+
};
|
|
34425
|
+
Returns: Json;
|
|
34426
|
+
};
|
|
33179
34427
|
logistics_replan_all: {
|
|
33180
34428
|
Args: {
|
|
33181
34429
|
p_reason?: string;
|
|
@@ -33382,6 +34630,13 @@ export type Database = {
|
|
|
33382
34630
|
};
|
|
33383
34631
|
Returns: Json;
|
|
33384
34632
|
};
|
|
34633
|
+
logistics_sales_order_external_fulfilled: {
|
|
34634
|
+
Args: {
|
|
34635
|
+
p_order_id: string;
|
|
34636
|
+
p_sales_order_id: string;
|
|
34637
|
+
};
|
|
34638
|
+
Returns: boolean;
|
|
34639
|
+
};
|
|
33385
34640
|
logistics_scan_delays: {
|
|
33386
34641
|
Args: never;
|
|
33387
34642
|
Returns: number;
|
|
@@ -33440,6 +34695,10 @@ export type Database = {
|
|
|
33440
34695
|
peer_order_id: string;
|
|
33441
34696
|
}[];
|
|
33442
34697
|
};
|
|
34698
|
+
logistics_shell_base_url: {
|
|
34699
|
+
Args: never;
|
|
34700
|
+
Returns: string;
|
|
34701
|
+
};
|
|
33443
34702
|
logistics_shift_to_workday: {
|
|
33444
34703
|
Args: {
|
|
33445
34704
|
p_days: string[];
|
|
@@ -33519,6 +34778,12 @@ export type Database = {
|
|
|
33519
34778
|
};
|
|
33520
34779
|
Returns: boolean;
|
|
33521
34780
|
};
|
|
34781
|
+
logistics_slip_is_herprint: {
|
|
34782
|
+
Args: {
|
|
34783
|
+
p_slip_job_id: string;
|
|
34784
|
+
};
|
|
34785
|
+
Returns: boolean;
|
|
34786
|
+
};
|
|
33522
34787
|
logistics_slip_note_claim: {
|
|
33523
34788
|
Args: {
|
|
33524
34789
|
_lease_seconds?: number;
|
|
@@ -33592,6 +34857,12 @@ export type Database = {
|
|
|
33592
34857
|
};
|
|
33593
34858
|
Returns: undefined;
|
|
33594
34859
|
};
|
|
34860
|
+
logistics_slip_note_hold_read_only: {
|
|
34861
|
+
Args: {
|
|
34862
|
+
_id: string;
|
|
34863
|
+
};
|
|
34864
|
+
Returns: undefined;
|
|
34865
|
+
};
|
|
33595
34866
|
logistics_slip_note_keep_waiting: {
|
|
33596
34867
|
Args: {
|
|
33597
34868
|
_class?: string;
|
|
@@ -33610,12 +34881,22 @@ export type Database = {
|
|
|
33610
34881
|
};
|
|
33611
34882
|
Returns: Json;
|
|
33612
34883
|
};
|
|
34884
|
+
logistics_slip_note_skip_herprint: {
|
|
34885
|
+
Args: {
|
|
34886
|
+
_id: string;
|
|
34887
|
+
};
|
|
34888
|
+
Returns: undefined;
|
|
34889
|
+
};
|
|
33613
34890
|
logistics_status_after_shipping: {
|
|
33614
34891
|
Args: {
|
|
33615
34892
|
p_status: string;
|
|
33616
34893
|
};
|
|
33617
34894
|
Returns: boolean;
|
|
33618
34895
|
};
|
|
34896
|
+
logistics_sticker_blocked_list: {
|
|
34897
|
+
Args: never;
|
|
34898
|
+
Returns: Json;
|
|
34899
|
+
};
|
|
33619
34900
|
logistics_sticker_cart_plek: {
|
|
33620
34901
|
Args: {
|
|
33621
34902
|
_cart: string;
|
|
@@ -33623,6 +34904,26 @@ export type Database = {
|
|
|
33623
34904
|
};
|
|
33624
34905
|
Returns: string;
|
|
33625
34906
|
};
|
|
34907
|
+
logistics_sticker_distribution: {
|
|
34908
|
+
Args: {
|
|
34909
|
+
p_copies: number;
|
|
34910
|
+
p_order: string;
|
|
34911
|
+
p_trade_item: string;
|
|
34912
|
+
p_type: string;
|
|
34913
|
+
};
|
|
34914
|
+
Returns: {
|
|
34915
|
+
cart_id: string;
|
|
34916
|
+
crates: number;
|
|
34917
|
+
kopieen: number;
|
|
34918
|
+
pieces: number;
|
|
34919
|
+
}[];
|
|
34920
|
+
};
|
|
34921
|
+
logistics_sticker_external_fulfilled: {
|
|
34922
|
+
Args: {
|
|
34923
|
+
p_sticker_print_id: string;
|
|
34924
|
+
};
|
|
34925
|
+
Returns: boolean;
|
|
34926
|
+
};
|
|
33626
34927
|
logistics_sticker_follows_slip: {
|
|
33627
34928
|
Args: never;
|
|
33628
34929
|
Returns: boolean;
|
|
@@ -33700,12 +35001,24 @@ export type Database = {
|
|
|
33700
35001
|
Args: never;
|
|
33701
35002
|
Returns: Json;
|
|
33702
35003
|
};
|
|
35004
|
+
logistics_sync_stock_alert_email_status: {
|
|
35005
|
+
Args: {
|
|
35006
|
+
p_limit?: number;
|
|
35007
|
+
};
|
|
35008
|
+
Returns: Json;
|
|
35009
|
+
};
|
|
33703
35010
|
logistics_sync_task_carriers: {
|
|
33704
35011
|
Args: {
|
|
33705
35012
|
p_order_ref?: string;
|
|
33706
35013
|
};
|
|
33707
35014
|
Returns: number;
|
|
33708
35015
|
};
|
|
35016
|
+
logistics_sync_task_status: {
|
|
35017
|
+
Args: {
|
|
35018
|
+
p_order_ref?: string;
|
|
35019
|
+
};
|
|
35020
|
+
Returns: number;
|
|
35021
|
+
};
|
|
33709
35022
|
logistics_task_open_counts: {
|
|
33710
35023
|
Args: never;
|
|
33711
35024
|
Returns: {
|
|
@@ -33756,6 +35069,10 @@ export type Database = {
|
|
|
33756
35069
|
Args: never;
|
|
33757
35070
|
Returns: string;
|
|
33758
35071
|
};
|
|
35072
|
+
logistics_tick_runs_prune: {
|
|
35073
|
+
Args: never;
|
|
35074
|
+
Returns: number;
|
|
35075
|
+
};
|
|
33759
35076
|
logistics_timezone_options: {
|
|
33760
35077
|
Args: never;
|
|
33761
35078
|
Returns: {
|
|
@@ -33931,6 +35248,12 @@ export type Database = {
|
|
|
33931
35248
|
};
|
|
33932
35249
|
Returns: Json;
|
|
33933
35250
|
};
|
|
35251
|
+
logistics_try_uuid: {
|
|
35252
|
+
Args: {
|
|
35253
|
+
p: string;
|
|
35254
|
+
};
|
|
35255
|
+
Returns: string;
|
|
35256
|
+
};
|
|
33934
35257
|
logistics_tz: {
|
|
33935
35258
|
Args: never;
|
|
33936
35259
|
Returns: string;
|
|
@@ -33972,6 +35295,12 @@ export type Database = {
|
|
|
33972
35295
|
};
|
|
33973
35296
|
Returns: boolean;
|
|
33974
35297
|
};
|
|
35298
|
+
logistics_verkoop_order_link: {
|
|
35299
|
+
Args: {
|
|
35300
|
+
p_order_id: string;
|
|
35301
|
+
};
|
|
35302
|
+
Returns: string;
|
|
35303
|
+
};
|
|
33975
35304
|
logistics_working_hours_status: {
|
|
33976
35305
|
Args: never;
|
|
33977
35306
|
Returns: Json;
|
|
@@ -33988,6 +35317,14 @@ export type Database = {
|
|
|
33988
35317
|
};
|
|
33989
35318
|
Returns: number;
|
|
33990
35319
|
};
|
|
35320
|
+
mailbox_claim_analysis: {
|
|
35321
|
+
Args: {
|
|
35322
|
+
p_force?: boolean;
|
|
35323
|
+
p_message_id: string;
|
|
35324
|
+
p_trigger?: string;
|
|
35325
|
+
};
|
|
35326
|
+
Returns: Json;
|
|
35327
|
+
};
|
|
33991
35328
|
mark_offer_clicked: {
|
|
33992
35329
|
Args: {
|
|
33993
35330
|
p_code: string;
|
|
@@ -34877,6 +36214,12 @@ export type Database = {
|
|
|
34877
36214
|
};
|
|
34878
36215
|
Returns: string;
|
|
34879
36216
|
};
|
|
36217
|
+
pick_sticker_past_controle: {
|
|
36218
|
+
Args: {
|
|
36219
|
+
p_cart_id: string;
|
|
36220
|
+
};
|
|
36221
|
+
Returns: Json;
|
|
36222
|
+
};
|
|
34880
36223
|
pick_sync_pick_day: {
|
|
34881
36224
|
Args: {
|
|
34882
36225
|
_day: string;
|
|
@@ -34956,6 +36299,21 @@ export type Database = {
|
|
|
34956
36299
|
};
|
|
34957
36300
|
Returns: undefined;
|
|
34958
36301
|
};
|
|
36302
|
+
pickstation_sticker_past_controle: {
|
|
36303
|
+
Args: {
|
|
36304
|
+
p_cart_id: string;
|
|
36305
|
+
p_slug: string;
|
|
36306
|
+
};
|
|
36307
|
+
Returns: Json;
|
|
36308
|
+
};
|
|
36309
|
+
pickstation_sticker_reprint: {
|
|
36310
|
+
Args: {
|
|
36311
|
+
p_cart_id: string;
|
|
36312
|
+
p_reden?: string;
|
|
36313
|
+
p_slug: string;
|
|
36314
|
+
};
|
|
36315
|
+
Returns: Json;
|
|
36316
|
+
};
|
|
34959
36317
|
plan_standby_batch: {
|
|
34960
36318
|
Args: {
|
|
34961
36319
|
_items: Json;
|
|
@@ -35108,6 +36466,14 @@ export type Database = {
|
|
|
35108
36466
|
status: string;
|
|
35109
36467
|
}[];
|
|
35110
36468
|
};
|
|
36469
|
+
print_kopieen_aantal: {
|
|
36470
|
+
Args: {
|
|
36471
|
+
_kopieen: number;
|
|
36472
|
+
_payload: Json;
|
|
36473
|
+
_type: string;
|
|
36474
|
+
};
|
|
36475
|
+
Returns: number;
|
|
36476
|
+
};
|
|
35111
36477
|
print_preview_toestaan: {
|
|
35112
36478
|
Args: {
|
|
35113
36479
|
_max?: number;
|
|
@@ -35150,6 +36516,20 @@ export type Database = {
|
|
|
35150
36516
|
};
|
|
35151
36517
|
Returns: Json;
|
|
35152
36518
|
};
|
|
36519
|
+
printer_herstel_uitvoeren: {
|
|
36520
|
+
Args: {
|
|
36521
|
+
_plek: string;
|
|
36522
|
+
_printer: string;
|
|
36523
|
+
};
|
|
36524
|
+
Returns: number;
|
|
36525
|
+
};
|
|
36526
|
+
printer_herstel_voorstel: {
|
|
36527
|
+
Args: {
|
|
36528
|
+
_plek: string;
|
|
36529
|
+
_printer: string;
|
|
36530
|
+
};
|
|
36531
|
+
Returns: number;
|
|
36532
|
+
};
|
|
35153
36533
|
printer_routering: {
|
|
35154
36534
|
Args: {
|
|
35155
36535
|
_documenttype: string;
|
|
@@ -35161,6 +36541,13 @@ export type Database = {
|
|
|
35161
36541
|
};
|
|
35162
36542
|
Returns: Json;
|
|
35163
36543
|
};
|
|
36544
|
+
printer_verwijder_verwijzingen: {
|
|
36545
|
+
Args: {
|
|
36546
|
+
_plek: string;
|
|
36547
|
+
_printer: string;
|
|
36548
|
+
};
|
|
36549
|
+
Returns: Json;
|
|
36550
|
+
};
|
|
35164
36551
|
printplek_printer: {
|
|
35165
36552
|
Args: {
|
|
35166
36553
|
_documenttype: string;
|
|
@@ -35268,6 +36655,60 @@ export type Database = {
|
|
|
35268
36655
|
};
|
|
35269
36656
|
Returns: string;
|
|
35270
36657
|
};
|
|
36658
|
+
productontwerp_can_write: {
|
|
36659
|
+
Args: never;
|
|
36660
|
+
Returns: boolean;
|
|
36661
|
+
};
|
|
36662
|
+
productontwerp_create_missing_products: {
|
|
36663
|
+
Args: {
|
|
36664
|
+
p_items: Json;
|
|
36665
|
+
p_run_id: string;
|
|
36666
|
+
};
|
|
36667
|
+
Returns: Json;
|
|
36668
|
+
};
|
|
36669
|
+
productontwerp_export: {
|
|
36670
|
+
Args: never;
|
|
36671
|
+
Returns: Json;
|
|
36672
|
+
};
|
|
36673
|
+
productontwerp_import: {
|
|
36674
|
+
Args: {
|
|
36675
|
+
p_dry_run: boolean;
|
|
36676
|
+
p_payload: Json;
|
|
36677
|
+
};
|
|
36678
|
+
Returns: Json;
|
|
36679
|
+
};
|
|
36680
|
+
productontwerp_nl_error: {
|
|
36681
|
+
Args: {
|
|
36682
|
+
p_detail: string;
|
|
36683
|
+
p_msg: string;
|
|
36684
|
+
p_state: string;
|
|
36685
|
+
};
|
|
36686
|
+
Returns: string;
|
|
36687
|
+
};
|
|
36688
|
+
productontwerp_product_ref: {
|
|
36689
|
+
Args: {
|
|
36690
|
+
p_id: string;
|
|
36691
|
+
};
|
|
36692
|
+
Returns: Json;
|
|
36693
|
+
};
|
|
36694
|
+
productontwerp_queue_count: {
|
|
36695
|
+
Args: never;
|
|
36696
|
+
Returns: number;
|
|
36697
|
+
};
|
|
36698
|
+
productontwerp_rollback_created_products: {
|
|
36699
|
+
Args: {
|
|
36700
|
+
p_run_id: string;
|
|
36701
|
+
};
|
|
36702
|
+
Returns: Json;
|
|
36703
|
+
};
|
|
36704
|
+
productontwerp_unique_group_name: {
|
|
36705
|
+
Args: {
|
|
36706
|
+
p_article: string;
|
|
36707
|
+
p_base: string;
|
|
36708
|
+
p_used: string[];
|
|
36709
|
+
};
|
|
36710
|
+
Returns: string;
|
|
36711
|
+
};
|
|
35271
36712
|
promote_floriday_customer: {
|
|
35272
36713
|
Args: {
|
|
35273
36714
|
_org_id: string;
|
|
@@ -35433,6 +36874,13 @@ export type Database = {
|
|
|
35433
36874
|
};
|
|
35434
36875
|
Returns: undefined;
|
|
35435
36876
|
};
|
|
36877
|
+
record_offer_order_failure: {
|
|
36878
|
+
Args: {
|
|
36879
|
+
p_error: string;
|
|
36880
|
+
p_offer_order_id: string;
|
|
36881
|
+
};
|
|
36882
|
+
Returns: undefined;
|
|
36883
|
+
};
|
|
35436
36884
|
refresh_external_customers_grouped: {
|
|
35437
36885
|
Args: never;
|
|
35438
36886
|
Returns: undefined;
|
|
@@ -35569,6 +37017,10 @@ export type Database = {
|
|
|
35569
37017
|
};
|
|
35570
37018
|
Returns: string;
|
|
35571
37019
|
};
|
|
37020
|
+
retry_offer_orders: {
|
|
37021
|
+
Args: never;
|
|
37022
|
+
Returns: number;
|
|
37023
|
+
};
|
|
35572
37024
|
retry_twinfield_push: {
|
|
35573
37025
|
Args: {
|
|
35574
37026
|
_customer_id: string;
|
|
@@ -35608,6 +37060,10 @@ export type Database = {
|
|
|
35608
37060
|
Args: never;
|
|
35609
37061
|
Returns: undefined;
|
|
35610
37062
|
};
|
|
37063
|
+
run_floriday_follow: {
|
|
37064
|
+
Args: never;
|
|
37065
|
+
Returns: undefined;
|
|
37066
|
+
};
|
|
35611
37067
|
run_floriday_stock_queue_process: {
|
|
35612
37068
|
Args: never;
|
|
35613
37069
|
Returns: undefined;
|
|
@@ -35698,6 +37154,7 @@ export type Database = {
|
|
|
35698
37154
|
scan_eindcontrole: {
|
|
35699
37155
|
Args: {
|
|
35700
37156
|
p_barcode: string;
|
|
37157
|
+
p_bevestig_niet_geprint?: boolean;
|
|
35701
37158
|
p_scanner_id?: string;
|
|
35702
37159
|
};
|
|
35703
37160
|
Returns: Json;
|
|
@@ -35721,6 +37178,18 @@ export type Database = {
|
|
|
35721
37178
|
};
|
|
35722
37179
|
Returns: Json;
|
|
35723
37180
|
};
|
|
37181
|
+
scan_kar_logs: {
|
|
37182
|
+
Args: {
|
|
37183
|
+
p_cart_ids: string[];
|
|
37184
|
+
};
|
|
37185
|
+
Returns: {
|
|
37186
|
+
created_at: string;
|
|
37187
|
+
kar_id: string;
|
|
37188
|
+
medewerker_naam: string;
|
|
37189
|
+
message: string;
|
|
37190
|
+
result: string;
|
|
37191
|
+
}[];
|
|
37192
|
+
};
|
|
35724
37193
|
scan_kar_regels: {
|
|
35725
37194
|
Args: {
|
|
35726
37195
|
p_cart_id: string;
|
|
@@ -35738,6 +37207,7 @@ export type Database = {
|
|
|
35738
37207
|
scan_log_code: {
|
|
35739
37208
|
Args: {
|
|
35740
37209
|
p_code: string;
|
|
37210
|
+
p_kar_id?: string;
|
|
35741
37211
|
p_latency_ms?: number;
|
|
35742
37212
|
p_medewerker?: string;
|
|
35743
37213
|
p_message?: string;
|
|
@@ -35972,6 +37442,13 @@ export type Database = {
|
|
|
35972
37442
|
};
|
|
35973
37443
|
Returns: number;
|
|
35974
37444
|
};
|
|
37445
|
+
schedule_floriday_customer_offers_sync: {
|
|
37446
|
+
Args: {
|
|
37447
|
+
p_apikey: string;
|
|
37448
|
+
p_url: string;
|
|
37449
|
+
};
|
|
37450
|
+
Returns: number;
|
|
37451
|
+
};
|
|
35975
37452
|
schedule_floriday_customer_organizations_sync: {
|
|
35976
37453
|
Args: {
|
|
35977
37454
|
p_apikey: string;
|
|
@@ -36177,6 +37654,12 @@ export type Database = {
|
|
|
36177
37654
|
};
|
|
36178
37655
|
Returns: undefined;
|
|
36179
37656
|
};
|
|
37657
|
+
set_primary_delivery_location: {
|
|
37658
|
+
Args: {
|
|
37659
|
+
p_location_id: string;
|
|
37660
|
+
};
|
|
37661
|
+
Returns: undefined;
|
|
37662
|
+
};
|
|
36180
37663
|
set_product_stock: {
|
|
36181
37664
|
Args: {
|
|
36182
37665
|
p_incoming_stock?: number;
|
|
@@ -36238,6 +37721,13 @@ export type Database = {
|
|
|
36238
37721
|
};
|
|
36239
37722
|
Returns: Json;
|
|
36240
37723
|
};
|
|
37724
|
+
sticker_past_controle: {
|
|
37725
|
+
Args: {
|
|
37726
|
+
_print_plek_id?: string;
|
|
37727
|
+
_sticker_ids: string[];
|
|
37728
|
+
};
|
|
37729
|
+
Returns: Json;
|
|
37730
|
+
};
|
|
36241
37731
|
stock_import_cleanup: {
|
|
36242
37732
|
Args: never;
|
|
36243
37733
|
Returns: number;
|
|
@@ -37018,6 +38508,24 @@ export type Database = {
|
|
|
37018
38508
|
};
|
|
37019
38509
|
Returns: number;
|
|
37020
38510
|
};
|
|
38511
|
+
verkoop_create_order: {
|
|
38512
|
+
Args: {
|
|
38513
|
+
p_accept_late_signup?: boolean;
|
|
38514
|
+
p_accepted_by?: string;
|
|
38515
|
+
p_carrier_id: string;
|
|
38516
|
+
p_customer_id: string;
|
|
38517
|
+
p_customer_reference?: string;
|
|
38518
|
+
p_delivery_date: string;
|
|
38519
|
+
p_delivery_location_id: string;
|
|
38520
|
+
p_lines: Json;
|
|
38521
|
+
p_moment_key?: string;
|
|
38522
|
+
p_notes?: string;
|
|
38523
|
+
p_own_transport?: boolean;
|
|
38524
|
+
p_source: string;
|
|
38525
|
+
p_source_id: string;
|
|
38526
|
+
};
|
|
38527
|
+
Returns: Json;
|
|
38528
|
+
};
|
|
37021
38529
|
vervang_printer: {
|
|
37022
38530
|
Args: {
|
|
37023
38531
|
_nieuw: string;
|
|
@@ -37039,6 +38547,20 @@ export type Database = {
|
|
|
37039
38547
|
Args: never;
|
|
37040
38548
|
Returns: Json;
|
|
37041
38549
|
};
|
|
38550
|
+
voorraad_consume_external_fulfilled: {
|
|
38551
|
+
Args: {
|
|
38552
|
+
p_ids: string[];
|
|
38553
|
+
p_order_id: string;
|
|
38554
|
+
p_source: string;
|
|
38555
|
+
};
|
|
38556
|
+
Returns: number;
|
|
38557
|
+
};
|
|
38558
|
+
voorraad_external_fulfilled_ids: {
|
|
38559
|
+
Args: {
|
|
38560
|
+
p_cf: Json;
|
|
38561
|
+
};
|
|
38562
|
+
Returns: string[];
|
|
38563
|
+
};
|
|
37042
38564
|
voorraad_hook_base_url: {
|
|
37043
38565
|
Args: never;
|
|
37044
38566
|
Returns: string;
|
|
@@ -37060,6 +38582,13 @@ export type Database = {
|
|
|
37060
38582
|
Args: never;
|
|
37061
38583
|
Returns: boolean;
|
|
37062
38584
|
};
|
|
38585
|
+
voorraad_schema_ddl: {
|
|
38586
|
+
Args: {
|
|
38587
|
+
p_functions: string[];
|
|
38588
|
+
p_tables: string[];
|
|
38589
|
+
};
|
|
38590
|
+
Returns: string;
|
|
38591
|
+
};
|
|
37063
38592
|
voorraad_week_is_past: {
|
|
37064
38593
|
Args: {
|
|
37065
38594
|
p_week: number;
|