@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
|
@@ -246,6 +246,165 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
246
246
|
};
|
|
247
247
|
Relationships: [];
|
|
248
248
|
};
|
|
249
|
+
ai_credentials: {
|
|
250
|
+
Row: {
|
|
251
|
+
active: boolean;
|
|
252
|
+
api_key: string;
|
|
253
|
+
created_at: string;
|
|
254
|
+
created_by: string | null;
|
|
255
|
+
id: string;
|
|
256
|
+
label: string;
|
|
257
|
+
provider_id: string;
|
|
258
|
+
updated_at: string;
|
|
259
|
+
};
|
|
260
|
+
Insert: {
|
|
261
|
+
active?: boolean;
|
|
262
|
+
api_key: string;
|
|
263
|
+
created_at?: string;
|
|
264
|
+
created_by?: string | null;
|
|
265
|
+
id?: string;
|
|
266
|
+
label: string;
|
|
267
|
+
provider_id: string;
|
|
268
|
+
updated_at?: string;
|
|
269
|
+
};
|
|
270
|
+
Update: {
|
|
271
|
+
active?: boolean;
|
|
272
|
+
api_key?: string;
|
|
273
|
+
created_at?: string;
|
|
274
|
+
created_by?: string | null;
|
|
275
|
+
id?: string;
|
|
276
|
+
label?: string;
|
|
277
|
+
provider_id?: string;
|
|
278
|
+
updated_at?: string;
|
|
279
|
+
};
|
|
280
|
+
Relationships: [{
|
|
281
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
282
|
+
columns: ["provider_id"];
|
|
283
|
+
isOneToOne: false;
|
|
284
|
+
referencedRelation: "ai_providers";
|
|
285
|
+
referencedColumns: ["id"];
|
|
286
|
+
}];
|
|
287
|
+
};
|
|
288
|
+
ai_models: {
|
|
289
|
+
Row: {
|
|
290
|
+
active: boolean;
|
|
291
|
+
context_window: number | null;
|
|
292
|
+
created_at: string;
|
|
293
|
+
display_name: string;
|
|
294
|
+
id: string;
|
|
295
|
+
is_default: boolean;
|
|
296
|
+
modality: string;
|
|
297
|
+
provider_id: string;
|
|
298
|
+
slug: string;
|
|
299
|
+
updated_at: string;
|
|
300
|
+
};
|
|
301
|
+
Insert: {
|
|
302
|
+
active?: boolean;
|
|
303
|
+
context_window?: number | null;
|
|
304
|
+
created_at?: string;
|
|
305
|
+
display_name: string;
|
|
306
|
+
id?: string;
|
|
307
|
+
is_default?: boolean;
|
|
308
|
+
modality?: string;
|
|
309
|
+
provider_id: string;
|
|
310
|
+
slug: string;
|
|
311
|
+
updated_at?: string;
|
|
312
|
+
};
|
|
313
|
+
Update: {
|
|
314
|
+
active?: boolean;
|
|
315
|
+
context_window?: number | null;
|
|
316
|
+
created_at?: string;
|
|
317
|
+
display_name?: string;
|
|
318
|
+
id?: string;
|
|
319
|
+
is_default?: boolean;
|
|
320
|
+
modality?: string;
|
|
321
|
+
provider_id?: string;
|
|
322
|
+
slug?: string;
|
|
323
|
+
updated_at?: string;
|
|
324
|
+
};
|
|
325
|
+
Relationships: [{
|
|
326
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
327
|
+
columns: ["provider_id"];
|
|
328
|
+
isOneToOne: false;
|
|
329
|
+
referencedRelation: "ai_providers";
|
|
330
|
+
referencedColumns: ["id"];
|
|
331
|
+
}];
|
|
332
|
+
};
|
|
333
|
+
ai_module_bindings: {
|
|
334
|
+
Row: {
|
|
335
|
+
consumer_module_id: string;
|
|
336
|
+
created_at: string;
|
|
337
|
+
credential_id: string;
|
|
338
|
+
id: string;
|
|
339
|
+
model_id: string;
|
|
340
|
+
notes: string | null;
|
|
341
|
+
updated_at: string;
|
|
342
|
+
};
|
|
343
|
+
Insert: {
|
|
344
|
+
consumer_module_id: string;
|
|
345
|
+
created_at?: string;
|
|
346
|
+
credential_id: string;
|
|
347
|
+
id?: string;
|
|
348
|
+
model_id: string;
|
|
349
|
+
notes?: string | null;
|
|
350
|
+
updated_at?: string;
|
|
351
|
+
};
|
|
352
|
+
Update: {
|
|
353
|
+
consumer_module_id?: string;
|
|
354
|
+
created_at?: string;
|
|
355
|
+
credential_id?: string;
|
|
356
|
+
id?: string;
|
|
357
|
+
model_id?: string;
|
|
358
|
+
notes?: string | null;
|
|
359
|
+
updated_at?: string;
|
|
360
|
+
};
|
|
361
|
+
Relationships: [{
|
|
362
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
363
|
+
columns: ["credential_id"];
|
|
364
|
+
isOneToOne: false;
|
|
365
|
+
referencedRelation: "ai_credentials";
|
|
366
|
+
referencedColumns: ["id"];
|
|
367
|
+
}, {
|
|
368
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
369
|
+
columns: ["model_id"];
|
|
370
|
+
isOneToOne: false;
|
|
371
|
+
referencedRelation: "ai_models";
|
|
372
|
+
referencedColumns: ["id"];
|
|
373
|
+
}];
|
|
374
|
+
};
|
|
375
|
+
ai_providers: {
|
|
376
|
+
Row: {
|
|
377
|
+
active: boolean;
|
|
378
|
+
auth_type: string;
|
|
379
|
+
base_url: string | null;
|
|
380
|
+
created_at: string;
|
|
381
|
+
id: string;
|
|
382
|
+
name: string;
|
|
383
|
+
slug: string;
|
|
384
|
+
updated_at: string;
|
|
385
|
+
};
|
|
386
|
+
Insert: {
|
|
387
|
+
active?: boolean;
|
|
388
|
+
auth_type?: string;
|
|
389
|
+
base_url?: string | null;
|
|
390
|
+
created_at?: string;
|
|
391
|
+
id?: string;
|
|
392
|
+
name: string;
|
|
393
|
+
slug: string;
|
|
394
|
+
updated_at?: string;
|
|
395
|
+
};
|
|
396
|
+
Update: {
|
|
397
|
+
active?: boolean;
|
|
398
|
+
auth_type?: string;
|
|
399
|
+
base_url?: string | null;
|
|
400
|
+
created_at?: string;
|
|
401
|
+
id?: string;
|
|
402
|
+
name?: string;
|
|
403
|
+
slug?: string;
|
|
404
|
+
updated_at?: string;
|
|
405
|
+
};
|
|
406
|
+
Relationships: [];
|
|
407
|
+
};
|
|
249
408
|
app_settings: {
|
|
250
409
|
Row: {
|
|
251
410
|
created_at: string;
|
|
@@ -3252,105 +3411,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
3252
3411
|
referencedColumns: ["id"];
|
|
3253
3412
|
}];
|
|
3254
3413
|
};
|
|
3255
|
-
floriday_agreement_calloffs_cache: {
|
|
3256
|
-
Row: {
|
|
3257
|
-
agreement_id: string | null;
|
|
3258
|
-
connection_id: string;
|
|
3259
|
-
data: import("../integrations/supabase/types").Json;
|
|
3260
|
-
delivery_date: string | null;
|
|
3261
|
-
fetched_at: string;
|
|
3262
|
-
floriday_id: string;
|
|
3263
|
-
id: string;
|
|
3264
|
-
is_deleted: boolean;
|
|
3265
|
-
sequence_number: number;
|
|
3266
|
-
status: string | null;
|
|
3267
|
-
updated_at: string;
|
|
3268
|
-
};
|
|
3269
|
-
Insert: {
|
|
3270
|
-
agreement_id?: string | null;
|
|
3271
|
-
connection_id: string;
|
|
3272
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3273
|
-
delivery_date?: string | null;
|
|
3274
|
-
fetched_at?: string;
|
|
3275
|
-
floriday_id: string;
|
|
3276
|
-
id?: string;
|
|
3277
|
-
is_deleted?: boolean;
|
|
3278
|
-
sequence_number?: number;
|
|
3279
|
-
status?: string | null;
|
|
3280
|
-
updated_at?: string;
|
|
3281
|
-
};
|
|
3282
|
-
Update: {
|
|
3283
|
-
agreement_id?: string | null;
|
|
3284
|
-
connection_id?: string;
|
|
3285
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3286
|
-
delivery_date?: string | null;
|
|
3287
|
-
fetched_at?: string;
|
|
3288
|
-
floriday_id?: string;
|
|
3289
|
-
id?: string;
|
|
3290
|
-
is_deleted?: boolean;
|
|
3291
|
-
sequence_number?: number;
|
|
3292
|
-
status?: string | null;
|
|
3293
|
-
updated_at?: string;
|
|
3294
|
-
};
|
|
3295
|
-
Relationships: [{
|
|
3296
|
-
foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
|
|
3297
|
-
columns: ["connection_id"];
|
|
3298
|
-
isOneToOne: false;
|
|
3299
|
-
referencedRelation: "floriday_connections";
|
|
3300
|
-
referencedColumns: ["id"];
|
|
3301
|
-
}];
|
|
3302
|
-
};
|
|
3303
|
-
floriday_agreements_cache: {
|
|
3304
|
-
Row: {
|
|
3305
|
-
buyer_organization_id: string | null;
|
|
3306
|
-
connection_id: string;
|
|
3307
|
-
data: import("../integrations/supabase/types").Json;
|
|
3308
|
-
fetched_at: string;
|
|
3309
|
-
floriday_id: string;
|
|
3310
|
-
id: string;
|
|
3311
|
-
is_deleted: boolean;
|
|
3312
|
-
sequence_number: number;
|
|
3313
|
-
status: string | null;
|
|
3314
|
-
updated_at: string;
|
|
3315
|
-
valid_from: string | null;
|
|
3316
|
-
valid_until: string | null;
|
|
3317
|
-
};
|
|
3318
|
-
Insert: {
|
|
3319
|
-
buyer_organization_id?: string | null;
|
|
3320
|
-
connection_id: string;
|
|
3321
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3322
|
-
fetched_at?: string;
|
|
3323
|
-
floriday_id: string;
|
|
3324
|
-
id?: string;
|
|
3325
|
-
is_deleted?: boolean;
|
|
3326
|
-
sequence_number?: number;
|
|
3327
|
-
status?: string | null;
|
|
3328
|
-
updated_at?: string;
|
|
3329
|
-
valid_from?: string | null;
|
|
3330
|
-
valid_until?: string | null;
|
|
3331
|
-
};
|
|
3332
|
-
Update: {
|
|
3333
|
-
buyer_organization_id?: string | null;
|
|
3334
|
-
connection_id?: string;
|
|
3335
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3336
|
-
fetched_at?: string;
|
|
3337
|
-
floriday_id?: string;
|
|
3338
|
-
id?: string;
|
|
3339
|
-
is_deleted?: boolean;
|
|
3340
|
-
sequence_number?: number;
|
|
3341
|
-
status?: string | null;
|
|
3342
|
-
updated_at?: string;
|
|
3343
|
-
valid_from?: string | null;
|
|
3344
|
-
valid_until?: string | null;
|
|
3345
|
-
};
|
|
3346
|
-
Relationships: [{
|
|
3347
|
-
foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
|
|
3348
|
-
columns: ["connection_id"];
|
|
3349
|
-
isOneToOne: false;
|
|
3350
|
-
referencedRelation: "floriday_connections";
|
|
3351
|
-
referencedColumns: ["id"];
|
|
3352
|
-
}];
|
|
3353
|
-
};
|
|
3354
3414
|
floriday_auction_letters_cache: {
|
|
3355
3415
|
Row: {
|
|
3356
3416
|
auction_letter_code: string;
|
|
@@ -3849,6 +3909,27 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
3849
3909
|
referencedColumns: ["id"];
|
|
3850
3910
|
}];
|
|
3851
3911
|
};
|
|
3912
|
+
floriday_continuous_stock_cache: {
|
|
3913
|
+
Row: {
|
|
3914
|
+
connection_id: string;
|
|
3915
|
+
fetched_at: string;
|
|
3916
|
+
number_of_pieces: number;
|
|
3917
|
+
trade_item_id: string;
|
|
3918
|
+
};
|
|
3919
|
+
Insert: {
|
|
3920
|
+
connection_id: string;
|
|
3921
|
+
fetched_at?: string;
|
|
3922
|
+
number_of_pieces?: number;
|
|
3923
|
+
trade_item_id: string;
|
|
3924
|
+
};
|
|
3925
|
+
Update: {
|
|
3926
|
+
connection_id?: string;
|
|
3927
|
+
fetched_at?: string;
|
|
3928
|
+
number_of_pieces?: number;
|
|
3929
|
+
trade_item_id?: string;
|
|
3930
|
+
};
|
|
3931
|
+
Relationships: [];
|
|
3932
|
+
};
|
|
3852
3933
|
floriday_continuous_stock_queue: {
|
|
3853
3934
|
Row: {
|
|
3854
3935
|
attempts: number;
|
|
@@ -4827,9 +4908,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
4827
4908
|
referencedColumns: ["id"];
|
|
4828
4909
|
}];
|
|
4829
4910
|
};
|
|
4830
|
-
|
|
4911
|
+
floriday_trade_settings_customers_cache: {
|
|
4831
4912
|
Row: {
|
|
4832
|
-
carrier_organization_id: string | null;
|
|
4833
4913
|
connection_id: string;
|
|
4834
4914
|
data: import("../integrations/supabase/types").Json;
|
|
4835
4915
|
fetched_at: string;
|
|
@@ -4837,25 +4917,19 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
4837
4917
|
id: string;
|
|
4838
4918
|
is_deleted: boolean;
|
|
4839
4919
|
sequence_number: number;
|
|
4840
|
-
status: string | null;
|
|
4841
|
-
trip_date: string | null;
|
|
4842
4920
|
updated_at: string;
|
|
4843
4921
|
};
|
|
4844
4922
|
Insert: {
|
|
4845
|
-
carrier_organization_id?: string | null;
|
|
4846
4923
|
connection_id: string;
|
|
4847
|
-
data
|
|
4924
|
+
data: import("../integrations/supabase/types").Json;
|
|
4848
4925
|
fetched_at?: string;
|
|
4849
4926
|
floriday_id: string;
|
|
4850
4927
|
id?: string;
|
|
4851
4928
|
is_deleted?: boolean;
|
|
4852
4929
|
sequence_number?: number;
|
|
4853
|
-
status?: string | null;
|
|
4854
|
-
trip_date?: string | null;
|
|
4855
4930
|
updated_at?: string;
|
|
4856
4931
|
};
|
|
4857
4932
|
Update: {
|
|
4858
|
-
carrier_organization_id?: string | null;
|
|
4859
4933
|
connection_id?: string;
|
|
4860
4934
|
data?: import("../integrations/supabase/types").Json;
|
|
4861
4935
|
fetched_at?: string;
|
|
@@ -4863,31 +4937,77 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
4863
4937
|
id?: string;
|
|
4864
4938
|
is_deleted?: boolean;
|
|
4865
4939
|
sequence_number?: number;
|
|
4866
|
-
status?: string | null;
|
|
4867
|
-
trip_date?: string | null;
|
|
4868
4940
|
updated_at?: string;
|
|
4869
4941
|
};
|
|
4870
4942
|
Relationships: [{
|
|
4871
|
-
foreignKeyName: "
|
|
4943
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
4872
4944
|
columns: ["connection_id"];
|
|
4873
4945
|
isOneToOne: false;
|
|
4874
4946
|
referencedRelation: "floriday_connections";
|
|
4875
4947
|
referencedColumns: ["id"];
|
|
4876
4948
|
}];
|
|
4877
4949
|
};
|
|
4878
|
-
|
|
4950
|
+
floriday_trips_cache: {
|
|
4879
4951
|
Row: {
|
|
4952
|
+
carrier_organization_id: string | null;
|
|
4880
4953
|
connection_id: string;
|
|
4881
4954
|
data: import("../integrations/supabase/types").Json;
|
|
4882
4955
|
fetched_at: string;
|
|
4883
4956
|
floriday_id: string;
|
|
4884
|
-
gln_code: string | null;
|
|
4885
4957
|
id: string;
|
|
4886
|
-
is_default: boolean;
|
|
4887
4958
|
is_deleted: boolean;
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4959
|
+
sequence_number: number;
|
|
4960
|
+
status: string | null;
|
|
4961
|
+
trip_date: string | null;
|
|
4962
|
+
updated_at: string;
|
|
4963
|
+
};
|
|
4964
|
+
Insert: {
|
|
4965
|
+
carrier_organization_id?: string | null;
|
|
4966
|
+
connection_id: string;
|
|
4967
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4968
|
+
fetched_at?: string;
|
|
4969
|
+
floriday_id: string;
|
|
4970
|
+
id?: string;
|
|
4971
|
+
is_deleted?: boolean;
|
|
4972
|
+
sequence_number?: number;
|
|
4973
|
+
status?: string | null;
|
|
4974
|
+
trip_date?: string | null;
|
|
4975
|
+
updated_at?: string;
|
|
4976
|
+
};
|
|
4977
|
+
Update: {
|
|
4978
|
+
carrier_organization_id?: string | null;
|
|
4979
|
+
connection_id?: string;
|
|
4980
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4981
|
+
fetched_at?: string;
|
|
4982
|
+
floriday_id?: string;
|
|
4983
|
+
id?: string;
|
|
4984
|
+
is_deleted?: boolean;
|
|
4985
|
+
sequence_number?: number;
|
|
4986
|
+
status?: string | null;
|
|
4987
|
+
trip_date?: string | null;
|
|
4988
|
+
updated_at?: string;
|
|
4989
|
+
};
|
|
4990
|
+
Relationships: [{
|
|
4991
|
+
foreignKeyName: "floriday_trips_cache_connection_id_fkey";
|
|
4992
|
+
columns: ["connection_id"];
|
|
4993
|
+
isOneToOne: false;
|
|
4994
|
+
referencedRelation: "floriday_connections";
|
|
4995
|
+
referencedColumns: ["id"];
|
|
4996
|
+
}];
|
|
4997
|
+
};
|
|
4998
|
+
floriday_warehouses_cache: {
|
|
4999
|
+
Row: {
|
|
5000
|
+
connection_id: string;
|
|
5001
|
+
data: import("../integrations/supabase/types").Json;
|
|
5002
|
+
fetched_at: string;
|
|
5003
|
+
floriday_id: string;
|
|
5004
|
+
gln_code: string | null;
|
|
5005
|
+
id: string;
|
|
5006
|
+
is_default: boolean;
|
|
5007
|
+
is_deleted: boolean;
|
|
5008
|
+
name: string | null;
|
|
5009
|
+
updated_at: string;
|
|
5010
|
+
};
|
|
4891
5011
|
Insert: {
|
|
4892
5012
|
connection_id: string;
|
|
4893
5013
|
data?: import("../integrations/supabase/types").Json;
|
|
@@ -5972,39 +6092,60 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
5972
6092
|
};
|
|
5973
6093
|
manufacture_products: {
|
|
5974
6094
|
Row: {
|
|
6095
|
+
aantal_te_produceren: number;
|
|
5975
6096
|
created_at: string;
|
|
5976
6097
|
description: string | null;
|
|
5977
6098
|
id: string;
|
|
5978
6099
|
is_active: boolean;
|
|
6100
|
+
location_id: string | null;
|
|
5979
6101
|
name: string;
|
|
6102
|
+
partij_nummer: string | null;
|
|
6103
|
+
photos: import("../integrations/supabase/types").Json;
|
|
5980
6104
|
produced_stock: number;
|
|
5981
6105
|
product_code: string;
|
|
5982
6106
|
tenant_id: string;
|
|
6107
|
+
unit: string;
|
|
5983
6108
|
updated_at: string;
|
|
5984
6109
|
};
|
|
5985
6110
|
Insert: {
|
|
6111
|
+
aantal_te_produceren?: number;
|
|
5986
6112
|
created_at?: string;
|
|
5987
6113
|
description?: string | null;
|
|
5988
6114
|
id?: string;
|
|
5989
6115
|
is_active?: boolean;
|
|
6116
|
+
location_id?: string | null;
|
|
5990
6117
|
name: string;
|
|
6118
|
+
partij_nummer?: string | null;
|
|
6119
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
5991
6120
|
produced_stock?: number;
|
|
5992
6121
|
product_code: string;
|
|
5993
6122
|
tenant_id: string;
|
|
6123
|
+
unit?: string;
|
|
5994
6124
|
updated_at?: string;
|
|
5995
6125
|
};
|
|
5996
6126
|
Update: {
|
|
6127
|
+
aantal_te_produceren?: number;
|
|
5997
6128
|
created_at?: string;
|
|
5998
6129
|
description?: string | null;
|
|
5999
6130
|
id?: string;
|
|
6000
6131
|
is_active?: boolean;
|
|
6132
|
+
location_id?: string | null;
|
|
6001
6133
|
name?: string;
|
|
6134
|
+
partij_nummer?: string | null;
|
|
6135
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
6002
6136
|
produced_stock?: number;
|
|
6003
6137
|
product_code?: string;
|
|
6004
6138
|
tenant_id?: string;
|
|
6139
|
+
unit?: string;
|
|
6005
6140
|
updated_at?: string;
|
|
6006
6141
|
};
|
|
6007
|
-
Relationships: [
|
|
6142
|
+
Relationships: [{
|
|
6143
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
6144
|
+
columns: ["location_id"];
|
|
6145
|
+
isOneToOne: false;
|
|
6146
|
+
referencedRelation: "locations";
|
|
6147
|
+
referencedColumns: ["id"];
|
|
6148
|
+
}];
|
|
6008
6149
|
};
|
|
6009
6150
|
monteurs: {
|
|
6010
6151
|
Row: {
|
|
@@ -6978,6 +7119,105 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
6978
7119
|
};
|
|
6979
7120
|
Relationships: [];
|
|
6980
7121
|
};
|
|
7122
|
+
order_shipment_items: {
|
|
7123
|
+
Row: {
|
|
7124
|
+
created_at: string;
|
|
7125
|
+
id: string;
|
|
7126
|
+
order_item_id: string;
|
|
7127
|
+
product_id: string | null;
|
|
7128
|
+
product_name: string;
|
|
7129
|
+
quantity: number;
|
|
7130
|
+
shipment_id: string;
|
|
7131
|
+
updated_at: string;
|
|
7132
|
+
};
|
|
7133
|
+
Insert: {
|
|
7134
|
+
created_at?: string;
|
|
7135
|
+
id?: string;
|
|
7136
|
+
order_item_id: string;
|
|
7137
|
+
product_id?: string | null;
|
|
7138
|
+
product_name: string;
|
|
7139
|
+
quantity: number;
|
|
7140
|
+
shipment_id: string;
|
|
7141
|
+
updated_at?: string;
|
|
7142
|
+
};
|
|
7143
|
+
Update: {
|
|
7144
|
+
created_at?: string;
|
|
7145
|
+
id?: string;
|
|
7146
|
+
order_item_id?: string;
|
|
7147
|
+
product_id?: string | null;
|
|
7148
|
+
product_name?: string;
|
|
7149
|
+
quantity?: number;
|
|
7150
|
+
shipment_id?: string;
|
|
7151
|
+
updated_at?: string;
|
|
7152
|
+
};
|
|
7153
|
+
Relationships: [{
|
|
7154
|
+
foreignKeyName: "order_shipment_items_order_item_id_fkey";
|
|
7155
|
+
columns: ["order_item_id"];
|
|
7156
|
+
isOneToOne: false;
|
|
7157
|
+
referencedRelation: "order_items";
|
|
7158
|
+
referencedColumns: ["id"];
|
|
7159
|
+
}, {
|
|
7160
|
+
foreignKeyName: "order_shipment_items_shipment_id_fkey";
|
|
7161
|
+
columns: ["shipment_id"];
|
|
7162
|
+
isOneToOne: false;
|
|
7163
|
+
referencedRelation: "order_shipments";
|
|
7164
|
+
referencedColumns: ["id"];
|
|
7165
|
+
}];
|
|
7166
|
+
};
|
|
7167
|
+
order_shipments: {
|
|
7168
|
+
Row: {
|
|
7169
|
+
carrier_id: string | null;
|
|
7170
|
+
created_at: string;
|
|
7171
|
+
delivery_date: string | null;
|
|
7172
|
+
delivery_location_id: string | null;
|
|
7173
|
+
id: string;
|
|
7174
|
+
notes: string | null;
|
|
7175
|
+
order_id: string;
|
|
7176
|
+
shipment_number: number;
|
|
7177
|
+
shipped_at: string | null;
|
|
7178
|
+
status: string;
|
|
7179
|
+
updated_at: string;
|
|
7180
|
+
};
|
|
7181
|
+
Insert: {
|
|
7182
|
+
carrier_id?: string | null;
|
|
7183
|
+
created_at?: string;
|
|
7184
|
+
delivery_date?: string | null;
|
|
7185
|
+
delivery_location_id?: string | null;
|
|
7186
|
+
id?: string;
|
|
7187
|
+
notes?: string | null;
|
|
7188
|
+
order_id: string;
|
|
7189
|
+
shipment_number: number;
|
|
7190
|
+
shipped_at?: string | null;
|
|
7191
|
+
status?: string;
|
|
7192
|
+
updated_at?: string;
|
|
7193
|
+
};
|
|
7194
|
+
Update: {
|
|
7195
|
+
carrier_id?: string | null;
|
|
7196
|
+
created_at?: string;
|
|
7197
|
+
delivery_date?: string | null;
|
|
7198
|
+
delivery_location_id?: string | null;
|
|
7199
|
+
id?: string;
|
|
7200
|
+
notes?: string | null;
|
|
7201
|
+
order_id?: string;
|
|
7202
|
+
shipment_number?: number;
|
|
7203
|
+
shipped_at?: string | null;
|
|
7204
|
+
status?: string;
|
|
7205
|
+
updated_at?: string;
|
|
7206
|
+
};
|
|
7207
|
+
Relationships: [{
|
|
7208
|
+
foreignKeyName: "order_shipments_carrier_id_fkey";
|
|
7209
|
+
columns: ["carrier_id"];
|
|
7210
|
+
isOneToOne: false;
|
|
7211
|
+
referencedRelation: "carriers";
|
|
7212
|
+
referencedColumns: ["id"];
|
|
7213
|
+
}, {
|
|
7214
|
+
foreignKeyName: "order_shipments_order_id_fkey";
|
|
7215
|
+
columns: ["order_id"];
|
|
7216
|
+
isOneToOne: false;
|
|
7217
|
+
referencedRelation: "orders";
|
|
7218
|
+
referencedColumns: ["id"];
|
|
7219
|
+
}];
|
|
7220
|
+
};
|
|
6981
7221
|
orders: {
|
|
6982
7222
|
Row: {
|
|
6983
7223
|
created_at: string;
|
|
@@ -6985,8 +7225,9 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
6985
7225
|
customer_id: string | null;
|
|
6986
7226
|
customer_name: string;
|
|
6987
7227
|
deleted_at: string | null;
|
|
6988
|
-
delivery_date: string;
|
|
7228
|
+
delivery_date: string | null;
|
|
6989
7229
|
id: string;
|
|
7230
|
+
is_reservation: boolean;
|
|
6990
7231
|
notes: string | null;
|
|
6991
7232
|
order_date: string;
|
|
6992
7233
|
order_number: string;
|
|
@@ -7003,8 +7244,9 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7003
7244
|
customer_id?: string | null;
|
|
7004
7245
|
customer_name?: string;
|
|
7005
7246
|
deleted_at?: string | null;
|
|
7006
|
-
delivery_date
|
|
7247
|
+
delivery_date?: string | null;
|
|
7007
7248
|
id?: string;
|
|
7249
|
+
is_reservation?: boolean;
|
|
7008
7250
|
notes?: string | null;
|
|
7009
7251
|
order_date?: string;
|
|
7010
7252
|
order_number: string;
|
|
@@ -7021,8 +7263,9 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7021
7263
|
customer_id?: string | null;
|
|
7022
7264
|
customer_name?: string;
|
|
7023
7265
|
deleted_at?: string | null;
|
|
7024
|
-
delivery_date?: string;
|
|
7266
|
+
delivery_date?: string | null;
|
|
7025
7267
|
id?: string;
|
|
7268
|
+
is_reservation?: boolean;
|
|
7026
7269
|
notes?: string | null;
|
|
7027
7270
|
order_date?: string;
|
|
7028
7271
|
order_number?: string;
|
|
@@ -7164,6 +7407,63 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7164
7407
|
};
|
|
7165
7408
|
Relationships: [];
|
|
7166
7409
|
};
|
|
7410
|
+
product_bom_items: {
|
|
7411
|
+
Row: {
|
|
7412
|
+
component_product_id: string | null;
|
|
7413
|
+
component_trade_item_floriday_id: string | null;
|
|
7414
|
+
created_at: string;
|
|
7415
|
+
id: string;
|
|
7416
|
+
notes: string | null;
|
|
7417
|
+
parent_product_id: string | null;
|
|
7418
|
+
parent_trade_item_floriday_id: string | null;
|
|
7419
|
+
quantity: number;
|
|
7420
|
+
sort_order: number;
|
|
7421
|
+
tenant_id: string;
|
|
7422
|
+
unit: string;
|
|
7423
|
+
updated_at: string;
|
|
7424
|
+
};
|
|
7425
|
+
Insert: {
|
|
7426
|
+
component_product_id?: string | null;
|
|
7427
|
+
component_trade_item_floriday_id?: string | null;
|
|
7428
|
+
created_at?: string;
|
|
7429
|
+
id?: string;
|
|
7430
|
+
notes?: string | null;
|
|
7431
|
+
parent_product_id?: string | null;
|
|
7432
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7433
|
+
quantity?: number;
|
|
7434
|
+
sort_order?: number;
|
|
7435
|
+
tenant_id: string;
|
|
7436
|
+
unit?: string;
|
|
7437
|
+
updated_at?: string;
|
|
7438
|
+
};
|
|
7439
|
+
Update: {
|
|
7440
|
+
component_product_id?: string | null;
|
|
7441
|
+
component_trade_item_floriday_id?: string | null;
|
|
7442
|
+
created_at?: string;
|
|
7443
|
+
id?: string;
|
|
7444
|
+
notes?: string | null;
|
|
7445
|
+
parent_product_id?: string | null;
|
|
7446
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7447
|
+
quantity?: number;
|
|
7448
|
+
sort_order?: number;
|
|
7449
|
+
tenant_id?: string;
|
|
7450
|
+
unit?: string;
|
|
7451
|
+
updated_at?: string;
|
|
7452
|
+
};
|
|
7453
|
+
Relationships: [{
|
|
7454
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
7455
|
+
columns: ["component_product_id"];
|
|
7456
|
+
isOneToOne: false;
|
|
7457
|
+
referencedRelation: "products";
|
|
7458
|
+
referencedColumns: ["id"];
|
|
7459
|
+
}, {
|
|
7460
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
7461
|
+
columns: ["parent_product_id"];
|
|
7462
|
+
isOneToOne: false;
|
|
7463
|
+
referencedRelation: "products";
|
|
7464
|
+
referencedColumns: ["id"];
|
|
7465
|
+
}];
|
|
7466
|
+
};
|
|
7167
7467
|
product_categories: {
|
|
7168
7468
|
Row: {
|
|
7169
7469
|
color: string;
|
|
@@ -7269,6 +7569,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7269
7569
|
id: string;
|
|
7270
7570
|
product_group_id: string;
|
|
7271
7571
|
quantity: number;
|
|
7572
|
+
sort_order: number;
|
|
7272
7573
|
trade_item_id: string;
|
|
7273
7574
|
};
|
|
7274
7575
|
Insert: {
|
|
@@ -7276,6 +7577,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7276
7577
|
id?: string;
|
|
7277
7578
|
product_group_id: string;
|
|
7278
7579
|
quantity?: number;
|
|
7580
|
+
sort_order?: number;
|
|
7279
7581
|
trade_item_id: string;
|
|
7280
7582
|
};
|
|
7281
7583
|
Update: {
|
|
@@ -7283,6 +7585,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7283
7585
|
id?: string;
|
|
7284
7586
|
product_group_id?: string;
|
|
7285
7587
|
quantity?: number;
|
|
7588
|
+
sort_order?: number;
|
|
7286
7589
|
trade_item_id?: string;
|
|
7287
7590
|
};
|
|
7288
7591
|
Relationships: [{
|
|
@@ -7297,6 +7600,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7297
7600
|
Row: {
|
|
7298
7601
|
created_at: string;
|
|
7299
7602
|
description: string | null;
|
|
7603
|
+
head_product_id: string | null;
|
|
7604
|
+
head_trade_item_floriday_id: string | null;
|
|
7300
7605
|
id: string;
|
|
7301
7606
|
is_active: boolean;
|
|
7302
7607
|
name: string;
|
|
@@ -7306,6 +7611,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7306
7611
|
Insert: {
|
|
7307
7612
|
created_at?: string;
|
|
7308
7613
|
description?: string | null;
|
|
7614
|
+
head_product_id?: string | null;
|
|
7615
|
+
head_trade_item_floriday_id?: string | null;
|
|
7309
7616
|
id?: string;
|
|
7310
7617
|
is_active?: boolean;
|
|
7311
7618
|
name: string;
|
|
@@ -7315,16 +7622,85 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7315
7622
|
Update: {
|
|
7316
7623
|
created_at?: string;
|
|
7317
7624
|
description?: string | null;
|
|
7625
|
+
head_product_id?: string | null;
|
|
7626
|
+
head_trade_item_floriday_id?: string | null;
|
|
7318
7627
|
id?: string;
|
|
7319
7628
|
is_active?: boolean;
|
|
7320
7629
|
name?: string;
|
|
7321
7630
|
tenant_id?: string;
|
|
7322
7631
|
updated_at?: string;
|
|
7323
7632
|
};
|
|
7324
|
-
Relationships: [
|
|
7633
|
+
Relationships: [{
|
|
7634
|
+
foreignKeyName: "product_groups_head_product_id_fkey";
|
|
7635
|
+
columns: ["head_product_id"];
|
|
7636
|
+
isOneToOne: false;
|
|
7637
|
+
referencedRelation: "products";
|
|
7638
|
+
referencedColumns: ["id"];
|
|
7639
|
+
}];
|
|
7640
|
+
};
|
|
7641
|
+
product_load_settings: {
|
|
7642
|
+
Row: {
|
|
7643
|
+
created_at: string;
|
|
7644
|
+
id: string;
|
|
7645
|
+
is_package: boolean;
|
|
7646
|
+
layers_per_load_carrier: number | null;
|
|
7647
|
+
load_carrier: string | null;
|
|
7648
|
+
package_id: string | null;
|
|
7649
|
+
package_label: string | null;
|
|
7650
|
+
packages_per_layer: number | null;
|
|
7651
|
+
product_id: string | null;
|
|
7652
|
+
tenant_id: string;
|
|
7653
|
+
trade_item_floriday_id: string | null;
|
|
7654
|
+
units_per_package: number | null;
|
|
7655
|
+
updated_at: string;
|
|
7656
|
+
};
|
|
7657
|
+
Insert: {
|
|
7658
|
+
created_at?: string;
|
|
7659
|
+
id?: string;
|
|
7660
|
+
is_package?: boolean;
|
|
7661
|
+
layers_per_load_carrier?: number | null;
|
|
7662
|
+
load_carrier?: string | null;
|
|
7663
|
+
package_id?: string | null;
|
|
7664
|
+
package_label?: string | null;
|
|
7665
|
+
packages_per_layer?: number | null;
|
|
7666
|
+
product_id?: string | null;
|
|
7667
|
+
tenant_id: string;
|
|
7668
|
+
trade_item_floriday_id?: string | null;
|
|
7669
|
+
units_per_package?: number | null;
|
|
7670
|
+
updated_at?: string;
|
|
7671
|
+
};
|
|
7672
|
+
Update: {
|
|
7673
|
+
created_at?: string;
|
|
7674
|
+
id?: string;
|
|
7675
|
+
is_package?: boolean;
|
|
7676
|
+
layers_per_load_carrier?: number | null;
|
|
7677
|
+
load_carrier?: string | null;
|
|
7678
|
+
package_id?: string | null;
|
|
7679
|
+
package_label?: string | null;
|
|
7680
|
+
packages_per_layer?: number | null;
|
|
7681
|
+
product_id?: string | null;
|
|
7682
|
+
tenant_id?: string;
|
|
7683
|
+
trade_item_floriday_id?: string | null;
|
|
7684
|
+
units_per_package?: number | null;
|
|
7685
|
+
updated_at?: string;
|
|
7686
|
+
};
|
|
7687
|
+
Relationships: [{
|
|
7688
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
7689
|
+
columns: ["package_id"];
|
|
7690
|
+
isOneToOne: false;
|
|
7691
|
+
referencedRelation: "packages";
|
|
7692
|
+
referencedColumns: ["id"];
|
|
7693
|
+
}, {
|
|
7694
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
7695
|
+
columns: ["product_id"];
|
|
7696
|
+
isOneToOne: false;
|
|
7697
|
+
referencedRelation: "products";
|
|
7698
|
+
referencedColumns: ["id"];
|
|
7699
|
+
}];
|
|
7325
7700
|
};
|
|
7326
7701
|
products: {
|
|
7327
7702
|
Row: {
|
|
7703
|
+
article_number: string | null;
|
|
7328
7704
|
barcode: string | null;
|
|
7329
7705
|
batch: string;
|
|
7330
7706
|
crates_per_layer: number;
|
|
@@ -7348,6 +7724,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7348
7724
|
weight: string | null;
|
|
7349
7725
|
};
|
|
7350
7726
|
Insert: {
|
|
7727
|
+
article_number?: string | null;
|
|
7351
7728
|
barcode?: string | null;
|
|
7352
7729
|
batch: string;
|
|
7353
7730
|
crates_per_layer?: number;
|
|
@@ -7371,6 +7748,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7371
7748
|
weight?: string | null;
|
|
7372
7749
|
};
|
|
7373
7750
|
Update: {
|
|
7751
|
+
article_number?: string | null;
|
|
7374
7752
|
barcode?: string | null;
|
|
7375
7753
|
batch?: string;
|
|
7376
7754
|
crates_per_layer?: number;
|
|
@@ -8284,8 +8662,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
8284
8662
|
order_id: string | null;
|
|
8285
8663
|
order_item_id: string | null;
|
|
8286
8664
|
order_source: string | null;
|
|
8665
|
+
parent_trade_item_key: string | null;
|
|
8287
8666
|
physical_after: number | null;
|
|
8288
8667
|
physical_before: number | null;
|
|
8668
|
+
production_batch_id: string | null;
|
|
8289
8669
|
qty_delta: number;
|
|
8290
8670
|
reason: string | null;
|
|
8291
8671
|
reserved_after: number | null;
|
|
@@ -8301,8 +8681,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
8301
8681
|
order_id?: string | null;
|
|
8302
8682
|
order_item_id?: string | null;
|
|
8303
8683
|
order_source?: string | null;
|
|
8684
|
+
parent_trade_item_key?: string | null;
|
|
8304
8685
|
physical_after?: number | null;
|
|
8305
8686
|
physical_before?: number | null;
|
|
8687
|
+
production_batch_id?: string | null;
|
|
8306
8688
|
qty_delta: number;
|
|
8307
8689
|
reason?: string | null;
|
|
8308
8690
|
reserved_after?: number | null;
|
|
@@ -8318,8 +8700,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
8318
8700
|
order_id?: string | null;
|
|
8319
8701
|
order_item_id?: string | null;
|
|
8320
8702
|
order_source?: string | null;
|
|
8703
|
+
parent_trade_item_key?: string | null;
|
|
8321
8704
|
physical_after?: number | null;
|
|
8322
8705
|
physical_before?: number | null;
|
|
8706
|
+
production_batch_id?: string | null;
|
|
8323
8707
|
qty_delta?: number;
|
|
8324
8708
|
reason?: string | null;
|
|
8325
8709
|
reserved_after?: number | null;
|
|
@@ -8778,7 +9162,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
8778
9162
|
twinfield_connections: {
|
|
8779
9163
|
Row: {
|
|
8780
9164
|
access_token: string | null;
|
|
8781
|
-
client_id: string;
|
|
9165
|
+
client_id: string | null;
|
|
8782
9166
|
client_secret: string | null;
|
|
8783
9167
|
cluster_uri: string | null;
|
|
8784
9168
|
company_code: string | null;
|
|
@@ -8790,7 +9174,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
8790
9174
|
is_active: boolean;
|
|
8791
9175
|
label: string | null;
|
|
8792
9176
|
office_code: string | null;
|
|
8793
|
-
redirect_uri: string;
|
|
9177
|
+
redirect_uri: string | null;
|
|
8794
9178
|
refresh_token: string | null;
|
|
8795
9179
|
token_expires_at: string | null;
|
|
8796
9180
|
updated_at: string;
|
|
@@ -8798,7 +9182,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
8798
9182
|
};
|
|
8799
9183
|
Insert: {
|
|
8800
9184
|
access_token?: string | null;
|
|
8801
|
-
client_id
|
|
9185
|
+
client_id?: string | null;
|
|
8802
9186
|
client_secret?: string | null;
|
|
8803
9187
|
cluster_uri?: string | null;
|
|
8804
9188
|
company_code?: string | null;
|
|
@@ -8810,7 +9194,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
8810
9194
|
is_active?: boolean;
|
|
8811
9195
|
label?: string | null;
|
|
8812
9196
|
office_code?: string | null;
|
|
8813
|
-
redirect_uri
|
|
9197
|
+
redirect_uri?: string | null;
|
|
8814
9198
|
refresh_token?: string | null;
|
|
8815
9199
|
token_expires_at?: string | null;
|
|
8816
9200
|
updated_at?: string;
|
|
@@ -8818,7 +9202,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
8818
9202
|
};
|
|
8819
9203
|
Update: {
|
|
8820
9204
|
access_token?: string | null;
|
|
8821
|
-
client_id?: string;
|
|
9205
|
+
client_id?: string | null;
|
|
8822
9206
|
client_secret?: string | null;
|
|
8823
9207
|
cluster_uri?: string | null;
|
|
8824
9208
|
company_code?: string | null;
|
|
@@ -8830,7 +9214,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
8830
9214
|
is_active?: boolean;
|
|
8831
9215
|
label?: string | null;
|
|
8832
9216
|
office_code?: string | null;
|
|
8833
|
-
redirect_uri?: string;
|
|
9217
|
+
redirect_uri?: string | null;
|
|
8834
9218
|
refresh_token?: string | null;
|
|
8835
9219
|
token_expires_at?: string | null;
|
|
8836
9220
|
updated_at?: string;
|
|
@@ -10025,25 +10409,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
10025
10409
|
};
|
|
10026
10410
|
Relationships: [];
|
|
10027
10411
|
};
|
|
10028
|
-
floriday_customer_discounts: {
|
|
10029
|
-
Row: {
|
|
10030
|
-
base_price: number | null;
|
|
10031
|
-
buyer_organization_id: string | null;
|
|
10032
|
-
currency: string | null;
|
|
10033
|
-
discount_type: string | null;
|
|
10034
|
-
discount_value: number | null;
|
|
10035
|
-
min_quantity: number | null;
|
|
10036
|
-
net_price: number | null;
|
|
10037
|
-
product_group_id: string | null;
|
|
10038
|
-
raw: import("../integrations/supabase/types").Json | null;
|
|
10039
|
-
source: string | null;
|
|
10040
|
-
source_id: string | null;
|
|
10041
|
-
trade_item_id: string | null;
|
|
10042
|
-
valid_from: string | null;
|
|
10043
|
-
valid_until: string | null;
|
|
10044
|
-
};
|
|
10045
|
-
Relationships: [];
|
|
10046
|
-
};
|
|
10047
10412
|
local_customer_discounts: {
|
|
10048
10413
|
Row: {
|
|
10049
10414
|
base_price: number | null;
|
|
@@ -10462,6 +10827,28 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
10462
10827
|
Args: never;
|
|
10463
10828
|
Returns: undefined;
|
|
10464
10829
|
};
|
|
10830
|
+
consume_bom_for_production: {
|
|
10831
|
+
Args: {
|
|
10832
|
+
p_connection_id: string;
|
|
10833
|
+
p_parent_id: string;
|
|
10834
|
+
p_parent_key: string;
|
|
10835
|
+
p_parent_kind: string;
|
|
10836
|
+
p_quantity: number;
|
|
10837
|
+
p_user_id: string;
|
|
10838
|
+
};
|
|
10839
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10840
|
+
} | {
|
|
10841
|
+
Args: {
|
|
10842
|
+
p_batch_id?: string;
|
|
10843
|
+
p_connection_id: string;
|
|
10844
|
+
p_parent_id: string;
|
|
10845
|
+
p_parent_key: string;
|
|
10846
|
+
p_parent_kind: string;
|
|
10847
|
+
p_quantity: number;
|
|
10848
|
+
p_user_id: string;
|
|
10849
|
+
};
|
|
10850
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10851
|
+
};
|
|
10465
10852
|
consume_floriday_rate_limit: {
|
|
10466
10853
|
Args: {
|
|
10467
10854
|
p_bucket: string;
|
|
@@ -10513,6 +10900,13 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
10513
10900
|
table_name: string;
|
|
10514
10901
|
}[];
|
|
10515
10902
|
};
|
|
10903
|
+
delete_samenstelling: {
|
|
10904
|
+
Args: {
|
|
10905
|
+
p_parent_id: string;
|
|
10906
|
+
p_parent_kind: string;
|
|
10907
|
+
};
|
|
10908
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10909
|
+
};
|
|
10516
10910
|
dispatch_carrier_signups_sql: {
|
|
10517
10911
|
Args: {
|
|
10518
10912
|
_catchup?: string;
|
|
@@ -10673,19 +11067,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
10673
11067
|
resource: string;
|
|
10674
11068
|
}[];
|
|
10675
11069
|
};
|
|
10676
|
-
get_floriday_agreements_active: {
|
|
10677
|
-
Args: {
|
|
10678
|
-
p_on_date?: string;
|
|
10679
|
-
};
|
|
10680
|
-
Returns: {
|
|
10681
|
-
buyer_organization_id: string;
|
|
10682
|
-
data: import("../integrations/supabase/types").Json;
|
|
10683
|
-
floriday_id: string;
|
|
10684
|
-
status: string;
|
|
10685
|
-
valid_from: string;
|
|
10686
|
-
valid_until: string;
|
|
10687
|
-
}[];
|
|
10688
|
-
};
|
|
10689
11070
|
get_floriday_clock_supplies_window: {
|
|
10690
11071
|
Args: {
|
|
10691
11072
|
p_from: string;
|
|
@@ -10758,6 +11139,21 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
10758
11139
|
minutes_since_success: number;
|
|
10759
11140
|
}[];
|
|
10760
11141
|
};
|
|
11142
|
+
get_group_allocation_keys: {
|
|
11143
|
+
Args: {
|
|
11144
|
+
p_product_id: string;
|
|
11145
|
+
};
|
|
11146
|
+
Returns: {
|
|
11147
|
+
k: string;
|
|
11148
|
+
ord: number;
|
|
11149
|
+
}[];
|
|
11150
|
+
};
|
|
11151
|
+
get_group_head_key: {
|
|
11152
|
+
Args: {
|
|
11153
|
+
p_group_id: string;
|
|
11154
|
+
};
|
|
11155
|
+
Returns: string;
|
|
11156
|
+
};
|
|
10761
11157
|
get_offer_by_link_code: {
|
|
10762
11158
|
Args: {
|
|
10763
11159
|
p_code: string;
|
|
@@ -10868,6 +11264,18 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
10868
11264
|
};
|
|
10869
11265
|
Returns: undefined;
|
|
10870
11266
|
};
|
|
11267
|
+
mark_shipment_shipped: {
|
|
11268
|
+
Args: {
|
|
11269
|
+
p_shipment_id: string;
|
|
11270
|
+
};
|
|
11271
|
+
Returns: undefined;
|
|
11272
|
+
};
|
|
11273
|
+
next_manufacture_partij: {
|
|
11274
|
+
Args: {
|
|
11275
|
+
_tenant_id: string;
|
|
11276
|
+
};
|
|
11277
|
+
Returns: string;
|
|
11278
|
+
};
|
|
10871
11279
|
next_order_number: {
|
|
10872
11280
|
Args: {
|
|
10873
11281
|
p_prefix: string;
|
|
@@ -10946,6 +11354,14 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
10946
11354
|
};
|
|
10947
11355
|
Returns: undefined;
|
|
10948
11356
|
};
|
|
11357
|
+
produce_designed_product: {
|
|
11358
|
+
Args: {
|
|
11359
|
+
p_parent_id: string;
|
|
11360
|
+
p_parent_kind: string;
|
|
11361
|
+
p_quantity: number;
|
|
11362
|
+
};
|
|
11363
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
11364
|
+
};
|
|
10949
11365
|
promote_trade_item_key: {
|
|
10950
11366
|
Args: {
|
|
10951
11367
|
p_new: string;
|
|
@@ -10953,6 +11369,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
10953
11369
|
};
|
|
10954
11370
|
Returns: undefined;
|
|
10955
11371
|
};
|
|
11372
|
+
recompute_all_reserved_stock: {
|
|
11373
|
+
Args: never;
|
|
11374
|
+
Returns: undefined;
|
|
11375
|
+
};
|
|
10956
11376
|
recompute_order_status: {
|
|
10957
11377
|
Args: {
|
|
10958
11378
|
p_order_id: string;
|
|
@@ -11002,27 +11422,45 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
11002
11422
|
};
|
|
11003
11423
|
Returns: undefined;
|
|
11004
11424
|
};
|
|
11425
|
+
resolve_group_allocation: {
|
|
11426
|
+
Args: {
|
|
11427
|
+
_needed: number;
|
|
11428
|
+
_product_group_id: string;
|
|
11429
|
+
};
|
|
11430
|
+
Returns: {
|
|
11431
|
+
allocated: number;
|
|
11432
|
+
trade_item_id: string;
|
|
11433
|
+
}[];
|
|
11434
|
+
};
|
|
11435
|
+
resolve_group_member_stock_key: {
|
|
11436
|
+
Args: {
|
|
11437
|
+
p_trade_item_id: string;
|
|
11438
|
+
};
|
|
11439
|
+
Returns: string;
|
|
11440
|
+
};
|
|
11005
11441
|
resolve_product_id_for_item: {
|
|
11006
11442
|
Args: {
|
|
11007
11443
|
p_product_name: string;
|
|
11008
11444
|
};
|
|
11009
11445
|
Returns: string;
|
|
11010
11446
|
};
|
|
11011
|
-
|
|
11447
|
+
resolve_stock_trade_item_key: {
|
|
11012
11448
|
Args: {
|
|
11013
|
-
|
|
11014
|
-
p_url: string;
|
|
11449
|
+
p_product_id: string;
|
|
11015
11450
|
};
|
|
11016
|
-
Returns:
|
|
11451
|
+
Returns: string;
|
|
11017
11452
|
};
|
|
11018
|
-
|
|
11453
|
+
reverse_production: {
|
|
11019
11454
|
Args: {
|
|
11020
|
-
|
|
11021
|
-
|
|
11455
|
+
p_connection_id?: string;
|
|
11456
|
+
p_parent_key: string;
|
|
11457
|
+
p_quantity: number;
|
|
11458
|
+
p_reason?: string;
|
|
11459
|
+
p_user_id?: string;
|
|
11022
11460
|
};
|
|
11023
|
-
Returns:
|
|
11461
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
11024
11462
|
};
|
|
11025
|
-
|
|
11463
|
+
schedule_floriday_additional_services_sync: {
|
|
11026
11464
|
Args: {
|
|
11027
11465
|
p_apikey: string;
|
|
11028
11466
|
p_url: string;
|