@flowselections/floriday-voorraad 1.0.41 → 1.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.js +15 -11
- package/dist-lib/components/voorraad/OrderHistoryCard.js +2 -2
- package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts +7 -0
- package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts.map +1 -0
- package/dist-lib/components/voorraad/StockMutationHistoryCard.js +134 -0
- package/dist-lib/components/voorraad/StockPushMonitor.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockPushMonitor.js +90 -12
- package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadPage.js +1 -1
- package/dist-lib/hooks/useFloriday.d.ts.map +1 -1
- package/dist-lib/hooks/useFloriday.js +5 -2
- package/dist-lib/hooks/useStockPushJobs.d.ts +2 -0
- package/dist-lib/hooks/useStockPushJobs.d.ts.map +1 -1
- package/dist-lib/hooks/useStockPushJobs.js +18 -5
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1001 -15
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +1001 -15
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1001 -15
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1001 -10
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +1001 -15
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-2026v1.server.d.ts +1 -1
- package/dist-lib/lib/floriday-2026v1.server.d.ts.map +1 -1
- package/dist-lib/lib/floriday-2026v1.server.js +10 -0
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +1001 -15
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-env.functions.d.ts +1972 -0
- package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +5916 -0
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.server.d.ts +7 -1
- package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.server.js +50 -3
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts +1972 -0
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +2958 -0
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-write-gate.server.d.ts +60 -0
- package/dist-lib/lib/floriday-write-gate.server.d.ts.map +1 -0
- package/dist-lib/lib/floriday-write-gate.server.js +196 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts +1972 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/inventory-settings.functions.d.ts +1972 -0
- package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/module-health.functions.d.ts +1092 -0
- package/dist-lib/lib/module-health.functions.d.ts.map +1 -1
- package/dist-lib/lib/stock-sync.functions.d.ts +1972 -0
- package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2272,6 +2272,45 @@ export type Database = {
|
|
|
2272
2272
|
};
|
|
2273
2273
|
Relationships: [];
|
|
2274
2274
|
};
|
|
2275
|
+
customer_product_stickers: {
|
|
2276
|
+
Row: {
|
|
2277
|
+
created_at: string;
|
|
2278
|
+
customer_key: string;
|
|
2279
|
+
file_name: string;
|
|
2280
|
+
file_path: string;
|
|
2281
|
+
file_size: number | null;
|
|
2282
|
+
id: string;
|
|
2283
|
+
mime_type: string | null;
|
|
2284
|
+
trade_item_key: string;
|
|
2285
|
+
updated_at: string;
|
|
2286
|
+
uploaded_by: string | null;
|
|
2287
|
+
};
|
|
2288
|
+
Insert: {
|
|
2289
|
+
created_at?: string;
|
|
2290
|
+
customer_key: string;
|
|
2291
|
+
file_name: string;
|
|
2292
|
+
file_path: string;
|
|
2293
|
+
file_size?: number | null;
|
|
2294
|
+
id?: string;
|
|
2295
|
+
mime_type?: string | null;
|
|
2296
|
+
trade_item_key: string;
|
|
2297
|
+
updated_at?: string;
|
|
2298
|
+
uploaded_by?: string | null;
|
|
2299
|
+
};
|
|
2300
|
+
Update: {
|
|
2301
|
+
created_at?: string;
|
|
2302
|
+
customer_key?: string;
|
|
2303
|
+
file_name?: string;
|
|
2304
|
+
file_path?: string;
|
|
2305
|
+
file_size?: number | null;
|
|
2306
|
+
id?: string;
|
|
2307
|
+
mime_type?: string | null;
|
|
2308
|
+
trade_item_key?: string;
|
|
2309
|
+
updated_at?: string;
|
|
2310
|
+
uploaded_by?: string | null;
|
|
2311
|
+
};
|
|
2312
|
+
Relationships: [];
|
|
2313
|
+
};
|
|
2275
2314
|
customer_selected_assortment: {
|
|
2276
2315
|
Row: {
|
|
2277
2316
|
article_number: string | null;
|
|
@@ -2322,6 +2361,30 @@ export type Database = {
|
|
|
2322
2361
|
}
|
|
2323
2362
|
];
|
|
2324
2363
|
};
|
|
2364
|
+
customer_sticker_settings: {
|
|
2365
|
+
Row: {
|
|
2366
|
+
created_at: string;
|
|
2367
|
+
customer_key: string;
|
|
2368
|
+
height_mm: number;
|
|
2369
|
+
updated_at: string;
|
|
2370
|
+
width_mm: number;
|
|
2371
|
+
};
|
|
2372
|
+
Insert: {
|
|
2373
|
+
created_at?: string;
|
|
2374
|
+
customer_key: string;
|
|
2375
|
+
height_mm?: number;
|
|
2376
|
+
updated_at?: string;
|
|
2377
|
+
width_mm?: number;
|
|
2378
|
+
};
|
|
2379
|
+
Update: {
|
|
2380
|
+
created_at?: string;
|
|
2381
|
+
customer_key?: string;
|
|
2382
|
+
height_mm?: number;
|
|
2383
|
+
updated_at?: string;
|
|
2384
|
+
width_mm?: number;
|
|
2385
|
+
};
|
|
2386
|
+
Relationships: [];
|
|
2387
|
+
};
|
|
2325
2388
|
customer_trade_settings: {
|
|
2326
2389
|
Row: {
|
|
2327
2390
|
category: string;
|
|
@@ -5731,6 +5794,105 @@ export type Database = {
|
|
|
5731
5794
|
}
|
|
5732
5795
|
];
|
|
5733
5796
|
};
|
|
5797
|
+
floriday_api_log: {
|
|
5798
|
+
Row: {
|
|
5799
|
+
action: string | null;
|
|
5800
|
+
caller: string | null;
|
|
5801
|
+
connection_id: string | null;
|
|
5802
|
+
created_at: string;
|
|
5803
|
+
cursor_from: number | null;
|
|
5804
|
+
direction: string;
|
|
5805
|
+
duration_ms: number | null;
|
|
5806
|
+
environment: string | null;
|
|
5807
|
+
error: string | null;
|
|
5808
|
+
floriday_id: string | null;
|
|
5809
|
+
floriday_reference: string | null;
|
|
5810
|
+
http_status: number;
|
|
5811
|
+
id: string;
|
|
5812
|
+
item_count: number | null;
|
|
5813
|
+
kind: string | null;
|
|
5814
|
+
local_id: string | null;
|
|
5815
|
+
local_reference: string | null;
|
|
5816
|
+
method: string;
|
|
5817
|
+
module: string | null;
|
|
5818
|
+
ok: boolean;
|
|
5819
|
+
path: string;
|
|
5820
|
+
request: Json | null;
|
|
5821
|
+
resource_type: string | null;
|
|
5822
|
+
response: Json | null;
|
|
5823
|
+
write_log_id: string | null;
|
|
5824
|
+
};
|
|
5825
|
+
Insert: {
|
|
5826
|
+
action?: string | null;
|
|
5827
|
+
caller?: string | null;
|
|
5828
|
+
connection_id?: string | null;
|
|
5829
|
+
created_at?: string;
|
|
5830
|
+
cursor_from?: number | null;
|
|
5831
|
+
direction: string;
|
|
5832
|
+
duration_ms?: number | null;
|
|
5833
|
+
environment?: string | null;
|
|
5834
|
+
error?: string | null;
|
|
5835
|
+
floriday_id?: string | null;
|
|
5836
|
+
floriday_reference?: string | null;
|
|
5837
|
+
http_status?: number;
|
|
5838
|
+
id?: string;
|
|
5839
|
+
item_count?: number | null;
|
|
5840
|
+
kind?: string | null;
|
|
5841
|
+
local_id?: string | null;
|
|
5842
|
+
local_reference?: string | null;
|
|
5843
|
+
method: string;
|
|
5844
|
+
module?: string | null;
|
|
5845
|
+
ok?: boolean;
|
|
5846
|
+
path: string;
|
|
5847
|
+
request?: Json | null;
|
|
5848
|
+
resource_type?: string | null;
|
|
5849
|
+
response?: Json | null;
|
|
5850
|
+
write_log_id?: string | null;
|
|
5851
|
+
};
|
|
5852
|
+
Update: {
|
|
5853
|
+
action?: string | null;
|
|
5854
|
+
caller?: string | null;
|
|
5855
|
+
connection_id?: string | null;
|
|
5856
|
+
created_at?: string;
|
|
5857
|
+
cursor_from?: number | null;
|
|
5858
|
+
direction?: string;
|
|
5859
|
+
duration_ms?: number | null;
|
|
5860
|
+
environment?: string | null;
|
|
5861
|
+
error?: string | null;
|
|
5862
|
+
floriday_id?: string | null;
|
|
5863
|
+
floriday_reference?: string | null;
|
|
5864
|
+
http_status?: number;
|
|
5865
|
+
id?: string;
|
|
5866
|
+
item_count?: number | null;
|
|
5867
|
+
kind?: string | null;
|
|
5868
|
+
local_id?: string | null;
|
|
5869
|
+
local_reference?: string | null;
|
|
5870
|
+
method?: string;
|
|
5871
|
+
module?: string | null;
|
|
5872
|
+
ok?: boolean;
|
|
5873
|
+
path?: string;
|
|
5874
|
+
request?: Json | null;
|
|
5875
|
+
resource_type?: string | null;
|
|
5876
|
+
response?: Json | null;
|
|
5877
|
+
write_log_id?: string | null;
|
|
5878
|
+
};
|
|
5879
|
+
Relationships: [
|
|
5880
|
+
{
|
|
5881
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
5882
|
+
columns: ["connection_id"];
|
|
5883
|
+
isOneToOne: false;
|
|
5884
|
+
referencedRelation: "floriday_connections";
|
|
5885
|
+
referencedColumns: ["id"];
|
|
5886
|
+
},
|
|
5887
|
+
{
|
|
5888
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
5889
|
+
columns: ["write_log_id"];
|
|
5890
|
+
isOneToOne: false;
|
|
5891
|
+
referencedRelation: "floriday_write_log";
|
|
5892
|
+
referencedColumns: ["id"];
|
|
5893
|
+
}
|
|
5894
|
+
];
|
|
5895
|
+
};
|
|
5734
5896
|
floriday_auction_letters_cache: {
|
|
5735
5897
|
Row: {
|
|
5736
5898
|
auction_letter_code: string;
|
|
@@ -5948,6 +6110,86 @@ export type Database = {
|
|
|
5948
6110
|
}
|
|
5949
6111
|
];
|
|
5950
6112
|
};
|
|
6113
|
+
floriday_catalog_prices_cache: {
|
|
6114
|
+
Row: {
|
|
6115
|
+
connection_id: string;
|
|
6116
|
+
created_at: string;
|
|
6117
|
+
currency: string;
|
|
6118
|
+
id: string;
|
|
6119
|
+
is_deleted: boolean;
|
|
6120
|
+
price: number | null;
|
|
6121
|
+
price_group_id: string | null;
|
|
6122
|
+
price_group_name: string | null;
|
|
6123
|
+
price_type: string;
|
|
6124
|
+
raw: Json | null;
|
|
6125
|
+
sales_unit: string | null;
|
|
6126
|
+
sequence_number: number;
|
|
6127
|
+
supplier_article_code: string | null;
|
|
6128
|
+
supply_line_id: string;
|
|
6129
|
+
synced_at: string;
|
|
6130
|
+
trade_item_id: string | null;
|
|
6131
|
+
updated_at: string;
|
|
6132
|
+
valid_from: string | null;
|
|
6133
|
+
valid_to: string | null;
|
|
6134
|
+
week: number | null;
|
|
6135
|
+
year: number | null;
|
|
6136
|
+
};
|
|
6137
|
+
Insert: {
|
|
6138
|
+
connection_id: string;
|
|
6139
|
+
created_at?: string;
|
|
6140
|
+
currency?: string;
|
|
6141
|
+
id?: string;
|
|
6142
|
+
is_deleted?: boolean;
|
|
6143
|
+
price?: number | null;
|
|
6144
|
+
price_group_id?: string | null;
|
|
6145
|
+
price_group_name?: string | null;
|
|
6146
|
+
price_type?: string;
|
|
6147
|
+
raw?: Json | null;
|
|
6148
|
+
sales_unit?: string | null;
|
|
6149
|
+
sequence_number?: number;
|
|
6150
|
+
supplier_article_code?: string | null;
|
|
6151
|
+
supply_line_id: string;
|
|
6152
|
+
synced_at?: string;
|
|
6153
|
+
trade_item_id?: string | null;
|
|
6154
|
+
updated_at?: string;
|
|
6155
|
+
valid_from?: string | null;
|
|
6156
|
+
valid_to?: string | null;
|
|
6157
|
+
week?: number | null;
|
|
6158
|
+
year?: number | null;
|
|
6159
|
+
};
|
|
6160
|
+
Update: {
|
|
6161
|
+
connection_id?: string;
|
|
6162
|
+
created_at?: string;
|
|
6163
|
+
currency?: string;
|
|
6164
|
+
id?: string;
|
|
6165
|
+
is_deleted?: boolean;
|
|
6166
|
+
price?: number | null;
|
|
6167
|
+
price_group_id?: string | null;
|
|
6168
|
+
price_group_name?: string | null;
|
|
6169
|
+
price_type?: string;
|
|
6170
|
+
raw?: Json | null;
|
|
6171
|
+
sales_unit?: string | null;
|
|
6172
|
+
sequence_number?: number;
|
|
6173
|
+
supplier_article_code?: string | null;
|
|
6174
|
+
supply_line_id?: string;
|
|
6175
|
+
synced_at?: string;
|
|
6176
|
+
trade_item_id?: string | null;
|
|
6177
|
+
updated_at?: string;
|
|
6178
|
+
valid_from?: string | null;
|
|
6179
|
+
valid_to?: string | null;
|
|
6180
|
+
week?: number | null;
|
|
6181
|
+
year?: number | null;
|
|
6182
|
+
};
|
|
6183
|
+
Relationships: [
|
|
6184
|
+
{
|
|
6185
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
6186
|
+
columns: ["connection_id"];
|
|
6187
|
+
isOneToOne: false;
|
|
6188
|
+
referencedRelation: "floriday_connections";
|
|
6189
|
+
referencedColumns: ["id"];
|
|
6190
|
+
}
|
|
6191
|
+
];
|
|
6192
|
+
};
|
|
5951
6193
|
floriday_clock_presales_cache: {
|
|
5952
6194
|
Row: {
|
|
5953
6195
|
buyer_organization_id: string | null;
|
|
@@ -6893,6 +7135,69 @@ export type Database = {
|
|
|
6893
7135
|
}
|
|
6894
7136
|
];
|
|
6895
7137
|
};
|
|
7138
|
+
floriday_link_templates: {
|
|
7139
|
+
Row: {
|
|
7140
|
+
created_at: string;
|
|
7141
|
+
floriday_url_template: string | null;
|
|
7142
|
+
is_active: boolean;
|
|
7143
|
+
label: string;
|
|
7144
|
+
local_url_template: string | null;
|
|
7145
|
+
resource_type: string;
|
|
7146
|
+
updated_at: string;
|
|
7147
|
+
};
|
|
7148
|
+
Insert: {
|
|
7149
|
+
created_at?: string;
|
|
7150
|
+
floriday_url_template?: string | null;
|
|
7151
|
+
is_active?: boolean;
|
|
7152
|
+
label: string;
|
|
7153
|
+
local_url_template?: string | null;
|
|
7154
|
+
resource_type: string;
|
|
7155
|
+
updated_at?: string;
|
|
7156
|
+
};
|
|
7157
|
+
Update: {
|
|
7158
|
+
created_at?: string;
|
|
7159
|
+
floriday_url_template?: string | null;
|
|
7160
|
+
is_active?: boolean;
|
|
7161
|
+
label?: string;
|
|
7162
|
+
local_url_template?: string | null;
|
|
7163
|
+
resource_type?: string;
|
|
7164
|
+
updated_at?: string;
|
|
7165
|
+
};
|
|
7166
|
+
Relationships: [];
|
|
7167
|
+
};
|
|
7168
|
+
floriday_log_retention: {
|
|
7169
|
+
Row: {
|
|
7170
|
+
created_at: string;
|
|
7171
|
+
direction: string | null;
|
|
7172
|
+
id: string;
|
|
7173
|
+
keep_failed_days: number | null;
|
|
7174
|
+
keep_ok_days: number | null;
|
|
7175
|
+
note: string | null;
|
|
7176
|
+
resource_type: string | null;
|
|
7177
|
+
updated_at: string;
|
|
7178
|
+
};
|
|
7179
|
+
Insert: {
|
|
7180
|
+
created_at?: string;
|
|
7181
|
+
direction?: string | null;
|
|
7182
|
+
id?: string;
|
|
7183
|
+
keep_failed_days?: number | null;
|
|
7184
|
+
keep_ok_days?: number | null;
|
|
7185
|
+
note?: string | null;
|
|
7186
|
+
resource_type?: string | null;
|
|
7187
|
+
updated_at?: string;
|
|
7188
|
+
};
|
|
7189
|
+
Update: {
|
|
7190
|
+
created_at?: string;
|
|
7191
|
+
direction?: string | null;
|
|
7192
|
+
id?: string;
|
|
7193
|
+
keep_failed_days?: number | null;
|
|
7194
|
+
keep_ok_days?: number | null;
|
|
7195
|
+
note?: string | null;
|
|
7196
|
+
resource_type?: string | null;
|
|
7197
|
+
updated_at?: string;
|
|
7198
|
+
};
|
|
7199
|
+
Relationships: [];
|
|
7200
|
+
};
|
|
6896
7201
|
floriday_logistic_labels_cache: {
|
|
6897
7202
|
Row: {
|
|
6898
7203
|
byte_size: number | null;
|
|
@@ -10343,22 +10648,31 @@ export type Database = {
|
|
|
10343
10648
|
};
|
|
10344
10649
|
logistics_floriday_push_refusals: {
|
|
10345
10650
|
Row: {
|
|
10651
|
+
action: string | null;
|
|
10346
10652
|
created_at: string;
|
|
10347
10653
|
id: string;
|
|
10348
10654
|
order_ref: string;
|
|
10349
10655
|
reason: string;
|
|
10656
|
+
source_module: string | null;
|
|
10657
|
+
source_shell: string | null;
|
|
10350
10658
|
};
|
|
10351
10659
|
Insert: {
|
|
10660
|
+
action?: string | null;
|
|
10352
10661
|
created_at?: string;
|
|
10353
10662
|
id?: string;
|
|
10354
10663
|
order_ref: string;
|
|
10355
10664
|
reason: string;
|
|
10665
|
+
source_module?: string | null;
|
|
10666
|
+
source_shell?: string | null;
|
|
10356
10667
|
};
|
|
10357
10668
|
Update: {
|
|
10669
|
+
action?: string | null;
|
|
10358
10670
|
created_at?: string;
|
|
10359
10671
|
id?: string;
|
|
10360
10672
|
order_ref?: string;
|
|
10361
10673
|
reason?: string;
|
|
10674
|
+
source_module?: string | null;
|
|
10675
|
+
source_shell?: string | null;
|
|
10362
10676
|
};
|
|
10363
10677
|
Relationships: [];
|
|
10364
10678
|
};
|
|
@@ -10437,6 +10751,42 @@ export type Database = {
|
|
|
10437
10751
|
};
|
|
10438
10752
|
Relationships: [];
|
|
10439
10753
|
};
|
|
10754
|
+
logistics_floriday_status_sends: {
|
|
10755
|
+
Row: {
|
|
10756
|
+
action: string;
|
|
10757
|
+
created_at: string;
|
|
10758
|
+
detail: string | null;
|
|
10759
|
+
http_status: number | null;
|
|
10760
|
+
id: string;
|
|
10761
|
+
ok: boolean;
|
|
10762
|
+
order_ref: string;
|
|
10763
|
+
source_module: string | null;
|
|
10764
|
+
source_shell: string | null;
|
|
10765
|
+
};
|
|
10766
|
+
Insert: {
|
|
10767
|
+
action: string;
|
|
10768
|
+
created_at?: string;
|
|
10769
|
+
detail?: string | null;
|
|
10770
|
+
http_status?: number | null;
|
|
10771
|
+
id?: string;
|
|
10772
|
+
ok?: boolean;
|
|
10773
|
+
order_ref: string;
|
|
10774
|
+
source_module?: string | null;
|
|
10775
|
+
source_shell?: string | null;
|
|
10776
|
+
};
|
|
10777
|
+
Update: {
|
|
10778
|
+
action?: string;
|
|
10779
|
+
created_at?: string;
|
|
10780
|
+
detail?: string | null;
|
|
10781
|
+
http_status?: number | null;
|
|
10782
|
+
id?: string;
|
|
10783
|
+
ok?: boolean;
|
|
10784
|
+
order_ref?: string;
|
|
10785
|
+
source_module?: string | null;
|
|
10786
|
+
source_shell?: string | null;
|
|
10787
|
+
};
|
|
10788
|
+
Relationships: [];
|
|
10789
|
+
};
|
|
10440
10790
|
logistics_formulas: {
|
|
10441
10791
|
Row: {
|
|
10442
10792
|
created_at: string;
|
|
@@ -10511,23 +10861,125 @@ export type Database = {
|
|
|
10511
10861
|
};
|
|
10512
10862
|
Relationships: [];
|
|
10513
10863
|
};
|
|
10514
|
-
|
|
10864
|
+
logistics_opening_exceptions: {
|
|
10515
10865
|
Row: {
|
|
10516
|
-
|
|
10866
|
+
closes: string | null;
|
|
10517
10867
|
created_at: string;
|
|
10868
|
+
day: string;
|
|
10518
10869
|
id: string;
|
|
10519
|
-
|
|
10520
|
-
|
|
10521
|
-
|
|
10522
|
-
sequence: number;
|
|
10523
|
-
updated_at: string;
|
|
10524
|
-
user_id: string;
|
|
10870
|
+
is_closed: boolean;
|
|
10871
|
+
note: string | null;
|
|
10872
|
+
opens: string | null;
|
|
10525
10873
|
};
|
|
10526
10874
|
Insert: {
|
|
10527
|
-
|
|
10875
|
+
closes?: string | null;
|
|
10528
10876
|
created_at?: string;
|
|
10877
|
+
day: string;
|
|
10529
10878
|
id?: string;
|
|
10530
|
-
|
|
10879
|
+
is_closed?: boolean;
|
|
10880
|
+
note?: string | null;
|
|
10881
|
+
opens?: string | null;
|
|
10882
|
+
};
|
|
10883
|
+
Update: {
|
|
10884
|
+
closes?: string | null;
|
|
10885
|
+
created_at?: string;
|
|
10886
|
+
day?: string;
|
|
10887
|
+
id?: string;
|
|
10888
|
+
is_closed?: boolean;
|
|
10889
|
+
note?: string | null;
|
|
10890
|
+
opens?: string | null;
|
|
10891
|
+
};
|
|
10892
|
+
Relationships: [];
|
|
10893
|
+
};
|
|
10894
|
+
logistics_opening_hours: {
|
|
10895
|
+
Row: {
|
|
10896
|
+
closes: string;
|
|
10897
|
+
created_at: string;
|
|
10898
|
+
id: string;
|
|
10899
|
+
is_active: boolean;
|
|
10900
|
+
note: string | null;
|
|
10901
|
+
opens: string;
|
|
10902
|
+
weekday: number;
|
|
10903
|
+
};
|
|
10904
|
+
Insert: {
|
|
10905
|
+
closes: string;
|
|
10906
|
+
created_at?: string;
|
|
10907
|
+
id?: string;
|
|
10908
|
+
is_active?: boolean;
|
|
10909
|
+
note?: string | null;
|
|
10910
|
+
opens: string;
|
|
10911
|
+
weekday: number;
|
|
10912
|
+
};
|
|
10913
|
+
Update: {
|
|
10914
|
+
closes?: string;
|
|
10915
|
+
created_at?: string;
|
|
10916
|
+
id?: string;
|
|
10917
|
+
is_active?: boolean;
|
|
10918
|
+
note?: string | null;
|
|
10919
|
+
opens?: string;
|
|
10920
|
+
weekday?: number;
|
|
10921
|
+
};
|
|
10922
|
+
Relationships: [];
|
|
10923
|
+
};
|
|
10924
|
+
logistics_pick_data_requests: {
|
|
10925
|
+
Row: {
|
|
10926
|
+
actions: Json;
|
|
10927
|
+
created_at: string;
|
|
10928
|
+
event_id: string | null;
|
|
10929
|
+
finished_at: string | null;
|
|
10930
|
+
id: string;
|
|
10931
|
+
missing: Json;
|
|
10932
|
+
order_ref: string;
|
|
10933
|
+
reason: string | null;
|
|
10934
|
+
result: Json | null;
|
|
10935
|
+
status: string;
|
|
10936
|
+
unit_ref: string | null;
|
|
10937
|
+
};
|
|
10938
|
+
Insert: {
|
|
10939
|
+
actions?: Json;
|
|
10940
|
+
created_at?: string;
|
|
10941
|
+
event_id?: string | null;
|
|
10942
|
+
finished_at?: string | null;
|
|
10943
|
+
id?: string;
|
|
10944
|
+
missing?: Json;
|
|
10945
|
+
order_ref: string;
|
|
10946
|
+
reason?: string | null;
|
|
10947
|
+
result?: Json | null;
|
|
10948
|
+
status?: string;
|
|
10949
|
+
unit_ref?: string | null;
|
|
10950
|
+
};
|
|
10951
|
+
Update: {
|
|
10952
|
+
actions?: Json;
|
|
10953
|
+
created_at?: string;
|
|
10954
|
+
event_id?: string | null;
|
|
10955
|
+
finished_at?: string | null;
|
|
10956
|
+
id?: string;
|
|
10957
|
+
missing?: Json;
|
|
10958
|
+
order_ref?: string;
|
|
10959
|
+
reason?: string | null;
|
|
10960
|
+
result?: Json | null;
|
|
10961
|
+
status?: string;
|
|
10962
|
+
unit_ref?: string | null;
|
|
10963
|
+
};
|
|
10964
|
+
Relationships: [];
|
|
10965
|
+
};
|
|
10966
|
+
logistics_pickup_moments: {
|
|
10967
|
+
Row: {
|
|
10968
|
+
carrier_ref: string | null;
|
|
10969
|
+
created_at: string;
|
|
10970
|
+
id: string;
|
|
10971
|
+
label: string | null;
|
|
10972
|
+
moment_date: string;
|
|
10973
|
+
pickup_time: string;
|
|
10974
|
+
sequence: number;
|
|
10975
|
+
updated_at: string;
|
|
10976
|
+
user_id: string;
|
|
10977
|
+
};
|
|
10978
|
+
Insert: {
|
|
10979
|
+
carrier_ref?: string | null;
|
|
10980
|
+
created_at?: string;
|
|
10981
|
+
id?: string;
|
|
10982
|
+
label?: string | null;
|
|
10531
10983
|
moment_date: string;
|
|
10532
10984
|
pickup_time: string;
|
|
10533
10985
|
sequence?: number;
|
|
@@ -10977,6 +11429,69 @@ export type Database = {
|
|
|
10977
11429
|
};
|
|
10978
11430
|
Relationships: [];
|
|
10979
11431
|
};
|
|
11432
|
+
logistics_slip_shipping_note: {
|
|
11433
|
+
Row: {
|
|
11434
|
+
attempts: number;
|
|
11435
|
+
batch_key: string | null;
|
|
11436
|
+
cart_id: string | null;
|
|
11437
|
+
created_at: string;
|
|
11438
|
+
error: string | null;
|
|
11439
|
+
error_code: string | null;
|
|
11440
|
+
fulfillment_order_id: string | null;
|
|
11441
|
+
id: string;
|
|
11442
|
+
locked_until: string | null;
|
|
11443
|
+
next_attempt_at: string | null;
|
|
11444
|
+
order_id: string | null;
|
|
11445
|
+
order_number: string | null;
|
|
11446
|
+
print_job_id: string | null;
|
|
11447
|
+
printer_id: string | null;
|
|
11448
|
+
retry_class: string | null;
|
|
11449
|
+
slip_job_id: string;
|
|
11450
|
+
status: string;
|
|
11451
|
+
updated_at: string;
|
|
11452
|
+
};
|
|
11453
|
+
Insert: {
|
|
11454
|
+
attempts?: number;
|
|
11455
|
+
batch_key?: string | null;
|
|
11456
|
+
cart_id?: string | null;
|
|
11457
|
+
created_at?: string;
|
|
11458
|
+
error?: string | null;
|
|
11459
|
+
error_code?: string | null;
|
|
11460
|
+
fulfillment_order_id?: string | null;
|
|
11461
|
+
id?: string;
|
|
11462
|
+
locked_until?: string | null;
|
|
11463
|
+
next_attempt_at?: string | null;
|
|
11464
|
+
order_id?: string | null;
|
|
11465
|
+
order_number?: string | null;
|
|
11466
|
+
print_job_id?: string | null;
|
|
11467
|
+
printer_id?: string | null;
|
|
11468
|
+
retry_class?: string | null;
|
|
11469
|
+
slip_job_id: string;
|
|
11470
|
+
status?: string;
|
|
11471
|
+
updated_at?: string;
|
|
11472
|
+
};
|
|
11473
|
+
Update: {
|
|
11474
|
+
attempts?: number;
|
|
11475
|
+
batch_key?: string | null;
|
|
11476
|
+
cart_id?: string | null;
|
|
11477
|
+
created_at?: string;
|
|
11478
|
+
error?: string | null;
|
|
11479
|
+
error_code?: string | null;
|
|
11480
|
+
fulfillment_order_id?: string | null;
|
|
11481
|
+
id?: string;
|
|
11482
|
+
locked_until?: string | null;
|
|
11483
|
+
next_attempt_at?: string | null;
|
|
11484
|
+
order_id?: string | null;
|
|
11485
|
+
order_number?: string | null;
|
|
11486
|
+
print_job_id?: string | null;
|
|
11487
|
+
printer_id?: string | null;
|
|
11488
|
+
retry_class?: string | null;
|
|
11489
|
+
slip_job_id?: string;
|
|
11490
|
+
status?: string;
|
|
11491
|
+
updated_at?: string;
|
|
11492
|
+
};
|
|
11493
|
+
Relationships: [];
|
|
11494
|
+
};
|
|
10980
11495
|
logistics_staff_planning: {
|
|
10981
11496
|
Row: {
|
|
10982
11497
|
created_at: string;
|
|
@@ -11316,6 +11831,129 @@ export type Database = {
|
|
|
11316
11831
|
};
|
|
11317
11832
|
Relationships: [];
|
|
11318
11833
|
};
|
|
11834
|
+
logistics_time_settings: {
|
|
11835
|
+
Row: {
|
|
11836
|
+
id: boolean;
|
|
11837
|
+
timezone: string;
|
|
11838
|
+
updated_at: string;
|
|
11839
|
+
};
|
|
11840
|
+
Insert: {
|
|
11841
|
+
id?: boolean;
|
|
11842
|
+
timezone: string;
|
|
11843
|
+
updated_at?: string;
|
|
11844
|
+
};
|
|
11845
|
+
Update: {
|
|
11846
|
+
id?: boolean;
|
|
11847
|
+
timezone?: string;
|
|
11848
|
+
updated_at?: string;
|
|
11849
|
+
};
|
|
11850
|
+
Relationships: [];
|
|
11851
|
+
};
|
|
11852
|
+
logistics_trace_events: {
|
|
11853
|
+
Row: {
|
|
11854
|
+
actor: string | null;
|
|
11855
|
+
attempts: number;
|
|
11856
|
+
cart_ref: string | null;
|
|
11857
|
+
created_at: string;
|
|
11858
|
+
db_action: string | null;
|
|
11859
|
+
db_new: Json | null;
|
|
11860
|
+
db_old: Json | null;
|
|
11861
|
+
db_record: string | null;
|
|
11862
|
+
db_table: string | null;
|
|
11863
|
+
decision: string | null;
|
|
11864
|
+
duration_ms: number | null;
|
|
11865
|
+
error: string | null;
|
|
11866
|
+
external_action: string | null;
|
|
11867
|
+
external_ref: string | null;
|
|
11868
|
+
external_response: Json | null;
|
|
11869
|
+
external_status: string | null;
|
|
11870
|
+
external_system: string | null;
|
|
11871
|
+
id: string;
|
|
11872
|
+
input: Json | null;
|
|
11873
|
+
next_attempt_at: string | null;
|
|
11874
|
+
order_ref: string | null;
|
|
11875
|
+
order_source: string | null;
|
|
11876
|
+
output: Json | null;
|
|
11877
|
+
phase: string;
|
|
11878
|
+
reads: Json | null;
|
|
11879
|
+
reason: string | null;
|
|
11880
|
+
rule: string | null;
|
|
11881
|
+
slip_ref: string | null;
|
|
11882
|
+
status: string;
|
|
11883
|
+
step: string;
|
|
11884
|
+
trace_id: string;
|
|
11885
|
+
values_used: Json | null;
|
|
11886
|
+
};
|
|
11887
|
+
Insert: {
|
|
11888
|
+
actor?: string | null;
|
|
11889
|
+
attempts?: number;
|
|
11890
|
+
cart_ref?: string | null;
|
|
11891
|
+
created_at?: string;
|
|
11892
|
+
db_action?: string | null;
|
|
11893
|
+
db_new?: Json | null;
|
|
11894
|
+
db_old?: Json | null;
|
|
11895
|
+
db_record?: string | null;
|
|
11896
|
+
db_table?: string | null;
|
|
11897
|
+
decision?: string | null;
|
|
11898
|
+
duration_ms?: number | null;
|
|
11899
|
+
error?: string | null;
|
|
11900
|
+
external_action?: string | null;
|
|
11901
|
+
external_ref?: string | null;
|
|
11902
|
+
external_response?: Json | null;
|
|
11903
|
+
external_status?: string | null;
|
|
11904
|
+
external_system?: string | null;
|
|
11905
|
+
id?: string;
|
|
11906
|
+
input?: Json | null;
|
|
11907
|
+
next_attempt_at?: string | null;
|
|
11908
|
+
order_ref?: string | null;
|
|
11909
|
+
order_source?: string | null;
|
|
11910
|
+
output?: Json | null;
|
|
11911
|
+
phase: string;
|
|
11912
|
+
reads?: Json | null;
|
|
11913
|
+
reason?: string | null;
|
|
11914
|
+
rule?: string | null;
|
|
11915
|
+
slip_ref?: string | null;
|
|
11916
|
+
status: string;
|
|
11917
|
+
step: string;
|
|
11918
|
+
trace_id?: string;
|
|
11919
|
+
values_used?: Json | null;
|
|
11920
|
+
};
|
|
11921
|
+
Update: {
|
|
11922
|
+
actor?: string | null;
|
|
11923
|
+
attempts?: number;
|
|
11924
|
+
cart_ref?: string | null;
|
|
11925
|
+
created_at?: string;
|
|
11926
|
+
db_action?: string | null;
|
|
11927
|
+
db_new?: Json | null;
|
|
11928
|
+
db_old?: Json | null;
|
|
11929
|
+
db_record?: string | null;
|
|
11930
|
+
db_table?: string | null;
|
|
11931
|
+
decision?: string | null;
|
|
11932
|
+
duration_ms?: number | null;
|
|
11933
|
+
error?: string | null;
|
|
11934
|
+
external_action?: string | null;
|
|
11935
|
+
external_ref?: string | null;
|
|
11936
|
+
external_response?: Json | null;
|
|
11937
|
+
external_status?: string | null;
|
|
11938
|
+
external_system?: string | null;
|
|
11939
|
+
id?: string;
|
|
11940
|
+
input?: Json | null;
|
|
11941
|
+
next_attempt_at?: string | null;
|
|
11942
|
+
order_ref?: string | null;
|
|
11943
|
+
order_source?: string | null;
|
|
11944
|
+
output?: Json | null;
|
|
11945
|
+
phase?: string;
|
|
11946
|
+
reads?: Json | null;
|
|
11947
|
+
reason?: string | null;
|
|
11948
|
+
rule?: string | null;
|
|
11949
|
+
slip_ref?: string | null;
|
|
11950
|
+
status?: string;
|
|
11951
|
+
step?: string;
|
|
11952
|
+
trace_id?: string;
|
|
11953
|
+
values_used?: Json | null;
|
|
11954
|
+
};
|
|
11955
|
+
Relationships: [];
|
|
11956
|
+
};
|
|
11319
11957
|
logistics_variables: {
|
|
11320
11958
|
Row: {
|
|
11321
11959
|
created_at: string;
|
|
@@ -13780,6 +14418,7 @@ export type Database = {
|
|
|
13780
14418
|
customer_name: string;
|
|
13781
14419
|
deleted_at: string | null;
|
|
13782
14420
|
delivery_date: string | null;
|
|
14421
|
+
floriday_order_group_key: string | null;
|
|
13783
14422
|
floriday_sales_order_id: string | null;
|
|
13784
14423
|
id: string;
|
|
13785
14424
|
invoice_due_at: string | null;
|
|
@@ -13807,6 +14446,7 @@ export type Database = {
|
|
|
13807
14446
|
customer_name?: string;
|
|
13808
14447
|
deleted_at?: string | null;
|
|
13809
14448
|
delivery_date?: string | null;
|
|
14449
|
+
floriday_order_group_key?: string | null;
|
|
13810
14450
|
floriday_sales_order_id?: string | null;
|
|
13811
14451
|
id?: string;
|
|
13812
14452
|
invoice_due_at?: string | null;
|
|
@@ -13834,6 +14474,7 @@ export type Database = {
|
|
|
13834
14474
|
customer_name?: string;
|
|
13835
14475
|
deleted_at?: string | null;
|
|
13836
14476
|
delivery_date?: string | null;
|
|
14477
|
+
floriday_order_group_key?: string | null;
|
|
13837
14478
|
floriday_sales_order_id?: string | null;
|
|
13838
14479
|
id?: string;
|
|
13839
14480
|
invoice_due_at?: string | null;
|
|
@@ -22189,6 +22830,15 @@ export type Database = {
|
|
|
22189
22830
|
Args: never;
|
|
22190
22831
|
Returns: boolean;
|
|
22191
22832
|
};
|
|
22833
|
+
cancel_open_print_jobs: {
|
|
22834
|
+
Args: {
|
|
22835
|
+
_cutoff: string;
|
|
22836
|
+
};
|
|
22837
|
+
Returns: {
|
|
22838
|
+
extern_job_id: string;
|
|
22839
|
+
id: string;
|
|
22840
|
+
}[];
|
|
22841
|
+
};
|
|
22192
22842
|
check_offer_product_available_stock: {
|
|
22193
22843
|
Args: {
|
|
22194
22844
|
p_campaign_product_id: string;
|
|
@@ -23727,6 +24377,12 @@ export type Database = {
|
|
|
23727
24377
|
};
|
|
23728
24378
|
Returns: string;
|
|
23729
24379
|
};
|
|
24380
|
+
logistics_cart_checkin_at: {
|
|
24381
|
+
Args: {
|
|
24382
|
+
p_cart_id: string;
|
|
24383
|
+
};
|
|
24384
|
+
Returns: string;
|
|
24385
|
+
};
|
|
23730
24386
|
logistics_cart_handled: {
|
|
23731
24387
|
Args: {
|
|
23732
24388
|
p_cart_index: number;
|
|
@@ -23760,10 +24416,22 @@ export type Database = {
|
|
|
23760
24416
|
task_status: string;
|
|
23761
24417
|
}[];
|
|
23762
24418
|
};
|
|
24419
|
+
logistics_cart_is_full: {
|
|
24420
|
+
Args: {
|
|
24421
|
+
p_cart_id: string;
|
|
24422
|
+
};
|
|
24423
|
+
Returns: boolean;
|
|
24424
|
+
};
|
|
23763
24425
|
logistics_cart_layout_method: {
|
|
23764
24426
|
Args: never;
|
|
23765
24427
|
Returns: Json;
|
|
23766
24428
|
};
|
|
24429
|
+
logistics_cart_order_refs: {
|
|
24430
|
+
Args: {
|
|
24431
|
+
p_cart_id: string;
|
|
24432
|
+
};
|
|
24433
|
+
Returns: string[];
|
|
24434
|
+
};
|
|
23767
24435
|
logistics_cart_plan_overview: {
|
|
23768
24436
|
Args: {
|
|
23769
24437
|
p_days?: number;
|
|
@@ -23783,6 +24451,24 @@ export type Database = {
|
|
|
23783
24451
|
};
|
|
23784
24452
|
Returns: Json;
|
|
23785
24453
|
};
|
|
24454
|
+
logistics_cart_plan_status_core: {
|
|
24455
|
+
Args: {
|
|
24456
|
+
p_ref: string;
|
|
24457
|
+
};
|
|
24458
|
+
Returns: Json;
|
|
24459
|
+
};
|
|
24460
|
+
logistics_cart_release_reason: {
|
|
24461
|
+
Args: {
|
|
24462
|
+
p_cart_id: string;
|
|
24463
|
+
};
|
|
24464
|
+
Returns: string;
|
|
24465
|
+
};
|
|
24466
|
+
logistics_cart_released: {
|
|
24467
|
+
Args: {
|
|
24468
|
+
p_cart_id: string;
|
|
24469
|
+
};
|
|
24470
|
+
Returns: boolean;
|
|
24471
|
+
};
|
|
23786
24472
|
logistics_cart_seq: {
|
|
23787
24473
|
Args: {
|
|
23788
24474
|
p_order_uuid?: string;
|
|
@@ -23833,6 +24519,10 @@ export type Database = {
|
|
|
23833
24519
|
unit_ref: string;
|
|
23834
24520
|
}[];
|
|
23835
24521
|
};
|
|
24522
|
+
logistics_carts_per_print: {
|
|
24523
|
+
Args: never;
|
|
24524
|
+
Returns: number;
|
|
24525
|
+
};
|
|
23836
24526
|
logistics_check_order_allowed: {
|
|
23837
24527
|
Args: {
|
|
23838
24528
|
p_lines: Json;
|
|
@@ -23936,6 +24626,10 @@ export type Database = {
|
|
|
23936
24626
|
isSetofReturn: false;
|
|
23937
24627
|
};
|
|
23938
24628
|
};
|
|
24629
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
24630
|
+
Args: never;
|
|
24631
|
+
Returns: Json;
|
|
24632
|
+
};
|
|
23939
24633
|
logistics_complete_task: {
|
|
23940
24634
|
Args: {
|
|
23941
24635
|
p_result?: Json;
|
|
@@ -23998,6 +24692,12 @@ export type Database = {
|
|
|
23998
24692
|
station_carts: number;
|
|
23999
24693
|
}[];
|
|
24000
24694
|
};
|
|
24695
|
+
logistics_control_complete_cart: {
|
|
24696
|
+
Args: {
|
|
24697
|
+
p_cart_id: string;
|
|
24698
|
+
};
|
|
24699
|
+
Returns: number;
|
|
24700
|
+
};
|
|
24001
24701
|
logistics_control_scan_approve: {
|
|
24002
24702
|
Args: {
|
|
24003
24703
|
p_allow_reprint?: boolean;
|
|
@@ -24077,6 +24777,15 @@ export type Database = {
|
|
|
24077
24777
|
Args: never;
|
|
24078
24778
|
Returns: Json;
|
|
24079
24779
|
};
|
|
24780
|
+
logistics_day_windows: {
|
|
24781
|
+
Args: {
|
|
24782
|
+
p_day: string;
|
|
24783
|
+
};
|
|
24784
|
+
Returns: {
|
|
24785
|
+
win_end: string;
|
|
24786
|
+
win_start: string;
|
|
24787
|
+
}[];
|
|
24788
|
+
};
|
|
24080
24789
|
logistics_delay_customer_email: {
|
|
24081
24790
|
Args: {
|
|
24082
24791
|
p_customer: string;
|
|
@@ -24144,6 +24853,17 @@ export type Database = {
|
|
|
24144
24853
|
};
|
|
24145
24854
|
Returns: Json;
|
|
24146
24855
|
};
|
|
24856
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
24857
|
+
Args: {
|
|
24858
|
+
_cart_id: string;
|
|
24859
|
+
_is_herprint: boolean;
|
|
24860
|
+
_printer_id: string;
|
|
24861
|
+
_queue_item_id: string;
|
|
24862
|
+
_session_id: string;
|
|
24863
|
+
_slip_job_id: string;
|
|
24864
|
+
};
|
|
24865
|
+
Returns: string;
|
|
24866
|
+
};
|
|
24147
24867
|
logistics_enqueue_sticker_with_slip: {
|
|
24148
24868
|
Args: {
|
|
24149
24869
|
_cart_id: string;
|
|
@@ -24161,6 +24881,20 @@ export type Database = {
|
|
|
24161
24881
|
};
|
|
24162
24882
|
Returns: string;
|
|
24163
24883
|
};
|
|
24884
|
+
logistics_ensure_pick_data: {
|
|
24885
|
+
Args: {
|
|
24886
|
+
p_event_id?: string;
|
|
24887
|
+
p_missing?: Json;
|
|
24888
|
+
p_ref: string;
|
|
24889
|
+
};
|
|
24890
|
+
Returns: Json;
|
|
24891
|
+
};
|
|
24892
|
+
logistics_ensure_shipping_notes: {
|
|
24893
|
+
Args: {
|
|
24894
|
+
p_limit?: number;
|
|
24895
|
+
};
|
|
24896
|
+
Returns: Json;
|
|
24897
|
+
};
|
|
24164
24898
|
logistics_fail_task: {
|
|
24165
24899
|
Args: {
|
|
24166
24900
|
p_error: string;
|
|
@@ -24206,6 +24940,10 @@ export type Database = {
|
|
|
24206
24940
|
isSetofReturn: false;
|
|
24207
24941
|
};
|
|
24208
24942
|
};
|
|
24943
|
+
logistics_fix_wrong_shipping_notes: {
|
|
24944
|
+
Args: never;
|
|
24945
|
+
Returns: Json;
|
|
24946
|
+
};
|
|
24209
24947
|
logistics_floriday_cart_plan: {
|
|
24210
24948
|
Args: {
|
|
24211
24949
|
p_order_id: string;
|
|
@@ -24233,6 +24971,10 @@ export type Database = {
|
|
|
24233
24971
|
revision: number;
|
|
24234
24972
|
}[];
|
|
24235
24973
|
};
|
|
24974
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
24975
|
+
Args: never;
|
|
24976
|
+
Returns: boolean;
|
|
24977
|
+
};
|
|
24236
24978
|
logistics_floriday_finish_push: {
|
|
24237
24979
|
Args: {
|
|
24238
24980
|
_error?: string;
|
|
@@ -24282,6 +25024,32 @@ export type Database = {
|
|
|
24282
25024
|
};
|
|
24283
25025
|
Returns: string;
|
|
24284
25026
|
};
|
|
25027
|
+
logistics_floriday_gate_status: {
|
|
25028
|
+
Args: never;
|
|
25029
|
+
Returns: Json;
|
|
25030
|
+
};
|
|
25031
|
+
logistics_floriday_log_refusal: {
|
|
25032
|
+
Args: {
|
|
25033
|
+
_action?: string;
|
|
25034
|
+
_module?: string;
|
|
25035
|
+
_order_ref: string;
|
|
25036
|
+
_reason: string;
|
|
25037
|
+
_shell?: string;
|
|
25038
|
+
};
|
|
25039
|
+
Returns: undefined;
|
|
25040
|
+
};
|
|
25041
|
+
logistics_floriday_log_send: {
|
|
25042
|
+
Args: {
|
|
25043
|
+
_action: string;
|
|
25044
|
+
_detail?: string;
|
|
25045
|
+
_http_status?: number;
|
|
25046
|
+
_module?: string;
|
|
25047
|
+
_ok: boolean;
|
|
25048
|
+
_order_ref: string;
|
|
25049
|
+
_shell?: string;
|
|
25050
|
+
};
|
|
25051
|
+
Returns: undefined;
|
|
25052
|
+
};
|
|
24285
25053
|
logistics_floriday_order_approved: {
|
|
24286
25054
|
Args: {
|
|
24287
25055
|
_order_ref: string;
|
|
@@ -24306,6 +25074,16 @@ export type Database = {
|
|
|
24306
25074
|
Args: never;
|
|
24307
25075
|
Returns: boolean;
|
|
24308
25076
|
};
|
|
25077
|
+
logistics_floriday_stock_updates_enabled: {
|
|
25078
|
+
Args: never;
|
|
25079
|
+
Returns: boolean;
|
|
25080
|
+
};
|
|
25081
|
+
logistics_floriday_write_allowed: {
|
|
25082
|
+
Args: {
|
|
25083
|
+
_action: string;
|
|
25084
|
+
};
|
|
25085
|
+
Returns: boolean;
|
|
25086
|
+
};
|
|
24309
25087
|
logistics_fulfill_barcode_requests: {
|
|
24310
25088
|
Args: {
|
|
24311
25089
|
p_limit?: number;
|
|
@@ -24348,6 +25126,12 @@ export type Database = {
|
|
|
24348
25126
|
};
|
|
24349
25127
|
Returns: number;
|
|
24350
25128
|
};
|
|
25129
|
+
logistics_merge_partial_carts: {
|
|
25130
|
+
Args: {
|
|
25131
|
+
p_limit?: number;
|
|
25132
|
+
};
|
|
25133
|
+
Returns: Json;
|
|
25134
|
+
};
|
|
24351
25135
|
logistics_next_workday_date: {
|
|
24352
25136
|
Args: {
|
|
24353
25137
|
p_date: string;
|
|
@@ -24374,6 +25158,10 @@ export type Database = {
|
|
|
24374
25158
|
};
|
|
24375
25159
|
Returns: string;
|
|
24376
25160
|
};
|
|
25161
|
+
logistics_opening_timezone: {
|
|
25162
|
+
Args: never;
|
|
25163
|
+
Returns: string;
|
|
25164
|
+
};
|
|
24377
25165
|
logistics_order_cart_count: {
|
|
24378
25166
|
Args: {
|
|
24379
25167
|
p_order_ref: string;
|
|
@@ -24430,6 +25218,12 @@ export type Database = {
|
|
|
24430
25218
|
};
|
|
24431
25219
|
Returns: string;
|
|
24432
25220
|
};
|
|
25221
|
+
logistics_payload_is_floriday: {
|
|
25222
|
+
Args: {
|
|
25223
|
+
_payload: Json;
|
|
25224
|
+
};
|
|
25225
|
+
Returns: boolean;
|
|
25226
|
+
};
|
|
24433
25227
|
logistics_pick_agenda: {
|
|
24434
25228
|
Args: {
|
|
24435
25229
|
p_from?: string;
|
|
@@ -24458,6 +25252,10 @@ export type Database = {
|
|
|
24458
25252
|
Args: never;
|
|
24459
25253
|
Returns: Json;
|
|
24460
25254
|
};
|
|
25255
|
+
logistics_pick_partial_mode: {
|
|
25256
|
+
Args: never;
|
|
25257
|
+
Returns: string;
|
|
25258
|
+
};
|
|
24461
25259
|
logistics_pick_start_estimate: {
|
|
24462
25260
|
Args: {
|
|
24463
25261
|
p_order: Json;
|
|
@@ -24548,6 +25346,20 @@ export type Database = {
|
|
|
24548
25346
|
Args: never;
|
|
24549
25347
|
Returns: undefined;
|
|
24550
25348
|
};
|
|
25349
|
+
logistics_plan_progress: {
|
|
25350
|
+
Args: {
|
|
25351
|
+
p_refs: string[];
|
|
25352
|
+
};
|
|
25353
|
+
Returns: {
|
|
25354
|
+
cart_plan_ready: boolean;
|
|
25355
|
+
cart_plan_reason: string;
|
|
25356
|
+
cart_plan_released: boolean;
|
|
25357
|
+
plan_progress: number;
|
|
25358
|
+
plan_state: string;
|
|
25359
|
+
plan_state_since: string;
|
|
25360
|
+
unit_ref: string;
|
|
25361
|
+
}[];
|
|
25362
|
+
};
|
|
24551
25363
|
logistics_plan_prune: {
|
|
24552
25364
|
Args: never;
|
|
24553
25365
|
Returns: number;
|
|
@@ -24569,6 +25381,18 @@ export type Database = {
|
|
|
24569
25381
|
};
|
|
24570
25382
|
Returns: number;
|
|
24571
25383
|
};
|
|
25384
|
+
logistics_plan_state_for: {
|
|
25385
|
+
Args: {
|
|
25386
|
+
p_ref: string;
|
|
25387
|
+
};
|
|
25388
|
+
Returns: Json;
|
|
25389
|
+
};
|
|
25390
|
+
logistics_prepare_pick_documents: {
|
|
25391
|
+
Args: {
|
|
25392
|
+
p_limit?: number;
|
|
25393
|
+
};
|
|
25394
|
+
Returns: Json;
|
|
25395
|
+
};
|
|
24572
25396
|
logistics_prune_buffer_member_queue: {
|
|
24573
25397
|
Args: never;
|
|
24574
25398
|
Returns: number;
|
|
@@ -24609,18 +25433,36 @@ export type Database = {
|
|
|
24609
25433
|
Args: never;
|
|
24610
25434
|
Returns: Json;
|
|
24611
25435
|
};
|
|
25436
|
+
logistics_refresh_pick_queue_status: {
|
|
25437
|
+
Args: {
|
|
25438
|
+
p_ref: string;
|
|
25439
|
+
};
|
|
25440
|
+
Returns: number;
|
|
25441
|
+
};
|
|
24612
25442
|
logistics_refresh_pickup_moments: {
|
|
24613
25443
|
Args: {
|
|
24614
25444
|
p_weeks?: number;
|
|
24615
25445
|
};
|
|
24616
25446
|
Returns: Json;
|
|
24617
25447
|
};
|
|
25448
|
+
logistics_refresh_plan_state: {
|
|
25449
|
+
Args: {
|
|
25450
|
+
p_limit?: number;
|
|
25451
|
+
};
|
|
25452
|
+
Returns: Json;
|
|
25453
|
+
};
|
|
24618
25454
|
logistics_replan_all: {
|
|
24619
25455
|
Args: {
|
|
24620
25456
|
p_reason?: string;
|
|
24621
25457
|
};
|
|
24622
25458
|
Returns: Json;
|
|
24623
25459
|
};
|
|
25460
|
+
logistics_replan_all_force: {
|
|
25461
|
+
Args: {
|
|
25462
|
+
p_reason?: string;
|
|
25463
|
+
};
|
|
25464
|
+
Returns: Json;
|
|
25465
|
+
};
|
|
24624
25466
|
logistics_report_delay: {
|
|
24625
25467
|
Args: {
|
|
24626
25468
|
p_expected_date?: string;
|
|
@@ -24765,6 +25607,10 @@ export type Database = {
|
|
|
24765
25607
|
};
|
|
24766
25608
|
Returns: string;
|
|
24767
25609
|
};
|
|
25610
|
+
logistics_shipping_note_follows_slip: {
|
|
25611
|
+
Args: never;
|
|
25612
|
+
Returns: boolean;
|
|
25613
|
+
};
|
|
24768
25614
|
logistics_shipping_note_from_barcode: {
|
|
24769
25615
|
Args: {
|
|
24770
25616
|
p_allow_reprint?: boolean;
|
|
@@ -24773,10 +25619,86 @@ export type Database = {
|
|
|
24773
25619
|
};
|
|
24774
25620
|
Returns: Json;
|
|
24775
25621
|
};
|
|
25622
|
+
logistics_shipping_note_job_for_slip: {
|
|
25623
|
+
Args: {
|
|
25624
|
+
_slip_job_id: string;
|
|
25625
|
+
};
|
|
25626
|
+
Returns: string;
|
|
25627
|
+
};
|
|
25628
|
+
logistics_shipping_notes_wake_all: {
|
|
25629
|
+
Args: never;
|
|
25630
|
+
Returns: Json;
|
|
25631
|
+
};
|
|
25632
|
+
logistics_slip_is_floriday: {
|
|
25633
|
+
Args: {
|
|
25634
|
+
_slip_job_id: string;
|
|
25635
|
+
};
|
|
25636
|
+
Returns: boolean;
|
|
25637
|
+
};
|
|
25638
|
+
logistics_slip_note_claim: {
|
|
25639
|
+
Args: {
|
|
25640
|
+
_lease_seconds?: number;
|
|
25641
|
+
_limit?: number;
|
|
25642
|
+
};
|
|
25643
|
+
Returns: {
|
|
25644
|
+
attempts: number;
|
|
25645
|
+
batch_key: string | null;
|
|
25646
|
+
cart_id: string | null;
|
|
25647
|
+
created_at: string;
|
|
25648
|
+
error: string | null;
|
|
25649
|
+
error_code: string | null;
|
|
25650
|
+
fulfillment_order_id: string | null;
|
|
25651
|
+
id: string;
|
|
25652
|
+
locked_until: string | null;
|
|
25653
|
+
next_attempt_at: string | null;
|
|
25654
|
+
order_id: string | null;
|
|
25655
|
+
order_number: string | null;
|
|
25656
|
+
print_job_id: string | null;
|
|
25657
|
+
printer_id: string | null;
|
|
25658
|
+
retry_class: string | null;
|
|
25659
|
+
slip_job_id: string;
|
|
25660
|
+
status: string;
|
|
25661
|
+
updated_at: string;
|
|
25662
|
+
}[];
|
|
25663
|
+
SetofOptions: {
|
|
25664
|
+
from: "*";
|
|
25665
|
+
to: "logistics_slip_shipping_note";
|
|
25666
|
+
isOneToOne: false;
|
|
25667
|
+
isSetofReturn: true;
|
|
25668
|
+
};
|
|
25669
|
+
};
|
|
25670
|
+
logistics_slip_note_finish: {
|
|
25671
|
+
Args: {
|
|
25672
|
+
_error?: string;
|
|
25673
|
+
_error_code?: string;
|
|
25674
|
+
_fulfillment_order_id?: string;
|
|
25675
|
+
_id: string;
|
|
25676
|
+
_ok: boolean;
|
|
25677
|
+
_print_job_id?: string;
|
|
25678
|
+
_status?: string;
|
|
25679
|
+
};
|
|
25680
|
+
Returns: undefined;
|
|
25681
|
+
};
|
|
25682
|
+
logistics_slip_note_keep_waiting: {
|
|
25683
|
+
Args: {
|
|
25684
|
+
_class?: string;
|
|
25685
|
+
_id: string;
|
|
25686
|
+
_reason: string;
|
|
25687
|
+
};
|
|
25688
|
+
Returns: undefined;
|
|
25689
|
+
};
|
|
24776
25690
|
logistics_sticker_follows_slip: {
|
|
24777
25691
|
Args: never;
|
|
24778
25692
|
Returns: boolean;
|
|
24779
25693
|
};
|
|
25694
|
+
logistics_subtract_working_minutes: {
|
|
25695
|
+
Args: {
|
|
25696
|
+
p_deadline: string;
|
|
25697
|
+
p_max_workdays?: number;
|
|
25698
|
+
p_minutes: number;
|
|
25699
|
+
};
|
|
25700
|
+
Returns: Json;
|
|
25701
|
+
};
|
|
24780
25702
|
logistics_supersede_stale_tasks: {
|
|
24781
25703
|
Args: {
|
|
24782
25704
|
p_keep: string[];
|
|
@@ -24813,6 +25735,46 @@ export type Database = {
|
|
|
24813
25735
|
Args: never;
|
|
24814
25736
|
Returns: string;
|
|
24815
25737
|
};
|
|
25738
|
+
logistics_timezone_options: {
|
|
25739
|
+
Args: never;
|
|
25740
|
+
Returns: {
|
|
25741
|
+
name: string;
|
|
25742
|
+
}[];
|
|
25743
|
+
};
|
|
25744
|
+
logistics_trace: {
|
|
25745
|
+
Args: {
|
|
25746
|
+
p: Json;
|
|
25747
|
+
};
|
|
25748
|
+
Returns: string;
|
|
25749
|
+
};
|
|
25750
|
+
logistics_trace_batch: {
|
|
25751
|
+
Args: {
|
|
25752
|
+
p: Json;
|
|
25753
|
+
};
|
|
25754
|
+
Returns: number;
|
|
25755
|
+
};
|
|
25756
|
+
logistics_trace_orders: {
|
|
25757
|
+
Args: {
|
|
25758
|
+
p_limit?: number;
|
|
25759
|
+
p_search?: string;
|
|
25760
|
+
p_since?: string;
|
|
25761
|
+
p_status?: string;
|
|
25762
|
+
};
|
|
25763
|
+
Returns: Json;
|
|
25764
|
+
};
|
|
25765
|
+
logistics_trace_redact: {
|
|
25766
|
+
Args: {
|
|
25767
|
+
p: Json;
|
|
25768
|
+
};
|
|
25769
|
+
Returns: Json;
|
|
25770
|
+
};
|
|
25771
|
+
logistics_trace_timeline: {
|
|
25772
|
+
Args: {
|
|
25773
|
+
p_limit?: number;
|
|
25774
|
+
p_order_ref: string;
|
|
25775
|
+
};
|
|
25776
|
+
Returns: Json;
|
|
25777
|
+
};
|
|
24816
25778
|
logistics_upsert_task: {
|
|
24817
25779
|
Args: {
|
|
24818
25780
|
p_buffer_ref: string;
|
|
@@ -24832,6 +25794,16 @@ export type Database = {
|
|
|
24832
25794
|
};
|
|
24833
25795
|
Returns: string;
|
|
24834
25796
|
};
|
|
25797
|
+
logistics_valid_timezone: {
|
|
25798
|
+
Args: {
|
|
25799
|
+
_tz: string;
|
|
25800
|
+
};
|
|
25801
|
+
Returns: boolean;
|
|
25802
|
+
};
|
|
25803
|
+
logistics_working_hours_status: {
|
|
25804
|
+
Args: never;
|
|
25805
|
+
Returns: Json;
|
|
25806
|
+
};
|
|
24835
25807
|
logistics_write_buffer_layer_positions: {
|
|
24836
25808
|
Args: {
|
|
24837
25809
|
p_buffer_id: string;
|
|
@@ -25844,6 +26816,10 @@ export type Database = {
|
|
|
25844
26816
|
};
|
|
25845
26817
|
Returns: undefined;
|
|
25846
26818
|
};
|
|
26819
|
+
prune_floriday_api_log: {
|
|
26820
|
+
Args: never;
|
|
26821
|
+
Returns: number;
|
|
26822
|
+
};
|
|
25847
26823
|
quote_create_from_source: {
|
|
25848
26824
|
Args: {
|
|
25849
26825
|
_payload?: Json;
|
|
@@ -26277,6 +27253,13 @@ export type Database = {
|
|
|
26277
27253
|
};
|
|
26278
27254
|
Returns: number;
|
|
26279
27255
|
};
|
|
27256
|
+
schedule_floriday_catalog_prices_sync: {
|
|
27257
|
+
Args: {
|
|
27258
|
+
p_apikey: string;
|
|
27259
|
+
p_url: string;
|
|
27260
|
+
};
|
|
27261
|
+
Returns: number;
|
|
27262
|
+
};
|
|
26280
27263
|
schedule_floriday_clock_presales_sync: {
|
|
26281
27264
|
Args: {
|
|
26282
27265
|
p_apikey: string;
|
|
@@ -26577,6 +27560,10 @@ export type Database = {
|
|
|
26577
27560
|
};
|
|
26578
27561
|
Returns: undefined;
|
|
26579
27562
|
};
|
|
27563
|
+
sync_floriday_prices_into_price_groups: {
|
|
27564
|
+
Args: never;
|
|
27565
|
+
Returns: number;
|
|
27566
|
+
};
|
|
26580
27567
|
sync_layer_stock: {
|
|
26581
27568
|
Args: {
|
|
26582
27569
|
p_product_id: string;
|
|
@@ -26709,6 +27696,10 @@ export type Database = {
|
|
|
26709
27696
|
Args: never;
|
|
26710
27697
|
Returns: string;
|
|
26711
27698
|
};
|
|
27699
|
+
voorraad_cleanup_old_rows: {
|
|
27700
|
+
Args: never;
|
|
27701
|
+
Returns: Json;
|
|
27702
|
+
};
|
|
26712
27703
|
wake_print_queue: {
|
|
26713
27704
|
Args: {
|
|
26714
27705
|
_min_interval_ms?: number;
|