@flowselections/floriday-authenticatie-module 1.0.20 → 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/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 +2 -2
|
@@ -253,6 +253,165 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
253
253
|
};
|
|
254
254
|
Relationships: [];
|
|
255
255
|
};
|
|
256
|
+
ai_credentials: {
|
|
257
|
+
Row: {
|
|
258
|
+
active: boolean;
|
|
259
|
+
api_key: string;
|
|
260
|
+
created_at: string;
|
|
261
|
+
created_by: string | null;
|
|
262
|
+
id: string;
|
|
263
|
+
label: string;
|
|
264
|
+
provider_id: string;
|
|
265
|
+
updated_at: string;
|
|
266
|
+
};
|
|
267
|
+
Insert: {
|
|
268
|
+
active?: boolean;
|
|
269
|
+
api_key: string;
|
|
270
|
+
created_at?: string;
|
|
271
|
+
created_by?: string | null;
|
|
272
|
+
id?: string;
|
|
273
|
+
label: string;
|
|
274
|
+
provider_id: string;
|
|
275
|
+
updated_at?: string;
|
|
276
|
+
};
|
|
277
|
+
Update: {
|
|
278
|
+
active?: boolean;
|
|
279
|
+
api_key?: string;
|
|
280
|
+
created_at?: string;
|
|
281
|
+
created_by?: string | null;
|
|
282
|
+
id?: string;
|
|
283
|
+
label?: string;
|
|
284
|
+
provider_id?: string;
|
|
285
|
+
updated_at?: string;
|
|
286
|
+
};
|
|
287
|
+
Relationships: [{
|
|
288
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
289
|
+
columns: ["provider_id"];
|
|
290
|
+
isOneToOne: false;
|
|
291
|
+
referencedRelation: "ai_providers";
|
|
292
|
+
referencedColumns: ["id"];
|
|
293
|
+
}];
|
|
294
|
+
};
|
|
295
|
+
ai_models: {
|
|
296
|
+
Row: {
|
|
297
|
+
active: boolean;
|
|
298
|
+
context_window: number | null;
|
|
299
|
+
created_at: string;
|
|
300
|
+
display_name: string;
|
|
301
|
+
id: string;
|
|
302
|
+
is_default: boolean;
|
|
303
|
+
modality: string;
|
|
304
|
+
provider_id: string;
|
|
305
|
+
slug: string;
|
|
306
|
+
updated_at: string;
|
|
307
|
+
};
|
|
308
|
+
Insert: {
|
|
309
|
+
active?: boolean;
|
|
310
|
+
context_window?: number | null;
|
|
311
|
+
created_at?: string;
|
|
312
|
+
display_name: string;
|
|
313
|
+
id?: string;
|
|
314
|
+
is_default?: boolean;
|
|
315
|
+
modality?: string;
|
|
316
|
+
provider_id: string;
|
|
317
|
+
slug: string;
|
|
318
|
+
updated_at?: string;
|
|
319
|
+
};
|
|
320
|
+
Update: {
|
|
321
|
+
active?: boolean;
|
|
322
|
+
context_window?: number | null;
|
|
323
|
+
created_at?: string;
|
|
324
|
+
display_name?: string;
|
|
325
|
+
id?: string;
|
|
326
|
+
is_default?: boolean;
|
|
327
|
+
modality?: string;
|
|
328
|
+
provider_id?: string;
|
|
329
|
+
slug?: string;
|
|
330
|
+
updated_at?: string;
|
|
331
|
+
};
|
|
332
|
+
Relationships: [{
|
|
333
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
334
|
+
columns: ["provider_id"];
|
|
335
|
+
isOneToOne: false;
|
|
336
|
+
referencedRelation: "ai_providers";
|
|
337
|
+
referencedColumns: ["id"];
|
|
338
|
+
}];
|
|
339
|
+
};
|
|
340
|
+
ai_module_bindings: {
|
|
341
|
+
Row: {
|
|
342
|
+
consumer_module_id: string;
|
|
343
|
+
created_at: string;
|
|
344
|
+
credential_id: string;
|
|
345
|
+
id: string;
|
|
346
|
+
model_id: string;
|
|
347
|
+
notes: string | null;
|
|
348
|
+
updated_at: string;
|
|
349
|
+
};
|
|
350
|
+
Insert: {
|
|
351
|
+
consumer_module_id: string;
|
|
352
|
+
created_at?: string;
|
|
353
|
+
credential_id: string;
|
|
354
|
+
id?: string;
|
|
355
|
+
model_id: string;
|
|
356
|
+
notes?: string | null;
|
|
357
|
+
updated_at?: string;
|
|
358
|
+
};
|
|
359
|
+
Update: {
|
|
360
|
+
consumer_module_id?: string;
|
|
361
|
+
created_at?: string;
|
|
362
|
+
credential_id?: string;
|
|
363
|
+
id?: string;
|
|
364
|
+
model_id?: string;
|
|
365
|
+
notes?: string | null;
|
|
366
|
+
updated_at?: string;
|
|
367
|
+
};
|
|
368
|
+
Relationships: [{
|
|
369
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
370
|
+
columns: ["credential_id"];
|
|
371
|
+
isOneToOne: false;
|
|
372
|
+
referencedRelation: "ai_credentials";
|
|
373
|
+
referencedColumns: ["id"];
|
|
374
|
+
}, {
|
|
375
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
376
|
+
columns: ["model_id"];
|
|
377
|
+
isOneToOne: false;
|
|
378
|
+
referencedRelation: "ai_models";
|
|
379
|
+
referencedColumns: ["id"];
|
|
380
|
+
}];
|
|
381
|
+
};
|
|
382
|
+
ai_providers: {
|
|
383
|
+
Row: {
|
|
384
|
+
active: boolean;
|
|
385
|
+
auth_type: string;
|
|
386
|
+
base_url: string | null;
|
|
387
|
+
created_at: string;
|
|
388
|
+
id: string;
|
|
389
|
+
name: string;
|
|
390
|
+
slug: string;
|
|
391
|
+
updated_at: string;
|
|
392
|
+
};
|
|
393
|
+
Insert: {
|
|
394
|
+
active?: boolean;
|
|
395
|
+
auth_type?: string;
|
|
396
|
+
base_url?: string | null;
|
|
397
|
+
created_at?: string;
|
|
398
|
+
id?: string;
|
|
399
|
+
name: string;
|
|
400
|
+
slug: string;
|
|
401
|
+
updated_at?: string;
|
|
402
|
+
};
|
|
403
|
+
Update: {
|
|
404
|
+
active?: boolean;
|
|
405
|
+
auth_type?: string;
|
|
406
|
+
base_url?: string | null;
|
|
407
|
+
created_at?: string;
|
|
408
|
+
id?: string;
|
|
409
|
+
name?: string;
|
|
410
|
+
slug?: string;
|
|
411
|
+
updated_at?: string;
|
|
412
|
+
};
|
|
413
|
+
Relationships: [];
|
|
414
|
+
};
|
|
256
415
|
app_settings: {
|
|
257
416
|
Row: {
|
|
258
417
|
created_at: string;
|
|
@@ -3259,105 +3418,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
3259
3418
|
referencedColumns: ["id"];
|
|
3260
3419
|
}];
|
|
3261
3420
|
};
|
|
3262
|
-
floriday_agreement_calloffs_cache: {
|
|
3263
|
-
Row: {
|
|
3264
|
-
agreement_id: string | null;
|
|
3265
|
-
connection_id: string;
|
|
3266
|
-
data: import("../integrations/supabase/types").Json;
|
|
3267
|
-
delivery_date: string | null;
|
|
3268
|
-
fetched_at: string;
|
|
3269
|
-
floriday_id: string;
|
|
3270
|
-
id: string;
|
|
3271
|
-
is_deleted: boolean;
|
|
3272
|
-
sequence_number: number;
|
|
3273
|
-
status: string | null;
|
|
3274
|
-
updated_at: string;
|
|
3275
|
-
};
|
|
3276
|
-
Insert: {
|
|
3277
|
-
agreement_id?: string | null;
|
|
3278
|
-
connection_id: string;
|
|
3279
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3280
|
-
delivery_date?: string | null;
|
|
3281
|
-
fetched_at?: string;
|
|
3282
|
-
floriday_id: string;
|
|
3283
|
-
id?: string;
|
|
3284
|
-
is_deleted?: boolean;
|
|
3285
|
-
sequence_number?: number;
|
|
3286
|
-
status?: string | null;
|
|
3287
|
-
updated_at?: string;
|
|
3288
|
-
};
|
|
3289
|
-
Update: {
|
|
3290
|
-
agreement_id?: string | null;
|
|
3291
|
-
connection_id?: string;
|
|
3292
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3293
|
-
delivery_date?: string | null;
|
|
3294
|
-
fetched_at?: string;
|
|
3295
|
-
floriday_id?: string;
|
|
3296
|
-
id?: string;
|
|
3297
|
-
is_deleted?: boolean;
|
|
3298
|
-
sequence_number?: number;
|
|
3299
|
-
status?: string | null;
|
|
3300
|
-
updated_at?: string;
|
|
3301
|
-
};
|
|
3302
|
-
Relationships: [{
|
|
3303
|
-
foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
|
|
3304
|
-
columns: ["connection_id"];
|
|
3305
|
-
isOneToOne: false;
|
|
3306
|
-
referencedRelation: "floriday_connections";
|
|
3307
|
-
referencedColumns: ["id"];
|
|
3308
|
-
}];
|
|
3309
|
-
};
|
|
3310
|
-
floriday_agreements_cache: {
|
|
3311
|
-
Row: {
|
|
3312
|
-
buyer_organization_id: string | null;
|
|
3313
|
-
connection_id: string;
|
|
3314
|
-
data: import("../integrations/supabase/types").Json;
|
|
3315
|
-
fetched_at: string;
|
|
3316
|
-
floriday_id: string;
|
|
3317
|
-
id: string;
|
|
3318
|
-
is_deleted: boolean;
|
|
3319
|
-
sequence_number: number;
|
|
3320
|
-
status: string | null;
|
|
3321
|
-
updated_at: string;
|
|
3322
|
-
valid_from: string | null;
|
|
3323
|
-
valid_until: string | null;
|
|
3324
|
-
};
|
|
3325
|
-
Insert: {
|
|
3326
|
-
buyer_organization_id?: string | null;
|
|
3327
|
-
connection_id: string;
|
|
3328
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3329
|
-
fetched_at?: string;
|
|
3330
|
-
floriday_id: string;
|
|
3331
|
-
id?: string;
|
|
3332
|
-
is_deleted?: boolean;
|
|
3333
|
-
sequence_number?: number;
|
|
3334
|
-
status?: string | null;
|
|
3335
|
-
updated_at?: string;
|
|
3336
|
-
valid_from?: string | null;
|
|
3337
|
-
valid_until?: string | null;
|
|
3338
|
-
};
|
|
3339
|
-
Update: {
|
|
3340
|
-
buyer_organization_id?: string | null;
|
|
3341
|
-
connection_id?: string;
|
|
3342
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3343
|
-
fetched_at?: string;
|
|
3344
|
-
floriday_id?: string;
|
|
3345
|
-
id?: string;
|
|
3346
|
-
is_deleted?: boolean;
|
|
3347
|
-
sequence_number?: number;
|
|
3348
|
-
status?: string | null;
|
|
3349
|
-
updated_at?: string;
|
|
3350
|
-
valid_from?: string | null;
|
|
3351
|
-
valid_until?: string | null;
|
|
3352
|
-
};
|
|
3353
|
-
Relationships: [{
|
|
3354
|
-
foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
|
|
3355
|
-
columns: ["connection_id"];
|
|
3356
|
-
isOneToOne: false;
|
|
3357
|
-
referencedRelation: "floriday_connections";
|
|
3358
|
-
referencedColumns: ["id"];
|
|
3359
|
-
}];
|
|
3360
|
-
};
|
|
3361
3421
|
floriday_auction_letters_cache: {
|
|
3362
3422
|
Row: {
|
|
3363
3423
|
auction_letter_code: string;
|
|
@@ -3856,6 +3916,27 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
3856
3916
|
referencedColumns: ["id"];
|
|
3857
3917
|
}];
|
|
3858
3918
|
};
|
|
3919
|
+
floriday_continuous_stock_cache: {
|
|
3920
|
+
Row: {
|
|
3921
|
+
connection_id: string;
|
|
3922
|
+
fetched_at: string;
|
|
3923
|
+
number_of_pieces: number;
|
|
3924
|
+
trade_item_id: string;
|
|
3925
|
+
};
|
|
3926
|
+
Insert: {
|
|
3927
|
+
connection_id: string;
|
|
3928
|
+
fetched_at?: string;
|
|
3929
|
+
number_of_pieces?: number;
|
|
3930
|
+
trade_item_id: string;
|
|
3931
|
+
};
|
|
3932
|
+
Update: {
|
|
3933
|
+
connection_id?: string;
|
|
3934
|
+
fetched_at?: string;
|
|
3935
|
+
number_of_pieces?: number;
|
|
3936
|
+
trade_item_id?: string;
|
|
3937
|
+
};
|
|
3938
|
+
Relationships: [];
|
|
3939
|
+
};
|
|
3859
3940
|
floriday_continuous_stock_queue: {
|
|
3860
3941
|
Row: {
|
|
3861
3942
|
attempts: number;
|
|
@@ -4631,6 +4712,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
4631
4712
|
Row: {
|
|
4632
4713
|
buyer_organization_id: string | null;
|
|
4633
4714
|
connection_id: string;
|
|
4715
|
+
controlled_at: string | null;
|
|
4716
|
+
controlled_by: string | null;
|
|
4634
4717
|
created_at: string;
|
|
4635
4718
|
data: import("../integrations/supabase/types").Json;
|
|
4636
4719
|
floriday_id: string;
|
|
@@ -4642,6 +4725,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
4642
4725
|
Insert: {
|
|
4643
4726
|
buyer_organization_id?: string | null;
|
|
4644
4727
|
connection_id: string;
|
|
4728
|
+
controlled_at?: string | null;
|
|
4729
|
+
controlled_by?: string | null;
|
|
4645
4730
|
created_at?: string;
|
|
4646
4731
|
data: import("../integrations/supabase/types").Json;
|
|
4647
4732
|
floriday_id: string;
|
|
@@ -4653,6 +4738,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
4653
4738
|
Update: {
|
|
4654
4739
|
buyer_organization_id?: string | null;
|
|
4655
4740
|
connection_id?: string;
|
|
4741
|
+
controlled_at?: string | null;
|
|
4742
|
+
controlled_by?: string | null;
|
|
4656
4743
|
created_at?: string;
|
|
4657
4744
|
data?: import("../integrations/supabase/types").Json;
|
|
4658
4745
|
floriday_id?: string;
|
|
@@ -4834,9 +4921,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
4834
4921
|
referencedColumns: ["id"];
|
|
4835
4922
|
}];
|
|
4836
4923
|
};
|
|
4837
|
-
|
|
4924
|
+
floriday_trade_settings_customers_cache: {
|
|
4838
4925
|
Row: {
|
|
4839
|
-
carrier_organization_id: string | null;
|
|
4840
4926
|
connection_id: string;
|
|
4841
4927
|
data: import("../integrations/supabase/types").Json;
|
|
4842
4928
|
fetched_at: string;
|
|
@@ -4844,25 +4930,19 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
4844
4930
|
id: string;
|
|
4845
4931
|
is_deleted: boolean;
|
|
4846
4932
|
sequence_number: number;
|
|
4847
|
-
status: string | null;
|
|
4848
|
-
trip_date: string | null;
|
|
4849
4933
|
updated_at: string;
|
|
4850
4934
|
};
|
|
4851
4935
|
Insert: {
|
|
4852
|
-
carrier_organization_id?: string | null;
|
|
4853
4936
|
connection_id: string;
|
|
4854
|
-
data
|
|
4937
|
+
data: import("../integrations/supabase/types").Json;
|
|
4855
4938
|
fetched_at?: string;
|
|
4856
4939
|
floriday_id: string;
|
|
4857
4940
|
id?: string;
|
|
4858
4941
|
is_deleted?: boolean;
|
|
4859
4942
|
sequence_number?: number;
|
|
4860
|
-
status?: string | null;
|
|
4861
|
-
trip_date?: string | null;
|
|
4862
4943
|
updated_at?: string;
|
|
4863
4944
|
};
|
|
4864
4945
|
Update: {
|
|
4865
|
-
carrier_organization_id?: string | null;
|
|
4866
4946
|
connection_id?: string;
|
|
4867
4947
|
data?: import("../integrations/supabase/types").Json;
|
|
4868
4948
|
fetched_at?: string;
|
|
@@ -4870,31 +4950,77 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
4870
4950
|
id?: string;
|
|
4871
4951
|
is_deleted?: boolean;
|
|
4872
4952
|
sequence_number?: number;
|
|
4873
|
-
status?: string | null;
|
|
4874
|
-
trip_date?: string | null;
|
|
4875
4953
|
updated_at?: string;
|
|
4876
4954
|
};
|
|
4877
4955
|
Relationships: [{
|
|
4878
|
-
foreignKeyName: "
|
|
4956
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
4879
4957
|
columns: ["connection_id"];
|
|
4880
4958
|
isOneToOne: false;
|
|
4881
4959
|
referencedRelation: "floriday_connections";
|
|
4882
4960
|
referencedColumns: ["id"];
|
|
4883
4961
|
}];
|
|
4884
4962
|
};
|
|
4885
|
-
|
|
4963
|
+
floriday_trips_cache: {
|
|
4886
4964
|
Row: {
|
|
4965
|
+
carrier_organization_id: string | null;
|
|
4887
4966
|
connection_id: string;
|
|
4888
4967
|
data: import("../integrations/supabase/types").Json;
|
|
4889
4968
|
fetched_at: string;
|
|
4890
4969
|
floriday_id: string;
|
|
4891
|
-
gln_code: string | null;
|
|
4892
4970
|
id: string;
|
|
4893
|
-
is_default: boolean;
|
|
4894
4971
|
is_deleted: boolean;
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4972
|
+
sequence_number: number;
|
|
4973
|
+
status: string | null;
|
|
4974
|
+
trip_date: string | null;
|
|
4975
|
+
updated_at: string;
|
|
4976
|
+
};
|
|
4977
|
+
Insert: {
|
|
4978
|
+
carrier_organization_id?: string | null;
|
|
4979
|
+
connection_id: string;
|
|
4980
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4981
|
+
fetched_at?: string;
|
|
4982
|
+
floriday_id: string;
|
|
4983
|
+
id?: string;
|
|
4984
|
+
is_deleted?: boolean;
|
|
4985
|
+
sequence_number?: number;
|
|
4986
|
+
status?: string | null;
|
|
4987
|
+
trip_date?: string | null;
|
|
4988
|
+
updated_at?: string;
|
|
4989
|
+
};
|
|
4990
|
+
Update: {
|
|
4991
|
+
carrier_organization_id?: string | null;
|
|
4992
|
+
connection_id?: string;
|
|
4993
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4994
|
+
fetched_at?: string;
|
|
4995
|
+
floriday_id?: string;
|
|
4996
|
+
id?: string;
|
|
4997
|
+
is_deleted?: boolean;
|
|
4998
|
+
sequence_number?: number;
|
|
4999
|
+
status?: string | null;
|
|
5000
|
+
trip_date?: string | null;
|
|
5001
|
+
updated_at?: string;
|
|
5002
|
+
};
|
|
5003
|
+
Relationships: [{
|
|
5004
|
+
foreignKeyName: "floriday_trips_cache_connection_id_fkey";
|
|
5005
|
+
columns: ["connection_id"];
|
|
5006
|
+
isOneToOne: false;
|
|
5007
|
+
referencedRelation: "floriday_connections";
|
|
5008
|
+
referencedColumns: ["id"];
|
|
5009
|
+
}];
|
|
5010
|
+
};
|
|
5011
|
+
floriday_warehouses_cache: {
|
|
5012
|
+
Row: {
|
|
5013
|
+
connection_id: string;
|
|
5014
|
+
data: import("../integrations/supabase/types").Json;
|
|
5015
|
+
fetched_at: string;
|
|
5016
|
+
floriday_id: string;
|
|
5017
|
+
gln_code: string | null;
|
|
5018
|
+
id: string;
|
|
5019
|
+
is_default: boolean;
|
|
5020
|
+
is_deleted: boolean;
|
|
5021
|
+
name: string | null;
|
|
5022
|
+
updated_at: string;
|
|
5023
|
+
};
|
|
4898
5024
|
Insert: {
|
|
4899
5025
|
connection_id: string;
|
|
4900
5026
|
data?: import("../integrations/supabase/types").Json;
|
|
@@ -5584,6 +5710,222 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
5584
5710
|
};
|
|
5585
5711
|
Relationships: [];
|
|
5586
5712
|
};
|
|
5713
|
+
logistics_decisions: {
|
|
5714
|
+
Row: {
|
|
5715
|
+
created_at: string;
|
|
5716
|
+
explanation: string | null;
|
|
5717
|
+
id: string;
|
|
5718
|
+
input_snapshot: import("../integrations/supabase/types").Json;
|
|
5719
|
+
result: import("../integrations/supabase/types").Json;
|
|
5720
|
+
slot: string;
|
|
5721
|
+
strategy_id: string | null;
|
|
5722
|
+
subject_id: string;
|
|
5723
|
+
subject_type: string;
|
|
5724
|
+
user_id: string;
|
|
5725
|
+
};
|
|
5726
|
+
Insert: {
|
|
5727
|
+
created_at?: string;
|
|
5728
|
+
explanation?: string | null;
|
|
5729
|
+
id?: string;
|
|
5730
|
+
input_snapshot?: import("../integrations/supabase/types").Json;
|
|
5731
|
+
result?: import("../integrations/supabase/types").Json;
|
|
5732
|
+
slot: string;
|
|
5733
|
+
strategy_id?: string | null;
|
|
5734
|
+
subject_id: string;
|
|
5735
|
+
subject_type: string;
|
|
5736
|
+
user_id: string;
|
|
5737
|
+
};
|
|
5738
|
+
Update: {
|
|
5739
|
+
created_at?: string;
|
|
5740
|
+
explanation?: string | null;
|
|
5741
|
+
id?: string;
|
|
5742
|
+
input_snapshot?: import("../integrations/supabase/types").Json;
|
|
5743
|
+
result?: import("../integrations/supabase/types").Json;
|
|
5744
|
+
slot?: string;
|
|
5745
|
+
strategy_id?: string | null;
|
|
5746
|
+
subject_id?: string;
|
|
5747
|
+
subject_type?: string;
|
|
5748
|
+
user_id?: string;
|
|
5749
|
+
};
|
|
5750
|
+
Relationships: [{
|
|
5751
|
+
foreignKeyName: "logistics_decisions_strategy_id_fkey";
|
|
5752
|
+
columns: ["strategy_id"];
|
|
5753
|
+
isOneToOne: false;
|
|
5754
|
+
referencedRelation: "logistics_strategies";
|
|
5755
|
+
referencedColumns: ["id"];
|
|
5756
|
+
}];
|
|
5757
|
+
};
|
|
5758
|
+
logistics_formulas: {
|
|
5759
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
5782
|
+
created_at?: string;
|
|
5783
|
+
expression?: string;
|
|
5784
|
+
id?: string;
|
|
5785
|
+
notes?: string | null;
|
|
5786
|
+
slot?: string;
|
|
5787
|
+
strategy_id?: string;
|
|
5788
|
+
updated_at?: string;
|
|
5789
|
+
user_id?: string;
|
|
5790
|
+
version?: number;
|
|
5791
|
+
};
|
|
5792
|
+
Relationships: [{
|
|
5793
|
+
foreignKeyName: "logistics_formulas_strategy_id_fkey";
|
|
5794
|
+
columns: ["strategy_id"];
|
|
5795
|
+
isOneToOne: false;
|
|
5796
|
+
referencedRelation: "logistics_strategies";
|
|
5797
|
+
referencedColumns: ["id"];
|
|
5798
|
+
}];
|
|
5799
|
+
};
|
|
5800
|
+
logistics_strategies: {
|
|
5801
|
+
Row: {
|
|
5802
|
+
color: string;
|
|
5803
|
+
created_at: string;
|
|
5804
|
+
description: string | null;
|
|
5805
|
+
id: string;
|
|
5806
|
+
is_active: boolean;
|
|
5807
|
+
name: string;
|
|
5808
|
+
priority: number;
|
|
5809
|
+
updated_at: string;
|
|
5810
|
+
updated_by: string | null;
|
|
5811
|
+
user_id: string;
|
|
5812
|
+
version: number;
|
|
5813
|
+
};
|
|
5814
|
+
Insert: {
|
|
5815
|
+
color?: string;
|
|
5816
|
+
created_at?: string;
|
|
5817
|
+
description?: string | null;
|
|
5818
|
+
id?: string;
|
|
5819
|
+
is_active?: boolean;
|
|
5820
|
+
name: string;
|
|
5821
|
+
priority?: number;
|
|
5822
|
+
updated_at?: string;
|
|
5823
|
+
updated_by?: string | null;
|
|
5824
|
+
user_id: string;
|
|
5825
|
+
version?: number;
|
|
5826
|
+
};
|
|
5827
|
+
Update: {
|
|
5828
|
+
color?: string;
|
|
5829
|
+
created_at?: string;
|
|
5830
|
+
description?: string | null;
|
|
5831
|
+
id?: string;
|
|
5832
|
+
is_active?: boolean;
|
|
5833
|
+
name?: string;
|
|
5834
|
+
priority?: number;
|
|
5835
|
+
updated_at?: string;
|
|
5836
|
+
updated_by?: string | null;
|
|
5837
|
+
user_id?: string;
|
|
5838
|
+
version?: number;
|
|
5839
|
+
};
|
|
5840
|
+
Relationships: [];
|
|
5841
|
+
};
|
|
5842
|
+
logistics_strategy_schedules: {
|
|
5843
|
+
Row: {
|
|
5844
|
+
condition_expression: string | null;
|
|
5845
|
+
created_at: string;
|
|
5846
|
+
end_date: string | null;
|
|
5847
|
+
id: string;
|
|
5848
|
+
is_enabled: boolean;
|
|
5849
|
+
priority: number;
|
|
5850
|
+
rule_type: string;
|
|
5851
|
+
start_date: string | null;
|
|
5852
|
+
strategy_id: string;
|
|
5853
|
+
updated_at: string;
|
|
5854
|
+
user_id: string;
|
|
5855
|
+
};
|
|
5856
|
+
Insert: {
|
|
5857
|
+
condition_expression?: string | null;
|
|
5858
|
+
created_at?: string;
|
|
5859
|
+
end_date?: string | null;
|
|
5860
|
+
id?: string;
|
|
5861
|
+
is_enabled?: boolean;
|
|
5862
|
+
priority?: number;
|
|
5863
|
+
rule_type: string;
|
|
5864
|
+
start_date?: string | null;
|
|
5865
|
+
strategy_id: string;
|
|
5866
|
+
updated_at?: string;
|
|
5867
|
+
user_id: string;
|
|
5868
|
+
};
|
|
5869
|
+
Update: {
|
|
5870
|
+
condition_expression?: string | null;
|
|
5871
|
+
created_at?: string;
|
|
5872
|
+
end_date?: string | null;
|
|
5873
|
+
id?: string;
|
|
5874
|
+
is_enabled?: boolean;
|
|
5875
|
+
priority?: number;
|
|
5876
|
+
rule_type?: string;
|
|
5877
|
+
start_date?: string | null;
|
|
5878
|
+
strategy_id?: string;
|
|
5879
|
+
updated_at?: string;
|
|
5880
|
+
user_id?: string;
|
|
5881
|
+
};
|
|
5882
|
+
Relationships: [{
|
|
5883
|
+
foreignKeyName: "logistics_strategy_schedules_strategy_id_fkey";
|
|
5884
|
+
columns: ["strategy_id"];
|
|
5885
|
+
isOneToOne: false;
|
|
5886
|
+
referencedRelation: "logistics_strategies";
|
|
5887
|
+
referencedColumns: ["id"];
|
|
5888
|
+
}];
|
|
5889
|
+
};
|
|
5890
|
+
logistics_variables: {
|
|
5891
|
+
Row: {
|
|
5892
|
+
created_at: string;
|
|
5893
|
+
default_value: string | null;
|
|
5894
|
+
description: string | null;
|
|
5895
|
+
id: string;
|
|
5896
|
+
is_builtin: boolean;
|
|
5897
|
+
key: string;
|
|
5898
|
+
label: string;
|
|
5899
|
+
updated_at: string;
|
|
5900
|
+
user_id: string;
|
|
5901
|
+
value_type: string;
|
|
5902
|
+
};
|
|
5903
|
+
Insert: {
|
|
5904
|
+
created_at?: string;
|
|
5905
|
+
default_value?: string | null;
|
|
5906
|
+
description?: string | null;
|
|
5907
|
+
id?: string;
|
|
5908
|
+
is_builtin?: boolean;
|
|
5909
|
+
key: string;
|
|
5910
|
+
label: string;
|
|
5911
|
+
updated_at?: string;
|
|
5912
|
+
user_id: string;
|
|
5913
|
+
value_type: string;
|
|
5914
|
+
};
|
|
5915
|
+
Update: {
|
|
5916
|
+
created_at?: string;
|
|
5917
|
+
default_value?: string | null;
|
|
5918
|
+
description?: string | null;
|
|
5919
|
+
id?: string;
|
|
5920
|
+
is_builtin?: boolean;
|
|
5921
|
+
key?: string;
|
|
5922
|
+
label?: string;
|
|
5923
|
+
updated_at?: string;
|
|
5924
|
+
user_id?: string;
|
|
5925
|
+
value_type?: string;
|
|
5926
|
+
};
|
|
5927
|
+
Relationships: [];
|
|
5928
|
+
};
|
|
5587
5929
|
mailbox_messages: {
|
|
5588
5930
|
Row: {
|
|
5589
5931
|
body_html: string | null;
|
|
@@ -5979,39 +6321,60 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
5979
6321
|
};
|
|
5980
6322
|
manufacture_products: {
|
|
5981
6323
|
Row: {
|
|
6324
|
+
aantal_te_produceren: number;
|
|
5982
6325
|
created_at: string;
|
|
5983
6326
|
description: string | null;
|
|
5984
6327
|
id: string;
|
|
5985
6328
|
is_active: boolean;
|
|
6329
|
+
location_id: string | null;
|
|
5986
6330
|
name: string;
|
|
6331
|
+
partij_nummer: string | null;
|
|
6332
|
+
photos: import("../integrations/supabase/types").Json;
|
|
5987
6333
|
produced_stock: number;
|
|
5988
6334
|
product_code: string;
|
|
5989
6335
|
tenant_id: string;
|
|
6336
|
+
unit: string;
|
|
5990
6337
|
updated_at: string;
|
|
5991
6338
|
};
|
|
5992
6339
|
Insert: {
|
|
6340
|
+
aantal_te_produceren?: number;
|
|
5993
6341
|
created_at?: string;
|
|
5994
6342
|
description?: string | null;
|
|
5995
6343
|
id?: string;
|
|
5996
6344
|
is_active?: boolean;
|
|
6345
|
+
location_id?: string | null;
|
|
5997
6346
|
name: string;
|
|
6347
|
+
partij_nummer?: string | null;
|
|
6348
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
5998
6349
|
produced_stock?: number;
|
|
5999
6350
|
product_code: string;
|
|
6000
6351
|
tenant_id: string;
|
|
6352
|
+
unit?: string;
|
|
6001
6353
|
updated_at?: string;
|
|
6002
6354
|
};
|
|
6003
6355
|
Update: {
|
|
6356
|
+
aantal_te_produceren?: number;
|
|
6004
6357
|
created_at?: string;
|
|
6005
6358
|
description?: string | null;
|
|
6006
6359
|
id?: string;
|
|
6007
6360
|
is_active?: boolean;
|
|
6361
|
+
location_id?: string | null;
|
|
6008
6362
|
name?: string;
|
|
6363
|
+
partij_nummer?: string | null;
|
|
6364
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
6009
6365
|
produced_stock?: number;
|
|
6010
6366
|
product_code?: string;
|
|
6011
6367
|
tenant_id?: string;
|
|
6368
|
+
unit?: string;
|
|
6012
6369
|
updated_at?: string;
|
|
6013
6370
|
};
|
|
6014
|
-
Relationships: [
|
|
6371
|
+
Relationships: [{
|
|
6372
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
6373
|
+
columns: ["location_id"];
|
|
6374
|
+
isOneToOne: false;
|
|
6375
|
+
referencedRelation: "locations";
|
|
6376
|
+
referencedColumns: ["id"];
|
|
6377
|
+
}];
|
|
6015
6378
|
};
|
|
6016
6379
|
monteurs: {
|
|
6017
6380
|
Row: {
|
|
@@ -6985,6 +7348,105 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
6985
7348
|
};
|
|
6986
7349
|
Relationships: [];
|
|
6987
7350
|
};
|
|
7351
|
+
order_shipment_items: {
|
|
7352
|
+
Row: {
|
|
7353
|
+
created_at: string;
|
|
7354
|
+
id: string;
|
|
7355
|
+
order_item_id: string;
|
|
7356
|
+
product_id: string | null;
|
|
7357
|
+
product_name: string;
|
|
7358
|
+
quantity: number;
|
|
7359
|
+
shipment_id: string;
|
|
7360
|
+
updated_at: string;
|
|
7361
|
+
};
|
|
7362
|
+
Insert: {
|
|
7363
|
+
created_at?: string;
|
|
7364
|
+
id?: string;
|
|
7365
|
+
order_item_id: string;
|
|
7366
|
+
product_id?: string | null;
|
|
7367
|
+
product_name: string;
|
|
7368
|
+
quantity: number;
|
|
7369
|
+
shipment_id: string;
|
|
7370
|
+
updated_at?: string;
|
|
7371
|
+
};
|
|
7372
|
+
Update: {
|
|
7373
|
+
created_at?: string;
|
|
7374
|
+
id?: string;
|
|
7375
|
+
order_item_id?: string;
|
|
7376
|
+
product_id?: string | null;
|
|
7377
|
+
product_name?: string;
|
|
7378
|
+
quantity?: number;
|
|
7379
|
+
shipment_id?: string;
|
|
7380
|
+
updated_at?: string;
|
|
7381
|
+
};
|
|
7382
|
+
Relationships: [{
|
|
7383
|
+
foreignKeyName: "order_shipment_items_order_item_id_fkey";
|
|
7384
|
+
columns: ["order_item_id"];
|
|
7385
|
+
isOneToOne: false;
|
|
7386
|
+
referencedRelation: "order_items";
|
|
7387
|
+
referencedColumns: ["id"];
|
|
7388
|
+
}, {
|
|
7389
|
+
foreignKeyName: "order_shipment_items_shipment_id_fkey";
|
|
7390
|
+
columns: ["shipment_id"];
|
|
7391
|
+
isOneToOne: false;
|
|
7392
|
+
referencedRelation: "order_shipments";
|
|
7393
|
+
referencedColumns: ["id"];
|
|
7394
|
+
}];
|
|
7395
|
+
};
|
|
7396
|
+
order_shipments: {
|
|
7397
|
+
Row: {
|
|
7398
|
+
carrier_id: string | null;
|
|
7399
|
+
created_at: string;
|
|
7400
|
+
delivery_date: string | null;
|
|
7401
|
+
delivery_location_id: string | null;
|
|
7402
|
+
id: string;
|
|
7403
|
+
notes: string | null;
|
|
7404
|
+
order_id: string;
|
|
7405
|
+
shipment_number: number;
|
|
7406
|
+
shipped_at: string | null;
|
|
7407
|
+
status: string;
|
|
7408
|
+
updated_at: string;
|
|
7409
|
+
};
|
|
7410
|
+
Insert: {
|
|
7411
|
+
carrier_id?: string | null;
|
|
7412
|
+
created_at?: string;
|
|
7413
|
+
delivery_date?: string | null;
|
|
7414
|
+
delivery_location_id?: string | null;
|
|
7415
|
+
id?: string;
|
|
7416
|
+
notes?: string | null;
|
|
7417
|
+
order_id: string;
|
|
7418
|
+
shipment_number: number;
|
|
7419
|
+
shipped_at?: string | null;
|
|
7420
|
+
status?: string;
|
|
7421
|
+
updated_at?: string;
|
|
7422
|
+
};
|
|
7423
|
+
Update: {
|
|
7424
|
+
carrier_id?: string | null;
|
|
7425
|
+
created_at?: string;
|
|
7426
|
+
delivery_date?: string | null;
|
|
7427
|
+
delivery_location_id?: string | null;
|
|
7428
|
+
id?: string;
|
|
7429
|
+
notes?: string | null;
|
|
7430
|
+
order_id?: string;
|
|
7431
|
+
shipment_number?: number;
|
|
7432
|
+
shipped_at?: string | null;
|
|
7433
|
+
status?: string;
|
|
7434
|
+
updated_at?: string;
|
|
7435
|
+
};
|
|
7436
|
+
Relationships: [{
|
|
7437
|
+
foreignKeyName: "order_shipments_carrier_id_fkey";
|
|
7438
|
+
columns: ["carrier_id"];
|
|
7439
|
+
isOneToOne: false;
|
|
7440
|
+
referencedRelation: "carriers";
|
|
7441
|
+
referencedColumns: ["id"];
|
|
7442
|
+
}, {
|
|
7443
|
+
foreignKeyName: "order_shipments_order_id_fkey";
|
|
7444
|
+
columns: ["order_id"];
|
|
7445
|
+
isOneToOne: false;
|
|
7446
|
+
referencedRelation: "orders";
|
|
7447
|
+
referencedColumns: ["id"];
|
|
7448
|
+
}];
|
|
7449
|
+
};
|
|
6988
7450
|
orders: {
|
|
6989
7451
|
Row: {
|
|
6990
7452
|
created_at: string;
|
|
@@ -6992,8 +7454,9 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
6992
7454
|
customer_id: string | null;
|
|
6993
7455
|
customer_name: string;
|
|
6994
7456
|
deleted_at: string | null;
|
|
6995
|
-
delivery_date: string;
|
|
7457
|
+
delivery_date: string | null;
|
|
6996
7458
|
id: string;
|
|
7459
|
+
is_reservation: boolean;
|
|
6997
7460
|
notes: string | null;
|
|
6998
7461
|
order_date: string;
|
|
6999
7462
|
order_number: string;
|
|
@@ -7010,8 +7473,9 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7010
7473
|
customer_id?: string | null;
|
|
7011
7474
|
customer_name?: string;
|
|
7012
7475
|
deleted_at?: string | null;
|
|
7013
|
-
delivery_date
|
|
7476
|
+
delivery_date?: string | null;
|
|
7014
7477
|
id?: string;
|
|
7478
|
+
is_reservation?: boolean;
|
|
7015
7479
|
notes?: string | null;
|
|
7016
7480
|
order_date?: string;
|
|
7017
7481
|
order_number: string;
|
|
@@ -7028,8 +7492,9 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7028
7492
|
customer_id?: string | null;
|
|
7029
7493
|
customer_name?: string;
|
|
7030
7494
|
deleted_at?: string | null;
|
|
7031
|
-
delivery_date?: string;
|
|
7495
|
+
delivery_date?: string | null;
|
|
7032
7496
|
id?: string;
|
|
7497
|
+
is_reservation?: boolean;
|
|
7033
7498
|
notes?: string | null;
|
|
7034
7499
|
order_date?: string;
|
|
7035
7500
|
order_number?: string;
|
|
@@ -7144,32 +7609,89 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7144
7609
|
color: string;
|
|
7145
7610
|
created_at: string;
|
|
7146
7611
|
id: string;
|
|
7147
|
-
is_active: boolean;
|
|
7148
|
-
name: string;
|
|
7612
|
+
is_active: boolean;
|
|
7613
|
+
name: string;
|
|
7614
|
+
sort_order: number;
|
|
7615
|
+
updated_at: string;
|
|
7616
|
+
};
|
|
7617
|
+
Insert: {
|
|
7618
|
+
automation_type?: string;
|
|
7619
|
+
color?: string;
|
|
7620
|
+
created_at?: string;
|
|
7621
|
+
id?: string;
|
|
7622
|
+
is_active?: boolean;
|
|
7623
|
+
name: string;
|
|
7624
|
+
sort_order?: number;
|
|
7625
|
+
updated_at?: string;
|
|
7626
|
+
};
|
|
7627
|
+
Update: {
|
|
7628
|
+
automation_type?: string;
|
|
7629
|
+
color?: string;
|
|
7630
|
+
created_at?: string;
|
|
7631
|
+
id?: string;
|
|
7632
|
+
is_active?: boolean;
|
|
7633
|
+
name?: string;
|
|
7634
|
+
sort_order?: number;
|
|
7635
|
+
updated_at?: string;
|
|
7636
|
+
};
|
|
7637
|
+
Relationships: [];
|
|
7638
|
+
};
|
|
7639
|
+
product_bom_items: {
|
|
7640
|
+
Row: {
|
|
7641
|
+
component_product_id: string | null;
|
|
7642
|
+
component_trade_item_floriday_id: string | null;
|
|
7643
|
+
created_at: string;
|
|
7644
|
+
id: string;
|
|
7645
|
+
notes: string | null;
|
|
7646
|
+
parent_product_id: string | null;
|
|
7647
|
+
parent_trade_item_floriday_id: string | null;
|
|
7648
|
+
quantity: number;
|
|
7149
7649
|
sort_order: number;
|
|
7650
|
+
tenant_id: string;
|
|
7651
|
+
unit: string;
|
|
7150
7652
|
updated_at: string;
|
|
7151
7653
|
};
|
|
7152
7654
|
Insert: {
|
|
7153
|
-
|
|
7154
|
-
|
|
7655
|
+
component_product_id?: string | null;
|
|
7656
|
+
component_trade_item_floriday_id?: string | null;
|
|
7155
7657
|
created_at?: string;
|
|
7156
7658
|
id?: string;
|
|
7157
|
-
|
|
7158
|
-
|
|
7659
|
+
notes?: string | null;
|
|
7660
|
+
parent_product_id?: string | null;
|
|
7661
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7662
|
+
quantity?: number;
|
|
7159
7663
|
sort_order?: number;
|
|
7664
|
+
tenant_id: string;
|
|
7665
|
+
unit?: string;
|
|
7160
7666
|
updated_at?: string;
|
|
7161
7667
|
};
|
|
7162
7668
|
Update: {
|
|
7163
|
-
|
|
7164
|
-
|
|
7669
|
+
component_product_id?: string | null;
|
|
7670
|
+
component_trade_item_floriday_id?: string | null;
|
|
7165
7671
|
created_at?: string;
|
|
7166
7672
|
id?: string;
|
|
7167
|
-
|
|
7168
|
-
|
|
7673
|
+
notes?: string | null;
|
|
7674
|
+
parent_product_id?: string | null;
|
|
7675
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7676
|
+
quantity?: number;
|
|
7169
7677
|
sort_order?: number;
|
|
7678
|
+
tenant_id?: string;
|
|
7679
|
+
unit?: string;
|
|
7170
7680
|
updated_at?: string;
|
|
7171
7681
|
};
|
|
7172
|
-
Relationships: [
|
|
7682
|
+
Relationships: [{
|
|
7683
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
7684
|
+
columns: ["component_product_id"];
|
|
7685
|
+
isOneToOne: false;
|
|
7686
|
+
referencedRelation: "products";
|
|
7687
|
+
referencedColumns: ["id"];
|
|
7688
|
+
}, {
|
|
7689
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
7690
|
+
columns: ["parent_product_id"];
|
|
7691
|
+
isOneToOne: false;
|
|
7692
|
+
referencedRelation: "products";
|
|
7693
|
+
referencedColumns: ["id"];
|
|
7694
|
+
}];
|
|
7173
7695
|
};
|
|
7174
7696
|
product_categories: {
|
|
7175
7697
|
Row: {
|
|
@@ -7276,6 +7798,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7276
7798
|
id: string;
|
|
7277
7799
|
product_group_id: string;
|
|
7278
7800
|
quantity: number;
|
|
7801
|
+
sort_order: number;
|
|
7279
7802
|
trade_item_id: string;
|
|
7280
7803
|
};
|
|
7281
7804
|
Insert: {
|
|
@@ -7283,6 +7806,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7283
7806
|
id?: string;
|
|
7284
7807
|
product_group_id: string;
|
|
7285
7808
|
quantity?: number;
|
|
7809
|
+
sort_order?: number;
|
|
7286
7810
|
trade_item_id: string;
|
|
7287
7811
|
};
|
|
7288
7812
|
Update: {
|
|
@@ -7290,6 +7814,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7290
7814
|
id?: string;
|
|
7291
7815
|
product_group_id?: string;
|
|
7292
7816
|
quantity?: number;
|
|
7817
|
+
sort_order?: number;
|
|
7293
7818
|
trade_item_id?: string;
|
|
7294
7819
|
};
|
|
7295
7820
|
Relationships: [{
|
|
@@ -7304,6 +7829,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7304
7829
|
Row: {
|
|
7305
7830
|
created_at: string;
|
|
7306
7831
|
description: string | null;
|
|
7832
|
+
head_product_id: string | null;
|
|
7833
|
+
head_trade_item_floriday_id: string | null;
|
|
7307
7834
|
id: string;
|
|
7308
7835
|
is_active: boolean;
|
|
7309
7836
|
name: string;
|
|
@@ -7313,6 +7840,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7313
7840
|
Insert: {
|
|
7314
7841
|
created_at?: string;
|
|
7315
7842
|
description?: string | null;
|
|
7843
|
+
head_product_id?: string | null;
|
|
7844
|
+
head_trade_item_floriday_id?: string | null;
|
|
7316
7845
|
id?: string;
|
|
7317
7846
|
is_active?: boolean;
|
|
7318
7847
|
name: string;
|
|
@@ -7322,24 +7851,130 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7322
7851
|
Update: {
|
|
7323
7852
|
created_at?: string;
|
|
7324
7853
|
description?: string | null;
|
|
7854
|
+
head_product_id?: string | null;
|
|
7855
|
+
head_trade_item_floriday_id?: string | null;
|
|
7325
7856
|
id?: string;
|
|
7326
7857
|
is_active?: boolean;
|
|
7327
7858
|
name?: string;
|
|
7328
7859
|
tenant_id?: string;
|
|
7329
7860
|
updated_at?: string;
|
|
7330
7861
|
};
|
|
7862
|
+
Relationships: [{
|
|
7863
|
+
foreignKeyName: "product_groups_head_product_id_fkey";
|
|
7864
|
+
columns: ["head_product_id"];
|
|
7865
|
+
isOneToOne: false;
|
|
7866
|
+
referencedRelation: "products";
|
|
7867
|
+
referencedColumns: ["id"];
|
|
7868
|
+
}];
|
|
7869
|
+
};
|
|
7870
|
+
product_load_settings: {
|
|
7871
|
+
Row: {
|
|
7872
|
+
created_at: string;
|
|
7873
|
+
id: string;
|
|
7874
|
+
is_package: boolean;
|
|
7875
|
+
layers_per_load_carrier: number | null;
|
|
7876
|
+
load_carrier: string | null;
|
|
7877
|
+
package_id: string | null;
|
|
7878
|
+
package_label: string | null;
|
|
7879
|
+
packages_per_layer: number | null;
|
|
7880
|
+
product_id: string | null;
|
|
7881
|
+
tenant_id: string;
|
|
7882
|
+
trade_item_floriday_id: string | null;
|
|
7883
|
+
units_per_package: number | null;
|
|
7884
|
+
updated_at: string;
|
|
7885
|
+
};
|
|
7886
|
+
Insert: {
|
|
7887
|
+
created_at?: string;
|
|
7888
|
+
id?: string;
|
|
7889
|
+
is_package?: boolean;
|
|
7890
|
+
layers_per_load_carrier?: number | null;
|
|
7891
|
+
load_carrier?: string | null;
|
|
7892
|
+
package_id?: string | null;
|
|
7893
|
+
package_label?: string | null;
|
|
7894
|
+
packages_per_layer?: number | null;
|
|
7895
|
+
product_id?: string | null;
|
|
7896
|
+
tenant_id: string;
|
|
7897
|
+
trade_item_floriday_id?: string | null;
|
|
7898
|
+
units_per_package?: number | null;
|
|
7899
|
+
updated_at?: string;
|
|
7900
|
+
};
|
|
7901
|
+
Update: {
|
|
7902
|
+
created_at?: string;
|
|
7903
|
+
id?: string;
|
|
7904
|
+
is_package?: boolean;
|
|
7905
|
+
layers_per_load_carrier?: number | null;
|
|
7906
|
+
load_carrier?: string | null;
|
|
7907
|
+
package_id?: string | null;
|
|
7908
|
+
package_label?: string | null;
|
|
7909
|
+
packages_per_layer?: number | null;
|
|
7910
|
+
product_id?: string | null;
|
|
7911
|
+
tenant_id?: string;
|
|
7912
|
+
trade_item_floriday_id?: string | null;
|
|
7913
|
+
units_per_package?: number | null;
|
|
7914
|
+
updated_at?: string;
|
|
7915
|
+
};
|
|
7916
|
+
Relationships: [{
|
|
7917
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
7918
|
+
columns: ["package_id"];
|
|
7919
|
+
isOneToOne: false;
|
|
7920
|
+
referencedRelation: "packages";
|
|
7921
|
+
referencedColumns: ["id"];
|
|
7922
|
+
}, {
|
|
7923
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
7924
|
+
columns: ["product_id"];
|
|
7925
|
+
isOneToOne: false;
|
|
7926
|
+
referencedRelation: "products";
|
|
7927
|
+
referencedColumns: ["id"];
|
|
7928
|
+
}];
|
|
7929
|
+
};
|
|
7930
|
+
product_merge_log: {
|
|
7931
|
+
Row: {
|
|
7932
|
+
canonical_product_id: string | null;
|
|
7933
|
+
id: string;
|
|
7934
|
+
merged_at: string;
|
|
7935
|
+
merged_from_id: string;
|
|
7936
|
+
notes: string | null;
|
|
7937
|
+
snapshot: import("../integrations/supabase/types").Json;
|
|
7938
|
+
source_table: string;
|
|
7939
|
+
status: string;
|
|
7940
|
+
};
|
|
7941
|
+
Insert: {
|
|
7942
|
+
canonical_product_id?: string | null;
|
|
7943
|
+
id?: string;
|
|
7944
|
+
merged_at?: string;
|
|
7945
|
+
merged_from_id: string;
|
|
7946
|
+
notes?: string | null;
|
|
7947
|
+
snapshot?: import("../integrations/supabase/types").Json;
|
|
7948
|
+
source_table: string;
|
|
7949
|
+
status?: string;
|
|
7950
|
+
};
|
|
7951
|
+
Update: {
|
|
7952
|
+
canonical_product_id?: string | null;
|
|
7953
|
+
id?: string;
|
|
7954
|
+
merged_at?: string;
|
|
7955
|
+
merged_from_id?: string;
|
|
7956
|
+
notes?: string | null;
|
|
7957
|
+
snapshot?: import("../integrations/supabase/types").Json;
|
|
7958
|
+
source_table?: string;
|
|
7959
|
+
status?: string;
|
|
7960
|
+
};
|
|
7331
7961
|
Relationships: [];
|
|
7332
7962
|
};
|
|
7333
7963
|
products: {
|
|
7334
7964
|
Row: {
|
|
7965
|
+
article_number: string | null;
|
|
7335
7966
|
barcode: string | null;
|
|
7336
7967
|
batch: string;
|
|
7337
7968
|
crates_per_layer: number;
|
|
7338
7969
|
created_at: string;
|
|
7339
7970
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
7971
|
+
floriday_active: boolean;
|
|
7972
|
+
floriday_payload: import("../integrations/supabase/types").Json;
|
|
7973
|
+
floriday_trade_item_id: string | null;
|
|
7340
7974
|
id: string;
|
|
7341
7975
|
image_url: string | null;
|
|
7342
7976
|
incoming_quantity: number;
|
|
7977
|
+
is_layer: boolean;
|
|
7343
7978
|
layers_per_cart: number;
|
|
7344
7979
|
location: string;
|
|
7345
7980
|
min_quantity: number;
|
|
@@ -7355,14 +7990,19 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7355
7990
|
weight: string | null;
|
|
7356
7991
|
};
|
|
7357
7992
|
Insert: {
|
|
7993
|
+
article_number?: string | null;
|
|
7358
7994
|
barcode?: string | null;
|
|
7359
7995
|
batch: string;
|
|
7360
7996
|
crates_per_layer?: number;
|
|
7361
7997
|
created_at?: string;
|
|
7362
7998
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
7999
|
+
floriday_active?: boolean;
|
|
8000
|
+
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
8001
|
+
floriday_trade_item_id?: string | null;
|
|
7363
8002
|
id?: string;
|
|
7364
8003
|
image_url?: string | null;
|
|
7365
8004
|
incoming_quantity?: number;
|
|
8005
|
+
is_layer?: boolean;
|
|
7366
8006
|
layers_per_cart?: number;
|
|
7367
8007
|
location: string;
|
|
7368
8008
|
min_quantity?: number;
|
|
@@ -7378,14 +8018,19 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7378
8018
|
weight?: string | null;
|
|
7379
8019
|
};
|
|
7380
8020
|
Update: {
|
|
8021
|
+
article_number?: string | null;
|
|
7381
8022
|
barcode?: string | null;
|
|
7382
8023
|
batch?: string;
|
|
7383
8024
|
crates_per_layer?: number;
|
|
7384
8025
|
created_at?: string;
|
|
7385
8026
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
8027
|
+
floriday_active?: boolean;
|
|
8028
|
+
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
8029
|
+
floriday_trade_item_id?: string | null;
|
|
7386
8030
|
id?: string;
|
|
7387
8031
|
image_url?: string | null;
|
|
7388
8032
|
incoming_quantity?: number;
|
|
8033
|
+
is_layer?: boolean;
|
|
7389
8034
|
layers_per_cart?: number;
|
|
7390
8035
|
location?: string;
|
|
7391
8036
|
min_quantity?: number;
|
|
@@ -8291,8 +8936,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8291
8936
|
order_id: string | null;
|
|
8292
8937
|
order_item_id: string | null;
|
|
8293
8938
|
order_source: string | null;
|
|
8939
|
+
parent_trade_item_key: string | null;
|
|
8294
8940
|
physical_after: number | null;
|
|
8295
8941
|
physical_before: number | null;
|
|
8942
|
+
production_batch_id: string | null;
|
|
8296
8943
|
qty_delta: number;
|
|
8297
8944
|
reason: string | null;
|
|
8298
8945
|
reserved_after: number | null;
|
|
@@ -8308,8 +8955,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8308
8955
|
order_id?: string | null;
|
|
8309
8956
|
order_item_id?: string | null;
|
|
8310
8957
|
order_source?: string | null;
|
|
8958
|
+
parent_trade_item_key?: string | null;
|
|
8311
8959
|
physical_after?: number | null;
|
|
8312
8960
|
physical_before?: number | null;
|
|
8961
|
+
production_batch_id?: string | null;
|
|
8313
8962
|
qty_delta: number;
|
|
8314
8963
|
reason?: string | null;
|
|
8315
8964
|
reserved_after?: number | null;
|
|
@@ -8325,8 +8974,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8325
8974
|
order_id?: string | null;
|
|
8326
8975
|
order_item_id?: string | null;
|
|
8327
8976
|
order_source?: string | null;
|
|
8977
|
+
parent_trade_item_key?: string | null;
|
|
8328
8978
|
physical_after?: number | null;
|
|
8329
8979
|
physical_before?: number | null;
|
|
8980
|
+
production_batch_id?: string | null;
|
|
8330
8981
|
qty_delta?: number;
|
|
8331
8982
|
reason?: string | null;
|
|
8332
8983
|
reserved_after?: number | null;
|
|
@@ -8632,6 +9283,48 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8632
9283
|
};
|
|
8633
9284
|
Relationships: [];
|
|
8634
9285
|
};
|
|
9286
|
+
trade_item_prices: {
|
|
9287
|
+
Row: {
|
|
9288
|
+
created_at: string;
|
|
9289
|
+
currency: string;
|
|
9290
|
+
id: string;
|
|
9291
|
+
last_push_error: string | null;
|
|
9292
|
+
last_pushed_at: string | null;
|
|
9293
|
+
price_group_id: string | null;
|
|
9294
|
+
price_per_piece: number;
|
|
9295
|
+
supply_line_id: string | null;
|
|
9296
|
+
trade_item_key: string;
|
|
9297
|
+
updated_at: string;
|
|
9298
|
+
user_id: string;
|
|
9299
|
+
};
|
|
9300
|
+
Insert: {
|
|
9301
|
+
created_at?: string;
|
|
9302
|
+
currency?: string;
|
|
9303
|
+
id?: string;
|
|
9304
|
+
last_push_error?: string | null;
|
|
9305
|
+
last_pushed_at?: string | null;
|
|
9306
|
+
price_group_id?: string | null;
|
|
9307
|
+
price_per_piece: number;
|
|
9308
|
+
supply_line_id?: string | null;
|
|
9309
|
+
trade_item_key: string;
|
|
9310
|
+
updated_at?: string;
|
|
9311
|
+
user_id: string;
|
|
9312
|
+
};
|
|
9313
|
+
Update: {
|
|
9314
|
+
created_at?: string;
|
|
9315
|
+
currency?: string;
|
|
9316
|
+
id?: string;
|
|
9317
|
+
last_push_error?: string | null;
|
|
9318
|
+
last_pushed_at?: string | null;
|
|
9319
|
+
price_group_id?: string | null;
|
|
9320
|
+
price_per_piece?: number;
|
|
9321
|
+
supply_line_id?: string | null;
|
|
9322
|
+
trade_item_key?: string;
|
|
9323
|
+
updated_at?: string;
|
|
9324
|
+
user_id?: string;
|
|
9325
|
+
};
|
|
9326
|
+
Relationships: [];
|
|
9327
|
+
};
|
|
8635
9328
|
trade_item_stock: {
|
|
8636
9329
|
Row: {
|
|
8637
9330
|
connection_id: string;
|
|
@@ -8785,7 +9478,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8785
9478
|
twinfield_connections: {
|
|
8786
9479
|
Row: {
|
|
8787
9480
|
access_token: string | null;
|
|
8788
|
-
client_id: string;
|
|
9481
|
+
client_id: string | null;
|
|
8789
9482
|
client_secret: string | null;
|
|
8790
9483
|
cluster_uri: string | null;
|
|
8791
9484
|
company_code: string | null;
|
|
@@ -8797,7 +9490,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8797
9490
|
is_active: boolean;
|
|
8798
9491
|
label: string | null;
|
|
8799
9492
|
office_code: string | null;
|
|
8800
|
-
redirect_uri: string;
|
|
9493
|
+
redirect_uri: string | null;
|
|
8801
9494
|
refresh_token: string | null;
|
|
8802
9495
|
token_expires_at: string | null;
|
|
8803
9496
|
updated_at: string;
|
|
@@ -8805,7 +9498,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8805
9498
|
};
|
|
8806
9499
|
Insert: {
|
|
8807
9500
|
access_token?: string | null;
|
|
8808
|
-
client_id
|
|
9501
|
+
client_id?: string | null;
|
|
8809
9502
|
client_secret?: string | null;
|
|
8810
9503
|
cluster_uri?: string | null;
|
|
8811
9504
|
company_code?: string | null;
|
|
@@ -8817,7 +9510,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8817
9510
|
is_active?: boolean;
|
|
8818
9511
|
label?: string | null;
|
|
8819
9512
|
office_code?: string | null;
|
|
8820
|
-
redirect_uri
|
|
9513
|
+
redirect_uri?: string | null;
|
|
8821
9514
|
refresh_token?: string | null;
|
|
8822
9515
|
token_expires_at?: string | null;
|
|
8823
9516
|
updated_at?: string;
|
|
@@ -8825,7 +9518,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8825
9518
|
};
|
|
8826
9519
|
Update: {
|
|
8827
9520
|
access_token?: string | null;
|
|
8828
|
-
client_id?: string;
|
|
9521
|
+
client_id?: string | null;
|
|
8829
9522
|
client_secret?: string | null;
|
|
8830
9523
|
cluster_uri?: string | null;
|
|
8831
9524
|
company_code?: string | null;
|
|
@@ -8837,7 +9530,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8837
9530
|
is_active?: boolean;
|
|
8838
9531
|
label?: string | null;
|
|
8839
9532
|
office_code?: string | null;
|
|
8840
|
-
redirect_uri?: string;
|
|
9533
|
+
redirect_uri?: string | null;
|
|
8841
9534
|
refresh_token?: string | null;
|
|
8842
9535
|
token_expires_at?: string | null;
|
|
8843
9536
|
updated_at?: string;
|
|
@@ -10032,25 +10725,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10032
10725
|
};
|
|
10033
10726
|
Relationships: [];
|
|
10034
10727
|
};
|
|
10035
|
-
floriday_customer_discounts: {
|
|
10036
|
-
Row: {
|
|
10037
|
-
base_price: number | null;
|
|
10038
|
-
buyer_organization_id: string | null;
|
|
10039
|
-
currency: string | null;
|
|
10040
|
-
discount_type: string | null;
|
|
10041
|
-
discount_value: number | null;
|
|
10042
|
-
min_quantity: number | null;
|
|
10043
|
-
net_price: number | null;
|
|
10044
|
-
product_group_id: string | null;
|
|
10045
|
-
raw: import("../integrations/supabase/types").Json | null;
|
|
10046
|
-
source: string | null;
|
|
10047
|
-
source_id: string | null;
|
|
10048
|
-
trade_item_id: string | null;
|
|
10049
|
-
valid_from: string | null;
|
|
10050
|
-
valid_until: string | null;
|
|
10051
|
-
};
|
|
10052
|
-
Relationships: [];
|
|
10053
|
-
};
|
|
10054
10728
|
local_customer_discounts: {
|
|
10055
10729
|
Row: {
|
|
10056
10730
|
base_price: number | null;
|
|
@@ -10354,6 +11028,13 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10354
11028
|
};
|
|
10355
11029
|
Returns: number;
|
|
10356
11030
|
};
|
|
11031
|
+
_migrate_rewrite_stock_key: {
|
|
11032
|
+
Args: {
|
|
11033
|
+
_from_key: string;
|
|
11034
|
+
_to_key: string;
|
|
11035
|
+
};
|
|
11036
|
+
Returns: undefined;
|
|
11037
|
+
};
|
|
10357
11038
|
afh_city_code: {
|
|
10358
11039
|
Args: {
|
|
10359
11040
|
_city: string;
|
|
@@ -10469,6 +11150,28 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10469
11150
|
Args: never;
|
|
10470
11151
|
Returns: undefined;
|
|
10471
11152
|
};
|
|
11153
|
+
consume_bom_for_production: {
|
|
11154
|
+
Args: {
|
|
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("../integrations/supabase/types").Json;
|
|
11163
|
+
} | {
|
|
11164
|
+
Args: {
|
|
11165
|
+
p_batch_id?: string;
|
|
11166
|
+
p_connection_id: string;
|
|
11167
|
+
p_parent_id: string;
|
|
11168
|
+
p_parent_key: string;
|
|
11169
|
+
p_parent_kind: string;
|
|
11170
|
+
p_quantity: number;
|
|
11171
|
+
p_user_id: string;
|
|
11172
|
+
};
|
|
11173
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
11174
|
+
};
|
|
10472
11175
|
consume_floriday_rate_limit: {
|
|
10473
11176
|
Args: {
|
|
10474
11177
|
p_bucket: string;
|
|
@@ -10520,6 +11223,13 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10520
11223
|
table_name: string;
|
|
10521
11224
|
}[];
|
|
10522
11225
|
};
|
|
11226
|
+
delete_samenstelling: {
|
|
11227
|
+
Args: {
|
|
11228
|
+
p_parent_id: string;
|
|
11229
|
+
p_parent_kind: string;
|
|
11230
|
+
};
|
|
11231
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
11232
|
+
};
|
|
10523
11233
|
dispatch_carrier_signups_sql: {
|
|
10524
11234
|
Args: {
|
|
10525
11235
|
_catchup?: string;
|
|
@@ -10561,6 +11271,16 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10561
11271
|
status: string;
|
|
10562
11272
|
}[];
|
|
10563
11273
|
};
|
|
11274
|
+
email_auth_upsert_connection: {
|
|
11275
|
+
Args: {
|
|
11276
|
+
_account_email: string;
|
|
11277
|
+
_created_by: string;
|
|
11278
|
+
_is_active: boolean;
|
|
11279
|
+
_provider: string;
|
|
11280
|
+
_status: string;
|
|
11281
|
+
};
|
|
11282
|
+
Returns: string;
|
|
11283
|
+
};
|
|
10564
11284
|
enqueue_cart_replan_if_unlocked: {
|
|
10565
11285
|
Args: {
|
|
10566
11286
|
p_order_id: string;
|
|
@@ -10680,19 +11400,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10680
11400
|
resource: string;
|
|
10681
11401
|
}[];
|
|
10682
11402
|
};
|
|
10683
|
-
get_floriday_agreements_active: {
|
|
10684
|
-
Args: {
|
|
10685
|
-
p_on_date?: string;
|
|
10686
|
-
};
|
|
10687
|
-
Returns: {
|
|
10688
|
-
buyer_organization_id: string;
|
|
10689
|
-
data: import("../integrations/supabase/types").Json;
|
|
10690
|
-
floriday_id: string;
|
|
10691
|
-
status: string;
|
|
10692
|
-
valid_from: string;
|
|
10693
|
-
valid_until: string;
|
|
10694
|
-
}[];
|
|
10695
|
-
};
|
|
10696
11403
|
get_floriday_clock_supplies_window: {
|
|
10697
11404
|
Args: {
|
|
10698
11405
|
p_from: string;
|
|
@@ -10765,6 +11472,21 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10765
11472
|
minutes_since_success: number;
|
|
10766
11473
|
}[];
|
|
10767
11474
|
};
|
|
11475
|
+
get_group_allocation_keys: {
|
|
11476
|
+
Args: {
|
|
11477
|
+
p_product_id: string;
|
|
11478
|
+
};
|
|
11479
|
+
Returns: {
|
|
11480
|
+
k: string;
|
|
11481
|
+
ord: number;
|
|
11482
|
+
}[];
|
|
11483
|
+
};
|
|
11484
|
+
get_group_head_key: {
|
|
11485
|
+
Args: {
|
|
11486
|
+
p_group_id: string;
|
|
11487
|
+
};
|
|
11488
|
+
Returns: string;
|
|
11489
|
+
};
|
|
10768
11490
|
get_offer_by_link_code: {
|
|
10769
11491
|
Args: {
|
|
10770
11492
|
p_code: string;
|
|
@@ -10875,6 +11597,32 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10875
11597
|
};
|
|
10876
11598
|
Returns: undefined;
|
|
10877
11599
|
};
|
|
11600
|
+
mark_salesorder_controlled: {
|
|
11601
|
+
Args: {
|
|
11602
|
+
p_controlled: boolean;
|
|
11603
|
+
p_floriday_id: string;
|
|
11604
|
+
};
|
|
11605
|
+
Returns: undefined;
|
|
11606
|
+
};
|
|
11607
|
+
mark_shipment_shipped: {
|
|
11608
|
+
Args: {
|
|
11609
|
+
p_shipment_id: string;
|
|
11610
|
+
};
|
|
11611
|
+
Returns: undefined;
|
|
11612
|
+
};
|
|
11613
|
+
merge_products: {
|
|
11614
|
+
Args: {
|
|
11615
|
+
_canonical: string;
|
|
11616
|
+
_loser: string;
|
|
11617
|
+
};
|
|
11618
|
+
Returns: undefined;
|
|
11619
|
+
};
|
|
11620
|
+
next_manufacture_partij: {
|
|
11621
|
+
Args: {
|
|
11622
|
+
_tenant_id: string;
|
|
11623
|
+
};
|
|
11624
|
+
Returns: string;
|
|
11625
|
+
};
|
|
10878
11626
|
next_order_number: {
|
|
10879
11627
|
Args: {
|
|
10880
11628
|
p_prefix: string;
|
|
@@ -10944,6 +11692,15 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10944
11692
|
};
|
|
10945
11693
|
Returns: undefined;
|
|
10946
11694
|
};
|
|
11695
|
+
pickstation_resolve_delivery_orders: {
|
|
11696
|
+
Args: {
|
|
11697
|
+
p_sales_order_ids: string[];
|
|
11698
|
+
};
|
|
11699
|
+
Returns: {
|
|
11700
|
+
delivery_order_id: string;
|
|
11701
|
+
sales_order_id: string;
|
|
11702
|
+
}[];
|
|
11703
|
+
};
|
|
10947
11704
|
pickstation_set_cart_status: {
|
|
10948
11705
|
Args: {
|
|
10949
11706
|
p_cart_index: number;
|
|
@@ -10953,6 +11710,14 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10953
11710
|
};
|
|
10954
11711
|
Returns: undefined;
|
|
10955
11712
|
};
|
|
11713
|
+
produce_designed_product: {
|
|
11714
|
+
Args: {
|
|
11715
|
+
p_parent_id: string;
|
|
11716
|
+
p_parent_kind: string;
|
|
11717
|
+
p_quantity: number;
|
|
11718
|
+
};
|
|
11719
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
11720
|
+
};
|
|
10956
11721
|
promote_trade_item_key: {
|
|
10957
11722
|
Args: {
|
|
10958
11723
|
p_new: string;
|
|
@@ -10960,6 +11725,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10960
11725
|
};
|
|
10961
11726
|
Returns: undefined;
|
|
10962
11727
|
};
|
|
11728
|
+
recompute_all_reserved_stock: {
|
|
11729
|
+
Args: never;
|
|
11730
|
+
Returns: undefined;
|
|
11731
|
+
};
|
|
10963
11732
|
recompute_order_status: {
|
|
10964
11733
|
Args: {
|
|
10965
11734
|
p_order_id: string;
|
|
@@ -11009,27 +11778,45 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
11009
11778
|
};
|
|
11010
11779
|
Returns: undefined;
|
|
11011
11780
|
};
|
|
11781
|
+
resolve_group_allocation: {
|
|
11782
|
+
Args: {
|
|
11783
|
+
_needed: number;
|
|
11784
|
+
_product_group_id: string;
|
|
11785
|
+
};
|
|
11786
|
+
Returns: {
|
|
11787
|
+
allocated: number;
|
|
11788
|
+
trade_item_id: string;
|
|
11789
|
+
}[];
|
|
11790
|
+
};
|
|
11791
|
+
resolve_group_member_stock_key: {
|
|
11792
|
+
Args: {
|
|
11793
|
+
p_trade_item_id: string;
|
|
11794
|
+
};
|
|
11795
|
+
Returns: string;
|
|
11796
|
+
};
|
|
11012
11797
|
resolve_product_id_for_item: {
|
|
11013
11798
|
Args: {
|
|
11014
11799
|
p_product_name: string;
|
|
11015
11800
|
};
|
|
11016
11801
|
Returns: string;
|
|
11017
11802
|
};
|
|
11018
|
-
|
|
11803
|
+
resolve_stock_trade_item_key: {
|
|
11019
11804
|
Args: {
|
|
11020
|
-
|
|
11021
|
-
p_url: string;
|
|
11805
|
+
p_product_id: string;
|
|
11022
11806
|
};
|
|
11023
|
-
Returns:
|
|
11807
|
+
Returns: string;
|
|
11024
11808
|
};
|
|
11025
|
-
|
|
11809
|
+
reverse_production: {
|
|
11026
11810
|
Args: {
|
|
11027
|
-
|
|
11028
|
-
|
|
11811
|
+
p_connection_id?: string;
|
|
11812
|
+
p_parent_key: string;
|
|
11813
|
+
p_quantity: number;
|
|
11814
|
+
p_reason?: string;
|
|
11815
|
+
p_user_id?: string;
|
|
11029
11816
|
};
|
|
11030
|
-
Returns:
|
|
11817
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
11031
11818
|
};
|
|
11032
|
-
|
|
11819
|
+
schedule_floriday_additional_services_sync: {
|
|
11033
11820
|
Args: {
|
|
11034
11821
|
p_apikey: string;
|
|
11035
11822
|
p_url: string;
|
|
@@ -11282,6 +12069,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
11282
12069
|
};
|
|
11283
12070
|
Returns: number;
|
|
11284
12071
|
};
|
|
12072
|
+
self_heal_floriday_links: {
|
|
12073
|
+
Args: never;
|
|
12074
|
+
Returns: number;
|
|
12075
|
+
};
|
|
11285
12076
|
show_limit: {
|
|
11286
12077
|
Args: never;
|
|
11287
12078
|
Returns: number;
|
|
@@ -11304,6 +12095,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
11304
12095
|
};
|
|
11305
12096
|
Returns: undefined;
|
|
11306
12097
|
};
|
|
12098
|
+
sync_product_group_belading: {
|
|
12099
|
+
Args: {
|
|
12100
|
+
_group_id: string;
|
|
12101
|
+
};
|
|
12102
|
+
Returns: undefined;
|
|
12103
|
+
};
|
|
11307
12104
|
sync_product_packing_from_floriday_cache: {
|
|
11308
12105
|
Args: {
|
|
11309
12106
|
p_floriday_id: string;
|