@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
|
@@ -241,6 +241,165 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
241
241
|
};
|
|
242
242
|
Relationships: [];
|
|
243
243
|
};
|
|
244
|
+
ai_credentials: {
|
|
245
|
+
Row: {
|
|
246
|
+
active: boolean;
|
|
247
|
+
api_key: string;
|
|
248
|
+
created_at: string;
|
|
249
|
+
created_by: string | null;
|
|
250
|
+
id: string;
|
|
251
|
+
label: string;
|
|
252
|
+
provider_id: string;
|
|
253
|
+
updated_at: string;
|
|
254
|
+
};
|
|
255
|
+
Insert: {
|
|
256
|
+
active?: boolean;
|
|
257
|
+
api_key: string;
|
|
258
|
+
created_at?: string;
|
|
259
|
+
created_by?: string | null;
|
|
260
|
+
id?: string;
|
|
261
|
+
label: string;
|
|
262
|
+
provider_id: string;
|
|
263
|
+
updated_at?: string;
|
|
264
|
+
};
|
|
265
|
+
Update: {
|
|
266
|
+
active?: boolean;
|
|
267
|
+
api_key?: string;
|
|
268
|
+
created_at?: string;
|
|
269
|
+
created_by?: string | null;
|
|
270
|
+
id?: string;
|
|
271
|
+
label?: string;
|
|
272
|
+
provider_id?: string;
|
|
273
|
+
updated_at?: string;
|
|
274
|
+
};
|
|
275
|
+
Relationships: [{
|
|
276
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
277
|
+
columns: ["provider_id"];
|
|
278
|
+
isOneToOne: false;
|
|
279
|
+
referencedRelation: "ai_providers";
|
|
280
|
+
referencedColumns: ["id"];
|
|
281
|
+
}];
|
|
282
|
+
};
|
|
283
|
+
ai_models: {
|
|
284
|
+
Row: {
|
|
285
|
+
active: boolean;
|
|
286
|
+
context_window: number | null;
|
|
287
|
+
created_at: string;
|
|
288
|
+
display_name: string;
|
|
289
|
+
id: string;
|
|
290
|
+
is_default: boolean;
|
|
291
|
+
modality: string;
|
|
292
|
+
provider_id: string;
|
|
293
|
+
slug: string;
|
|
294
|
+
updated_at: string;
|
|
295
|
+
};
|
|
296
|
+
Insert: {
|
|
297
|
+
active?: boolean;
|
|
298
|
+
context_window?: number | null;
|
|
299
|
+
created_at?: string;
|
|
300
|
+
display_name: string;
|
|
301
|
+
id?: string;
|
|
302
|
+
is_default?: boolean;
|
|
303
|
+
modality?: string;
|
|
304
|
+
provider_id: string;
|
|
305
|
+
slug: string;
|
|
306
|
+
updated_at?: string;
|
|
307
|
+
};
|
|
308
|
+
Update: {
|
|
309
|
+
active?: boolean;
|
|
310
|
+
context_window?: number | null;
|
|
311
|
+
created_at?: string;
|
|
312
|
+
display_name?: string;
|
|
313
|
+
id?: string;
|
|
314
|
+
is_default?: boolean;
|
|
315
|
+
modality?: string;
|
|
316
|
+
provider_id?: string;
|
|
317
|
+
slug?: string;
|
|
318
|
+
updated_at?: string;
|
|
319
|
+
};
|
|
320
|
+
Relationships: [{
|
|
321
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
322
|
+
columns: ["provider_id"];
|
|
323
|
+
isOneToOne: false;
|
|
324
|
+
referencedRelation: "ai_providers";
|
|
325
|
+
referencedColumns: ["id"];
|
|
326
|
+
}];
|
|
327
|
+
};
|
|
328
|
+
ai_module_bindings: {
|
|
329
|
+
Row: {
|
|
330
|
+
consumer_module_id: string;
|
|
331
|
+
created_at: string;
|
|
332
|
+
credential_id: string;
|
|
333
|
+
id: string;
|
|
334
|
+
model_id: string;
|
|
335
|
+
notes: string | null;
|
|
336
|
+
updated_at: string;
|
|
337
|
+
};
|
|
338
|
+
Insert: {
|
|
339
|
+
consumer_module_id: string;
|
|
340
|
+
created_at?: string;
|
|
341
|
+
credential_id: string;
|
|
342
|
+
id?: string;
|
|
343
|
+
model_id: string;
|
|
344
|
+
notes?: string | null;
|
|
345
|
+
updated_at?: string;
|
|
346
|
+
};
|
|
347
|
+
Update: {
|
|
348
|
+
consumer_module_id?: string;
|
|
349
|
+
created_at?: string;
|
|
350
|
+
credential_id?: string;
|
|
351
|
+
id?: string;
|
|
352
|
+
model_id?: string;
|
|
353
|
+
notes?: string | null;
|
|
354
|
+
updated_at?: string;
|
|
355
|
+
};
|
|
356
|
+
Relationships: [{
|
|
357
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
358
|
+
columns: ["credential_id"];
|
|
359
|
+
isOneToOne: false;
|
|
360
|
+
referencedRelation: "ai_credentials";
|
|
361
|
+
referencedColumns: ["id"];
|
|
362
|
+
}, {
|
|
363
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
364
|
+
columns: ["model_id"];
|
|
365
|
+
isOneToOne: false;
|
|
366
|
+
referencedRelation: "ai_models";
|
|
367
|
+
referencedColumns: ["id"];
|
|
368
|
+
}];
|
|
369
|
+
};
|
|
370
|
+
ai_providers: {
|
|
371
|
+
Row: {
|
|
372
|
+
active: boolean;
|
|
373
|
+
auth_type: string;
|
|
374
|
+
base_url: string | null;
|
|
375
|
+
created_at: string;
|
|
376
|
+
id: string;
|
|
377
|
+
name: string;
|
|
378
|
+
slug: string;
|
|
379
|
+
updated_at: string;
|
|
380
|
+
};
|
|
381
|
+
Insert: {
|
|
382
|
+
active?: boolean;
|
|
383
|
+
auth_type?: string;
|
|
384
|
+
base_url?: string | null;
|
|
385
|
+
created_at?: string;
|
|
386
|
+
id?: string;
|
|
387
|
+
name: string;
|
|
388
|
+
slug: string;
|
|
389
|
+
updated_at?: string;
|
|
390
|
+
};
|
|
391
|
+
Update: {
|
|
392
|
+
active?: boolean;
|
|
393
|
+
auth_type?: string;
|
|
394
|
+
base_url?: string | null;
|
|
395
|
+
created_at?: string;
|
|
396
|
+
id?: string;
|
|
397
|
+
name?: string;
|
|
398
|
+
slug?: string;
|
|
399
|
+
updated_at?: string;
|
|
400
|
+
};
|
|
401
|
+
Relationships: [];
|
|
402
|
+
};
|
|
244
403
|
app_settings: {
|
|
245
404
|
Row: {
|
|
246
405
|
created_at: string;
|
|
@@ -3247,105 +3406,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
3247
3406
|
referencedColumns: ["id"];
|
|
3248
3407
|
}];
|
|
3249
3408
|
};
|
|
3250
|
-
floriday_agreement_calloffs_cache: {
|
|
3251
|
-
Row: {
|
|
3252
|
-
agreement_id: string | null;
|
|
3253
|
-
connection_id: string;
|
|
3254
|
-
data: import("./types").Json;
|
|
3255
|
-
delivery_date: string | null;
|
|
3256
|
-
fetched_at: string;
|
|
3257
|
-
floriday_id: string;
|
|
3258
|
-
id: string;
|
|
3259
|
-
is_deleted: boolean;
|
|
3260
|
-
sequence_number: number;
|
|
3261
|
-
status: string | null;
|
|
3262
|
-
updated_at: string;
|
|
3263
|
-
};
|
|
3264
|
-
Insert: {
|
|
3265
|
-
agreement_id?: string | null;
|
|
3266
|
-
connection_id: string;
|
|
3267
|
-
data?: import("./types").Json;
|
|
3268
|
-
delivery_date?: string | null;
|
|
3269
|
-
fetched_at?: string;
|
|
3270
|
-
floriday_id: string;
|
|
3271
|
-
id?: string;
|
|
3272
|
-
is_deleted?: boolean;
|
|
3273
|
-
sequence_number?: number;
|
|
3274
|
-
status?: string | null;
|
|
3275
|
-
updated_at?: string;
|
|
3276
|
-
};
|
|
3277
|
-
Update: {
|
|
3278
|
-
agreement_id?: string | null;
|
|
3279
|
-
connection_id?: string;
|
|
3280
|
-
data?: import("./types").Json;
|
|
3281
|
-
delivery_date?: string | null;
|
|
3282
|
-
fetched_at?: string;
|
|
3283
|
-
floriday_id?: string;
|
|
3284
|
-
id?: string;
|
|
3285
|
-
is_deleted?: boolean;
|
|
3286
|
-
sequence_number?: number;
|
|
3287
|
-
status?: string | null;
|
|
3288
|
-
updated_at?: string;
|
|
3289
|
-
};
|
|
3290
|
-
Relationships: [{
|
|
3291
|
-
foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
|
|
3292
|
-
columns: ["connection_id"];
|
|
3293
|
-
isOneToOne: false;
|
|
3294
|
-
referencedRelation: "floriday_connections";
|
|
3295
|
-
referencedColumns: ["id"];
|
|
3296
|
-
}];
|
|
3297
|
-
};
|
|
3298
|
-
floriday_agreements_cache: {
|
|
3299
|
-
Row: {
|
|
3300
|
-
buyer_organization_id: string | null;
|
|
3301
|
-
connection_id: string;
|
|
3302
|
-
data: import("./types").Json;
|
|
3303
|
-
fetched_at: string;
|
|
3304
|
-
floriday_id: string;
|
|
3305
|
-
id: string;
|
|
3306
|
-
is_deleted: boolean;
|
|
3307
|
-
sequence_number: number;
|
|
3308
|
-
status: string | null;
|
|
3309
|
-
updated_at: string;
|
|
3310
|
-
valid_from: string | null;
|
|
3311
|
-
valid_until: string | null;
|
|
3312
|
-
};
|
|
3313
|
-
Insert: {
|
|
3314
|
-
buyer_organization_id?: string | null;
|
|
3315
|
-
connection_id: string;
|
|
3316
|
-
data?: import("./types").Json;
|
|
3317
|
-
fetched_at?: string;
|
|
3318
|
-
floriday_id: string;
|
|
3319
|
-
id?: string;
|
|
3320
|
-
is_deleted?: boolean;
|
|
3321
|
-
sequence_number?: number;
|
|
3322
|
-
status?: string | null;
|
|
3323
|
-
updated_at?: string;
|
|
3324
|
-
valid_from?: string | null;
|
|
3325
|
-
valid_until?: string | null;
|
|
3326
|
-
};
|
|
3327
|
-
Update: {
|
|
3328
|
-
buyer_organization_id?: string | null;
|
|
3329
|
-
connection_id?: string;
|
|
3330
|
-
data?: import("./types").Json;
|
|
3331
|
-
fetched_at?: string;
|
|
3332
|
-
floriday_id?: string;
|
|
3333
|
-
id?: string;
|
|
3334
|
-
is_deleted?: boolean;
|
|
3335
|
-
sequence_number?: number;
|
|
3336
|
-
status?: string | null;
|
|
3337
|
-
updated_at?: string;
|
|
3338
|
-
valid_from?: string | null;
|
|
3339
|
-
valid_until?: string | null;
|
|
3340
|
-
};
|
|
3341
|
-
Relationships: [{
|
|
3342
|
-
foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
|
|
3343
|
-
columns: ["connection_id"];
|
|
3344
|
-
isOneToOne: false;
|
|
3345
|
-
referencedRelation: "floriday_connections";
|
|
3346
|
-
referencedColumns: ["id"];
|
|
3347
|
-
}];
|
|
3348
|
-
};
|
|
3349
3409
|
floriday_auction_letters_cache: {
|
|
3350
3410
|
Row: {
|
|
3351
3411
|
auction_letter_code: string;
|
|
@@ -3844,6 +3904,27 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
3844
3904
|
referencedColumns: ["id"];
|
|
3845
3905
|
}];
|
|
3846
3906
|
};
|
|
3907
|
+
floriday_continuous_stock_cache: {
|
|
3908
|
+
Row: {
|
|
3909
|
+
connection_id: string;
|
|
3910
|
+
fetched_at: string;
|
|
3911
|
+
number_of_pieces: number;
|
|
3912
|
+
trade_item_id: string;
|
|
3913
|
+
};
|
|
3914
|
+
Insert: {
|
|
3915
|
+
connection_id: string;
|
|
3916
|
+
fetched_at?: string;
|
|
3917
|
+
number_of_pieces?: number;
|
|
3918
|
+
trade_item_id: string;
|
|
3919
|
+
};
|
|
3920
|
+
Update: {
|
|
3921
|
+
connection_id?: string;
|
|
3922
|
+
fetched_at?: string;
|
|
3923
|
+
number_of_pieces?: number;
|
|
3924
|
+
trade_item_id?: string;
|
|
3925
|
+
};
|
|
3926
|
+
Relationships: [];
|
|
3927
|
+
};
|
|
3847
3928
|
floriday_continuous_stock_queue: {
|
|
3848
3929
|
Row: {
|
|
3849
3930
|
attempts: number;
|
|
@@ -4619,6 +4700,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
4619
4700
|
Row: {
|
|
4620
4701
|
buyer_organization_id: string | null;
|
|
4621
4702
|
connection_id: string;
|
|
4703
|
+
controlled_at: string | null;
|
|
4704
|
+
controlled_by: string | null;
|
|
4622
4705
|
created_at: string;
|
|
4623
4706
|
data: import("./types").Json;
|
|
4624
4707
|
floriday_id: string;
|
|
@@ -4630,6 +4713,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
4630
4713
|
Insert: {
|
|
4631
4714
|
buyer_organization_id?: string | null;
|
|
4632
4715
|
connection_id: string;
|
|
4716
|
+
controlled_at?: string | null;
|
|
4717
|
+
controlled_by?: string | null;
|
|
4633
4718
|
created_at?: string;
|
|
4634
4719
|
data: import("./types").Json;
|
|
4635
4720
|
floriday_id: string;
|
|
@@ -4641,6 +4726,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
4641
4726
|
Update: {
|
|
4642
4727
|
buyer_organization_id?: string | null;
|
|
4643
4728
|
connection_id?: string;
|
|
4729
|
+
controlled_at?: string | null;
|
|
4730
|
+
controlled_by?: string | null;
|
|
4644
4731
|
created_at?: string;
|
|
4645
4732
|
data?: import("./types").Json;
|
|
4646
4733
|
floriday_id?: string;
|
|
@@ -4822,9 +4909,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
4822
4909
|
referencedColumns: ["id"];
|
|
4823
4910
|
}];
|
|
4824
4911
|
};
|
|
4825
|
-
|
|
4912
|
+
floriday_trade_settings_customers_cache: {
|
|
4826
4913
|
Row: {
|
|
4827
|
-
carrier_organization_id: string | null;
|
|
4828
4914
|
connection_id: string;
|
|
4829
4915
|
data: import("./types").Json;
|
|
4830
4916
|
fetched_at: string;
|
|
@@ -4832,25 +4918,19 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
4832
4918
|
id: string;
|
|
4833
4919
|
is_deleted: boolean;
|
|
4834
4920
|
sequence_number: number;
|
|
4835
|
-
status: string | null;
|
|
4836
|
-
trip_date: string | null;
|
|
4837
4921
|
updated_at: string;
|
|
4838
4922
|
};
|
|
4839
4923
|
Insert: {
|
|
4840
|
-
carrier_organization_id?: string | null;
|
|
4841
4924
|
connection_id: string;
|
|
4842
|
-
data
|
|
4925
|
+
data: import("./types").Json;
|
|
4843
4926
|
fetched_at?: string;
|
|
4844
4927
|
floriday_id: string;
|
|
4845
4928
|
id?: string;
|
|
4846
4929
|
is_deleted?: boolean;
|
|
4847
4930
|
sequence_number?: number;
|
|
4848
|
-
status?: string | null;
|
|
4849
|
-
trip_date?: string | null;
|
|
4850
4931
|
updated_at?: string;
|
|
4851
4932
|
};
|
|
4852
4933
|
Update: {
|
|
4853
|
-
carrier_organization_id?: string | null;
|
|
4854
4934
|
connection_id?: string;
|
|
4855
4935
|
data?: import("./types").Json;
|
|
4856
4936
|
fetched_at?: string;
|
|
@@ -4858,31 +4938,77 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
4858
4938
|
id?: string;
|
|
4859
4939
|
is_deleted?: boolean;
|
|
4860
4940
|
sequence_number?: number;
|
|
4861
|
-
status?: string | null;
|
|
4862
|
-
trip_date?: string | null;
|
|
4863
4941
|
updated_at?: string;
|
|
4864
4942
|
};
|
|
4865
4943
|
Relationships: [{
|
|
4866
|
-
foreignKeyName: "
|
|
4944
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
4867
4945
|
columns: ["connection_id"];
|
|
4868
4946
|
isOneToOne: false;
|
|
4869
4947
|
referencedRelation: "floriday_connections";
|
|
4870
4948
|
referencedColumns: ["id"];
|
|
4871
4949
|
}];
|
|
4872
4950
|
};
|
|
4873
|
-
|
|
4951
|
+
floriday_trips_cache: {
|
|
4874
4952
|
Row: {
|
|
4953
|
+
carrier_organization_id: string | null;
|
|
4875
4954
|
connection_id: string;
|
|
4876
4955
|
data: import("./types").Json;
|
|
4877
4956
|
fetched_at: string;
|
|
4878
4957
|
floriday_id: string;
|
|
4879
|
-
gln_code: string | null;
|
|
4880
4958
|
id: string;
|
|
4881
|
-
is_default: boolean;
|
|
4882
4959
|
is_deleted: boolean;
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4960
|
+
sequence_number: number;
|
|
4961
|
+
status: string | null;
|
|
4962
|
+
trip_date: string | null;
|
|
4963
|
+
updated_at: string;
|
|
4964
|
+
};
|
|
4965
|
+
Insert: {
|
|
4966
|
+
carrier_organization_id?: string | null;
|
|
4967
|
+
connection_id: string;
|
|
4968
|
+
data?: import("./types").Json;
|
|
4969
|
+
fetched_at?: string;
|
|
4970
|
+
floriday_id: string;
|
|
4971
|
+
id?: string;
|
|
4972
|
+
is_deleted?: boolean;
|
|
4973
|
+
sequence_number?: number;
|
|
4974
|
+
status?: string | null;
|
|
4975
|
+
trip_date?: string | null;
|
|
4976
|
+
updated_at?: string;
|
|
4977
|
+
};
|
|
4978
|
+
Update: {
|
|
4979
|
+
carrier_organization_id?: string | null;
|
|
4980
|
+
connection_id?: string;
|
|
4981
|
+
data?: import("./types").Json;
|
|
4982
|
+
fetched_at?: string;
|
|
4983
|
+
floriday_id?: string;
|
|
4984
|
+
id?: string;
|
|
4985
|
+
is_deleted?: boolean;
|
|
4986
|
+
sequence_number?: number;
|
|
4987
|
+
status?: string | null;
|
|
4988
|
+
trip_date?: string | null;
|
|
4989
|
+
updated_at?: string;
|
|
4990
|
+
};
|
|
4991
|
+
Relationships: [{
|
|
4992
|
+
foreignKeyName: "floriday_trips_cache_connection_id_fkey";
|
|
4993
|
+
columns: ["connection_id"];
|
|
4994
|
+
isOneToOne: false;
|
|
4995
|
+
referencedRelation: "floriday_connections";
|
|
4996
|
+
referencedColumns: ["id"];
|
|
4997
|
+
}];
|
|
4998
|
+
};
|
|
4999
|
+
floriday_warehouses_cache: {
|
|
5000
|
+
Row: {
|
|
5001
|
+
connection_id: string;
|
|
5002
|
+
data: import("./types").Json;
|
|
5003
|
+
fetched_at: string;
|
|
5004
|
+
floriday_id: string;
|
|
5005
|
+
gln_code: string | null;
|
|
5006
|
+
id: string;
|
|
5007
|
+
is_default: boolean;
|
|
5008
|
+
is_deleted: boolean;
|
|
5009
|
+
name: string | null;
|
|
5010
|
+
updated_at: string;
|
|
5011
|
+
};
|
|
4886
5012
|
Insert: {
|
|
4887
5013
|
connection_id: string;
|
|
4888
5014
|
data?: import("./types").Json;
|
|
@@ -5572,6 +5698,222 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
5572
5698
|
};
|
|
5573
5699
|
Relationships: [];
|
|
5574
5700
|
};
|
|
5701
|
+
logistics_decisions: {
|
|
5702
|
+
Row: {
|
|
5703
|
+
created_at: string;
|
|
5704
|
+
explanation: string | null;
|
|
5705
|
+
id: string;
|
|
5706
|
+
input_snapshot: import("./types").Json;
|
|
5707
|
+
result: import("./types").Json;
|
|
5708
|
+
slot: string;
|
|
5709
|
+
strategy_id: string | null;
|
|
5710
|
+
subject_id: string;
|
|
5711
|
+
subject_type: string;
|
|
5712
|
+
user_id: string;
|
|
5713
|
+
};
|
|
5714
|
+
Insert: {
|
|
5715
|
+
created_at?: string;
|
|
5716
|
+
explanation?: string | null;
|
|
5717
|
+
id?: string;
|
|
5718
|
+
input_snapshot?: import("./types").Json;
|
|
5719
|
+
result?: import("./types").Json;
|
|
5720
|
+
slot: string;
|
|
5721
|
+
strategy_id?: string | null;
|
|
5722
|
+
subject_id: string;
|
|
5723
|
+
subject_type: string;
|
|
5724
|
+
user_id: string;
|
|
5725
|
+
};
|
|
5726
|
+
Update: {
|
|
5727
|
+
created_at?: string;
|
|
5728
|
+
explanation?: string | null;
|
|
5729
|
+
id?: string;
|
|
5730
|
+
input_snapshot?: import("./types").Json;
|
|
5731
|
+
result?: import("./types").Json;
|
|
5732
|
+
slot?: string;
|
|
5733
|
+
strategy_id?: string | null;
|
|
5734
|
+
subject_id?: string;
|
|
5735
|
+
subject_type?: string;
|
|
5736
|
+
user_id?: string;
|
|
5737
|
+
};
|
|
5738
|
+
Relationships: [{
|
|
5739
|
+
foreignKeyName: "logistics_decisions_strategy_id_fkey";
|
|
5740
|
+
columns: ["strategy_id"];
|
|
5741
|
+
isOneToOne: false;
|
|
5742
|
+
referencedRelation: "logistics_strategies";
|
|
5743
|
+
referencedColumns: ["id"];
|
|
5744
|
+
}];
|
|
5745
|
+
};
|
|
5746
|
+
logistics_formulas: {
|
|
5747
|
+
Row: {
|
|
5748
|
+
created_at: string;
|
|
5749
|
+
expression: string;
|
|
5750
|
+
id: string;
|
|
5751
|
+
notes: string | null;
|
|
5752
|
+
slot: string;
|
|
5753
|
+
strategy_id: string;
|
|
5754
|
+
updated_at: string;
|
|
5755
|
+
user_id: string;
|
|
5756
|
+
version: number;
|
|
5757
|
+
};
|
|
5758
|
+
Insert: {
|
|
5759
|
+
created_at?: string;
|
|
5760
|
+
expression?: string;
|
|
5761
|
+
id?: string;
|
|
5762
|
+
notes?: string | null;
|
|
5763
|
+
slot: string;
|
|
5764
|
+
strategy_id: string;
|
|
5765
|
+
updated_at?: string;
|
|
5766
|
+
user_id: string;
|
|
5767
|
+
version?: number;
|
|
5768
|
+
};
|
|
5769
|
+
Update: {
|
|
5770
|
+
created_at?: string;
|
|
5771
|
+
expression?: string;
|
|
5772
|
+
id?: string;
|
|
5773
|
+
notes?: string | null;
|
|
5774
|
+
slot?: string;
|
|
5775
|
+
strategy_id?: string;
|
|
5776
|
+
updated_at?: string;
|
|
5777
|
+
user_id?: string;
|
|
5778
|
+
version?: number;
|
|
5779
|
+
};
|
|
5780
|
+
Relationships: [{
|
|
5781
|
+
foreignKeyName: "logistics_formulas_strategy_id_fkey";
|
|
5782
|
+
columns: ["strategy_id"];
|
|
5783
|
+
isOneToOne: false;
|
|
5784
|
+
referencedRelation: "logistics_strategies";
|
|
5785
|
+
referencedColumns: ["id"];
|
|
5786
|
+
}];
|
|
5787
|
+
};
|
|
5788
|
+
logistics_strategies: {
|
|
5789
|
+
Row: {
|
|
5790
|
+
color: string;
|
|
5791
|
+
created_at: string;
|
|
5792
|
+
description: string | null;
|
|
5793
|
+
id: string;
|
|
5794
|
+
is_active: boolean;
|
|
5795
|
+
name: string;
|
|
5796
|
+
priority: number;
|
|
5797
|
+
updated_at: string;
|
|
5798
|
+
updated_by: string | null;
|
|
5799
|
+
user_id: string;
|
|
5800
|
+
version: number;
|
|
5801
|
+
};
|
|
5802
|
+
Insert: {
|
|
5803
|
+
color?: string;
|
|
5804
|
+
created_at?: string;
|
|
5805
|
+
description?: string | null;
|
|
5806
|
+
id?: string;
|
|
5807
|
+
is_active?: boolean;
|
|
5808
|
+
name: string;
|
|
5809
|
+
priority?: number;
|
|
5810
|
+
updated_at?: string;
|
|
5811
|
+
updated_by?: string | null;
|
|
5812
|
+
user_id: string;
|
|
5813
|
+
version?: number;
|
|
5814
|
+
};
|
|
5815
|
+
Update: {
|
|
5816
|
+
color?: string;
|
|
5817
|
+
created_at?: string;
|
|
5818
|
+
description?: string | null;
|
|
5819
|
+
id?: string;
|
|
5820
|
+
is_active?: boolean;
|
|
5821
|
+
name?: string;
|
|
5822
|
+
priority?: number;
|
|
5823
|
+
updated_at?: string;
|
|
5824
|
+
updated_by?: string | null;
|
|
5825
|
+
user_id?: string;
|
|
5826
|
+
version?: number;
|
|
5827
|
+
};
|
|
5828
|
+
Relationships: [];
|
|
5829
|
+
};
|
|
5830
|
+
logistics_strategy_schedules: {
|
|
5831
|
+
Row: {
|
|
5832
|
+
condition_expression: string | null;
|
|
5833
|
+
created_at: string;
|
|
5834
|
+
end_date: string | null;
|
|
5835
|
+
id: string;
|
|
5836
|
+
is_enabled: boolean;
|
|
5837
|
+
priority: number;
|
|
5838
|
+
rule_type: string;
|
|
5839
|
+
start_date: string | null;
|
|
5840
|
+
strategy_id: string;
|
|
5841
|
+
updated_at: string;
|
|
5842
|
+
user_id: string;
|
|
5843
|
+
};
|
|
5844
|
+
Insert: {
|
|
5845
|
+
condition_expression?: string | null;
|
|
5846
|
+
created_at?: string;
|
|
5847
|
+
end_date?: string | null;
|
|
5848
|
+
id?: string;
|
|
5849
|
+
is_enabled?: boolean;
|
|
5850
|
+
priority?: number;
|
|
5851
|
+
rule_type: string;
|
|
5852
|
+
start_date?: string | null;
|
|
5853
|
+
strategy_id: string;
|
|
5854
|
+
updated_at?: string;
|
|
5855
|
+
user_id: string;
|
|
5856
|
+
};
|
|
5857
|
+
Update: {
|
|
5858
|
+
condition_expression?: string | null;
|
|
5859
|
+
created_at?: string;
|
|
5860
|
+
end_date?: string | null;
|
|
5861
|
+
id?: string;
|
|
5862
|
+
is_enabled?: boolean;
|
|
5863
|
+
priority?: number;
|
|
5864
|
+
rule_type?: string;
|
|
5865
|
+
start_date?: string | null;
|
|
5866
|
+
strategy_id?: string;
|
|
5867
|
+
updated_at?: string;
|
|
5868
|
+
user_id?: string;
|
|
5869
|
+
};
|
|
5870
|
+
Relationships: [{
|
|
5871
|
+
foreignKeyName: "logistics_strategy_schedules_strategy_id_fkey";
|
|
5872
|
+
columns: ["strategy_id"];
|
|
5873
|
+
isOneToOne: false;
|
|
5874
|
+
referencedRelation: "logistics_strategies";
|
|
5875
|
+
referencedColumns: ["id"];
|
|
5876
|
+
}];
|
|
5877
|
+
};
|
|
5878
|
+
logistics_variables: {
|
|
5879
|
+
Row: {
|
|
5880
|
+
created_at: string;
|
|
5881
|
+
default_value: string | null;
|
|
5882
|
+
description: string | null;
|
|
5883
|
+
id: string;
|
|
5884
|
+
is_builtin: boolean;
|
|
5885
|
+
key: string;
|
|
5886
|
+
label: string;
|
|
5887
|
+
updated_at: string;
|
|
5888
|
+
user_id: string;
|
|
5889
|
+
value_type: string;
|
|
5890
|
+
};
|
|
5891
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [];
|
|
5916
|
+
};
|
|
5575
5917
|
mailbox_messages: {
|
|
5576
5918
|
Row: {
|
|
5577
5919
|
body_html: string | null;
|
|
@@ -5967,39 +6309,60 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
5967
6309
|
};
|
|
5968
6310
|
manufacture_products: {
|
|
5969
6311
|
Row: {
|
|
6312
|
+
aantal_te_produceren: number;
|
|
5970
6313
|
created_at: string;
|
|
5971
6314
|
description: string | null;
|
|
5972
6315
|
id: string;
|
|
5973
6316
|
is_active: boolean;
|
|
6317
|
+
location_id: string | null;
|
|
5974
6318
|
name: string;
|
|
6319
|
+
partij_nummer: string | null;
|
|
6320
|
+
photos: import("./types").Json;
|
|
5975
6321
|
produced_stock: number;
|
|
5976
6322
|
product_code: string;
|
|
5977
6323
|
tenant_id: string;
|
|
6324
|
+
unit: string;
|
|
5978
6325
|
updated_at: string;
|
|
5979
6326
|
};
|
|
5980
6327
|
Insert: {
|
|
6328
|
+
aantal_te_produceren?: number;
|
|
5981
6329
|
created_at?: string;
|
|
5982
6330
|
description?: string | null;
|
|
5983
6331
|
id?: string;
|
|
5984
6332
|
is_active?: boolean;
|
|
6333
|
+
location_id?: string | null;
|
|
5985
6334
|
name: string;
|
|
6335
|
+
partij_nummer?: string | null;
|
|
6336
|
+
photos?: import("./types").Json;
|
|
5986
6337
|
produced_stock?: number;
|
|
5987
6338
|
product_code: string;
|
|
5988
6339
|
tenant_id: string;
|
|
6340
|
+
unit?: string;
|
|
5989
6341
|
updated_at?: string;
|
|
5990
6342
|
};
|
|
5991
6343
|
Update: {
|
|
6344
|
+
aantal_te_produceren?: number;
|
|
5992
6345
|
created_at?: string;
|
|
5993
6346
|
description?: string | null;
|
|
5994
6347
|
id?: string;
|
|
5995
6348
|
is_active?: boolean;
|
|
6349
|
+
location_id?: string | null;
|
|
5996
6350
|
name?: string;
|
|
6351
|
+
partij_nummer?: string | null;
|
|
6352
|
+
photos?: import("./types").Json;
|
|
5997
6353
|
produced_stock?: number;
|
|
5998
6354
|
product_code?: string;
|
|
5999
6355
|
tenant_id?: string;
|
|
6356
|
+
unit?: string;
|
|
6000
6357
|
updated_at?: string;
|
|
6001
6358
|
};
|
|
6002
|
-
Relationships: [
|
|
6359
|
+
Relationships: [{
|
|
6360
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
6361
|
+
columns: ["location_id"];
|
|
6362
|
+
isOneToOne: false;
|
|
6363
|
+
referencedRelation: "locations";
|
|
6364
|
+
referencedColumns: ["id"];
|
|
6365
|
+
}];
|
|
6003
6366
|
};
|
|
6004
6367
|
monteurs: {
|
|
6005
6368
|
Row: {
|
|
@@ -6973,6 +7336,105 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6973
7336
|
};
|
|
6974
7337
|
Relationships: [];
|
|
6975
7338
|
};
|
|
7339
|
+
order_shipment_items: {
|
|
7340
|
+
Row: {
|
|
7341
|
+
created_at: string;
|
|
7342
|
+
id: string;
|
|
7343
|
+
order_item_id: string;
|
|
7344
|
+
product_id: string | null;
|
|
7345
|
+
product_name: string;
|
|
7346
|
+
quantity: number;
|
|
7347
|
+
shipment_id: string;
|
|
7348
|
+
updated_at: string;
|
|
7349
|
+
};
|
|
7350
|
+
Insert: {
|
|
7351
|
+
created_at?: string;
|
|
7352
|
+
id?: string;
|
|
7353
|
+
order_item_id: string;
|
|
7354
|
+
product_id?: string | null;
|
|
7355
|
+
product_name: string;
|
|
7356
|
+
quantity: number;
|
|
7357
|
+
shipment_id: string;
|
|
7358
|
+
updated_at?: string;
|
|
7359
|
+
};
|
|
7360
|
+
Update: {
|
|
7361
|
+
created_at?: string;
|
|
7362
|
+
id?: string;
|
|
7363
|
+
order_item_id?: string;
|
|
7364
|
+
product_id?: string | null;
|
|
7365
|
+
product_name?: string;
|
|
7366
|
+
quantity?: number;
|
|
7367
|
+
shipment_id?: string;
|
|
7368
|
+
updated_at?: string;
|
|
7369
|
+
};
|
|
7370
|
+
Relationships: [{
|
|
7371
|
+
foreignKeyName: "order_shipment_items_order_item_id_fkey";
|
|
7372
|
+
columns: ["order_item_id"];
|
|
7373
|
+
isOneToOne: false;
|
|
7374
|
+
referencedRelation: "order_items";
|
|
7375
|
+
referencedColumns: ["id"];
|
|
7376
|
+
}, {
|
|
7377
|
+
foreignKeyName: "order_shipment_items_shipment_id_fkey";
|
|
7378
|
+
columns: ["shipment_id"];
|
|
7379
|
+
isOneToOne: false;
|
|
7380
|
+
referencedRelation: "order_shipments";
|
|
7381
|
+
referencedColumns: ["id"];
|
|
7382
|
+
}];
|
|
7383
|
+
};
|
|
7384
|
+
order_shipments: {
|
|
7385
|
+
Row: {
|
|
7386
|
+
carrier_id: string | null;
|
|
7387
|
+
created_at: string;
|
|
7388
|
+
delivery_date: string | null;
|
|
7389
|
+
delivery_location_id: string | null;
|
|
7390
|
+
id: string;
|
|
7391
|
+
notes: string | null;
|
|
7392
|
+
order_id: string;
|
|
7393
|
+
shipment_number: number;
|
|
7394
|
+
shipped_at: string | null;
|
|
7395
|
+
status: string;
|
|
7396
|
+
updated_at: string;
|
|
7397
|
+
};
|
|
7398
|
+
Insert: {
|
|
7399
|
+
carrier_id?: string | null;
|
|
7400
|
+
created_at?: string;
|
|
7401
|
+
delivery_date?: string | null;
|
|
7402
|
+
delivery_location_id?: string | null;
|
|
7403
|
+
id?: string;
|
|
7404
|
+
notes?: string | null;
|
|
7405
|
+
order_id: string;
|
|
7406
|
+
shipment_number: number;
|
|
7407
|
+
shipped_at?: string | null;
|
|
7408
|
+
status?: string;
|
|
7409
|
+
updated_at?: string;
|
|
7410
|
+
};
|
|
7411
|
+
Update: {
|
|
7412
|
+
carrier_id?: string | null;
|
|
7413
|
+
created_at?: string;
|
|
7414
|
+
delivery_date?: string | null;
|
|
7415
|
+
delivery_location_id?: string | null;
|
|
7416
|
+
id?: string;
|
|
7417
|
+
notes?: string | null;
|
|
7418
|
+
order_id?: string;
|
|
7419
|
+
shipment_number?: number;
|
|
7420
|
+
shipped_at?: string | null;
|
|
7421
|
+
status?: string;
|
|
7422
|
+
updated_at?: string;
|
|
7423
|
+
};
|
|
7424
|
+
Relationships: [{
|
|
7425
|
+
foreignKeyName: "order_shipments_carrier_id_fkey";
|
|
7426
|
+
columns: ["carrier_id"];
|
|
7427
|
+
isOneToOne: false;
|
|
7428
|
+
referencedRelation: "carriers";
|
|
7429
|
+
referencedColumns: ["id"];
|
|
7430
|
+
}, {
|
|
7431
|
+
foreignKeyName: "order_shipments_order_id_fkey";
|
|
7432
|
+
columns: ["order_id"];
|
|
7433
|
+
isOneToOne: false;
|
|
7434
|
+
referencedRelation: "orders";
|
|
7435
|
+
referencedColumns: ["id"];
|
|
7436
|
+
}];
|
|
7437
|
+
};
|
|
6976
7438
|
orders: {
|
|
6977
7439
|
Row: {
|
|
6978
7440
|
created_at: string;
|
|
@@ -6980,8 +7442,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6980
7442
|
customer_id: string | null;
|
|
6981
7443
|
customer_name: string;
|
|
6982
7444
|
deleted_at: string | null;
|
|
6983
|
-
delivery_date: string;
|
|
7445
|
+
delivery_date: string | null;
|
|
6984
7446
|
id: string;
|
|
7447
|
+
is_reservation: boolean;
|
|
6985
7448
|
notes: string | null;
|
|
6986
7449
|
order_date: string;
|
|
6987
7450
|
order_number: string;
|
|
@@ -6998,8 +7461,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6998
7461
|
customer_id?: string | null;
|
|
6999
7462
|
customer_name?: string;
|
|
7000
7463
|
deleted_at?: string | null;
|
|
7001
|
-
delivery_date
|
|
7464
|
+
delivery_date?: string | null;
|
|
7002
7465
|
id?: string;
|
|
7466
|
+
is_reservation?: boolean;
|
|
7003
7467
|
notes?: string | null;
|
|
7004
7468
|
order_date?: string;
|
|
7005
7469
|
order_number: string;
|
|
@@ -7016,8 +7480,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7016
7480
|
customer_id?: string | null;
|
|
7017
7481
|
customer_name?: string;
|
|
7018
7482
|
deleted_at?: string | null;
|
|
7019
|
-
delivery_date?: string;
|
|
7483
|
+
delivery_date?: string | null;
|
|
7020
7484
|
id?: string;
|
|
7485
|
+
is_reservation?: boolean;
|
|
7021
7486
|
notes?: string | null;
|
|
7022
7487
|
order_date?: string;
|
|
7023
7488
|
order_number?: string;
|
|
@@ -7132,32 +7597,89 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7132
7597
|
color: string;
|
|
7133
7598
|
created_at: string;
|
|
7134
7599
|
id: string;
|
|
7135
|
-
is_active: boolean;
|
|
7136
|
-
name: string;
|
|
7600
|
+
is_active: boolean;
|
|
7601
|
+
name: string;
|
|
7602
|
+
sort_order: number;
|
|
7603
|
+
updated_at: string;
|
|
7604
|
+
};
|
|
7605
|
+
Insert: {
|
|
7606
|
+
automation_type?: string;
|
|
7607
|
+
color?: string;
|
|
7608
|
+
created_at?: string;
|
|
7609
|
+
id?: string;
|
|
7610
|
+
is_active?: boolean;
|
|
7611
|
+
name: string;
|
|
7612
|
+
sort_order?: number;
|
|
7613
|
+
updated_at?: string;
|
|
7614
|
+
};
|
|
7615
|
+
Update: {
|
|
7616
|
+
automation_type?: string;
|
|
7617
|
+
color?: string;
|
|
7618
|
+
created_at?: string;
|
|
7619
|
+
id?: string;
|
|
7620
|
+
is_active?: boolean;
|
|
7621
|
+
name?: string;
|
|
7622
|
+
sort_order?: number;
|
|
7623
|
+
updated_at?: string;
|
|
7624
|
+
};
|
|
7625
|
+
Relationships: [];
|
|
7626
|
+
};
|
|
7627
|
+
product_bom_items: {
|
|
7628
|
+
Row: {
|
|
7629
|
+
component_product_id: string | null;
|
|
7630
|
+
component_trade_item_floriday_id: string | null;
|
|
7631
|
+
created_at: string;
|
|
7632
|
+
id: string;
|
|
7633
|
+
notes: string | null;
|
|
7634
|
+
parent_product_id: string | null;
|
|
7635
|
+
parent_trade_item_floriday_id: string | null;
|
|
7636
|
+
quantity: number;
|
|
7137
7637
|
sort_order: number;
|
|
7638
|
+
tenant_id: string;
|
|
7639
|
+
unit: string;
|
|
7138
7640
|
updated_at: string;
|
|
7139
7641
|
};
|
|
7140
7642
|
Insert: {
|
|
7141
|
-
|
|
7142
|
-
|
|
7643
|
+
component_product_id?: string | null;
|
|
7644
|
+
component_trade_item_floriday_id?: string | null;
|
|
7143
7645
|
created_at?: string;
|
|
7144
7646
|
id?: string;
|
|
7145
|
-
|
|
7146
|
-
|
|
7647
|
+
notes?: string | null;
|
|
7648
|
+
parent_product_id?: string | null;
|
|
7649
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7650
|
+
quantity?: number;
|
|
7147
7651
|
sort_order?: number;
|
|
7652
|
+
tenant_id: string;
|
|
7653
|
+
unit?: string;
|
|
7148
7654
|
updated_at?: string;
|
|
7149
7655
|
};
|
|
7150
7656
|
Update: {
|
|
7151
|
-
|
|
7152
|
-
|
|
7657
|
+
component_product_id?: string | null;
|
|
7658
|
+
component_trade_item_floriday_id?: string | null;
|
|
7153
7659
|
created_at?: string;
|
|
7154
7660
|
id?: string;
|
|
7155
|
-
|
|
7156
|
-
|
|
7661
|
+
notes?: string | null;
|
|
7662
|
+
parent_product_id?: string | null;
|
|
7663
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7664
|
+
quantity?: number;
|
|
7157
7665
|
sort_order?: number;
|
|
7666
|
+
tenant_id?: string;
|
|
7667
|
+
unit?: string;
|
|
7158
7668
|
updated_at?: string;
|
|
7159
7669
|
};
|
|
7160
|
-
Relationships: [
|
|
7670
|
+
Relationships: [{
|
|
7671
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
7672
|
+
columns: ["component_product_id"];
|
|
7673
|
+
isOneToOne: false;
|
|
7674
|
+
referencedRelation: "products";
|
|
7675
|
+
referencedColumns: ["id"];
|
|
7676
|
+
}, {
|
|
7677
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
7678
|
+
columns: ["parent_product_id"];
|
|
7679
|
+
isOneToOne: false;
|
|
7680
|
+
referencedRelation: "products";
|
|
7681
|
+
referencedColumns: ["id"];
|
|
7682
|
+
}];
|
|
7161
7683
|
};
|
|
7162
7684
|
product_categories: {
|
|
7163
7685
|
Row: {
|
|
@@ -7264,6 +7786,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7264
7786
|
id: string;
|
|
7265
7787
|
product_group_id: string;
|
|
7266
7788
|
quantity: number;
|
|
7789
|
+
sort_order: number;
|
|
7267
7790
|
trade_item_id: string;
|
|
7268
7791
|
};
|
|
7269
7792
|
Insert: {
|
|
@@ -7271,6 +7794,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7271
7794
|
id?: string;
|
|
7272
7795
|
product_group_id: string;
|
|
7273
7796
|
quantity?: number;
|
|
7797
|
+
sort_order?: number;
|
|
7274
7798
|
trade_item_id: string;
|
|
7275
7799
|
};
|
|
7276
7800
|
Update: {
|
|
@@ -7278,6 +7802,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7278
7802
|
id?: string;
|
|
7279
7803
|
product_group_id?: string;
|
|
7280
7804
|
quantity?: number;
|
|
7805
|
+
sort_order?: number;
|
|
7281
7806
|
trade_item_id?: string;
|
|
7282
7807
|
};
|
|
7283
7808
|
Relationships: [{
|
|
@@ -7292,6 +7817,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7292
7817
|
Row: {
|
|
7293
7818
|
created_at: string;
|
|
7294
7819
|
description: string | null;
|
|
7820
|
+
head_product_id: string | null;
|
|
7821
|
+
head_trade_item_floriday_id: string | null;
|
|
7295
7822
|
id: string;
|
|
7296
7823
|
is_active: boolean;
|
|
7297
7824
|
name: string;
|
|
@@ -7301,6 +7828,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7301
7828
|
Insert: {
|
|
7302
7829
|
created_at?: string;
|
|
7303
7830
|
description?: string | null;
|
|
7831
|
+
head_product_id?: string | null;
|
|
7832
|
+
head_trade_item_floriday_id?: string | null;
|
|
7304
7833
|
id?: string;
|
|
7305
7834
|
is_active?: boolean;
|
|
7306
7835
|
name: string;
|
|
@@ -7310,24 +7839,130 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7310
7839
|
Update: {
|
|
7311
7840
|
created_at?: string;
|
|
7312
7841
|
description?: string | null;
|
|
7842
|
+
head_product_id?: string | null;
|
|
7843
|
+
head_trade_item_floriday_id?: string | null;
|
|
7313
7844
|
id?: string;
|
|
7314
7845
|
is_active?: boolean;
|
|
7315
7846
|
name?: string;
|
|
7316
7847
|
tenant_id?: string;
|
|
7317
7848
|
updated_at?: string;
|
|
7318
7849
|
};
|
|
7850
|
+
Relationships: [{
|
|
7851
|
+
foreignKeyName: "product_groups_head_product_id_fkey";
|
|
7852
|
+
columns: ["head_product_id"];
|
|
7853
|
+
isOneToOne: false;
|
|
7854
|
+
referencedRelation: "products";
|
|
7855
|
+
referencedColumns: ["id"];
|
|
7856
|
+
}];
|
|
7857
|
+
};
|
|
7858
|
+
product_load_settings: {
|
|
7859
|
+
Row: {
|
|
7860
|
+
created_at: string;
|
|
7861
|
+
id: string;
|
|
7862
|
+
is_package: boolean;
|
|
7863
|
+
layers_per_load_carrier: number | null;
|
|
7864
|
+
load_carrier: string | null;
|
|
7865
|
+
package_id: string | null;
|
|
7866
|
+
package_label: string | null;
|
|
7867
|
+
packages_per_layer: number | null;
|
|
7868
|
+
product_id: string | null;
|
|
7869
|
+
tenant_id: string;
|
|
7870
|
+
trade_item_floriday_id: string | null;
|
|
7871
|
+
units_per_package: number | null;
|
|
7872
|
+
updated_at: string;
|
|
7873
|
+
};
|
|
7874
|
+
Insert: {
|
|
7875
|
+
created_at?: string;
|
|
7876
|
+
id?: string;
|
|
7877
|
+
is_package?: boolean;
|
|
7878
|
+
layers_per_load_carrier?: number | null;
|
|
7879
|
+
load_carrier?: string | null;
|
|
7880
|
+
package_id?: string | null;
|
|
7881
|
+
package_label?: string | null;
|
|
7882
|
+
packages_per_layer?: number | null;
|
|
7883
|
+
product_id?: string | null;
|
|
7884
|
+
tenant_id: string;
|
|
7885
|
+
trade_item_floriday_id?: string | null;
|
|
7886
|
+
units_per_package?: number | null;
|
|
7887
|
+
updated_at?: string;
|
|
7888
|
+
};
|
|
7889
|
+
Update: {
|
|
7890
|
+
created_at?: string;
|
|
7891
|
+
id?: string;
|
|
7892
|
+
is_package?: boolean;
|
|
7893
|
+
layers_per_load_carrier?: number | null;
|
|
7894
|
+
load_carrier?: string | null;
|
|
7895
|
+
package_id?: string | null;
|
|
7896
|
+
package_label?: string | null;
|
|
7897
|
+
packages_per_layer?: number | null;
|
|
7898
|
+
product_id?: string | null;
|
|
7899
|
+
tenant_id?: string;
|
|
7900
|
+
trade_item_floriday_id?: string | null;
|
|
7901
|
+
units_per_package?: number | null;
|
|
7902
|
+
updated_at?: string;
|
|
7903
|
+
};
|
|
7904
|
+
Relationships: [{
|
|
7905
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
7906
|
+
columns: ["package_id"];
|
|
7907
|
+
isOneToOne: false;
|
|
7908
|
+
referencedRelation: "packages";
|
|
7909
|
+
referencedColumns: ["id"];
|
|
7910
|
+
}, {
|
|
7911
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
7912
|
+
columns: ["product_id"];
|
|
7913
|
+
isOneToOne: false;
|
|
7914
|
+
referencedRelation: "products";
|
|
7915
|
+
referencedColumns: ["id"];
|
|
7916
|
+
}];
|
|
7917
|
+
};
|
|
7918
|
+
product_merge_log: {
|
|
7919
|
+
Row: {
|
|
7920
|
+
canonical_product_id: string | null;
|
|
7921
|
+
id: string;
|
|
7922
|
+
merged_at: string;
|
|
7923
|
+
merged_from_id: string;
|
|
7924
|
+
notes: string | null;
|
|
7925
|
+
snapshot: import("./types").Json;
|
|
7926
|
+
source_table: string;
|
|
7927
|
+
status: string;
|
|
7928
|
+
};
|
|
7929
|
+
Insert: {
|
|
7930
|
+
canonical_product_id?: string | null;
|
|
7931
|
+
id?: string;
|
|
7932
|
+
merged_at?: string;
|
|
7933
|
+
merged_from_id: string;
|
|
7934
|
+
notes?: string | null;
|
|
7935
|
+
snapshot?: import("./types").Json;
|
|
7936
|
+
source_table: string;
|
|
7937
|
+
status?: string;
|
|
7938
|
+
};
|
|
7939
|
+
Update: {
|
|
7940
|
+
canonical_product_id?: string | null;
|
|
7941
|
+
id?: string;
|
|
7942
|
+
merged_at?: string;
|
|
7943
|
+
merged_from_id?: string;
|
|
7944
|
+
notes?: string | null;
|
|
7945
|
+
snapshot?: import("./types").Json;
|
|
7946
|
+
source_table?: string;
|
|
7947
|
+
status?: string;
|
|
7948
|
+
};
|
|
7319
7949
|
Relationships: [];
|
|
7320
7950
|
};
|
|
7321
7951
|
products: {
|
|
7322
7952
|
Row: {
|
|
7953
|
+
article_number: string | null;
|
|
7323
7954
|
barcode: string | null;
|
|
7324
7955
|
batch: string;
|
|
7325
7956
|
crates_per_layer: number;
|
|
7326
7957
|
created_at: string;
|
|
7327
7958
|
custom_fields: import("./types").Json;
|
|
7959
|
+
floriday_active: boolean;
|
|
7960
|
+
floriday_payload: import("./types").Json;
|
|
7961
|
+
floriday_trade_item_id: string | null;
|
|
7328
7962
|
id: string;
|
|
7329
7963
|
image_url: string | null;
|
|
7330
7964
|
incoming_quantity: number;
|
|
7965
|
+
is_layer: boolean;
|
|
7331
7966
|
layers_per_cart: number;
|
|
7332
7967
|
location: string;
|
|
7333
7968
|
min_quantity: number;
|
|
@@ -7343,14 +7978,19 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7343
7978
|
weight: string | null;
|
|
7344
7979
|
};
|
|
7345
7980
|
Insert: {
|
|
7981
|
+
article_number?: string | null;
|
|
7346
7982
|
barcode?: string | null;
|
|
7347
7983
|
batch: string;
|
|
7348
7984
|
crates_per_layer?: number;
|
|
7349
7985
|
created_at?: string;
|
|
7350
7986
|
custom_fields?: import("./types").Json;
|
|
7987
|
+
floriday_active?: boolean;
|
|
7988
|
+
floriday_payload?: import("./types").Json;
|
|
7989
|
+
floriday_trade_item_id?: string | null;
|
|
7351
7990
|
id?: string;
|
|
7352
7991
|
image_url?: string | null;
|
|
7353
7992
|
incoming_quantity?: number;
|
|
7993
|
+
is_layer?: boolean;
|
|
7354
7994
|
layers_per_cart?: number;
|
|
7355
7995
|
location: string;
|
|
7356
7996
|
min_quantity?: number;
|
|
@@ -7366,14 +8006,19 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7366
8006
|
weight?: string | null;
|
|
7367
8007
|
};
|
|
7368
8008
|
Update: {
|
|
8009
|
+
article_number?: string | null;
|
|
7369
8010
|
barcode?: string | null;
|
|
7370
8011
|
batch?: string;
|
|
7371
8012
|
crates_per_layer?: number;
|
|
7372
8013
|
created_at?: string;
|
|
7373
8014
|
custom_fields?: import("./types").Json;
|
|
8015
|
+
floriday_active?: boolean;
|
|
8016
|
+
floriday_payload?: import("./types").Json;
|
|
8017
|
+
floriday_trade_item_id?: string | null;
|
|
7374
8018
|
id?: string;
|
|
7375
8019
|
image_url?: string | null;
|
|
7376
8020
|
incoming_quantity?: number;
|
|
8021
|
+
is_layer?: boolean;
|
|
7377
8022
|
layers_per_cart?: number;
|
|
7378
8023
|
location?: string;
|
|
7379
8024
|
min_quantity?: number;
|
|
@@ -8279,8 +8924,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8279
8924
|
order_id: string | null;
|
|
8280
8925
|
order_item_id: string | null;
|
|
8281
8926
|
order_source: string | null;
|
|
8927
|
+
parent_trade_item_key: string | null;
|
|
8282
8928
|
physical_after: number | null;
|
|
8283
8929
|
physical_before: number | null;
|
|
8930
|
+
production_batch_id: string | null;
|
|
8284
8931
|
qty_delta: number;
|
|
8285
8932
|
reason: string | null;
|
|
8286
8933
|
reserved_after: number | null;
|
|
@@ -8296,8 +8943,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8296
8943
|
order_id?: string | null;
|
|
8297
8944
|
order_item_id?: string | null;
|
|
8298
8945
|
order_source?: string | null;
|
|
8946
|
+
parent_trade_item_key?: string | null;
|
|
8299
8947
|
physical_after?: number | null;
|
|
8300
8948
|
physical_before?: number | null;
|
|
8949
|
+
production_batch_id?: string | null;
|
|
8301
8950
|
qty_delta: number;
|
|
8302
8951
|
reason?: string | null;
|
|
8303
8952
|
reserved_after?: number | null;
|
|
@@ -8313,8 +8962,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8313
8962
|
order_id?: string | null;
|
|
8314
8963
|
order_item_id?: string | null;
|
|
8315
8964
|
order_source?: string | null;
|
|
8965
|
+
parent_trade_item_key?: string | null;
|
|
8316
8966
|
physical_after?: number | null;
|
|
8317
8967
|
physical_before?: number | null;
|
|
8968
|
+
production_batch_id?: string | null;
|
|
8318
8969
|
qty_delta?: number;
|
|
8319
8970
|
reason?: string | null;
|
|
8320
8971
|
reserved_after?: number | null;
|
|
@@ -8620,6 +9271,48 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8620
9271
|
};
|
|
8621
9272
|
Relationships: [];
|
|
8622
9273
|
};
|
|
9274
|
+
trade_item_prices: {
|
|
9275
|
+
Row: {
|
|
9276
|
+
created_at: string;
|
|
9277
|
+
currency: string;
|
|
9278
|
+
id: string;
|
|
9279
|
+
last_push_error: string | null;
|
|
9280
|
+
last_pushed_at: string | null;
|
|
9281
|
+
price_group_id: string | null;
|
|
9282
|
+
price_per_piece: number;
|
|
9283
|
+
supply_line_id: string | null;
|
|
9284
|
+
trade_item_key: string;
|
|
9285
|
+
updated_at: string;
|
|
9286
|
+
user_id: string;
|
|
9287
|
+
};
|
|
9288
|
+
Insert: {
|
|
9289
|
+
created_at?: string;
|
|
9290
|
+
currency?: string;
|
|
9291
|
+
id?: string;
|
|
9292
|
+
last_push_error?: string | null;
|
|
9293
|
+
last_pushed_at?: string | null;
|
|
9294
|
+
price_group_id?: string | null;
|
|
9295
|
+
price_per_piece: number;
|
|
9296
|
+
supply_line_id?: string | null;
|
|
9297
|
+
trade_item_key: string;
|
|
9298
|
+
updated_at?: string;
|
|
9299
|
+
user_id: string;
|
|
9300
|
+
};
|
|
9301
|
+
Update: {
|
|
9302
|
+
created_at?: string;
|
|
9303
|
+
currency?: string;
|
|
9304
|
+
id?: string;
|
|
9305
|
+
last_push_error?: string | null;
|
|
9306
|
+
last_pushed_at?: string | null;
|
|
9307
|
+
price_group_id?: string | null;
|
|
9308
|
+
price_per_piece?: number;
|
|
9309
|
+
supply_line_id?: string | null;
|
|
9310
|
+
trade_item_key?: string;
|
|
9311
|
+
updated_at?: string;
|
|
9312
|
+
user_id?: string;
|
|
9313
|
+
};
|
|
9314
|
+
Relationships: [];
|
|
9315
|
+
};
|
|
8623
9316
|
trade_item_stock: {
|
|
8624
9317
|
Row: {
|
|
8625
9318
|
connection_id: string;
|
|
@@ -8773,7 +9466,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8773
9466
|
twinfield_connections: {
|
|
8774
9467
|
Row: {
|
|
8775
9468
|
access_token: string | null;
|
|
8776
|
-
client_id: string;
|
|
9469
|
+
client_id: string | null;
|
|
8777
9470
|
client_secret: string | null;
|
|
8778
9471
|
cluster_uri: string | null;
|
|
8779
9472
|
company_code: string | null;
|
|
@@ -8785,7 +9478,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8785
9478
|
is_active: boolean;
|
|
8786
9479
|
label: string | null;
|
|
8787
9480
|
office_code: string | null;
|
|
8788
|
-
redirect_uri: string;
|
|
9481
|
+
redirect_uri: string | null;
|
|
8789
9482
|
refresh_token: string | null;
|
|
8790
9483
|
token_expires_at: string | null;
|
|
8791
9484
|
updated_at: string;
|
|
@@ -8793,7 +9486,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8793
9486
|
};
|
|
8794
9487
|
Insert: {
|
|
8795
9488
|
access_token?: string | null;
|
|
8796
|
-
client_id
|
|
9489
|
+
client_id?: string | null;
|
|
8797
9490
|
client_secret?: string | null;
|
|
8798
9491
|
cluster_uri?: string | null;
|
|
8799
9492
|
company_code?: string | null;
|
|
@@ -8805,7 +9498,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8805
9498
|
is_active?: boolean;
|
|
8806
9499
|
label?: string | null;
|
|
8807
9500
|
office_code?: string | null;
|
|
8808
|
-
redirect_uri
|
|
9501
|
+
redirect_uri?: string | null;
|
|
8809
9502
|
refresh_token?: string | null;
|
|
8810
9503
|
token_expires_at?: string | null;
|
|
8811
9504
|
updated_at?: string;
|
|
@@ -8813,7 +9506,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8813
9506
|
};
|
|
8814
9507
|
Update: {
|
|
8815
9508
|
access_token?: string | null;
|
|
8816
|
-
client_id?: string;
|
|
9509
|
+
client_id?: string | null;
|
|
8817
9510
|
client_secret?: string | null;
|
|
8818
9511
|
cluster_uri?: string | null;
|
|
8819
9512
|
company_code?: string | null;
|
|
@@ -8825,7 +9518,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8825
9518
|
is_active?: boolean;
|
|
8826
9519
|
label?: string | null;
|
|
8827
9520
|
office_code?: string | null;
|
|
8828
|
-
redirect_uri?: string;
|
|
9521
|
+
redirect_uri?: string | null;
|
|
8829
9522
|
refresh_token?: string | null;
|
|
8830
9523
|
token_expires_at?: string | null;
|
|
8831
9524
|
updated_at?: string;
|
|
@@ -10020,25 +10713,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10020
10713
|
};
|
|
10021
10714
|
Relationships: [];
|
|
10022
10715
|
};
|
|
10023
|
-
floriday_customer_discounts: {
|
|
10024
|
-
Row: {
|
|
10025
|
-
base_price: number | null;
|
|
10026
|
-
buyer_organization_id: string | null;
|
|
10027
|
-
currency: string | null;
|
|
10028
|
-
discount_type: string | null;
|
|
10029
|
-
discount_value: number | null;
|
|
10030
|
-
min_quantity: number | null;
|
|
10031
|
-
net_price: number | null;
|
|
10032
|
-
product_group_id: string | null;
|
|
10033
|
-
raw: import("./types").Json | null;
|
|
10034
|
-
source: string | null;
|
|
10035
|
-
source_id: string | null;
|
|
10036
|
-
trade_item_id: string | null;
|
|
10037
|
-
valid_from: string | null;
|
|
10038
|
-
valid_until: string | null;
|
|
10039
|
-
};
|
|
10040
|
-
Relationships: [];
|
|
10041
|
-
};
|
|
10042
10716
|
local_customer_discounts: {
|
|
10043
10717
|
Row: {
|
|
10044
10718
|
base_price: number | null;
|
|
@@ -10342,6 +11016,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10342
11016
|
};
|
|
10343
11017
|
Returns: number;
|
|
10344
11018
|
};
|
|
11019
|
+
_migrate_rewrite_stock_key: {
|
|
11020
|
+
Args: {
|
|
11021
|
+
_from_key: string;
|
|
11022
|
+
_to_key: string;
|
|
11023
|
+
};
|
|
11024
|
+
Returns: undefined;
|
|
11025
|
+
};
|
|
10345
11026
|
afh_city_code: {
|
|
10346
11027
|
Args: {
|
|
10347
11028
|
_city: string;
|
|
@@ -10457,6 +11138,28 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10457
11138
|
Args: never;
|
|
10458
11139
|
Returns: undefined;
|
|
10459
11140
|
};
|
|
11141
|
+
consume_bom_for_production: {
|
|
11142
|
+
Args: {
|
|
11143
|
+
p_connection_id: string;
|
|
11144
|
+
p_parent_id: string;
|
|
11145
|
+
p_parent_key: string;
|
|
11146
|
+
p_parent_kind: string;
|
|
11147
|
+
p_quantity: number;
|
|
11148
|
+
p_user_id: string;
|
|
11149
|
+
};
|
|
11150
|
+
Returns: import("./types").Json;
|
|
11151
|
+
} | {
|
|
11152
|
+
Args: {
|
|
11153
|
+
p_batch_id?: string;
|
|
11154
|
+
p_connection_id: string;
|
|
11155
|
+
p_parent_id: string;
|
|
11156
|
+
p_parent_key: string;
|
|
11157
|
+
p_parent_kind: string;
|
|
11158
|
+
p_quantity: number;
|
|
11159
|
+
p_user_id: string;
|
|
11160
|
+
};
|
|
11161
|
+
Returns: import("./types").Json;
|
|
11162
|
+
};
|
|
10460
11163
|
consume_floriday_rate_limit: {
|
|
10461
11164
|
Args: {
|
|
10462
11165
|
p_bucket: string;
|
|
@@ -10508,6 +11211,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10508
11211
|
table_name: string;
|
|
10509
11212
|
}[];
|
|
10510
11213
|
};
|
|
11214
|
+
delete_samenstelling: {
|
|
11215
|
+
Args: {
|
|
11216
|
+
p_parent_id: string;
|
|
11217
|
+
p_parent_kind: string;
|
|
11218
|
+
};
|
|
11219
|
+
Returns: import("./types").Json;
|
|
11220
|
+
};
|
|
10511
11221
|
dispatch_carrier_signups_sql: {
|
|
10512
11222
|
Args: {
|
|
10513
11223
|
_catchup?: string;
|
|
@@ -10549,6 +11259,16 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10549
11259
|
status: string;
|
|
10550
11260
|
}[];
|
|
10551
11261
|
};
|
|
11262
|
+
email_auth_upsert_connection: {
|
|
11263
|
+
Args: {
|
|
11264
|
+
_account_email: string;
|
|
11265
|
+
_created_by: string;
|
|
11266
|
+
_is_active: boolean;
|
|
11267
|
+
_provider: string;
|
|
11268
|
+
_status: string;
|
|
11269
|
+
};
|
|
11270
|
+
Returns: string;
|
|
11271
|
+
};
|
|
10552
11272
|
enqueue_cart_replan_if_unlocked: {
|
|
10553
11273
|
Args: {
|
|
10554
11274
|
p_order_id: string;
|
|
@@ -10668,19 +11388,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10668
11388
|
resource: string;
|
|
10669
11389
|
}[];
|
|
10670
11390
|
};
|
|
10671
|
-
get_floriday_agreements_active: {
|
|
10672
|
-
Args: {
|
|
10673
|
-
p_on_date?: string;
|
|
10674
|
-
};
|
|
10675
|
-
Returns: {
|
|
10676
|
-
buyer_organization_id: string;
|
|
10677
|
-
data: import("./types").Json;
|
|
10678
|
-
floriday_id: string;
|
|
10679
|
-
status: string;
|
|
10680
|
-
valid_from: string;
|
|
10681
|
-
valid_until: string;
|
|
10682
|
-
}[];
|
|
10683
|
-
};
|
|
10684
11391
|
get_floriday_clock_supplies_window: {
|
|
10685
11392
|
Args: {
|
|
10686
11393
|
p_from: string;
|
|
@@ -10753,6 +11460,21 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10753
11460
|
minutes_since_success: number;
|
|
10754
11461
|
}[];
|
|
10755
11462
|
};
|
|
11463
|
+
get_group_allocation_keys: {
|
|
11464
|
+
Args: {
|
|
11465
|
+
p_product_id: string;
|
|
11466
|
+
};
|
|
11467
|
+
Returns: {
|
|
11468
|
+
k: string;
|
|
11469
|
+
ord: number;
|
|
11470
|
+
}[];
|
|
11471
|
+
};
|
|
11472
|
+
get_group_head_key: {
|
|
11473
|
+
Args: {
|
|
11474
|
+
p_group_id: string;
|
|
11475
|
+
};
|
|
11476
|
+
Returns: string;
|
|
11477
|
+
};
|
|
10756
11478
|
get_offer_by_link_code: {
|
|
10757
11479
|
Args: {
|
|
10758
11480
|
p_code: string;
|
|
@@ -10863,6 +11585,32 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10863
11585
|
};
|
|
10864
11586
|
Returns: undefined;
|
|
10865
11587
|
};
|
|
11588
|
+
mark_salesorder_controlled: {
|
|
11589
|
+
Args: {
|
|
11590
|
+
p_controlled: boolean;
|
|
11591
|
+
p_floriday_id: string;
|
|
11592
|
+
};
|
|
11593
|
+
Returns: undefined;
|
|
11594
|
+
};
|
|
11595
|
+
mark_shipment_shipped: {
|
|
11596
|
+
Args: {
|
|
11597
|
+
p_shipment_id: string;
|
|
11598
|
+
};
|
|
11599
|
+
Returns: undefined;
|
|
11600
|
+
};
|
|
11601
|
+
merge_products: {
|
|
11602
|
+
Args: {
|
|
11603
|
+
_canonical: string;
|
|
11604
|
+
_loser: string;
|
|
11605
|
+
};
|
|
11606
|
+
Returns: undefined;
|
|
11607
|
+
};
|
|
11608
|
+
next_manufacture_partij: {
|
|
11609
|
+
Args: {
|
|
11610
|
+
_tenant_id: string;
|
|
11611
|
+
};
|
|
11612
|
+
Returns: string;
|
|
11613
|
+
};
|
|
10866
11614
|
next_order_number: {
|
|
10867
11615
|
Args: {
|
|
10868
11616
|
p_prefix: string;
|
|
@@ -10932,6 +11680,15 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10932
11680
|
};
|
|
10933
11681
|
Returns: undefined;
|
|
10934
11682
|
};
|
|
11683
|
+
pickstation_resolve_delivery_orders: {
|
|
11684
|
+
Args: {
|
|
11685
|
+
p_sales_order_ids: string[];
|
|
11686
|
+
};
|
|
11687
|
+
Returns: {
|
|
11688
|
+
delivery_order_id: string;
|
|
11689
|
+
sales_order_id: string;
|
|
11690
|
+
}[];
|
|
11691
|
+
};
|
|
10935
11692
|
pickstation_set_cart_status: {
|
|
10936
11693
|
Args: {
|
|
10937
11694
|
p_cart_index: number;
|
|
@@ -10941,6 +11698,14 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10941
11698
|
};
|
|
10942
11699
|
Returns: undefined;
|
|
10943
11700
|
};
|
|
11701
|
+
produce_designed_product: {
|
|
11702
|
+
Args: {
|
|
11703
|
+
p_parent_id: string;
|
|
11704
|
+
p_parent_kind: string;
|
|
11705
|
+
p_quantity: number;
|
|
11706
|
+
};
|
|
11707
|
+
Returns: import("./types").Json;
|
|
11708
|
+
};
|
|
10944
11709
|
promote_trade_item_key: {
|
|
10945
11710
|
Args: {
|
|
10946
11711
|
p_new: string;
|
|
@@ -10948,6 +11713,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10948
11713
|
};
|
|
10949
11714
|
Returns: undefined;
|
|
10950
11715
|
};
|
|
11716
|
+
recompute_all_reserved_stock: {
|
|
11717
|
+
Args: never;
|
|
11718
|
+
Returns: undefined;
|
|
11719
|
+
};
|
|
10951
11720
|
recompute_order_status: {
|
|
10952
11721
|
Args: {
|
|
10953
11722
|
p_order_id: string;
|
|
@@ -10997,27 +11766,45 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10997
11766
|
};
|
|
10998
11767
|
Returns: undefined;
|
|
10999
11768
|
};
|
|
11769
|
+
resolve_group_allocation: {
|
|
11770
|
+
Args: {
|
|
11771
|
+
_needed: number;
|
|
11772
|
+
_product_group_id: string;
|
|
11773
|
+
};
|
|
11774
|
+
Returns: {
|
|
11775
|
+
allocated: number;
|
|
11776
|
+
trade_item_id: string;
|
|
11777
|
+
}[];
|
|
11778
|
+
};
|
|
11779
|
+
resolve_group_member_stock_key: {
|
|
11780
|
+
Args: {
|
|
11781
|
+
p_trade_item_id: string;
|
|
11782
|
+
};
|
|
11783
|
+
Returns: string;
|
|
11784
|
+
};
|
|
11000
11785
|
resolve_product_id_for_item: {
|
|
11001
11786
|
Args: {
|
|
11002
11787
|
p_product_name: string;
|
|
11003
11788
|
};
|
|
11004
11789
|
Returns: string;
|
|
11005
11790
|
};
|
|
11006
|
-
|
|
11791
|
+
resolve_stock_trade_item_key: {
|
|
11007
11792
|
Args: {
|
|
11008
|
-
|
|
11009
|
-
p_url: string;
|
|
11793
|
+
p_product_id: string;
|
|
11010
11794
|
};
|
|
11011
|
-
Returns:
|
|
11795
|
+
Returns: string;
|
|
11012
11796
|
};
|
|
11013
|
-
|
|
11797
|
+
reverse_production: {
|
|
11014
11798
|
Args: {
|
|
11015
|
-
|
|
11016
|
-
|
|
11799
|
+
p_connection_id?: string;
|
|
11800
|
+
p_parent_key: string;
|
|
11801
|
+
p_quantity: number;
|
|
11802
|
+
p_reason?: string;
|
|
11803
|
+
p_user_id?: string;
|
|
11017
11804
|
};
|
|
11018
|
-
Returns:
|
|
11805
|
+
Returns: import("./types").Json;
|
|
11019
11806
|
};
|
|
11020
|
-
|
|
11807
|
+
schedule_floriday_additional_services_sync: {
|
|
11021
11808
|
Args: {
|
|
11022
11809
|
p_apikey: string;
|
|
11023
11810
|
p_url: string;
|
|
@@ -11270,6 +12057,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11270
12057
|
};
|
|
11271
12058
|
Returns: number;
|
|
11272
12059
|
};
|
|
12060
|
+
self_heal_floriday_links: {
|
|
12061
|
+
Args: never;
|
|
12062
|
+
Returns: number;
|
|
12063
|
+
};
|
|
11273
12064
|
show_limit: {
|
|
11274
12065
|
Args: never;
|
|
11275
12066
|
Returns: number;
|
|
@@ -11292,6 +12083,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11292
12083
|
};
|
|
11293
12084
|
Returns: undefined;
|
|
11294
12085
|
};
|
|
12086
|
+
sync_product_group_belading: {
|
|
12087
|
+
Args: {
|
|
12088
|
+
_group_id: string;
|
|
12089
|
+
};
|
|
12090
|
+
Returns: undefined;
|
|
12091
|
+
};
|
|
11295
12092
|
sync_product_packing_from_floriday_cache: {
|
|
11296
12093
|
Args: {
|
|
11297
12094
|
p_floriday_id: string;
|