@flowselections/floriday-verkoop-module 1.0.16 → 1.0.18
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/verkoop/CreateOrderPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/CreateOrderPage.js +12 -12
- package/dist-lib/components/verkoop/EditLocalOrderDialog.d.ts +6 -0
- package/dist-lib/components/verkoop/EditLocalOrderDialog.d.ts.map +1 -0
- package/dist-lib/components/verkoop/EditLocalOrderDialog.js +102 -0
- package/dist-lib/components/verkoop/OrderKarindelingCard.d.ts.map +1 -1
- package/dist-lib/components/verkoop/OrderKarindelingCard.js +26 -28
- package/dist-lib/components/verkoop/OrderShipmentsCard.d.ts +5 -0
- package/dist-lib/components/verkoop/OrderShipmentsCard.d.ts.map +1 -0
- package/dist-lib/components/verkoop/OrderShipmentsCard.js +137 -0
- package/dist-lib/components/verkoop/SalesOrderDetailPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrderDetailPage.js +8 -2
- package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrderDetailView.js +2 -1
- package/dist-lib/components/verkoop/SalesOrdersFilters.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrdersFilters.js +2 -8
- package/dist-lib/components/verkoop/SalesOrdersTable.d.ts +4 -1
- package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrdersTable.js +2 -2
- package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/VerkoopOrdersPage.js +43 -1
- package/dist-lib/index.js +2 -2
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +607 -169
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +607 -169
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +607 -169
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +623 -164
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/cart-lock.functions.d.ts +607 -169
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +1221 -345
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.d.ts +40700 -1397
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.js +792 -52
- package/dist-lib/lib/expand-group-order-items.d.ts +13 -0
- package/dist-lib/lib/expand-group-order-items.d.ts.map +1 -0
- package/dist-lib/lib/expand-group-order-items.js +216 -0
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +1767 -453
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +607 -169
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +4123 -1057
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +2945 -755
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-shipments.functions.d.ts +47158 -0
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -0
- package/dist-lib/lib/order-shipments.functions.js +178 -0
- package/dist-lib/lib/salesorders-mapping.d.ts +1 -0
- package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.d.ts +1767 -453
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/tradeitems.functions.d.ts +607 -169
- package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
- package/dist-lib/lib/useSalesOrdersQuery.d.ts.map +1 -1
- package/dist-lib/lib/useSalesOrdersQuery.js +39 -2
- package/package.json +2 -2
|
@@ -241,6 +241,165 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
241
241
|
};
|
|
242
242
|
Relationships: [];
|
|
243
243
|
};
|
|
244
|
+
ai_credentials: {
|
|
245
|
+
Row: {
|
|
246
|
+
active: boolean;
|
|
247
|
+
api_key: string;
|
|
248
|
+
created_at: string;
|
|
249
|
+
created_by: string | null;
|
|
250
|
+
id: string;
|
|
251
|
+
label: string;
|
|
252
|
+
provider_id: string;
|
|
253
|
+
updated_at: string;
|
|
254
|
+
};
|
|
255
|
+
Insert: {
|
|
256
|
+
active?: boolean;
|
|
257
|
+
api_key: string;
|
|
258
|
+
created_at?: string;
|
|
259
|
+
created_by?: string | null;
|
|
260
|
+
id?: string;
|
|
261
|
+
label: string;
|
|
262
|
+
provider_id: string;
|
|
263
|
+
updated_at?: string;
|
|
264
|
+
};
|
|
265
|
+
Update: {
|
|
266
|
+
active?: boolean;
|
|
267
|
+
api_key?: string;
|
|
268
|
+
created_at?: string;
|
|
269
|
+
created_by?: string | null;
|
|
270
|
+
id?: string;
|
|
271
|
+
label?: string;
|
|
272
|
+
provider_id?: string;
|
|
273
|
+
updated_at?: string;
|
|
274
|
+
};
|
|
275
|
+
Relationships: [{
|
|
276
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
277
|
+
columns: ["provider_id"];
|
|
278
|
+
isOneToOne: false;
|
|
279
|
+
referencedRelation: "ai_providers";
|
|
280
|
+
referencedColumns: ["id"];
|
|
281
|
+
}];
|
|
282
|
+
};
|
|
283
|
+
ai_models: {
|
|
284
|
+
Row: {
|
|
285
|
+
active: boolean;
|
|
286
|
+
context_window: number | null;
|
|
287
|
+
created_at: string;
|
|
288
|
+
display_name: string;
|
|
289
|
+
id: string;
|
|
290
|
+
is_default: boolean;
|
|
291
|
+
modality: string;
|
|
292
|
+
provider_id: string;
|
|
293
|
+
slug: string;
|
|
294
|
+
updated_at: string;
|
|
295
|
+
};
|
|
296
|
+
Insert: {
|
|
297
|
+
active?: boolean;
|
|
298
|
+
context_window?: number | null;
|
|
299
|
+
created_at?: string;
|
|
300
|
+
display_name: string;
|
|
301
|
+
id?: string;
|
|
302
|
+
is_default?: boolean;
|
|
303
|
+
modality?: string;
|
|
304
|
+
provider_id: string;
|
|
305
|
+
slug: string;
|
|
306
|
+
updated_at?: string;
|
|
307
|
+
};
|
|
308
|
+
Update: {
|
|
309
|
+
active?: boolean;
|
|
310
|
+
context_window?: number | null;
|
|
311
|
+
created_at?: string;
|
|
312
|
+
display_name?: string;
|
|
313
|
+
id?: string;
|
|
314
|
+
is_default?: boolean;
|
|
315
|
+
modality?: string;
|
|
316
|
+
provider_id?: string;
|
|
317
|
+
slug?: string;
|
|
318
|
+
updated_at?: string;
|
|
319
|
+
};
|
|
320
|
+
Relationships: [{
|
|
321
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
322
|
+
columns: ["provider_id"];
|
|
323
|
+
isOneToOne: false;
|
|
324
|
+
referencedRelation: "ai_providers";
|
|
325
|
+
referencedColumns: ["id"];
|
|
326
|
+
}];
|
|
327
|
+
};
|
|
328
|
+
ai_module_bindings: {
|
|
329
|
+
Row: {
|
|
330
|
+
consumer_module_id: string;
|
|
331
|
+
created_at: string;
|
|
332
|
+
credential_id: string;
|
|
333
|
+
id: string;
|
|
334
|
+
model_id: string;
|
|
335
|
+
notes: string | null;
|
|
336
|
+
updated_at: string;
|
|
337
|
+
};
|
|
338
|
+
Insert: {
|
|
339
|
+
consumer_module_id: string;
|
|
340
|
+
created_at?: string;
|
|
341
|
+
credential_id: string;
|
|
342
|
+
id?: string;
|
|
343
|
+
model_id: string;
|
|
344
|
+
notes?: string | null;
|
|
345
|
+
updated_at?: string;
|
|
346
|
+
};
|
|
347
|
+
Update: {
|
|
348
|
+
consumer_module_id?: string;
|
|
349
|
+
created_at?: string;
|
|
350
|
+
credential_id?: string;
|
|
351
|
+
id?: string;
|
|
352
|
+
model_id?: string;
|
|
353
|
+
notes?: string | null;
|
|
354
|
+
updated_at?: string;
|
|
355
|
+
};
|
|
356
|
+
Relationships: [{
|
|
357
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
358
|
+
columns: ["credential_id"];
|
|
359
|
+
isOneToOne: false;
|
|
360
|
+
referencedRelation: "ai_credentials";
|
|
361
|
+
referencedColumns: ["id"];
|
|
362
|
+
}, {
|
|
363
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
364
|
+
columns: ["model_id"];
|
|
365
|
+
isOneToOne: false;
|
|
366
|
+
referencedRelation: "ai_models";
|
|
367
|
+
referencedColumns: ["id"];
|
|
368
|
+
}];
|
|
369
|
+
};
|
|
370
|
+
ai_providers: {
|
|
371
|
+
Row: {
|
|
372
|
+
active: boolean;
|
|
373
|
+
auth_type: string;
|
|
374
|
+
base_url: string | null;
|
|
375
|
+
created_at: string;
|
|
376
|
+
id: string;
|
|
377
|
+
name: string;
|
|
378
|
+
slug: string;
|
|
379
|
+
updated_at: string;
|
|
380
|
+
};
|
|
381
|
+
Insert: {
|
|
382
|
+
active?: boolean;
|
|
383
|
+
auth_type?: string;
|
|
384
|
+
base_url?: string | null;
|
|
385
|
+
created_at?: string;
|
|
386
|
+
id?: string;
|
|
387
|
+
name: string;
|
|
388
|
+
slug: string;
|
|
389
|
+
updated_at?: string;
|
|
390
|
+
};
|
|
391
|
+
Update: {
|
|
392
|
+
active?: boolean;
|
|
393
|
+
auth_type?: string;
|
|
394
|
+
base_url?: string | null;
|
|
395
|
+
created_at?: string;
|
|
396
|
+
id?: string;
|
|
397
|
+
name?: string;
|
|
398
|
+
slug?: string;
|
|
399
|
+
updated_at?: string;
|
|
400
|
+
};
|
|
401
|
+
Relationships: [];
|
|
402
|
+
};
|
|
244
403
|
app_settings: {
|
|
245
404
|
Row: {
|
|
246
405
|
created_at: string;
|
|
@@ -3247,105 +3406,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
3247
3406
|
referencedColumns: ["id"];
|
|
3248
3407
|
}];
|
|
3249
3408
|
};
|
|
3250
|
-
floriday_agreement_calloffs_cache: {
|
|
3251
|
-
Row: {
|
|
3252
|
-
agreement_id: string | null;
|
|
3253
|
-
connection_id: string;
|
|
3254
|
-
data: import("../integrations/supabase/types").Json;
|
|
3255
|
-
delivery_date: string | null;
|
|
3256
|
-
fetched_at: string;
|
|
3257
|
-
floriday_id: string;
|
|
3258
|
-
id: string;
|
|
3259
|
-
is_deleted: boolean;
|
|
3260
|
-
sequence_number: number;
|
|
3261
|
-
status: string | null;
|
|
3262
|
-
updated_at: string;
|
|
3263
|
-
};
|
|
3264
|
-
Insert: {
|
|
3265
|
-
agreement_id?: string | null;
|
|
3266
|
-
connection_id: string;
|
|
3267
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3268
|
-
delivery_date?: string | null;
|
|
3269
|
-
fetched_at?: string;
|
|
3270
|
-
floriday_id: string;
|
|
3271
|
-
id?: string;
|
|
3272
|
-
is_deleted?: boolean;
|
|
3273
|
-
sequence_number?: number;
|
|
3274
|
-
status?: string | null;
|
|
3275
|
-
updated_at?: string;
|
|
3276
|
-
};
|
|
3277
|
-
Update: {
|
|
3278
|
-
agreement_id?: string | null;
|
|
3279
|
-
connection_id?: string;
|
|
3280
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3281
|
-
delivery_date?: string | null;
|
|
3282
|
-
fetched_at?: string;
|
|
3283
|
-
floriday_id?: string;
|
|
3284
|
-
id?: string;
|
|
3285
|
-
is_deleted?: boolean;
|
|
3286
|
-
sequence_number?: number;
|
|
3287
|
-
status?: string | null;
|
|
3288
|
-
updated_at?: string;
|
|
3289
|
-
};
|
|
3290
|
-
Relationships: [{
|
|
3291
|
-
foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
|
|
3292
|
-
columns: ["connection_id"];
|
|
3293
|
-
isOneToOne: false;
|
|
3294
|
-
referencedRelation: "floriday_connections";
|
|
3295
|
-
referencedColumns: ["id"];
|
|
3296
|
-
}];
|
|
3297
|
-
};
|
|
3298
|
-
floriday_agreements_cache: {
|
|
3299
|
-
Row: {
|
|
3300
|
-
buyer_organization_id: string | null;
|
|
3301
|
-
connection_id: string;
|
|
3302
|
-
data: import("../integrations/supabase/types").Json;
|
|
3303
|
-
fetched_at: string;
|
|
3304
|
-
floriday_id: string;
|
|
3305
|
-
id: string;
|
|
3306
|
-
is_deleted: boolean;
|
|
3307
|
-
sequence_number: number;
|
|
3308
|
-
status: string | null;
|
|
3309
|
-
updated_at: string;
|
|
3310
|
-
valid_from: string | null;
|
|
3311
|
-
valid_until: string | null;
|
|
3312
|
-
};
|
|
3313
|
-
Insert: {
|
|
3314
|
-
buyer_organization_id?: string | null;
|
|
3315
|
-
connection_id: string;
|
|
3316
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3317
|
-
fetched_at?: string;
|
|
3318
|
-
floriday_id: string;
|
|
3319
|
-
id?: string;
|
|
3320
|
-
is_deleted?: boolean;
|
|
3321
|
-
sequence_number?: number;
|
|
3322
|
-
status?: string | null;
|
|
3323
|
-
updated_at?: string;
|
|
3324
|
-
valid_from?: string | null;
|
|
3325
|
-
valid_until?: string | null;
|
|
3326
|
-
};
|
|
3327
|
-
Update: {
|
|
3328
|
-
buyer_organization_id?: string | null;
|
|
3329
|
-
connection_id?: string;
|
|
3330
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3331
|
-
fetched_at?: string;
|
|
3332
|
-
floriday_id?: string;
|
|
3333
|
-
id?: string;
|
|
3334
|
-
is_deleted?: boolean;
|
|
3335
|
-
sequence_number?: number;
|
|
3336
|
-
status?: string | null;
|
|
3337
|
-
updated_at?: string;
|
|
3338
|
-
valid_from?: string | null;
|
|
3339
|
-
valid_until?: string | null;
|
|
3340
|
-
};
|
|
3341
|
-
Relationships: [{
|
|
3342
|
-
foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
|
|
3343
|
-
columns: ["connection_id"];
|
|
3344
|
-
isOneToOne: false;
|
|
3345
|
-
referencedRelation: "floriday_connections";
|
|
3346
|
-
referencedColumns: ["id"];
|
|
3347
|
-
}];
|
|
3348
|
-
};
|
|
3349
3409
|
floriday_auction_letters_cache: {
|
|
3350
3410
|
Row: {
|
|
3351
3411
|
auction_letter_code: string;
|
|
@@ -3844,6 +3904,27 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
3844
3904
|
referencedColumns: ["id"];
|
|
3845
3905
|
}];
|
|
3846
3906
|
};
|
|
3907
|
+
floriday_continuous_stock_cache: {
|
|
3908
|
+
Row: {
|
|
3909
|
+
connection_id: string;
|
|
3910
|
+
fetched_at: string;
|
|
3911
|
+
number_of_pieces: number;
|
|
3912
|
+
trade_item_id: string;
|
|
3913
|
+
};
|
|
3914
|
+
Insert: {
|
|
3915
|
+
connection_id: string;
|
|
3916
|
+
fetched_at?: string;
|
|
3917
|
+
number_of_pieces?: number;
|
|
3918
|
+
trade_item_id: string;
|
|
3919
|
+
};
|
|
3920
|
+
Update: {
|
|
3921
|
+
connection_id?: string;
|
|
3922
|
+
fetched_at?: string;
|
|
3923
|
+
number_of_pieces?: number;
|
|
3924
|
+
trade_item_id?: string;
|
|
3925
|
+
};
|
|
3926
|
+
Relationships: [];
|
|
3927
|
+
};
|
|
3847
3928
|
floriday_continuous_stock_queue: {
|
|
3848
3929
|
Row: {
|
|
3849
3930
|
attempts: number;
|
|
@@ -4822,9 +4903,8 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
4822
4903
|
referencedColumns: ["id"];
|
|
4823
4904
|
}];
|
|
4824
4905
|
};
|
|
4825
|
-
|
|
4906
|
+
floriday_trade_settings_customers_cache: {
|
|
4826
4907
|
Row: {
|
|
4827
|
-
carrier_organization_id: string | null;
|
|
4828
4908
|
connection_id: string;
|
|
4829
4909
|
data: import("../integrations/supabase/types").Json;
|
|
4830
4910
|
fetched_at: string;
|
|
@@ -4832,25 +4912,19 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
4832
4912
|
id: string;
|
|
4833
4913
|
is_deleted: boolean;
|
|
4834
4914
|
sequence_number: number;
|
|
4835
|
-
status: string | null;
|
|
4836
|
-
trip_date: string | null;
|
|
4837
4915
|
updated_at: string;
|
|
4838
4916
|
};
|
|
4839
4917
|
Insert: {
|
|
4840
|
-
carrier_organization_id?: string | null;
|
|
4841
4918
|
connection_id: string;
|
|
4842
|
-
data
|
|
4919
|
+
data: import("../integrations/supabase/types").Json;
|
|
4843
4920
|
fetched_at?: string;
|
|
4844
4921
|
floriday_id: string;
|
|
4845
4922
|
id?: string;
|
|
4846
4923
|
is_deleted?: boolean;
|
|
4847
4924
|
sequence_number?: number;
|
|
4848
|
-
status?: string | null;
|
|
4849
|
-
trip_date?: string | null;
|
|
4850
4925
|
updated_at?: string;
|
|
4851
4926
|
};
|
|
4852
4927
|
Update: {
|
|
4853
|
-
carrier_organization_id?: string | null;
|
|
4854
4928
|
connection_id?: string;
|
|
4855
4929
|
data?: import("../integrations/supabase/types").Json;
|
|
4856
4930
|
fetched_at?: string;
|
|
@@ -4858,31 +4932,77 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
4858
4932
|
id?: string;
|
|
4859
4933
|
is_deleted?: boolean;
|
|
4860
4934
|
sequence_number?: number;
|
|
4861
|
-
status?: string | null;
|
|
4862
|
-
trip_date?: string | null;
|
|
4863
4935
|
updated_at?: string;
|
|
4864
4936
|
};
|
|
4865
4937
|
Relationships: [{
|
|
4866
|
-
foreignKeyName: "
|
|
4938
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
4867
4939
|
columns: ["connection_id"];
|
|
4868
4940
|
isOneToOne: false;
|
|
4869
4941
|
referencedRelation: "floriday_connections";
|
|
4870
4942
|
referencedColumns: ["id"];
|
|
4871
4943
|
}];
|
|
4872
4944
|
};
|
|
4873
|
-
|
|
4945
|
+
floriday_trips_cache: {
|
|
4874
4946
|
Row: {
|
|
4947
|
+
carrier_organization_id: string | null;
|
|
4875
4948
|
connection_id: string;
|
|
4876
4949
|
data: import("../integrations/supabase/types").Json;
|
|
4877
4950
|
fetched_at: string;
|
|
4878
4951
|
floriday_id: string;
|
|
4879
|
-
gln_code: string | null;
|
|
4880
4952
|
id: string;
|
|
4881
|
-
is_default: boolean;
|
|
4882
4953
|
is_deleted: boolean;
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4954
|
+
sequence_number: number;
|
|
4955
|
+
status: string | null;
|
|
4956
|
+
trip_date: string | null;
|
|
4957
|
+
updated_at: string;
|
|
4958
|
+
};
|
|
4959
|
+
Insert: {
|
|
4960
|
+
carrier_organization_id?: string | null;
|
|
4961
|
+
connection_id: string;
|
|
4962
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4963
|
+
fetched_at?: string;
|
|
4964
|
+
floriday_id: string;
|
|
4965
|
+
id?: string;
|
|
4966
|
+
is_deleted?: boolean;
|
|
4967
|
+
sequence_number?: number;
|
|
4968
|
+
status?: string | null;
|
|
4969
|
+
trip_date?: string | null;
|
|
4970
|
+
updated_at?: string;
|
|
4971
|
+
};
|
|
4972
|
+
Update: {
|
|
4973
|
+
carrier_organization_id?: string | null;
|
|
4974
|
+
connection_id?: string;
|
|
4975
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4976
|
+
fetched_at?: string;
|
|
4977
|
+
floriday_id?: string;
|
|
4978
|
+
id?: string;
|
|
4979
|
+
is_deleted?: boolean;
|
|
4980
|
+
sequence_number?: number;
|
|
4981
|
+
status?: string | null;
|
|
4982
|
+
trip_date?: string | null;
|
|
4983
|
+
updated_at?: string;
|
|
4984
|
+
};
|
|
4985
|
+
Relationships: [{
|
|
4986
|
+
foreignKeyName: "floriday_trips_cache_connection_id_fkey";
|
|
4987
|
+
columns: ["connection_id"];
|
|
4988
|
+
isOneToOne: false;
|
|
4989
|
+
referencedRelation: "floriday_connections";
|
|
4990
|
+
referencedColumns: ["id"];
|
|
4991
|
+
}];
|
|
4992
|
+
};
|
|
4993
|
+
floriday_warehouses_cache: {
|
|
4994
|
+
Row: {
|
|
4995
|
+
connection_id: string;
|
|
4996
|
+
data: import("../integrations/supabase/types").Json;
|
|
4997
|
+
fetched_at: string;
|
|
4998
|
+
floriday_id: string;
|
|
4999
|
+
gln_code: string | null;
|
|
5000
|
+
id: string;
|
|
5001
|
+
is_default: boolean;
|
|
5002
|
+
is_deleted: boolean;
|
|
5003
|
+
name: string | null;
|
|
5004
|
+
updated_at: string;
|
|
5005
|
+
};
|
|
4886
5006
|
Insert: {
|
|
4887
5007
|
connection_id: string;
|
|
4888
5008
|
data?: import("../integrations/supabase/types").Json;
|
|
@@ -5967,39 +6087,60 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
5967
6087
|
};
|
|
5968
6088
|
manufacture_products: {
|
|
5969
6089
|
Row: {
|
|
6090
|
+
aantal_te_produceren: number;
|
|
5970
6091
|
created_at: string;
|
|
5971
6092
|
description: string | null;
|
|
5972
6093
|
id: string;
|
|
5973
6094
|
is_active: boolean;
|
|
6095
|
+
location_id: string | null;
|
|
5974
6096
|
name: string;
|
|
6097
|
+
partij_nummer: string | null;
|
|
6098
|
+
photos: import("../integrations/supabase/types").Json;
|
|
5975
6099
|
produced_stock: number;
|
|
5976
6100
|
product_code: string;
|
|
5977
6101
|
tenant_id: string;
|
|
6102
|
+
unit: string;
|
|
5978
6103
|
updated_at: string;
|
|
5979
6104
|
};
|
|
5980
6105
|
Insert: {
|
|
6106
|
+
aantal_te_produceren?: number;
|
|
5981
6107
|
created_at?: string;
|
|
5982
6108
|
description?: string | null;
|
|
5983
6109
|
id?: string;
|
|
5984
6110
|
is_active?: boolean;
|
|
6111
|
+
location_id?: string | null;
|
|
5985
6112
|
name: string;
|
|
6113
|
+
partij_nummer?: string | null;
|
|
6114
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
5986
6115
|
produced_stock?: number;
|
|
5987
6116
|
product_code: string;
|
|
5988
6117
|
tenant_id: string;
|
|
6118
|
+
unit?: string;
|
|
5989
6119
|
updated_at?: string;
|
|
5990
6120
|
};
|
|
5991
6121
|
Update: {
|
|
6122
|
+
aantal_te_produceren?: number;
|
|
5992
6123
|
created_at?: string;
|
|
5993
6124
|
description?: string | null;
|
|
5994
6125
|
id?: string;
|
|
5995
6126
|
is_active?: boolean;
|
|
6127
|
+
location_id?: string | null;
|
|
5996
6128
|
name?: string;
|
|
6129
|
+
partij_nummer?: string | null;
|
|
6130
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
5997
6131
|
produced_stock?: number;
|
|
5998
6132
|
product_code?: string;
|
|
5999
6133
|
tenant_id?: string;
|
|
6134
|
+
unit?: string;
|
|
6000
6135
|
updated_at?: string;
|
|
6001
6136
|
};
|
|
6002
|
-
Relationships: [
|
|
6137
|
+
Relationships: [{
|
|
6138
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
6139
|
+
columns: ["location_id"];
|
|
6140
|
+
isOneToOne: false;
|
|
6141
|
+
referencedRelation: "locations";
|
|
6142
|
+
referencedColumns: ["id"];
|
|
6143
|
+
}];
|
|
6003
6144
|
};
|
|
6004
6145
|
monteurs: {
|
|
6005
6146
|
Row: {
|
|
@@ -6973,6 +7114,105 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
6973
7114
|
};
|
|
6974
7115
|
Relationships: [];
|
|
6975
7116
|
};
|
|
7117
|
+
order_shipment_items: {
|
|
7118
|
+
Row: {
|
|
7119
|
+
created_at: string;
|
|
7120
|
+
id: string;
|
|
7121
|
+
order_item_id: string;
|
|
7122
|
+
product_id: string | null;
|
|
7123
|
+
product_name: string;
|
|
7124
|
+
quantity: number;
|
|
7125
|
+
shipment_id: string;
|
|
7126
|
+
updated_at: string;
|
|
7127
|
+
};
|
|
7128
|
+
Insert: {
|
|
7129
|
+
created_at?: string;
|
|
7130
|
+
id?: string;
|
|
7131
|
+
order_item_id: string;
|
|
7132
|
+
product_id?: string | null;
|
|
7133
|
+
product_name: string;
|
|
7134
|
+
quantity: number;
|
|
7135
|
+
shipment_id: string;
|
|
7136
|
+
updated_at?: string;
|
|
7137
|
+
};
|
|
7138
|
+
Update: {
|
|
7139
|
+
created_at?: string;
|
|
7140
|
+
id?: string;
|
|
7141
|
+
order_item_id?: string;
|
|
7142
|
+
product_id?: string | null;
|
|
7143
|
+
product_name?: string;
|
|
7144
|
+
quantity?: number;
|
|
7145
|
+
shipment_id?: string;
|
|
7146
|
+
updated_at?: string;
|
|
7147
|
+
};
|
|
7148
|
+
Relationships: [{
|
|
7149
|
+
foreignKeyName: "order_shipment_items_order_item_id_fkey";
|
|
7150
|
+
columns: ["order_item_id"];
|
|
7151
|
+
isOneToOne: false;
|
|
7152
|
+
referencedRelation: "order_items";
|
|
7153
|
+
referencedColumns: ["id"];
|
|
7154
|
+
}, {
|
|
7155
|
+
foreignKeyName: "order_shipment_items_shipment_id_fkey";
|
|
7156
|
+
columns: ["shipment_id"];
|
|
7157
|
+
isOneToOne: false;
|
|
7158
|
+
referencedRelation: "order_shipments";
|
|
7159
|
+
referencedColumns: ["id"];
|
|
7160
|
+
}];
|
|
7161
|
+
};
|
|
7162
|
+
order_shipments: {
|
|
7163
|
+
Row: {
|
|
7164
|
+
carrier_id: string | null;
|
|
7165
|
+
created_at: string;
|
|
7166
|
+
delivery_date: string | null;
|
|
7167
|
+
delivery_location_id: string | null;
|
|
7168
|
+
id: string;
|
|
7169
|
+
notes: string | null;
|
|
7170
|
+
order_id: string;
|
|
7171
|
+
shipment_number: number;
|
|
7172
|
+
shipped_at: string | null;
|
|
7173
|
+
status: string;
|
|
7174
|
+
updated_at: string;
|
|
7175
|
+
};
|
|
7176
|
+
Insert: {
|
|
7177
|
+
carrier_id?: string | null;
|
|
7178
|
+
created_at?: string;
|
|
7179
|
+
delivery_date?: string | null;
|
|
7180
|
+
delivery_location_id?: string | null;
|
|
7181
|
+
id?: string;
|
|
7182
|
+
notes?: string | null;
|
|
7183
|
+
order_id: string;
|
|
7184
|
+
shipment_number: number;
|
|
7185
|
+
shipped_at?: string | null;
|
|
7186
|
+
status?: string;
|
|
7187
|
+
updated_at?: string;
|
|
7188
|
+
};
|
|
7189
|
+
Update: {
|
|
7190
|
+
carrier_id?: string | null;
|
|
7191
|
+
created_at?: string;
|
|
7192
|
+
delivery_date?: string | null;
|
|
7193
|
+
delivery_location_id?: string | null;
|
|
7194
|
+
id?: string;
|
|
7195
|
+
notes?: string | null;
|
|
7196
|
+
order_id?: string;
|
|
7197
|
+
shipment_number?: number;
|
|
7198
|
+
shipped_at?: string | null;
|
|
7199
|
+
status?: string;
|
|
7200
|
+
updated_at?: string;
|
|
7201
|
+
};
|
|
7202
|
+
Relationships: [{
|
|
7203
|
+
foreignKeyName: "order_shipments_carrier_id_fkey";
|
|
7204
|
+
columns: ["carrier_id"];
|
|
7205
|
+
isOneToOne: false;
|
|
7206
|
+
referencedRelation: "carriers";
|
|
7207
|
+
referencedColumns: ["id"];
|
|
7208
|
+
}, {
|
|
7209
|
+
foreignKeyName: "order_shipments_order_id_fkey";
|
|
7210
|
+
columns: ["order_id"];
|
|
7211
|
+
isOneToOne: false;
|
|
7212
|
+
referencedRelation: "orders";
|
|
7213
|
+
referencedColumns: ["id"];
|
|
7214
|
+
}];
|
|
7215
|
+
};
|
|
6976
7216
|
orders: {
|
|
6977
7217
|
Row: {
|
|
6978
7218
|
created_at: string;
|
|
@@ -6980,8 +7220,9 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
6980
7220
|
customer_id: string | null;
|
|
6981
7221
|
customer_name: string;
|
|
6982
7222
|
deleted_at: string | null;
|
|
6983
|
-
delivery_date: string;
|
|
7223
|
+
delivery_date: string | null;
|
|
6984
7224
|
id: string;
|
|
7225
|
+
is_reservation: boolean;
|
|
6985
7226
|
notes: string | null;
|
|
6986
7227
|
order_date: string;
|
|
6987
7228
|
order_number: string;
|
|
@@ -6998,8 +7239,9 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
6998
7239
|
customer_id?: string | null;
|
|
6999
7240
|
customer_name?: string;
|
|
7000
7241
|
deleted_at?: string | null;
|
|
7001
|
-
delivery_date
|
|
7242
|
+
delivery_date?: string | null;
|
|
7002
7243
|
id?: string;
|
|
7244
|
+
is_reservation?: boolean;
|
|
7003
7245
|
notes?: string | null;
|
|
7004
7246
|
order_date?: string;
|
|
7005
7247
|
order_number: string;
|
|
@@ -7016,8 +7258,9 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
7016
7258
|
customer_id?: string | null;
|
|
7017
7259
|
customer_name?: string;
|
|
7018
7260
|
deleted_at?: string | null;
|
|
7019
|
-
delivery_date?: string;
|
|
7261
|
+
delivery_date?: string | null;
|
|
7020
7262
|
id?: string;
|
|
7263
|
+
is_reservation?: boolean;
|
|
7021
7264
|
notes?: string | null;
|
|
7022
7265
|
order_date?: string;
|
|
7023
7266
|
order_number?: string;
|
|
@@ -7159,6 +7402,63 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
7159
7402
|
};
|
|
7160
7403
|
Relationships: [];
|
|
7161
7404
|
};
|
|
7405
|
+
product_bom_items: {
|
|
7406
|
+
Row: {
|
|
7407
|
+
component_product_id: string | null;
|
|
7408
|
+
component_trade_item_floriday_id: string | null;
|
|
7409
|
+
created_at: string;
|
|
7410
|
+
id: string;
|
|
7411
|
+
notes: string | null;
|
|
7412
|
+
parent_product_id: string | null;
|
|
7413
|
+
parent_trade_item_floriday_id: string | null;
|
|
7414
|
+
quantity: number;
|
|
7415
|
+
sort_order: number;
|
|
7416
|
+
tenant_id: string;
|
|
7417
|
+
unit: string;
|
|
7418
|
+
updated_at: string;
|
|
7419
|
+
};
|
|
7420
|
+
Insert: {
|
|
7421
|
+
component_product_id?: string | null;
|
|
7422
|
+
component_trade_item_floriday_id?: string | null;
|
|
7423
|
+
created_at?: string;
|
|
7424
|
+
id?: string;
|
|
7425
|
+
notes?: string | null;
|
|
7426
|
+
parent_product_id?: string | null;
|
|
7427
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7428
|
+
quantity?: number;
|
|
7429
|
+
sort_order?: number;
|
|
7430
|
+
tenant_id: string;
|
|
7431
|
+
unit?: string;
|
|
7432
|
+
updated_at?: string;
|
|
7433
|
+
};
|
|
7434
|
+
Update: {
|
|
7435
|
+
component_product_id?: string | null;
|
|
7436
|
+
component_trade_item_floriday_id?: string | null;
|
|
7437
|
+
created_at?: string;
|
|
7438
|
+
id?: string;
|
|
7439
|
+
notes?: string | null;
|
|
7440
|
+
parent_product_id?: string | null;
|
|
7441
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7442
|
+
quantity?: number;
|
|
7443
|
+
sort_order?: number;
|
|
7444
|
+
tenant_id?: string;
|
|
7445
|
+
unit?: string;
|
|
7446
|
+
updated_at?: string;
|
|
7447
|
+
};
|
|
7448
|
+
Relationships: [{
|
|
7449
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
7450
|
+
columns: ["component_product_id"];
|
|
7451
|
+
isOneToOne: false;
|
|
7452
|
+
referencedRelation: "products";
|
|
7453
|
+
referencedColumns: ["id"];
|
|
7454
|
+
}, {
|
|
7455
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
7456
|
+
columns: ["parent_product_id"];
|
|
7457
|
+
isOneToOne: false;
|
|
7458
|
+
referencedRelation: "products";
|
|
7459
|
+
referencedColumns: ["id"];
|
|
7460
|
+
}];
|
|
7461
|
+
};
|
|
7162
7462
|
product_categories: {
|
|
7163
7463
|
Row: {
|
|
7164
7464
|
color: string;
|
|
@@ -7264,6 +7564,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
7264
7564
|
id: string;
|
|
7265
7565
|
product_group_id: string;
|
|
7266
7566
|
quantity: number;
|
|
7567
|
+
sort_order: number;
|
|
7267
7568
|
trade_item_id: string;
|
|
7268
7569
|
};
|
|
7269
7570
|
Insert: {
|
|
@@ -7271,6 +7572,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
7271
7572
|
id?: string;
|
|
7272
7573
|
product_group_id: string;
|
|
7273
7574
|
quantity?: number;
|
|
7575
|
+
sort_order?: number;
|
|
7274
7576
|
trade_item_id: string;
|
|
7275
7577
|
};
|
|
7276
7578
|
Update: {
|
|
@@ -7278,6 +7580,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
7278
7580
|
id?: string;
|
|
7279
7581
|
product_group_id?: string;
|
|
7280
7582
|
quantity?: number;
|
|
7583
|
+
sort_order?: number;
|
|
7281
7584
|
trade_item_id?: string;
|
|
7282
7585
|
};
|
|
7283
7586
|
Relationships: [{
|
|
@@ -7292,6 +7595,8 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
7292
7595
|
Row: {
|
|
7293
7596
|
created_at: string;
|
|
7294
7597
|
description: string | null;
|
|
7598
|
+
head_product_id: string | null;
|
|
7599
|
+
head_trade_item_floriday_id: string | null;
|
|
7295
7600
|
id: string;
|
|
7296
7601
|
is_active: boolean;
|
|
7297
7602
|
name: string;
|
|
@@ -7301,6 +7606,8 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
7301
7606
|
Insert: {
|
|
7302
7607
|
created_at?: string;
|
|
7303
7608
|
description?: string | null;
|
|
7609
|
+
head_product_id?: string | null;
|
|
7610
|
+
head_trade_item_floriday_id?: string | null;
|
|
7304
7611
|
id?: string;
|
|
7305
7612
|
is_active?: boolean;
|
|
7306
7613
|
name: string;
|
|
@@ -7310,16 +7617,85 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
7310
7617
|
Update: {
|
|
7311
7618
|
created_at?: string;
|
|
7312
7619
|
description?: string | null;
|
|
7620
|
+
head_product_id?: string | null;
|
|
7621
|
+
head_trade_item_floriday_id?: string | null;
|
|
7313
7622
|
id?: string;
|
|
7314
7623
|
is_active?: boolean;
|
|
7315
7624
|
name?: string;
|
|
7316
7625
|
tenant_id?: string;
|
|
7317
7626
|
updated_at?: string;
|
|
7318
7627
|
};
|
|
7319
|
-
Relationships: [
|
|
7628
|
+
Relationships: [{
|
|
7629
|
+
foreignKeyName: "product_groups_head_product_id_fkey";
|
|
7630
|
+
columns: ["head_product_id"];
|
|
7631
|
+
isOneToOne: false;
|
|
7632
|
+
referencedRelation: "products";
|
|
7633
|
+
referencedColumns: ["id"];
|
|
7634
|
+
}];
|
|
7635
|
+
};
|
|
7636
|
+
product_load_settings: {
|
|
7637
|
+
Row: {
|
|
7638
|
+
created_at: string;
|
|
7639
|
+
id: string;
|
|
7640
|
+
is_package: boolean;
|
|
7641
|
+
layers_per_load_carrier: number | null;
|
|
7642
|
+
load_carrier: string | null;
|
|
7643
|
+
package_id: string | null;
|
|
7644
|
+
package_label: string | null;
|
|
7645
|
+
packages_per_layer: number | null;
|
|
7646
|
+
product_id: string | null;
|
|
7647
|
+
tenant_id: string;
|
|
7648
|
+
trade_item_floriday_id: string | null;
|
|
7649
|
+
units_per_package: number | null;
|
|
7650
|
+
updated_at: string;
|
|
7651
|
+
};
|
|
7652
|
+
Insert: {
|
|
7653
|
+
created_at?: string;
|
|
7654
|
+
id?: string;
|
|
7655
|
+
is_package?: boolean;
|
|
7656
|
+
layers_per_load_carrier?: number | null;
|
|
7657
|
+
load_carrier?: string | null;
|
|
7658
|
+
package_id?: string | null;
|
|
7659
|
+
package_label?: string | null;
|
|
7660
|
+
packages_per_layer?: number | null;
|
|
7661
|
+
product_id?: string | null;
|
|
7662
|
+
tenant_id: string;
|
|
7663
|
+
trade_item_floriday_id?: string | null;
|
|
7664
|
+
units_per_package?: number | null;
|
|
7665
|
+
updated_at?: string;
|
|
7666
|
+
};
|
|
7667
|
+
Update: {
|
|
7668
|
+
created_at?: string;
|
|
7669
|
+
id?: string;
|
|
7670
|
+
is_package?: boolean;
|
|
7671
|
+
layers_per_load_carrier?: number | null;
|
|
7672
|
+
load_carrier?: string | null;
|
|
7673
|
+
package_id?: string | null;
|
|
7674
|
+
package_label?: string | null;
|
|
7675
|
+
packages_per_layer?: number | null;
|
|
7676
|
+
product_id?: string | null;
|
|
7677
|
+
tenant_id?: string;
|
|
7678
|
+
trade_item_floriday_id?: string | null;
|
|
7679
|
+
units_per_package?: number | null;
|
|
7680
|
+
updated_at?: string;
|
|
7681
|
+
};
|
|
7682
|
+
Relationships: [{
|
|
7683
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
7684
|
+
columns: ["package_id"];
|
|
7685
|
+
isOneToOne: false;
|
|
7686
|
+
referencedRelation: "packages";
|
|
7687
|
+
referencedColumns: ["id"];
|
|
7688
|
+
}, {
|
|
7689
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
7690
|
+
columns: ["product_id"];
|
|
7691
|
+
isOneToOne: false;
|
|
7692
|
+
referencedRelation: "products";
|
|
7693
|
+
referencedColumns: ["id"];
|
|
7694
|
+
}];
|
|
7320
7695
|
};
|
|
7321
7696
|
products: {
|
|
7322
7697
|
Row: {
|
|
7698
|
+
article_number: string | null;
|
|
7323
7699
|
barcode: string | null;
|
|
7324
7700
|
batch: string;
|
|
7325
7701
|
crates_per_layer: number;
|
|
@@ -7343,6 +7719,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
7343
7719
|
weight: string | null;
|
|
7344
7720
|
};
|
|
7345
7721
|
Insert: {
|
|
7722
|
+
article_number?: string | null;
|
|
7346
7723
|
barcode?: string | null;
|
|
7347
7724
|
batch: string;
|
|
7348
7725
|
crates_per_layer?: number;
|
|
@@ -7366,6 +7743,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
7366
7743
|
weight?: string | null;
|
|
7367
7744
|
};
|
|
7368
7745
|
Update: {
|
|
7746
|
+
article_number?: string | null;
|
|
7369
7747
|
barcode?: string | null;
|
|
7370
7748
|
batch?: string;
|
|
7371
7749
|
crates_per_layer?: number;
|
|
@@ -8279,8 +8657,10 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
8279
8657
|
order_id: string | null;
|
|
8280
8658
|
order_item_id: string | null;
|
|
8281
8659
|
order_source: string | null;
|
|
8660
|
+
parent_trade_item_key: string | null;
|
|
8282
8661
|
physical_after: number | null;
|
|
8283
8662
|
physical_before: number | null;
|
|
8663
|
+
production_batch_id: string | null;
|
|
8284
8664
|
qty_delta: number;
|
|
8285
8665
|
reason: string | null;
|
|
8286
8666
|
reserved_after: number | null;
|
|
@@ -8296,8 +8676,10 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
8296
8676
|
order_id?: string | null;
|
|
8297
8677
|
order_item_id?: string | null;
|
|
8298
8678
|
order_source?: string | null;
|
|
8679
|
+
parent_trade_item_key?: string | null;
|
|
8299
8680
|
physical_after?: number | null;
|
|
8300
8681
|
physical_before?: number | null;
|
|
8682
|
+
production_batch_id?: string | null;
|
|
8301
8683
|
qty_delta: number;
|
|
8302
8684
|
reason?: string | null;
|
|
8303
8685
|
reserved_after?: number | null;
|
|
@@ -8313,8 +8695,10 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
8313
8695
|
order_id?: string | null;
|
|
8314
8696
|
order_item_id?: string | null;
|
|
8315
8697
|
order_source?: string | null;
|
|
8698
|
+
parent_trade_item_key?: string | null;
|
|
8316
8699
|
physical_after?: number | null;
|
|
8317
8700
|
physical_before?: number | null;
|
|
8701
|
+
production_batch_id?: string | null;
|
|
8318
8702
|
qty_delta?: number;
|
|
8319
8703
|
reason?: string | null;
|
|
8320
8704
|
reserved_after?: number | null;
|
|
@@ -8773,7 +9157,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
8773
9157
|
twinfield_connections: {
|
|
8774
9158
|
Row: {
|
|
8775
9159
|
access_token: string | null;
|
|
8776
|
-
client_id: string;
|
|
9160
|
+
client_id: string | null;
|
|
8777
9161
|
client_secret: string | null;
|
|
8778
9162
|
cluster_uri: string | null;
|
|
8779
9163
|
company_code: string | null;
|
|
@@ -8785,7 +9169,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
8785
9169
|
is_active: boolean;
|
|
8786
9170
|
label: string | null;
|
|
8787
9171
|
office_code: string | null;
|
|
8788
|
-
redirect_uri: string;
|
|
9172
|
+
redirect_uri: string | null;
|
|
8789
9173
|
refresh_token: string | null;
|
|
8790
9174
|
token_expires_at: string | null;
|
|
8791
9175
|
updated_at: string;
|
|
@@ -8793,7 +9177,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
8793
9177
|
};
|
|
8794
9178
|
Insert: {
|
|
8795
9179
|
access_token?: string | null;
|
|
8796
|
-
client_id
|
|
9180
|
+
client_id?: string | null;
|
|
8797
9181
|
client_secret?: string | null;
|
|
8798
9182
|
cluster_uri?: string | null;
|
|
8799
9183
|
company_code?: string | null;
|
|
@@ -8805,7 +9189,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
8805
9189
|
is_active?: boolean;
|
|
8806
9190
|
label?: string | null;
|
|
8807
9191
|
office_code?: string | null;
|
|
8808
|
-
redirect_uri
|
|
9192
|
+
redirect_uri?: string | null;
|
|
8809
9193
|
refresh_token?: string | null;
|
|
8810
9194
|
token_expires_at?: string | null;
|
|
8811
9195
|
updated_at?: string;
|
|
@@ -8813,7 +9197,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
8813
9197
|
};
|
|
8814
9198
|
Update: {
|
|
8815
9199
|
access_token?: string | null;
|
|
8816
|
-
client_id?: string;
|
|
9200
|
+
client_id?: string | null;
|
|
8817
9201
|
client_secret?: string | null;
|
|
8818
9202
|
cluster_uri?: string | null;
|
|
8819
9203
|
company_code?: string | null;
|
|
@@ -8825,7 +9209,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
8825
9209
|
is_active?: boolean;
|
|
8826
9210
|
label?: string | null;
|
|
8827
9211
|
office_code?: string | null;
|
|
8828
|
-
redirect_uri?: string;
|
|
9212
|
+
redirect_uri?: string | null;
|
|
8829
9213
|
refresh_token?: string | null;
|
|
8830
9214
|
token_expires_at?: string | null;
|
|
8831
9215
|
updated_at?: string;
|
|
@@ -10020,25 +10404,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
10020
10404
|
};
|
|
10021
10405
|
Relationships: [];
|
|
10022
10406
|
};
|
|
10023
|
-
floriday_customer_discounts: {
|
|
10024
|
-
Row: {
|
|
10025
|
-
base_price: number | null;
|
|
10026
|
-
buyer_organization_id: string | null;
|
|
10027
|
-
currency: string | null;
|
|
10028
|
-
discount_type: string | null;
|
|
10029
|
-
discount_value: number | null;
|
|
10030
|
-
min_quantity: number | null;
|
|
10031
|
-
net_price: number | null;
|
|
10032
|
-
product_group_id: string | null;
|
|
10033
|
-
raw: import("../integrations/supabase/types").Json | null;
|
|
10034
|
-
source: string | null;
|
|
10035
|
-
source_id: string | null;
|
|
10036
|
-
trade_item_id: string | null;
|
|
10037
|
-
valid_from: string | null;
|
|
10038
|
-
valid_until: string | null;
|
|
10039
|
-
};
|
|
10040
|
-
Relationships: [];
|
|
10041
|
-
};
|
|
10042
10407
|
local_customer_discounts: {
|
|
10043
10408
|
Row: {
|
|
10044
10409
|
base_price: number | null;
|
|
@@ -10457,6 +10822,28 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
10457
10822
|
Args: never;
|
|
10458
10823
|
Returns: undefined;
|
|
10459
10824
|
};
|
|
10825
|
+
consume_bom_for_production: {
|
|
10826
|
+
Args: {
|
|
10827
|
+
p_connection_id: string;
|
|
10828
|
+
p_parent_id: string;
|
|
10829
|
+
p_parent_key: string;
|
|
10830
|
+
p_parent_kind: string;
|
|
10831
|
+
p_quantity: number;
|
|
10832
|
+
p_user_id: string;
|
|
10833
|
+
};
|
|
10834
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10835
|
+
} | {
|
|
10836
|
+
Args: {
|
|
10837
|
+
p_batch_id?: string;
|
|
10838
|
+
p_connection_id: string;
|
|
10839
|
+
p_parent_id: string;
|
|
10840
|
+
p_parent_key: string;
|
|
10841
|
+
p_parent_kind: string;
|
|
10842
|
+
p_quantity: number;
|
|
10843
|
+
p_user_id: string;
|
|
10844
|
+
};
|
|
10845
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10846
|
+
};
|
|
10460
10847
|
consume_floriday_rate_limit: {
|
|
10461
10848
|
Args: {
|
|
10462
10849
|
p_bucket: string;
|
|
@@ -10508,6 +10895,13 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
10508
10895
|
table_name: string;
|
|
10509
10896
|
}[];
|
|
10510
10897
|
};
|
|
10898
|
+
delete_samenstelling: {
|
|
10899
|
+
Args: {
|
|
10900
|
+
p_parent_id: string;
|
|
10901
|
+
p_parent_kind: string;
|
|
10902
|
+
};
|
|
10903
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10904
|
+
};
|
|
10511
10905
|
dispatch_carrier_signups_sql: {
|
|
10512
10906
|
Args: {
|
|
10513
10907
|
_catchup?: string;
|
|
@@ -10668,19 +11062,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
10668
11062
|
resource: string;
|
|
10669
11063
|
}[];
|
|
10670
11064
|
};
|
|
10671
|
-
get_floriday_agreements_active: {
|
|
10672
|
-
Args: {
|
|
10673
|
-
p_on_date?: string;
|
|
10674
|
-
};
|
|
10675
|
-
Returns: {
|
|
10676
|
-
buyer_organization_id: string;
|
|
10677
|
-
data: import("../integrations/supabase/types").Json;
|
|
10678
|
-
floriday_id: string;
|
|
10679
|
-
status: string;
|
|
10680
|
-
valid_from: string;
|
|
10681
|
-
valid_until: string;
|
|
10682
|
-
}[];
|
|
10683
|
-
};
|
|
10684
11065
|
get_floriday_clock_supplies_window: {
|
|
10685
11066
|
Args: {
|
|
10686
11067
|
p_from: string;
|
|
@@ -10753,6 +11134,21 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
10753
11134
|
minutes_since_success: number;
|
|
10754
11135
|
}[];
|
|
10755
11136
|
};
|
|
11137
|
+
get_group_allocation_keys: {
|
|
11138
|
+
Args: {
|
|
11139
|
+
p_product_id: string;
|
|
11140
|
+
};
|
|
11141
|
+
Returns: {
|
|
11142
|
+
k: string;
|
|
11143
|
+
ord: number;
|
|
11144
|
+
}[];
|
|
11145
|
+
};
|
|
11146
|
+
get_group_head_key: {
|
|
11147
|
+
Args: {
|
|
11148
|
+
p_group_id: string;
|
|
11149
|
+
};
|
|
11150
|
+
Returns: string;
|
|
11151
|
+
};
|
|
10756
11152
|
get_offer_by_link_code: {
|
|
10757
11153
|
Args: {
|
|
10758
11154
|
p_code: string;
|
|
@@ -10863,6 +11259,18 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
10863
11259
|
};
|
|
10864
11260
|
Returns: undefined;
|
|
10865
11261
|
};
|
|
11262
|
+
mark_shipment_shipped: {
|
|
11263
|
+
Args: {
|
|
11264
|
+
p_shipment_id: string;
|
|
11265
|
+
};
|
|
11266
|
+
Returns: undefined;
|
|
11267
|
+
};
|
|
11268
|
+
next_manufacture_partij: {
|
|
11269
|
+
Args: {
|
|
11270
|
+
_tenant_id: string;
|
|
11271
|
+
};
|
|
11272
|
+
Returns: string;
|
|
11273
|
+
};
|
|
10866
11274
|
next_order_number: {
|
|
10867
11275
|
Args: {
|
|
10868
11276
|
p_prefix: string;
|
|
@@ -10941,6 +11349,14 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
10941
11349
|
};
|
|
10942
11350
|
Returns: undefined;
|
|
10943
11351
|
};
|
|
11352
|
+
produce_designed_product: {
|
|
11353
|
+
Args: {
|
|
11354
|
+
p_parent_id: string;
|
|
11355
|
+
p_parent_kind: string;
|
|
11356
|
+
p_quantity: number;
|
|
11357
|
+
};
|
|
11358
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
11359
|
+
};
|
|
10944
11360
|
promote_trade_item_key: {
|
|
10945
11361
|
Args: {
|
|
10946
11362
|
p_new: string;
|
|
@@ -10948,6 +11364,10 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
10948
11364
|
};
|
|
10949
11365
|
Returns: undefined;
|
|
10950
11366
|
};
|
|
11367
|
+
recompute_all_reserved_stock: {
|
|
11368
|
+
Args: never;
|
|
11369
|
+
Returns: undefined;
|
|
11370
|
+
};
|
|
10951
11371
|
recompute_order_status: {
|
|
10952
11372
|
Args: {
|
|
10953
11373
|
p_order_id: string;
|
|
@@ -10997,27 +11417,45 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
|
|
|
10997
11417
|
};
|
|
10998
11418
|
Returns: undefined;
|
|
10999
11419
|
};
|
|
11420
|
+
resolve_group_allocation: {
|
|
11421
|
+
Args: {
|
|
11422
|
+
_needed: number;
|
|
11423
|
+
_product_group_id: string;
|
|
11424
|
+
};
|
|
11425
|
+
Returns: {
|
|
11426
|
+
allocated: number;
|
|
11427
|
+
trade_item_id: string;
|
|
11428
|
+
}[];
|
|
11429
|
+
};
|
|
11430
|
+
resolve_group_member_stock_key: {
|
|
11431
|
+
Args: {
|
|
11432
|
+
p_trade_item_id: string;
|
|
11433
|
+
};
|
|
11434
|
+
Returns: string;
|
|
11435
|
+
};
|
|
11000
11436
|
resolve_product_id_for_item: {
|
|
11001
11437
|
Args: {
|
|
11002
11438
|
p_product_name: string;
|
|
11003
11439
|
};
|
|
11004
11440
|
Returns: string;
|
|
11005
11441
|
};
|
|
11006
|
-
|
|
11442
|
+
resolve_stock_trade_item_key: {
|
|
11007
11443
|
Args: {
|
|
11008
|
-
|
|
11009
|
-
p_url: string;
|
|
11444
|
+
p_product_id: string;
|
|
11010
11445
|
};
|
|
11011
|
-
Returns:
|
|
11446
|
+
Returns: string;
|
|
11012
11447
|
};
|
|
11013
|
-
|
|
11448
|
+
reverse_production: {
|
|
11014
11449
|
Args: {
|
|
11015
|
-
|
|
11016
|
-
|
|
11450
|
+
p_connection_id?: string;
|
|
11451
|
+
p_parent_key: string;
|
|
11452
|
+
p_quantity: number;
|
|
11453
|
+
p_reason?: string;
|
|
11454
|
+
p_user_id?: string;
|
|
11017
11455
|
};
|
|
11018
|
-
Returns:
|
|
11456
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
11019
11457
|
};
|
|
11020
|
-
|
|
11458
|
+
schedule_floriday_additional_services_sync: {
|
|
11021
11459
|
Args: {
|
|
11022
11460
|
p_apikey: string;
|
|
11023
11461
|
p_url: string;
|