@flowselections/floriday-authenticatie-module 1.0.20 → 1.0.22
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/settings/FlorydaySettingsCard.js +0 -3
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +976 -179
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +976 -179
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +976 -179
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +994 -170
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode.functions.d.ts +6833 -1254
- package/dist-lib/lib/floricode.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auction-letters.functions.d.ts +976 -179
- package/dist-lib/lib/floriday-auction-letters.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-labels.functions.d.ts +976 -179
- package/dist-lib/lib/floriday-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +5852 -1070
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-scopes.d.ts +0 -8
- package/dist-lib/lib/floriday-scopes.d.ts.map +1 -1
- package/dist-lib/lib/floriday-scopes.js +4 -28
- package/dist-lib/lib/floriday-stickers.functions.d.ts +976 -179
- package/dist-lib/lib/floriday-stickers.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-sync.functions.d.ts +30431 -28430
- package/dist-lib/lib/floriday-sync.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-sync.functions.js +62 -145
- package/dist-lib/lib/floriday-writes.functions.d.ts +5858 -1112
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +17624 -3278
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.js +47 -21
- 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;
|
|
@@ -4620,6 +4701,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
4620
4701
|
Row: {
|
|
4621
4702
|
buyer_organization_id: string | null;
|
|
4622
4703
|
connection_id: string;
|
|
4704
|
+
controlled_at: string | null;
|
|
4705
|
+
controlled_by: string | null;
|
|
4623
4706
|
created_at: string;
|
|
4624
4707
|
data: import("./types").Json;
|
|
4625
4708
|
floriday_id: string;
|
|
@@ -4631,6 +4714,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
4631
4714
|
Insert: {
|
|
4632
4715
|
buyer_organization_id?: string | null;
|
|
4633
4716
|
connection_id: string;
|
|
4717
|
+
controlled_at?: string | null;
|
|
4718
|
+
controlled_by?: string | null;
|
|
4634
4719
|
created_at?: string;
|
|
4635
4720
|
data: import("./types").Json;
|
|
4636
4721
|
floriday_id: string;
|
|
@@ -4642,6 +4727,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
4642
4727
|
Update: {
|
|
4643
4728
|
buyer_organization_id?: string | null;
|
|
4644
4729
|
connection_id?: string;
|
|
4730
|
+
controlled_at?: string | null;
|
|
4731
|
+
controlled_by?: string | null;
|
|
4645
4732
|
created_at?: string;
|
|
4646
4733
|
data?: import("./types").Json;
|
|
4647
4734
|
floriday_id?: string;
|
|
@@ -4823,9 +4910,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
4823
4910
|
referencedColumns: ["id"];
|
|
4824
4911
|
}];
|
|
4825
4912
|
};
|
|
4826
|
-
|
|
4913
|
+
floriday_trade_settings_customers_cache: {
|
|
4827
4914
|
Row: {
|
|
4828
|
-
carrier_organization_id: string | null;
|
|
4829
4915
|
connection_id: string;
|
|
4830
4916
|
data: import("./types").Json;
|
|
4831
4917
|
fetched_at: string;
|
|
@@ -4833,25 +4919,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
4833
4919
|
id: string;
|
|
4834
4920
|
is_deleted: boolean;
|
|
4835
4921
|
sequence_number: number;
|
|
4836
|
-
status: string | null;
|
|
4837
|
-
trip_date: string | null;
|
|
4838
4922
|
updated_at: string;
|
|
4839
4923
|
};
|
|
4840
4924
|
Insert: {
|
|
4841
|
-
carrier_organization_id?: string | null;
|
|
4842
4925
|
connection_id: string;
|
|
4843
|
-
data
|
|
4926
|
+
data: import("./types").Json;
|
|
4844
4927
|
fetched_at?: string;
|
|
4845
4928
|
floriday_id: string;
|
|
4846
4929
|
id?: string;
|
|
4847
4930
|
is_deleted?: boolean;
|
|
4848
4931
|
sequence_number?: number;
|
|
4849
|
-
status?: string | null;
|
|
4850
|
-
trip_date?: string | null;
|
|
4851
4932
|
updated_at?: string;
|
|
4852
4933
|
};
|
|
4853
4934
|
Update: {
|
|
4854
|
-
carrier_organization_id?: string | null;
|
|
4855
4935
|
connection_id?: string;
|
|
4856
4936
|
data?: import("./types").Json;
|
|
4857
4937
|
fetched_at?: string;
|
|
@@ -4859,31 +4939,77 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
4859
4939
|
id?: string;
|
|
4860
4940
|
is_deleted?: boolean;
|
|
4861
4941
|
sequence_number?: number;
|
|
4862
|
-
status?: string | null;
|
|
4863
|
-
trip_date?: string | null;
|
|
4864
4942
|
updated_at?: string;
|
|
4865
4943
|
};
|
|
4866
4944
|
Relationships: [{
|
|
4867
|
-
foreignKeyName: "
|
|
4945
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
4868
4946
|
columns: ["connection_id"];
|
|
4869
4947
|
isOneToOne: false;
|
|
4870
4948
|
referencedRelation: "floriday_connections";
|
|
4871
4949
|
referencedColumns: ["id"];
|
|
4872
4950
|
}];
|
|
4873
4951
|
};
|
|
4874
|
-
|
|
4952
|
+
floriday_trips_cache: {
|
|
4875
4953
|
Row: {
|
|
4954
|
+
carrier_organization_id: string | null;
|
|
4876
4955
|
connection_id: string;
|
|
4877
4956
|
data: import("./types").Json;
|
|
4878
4957
|
fetched_at: string;
|
|
4879
4958
|
floriday_id: string;
|
|
4880
|
-
gln_code: string | null;
|
|
4881
4959
|
id: string;
|
|
4882
|
-
is_default: boolean;
|
|
4883
4960
|
is_deleted: boolean;
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4961
|
+
sequence_number: number;
|
|
4962
|
+
status: string | null;
|
|
4963
|
+
trip_date: string | null;
|
|
4964
|
+
updated_at: string;
|
|
4965
|
+
};
|
|
4966
|
+
Insert: {
|
|
4967
|
+
carrier_organization_id?: string | null;
|
|
4968
|
+
connection_id: string;
|
|
4969
|
+
data?: import("./types").Json;
|
|
4970
|
+
fetched_at?: string;
|
|
4971
|
+
floriday_id: string;
|
|
4972
|
+
id?: string;
|
|
4973
|
+
is_deleted?: boolean;
|
|
4974
|
+
sequence_number?: number;
|
|
4975
|
+
status?: string | null;
|
|
4976
|
+
trip_date?: string | null;
|
|
4977
|
+
updated_at?: string;
|
|
4978
|
+
};
|
|
4979
|
+
Update: {
|
|
4980
|
+
carrier_organization_id?: string | null;
|
|
4981
|
+
connection_id?: string;
|
|
4982
|
+
data?: import("./types").Json;
|
|
4983
|
+
fetched_at?: string;
|
|
4984
|
+
floriday_id?: string;
|
|
4985
|
+
id?: string;
|
|
4986
|
+
is_deleted?: boolean;
|
|
4987
|
+
sequence_number?: number;
|
|
4988
|
+
status?: string | null;
|
|
4989
|
+
trip_date?: string | null;
|
|
4990
|
+
updated_at?: string;
|
|
4991
|
+
};
|
|
4992
|
+
Relationships: [{
|
|
4993
|
+
foreignKeyName: "floriday_trips_cache_connection_id_fkey";
|
|
4994
|
+
columns: ["connection_id"];
|
|
4995
|
+
isOneToOne: false;
|
|
4996
|
+
referencedRelation: "floriday_connections";
|
|
4997
|
+
referencedColumns: ["id"];
|
|
4998
|
+
}];
|
|
4999
|
+
};
|
|
5000
|
+
floriday_warehouses_cache: {
|
|
5001
|
+
Row: {
|
|
5002
|
+
connection_id: string;
|
|
5003
|
+
data: import("./types").Json;
|
|
5004
|
+
fetched_at: string;
|
|
5005
|
+
floriday_id: string;
|
|
5006
|
+
gln_code: string | null;
|
|
5007
|
+
id: string;
|
|
5008
|
+
is_default: boolean;
|
|
5009
|
+
is_deleted: boolean;
|
|
5010
|
+
name: string | null;
|
|
5011
|
+
updated_at: string;
|
|
5012
|
+
};
|
|
4887
5013
|
Insert: {
|
|
4888
5014
|
connection_id: string;
|
|
4889
5015
|
data?: import("./types").Json;
|
|
@@ -5573,6 +5699,222 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
5573
5699
|
};
|
|
5574
5700
|
Relationships: [];
|
|
5575
5701
|
};
|
|
5702
|
+
logistics_decisions: {
|
|
5703
|
+
Row: {
|
|
5704
|
+
created_at: string;
|
|
5705
|
+
explanation: string | null;
|
|
5706
|
+
id: string;
|
|
5707
|
+
input_snapshot: import("./types").Json;
|
|
5708
|
+
result: import("./types").Json;
|
|
5709
|
+
slot: string;
|
|
5710
|
+
strategy_id: string | null;
|
|
5711
|
+
subject_id: string;
|
|
5712
|
+
subject_type: string;
|
|
5713
|
+
user_id: string;
|
|
5714
|
+
};
|
|
5715
|
+
Insert: {
|
|
5716
|
+
created_at?: string;
|
|
5717
|
+
explanation?: string | null;
|
|
5718
|
+
id?: string;
|
|
5719
|
+
input_snapshot?: import("./types").Json;
|
|
5720
|
+
result?: import("./types").Json;
|
|
5721
|
+
slot: string;
|
|
5722
|
+
strategy_id?: string | null;
|
|
5723
|
+
subject_id: string;
|
|
5724
|
+
subject_type: string;
|
|
5725
|
+
user_id: string;
|
|
5726
|
+
};
|
|
5727
|
+
Update: {
|
|
5728
|
+
created_at?: string;
|
|
5729
|
+
explanation?: string | null;
|
|
5730
|
+
id?: string;
|
|
5731
|
+
input_snapshot?: import("./types").Json;
|
|
5732
|
+
result?: import("./types").Json;
|
|
5733
|
+
slot?: string;
|
|
5734
|
+
strategy_id?: string | null;
|
|
5735
|
+
subject_id?: string;
|
|
5736
|
+
subject_type?: string;
|
|
5737
|
+
user_id?: string;
|
|
5738
|
+
};
|
|
5739
|
+
Relationships: [{
|
|
5740
|
+
foreignKeyName: "logistics_decisions_strategy_id_fkey";
|
|
5741
|
+
columns: ["strategy_id"];
|
|
5742
|
+
isOneToOne: false;
|
|
5743
|
+
referencedRelation: "logistics_strategies";
|
|
5744
|
+
referencedColumns: ["id"];
|
|
5745
|
+
}];
|
|
5746
|
+
};
|
|
5747
|
+
logistics_formulas: {
|
|
5748
|
+
Row: {
|
|
5749
|
+
created_at: string;
|
|
5750
|
+
expression: string;
|
|
5751
|
+
id: string;
|
|
5752
|
+
notes: string | null;
|
|
5753
|
+
slot: string;
|
|
5754
|
+
strategy_id: string;
|
|
5755
|
+
updated_at: string;
|
|
5756
|
+
user_id: string;
|
|
5757
|
+
version: number;
|
|
5758
|
+
};
|
|
5759
|
+
Insert: {
|
|
5760
|
+
created_at?: string;
|
|
5761
|
+
expression?: string;
|
|
5762
|
+
id?: string;
|
|
5763
|
+
notes?: string | null;
|
|
5764
|
+
slot: string;
|
|
5765
|
+
strategy_id: string;
|
|
5766
|
+
updated_at?: string;
|
|
5767
|
+
user_id: string;
|
|
5768
|
+
version?: number;
|
|
5769
|
+
};
|
|
5770
|
+
Update: {
|
|
5771
|
+
created_at?: string;
|
|
5772
|
+
expression?: string;
|
|
5773
|
+
id?: string;
|
|
5774
|
+
notes?: string | null;
|
|
5775
|
+
slot?: string;
|
|
5776
|
+
strategy_id?: string;
|
|
5777
|
+
updated_at?: string;
|
|
5778
|
+
user_id?: string;
|
|
5779
|
+
version?: number;
|
|
5780
|
+
};
|
|
5781
|
+
Relationships: [{
|
|
5782
|
+
foreignKeyName: "logistics_formulas_strategy_id_fkey";
|
|
5783
|
+
columns: ["strategy_id"];
|
|
5784
|
+
isOneToOne: false;
|
|
5785
|
+
referencedRelation: "logistics_strategies";
|
|
5786
|
+
referencedColumns: ["id"];
|
|
5787
|
+
}];
|
|
5788
|
+
};
|
|
5789
|
+
logistics_strategies: {
|
|
5790
|
+
Row: {
|
|
5791
|
+
color: string;
|
|
5792
|
+
created_at: string;
|
|
5793
|
+
description: string | null;
|
|
5794
|
+
id: string;
|
|
5795
|
+
is_active: boolean;
|
|
5796
|
+
name: string;
|
|
5797
|
+
priority: number;
|
|
5798
|
+
updated_at: string;
|
|
5799
|
+
updated_by: string | null;
|
|
5800
|
+
user_id: string;
|
|
5801
|
+
version: number;
|
|
5802
|
+
};
|
|
5803
|
+
Insert: {
|
|
5804
|
+
color?: string;
|
|
5805
|
+
created_at?: string;
|
|
5806
|
+
description?: string | null;
|
|
5807
|
+
id?: string;
|
|
5808
|
+
is_active?: boolean;
|
|
5809
|
+
name: string;
|
|
5810
|
+
priority?: number;
|
|
5811
|
+
updated_at?: string;
|
|
5812
|
+
updated_by?: string | null;
|
|
5813
|
+
user_id: string;
|
|
5814
|
+
version?: number;
|
|
5815
|
+
};
|
|
5816
|
+
Update: {
|
|
5817
|
+
color?: string;
|
|
5818
|
+
created_at?: string;
|
|
5819
|
+
description?: string | null;
|
|
5820
|
+
id?: string;
|
|
5821
|
+
is_active?: boolean;
|
|
5822
|
+
name?: string;
|
|
5823
|
+
priority?: number;
|
|
5824
|
+
updated_at?: string;
|
|
5825
|
+
updated_by?: string | null;
|
|
5826
|
+
user_id?: string;
|
|
5827
|
+
version?: number;
|
|
5828
|
+
};
|
|
5829
|
+
Relationships: [];
|
|
5830
|
+
};
|
|
5831
|
+
logistics_strategy_schedules: {
|
|
5832
|
+
Row: {
|
|
5833
|
+
condition_expression: string | null;
|
|
5834
|
+
created_at: string;
|
|
5835
|
+
end_date: string | null;
|
|
5836
|
+
id: string;
|
|
5837
|
+
is_enabled: boolean;
|
|
5838
|
+
priority: number;
|
|
5839
|
+
rule_type: string;
|
|
5840
|
+
start_date: string | null;
|
|
5841
|
+
strategy_id: string;
|
|
5842
|
+
updated_at: string;
|
|
5843
|
+
user_id: string;
|
|
5844
|
+
};
|
|
5845
|
+
Insert: {
|
|
5846
|
+
condition_expression?: string | null;
|
|
5847
|
+
created_at?: string;
|
|
5848
|
+
end_date?: string | null;
|
|
5849
|
+
id?: string;
|
|
5850
|
+
is_enabled?: boolean;
|
|
5851
|
+
priority?: number;
|
|
5852
|
+
rule_type: string;
|
|
5853
|
+
start_date?: string | null;
|
|
5854
|
+
strategy_id: string;
|
|
5855
|
+
updated_at?: string;
|
|
5856
|
+
user_id: string;
|
|
5857
|
+
};
|
|
5858
|
+
Update: {
|
|
5859
|
+
condition_expression?: string | null;
|
|
5860
|
+
created_at?: string;
|
|
5861
|
+
end_date?: string | null;
|
|
5862
|
+
id?: string;
|
|
5863
|
+
is_enabled?: boolean;
|
|
5864
|
+
priority?: number;
|
|
5865
|
+
rule_type?: string;
|
|
5866
|
+
start_date?: string | null;
|
|
5867
|
+
strategy_id?: string;
|
|
5868
|
+
updated_at?: string;
|
|
5869
|
+
user_id?: string;
|
|
5870
|
+
};
|
|
5871
|
+
Relationships: [{
|
|
5872
|
+
foreignKeyName: "logistics_strategy_schedules_strategy_id_fkey";
|
|
5873
|
+
columns: ["strategy_id"];
|
|
5874
|
+
isOneToOne: false;
|
|
5875
|
+
referencedRelation: "logistics_strategies";
|
|
5876
|
+
referencedColumns: ["id"];
|
|
5877
|
+
}];
|
|
5878
|
+
};
|
|
5879
|
+
logistics_variables: {
|
|
5880
|
+
Row: {
|
|
5881
|
+
created_at: string;
|
|
5882
|
+
default_value: string | null;
|
|
5883
|
+
description: string | null;
|
|
5884
|
+
id: string;
|
|
5885
|
+
is_builtin: boolean;
|
|
5886
|
+
key: string;
|
|
5887
|
+
label: string;
|
|
5888
|
+
updated_at: string;
|
|
5889
|
+
user_id: string;
|
|
5890
|
+
value_type: string;
|
|
5891
|
+
};
|
|
5892
|
+
Insert: {
|
|
5893
|
+
created_at?: string;
|
|
5894
|
+
default_value?: string | null;
|
|
5895
|
+
description?: string | null;
|
|
5896
|
+
id?: string;
|
|
5897
|
+
is_builtin?: boolean;
|
|
5898
|
+
key: string;
|
|
5899
|
+
label: string;
|
|
5900
|
+
updated_at?: string;
|
|
5901
|
+
user_id: string;
|
|
5902
|
+
value_type: string;
|
|
5903
|
+
};
|
|
5904
|
+
Update: {
|
|
5905
|
+
created_at?: string;
|
|
5906
|
+
default_value?: string | null;
|
|
5907
|
+
description?: string | null;
|
|
5908
|
+
id?: string;
|
|
5909
|
+
is_builtin?: boolean;
|
|
5910
|
+
key?: string;
|
|
5911
|
+
label?: string;
|
|
5912
|
+
updated_at?: string;
|
|
5913
|
+
user_id?: string;
|
|
5914
|
+
value_type?: string;
|
|
5915
|
+
};
|
|
5916
|
+
Relationships: [];
|
|
5917
|
+
};
|
|
5576
5918
|
mailbox_messages: {
|
|
5577
5919
|
Row: {
|
|
5578
5920
|
body_html: string | null;
|
|
@@ -5968,39 +6310,60 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
5968
6310
|
};
|
|
5969
6311
|
manufacture_products: {
|
|
5970
6312
|
Row: {
|
|
6313
|
+
aantal_te_produceren: number;
|
|
5971
6314
|
created_at: string;
|
|
5972
6315
|
description: string | null;
|
|
5973
6316
|
id: string;
|
|
5974
6317
|
is_active: boolean;
|
|
6318
|
+
location_id: string | null;
|
|
5975
6319
|
name: string;
|
|
6320
|
+
partij_nummer: string | null;
|
|
6321
|
+
photos: import("./types").Json;
|
|
5976
6322
|
produced_stock: number;
|
|
5977
6323
|
product_code: string;
|
|
5978
6324
|
tenant_id: string;
|
|
6325
|
+
unit: string;
|
|
5979
6326
|
updated_at: string;
|
|
5980
6327
|
};
|
|
5981
6328
|
Insert: {
|
|
6329
|
+
aantal_te_produceren?: number;
|
|
5982
6330
|
created_at?: string;
|
|
5983
6331
|
description?: string | null;
|
|
5984
6332
|
id?: string;
|
|
5985
6333
|
is_active?: boolean;
|
|
6334
|
+
location_id?: string | null;
|
|
5986
6335
|
name: string;
|
|
6336
|
+
partij_nummer?: string | null;
|
|
6337
|
+
photos?: import("./types").Json;
|
|
5987
6338
|
produced_stock?: number;
|
|
5988
6339
|
product_code: string;
|
|
5989
6340
|
tenant_id: string;
|
|
6341
|
+
unit?: string;
|
|
5990
6342
|
updated_at?: string;
|
|
5991
6343
|
};
|
|
5992
6344
|
Update: {
|
|
6345
|
+
aantal_te_produceren?: number;
|
|
5993
6346
|
created_at?: string;
|
|
5994
6347
|
description?: string | null;
|
|
5995
6348
|
id?: string;
|
|
5996
6349
|
is_active?: boolean;
|
|
6350
|
+
location_id?: string | null;
|
|
5997
6351
|
name?: string;
|
|
6352
|
+
partij_nummer?: string | null;
|
|
6353
|
+
photos?: import("./types").Json;
|
|
5998
6354
|
produced_stock?: number;
|
|
5999
6355
|
product_code?: string;
|
|
6000
6356
|
tenant_id?: string;
|
|
6357
|
+
unit?: string;
|
|
6001
6358
|
updated_at?: string;
|
|
6002
6359
|
};
|
|
6003
|
-
Relationships: [
|
|
6360
|
+
Relationships: [{
|
|
6361
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
6362
|
+
columns: ["location_id"];
|
|
6363
|
+
isOneToOne: false;
|
|
6364
|
+
referencedRelation: "locations";
|
|
6365
|
+
referencedColumns: ["id"];
|
|
6366
|
+
}];
|
|
6004
6367
|
};
|
|
6005
6368
|
monteurs: {
|
|
6006
6369
|
Row: {
|
|
@@ -6974,6 +7337,105 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6974
7337
|
};
|
|
6975
7338
|
Relationships: [];
|
|
6976
7339
|
};
|
|
7340
|
+
order_shipment_items: {
|
|
7341
|
+
Row: {
|
|
7342
|
+
created_at: string;
|
|
7343
|
+
id: string;
|
|
7344
|
+
order_item_id: string;
|
|
7345
|
+
product_id: string | null;
|
|
7346
|
+
product_name: string;
|
|
7347
|
+
quantity: number;
|
|
7348
|
+
shipment_id: string;
|
|
7349
|
+
updated_at: string;
|
|
7350
|
+
};
|
|
7351
|
+
Insert: {
|
|
7352
|
+
created_at?: string;
|
|
7353
|
+
id?: string;
|
|
7354
|
+
order_item_id: string;
|
|
7355
|
+
product_id?: string | null;
|
|
7356
|
+
product_name: string;
|
|
7357
|
+
quantity: number;
|
|
7358
|
+
shipment_id: string;
|
|
7359
|
+
updated_at?: string;
|
|
7360
|
+
};
|
|
7361
|
+
Update: {
|
|
7362
|
+
created_at?: string;
|
|
7363
|
+
id?: string;
|
|
7364
|
+
order_item_id?: string;
|
|
7365
|
+
product_id?: string | null;
|
|
7366
|
+
product_name?: string;
|
|
7367
|
+
quantity?: number;
|
|
7368
|
+
shipment_id?: string;
|
|
7369
|
+
updated_at?: string;
|
|
7370
|
+
};
|
|
7371
|
+
Relationships: [{
|
|
7372
|
+
foreignKeyName: "order_shipment_items_order_item_id_fkey";
|
|
7373
|
+
columns: ["order_item_id"];
|
|
7374
|
+
isOneToOne: false;
|
|
7375
|
+
referencedRelation: "order_items";
|
|
7376
|
+
referencedColumns: ["id"];
|
|
7377
|
+
}, {
|
|
7378
|
+
foreignKeyName: "order_shipment_items_shipment_id_fkey";
|
|
7379
|
+
columns: ["shipment_id"];
|
|
7380
|
+
isOneToOne: false;
|
|
7381
|
+
referencedRelation: "order_shipments";
|
|
7382
|
+
referencedColumns: ["id"];
|
|
7383
|
+
}];
|
|
7384
|
+
};
|
|
7385
|
+
order_shipments: {
|
|
7386
|
+
Row: {
|
|
7387
|
+
carrier_id: string | null;
|
|
7388
|
+
created_at: string;
|
|
7389
|
+
delivery_date: string | null;
|
|
7390
|
+
delivery_location_id: string | null;
|
|
7391
|
+
id: string;
|
|
7392
|
+
notes: string | null;
|
|
7393
|
+
order_id: string;
|
|
7394
|
+
shipment_number: number;
|
|
7395
|
+
shipped_at: string | null;
|
|
7396
|
+
status: string;
|
|
7397
|
+
updated_at: string;
|
|
7398
|
+
};
|
|
7399
|
+
Insert: {
|
|
7400
|
+
carrier_id?: string | null;
|
|
7401
|
+
created_at?: string;
|
|
7402
|
+
delivery_date?: string | null;
|
|
7403
|
+
delivery_location_id?: string | null;
|
|
7404
|
+
id?: string;
|
|
7405
|
+
notes?: string | null;
|
|
7406
|
+
order_id: string;
|
|
7407
|
+
shipment_number: number;
|
|
7408
|
+
shipped_at?: string | null;
|
|
7409
|
+
status?: string;
|
|
7410
|
+
updated_at?: string;
|
|
7411
|
+
};
|
|
7412
|
+
Update: {
|
|
7413
|
+
carrier_id?: string | null;
|
|
7414
|
+
created_at?: string;
|
|
7415
|
+
delivery_date?: string | null;
|
|
7416
|
+
delivery_location_id?: string | null;
|
|
7417
|
+
id?: string;
|
|
7418
|
+
notes?: string | null;
|
|
7419
|
+
order_id?: string;
|
|
7420
|
+
shipment_number?: number;
|
|
7421
|
+
shipped_at?: string | null;
|
|
7422
|
+
status?: string;
|
|
7423
|
+
updated_at?: string;
|
|
7424
|
+
};
|
|
7425
|
+
Relationships: [{
|
|
7426
|
+
foreignKeyName: "order_shipments_carrier_id_fkey";
|
|
7427
|
+
columns: ["carrier_id"];
|
|
7428
|
+
isOneToOne: false;
|
|
7429
|
+
referencedRelation: "carriers";
|
|
7430
|
+
referencedColumns: ["id"];
|
|
7431
|
+
}, {
|
|
7432
|
+
foreignKeyName: "order_shipments_order_id_fkey";
|
|
7433
|
+
columns: ["order_id"];
|
|
7434
|
+
isOneToOne: false;
|
|
7435
|
+
referencedRelation: "orders";
|
|
7436
|
+
referencedColumns: ["id"];
|
|
7437
|
+
}];
|
|
7438
|
+
};
|
|
6977
7439
|
orders: {
|
|
6978
7440
|
Row: {
|
|
6979
7441
|
created_at: string;
|
|
@@ -6981,8 +7443,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6981
7443
|
customer_id: string | null;
|
|
6982
7444
|
customer_name: string;
|
|
6983
7445
|
deleted_at: string | null;
|
|
6984
|
-
delivery_date: string;
|
|
7446
|
+
delivery_date: string | null;
|
|
6985
7447
|
id: string;
|
|
7448
|
+
is_reservation: boolean;
|
|
6986
7449
|
notes: string | null;
|
|
6987
7450
|
order_date: string;
|
|
6988
7451
|
order_number: string;
|
|
@@ -6999,8 +7462,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6999
7462
|
customer_id?: string | null;
|
|
7000
7463
|
customer_name?: string;
|
|
7001
7464
|
deleted_at?: string | null;
|
|
7002
|
-
delivery_date
|
|
7465
|
+
delivery_date?: string | null;
|
|
7003
7466
|
id?: string;
|
|
7467
|
+
is_reservation?: boolean;
|
|
7004
7468
|
notes?: string | null;
|
|
7005
7469
|
order_date?: string;
|
|
7006
7470
|
order_number: string;
|
|
@@ -7017,8 +7481,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7017
7481
|
customer_id?: string | null;
|
|
7018
7482
|
customer_name?: string;
|
|
7019
7483
|
deleted_at?: string | null;
|
|
7020
|
-
delivery_date?: string;
|
|
7484
|
+
delivery_date?: string | null;
|
|
7021
7485
|
id?: string;
|
|
7486
|
+
is_reservation?: boolean;
|
|
7022
7487
|
notes?: string | null;
|
|
7023
7488
|
order_date?: string;
|
|
7024
7489
|
order_number?: string;
|
|
@@ -7133,32 +7598,89 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7133
7598
|
color: string;
|
|
7134
7599
|
created_at: string;
|
|
7135
7600
|
id: string;
|
|
7136
|
-
is_active: boolean;
|
|
7137
|
-
name: string;
|
|
7601
|
+
is_active: boolean;
|
|
7602
|
+
name: string;
|
|
7603
|
+
sort_order: number;
|
|
7604
|
+
updated_at: string;
|
|
7605
|
+
};
|
|
7606
|
+
Insert: {
|
|
7607
|
+
automation_type?: string;
|
|
7608
|
+
color?: string;
|
|
7609
|
+
created_at?: string;
|
|
7610
|
+
id?: string;
|
|
7611
|
+
is_active?: boolean;
|
|
7612
|
+
name: string;
|
|
7613
|
+
sort_order?: number;
|
|
7614
|
+
updated_at?: string;
|
|
7615
|
+
};
|
|
7616
|
+
Update: {
|
|
7617
|
+
automation_type?: string;
|
|
7618
|
+
color?: string;
|
|
7619
|
+
created_at?: string;
|
|
7620
|
+
id?: string;
|
|
7621
|
+
is_active?: boolean;
|
|
7622
|
+
name?: string;
|
|
7623
|
+
sort_order?: number;
|
|
7624
|
+
updated_at?: string;
|
|
7625
|
+
};
|
|
7626
|
+
Relationships: [];
|
|
7627
|
+
};
|
|
7628
|
+
product_bom_items: {
|
|
7629
|
+
Row: {
|
|
7630
|
+
component_product_id: string | null;
|
|
7631
|
+
component_trade_item_floriday_id: string | null;
|
|
7632
|
+
created_at: string;
|
|
7633
|
+
id: string;
|
|
7634
|
+
notes: string | null;
|
|
7635
|
+
parent_product_id: string | null;
|
|
7636
|
+
parent_trade_item_floriday_id: string | null;
|
|
7637
|
+
quantity: number;
|
|
7138
7638
|
sort_order: number;
|
|
7639
|
+
tenant_id: string;
|
|
7640
|
+
unit: string;
|
|
7139
7641
|
updated_at: string;
|
|
7140
7642
|
};
|
|
7141
7643
|
Insert: {
|
|
7142
|
-
|
|
7143
|
-
|
|
7644
|
+
component_product_id?: string | null;
|
|
7645
|
+
component_trade_item_floriday_id?: string | null;
|
|
7144
7646
|
created_at?: string;
|
|
7145
7647
|
id?: string;
|
|
7146
|
-
|
|
7147
|
-
|
|
7648
|
+
notes?: string | null;
|
|
7649
|
+
parent_product_id?: string | null;
|
|
7650
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7651
|
+
quantity?: number;
|
|
7148
7652
|
sort_order?: number;
|
|
7653
|
+
tenant_id: string;
|
|
7654
|
+
unit?: string;
|
|
7149
7655
|
updated_at?: string;
|
|
7150
7656
|
};
|
|
7151
7657
|
Update: {
|
|
7152
|
-
|
|
7153
|
-
|
|
7658
|
+
component_product_id?: string | null;
|
|
7659
|
+
component_trade_item_floriday_id?: string | null;
|
|
7154
7660
|
created_at?: string;
|
|
7155
7661
|
id?: string;
|
|
7156
|
-
|
|
7157
|
-
|
|
7662
|
+
notes?: string | null;
|
|
7663
|
+
parent_product_id?: string | null;
|
|
7664
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7665
|
+
quantity?: number;
|
|
7158
7666
|
sort_order?: number;
|
|
7667
|
+
tenant_id?: string;
|
|
7668
|
+
unit?: string;
|
|
7159
7669
|
updated_at?: string;
|
|
7160
7670
|
};
|
|
7161
|
-
Relationships: [
|
|
7671
|
+
Relationships: [{
|
|
7672
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
7673
|
+
columns: ["component_product_id"];
|
|
7674
|
+
isOneToOne: false;
|
|
7675
|
+
referencedRelation: "products";
|
|
7676
|
+
referencedColumns: ["id"];
|
|
7677
|
+
}, {
|
|
7678
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
7679
|
+
columns: ["parent_product_id"];
|
|
7680
|
+
isOneToOne: false;
|
|
7681
|
+
referencedRelation: "products";
|
|
7682
|
+
referencedColumns: ["id"];
|
|
7683
|
+
}];
|
|
7162
7684
|
};
|
|
7163
7685
|
product_categories: {
|
|
7164
7686
|
Row: {
|
|
@@ -7265,6 +7787,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7265
7787
|
id: string;
|
|
7266
7788
|
product_group_id: string;
|
|
7267
7789
|
quantity: number;
|
|
7790
|
+
sort_order: number;
|
|
7268
7791
|
trade_item_id: string;
|
|
7269
7792
|
};
|
|
7270
7793
|
Insert: {
|
|
@@ -7272,6 +7795,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7272
7795
|
id?: string;
|
|
7273
7796
|
product_group_id: string;
|
|
7274
7797
|
quantity?: number;
|
|
7798
|
+
sort_order?: number;
|
|
7275
7799
|
trade_item_id: string;
|
|
7276
7800
|
};
|
|
7277
7801
|
Update: {
|
|
@@ -7279,6 +7803,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7279
7803
|
id?: string;
|
|
7280
7804
|
product_group_id?: string;
|
|
7281
7805
|
quantity?: number;
|
|
7806
|
+
sort_order?: number;
|
|
7282
7807
|
trade_item_id?: string;
|
|
7283
7808
|
};
|
|
7284
7809
|
Relationships: [{
|
|
@@ -7293,6 +7818,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7293
7818
|
Row: {
|
|
7294
7819
|
created_at: string;
|
|
7295
7820
|
description: string | null;
|
|
7821
|
+
head_product_id: string | null;
|
|
7822
|
+
head_trade_item_floriday_id: string | null;
|
|
7296
7823
|
id: string;
|
|
7297
7824
|
is_active: boolean;
|
|
7298
7825
|
name: string;
|
|
@@ -7302,6 +7829,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7302
7829
|
Insert: {
|
|
7303
7830
|
created_at?: string;
|
|
7304
7831
|
description?: string | null;
|
|
7832
|
+
head_product_id?: string | null;
|
|
7833
|
+
head_trade_item_floriday_id?: string | null;
|
|
7305
7834
|
id?: string;
|
|
7306
7835
|
is_active?: boolean;
|
|
7307
7836
|
name: string;
|
|
@@ -7311,24 +7840,130 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7311
7840
|
Update: {
|
|
7312
7841
|
created_at?: string;
|
|
7313
7842
|
description?: string | null;
|
|
7843
|
+
head_product_id?: string | null;
|
|
7844
|
+
head_trade_item_floriday_id?: string | null;
|
|
7314
7845
|
id?: string;
|
|
7315
7846
|
is_active?: boolean;
|
|
7316
7847
|
name?: string;
|
|
7317
7848
|
tenant_id?: string;
|
|
7318
7849
|
updated_at?: string;
|
|
7319
7850
|
};
|
|
7851
|
+
Relationships: [{
|
|
7852
|
+
foreignKeyName: "product_groups_head_product_id_fkey";
|
|
7853
|
+
columns: ["head_product_id"];
|
|
7854
|
+
isOneToOne: false;
|
|
7855
|
+
referencedRelation: "products";
|
|
7856
|
+
referencedColumns: ["id"];
|
|
7857
|
+
}];
|
|
7858
|
+
};
|
|
7859
|
+
product_load_settings: {
|
|
7860
|
+
Row: {
|
|
7861
|
+
created_at: string;
|
|
7862
|
+
id: string;
|
|
7863
|
+
is_package: boolean;
|
|
7864
|
+
layers_per_load_carrier: number | null;
|
|
7865
|
+
load_carrier: string | null;
|
|
7866
|
+
package_id: string | null;
|
|
7867
|
+
package_label: string | null;
|
|
7868
|
+
packages_per_layer: number | null;
|
|
7869
|
+
product_id: string | null;
|
|
7870
|
+
tenant_id: string;
|
|
7871
|
+
trade_item_floriday_id: string | null;
|
|
7872
|
+
units_per_package: number | null;
|
|
7873
|
+
updated_at: string;
|
|
7874
|
+
};
|
|
7875
|
+
Insert: {
|
|
7876
|
+
created_at?: string;
|
|
7877
|
+
id?: string;
|
|
7878
|
+
is_package?: boolean;
|
|
7879
|
+
layers_per_load_carrier?: number | null;
|
|
7880
|
+
load_carrier?: string | null;
|
|
7881
|
+
package_id?: string | null;
|
|
7882
|
+
package_label?: string | null;
|
|
7883
|
+
packages_per_layer?: number | null;
|
|
7884
|
+
product_id?: string | null;
|
|
7885
|
+
tenant_id: string;
|
|
7886
|
+
trade_item_floriday_id?: string | null;
|
|
7887
|
+
units_per_package?: number | null;
|
|
7888
|
+
updated_at?: string;
|
|
7889
|
+
};
|
|
7890
|
+
Update: {
|
|
7891
|
+
created_at?: string;
|
|
7892
|
+
id?: string;
|
|
7893
|
+
is_package?: boolean;
|
|
7894
|
+
layers_per_load_carrier?: number | null;
|
|
7895
|
+
load_carrier?: string | null;
|
|
7896
|
+
package_id?: string | null;
|
|
7897
|
+
package_label?: string | null;
|
|
7898
|
+
packages_per_layer?: number | null;
|
|
7899
|
+
product_id?: string | null;
|
|
7900
|
+
tenant_id?: string;
|
|
7901
|
+
trade_item_floriday_id?: string | null;
|
|
7902
|
+
units_per_package?: number | null;
|
|
7903
|
+
updated_at?: string;
|
|
7904
|
+
};
|
|
7905
|
+
Relationships: [{
|
|
7906
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
7907
|
+
columns: ["package_id"];
|
|
7908
|
+
isOneToOne: false;
|
|
7909
|
+
referencedRelation: "packages";
|
|
7910
|
+
referencedColumns: ["id"];
|
|
7911
|
+
}, {
|
|
7912
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
7913
|
+
columns: ["product_id"];
|
|
7914
|
+
isOneToOne: false;
|
|
7915
|
+
referencedRelation: "products";
|
|
7916
|
+
referencedColumns: ["id"];
|
|
7917
|
+
}];
|
|
7918
|
+
};
|
|
7919
|
+
product_merge_log: {
|
|
7920
|
+
Row: {
|
|
7921
|
+
canonical_product_id: string | null;
|
|
7922
|
+
id: string;
|
|
7923
|
+
merged_at: string;
|
|
7924
|
+
merged_from_id: string;
|
|
7925
|
+
notes: string | null;
|
|
7926
|
+
snapshot: import("./types").Json;
|
|
7927
|
+
source_table: string;
|
|
7928
|
+
status: string;
|
|
7929
|
+
};
|
|
7930
|
+
Insert: {
|
|
7931
|
+
canonical_product_id?: string | null;
|
|
7932
|
+
id?: string;
|
|
7933
|
+
merged_at?: string;
|
|
7934
|
+
merged_from_id: string;
|
|
7935
|
+
notes?: string | null;
|
|
7936
|
+
snapshot?: import("./types").Json;
|
|
7937
|
+
source_table: string;
|
|
7938
|
+
status?: string;
|
|
7939
|
+
};
|
|
7940
|
+
Update: {
|
|
7941
|
+
canonical_product_id?: string | null;
|
|
7942
|
+
id?: string;
|
|
7943
|
+
merged_at?: string;
|
|
7944
|
+
merged_from_id?: string;
|
|
7945
|
+
notes?: string | null;
|
|
7946
|
+
snapshot?: import("./types").Json;
|
|
7947
|
+
source_table?: string;
|
|
7948
|
+
status?: string;
|
|
7949
|
+
};
|
|
7320
7950
|
Relationships: [];
|
|
7321
7951
|
};
|
|
7322
7952
|
products: {
|
|
7323
7953
|
Row: {
|
|
7954
|
+
article_number: string | null;
|
|
7324
7955
|
barcode: string | null;
|
|
7325
7956
|
batch: string;
|
|
7326
7957
|
crates_per_layer: number;
|
|
7327
7958
|
created_at: string;
|
|
7328
7959
|
custom_fields: import("./types").Json;
|
|
7960
|
+
floriday_active: boolean;
|
|
7961
|
+
floriday_payload: import("./types").Json;
|
|
7962
|
+
floriday_trade_item_id: string | null;
|
|
7329
7963
|
id: string;
|
|
7330
7964
|
image_url: string | null;
|
|
7331
7965
|
incoming_quantity: number;
|
|
7966
|
+
is_layer: boolean;
|
|
7332
7967
|
layers_per_cart: number;
|
|
7333
7968
|
location: string;
|
|
7334
7969
|
min_quantity: number;
|
|
@@ -7344,14 +7979,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7344
7979
|
weight: string | null;
|
|
7345
7980
|
};
|
|
7346
7981
|
Insert: {
|
|
7982
|
+
article_number?: string | null;
|
|
7347
7983
|
barcode?: string | null;
|
|
7348
7984
|
batch: string;
|
|
7349
7985
|
crates_per_layer?: number;
|
|
7350
7986
|
created_at?: string;
|
|
7351
7987
|
custom_fields?: import("./types").Json;
|
|
7988
|
+
floriday_active?: boolean;
|
|
7989
|
+
floriday_payload?: import("./types").Json;
|
|
7990
|
+
floriday_trade_item_id?: string | null;
|
|
7352
7991
|
id?: string;
|
|
7353
7992
|
image_url?: string | null;
|
|
7354
7993
|
incoming_quantity?: number;
|
|
7994
|
+
is_layer?: boolean;
|
|
7355
7995
|
layers_per_cart?: number;
|
|
7356
7996
|
location: string;
|
|
7357
7997
|
min_quantity?: number;
|
|
@@ -7367,14 +8007,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7367
8007
|
weight?: string | null;
|
|
7368
8008
|
};
|
|
7369
8009
|
Update: {
|
|
8010
|
+
article_number?: string | null;
|
|
7370
8011
|
barcode?: string | null;
|
|
7371
8012
|
batch?: string;
|
|
7372
8013
|
crates_per_layer?: number;
|
|
7373
8014
|
created_at?: string;
|
|
7374
8015
|
custom_fields?: import("./types").Json;
|
|
8016
|
+
floriday_active?: boolean;
|
|
8017
|
+
floriday_payload?: import("./types").Json;
|
|
8018
|
+
floriday_trade_item_id?: string | null;
|
|
7375
8019
|
id?: string;
|
|
7376
8020
|
image_url?: string | null;
|
|
7377
8021
|
incoming_quantity?: number;
|
|
8022
|
+
is_layer?: boolean;
|
|
7378
8023
|
layers_per_cart?: number;
|
|
7379
8024
|
location?: string;
|
|
7380
8025
|
min_quantity?: number;
|
|
@@ -8280,8 +8925,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8280
8925
|
order_id: string | null;
|
|
8281
8926
|
order_item_id: string | null;
|
|
8282
8927
|
order_source: string | null;
|
|
8928
|
+
parent_trade_item_key: string | null;
|
|
8283
8929
|
physical_after: number | null;
|
|
8284
8930
|
physical_before: number | null;
|
|
8931
|
+
production_batch_id: string | null;
|
|
8285
8932
|
qty_delta: number;
|
|
8286
8933
|
reason: string | null;
|
|
8287
8934
|
reserved_after: number | null;
|
|
@@ -8297,8 +8944,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8297
8944
|
order_id?: string | null;
|
|
8298
8945
|
order_item_id?: string | null;
|
|
8299
8946
|
order_source?: string | null;
|
|
8947
|
+
parent_trade_item_key?: string | null;
|
|
8300
8948
|
physical_after?: number | null;
|
|
8301
8949
|
physical_before?: number | null;
|
|
8950
|
+
production_batch_id?: string | null;
|
|
8302
8951
|
qty_delta: number;
|
|
8303
8952
|
reason?: string | null;
|
|
8304
8953
|
reserved_after?: number | null;
|
|
@@ -8314,8 +8963,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8314
8963
|
order_id?: string | null;
|
|
8315
8964
|
order_item_id?: string | null;
|
|
8316
8965
|
order_source?: string | null;
|
|
8966
|
+
parent_trade_item_key?: string | null;
|
|
8317
8967
|
physical_after?: number | null;
|
|
8318
8968
|
physical_before?: number | null;
|
|
8969
|
+
production_batch_id?: string | null;
|
|
8319
8970
|
qty_delta?: number;
|
|
8320
8971
|
reason?: string | null;
|
|
8321
8972
|
reserved_after?: number | null;
|
|
@@ -8621,6 +9272,48 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8621
9272
|
};
|
|
8622
9273
|
Relationships: [];
|
|
8623
9274
|
};
|
|
9275
|
+
trade_item_prices: {
|
|
9276
|
+
Row: {
|
|
9277
|
+
created_at: string;
|
|
9278
|
+
currency: string;
|
|
9279
|
+
id: string;
|
|
9280
|
+
last_push_error: string | null;
|
|
9281
|
+
last_pushed_at: string | null;
|
|
9282
|
+
price_group_id: string | null;
|
|
9283
|
+
price_per_piece: number;
|
|
9284
|
+
supply_line_id: string | null;
|
|
9285
|
+
trade_item_key: string;
|
|
9286
|
+
updated_at: string;
|
|
9287
|
+
user_id: string;
|
|
9288
|
+
};
|
|
9289
|
+
Insert: {
|
|
9290
|
+
created_at?: string;
|
|
9291
|
+
currency?: string;
|
|
9292
|
+
id?: string;
|
|
9293
|
+
last_push_error?: string | null;
|
|
9294
|
+
last_pushed_at?: string | null;
|
|
9295
|
+
price_group_id?: string | null;
|
|
9296
|
+
price_per_piece: number;
|
|
9297
|
+
supply_line_id?: string | null;
|
|
9298
|
+
trade_item_key: string;
|
|
9299
|
+
updated_at?: string;
|
|
9300
|
+
user_id: string;
|
|
9301
|
+
};
|
|
9302
|
+
Update: {
|
|
9303
|
+
created_at?: string;
|
|
9304
|
+
currency?: string;
|
|
9305
|
+
id?: string;
|
|
9306
|
+
last_push_error?: string | null;
|
|
9307
|
+
last_pushed_at?: string | null;
|
|
9308
|
+
price_group_id?: string | null;
|
|
9309
|
+
price_per_piece?: number;
|
|
9310
|
+
supply_line_id?: string | null;
|
|
9311
|
+
trade_item_key?: string;
|
|
9312
|
+
updated_at?: string;
|
|
9313
|
+
user_id?: string;
|
|
9314
|
+
};
|
|
9315
|
+
Relationships: [];
|
|
9316
|
+
};
|
|
8624
9317
|
trade_item_stock: {
|
|
8625
9318
|
Row: {
|
|
8626
9319
|
connection_id: string;
|
|
@@ -8774,7 +9467,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8774
9467
|
twinfield_connections: {
|
|
8775
9468
|
Row: {
|
|
8776
9469
|
access_token: string | null;
|
|
8777
|
-
client_id: string;
|
|
9470
|
+
client_id: string | null;
|
|
8778
9471
|
client_secret: string | null;
|
|
8779
9472
|
cluster_uri: string | null;
|
|
8780
9473
|
company_code: string | null;
|
|
@@ -8786,7 +9479,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8786
9479
|
is_active: boolean;
|
|
8787
9480
|
label: string | null;
|
|
8788
9481
|
office_code: string | null;
|
|
8789
|
-
redirect_uri: string;
|
|
9482
|
+
redirect_uri: string | null;
|
|
8790
9483
|
refresh_token: string | null;
|
|
8791
9484
|
token_expires_at: string | null;
|
|
8792
9485
|
updated_at: string;
|
|
@@ -8794,7 +9487,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8794
9487
|
};
|
|
8795
9488
|
Insert: {
|
|
8796
9489
|
access_token?: string | null;
|
|
8797
|
-
client_id
|
|
9490
|
+
client_id?: string | null;
|
|
8798
9491
|
client_secret?: string | null;
|
|
8799
9492
|
cluster_uri?: string | null;
|
|
8800
9493
|
company_code?: string | null;
|
|
@@ -8806,7 +9499,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8806
9499
|
is_active?: boolean;
|
|
8807
9500
|
label?: string | null;
|
|
8808
9501
|
office_code?: string | null;
|
|
8809
|
-
redirect_uri
|
|
9502
|
+
redirect_uri?: string | null;
|
|
8810
9503
|
refresh_token?: string | null;
|
|
8811
9504
|
token_expires_at?: string | null;
|
|
8812
9505
|
updated_at?: string;
|
|
@@ -8814,7 +9507,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8814
9507
|
};
|
|
8815
9508
|
Update: {
|
|
8816
9509
|
access_token?: string | null;
|
|
8817
|
-
client_id?: string;
|
|
9510
|
+
client_id?: string | null;
|
|
8818
9511
|
client_secret?: string | null;
|
|
8819
9512
|
cluster_uri?: string | null;
|
|
8820
9513
|
company_code?: string | null;
|
|
@@ -8826,7 +9519,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8826
9519
|
is_active?: boolean;
|
|
8827
9520
|
label?: string | null;
|
|
8828
9521
|
office_code?: string | null;
|
|
8829
|
-
redirect_uri?: string;
|
|
9522
|
+
redirect_uri?: string | null;
|
|
8830
9523
|
refresh_token?: string | null;
|
|
8831
9524
|
token_expires_at?: string | null;
|
|
8832
9525
|
updated_at?: string;
|
|
@@ -10021,25 +10714,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10021
10714
|
};
|
|
10022
10715
|
Relationships: [];
|
|
10023
10716
|
};
|
|
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
10717
|
local_customer_discounts: {
|
|
10044
10718
|
Row: {
|
|
10045
10719
|
base_price: number | null;
|
|
@@ -10343,6 +11017,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10343
11017
|
};
|
|
10344
11018
|
Returns: number;
|
|
10345
11019
|
};
|
|
11020
|
+
_migrate_rewrite_stock_key: {
|
|
11021
|
+
Args: {
|
|
11022
|
+
_from_key: string;
|
|
11023
|
+
_to_key: string;
|
|
11024
|
+
};
|
|
11025
|
+
Returns: undefined;
|
|
11026
|
+
};
|
|
10346
11027
|
afh_city_code: {
|
|
10347
11028
|
Args: {
|
|
10348
11029
|
_city: string;
|
|
@@ -10458,6 +11139,28 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10458
11139
|
Args: never;
|
|
10459
11140
|
Returns: undefined;
|
|
10460
11141
|
};
|
|
11142
|
+
consume_bom_for_production: {
|
|
11143
|
+
Args: {
|
|
11144
|
+
p_connection_id: string;
|
|
11145
|
+
p_parent_id: string;
|
|
11146
|
+
p_parent_key: string;
|
|
11147
|
+
p_parent_kind: string;
|
|
11148
|
+
p_quantity: number;
|
|
11149
|
+
p_user_id: string;
|
|
11150
|
+
};
|
|
11151
|
+
Returns: import("./types").Json;
|
|
11152
|
+
} | {
|
|
11153
|
+
Args: {
|
|
11154
|
+
p_batch_id?: string;
|
|
11155
|
+
p_connection_id: string;
|
|
11156
|
+
p_parent_id: string;
|
|
11157
|
+
p_parent_key: string;
|
|
11158
|
+
p_parent_kind: string;
|
|
11159
|
+
p_quantity: number;
|
|
11160
|
+
p_user_id: string;
|
|
11161
|
+
};
|
|
11162
|
+
Returns: import("./types").Json;
|
|
11163
|
+
};
|
|
10461
11164
|
consume_floriday_rate_limit: {
|
|
10462
11165
|
Args: {
|
|
10463
11166
|
p_bucket: string;
|
|
@@ -10509,6 +11212,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10509
11212
|
table_name: string;
|
|
10510
11213
|
}[];
|
|
10511
11214
|
};
|
|
11215
|
+
delete_samenstelling: {
|
|
11216
|
+
Args: {
|
|
11217
|
+
p_parent_id: string;
|
|
11218
|
+
p_parent_kind: string;
|
|
11219
|
+
};
|
|
11220
|
+
Returns: import("./types").Json;
|
|
11221
|
+
};
|
|
10512
11222
|
dispatch_carrier_signups_sql: {
|
|
10513
11223
|
Args: {
|
|
10514
11224
|
_catchup?: string;
|
|
@@ -10550,6 +11260,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10550
11260
|
status: string;
|
|
10551
11261
|
}[];
|
|
10552
11262
|
};
|
|
11263
|
+
email_auth_upsert_connection: {
|
|
11264
|
+
Args: {
|
|
11265
|
+
_account_email: string;
|
|
11266
|
+
_created_by: string;
|
|
11267
|
+
_is_active: boolean;
|
|
11268
|
+
_provider: string;
|
|
11269
|
+
_status: string;
|
|
11270
|
+
};
|
|
11271
|
+
Returns: string;
|
|
11272
|
+
};
|
|
10553
11273
|
enqueue_cart_replan_if_unlocked: {
|
|
10554
11274
|
Args: {
|
|
10555
11275
|
p_order_id: string;
|
|
@@ -10669,19 +11389,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10669
11389
|
resource: string;
|
|
10670
11390
|
}[];
|
|
10671
11391
|
};
|
|
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
11392
|
get_floriday_clock_supplies_window: {
|
|
10686
11393
|
Args: {
|
|
10687
11394
|
p_from: string;
|
|
@@ -10754,6 +11461,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10754
11461
|
minutes_since_success: number;
|
|
10755
11462
|
}[];
|
|
10756
11463
|
};
|
|
11464
|
+
get_group_allocation_keys: {
|
|
11465
|
+
Args: {
|
|
11466
|
+
p_product_id: string;
|
|
11467
|
+
};
|
|
11468
|
+
Returns: {
|
|
11469
|
+
k: string;
|
|
11470
|
+
ord: number;
|
|
11471
|
+
}[];
|
|
11472
|
+
};
|
|
11473
|
+
get_group_head_key: {
|
|
11474
|
+
Args: {
|
|
11475
|
+
p_group_id: string;
|
|
11476
|
+
};
|
|
11477
|
+
Returns: string;
|
|
11478
|
+
};
|
|
10757
11479
|
get_offer_by_link_code: {
|
|
10758
11480
|
Args: {
|
|
10759
11481
|
p_code: string;
|
|
@@ -10864,6 +11586,32 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10864
11586
|
};
|
|
10865
11587
|
Returns: undefined;
|
|
10866
11588
|
};
|
|
11589
|
+
mark_salesorder_controlled: {
|
|
11590
|
+
Args: {
|
|
11591
|
+
p_controlled: boolean;
|
|
11592
|
+
p_floriday_id: string;
|
|
11593
|
+
};
|
|
11594
|
+
Returns: undefined;
|
|
11595
|
+
};
|
|
11596
|
+
mark_shipment_shipped: {
|
|
11597
|
+
Args: {
|
|
11598
|
+
p_shipment_id: string;
|
|
11599
|
+
};
|
|
11600
|
+
Returns: undefined;
|
|
11601
|
+
};
|
|
11602
|
+
merge_products: {
|
|
11603
|
+
Args: {
|
|
11604
|
+
_canonical: string;
|
|
11605
|
+
_loser: string;
|
|
11606
|
+
};
|
|
11607
|
+
Returns: undefined;
|
|
11608
|
+
};
|
|
11609
|
+
next_manufacture_partij: {
|
|
11610
|
+
Args: {
|
|
11611
|
+
_tenant_id: string;
|
|
11612
|
+
};
|
|
11613
|
+
Returns: string;
|
|
11614
|
+
};
|
|
10867
11615
|
next_order_number: {
|
|
10868
11616
|
Args: {
|
|
10869
11617
|
p_prefix: string;
|
|
@@ -10933,6 +11681,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10933
11681
|
};
|
|
10934
11682
|
Returns: undefined;
|
|
10935
11683
|
};
|
|
11684
|
+
pickstation_resolve_delivery_orders: {
|
|
11685
|
+
Args: {
|
|
11686
|
+
p_sales_order_ids: string[];
|
|
11687
|
+
};
|
|
11688
|
+
Returns: {
|
|
11689
|
+
delivery_order_id: string;
|
|
11690
|
+
sales_order_id: string;
|
|
11691
|
+
}[];
|
|
11692
|
+
};
|
|
10936
11693
|
pickstation_set_cart_status: {
|
|
10937
11694
|
Args: {
|
|
10938
11695
|
p_cart_index: number;
|
|
@@ -10942,6 +11699,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10942
11699
|
};
|
|
10943
11700
|
Returns: undefined;
|
|
10944
11701
|
};
|
|
11702
|
+
produce_designed_product: {
|
|
11703
|
+
Args: {
|
|
11704
|
+
p_parent_id: string;
|
|
11705
|
+
p_parent_kind: string;
|
|
11706
|
+
p_quantity: number;
|
|
11707
|
+
};
|
|
11708
|
+
Returns: import("./types").Json;
|
|
11709
|
+
};
|
|
10945
11710
|
promote_trade_item_key: {
|
|
10946
11711
|
Args: {
|
|
10947
11712
|
p_new: string;
|
|
@@ -10949,6 +11714,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10949
11714
|
};
|
|
10950
11715
|
Returns: undefined;
|
|
10951
11716
|
};
|
|
11717
|
+
recompute_all_reserved_stock: {
|
|
11718
|
+
Args: never;
|
|
11719
|
+
Returns: undefined;
|
|
11720
|
+
};
|
|
10952
11721
|
recompute_order_status: {
|
|
10953
11722
|
Args: {
|
|
10954
11723
|
p_order_id: string;
|
|
@@ -10998,27 +11767,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10998
11767
|
};
|
|
10999
11768
|
Returns: undefined;
|
|
11000
11769
|
};
|
|
11770
|
+
resolve_group_allocation: {
|
|
11771
|
+
Args: {
|
|
11772
|
+
_needed: number;
|
|
11773
|
+
_product_group_id: string;
|
|
11774
|
+
};
|
|
11775
|
+
Returns: {
|
|
11776
|
+
allocated: number;
|
|
11777
|
+
trade_item_id: string;
|
|
11778
|
+
}[];
|
|
11779
|
+
};
|
|
11780
|
+
resolve_group_member_stock_key: {
|
|
11781
|
+
Args: {
|
|
11782
|
+
p_trade_item_id: string;
|
|
11783
|
+
};
|
|
11784
|
+
Returns: string;
|
|
11785
|
+
};
|
|
11001
11786
|
resolve_product_id_for_item: {
|
|
11002
11787
|
Args: {
|
|
11003
11788
|
p_product_name: string;
|
|
11004
11789
|
};
|
|
11005
11790
|
Returns: string;
|
|
11006
11791
|
};
|
|
11007
|
-
|
|
11792
|
+
resolve_stock_trade_item_key: {
|
|
11008
11793
|
Args: {
|
|
11009
|
-
|
|
11010
|
-
p_url: string;
|
|
11794
|
+
p_product_id: string;
|
|
11011
11795
|
};
|
|
11012
|
-
Returns:
|
|
11796
|
+
Returns: string;
|
|
11013
11797
|
};
|
|
11014
|
-
|
|
11798
|
+
reverse_production: {
|
|
11015
11799
|
Args: {
|
|
11016
|
-
|
|
11017
|
-
|
|
11800
|
+
p_connection_id?: string;
|
|
11801
|
+
p_parent_key: string;
|
|
11802
|
+
p_quantity: number;
|
|
11803
|
+
p_reason?: string;
|
|
11804
|
+
p_user_id?: string;
|
|
11018
11805
|
};
|
|
11019
|
-
Returns:
|
|
11806
|
+
Returns: import("./types").Json;
|
|
11020
11807
|
};
|
|
11021
|
-
|
|
11808
|
+
schedule_floriday_additional_services_sync: {
|
|
11022
11809
|
Args: {
|
|
11023
11810
|
p_apikey: string;
|
|
11024
11811
|
p_url: string;
|
|
@@ -11271,6 +12058,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11271
12058
|
};
|
|
11272
12059
|
Returns: number;
|
|
11273
12060
|
};
|
|
12061
|
+
self_heal_floriday_links: {
|
|
12062
|
+
Args: never;
|
|
12063
|
+
Returns: number;
|
|
12064
|
+
};
|
|
11274
12065
|
show_limit: {
|
|
11275
12066
|
Args: never;
|
|
11276
12067
|
Returns: number;
|
|
@@ -11293,6 +12084,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11293
12084
|
};
|
|
11294
12085
|
Returns: undefined;
|
|
11295
12086
|
};
|
|
12087
|
+
sync_product_group_belading: {
|
|
12088
|
+
Args: {
|
|
12089
|
+
_group_id: string;
|
|
12090
|
+
};
|
|
12091
|
+
Returns: undefined;
|
|
12092
|
+
};
|
|
11296
12093
|
sync_product_packing_from_floriday_cache: {
|
|
11297
12094
|
Args: {
|
|
11298
12095
|
p_floriday_id: string;
|