@flowselections/pick-schermen-kwekers 1.0.12 → 1.0.14
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/PickstationsPage.d.ts.map +1 -1
- package/dist-lib/components/PickstationsPage.js +11 -19
- package/dist-lib/hooks/useKoppelingVoorBron.d.ts +12 -0
- package/dist-lib/hooks/useKoppelingVoorBron.d.ts.map +1 -0
- package/dist-lib/hooks/useKoppelingVoorBron.js +48 -0
- package/dist-lib/index.d.ts +1 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +1 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +129 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +129 -1
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +129 -1
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +132 -1
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/package.json +7 -5
|
@@ -3,7 +3,7 @@ export type Json = string | number | boolean | null | {
|
|
|
3
3
|
} | Json[];
|
|
4
4
|
export type Database = {
|
|
5
5
|
__InternalSupabase: {
|
|
6
|
-
PostgrestVersion: "14.
|
|
6
|
+
PostgrestVersion: "14.17";
|
|
7
7
|
};
|
|
8
8
|
public: {
|
|
9
9
|
Tables: {
|
|
@@ -9517,6 +9517,7 @@ export type Database = {
|
|
|
9517
9517
|
last_error_at: string | null;
|
|
9518
9518
|
last_error_code: string | null;
|
|
9519
9519
|
last_gateway_status: number | null;
|
|
9520
|
+
last_queued_at: string | null;
|
|
9520
9521
|
last_response: Json | null;
|
|
9521
9522
|
last_sent_hash: string | null;
|
|
9522
9523
|
locked_by: string | null;
|
|
@@ -9540,6 +9541,7 @@ export type Database = {
|
|
|
9540
9541
|
last_error_at?: string | null;
|
|
9541
9542
|
last_error_code?: string | null;
|
|
9542
9543
|
last_gateway_status?: number | null;
|
|
9544
|
+
last_queued_at?: string | null;
|
|
9543
9545
|
last_response?: Json | null;
|
|
9544
9546
|
last_sent_hash?: string | null;
|
|
9545
9547
|
locked_by?: string | null;
|
|
@@ -9563,6 +9565,7 @@ export type Database = {
|
|
|
9563
9565
|
last_error_at?: string | null;
|
|
9564
9566
|
last_error_code?: string | null;
|
|
9565
9567
|
last_gateway_status?: number | null;
|
|
9568
|
+
last_queued_at?: string | null;
|
|
9566
9569
|
last_response?: Json | null;
|
|
9567
9570
|
last_sent_hash?: string | null;
|
|
9568
9571
|
locked_by?: string | null;
|
|
@@ -16189,6 +16192,45 @@ export type Database = {
|
|
|
16189
16192
|
};
|
|
16190
16193
|
Relationships: [];
|
|
16191
16194
|
};
|
|
16195
|
+
stock_consumption_alerts: {
|
|
16196
|
+
Row: {
|
|
16197
|
+
alert_type: string;
|
|
16198
|
+
created_at: string;
|
|
16199
|
+
id: string;
|
|
16200
|
+
mutation_log_id: string | null;
|
|
16201
|
+
order_id: string | null;
|
|
16202
|
+
order_item_id: string | null;
|
|
16203
|
+
qty: number;
|
|
16204
|
+
reason: string | null;
|
|
16205
|
+
resolved_at: string | null;
|
|
16206
|
+
updated_at: string;
|
|
16207
|
+
};
|
|
16208
|
+
Insert: {
|
|
16209
|
+
alert_type: string;
|
|
16210
|
+
created_at?: string;
|
|
16211
|
+
id?: string;
|
|
16212
|
+
mutation_log_id?: string | null;
|
|
16213
|
+
order_id?: string | null;
|
|
16214
|
+
order_item_id?: string | null;
|
|
16215
|
+
qty?: number;
|
|
16216
|
+
reason?: string | null;
|
|
16217
|
+
resolved_at?: string | null;
|
|
16218
|
+
updated_at?: string;
|
|
16219
|
+
};
|
|
16220
|
+
Update: {
|
|
16221
|
+
alert_type?: string;
|
|
16222
|
+
created_at?: string;
|
|
16223
|
+
id?: string;
|
|
16224
|
+
mutation_log_id?: string | null;
|
|
16225
|
+
order_id?: string | null;
|
|
16226
|
+
order_item_id?: string | null;
|
|
16227
|
+
qty?: number;
|
|
16228
|
+
reason?: string | null;
|
|
16229
|
+
resolved_at?: string | null;
|
|
16230
|
+
updated_at?: string;
|
|
16231
|
+
};
|
|
16232
|
+
Relationships: [];
|
|
16233
|
+
};
|
|
16192
16234
|
stock_import_runs: {
|
|
16193
16235
|
Row: {
|
|
16194
16236
|
connection_id: string | null;
|
|
@@ -19091,6 +19133,7 @@ export type Database = {
|
|
|
19091
19133
|
werkbon_package_items: {
|
|
19092
19134
|
Row: {
|
|
19093
19135
|
article_number: string | null;
|
|
19136
|
+
artikel_id: string | null;
|
|
19094
19137
|
created_at: string;
|
|
19095
19138
|
gtin: string | null;
|
|
19096
19139
|
id: string;
|
|
@@ -19108,6 +19151,7 @@ export type Database = {
|
|
|
19108
19151
|
};
|
|
19109
19152
|
Insert: {
|
|
19110
19153
|
article_number?: string | null;
|
|
19154
|
+
artikel_id?: string | null;
|
|
19111
19155
|
created_at?: string;
|
|
19112
19156
|
gtin?: string | null;
|
|
19113
19157
|
id?: string;
|
|
@@ -19125,6 +19169,7 @@ export type Database = {
|
|
|
19125
19169
|
};
|
|
19126
19170
|
Update: {
|
|
19127
19171
|
article_number?: string | null;
|
|
19172
|
+
artikel_id?: string | null;
|
|
19128
19173
|
created_at?: string;
|
|
19129
19174
|
gtin?: string | null;
|
|
19130
19175
|
id?: string;
|
|
@@ -19141,6 +19186,13 @@ export type Database = {
|
|
|
19141
19186
|
updated_at?: string;
|
|
19142
19187
|
};
|
|
19143
19188
|
Relationships: [
|
|
19189
|
+
{
|
|
19190
|
+
foreignKeyName: "werkbon_package_items_artikel_id_fkey";
|
|
19191
|
+
columns: ["artikel_id"];
|
|
19192
|
+
isOneToOne: false;
|
|
19193
|
+
referencedRelation: "artikelen_cache";
|
|
19194
|
+
referencedColumns: ["id"];
|
|
19195
|
+
},
|
|
19144
19196
|
{
|
|
19145
19197
|
foreignKeyName: "werkbon_package_items_package_id_fkey";
|
|
19146
19198
|
columns: ["package_id"];
|
|
@@ -20402,6 +20454,22 @@ export type Database = {
|
|
|
20402
20454
|
}
|
|
20403
20455
|
];
|
|
20404
20456
|
};
|
|
20457
|
+
v_werkbon_totalen: {
|
|
20458
|
+
Row: {
|
|
20459
|
+
packages_cents: number | null;
|
|
20460
|
+
packages_minutes: number | null;
|
|
20461
|
+
werkbon_id: string | null;
|
|
20462
|
+
};
|
|
20463
|
+
Relationships: [
|
|
20464
|
+
{
|
|
20465
|
+
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
20466
|
+
columns: ["werkbon_id"];
|
|
20467
|
+
isOneToOne: false;
|
|
20468
|
+
referencedRelation: "werkbonnen";
|
|
20469
|
+
referencedColumns: ["id"];
|
|
20470
|
+
}
|
|
20471
|
+
];
|
|
20472
|
+
};
|
|
20405
20473
|
};
|
|
20406
20474
|
Functions: {
|
|
20407
20475
|
_floriday_schedule_job: {
|
|
@@ -21871,6 +21939,24 @@ export type Database = {
|
|
|
21871
21939
|
};
|
|
21872
21940
|
Returns: string;
|
|
21873
21941
|
};
|
|
21942
|
+
logistics_floriday_finish_push_v3: {
|
|
21943
|
+
Args: {
|
|
21944
|
+
_error?: string;
|
|
21945
|
+
_error_code?: string;
|
|
21946
|
+
_fulfillment_order_id?: string;
|
|
21947
|
+
_gateway_status?: number;
|
|
21948
|
+
_id: string;
|
|
21949
|
+
_max_age_hours?: number;
|
|
21950
|
+
_max_attempts?: number;
|
|
21951
|
+
_outcome: string;
|
|
21952
|
+
_permanent?: boolean;
|
|
21953
|
+
_response?: Json;
|
|
21954
|
+
_revision: number;
|
|
21955
|
+
_sent_hash?: string;
|
|
21956
|
+
_wait_max_age_hours?: number;
|
|
21957
|
+
};
|
|
21958
|
+
Returns: string;
|
|
21959
|
+
};
|
|
21874
21960
|
logistics_floriday_prune_pushes: {
|
|
21875
21961
|
Args: {
|
|
21876
21962
|
_days?: number;
|
|
@@ -21931,6 +22017,14 @@ export type Database = {
|
|
|
21931
22017
|
};
|
|
21932
22018
|
Returns: Json;
|
|
21933
22019
|
};
|
|
22020
|
+
logistics_plan_block: {
|
|
22021
|
+
Args: {
|
|
22022
|
+
p_details?: Json;
|
|
22023
|
+
p_order_ids: string[];
|
|
22024
|
+
p_reason: string;
|
|
22025
|
+
};
|
|
22026
|
+
Returns: number;
|
|
22027
|
+
};
|
|
21934
22028
|
logistics_plan_buffer_sql: {
|
|
21935
22029
|
Args: {
|
|
21936
22030
|
p_buffer_id: string;
|
|
@@ -22299,6 +22393,12 @@ export type Database = {
|
|
|
22299
22393
|
verwijderd: number;
|
|
22300
22394
|
}[];
|
|
22301
22395
|
};
|
|
22396
|
+
order_departure_proof: {
|
|
22397
|
+
Args: {
|
|
22398
|
+
p_order_id: string;
|
|
22399
|
+
};
|
|
22400
|
+
Returns: Json;
|
|
22401
|
+
};
|
|
22302
22402
|
order_number_prefix: {
|
|
22303
22403
|
Args: {
|
|
22304
22404
|
p_custom_fields?: Json;
|
|
@@ -22306,6 +22406,25 @@ export type Database = {
|
|
|
22306
22406
|
};
|
|
22307
22407
|
Returns: string;
|
|
22308
22408
|
};
|
|
22409
|
+
pakket_suggesties_voor_tekst: {
|
|
22410
|
+
Args: {
|
|
22411
|
+
_tekst: string;
|
|
22412
|
+
};
|
|
22413
|
+
Returns: {
|
|
22414
|
+
hit_type: string;
|
|
22415
|
+
package_id: string;
|
|
22416
|
+
priority: number;
|
|
22417
|
+
}[];
|
|
22418
|
+
};
|
|
22419
|
+
pakket_voor_reistijd: {
|
|
22420
|
+
Args: {
|
|
22421
|
+
_minuten: number;
|
|
22422
|
+
};
|
|
22423
|
+
Returns: {
|
|
22424
|
+
package_id: string;
|
|
22425
|
+
priority: number;
|
|
22426
|
+
}[];
|
|
22427
|
+
};
|
|
22309
22428
|
pick_active_printers: {
|
|
22310
22429
|
Args: never;
|
|
22311
22430
|
Returns: {
|
|
@@ -23356,6 +23475,18 @@ export type Database = {
|
|
|
23356
23475
|
Args: never;
|
|
23357
23476
|
Returns: string;
|
|
23358
23477
|
};
|
|
23478
|
+
werkbon_totalen: {
|
|
23479
|
+
Args: {
|
|
23480
|
+
_werkbon_id: string;
|
|
23481
|
+
};
|
|
23482
|
+
Returns: {
|
|
23483
|
+
materials_cents: number;
|
|
23484
|
+
packages_cents: number;
|
|
23485
|
+
packages_minutes: number;
|
|
23486
|
+
total_cents: number;
|
|
23487
|
+
total_minutes: number;
|
|
23488
|
+
}[];
|
|
23489
|
+
};
|
|
23359
23490
|
wo_create_from_source: {
|
|
23360
23491
|
Args: {
|
|
23361
23492
|
_payload?: Json;
|