@flowselections/floriday-voorraad 1.0.19 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts +7 -0
- package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts.map +1 -0
- package/dist-lib/components/voorraad/ArtikelCompositionCard.js +196 -0
- package/dist-lib/components/voorraad/ArtikelWizard.d.ts +2 -1
- package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.js +259 -26
- package/dist-lib/components/voorraad/EditArtikelPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/EditArtikelPage.js +28 -85
- package/dist-lib/components/voorraad/FloridayStatusBadge.d.ts +4 -0
- package/dist-lib/components/voorraad/FloridayStatusBadge.d.ts.map +1 -0
- package/dist-lib/components/voorraad/FloridayStatusBadge.js +8 -0
- package/dist-lib/components/voorraad/StockBulkButtons.js +7 -6
- package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts +5 -0
- package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ValidationOverviewTable.js +26 -56
- package/dist-lib/components/voorraad/VoorraadDashboard.d.ts +4 -0
- package/dist-lib/components/voorraad/VoorraadDashboard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadDashboard.js +14 -6
- package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.js +11 -0
- package/dist-lib/components/voorraad/VoorraadTable.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadTable.js +5 -12
- package/dist-lib/hooks/useFloridayContinuousStock.d.ts +13 -0
- package/dist-lib/hooks/useFloridayContinuousStock.d.ts.map +1 -0
- package/dist-lib/hooks/useFloridayContinuousStock.js +109 -0
- package/dist-lib/hooks/useFlorydayCustomers.d.ts +11 -4
- package/dist-lib/hooks/useFlorydayCustomers.d.ts.map +1 -1
- package/dist-lib/hooks/useFlorydayCustomers.js +85 -38
- package/dist-lib/hooks/useLocalTradeItems.d.ts +26 -2
- package/dist-lib/hooks/useLocalTradeItems.d.ts.map +1 -1
- package/dist-lib/hooks/useLocalTradeItems.js +119 -79
- package/dist-lib/hooks/useVoorraadData.d.ts +5 -5
- package/dist-lib/hooks/useVoorraadData.d.ts.map +1 -1
- package/dist-lib/hooks/useVoorraadData.js +127 -50
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +662 -168
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +662 -168
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +662 -168
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +678 -163
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +662 -168
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-client.d.ts +29 -12
- package/dist-lib/lib/floriday-client.d.ts.map +1 -1
- package/dist-lib/lib/floriday-client.js +36 -0
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +662 -168
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +3220 -750
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.server.d.ts +14 -0
- package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.server.js +3 -0
- package/dist-lib/lib/floriday-payload.d.ts.map +1 -1
- package/dist-lib/lib/floriday-payload.js +32 -8
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +1932 -450
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +1333 -345
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/merge-products.d.ts +8 -0
- package/dist-lib/lib/merge-products.d.ts.map +1 -0
- package/dist-lib/lib/merge-products.js +17 -0
- package/package.json +3 -3
|
@@ -242,6 +242,165 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
242
242
|
};
|
|
243
243
|
Relationships: [];
|
|
244
244
|
};
|
|
245
|
+
ai_credentials: {
|
|
246
|
+
Row: {
|
|
247
|
+
active: boolean;
|
|
248
|
+
api_key: string;
|
|
249
|
+
created_at: string;
|
|
250
|
+
created_by: string | null;
|
|
251
|
+
id: string;
|
|
252
|
+
label: string;
|
|
253
|
+
provider_id: string;
|
|
254
|
+
updated_at: string;
|
|
255
|
+
};
|
|
256
|
+
Insert: {
|
|
257
|
+
active?: boolean;
|
|
258
|
+
api_key: string;
|
|
259
|
+
created_at?: string;
|
|
260
|
+
created_by?: string | null;
|
|
261
|
+
id?: string;
|
|
262
|
+
label: string;
|
|
263
|
+
provider_id: string;
|
|
264
|
+
updated_at?: string;
|
|
265
|
+
};
|
|
266
|
+
Update: {
|
|
267
|
+
active?: boolean;
|
|
268
|
+
api_key?: string;
|
|
269
|
+
created_at?: string;
|
|
270
|
+
created_by?: string | null;
|
|
271
|
+
id?: string;
|
|
272
|
+
label?: string;
|
|
273
|
+
provider_id?: string;
|
|
274
|
+
updated_at?: string;
|
|
275
|
+
};
|
|
276
|
+
Relationships: [{
|
|
277
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
278
|
+
columns: ["provider_id"];
|
|
279
|
+
isOneToOne: false;
|
|
280
|
+
referencedRelation: "ai_providers";
|
|
281
|
+
referencedColumns: ["id"];
|
|
282
|
+
}];
|
|
283
|
+
};
|
|
284
|
+
ai_models: {
|
|
285
|
+
Row: {
|
|
286
|
+
active: boolean;
|
|
287
|
+
context_window: number | null;
|
|
288
|
+
created_at: string;
|
|
289
|
+
display_name: string;
|
|
290
|
+
id: string;
|
|
291
|
+
is_default: boolean;
|
|
292
|
+
modality: string;
|
|
293
|
+
provider_id: string;
|
|
294
|
+
slug: string;
|
|
295
|
+
updated_at: string;
|
|
296
|
+
};
|
|
297
|
+
Insert: {
|
|
298
|
+
active?: boolean;
|
|
299
|
+
context_window?: number | null;
|
|
300
|
+
created_at?: string;
|
|
301
|
+
display_name: string;
|
|
302
|
+
id?: string;
|
|
303
|
+
is_default?: boolean;
|
|
304
|
+
modality?: string;
|
|
305
|
+
provider_id: string;
|
|
306
|
+
slug: string;
|
|
307
|
+
updated_at?: string;
|
|
308
|
+
};
|
|
309
|
+
Update: {
|
|
310
|
+
active?: boolean;
|
|
311
|
+
context_window?: number | null;
|
|
312
|
+
created_at?: string;
|
|
313
|
+
display_name?: string;
|
|
314
|
+
id?: string;
|
|
315
|
+
is_default?: boolean;
|
|
316
|
+
modality?: string;
|
|
317
|
+
provider_id?: string;
|
|
318
|
+
slug?: string;
|
|
319
|
+
updated_at?: string;
|
|
320
|
+
};
|
|
321
|
+
Relationships: [{
|
|
322
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
323
|
+
columns: ["provider_id"];
|
|
324
|
+
isOneToOne: false;
|
|
325
|
+
referencedRelation: "ai_providers";
|
|
326
|
+
referencedColumns: ["id"];
|
|
327
|
+
}];
|
|
328
|
+
};
|
|
329
|
+
ai_module_bindings: {
|
|
330
|
+
Row: {
|
|
331
|
+
consumer_module_id: string;
|
|
332
|
+
created_at: string;
|
|
333
|
+
credential_id: string;
|
|
334
|
+
id: string;
|
|
335
|
+
model_id: string;
|
|
336
|
+
notes: string | null;
|
|
337
|
+
updated_at: string;
|
|
338
|
+
};
|
|
339
|
+
Insert: {
|
|
340
|
+
consumer_module_id: string;
|
|
341
|
+
created_at?: string;
|
|
342
|
+
credential_id: string;
|
|
343
|
+
id?: string;
|
|
344
|
+
model_id: string;
|
|
345
|
+
notes?: string | null;
|
|
346
|
+
updated_at?: string;
|
|
347
|
+
};
|
|
348
|
+
Update: {
|
|
349
|
+
consumer_module_id?: string;
|
|
350
|
+
created_at?: string;
|
|
351
|
+
credential_id?: string;
|
|
352
|
+
id?: string;
|
|
353
|
+
model_id?: string;
|
|
354
|
+
notes?: string | null;
|
|
355
|
+
updated_at?: string;
|
|
356
|
+
};
|
|
357
|
+
Relationships: [{
|
|
358
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
359
|
+
columns: ["credential_id"];
|
|
360
|
+
isOneToOne: false;
|
|
361
|
+
referencedRelation: "ai_credentials";
|
|
362
|
+
referencedColumns: ["id"];
|
|
363
|
+
}, {
|
|
364
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
365
|
+
columns: ["model_id"];
|
|
366
|
+
isOneToOne: false;
|
|
367
|
+
referencedRelation: "ai_models";
|
|
368
|
+
referencedColumns: ["id"];
|
|
369
|
+
}];
|
|
370
|
+
};
|
|
371
|
+
ai_providers: {
|
|
372
|
+
Row: {
|
|
373
|
+
active: boolean;
|
|
374
|
+
auth_type: string;
|
|
375
|
+
base_url: string | null;
|
|
376
|
+
created_at: string;
|
|
377
|
+
id: string;
|
|
378
|
+
name: string;
|
|
379
|
+
slug: string;
|
|
380
|
+
updated_at: string;
|
|
381
|
+
};
|
|
382
|
+
Insert: {
|
|
383
|
+
active?: boolean;
|
|
384
|
+
auth_type?: string;
|
|
385
|
+
base_url?: string | null;
|
|
386
|
+
created_at?: string;
|
|
387
|
+
id?: string;
|
|
388
|
+
name: string;
|
|
389
|
+
slug: string;
|
|
390
|
+
updated_at?: string;
|
|
391
|
+
};
|
|
392
|
+
Update: {
|
|
393
|
+
active?: boolean;
|
|
394
|
+
auth_type?: string;
|
|
395
|
+
base_url?: string | null;
|
|
396
|
+
created_at?: string;
|
|
397
|
+
id?: string;
|
|
398
|
+
name?: string;
|
|
399
|
+
slug?: string;
|
|
400
|
+
updated_at?: string;
|
|
401
|
+
};
|
|
402
|
+
Relationships: [];
|
|
403
|
+
};
|
|
245
404
|
app_settings: {
|
|
246
405
|
Row: {
|
|
247
406
|
created_at: string;
|
|
@@ -3248,105 +3407,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
3248
3407
|
referencedColumns: ["id"];
|
|
3249
3408
|
}];
|
|
3250
3409
|
};
|
|
3251
|
-
floriday_agreement_calloffs_cache: {
|
|
3252
|
-
Row: {
|
|
3253
|
-
agreement_id: string | null;
|
|
3254
|
-
connection_id: string;
|
|
3255
|
-
data: import("./types").Json;
|
|
3256
|
-
delivery_date: string | null;
|
|
3257
|
-
fetched_at: string;
|
|
3258
|
-
floriday_id: string;
|
|
3259
|
-
id: string;
|
|
3260
|
-
is_deleted: boolean;
|
|
3261
|
-
sequence_number: number;
|
|
3262
|
-
status: string | null;
|
|
3263
|
-
updated_at: string;
|
|
3264
|
-
};
|
|
3265
|
-
Insert: {
|
|
3266
|
-
agreement_id?: string | null;
|
|
3267
|
-
connection_id: string;
|
|
3268
|
-
data?: import("./types").Json;
|
|
3269
|
-
delivery_date?: string | null;
|
|
3270
|
-
fetched_at?: string;
|
|
3271
|
-
floriday_id: string;
|
|
3272
|
-
id?: string;
|
|
3273
|
-
is_deleted?: boolean;
|
|
3274
|
-
sequence_number?: number;
|
|
3275
|
-
status?: string | null;
|
|
3276
|
-
updated_at?: string;
|
|
3277
|
-
};
|
|
3278
|
-
Update: {
|
|
3279
|
-
agreement_id?: string | null;
|
|
3280
|
-
connection_id?: string;
|
|
3281
|
-
data?: import("./types").Json;
|
|
3282
|
-
delivery_date?: string | null;
|
|
3283
|
-
fetched_at?: string;
|
|
3284
|
-
floriday_id?: string;
|
|
3285
|
-
id?: string;
|
|
3286
|
-
is_deleted?: boolean;
|
|
3287
|
-
sequence_number?: number;
|
|
3288
|
-
status?: string | null;
|
|
3289
|
-
updated_at?: string;
|
|
3290
|
-
};
|
|
3291
|
-
Relationships: [{
|
|
3292
|
-
foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
|
|
3293
|
-
columns: ["connection_id"];
|
|
3294
|
-
isOneToOne: false;
|
|
3295
|
-
referencedRelation: "floriday_connections";
|
|
3296
|
-
referencedColumns: ["id"];
|
|
3297
|
-
}];
|
|
3298
|
-
};
|
|
3299
|
-
floriday_agreements_cache: {
|
|
3300
|
-
Row: {
|
|
3301
|
-
buyer_organization_id: string | null;
|
|
3302
|
-
connection_id: string;
|
|
3303
|
-
data: import("./types").Json;
|
|
3304
|
-
fetched_at: string;
|
|
3305
|
-
floriday_id: string;
|
|
3306
|
-
id: string;
|
|
3307
|
-
is_deleted: boolean;
|
|
3308
|
-
sequence_number: number;
|
|
3309
|
-
status: string | null;
|
|
3310
|
-
updated_at: string;
|
|
3311
|
-
valid_from: string | null;
|
|
3312
|
-
valid_until: string | null;
|
|
3313
|
-
};
|
|
3314
|
-
Insert: {
|
|
3315
|
-
buyer_organization_id?: string | null;
|
|
3316
|
-
connection_id: string;
|
|
3317
|
-
data?: import("./types").Json;
|
|
3318
|
-
fetched_at?: string;
|
|
3319
|
-
floriday_id: string;
|
|
3320
|
-
id?: string;
|
|
3321
|
-
is_deleted?: boolean;
|
|
3322
|
-
sequence_number?: number;
|
|
3323
|
-
status?: string | null;
|
|
3324
|
-
updated_at?: string;
|
|
3325
|
-
valid_from?: string | null;
|
|
3326
|
-
valid_until?: string | null;
|
|
3327
|
-
};
|
|
3328
|
-
Update: {
|
|
3329
|
-
buyer_organization_id?: string | null;
|
|
3330
|
-
connection_id?: string;
|
|
3331
|
-
data?: import("./types").Json;
|
|
3332
|
-
fetched_at?: string;
|
|
3333
|
-
floriday_id?: string;
|
|
3334
|
-
id?: string;
|
|
3335
|
-
is_deleted?: boolean;
|
|
3336
|
-
sequence_number?: number;
|
|
3337
|
-
status?: string | null;
|
|
3338
|
-
updated_at?: string;
|
|
3339
|
-
valid_from?: string | null;
|
|
3340
|
-
valid_until?: string | null;
|
|
3341
|
-
};
|
|
3342
|
-
Relationships: [{
|
|
3343
|
-
foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
|
|
3344
|
-
columns: ["connection_id"];
|
|
3345
|
-
isOneToOne: false;
|
|
3346
|
-
referencedRelation: "floriday_connections";
|
|
3347
|
-
referencedColumns: ["id"];
|
|
3348
|
-
}];
|
|
3349
|
-
};
|
|
3350
3410
|
floriday_auction_letters_cache: {
|
|
3351
3411
|
Row: {
|
|
3352
3412
|
auction_letter_code: string;
|
|
@@ -3845,6 +3905,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
3845
3905
|
referencedColumns: ["id"];
|
|
3846
3906
|
}];
|
|
3847
3907
|
};
|
|
3908
|
+
floriday_continuous_stock_cache: {
|
|
3909
|
+
Row: {
|
|
3910
|
+
connection_id: string;
|
|
3911
|
+
fetched_at: string;
|
|
3912
|
+
number_of_pieces: number;
|
|
3913
|
+
trade_item_id: string;
|
|
3914
|
+
};
|
|
3915
|
+
Insert: {
|
|
3916
|
+
connection_id: string;
|
|
3917
|
+
fetched_at?: string;
|
|
3918
|
+
number_of_pieces?: number;
|
|
3919
|
+
trade_item_id: string;
|
|
3920
|
+
};
|
|
3921
|
+
Update: {
|
|
3922
|
+
connection_id?: string;
|
|
3923
|
+
fetched_at?: string;
|
|
3924
|
+
number_of_pieces?: number;
|
|
3925
|
+
trade_item_id?: string;
|
|
3926
|
+
};
|
|
3927
|
+
Relationships: [];
|
|
3928
|
+
};
|
|
3848
3929
|
floriday_continuous_stock_queue: {
|
|
3849
3930
|
Row: {
|
|
3850
3931
|
attempts: number;
|
|
@@ -4823,9 +4904,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
4823
4904
|
referencedColumns: ["id"];
|
|
4824
4905
|
}];
|
|
4825
4906
|
};
|
|
4826
|
-
|
|
4907
|
+
floriday_trade_settings_customers_cache: {
|
|
4827
4908
|
Row: {
|
|
4828
|
-
carrier_organization_id: string | null;
|
|
4829
4909
|
connection_id: string;
|
|
4830
4910
|
data: import("./types").Json;
|
|
4831
4911
|
fetched_at: string;
|
|
@@ -4833,25 +4913,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
4833
4913
|
id: string;
|
|
4834
4914
|
is_deleted: boolean;
|
|
4835
4915
|
sequence_number: number;
|
|
4836
|
-
status: string | null;
|
|
4837
|
-
trip_date: string | null;
|
|
4838
4916
|
updated_at: string;
|
|
4839
4917
|
};
|
|
4840
4918
|
Insert: {
|
|
4841
|
-
carrier_organization_id?: string | null;
|
|
4842
4919
|
connection_id: string;
|
|
4843
|
-
data
|
|
4920
|
+
data: import("./types").Json;
|
|
4844
4921
|
fetched_at?: string;
|
|
4845
4922
|
floriday_id: string;
|
|
4846
4923
|
id?: string;
|
|
4847
4924
|
is_deleted?: boolean;
|
|
4848
4925
|
sequence_number?: number;
|
|
4849
|
-
status?: string | null;
|
|
4850
|
-
trip_date?: string | null;
|
|
4851
4926
|
updated_at?: string;
|
|
4852
4927
|
};
|
|
4853
4928
|
Update: {
|
|
4854
|
-
carrier_organization_id?: string | null;
|
|
4855
4929
|
connection_id?: string;
|
|
4856
4930
|
data?: import("./types").Json;
|
|
4857
4931
|
fetched_at?: string;
|
|
@@ -4859,31 +4933,77 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
4859
4933
|
id?: string;
|
|
4860
4934
|
is_deleted?: boolean;
|
|
4861
4935
|
sequence_number?: number;
|
|
4862
|
-
status?: string | null;
|
|
4863
|
-
trip_date?: string | null;
|
|
4864
4936
|
updated_at?: string;
|
|
4865
4937
|
};
|
|
4866
4938
|
Relationships: [{
|
|
4867
|
-
foreignKeyName: "
|
|
4939
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
4868
4940
|
columns: ["connection_id"];
|
|
4869
4941
|
isOneToOne: false;
|
|
4870
4942
|
referencedRelation: "floriday_connections";
|
|
4871
4943
|
referencedColumns: ["id"];
|
|
4872
4944
|
}];
|
|
4873
4945
|
};
|
|
4874
|
-
|
|
4946
|
+
floriday_trips_cache: {
|
|
4875
4947
|
Row: {
|
|
4948
|
+
carrier_organization_id: string | null;
|
|
4876
4949
|
connection_id: string;
|
|
4877
4950
|
data: import("./types").Json;
|
|
4878
4951
|
fetched_at: string;
|
|
4879
4952
|
floriday_id: string;
|
|
4880
|
-
gln_code: string | null;
|
|
4881
4953
|
id: string;
|
|
4882
|
-
is_default: boolean;
|
|
4883
4954
|
is_deleted: boolean;
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4955
|
+
sequence_number: number;
|
|
4956
|
+
status: string | null;
|
|
4957
|
+
trip_date: string | null;
|
|
4958
|
+
updated_at: string;
|
|
4959
|
+
};
|
|
4960
|
+
Insert: {
|
|
4961
|
+
carrier_organization_id?: string | null;
|
|
4962
|
+
connection_id: string;
|
|
4963
|
+
data?: import("./types").Json;
|
|
4964
|
+
fetched_at?: string;
|
|
4965
|
+
floriday_id: string;
|
|
4966
|
+
id?: string;
|
|
4967
|
+
is_deleted?: boolean;
|
|
4968
|
+
sequence_number?: number;
|
|
4969
|
+
status?: string | null;
|
|
4970
|
+
trip_date?: string | null;
|
|
4971
|
+
updated_at?: string;
|
|
4972
|
+
};
|
|
4973
|
+
Update: {
|
|
4974
|
+
carrier_organization_id?: string | null;
|
|
4975
|
+
connection_id?: string;
|
|
4976
|
+
data?: import("./types").Json;
|
|
4977
|
+
fetched_at?: string;
|
|
4978
|
+
floriday_id?: string;
|
|
4979
|
+
id?: string;
|
|
4980
|
+
is_deleted?: boolean;
|
|
4981
|
+
sequence_number?: number;
|
|
4982
|
+
status?: string | null;
|
|
4983
|
+
trip_date?: string | null;
|
|
4984
|
+
updated_at?: string;
|
|
4985
|
+
};
|
|
4986
|
+
Relationships: [{
|
|
4987
|
+
foreignKeyName: "floriday_trips_cache_connection_id_fkey";
|
|
4988
|
+
columns: ["connection_id"];
|
|
4989
|
+
isOneToOne: false;
|
|
4990
|
+
referencedRelation: "floriday_connections";
|
|
4991
|
+
referencedColumns: ["id"];
|
|
4992
|
+
}];
|
|
4993
|
+
};
|
|
4994
|
+
floriday_warehouses_cache: {
|
|
4995
|
+
Row: {
|
|
4996
|
+
connection_id: string;
|
|
4997
|
+
data: import("./types").Json;
|
|
4998
|
+
fetched_at: string;
|
|
4999
|
+
floriday_id: string;
|
|
5000
|
+
gln_code: string | null;
|
|
5001
|
+
id: string;
|
|
5002
|
+
is_default: boolean;
|
|
5003
|
+
is_deleted: boolean;
|
|
5004
|
+
name: string | null;
|
|
5005
|
+
updated_at: string;
|
|
5006
|
+
};
|
|
4887
5007
|
Insert: {
|
|
4888
5008
|
connection_id: string;
|
|
4889
5009
|
data?: import("./types").Json;
|
|
@@ -5968,39 +6088,60 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
5968
6088
|
};
|
|
5969
6089
|
manufacture_products: {
|
|
5970
6090
|
Row: {
|
|
6091
|
+
aantal_te_produceren: number;
|
|
5971
6092
|
created_at: string;
|
|
5972
6093
|
description: string | null;
|
|
5973
6094
|
id: string;
|
|
5974
6095
|
is_active: boolean;
|
|
6096
|
+
location_id: string | null;
|
|
5975
6097
|
name: string;
|
|
6098
|
+
partij_nummer: string | null;
|
|
6099
|
+
photos: import("./types").Json;
|
|
5976
6100
|
produced_stock: number;
|
|
5977
6101
|
product_code: string;
|
|
5978
6102
|
tenant_id: string;
|
|
6103
|
+
unit: string;
|
|
5979
6104
|
updated_at: string;
|
|
5980
6105
|
};
|
|
5981
6106
|
Insert: {
|
|
6107
|
+
aantal_te_produceren?: number;
|
|
5982
6108
|
created_at?: string;
|
|
5983
6109
|
description?: string | null;
|
|
5984
6110
|
id?: string;
|
|
5985
6111
|
is_active?: boolean;
|
|
6112
|
+
location_id?: string | null;
|
|
5986
6113
|
name: string;
|
|
6114
|
+
partij_nummer?: string | null;
|
|
6115
|
+
photos?: import("./types").Json;
|
|
5987
6116
|
produced_stock?: number;
|
|
5988
6117
|
product_code: string;
|
|
5989
6118
|
tenant_id: string;
|
|
6119
|
+
unit?: string;
|
|
5990
6120
|
updated_at?: string;
|
|
5991
6121
|
};
|
|
5992
6122
|
Update: {
|
|
6123
|
+
aantal_te_produceren?: number;
|
|
5993
6124
|
created_at?: string;
|
|
5994
6125
|
description?: string | null;
|
|
5995
6126
|
id?: string;
|
|
5996
6127
|
is_active?: boolean;
|
|
6128
|
+
location_id?: string | null;
|
|
5997
6129
|
name?: string;
|
|
6130
|
+
partij_nummer?: string | null;
|
|
6131
|
+
photos?: import("./types").Json;
|
|
5998
6132
|
produced_stock?: number;
|
|
5999
6133
|
product_code?: string;
|
|
6000
6134
|
tenant_id?: string;
|
|
6135
|
+
unit?: string;
|
|
6001
6136
|
updated_at?: string;
|
|
6002
6137
|
};
|
|
6003
|
-
Relationships: [
|
|
6138
|
+
Relationships: [{
|
|
6139
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
6140
|
+
columns: ["location_id"];
|
|
6141
|
+
isOneToOne: false;
|
|
6142
|
+
referencedRelation: "locations";
|
|
6143
|
+
referencedColumns: ["id"];
|
|
6144
|
+
}];
|
|
6004
6145
|
};
|
|
6005
6146
|
monteurs: {
|
|
6006
6147
|
Row: {
|
|
@@ -6974,6 +7115,105 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6974
7115
|
};
|
|
6975
7116
|
Relationships: [];
|
|
6976
7117
|
};
|
|
7118
|
+
order_shipment_items: {
|
|
7119
|
+
Row: {
|
|
7120
|
+
created_at: string;
|
|
7121
|
+
id: string;
|
|
7122
|
+
order_item_id: string;
|
|
7123
|
+
product_id: string | null;
|
|
7124
|
+
product_name: string;
|
|
7125
|
+
quantity: number;
|
|
7126
|
+
shipment_id: string;
|
|
7127
|
+
updated_at: string;
|
|
7128
|
+
};
|
|
7129
|
+
Insert: {
|
|
7130
|
+
created_at?: string;
|
|
7131
|
+
id?: string;
|
|
7132
|
+
order_item_id: string;
|
|
7133
|
+
product_id?: string | null;
|
|
7134
|
+
product_name: string;
|
|
7135
|
+
quantity: number;
|
|
7136
|
+
shipment_id: string;
|
|
7137
|
+
updated_at?: string;
|
|
7138
|
+
};
|
|
7139
|
+
Update: {
|
|
7140
|
+
created_at?: string;
|
|
7141
|
+
id?: string;
|
|
7142
|
+
order_item_id?: string;
|
|
7143
|
+
product_id?: string | null;
|
|
7144
|
+
product_name?: string;
|
|
7145
|
+
quantity?: number;
|
|
7146
|
+
shipment_id?: string;
|
|
7147
|
+
updated_at?: string;
|
|
7148
|
+
};
|
|
7149
|
+
Relationships: [{
|
|
7150
|
+
foreignKeyName: "order_shipment_items_order_item_id_fkey";
|
|
7151
|
+
columns: ["order_item_id"];
|
|
7152
|
+
isOneToOne: false;
|
|
7153
|
+
referencedRelation: "order_items";
|
|
7154
|
+
referencedColumns: ["id"];
|
|
7155
|
+
}, {
|
|
7156
|
+
foreignKeyName: "order_shipment_items_shipment_id_fkey";
|
|
7157
|
+
columns: ["shipment_id"];
|
|
7158
|
+
isOneToOne: false;
|
|
7159
|
+
referencedRelation: "order_shipments";
|
|
7160
|
+
referencedColumns: ["id"];
|
|
7161
|
+
}];
|
|
7162
|
+
};
|
|
7163
|
+
order_shipments: {
|
|
7164
|
+
Row: {
|
|
7165
|
+
carrier_id: string | null;
|
|
7166
|
+
created_at: string;
|
|
7167
|
+
delivery_date: string | null;
|
|
7168
|
+
delivery_location_id: string | null;
|
|
7169
|
+
id: string;
|
|
7170
|
+
notes: string | null;
|
|
7171
|
+
order_id: string;
|
|
7172
|
+
shipment_number: number;
|
|
7173
|
+
shipped_at: string | null;
|
|
7174
|
+
status: string;
|
|
7175
|
+
updated_at: string;
|
|
7176
|
+
};
|
|
7177
|
+
Insert: {
|
|
7178
|
+
carrier_id?: string | null;
|
|
7179
|
+
created_at?: string;
|
|
7180
|
+
delivery_date?: string | null;
|
|
7181
|
+
delivery_location_id?: string | null;
|
|
7182
|
+
id?: string;
|
|
7183
|
+
notes?: string | null;
|
|
7184
|
+
order_id: string;
|
|
7185
|
+
shipment_number: number;
|
|
7186
|
+
shipped_at?: string | null;
|
|
7187
|
+
status?: string;
|
|
7188
|
+
updated_at?: string;
|
|
7189
|
+
};
|
|
7190
|
+
Update: {
|
|
7191
|
+
carrier_id?: string | null;
|
|
7192
|
+
created_at?: string;
|
|
7193
|
+
delivery_date?: string | null;
|
|
7194
|
+
delivery_location_id?: string | null;
|
|
7195
|
+
id?: string;
|
|
7196
|
+
notes?: string | null;
|
|
7197
|
+
order_id?: string;
|
|
7198
|
+
shipment_number?: number;
|
|
7199
|
+
shipped_at?: string | null;
|
|
7200
|
+
status?: string;
|
|
7201
|
+
updated_at?: string;
|
|
7202
|
+
};
|
|
7203
|
+
Relationships: [{
|
|
7204
|
+
foreignKeyName: "order_shipments_carrier_id_fkey";
|
|
7205
|
+
columns: ["carrier_id"];
|
|
7206
|
+
isOneToOne: false;
|
|
7207
|
+
referencedRelation: "carriers";
|
|
7208
|
+
referencedColumns: ["id"];
|
|
7209
|
+
}, {
|
|
7210
|
+
foreignKeyName: "order_shipments_order_id_fkey";
|
|
7211
|
+
columns: ["order_id"];
|
|
7212
|
+
isOneToOne: false;
|
|
7213
|
+
referencedRelation: "orders";
|
|
7214
|
+
referencedColumns: ["id"];
|
|
7215
|
+
}];
|
|
7216
|
+
};
|
|
6977
7217
|
orders: {
|
|
6978
7218
|
Row: {
|
|
6979
7219
|
created_at: string;
|
|
@@ -6981,8 +7221,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6981
7221
|
customer_id: string | null;
|
|
6982
7222
|
customer_name: string;
|
|
6983
7223
|
deleted_at: string | null;
|
|
6984
|
-
delivery_date: string;
|
|
7224
|
+
delivery_date: string | null;
|
|
6985
7225
|
id: string;
|
|
7226
|
+
is_reservation: boolean;
|
|
6986
7227
|
notes: string | null;
|
|
6987
7228
|
order_date: string;
|
|
6988
7229
|
order_number: string;
|
|
@@ -6999,8 +7240,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6999
7240
|
customer_id?: string | null;
|
|
7000
7241
|
customer_name?: string;
|
|
7001
7242
|
deleted_at?: string | null;
|
|
7002
|
-
delivery_date
|
|
7243
|
+
delivery_date?: string | null;
|
|
7003
7244
|
id?: string;
|
|
7245
|
+
is_reservation?: boolean;
|
|
7004
7246
|
notes?: string | null;
|
|
7005
7247
|
order_date?: string;
|
|
7006
7248
|
order_number: string;
|
|
@@ -7017,8 +7259,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7017
7259
|
customer_id?: string | null;
|
|
7018
7260
|
customer_name?: string;
|
|
7019
7261
|
deleted_at?: string | null;
|
|
7020
|
-
delivery_date?: string;
|
|
7262
|
+
delivery_date?: string | null;
|
|
7021
7263
|
id?: string;
|
|
7264
|
+
is_reservation?: boolean;
|
|
7022
7265
|
notes?: string | null;
|
|
7023
7266
|
order_date?: string;
|
|
7024
7267
|
order_number?: string;
|
|
@@ -7160,6 +7403,63 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7160
7403
|
};
|
|
7161
7404
|
Relationships: [];
|
|
7162
7405
|
};
|
|
7406
|
+
product_bom_items: {
|
|
7407
|
+
Row: {
|
|
7408
|
+
component_product_id: string | null;
|
|
7409
|
+
component_trade_item_floriday_id: string | null;
|
|
7410
|
+
created_at: string;
|
|
7411
|
+
id: string;
|
|
7412
|
+
notes: string | null;
|
|
7413
|
+
parent_product_id: string | null;
|
|
7414
|
+
parent_trade_item_floriday_id: string | null;
|
|
7415
|
+
quantity: number;
|
|
7416
|
+
sort_order: number;
|
|
7417
|
+
tenant_id: string;
|
|
7418
|
+
unit: string;
|
|
7419
|
+
updated_at: string;
|
|
7420
|
+
};
|
|
7421
|
+
Insert: {
|
|
7422
|
+
component_product_id?: string | null;
|
|
7423
|
+
component_trade_item_floriday_id?: string | null;
|
|
7424
|
+
created_at?: string;
|
|
7425
|
+
id?: string;
|
|
7426
|
+
notes?: string | null;
|
|
7427
|
+
parent_product_id?: string | null;
|
|
7428
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7429
|
+
quantity?: number;
|
|
7430
|
+
sort_order?: number;
|
|
7431
|
+
tenant_id: string;
|
|
7432
|
+
unit?: string;
|
|
7433
|
+
updated_at?: string;
|
|
7434
|
+
};
|
|
7435
|
+
Update: {
|
|
7436
|
+
component_product_id?: string | null;
|
|
7437
|
+
component_trade_item_floriday_id?: string | null;
|
|
7438
|
+
created_at?: string;
|
|
7439
|
+
id?: string;
|
|
7440
|
+
notes?: string | null;
|
|
7441
|
+
parent_product_id?: string | null;
|
|
7442
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7443
|
+
quantity?: number;
|
|
7444
|
+
sort_order?: number;
|
|
7445
|
+
tenant_id?: string;
|
|
7446
|
+
unit?: string;
|
|
7447
|
+
updated_at?: string;
|
|
7448
|
+
};
|
|
7449
|
+
Relationships: [{
|
|
7450
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
7451
|
+
columns: ["component_product_id"];
|
|
7452
|
+
isOneToOne: false;
|
|
7453
|
+
referencedRelation: "products";
|
|
7454
|
+
referencedColumns: ["id"];
|
|
7455
|
+
}, {
|
|
7456
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
7457
|
+
columns: ["parent_product_id"];
|
|
7458
|
+
isOneToOne: false;
|
|
7459
|
+
referencedRelation: "products";
|
|
7460
|
+
referencedColumns: ["id"];
|
|
7461
|
+
}];
|
|
7462
|
+
};
|
|
7163
7463
|
product_categories: {
|
|
7164
7464
|
Row: {
|
|
7165
7465
|
color: string;
|
|
@@ -7265,6 +7565,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7265
7565
|
id: string;
|
|
7266
7566
|
product_group_id: string;
|
|
7267
7567
|
quantity: number;
|
|
7568
|
+
sort_order: number;
|
|
7268
7569
|
trade_item_id: string;
|
|
7269
7570
|
};
|
|
7270
7571
|
Insert: {
|
|
@@ -7272,6 +7573,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7272
7573
|
id?: string;
|
|
7273
7574
|
product_group_id: string;
|
|
7274
7575
|
quantity?: number;
|
|
7576
|
+
sort_order?: number;
|
|
7275
7577
|
trade_item_id: string;
|
|
7276
7578
|
};
|
|
7277
7579
|
Update: {
|
|
@@ -7279,6 +7581,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7279
7581
|
id?: string;
|
|
7280
7582
|
product_group_id?: string;
|
|
7281
7583
|
quantity?: number;
|
|
7584
|
+
sort_order?: number;
|
|
7282
7585
|
trade_item_id?: string;
|
|
7283
7586
|
};
|
|
7284
7587
|
Relationships: [{
|
|
@@ -7293,6 +7596,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7293
7596
|
Row: {
|
|
7294
7597
|
created_at: string;
|
|
7295
7598
|
description: string | null;
|
|
7599
|
+
head_product_id: string | null;
|
|
7600
|
+
head_trade_item_floriday_id: string | null;
|
|
7296
7601
|
id: string;
|
|
7297
7602
|
is_active: boolean;
|
|
7298
7603
|
name: string;
|
|
@@ -7302,6 +7607,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7302
7607
|
Insert: {
|
|
7303
7608
|
created_at?: string;
|
|
7304
7609
|
description?: string | null;
|
|
7610
|
+
head_product_id?: string | null;
|
|
7611
|
+
head_trade_item_floriday_id?: string | null;
|
|
7305
7612
|
id?: string;
|
|
7306
7613
|
is_active?: boolean;
|
|
7307
7614
|
name: string;
|
|
@@ -7311,21 +7618,126 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7311
7618
|
Update: {
|
|
7312
7619
|
created_at?: string;
|
|
7313
7620
|
description?: string | null;
|
|
7621
|
+
head_product_id?: string | null;
|
|
7622
|
+
head_trade_item_floriday_id?: string | null;
|
|
7314
7623
|
id?: string;
|
|
7315
7624
|
is_active?: boolean;
|
|
7316
7625
|
name?: string;
|
|
7317
7626
|
tenant_id?: string;
|
|
7318
7627
|
updated_at?: string;
|
|
7319
7628
|
};
|
|
7629
|
+
Relationships: [{
|
|
7630
|
+
foreignKeyName: "product_groups_head_product_id_fkey";
|
|
7631
|
+
columns: ["head_product_id"];
|
|
7632
|
+
isOneToOne: false;
|
|
7633
|
+
referencedRelation: "products";
|
|
7634
|
+
referencedColumns: ["id"];
|
|
7635
|
+
}];
|
|
7636
|
+
};
|
|
7637
|
+
product_load_settings: {
|
|
7638
|
+
Row: {
|
|
7639
|
+
created_at: string;
|
|
7640
|
+
id: string;
|
|
7641
|
+
is_package: boolean;
|
|
7642
|
+
layers_per_load_carrier: number | null;
|
|
7643
|
+
load_carrier: string | null;
|
|
7644
|
+
package_id: string | null;
|
|
7645
|
+
package_label: string | null;
|
|
7646
|
+
packages_per_layer: number | null;
|
|
7647
|
+
product_id: string | null;
|
|
7648
|
+
tenant_id: string;
|
|
7649
|
+
trade_item_floriday_id: string | null;
|
|
7650
|
+
units_per_package: number | null;
|
|
7651
|
+
updated_at: string;
|
|
7652
|
+
};
|
|
7653
|
+
Insert: {
|
|
7654
|
+
created_at?: string;
|
|
7655
|
+
id?: string;
|
|
7656
|
+
is_package?: boolean;
|
|
7657
|
+
layers_per_load_carrier?: number | null;
|
|
7658
|
+
load_carrier?: string | null;
|
|
7659
|
+
package_id?: string | null;
|
|
7660
|
+
package_label?: string | null;
|
|
7661
|
+
packages_per_layer?: number | null;
|
|
7662
|
+
product_id?: string | null;
|
|
7663
|
+
tenant_id: string;
|
|
7664
|
+
trade_item_floriday_id?: string | null;
|
|
7665
|
+
units_per_package?: number | null;
|
|
7666
|
+
updated_at?: string;
|
|
7667
|
+
};
|
|
7668
|
+
Update: {
|
|
7669
|
+
created_at?: string;
|
|
7670
|
+
id?: string;
|
|
7671
|
+
is_package?: boolean;
|
|
7672
|
+
layers_per_load_carrier?: number | null;
|
|
7673
|
+
load_carrier?: string | null;
|
|
7674
|
+
package_id?: string | null;
|
|
7675
|
+
package_label?: string | null;
|
|
7676
|
+
packages_per_layer?: number | null;
|
|
7677
|
+
product_id?: string | null;
|
|
7678
|
+
tenant_id?: string;
|
|
7679
|
+
trade_item_floriday_id?: string | null;
|
|
7680
|
+
units_per_package?: number | null;
|
|
7681
|
+
updated_at?: string;
|
|
7682
|
+
};
|
|
7683
|
+
Relationships: [{
|
|
7684
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
7685
|
+
columns: ["package_id"];
|
|
7686
|
+
isOneToOne: false;
|
|
7687
|
+
referencedRelation: "packages";
|
|
7688
|
+
referencedColumns: ["id"];
|
|
7689
|
+
}, {
|
|
7690
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
7691
|
+
columns: ["product_id"];
|
|
7692
|
+
isOneToOne: false;
|
|
7693
|
+
referencedRelation: "products";
|
|
7694
|
+
referencedColumns: ["id"];
|
|
7695
|
+
}];
|
|
7696
|
+
};
|
|
7697
|
+
product_merge_log: {
|
|
7698
|
+
Row: {
|
|
7699
|
+
canonical_product_id: string | null;
|
|
7700
|
+
id: string;
|
|
7701
|
+
merged_at: string;
|
|
7702
|
+
merged_from_id: string;
|
|
7703
|
+
notes: string | null;
|
|
7704
|
+
snapshot: import("./types").Json;
|
|
7705
|
+
source_table: string;
|
|
7706
|
+
status: string;
|
|
7707
|
+
};
|
|
7708
|
+
Insert: {
|
|
7709
|
+
canonical_product_id?: string | null;
|
|
7710
|
+
id?: string;
|
|
7711
|
+
merged_at?: string;
|
|
7712
|
+
merged_from_id: string;
|
|
7713
|
+
notes?: string | null;
|
|
7714
|
+
snapshot?: import("./types").Json;
|
|
7715
|
+
source_table: string;
|
|
7716
|
+
status?: string;
|
|
7717
|
+
};
|
|
7718
|
+
Update: {
|
|
7719
|
+
canonical_product_id?: string | null;
|
|
7720
|
+
id?: string;
|
|
7721
|
+
merged_at?: string;
|
|
7722
|
+
merged_from_id?: string;
|
|
7723
|
+
notes?: string | null;
|
|
7724
|
+
snapshot?: import("./types").Json;
|
|
7725
|
+
source_table?: string;
|
|
7726
|
+
status?: string;
|
|
7727
|
+
};
|
|
7320
7728
|
Relationships: [];
|
|
7321
7729
|
};
|
|
7322
7730
|
products: {
|
|
7323
7731
|
Row: {
|
|
7732
|
+
article_number: string | null;
|
|
7324
7733
|
barcode: string | null;
|
|
7325
7734
|
batch: string;
|
|
7326
7735
|
crates_per_layer: number;
|
|
7327
7736
|
created_at: string;
|
|
7328
7737
|
custom_fields: import("./types").Json;
|
|
7738
|
+
floriday_active: boolean;
|
|
7739
|
+
floriday_payload: import("./types").Json;
|
|
7740
|
+
floriday_trade_item_id: string | null;
|
|
7329
7741
|
id: string;
|
|
7330
7742
|
image_url: string | null;
|
|
7331
7743
|
incoming_quantity: number;
|
|
@@ -7344,11 +7756,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7344
7756
|
weight: string | null;
|
|
7345
7757
|
};
|
|
7346
7758
|
Insert: {
|
|
7759
|
+
article_number?: string | null;
|
|
7347
7760
|
barcode?: string | null;
|
|
7348
7761
|
batch: string;
|
|
7349
7762
|
crates_per_layer?: number;
|
|
7350
7763
|
created_at?: string;
|
|
7351
7764
|
custom_fields?: import("./types").Json;
|
|
7765
|
+
floriday_active?: boolean;
|
|
7766
|
+
floriday_payload?: import("./types").Json;
|
|
7767
|
+
floriday_trade_item_id?: string | null;
|
|
7352
7768
|
id?: string;
|
|
7353
7769
|
image_url?: string | null;
|
|
7354
7770
|
incoming_quantity?: number;
|
|
@@ -7367,11 +7783,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7367
7783
|
weight?: string | null;
|
|
7368
7784
|
};
|
|
7369
7785
|
Update: {
|
|
7786
|
+
article_number?: string | null;
|
|
7370
7787
|
barcode?: string | null;
|
|
7371
7788
|
batch?: string;
|
|
7372
7789
|
crates_per_layer?: number;
|
|
7373
7790
|
created_at?: string;
|
|
7374
7791
|
custom_fields?: import("./types").Json;
|
|
7792
|
+
floriday_active?: boolean;
|
|
7793
|
+
floriday_payload?: import("./types").Json;
|
|
7794
|
+
floriday_trade_item_id?: string | null;
|
|
7375
7795
|
id?: string;
|
|
7376
7796
|
image_url?: string | null;
|
|
7377
7797
|
incoming_quantity?: number;
|
|
@@ -8280,8 +8700,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8280
8700
|
order_id: string | null;
|
|
8281
8701
|
order_item_id: string | null;
|
|
8282
8702
|
order_source: string | null;
|
|
8703
|
+
parent_trade_item_key: string | null;
|
|
8283
8704
|
physical_after: number | null;
|
|
8284
8705
|
physical_before: number | null;
|
|
8706
|
+
production_batch_id: string | null;
|
|
8285
8707
|
qty_delta: number;
|
|
8286
8708
|
reason: string | null;
|
|
8287
8709
|
reserved_after: number | null;
|
|
@@ -8297,8 +8719,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8297
8719
|
order_id?: string | null;
|
|
8298
8720
|
order_item_id?: string | null;
|
|
8299
8721
|
order_source?: string | null;
|
|
8722
|
+
parent_trade_item_key?: string | null;
|
|
8300
8723
|
physical_after?: number | null;
|
|
8301
8724
|
physical_before?: number | null;
|
|
8725
|
+
production_batch_id?: string | null;
|
|
8302
8726
|
qty_delta: number;
|
|
8303
8727
|
reason?: string | null;
|
|
8304
8728
|
reserved_after?: number | null;
|
|
@@ -8314,8 +8738,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8314
8738
|
order_id?: string | null;
|
|
8315
8739
|
order_item_id?: string | null;
|
|
8316
8740
|
order_source?: string | null;
|
|
8741
|
+
parent_trade_item_key?: string | null;
|
|
8317
8742
|
physical_after?: number | null;
|
|
8318
8743
|
physical_before?: number | null;
|
|
8744
|
+
production_batch_id?: string | null;
|
|
8319
8745
|
qty_delta?: number;
|
|
8320
8746
|
reason?: string | null;
|
|
8321
8747
|
reserved_after?: number | null;
|
|
@@ -8774,7 +9200,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8774
9200
|
twinfield_connections: {
|
|
8775
9201
|
Row: {
|
|
8776
9202
|
access_token: string | null;
|
|
8777
|
-
client_id: string;
|
|
9203
|
+
client_id: string | null;
|
|
8778
9204
|
client_secret: string | null;
|
|
8779
9205
|
cluster_uri: string | null;
|
|
8780
9206
|
company_code: string | null;
|
|
@@ -8786,7 +9212,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8786
9212
|
is_active: boolean;
|
|
8787
9213
|
label: string | null;
|
|
8788
9214
|
office_code: string | null;
|
|
8789
|
-
redirect_uri: string;
|
|
9215
|
+
redirect_uri: string | null;
|
|
8790
9216
|
refresh_token: string | null;
|
|
8791
9217
|
token_expires_at: string | null;
|
|
8792
9218
|
updated_at: string;
|
|
@@ -8794,7 +9220,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8794
9220
|
};
|
|
8795
9221
|
Insert: {
|
|
8796
9222
|
access_token?: string | null;
|
|
8797
|
-
client_id
|
|
9223
|
+
client_id?: string | null;
|
|
8798
9224
|
client_secret?: string | null;
|
|
8799
9225
|
cluster_uri?: string | null;
|
|
8800
9226
|
company_code?: string | null;
|
|
@@ -8806,7 +9232,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8806
9232
|
is_active?: boolean;
|
|
8807
9233
|
label?: string | null;
|
|
8808
9234
|
office_code?: string | null;
|
|
8809
|
-
redirect_uri
|
|
9235
|
+
redirect_uri?: string | null;
|
|
8810
9236
|
refresh_token?: string | null;
|
|
8811
9237
|
token_expires_at?: string | null;
|
|
8812
9238
|
updated_at?: string;
|
|
@@ -8814,7 +9240,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8814
9240
|
};
|
|
8815
9241
|
Update: {
|
|
8816
9242
|
access_token?: string | null;
|
|
8817
|
-
client_id?: string;
|
|
9243
|
+
client_id?: string | null;
|
|
8818
9244
|
client_secret?: string | null;
|
|
8819
9245
|
cluster_uri?: string | null;
|
|
8820
9246
|
company_code?: string | null;
|
|
@@ -8826,7 +9252,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8826
9252
|
is_active?: boolean;
|
|
8827
9253
|
label?: string | null;
|
|
8828
9254
|
office_code?: string | null;
|
|
8829
|
-
redirect_uri?: string;
|
|
9255
|
+
redirect_uri?: string | null;
|
|
8830
9256
|
refresh_token?: string | null;
|
|
8831
9257
|
token_expires_at?: string | null;
|
|
8832
9258
|
updated_at?: string;
|
|
@@ -10021,25 +10447,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10021
10447
|
};
|
|
10022
10448
|
Relationships: [];
|
|
10023
10449
|
};
|
|
10024
|
-
floriday_customer_discounts: {
|
|
10025
|
-
Row: {
|
|
10026
|
-
base_price: number | null;
|
|
10027
|
-
buyer_organization_id: string | null;
|
|
10028
|
-
currency: string | null;
|
|
10029
|
-
discount_type: string | null;
|
|
10030
|
-
discount_value: number | null;
|
|
10031
|
-
min_quantity: number | null;
|
|
10032
|
-
net_price: number | null;
|
|
10033
|
-
product_group_id: string | null;
|
|
10034
|
-
raw: import("./types").Json | null;
|
|
10035
|
-
source: string | null;
|
|
10036
|
-
source_id: string | null;
|
|
10037
|
-
trade_item_id: string | null;
|
|
10038
|
-
valid_from: string | null;
|
|
10039
|
-
valid_until: string | null;
|
|
10040
|
-
};
|
|
10041
|
-
Relationships: [];
|
|
10042
|
-
};
|
|
10043
10450
|
local_customer_discounts: {
|
|
10044
10451
|
Row: {
|
|
10045
10452
|
base_price: number | null;
|
|
@@ -10343,6 +10750,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10343
10750
|
};
|
|
10344
10751
|
Returns: number;
|
|
10345
10752
|
};
|
|
10753
|
+
_migrate_rewrite_stock_key: {
|
|
10754
|
+
Args: {
|
|
10755
|
+
_from_key: string;
|
|
10756
|
+
_to_key: string;
|
|
10757
|
+
};
|
|
10758
|
+
Returns: undefined;
|
|
10759
|
+
};
|
|
10346
10760
|
afh_city_code: {
|
|
10347
10761
|
Args: {
|
|
10348
10762
|
_city: string;
|
|
@@ -10458,6 +10872,28 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10458
10872
|
Args: never;
|
|
10459
10873
|
Returns: undefined;
|
|
10460
10874
|
};
|
|
10875
|
+
consume_bom_for_production: {
|
|
10876
|
+
Args: {
|
|
10877
|
+
p_connection_id: string;
|
|
10878
|
+
p_parent_id: string;
|
|
10879
|
+
p_parent_key: string;
|
|
10880
|
+
p_parent_kind: string;
|
|
10881
|
+
p_quantity: number;
|
|
10882
|
+
p_user_id: string;
|
|
10883
|
+
};
|
|
10884
|
+
Returns: import("./types").Json;
|
|
10885
|
+
} | {
|
|
10886
|
+
Args: {
|
|
10887
|
+
p_batch_id?: string;
|
|
10888
|
+
p_connection_id: string;
|
|
10889
|
+
p_parent_id: string;
|
|
10890
|
+
p_parent_key: string;
|
|
10891
|
+
p_parent_kind: string;
|
|
10892
|
+
p_quantity: number;
|
|
10893
|
+
p_user_id: string;
|
|
10894
|
+
};
|
|
10895
|
+
Returns: import("./types").Json;
|
|
10896
|
+
};
|
|
10461
10897
|
consume_floriday_rate_limit: {
|
|
10462
10898
|
Args: {
|
|
10463
10899
|
p_bucket: string;
|
|
@@ -10509,6 +10945,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10509
10945
|
table_name: string;
|
|
10510
10946
|
}[];
|
|
10511
10947
|
};
|
|
10948
|
+
delete_samenstelling: {
|
|
10949
|
+
Args: {
|
|
10950
|
+
p_parent_id: string;
|
|
10951
|
+
p_parent_kind: string;
|
|
10952
|
+
};
|
|
10953
|
+
Returns: import("./types").Json;
|
|
10954
|
+
};
|
|
10512
10955
|
dispatch_carrier_signups_sql: {
|
|
10513
10956
|
Args: {
|
|
10514
10957
|
_catchup?: string;
|
|
@@ -10669,19 +11112,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10669
11112
|
resource: string;
|
|
10670
11113
|
}[];
|
|
10671
11114
|
};
|
|
10672
|
-
get_floriday_agreements_active: {
|
|
10673
|
-
Args: {
|
|
10674
|
-
p_on_date?: string;
|
|
10675
|
-
};
|
|
10676
|
-
Returns: {
|
|
10677
|
-
buyer_organization_id: string;
|
|
10678
|
-
data: import("./types").Json;
|
|
10679
|
-
floriday_id: string;
|
|
10680
|
-
status: string;
|
|
10681
|
-
valid_from: string;
|
|
10682
|
-
valid_until: string;
|
|
10683
|
-
}[];
|
|
10684
|
-
};
|
|
10685
11115
|
get_floriday_clock_supplies_window: {
|
|
10686
11116
|
Args: {
|
|
10687
11117
|
p_from: string;
|
|
@@ -10754,6 +11184,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10754
11184
|
minutes_since_success: number;
|
|
10755
11185
|
}[];
|
|
10756
11186
|
};
|
|
11187
|
+
get_group_allocation_keys: {
|
|
11188
|
+
Args: {
|
|
11189
|
+
p_product_id: string;
|
|
11190
|
+
};
|
|
11191
|
+
Returns: {
|
|
11192
|
+
k: string;
|
|
11193
|
+
ord: number;
|
|
11194
|
+
}[];
|
|
11195
|
+
};
|
|
11196
|
+
get_group_head_key: {
|
|
11197
|
+
Args: {
|
|
11198
|
+
p_group_id: string;
|
|
11199
|
+
};
|
|
11200
|
+
Returns: string;
|
|
11201
|
+
};
|
|
10757
11202
|
get_offer_by_link_code: {
|
|
10758
11203
|
Args: {
|
|
10759
11204
|
p_code: string;
|
|
@@ -10864,6 +11309,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10864
11309
|
};
|
|
10865
11310
|
Returns: undefined;
|
|
10866
11311
|
};
|
|
11312
|
+
mark_shipment_shipped: {
|
|
11313
|
+
Args: {
|
|
11314
|
+
p_shipment_id: string;
|
|
11315
|
+
};
|
|
11316
|
+
Returns: undefined;
|
|
11317
|
+
};
|
|
11318
|
+
merge_products: {
|
|
11319
|
+
Args: {
|
|
11320
|
+
_canonical: string;
|
|
11321
|
+
_loser: string;
|
|
11322
|
+
};
|
|
11323
|
+
Returns: undefined;
|
|
11324
|
+
};
|
|
11325
|
+
next_manufacture_partij: {
|
|
11326
|
+
Args: {
|
|
11327
|
+
_tenant_id: string;
|
|
11328
|
+
};
|
|
11329
|
+
Returns: string;
|
|
11330
|
+
};
|
|
10867
11331
|
next_order_number: {
|
|
10868
11332
|
Args: {
|
|
10869
11333
|
p_prefix: string;
|
|
@@ -10942,6 +11406,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10942
11406
|
};
|
|
10943
11407
|
Returns: undefined;
|
|
10944
11408
|
};
|
|
11409
|
+
produce_designed_product: {
|
|
11410
|
+
Args: {
|
|
11411
|
+
p_parent_id: string;
|
|
11412
|
+
p_parent_kind: string;
|
|
11413
|
+
p_quantity: number;
|
|
11414
|
+
};
|
|
11415
|
+
Returns: import("./types").Json;
|
|
11416
|
+
};
|
|
10945
11417
|
promote_trade_item_key: {
|
|
10946
11418
|
Args: {
|
|
10947
11419
|
p_new: string;
|
|
@@ -10949,6 +11421,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10949
11421
|
};
|
|
10950
11422
|
Returns: undefined;
|
|
10951
11423
|
};
|
|
11424
|
+
recompute_all_reserved_stock: {
|
|
11425
|
+
Args: never;
|
|
11426
|
+
Returns: undefined;
|
|
11427
|
+
};
|
|
10952
11428
|
recompute_order_status: {
|
|
10953
11429
|
Args: {
|
|
10954
11430
|
p_order_id: string;
|
|
@@ -10998,27 +11474,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10998
11474
|
};
|
|
10999
11475
|
Returns: undefined;
|
|
11000
11476
|
};
|
|
11477
|
+
resolve_group_allocation: {
|
|
11478
|
+
Args: {
|
|
11479
|
+
_needed: number;
|
|
11480
|
+
_product_group_id: string;
|
|
11481
|
+
};
|
|
11482
|
+
Returns: {
|
|
11483
|
+
allocated: number;
|
|
11484
|
+
trade_item_id: string;
|
|
11485
|
+
}[];
|
|
11486
|
+
};
|
|
11487
|
+
resolve_group_member_stock_key: {
|
|
11488
|
+
Args: {
|
|
11489
|
+
p_trade_item_id: string;
|
|
11490
|
+
};
|
|
11491
|
+
Returns: string;
|
|
11492
|
+
};
|
|
11001
11493
|
resolve_product_id_for_item: {
|
|
11002
11494
|
Args: {
|
|
11003
11495
|
p_product_name: string;
|
|
11004
11496
|
};
|
|
11005
11497
|
Returns: string;
|
|
11006
11498
|
};
|
|
11007
|
-
|
|
11499
|
+
resolve_stock_trade_item_key: {
|
|
11008
11500
|
Args: {
|
|
11009
|
-
|
|
11010
|
-
p_url: string;
|
|
11501
|
+
p_product_id: string;
|
|
11011
11502
|
};
|
|
11012
|
-
Returns:
|
|
11503
|
+
Returns: string;
|
|
11013
11504
|
};
|
|
11014
|
-
|
|
11505
|
+
reverse_production: {
|
|
11015
11506
|
Args: {
|
|
11016
|
-
|
|
11017
|
-
|
|
11507
|
+
p_connection_id?: string;
|
|
11508
|
+
p_parent_key: string;
|
|
11509
|
+
p_quantity: number;
|
|
11510
|
+
p_reason?: string;
|
|
11511
|
+
p_user_id?: string;
|
|
11018
11512
|
};
|
|
11019
|
-
Returns:
|
|
11513
|
+
Returns: import("./types").Json;
|
|
11020
11514
|
};
|
|
11021
|
-
|
|
11515
|
+
schedule_floriday_additional_services_sync: {
|
|
11022
11516
|
Args: {
|
|
11023
11517
|
p_apikey: string;
|
|
11024
11518
|
p_url: string;
|