@flowselections/floriday-voorraad 1.0.101 → 1.0.103
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/voorraad/FloridayConnectionNotice.d.ts +12 -0
- package/dist-lib/components/voorraad/FloridayConnectionNotice.d.ts.map +1 -0
- package/dist-lib/components/voorraad/FloridayConnectionNotice.js +16 -0
- package/dist-lib/components/voorraad/NieuwArtikelPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/NieuwArtikelPage.js +19 -10
- package/dist-lib/components/voorraad/StockBulkButtons.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockBulkButtons.js +2 -1
- package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadPage.js +5 -3
- package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.js +5 -2
- package/dist-lib/components/voorraad/VoorraadTable.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadTable.js +5 -1
- package/dist-lib/hooks/useFloridayConnection.d.ts +7 -1
- package/dist-lib/hooks/useFloridayConnection.d.ts.map +1 -1
- package/dist-lib/hooks/useFloridayConnection.js +51 -18
- package/dist-lib/hooks/useTradeItemStock.d.ts +1 -1
- package/dist-lib/hooks/useTradeItemStock.d.ts.map +1 -1
- package/dist-lib/hooks/useTradeItemStock.js +14 -6
- package/dist-lib/hooks/useVoorraadData.d.ts.map +1 -1
- package/dist-lib/hooks/useVoorraadData.js +12 -21
- package/dist-lib/integrations/supabase/types.d.ts +92 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/__tests__/stock-scope.test.d.ts +2 -0
- package/dist-lib/lib/__tests__/stock-scope.test.d.ts.map +1 -0
- package/dist-lib/lib/__tests__/stock-scope.test.js +44 -0
- package/dist-lib/lib/floriday-client.d.ts +2 -0
- package/dist-lib/lib/floriday-client.d.ts.map +1 -1
- package/dist-lib/lib/stock-scope.d.ts +25 -0
- package/dist-lib/lib/stock-scope.d.ts.map +1 -0
- package/dist-lib/lib/stock-scope.js +37 -0
- package/package.json +1 -1
|
@@ -6092,6 +6092,36 @@ export type Database = {
|
|
|
6092
6092
|
};
|
|
6093
6093
|
Relationships: [];
|
|
6094
6094
|
};
|
|
6095
|
+
floricode_derived_list_state: {
|
|
6096
|
+
Row: {
|
|
6097
|
+
changed: number;
|
|
6098
|
+
cursor_record_id: string | null;
|
|
6099
|
+
done_at: string | null;
|
|
6100
|
+
list_name: string;
|
|
6101
|
+
pass_started_at: string | null;
|
|
6102
|
+
processed: number;
|
|
6103
|
+
updated_at: string;
|
|
6104
|
+
};
|
|
6105
|
+
Insert: {
|
|
6106
|
+
changed?: number;
|
|
6107
|
+
cursor_record_id?: string | null;
|
|
6108
|
+
done_at?: string | null;
|
|
6109
|
+
list_name: string;
|
|
6110
|
+
pass_started_at?: string | null;
|
|
6111
|
+
processed?: number;
|
|
6112
|
+
updated_at?: string;
|
|
6113
|
+
};
|
|
6114
|
+
Update: {
|
|
6115
|
+
changed?: number;
|
|
6116
|
+
cursor_record_id?: string | null;
|
|
6117
|
+
done_at?: string | null;
|
|
6118
|
+
list_name?: string;
|
|
6119
|
+
pass_started_at?: string | null;
|
|
6120
|
+
processed?: number;
|
|
6121
|
+
updated_at?: string;
|
|
6122
|
+
};
|
|
6123
|
+
Relationships: [];
|
|
6124
|
+
};
|
|
6095
6125
|
floricode_records: {
|
|
6096
6126
|
Row: {
|
|
6097
6127
|
change_date_time: string | null;
|
|
@@ -7216,6 +7246,24 @@ export type Database = {
|
|
|
7216
7246
|
}
|
|
7217
7247
|
];
|
|
7218
7248
|
};
|
|
7249
|
+
floriday_cron_secret: {
|
|
7250
|
+
Row: {
|
|
7251
|
+
created_at: string;
|
|
7252
|
+
id: number;
|
|
7253
|
+
secret: string;
|
|
7254
|
+
};
|
|
7255
|
+
Insert: {
|
|
7256
|
+
created_at?: string;
|
|
7257
|
+
id?: number;
|
|
7258
|
+
secret: string;
|
|
7259
|
+
};
|
|
7260
|
+
Update: {
|
|
7261
|
+
created_at?: string;
|
|
7262
|
+
id?: number;
|
|
7263
|
+
secret?: string;
|
|
7264
|
+
};
|
|
7265
|
+
Relationships: [];
|
|
7266
|
+
};
|
|
7219
7267
|
floriday_customer_offers_cache: {
|
|
7220
7268
|
Row: {
|
|
7221
7269
|
connection_id: string;
|
|
@@ -26449,6 +26497,7 @@ export type Database = {
|
|
|
26449
26497
|
};
|
|
26450
26498
|
twinfield_token_issue_log: {
|
|
26451
26499
|
Row: {
|
|
26500
|
+
acting_user_id: string | null;
|
|
26452
26501
|
caller_kind: string;
|
|
26453
26502
|
connection_id: string | null;
|
|
26454
26503
|
id: string;
|
|
@@ -26459,6 +26508,7 @@ export type Database = {
|
|
|
26459
26508
|
user_id: string | null;
|
|
26460
26509
|
};
|
|
26461
26510
|
Insert: {
|
|
26511
|
+
acting_user_id?: string | null;
|
|
26462
26512
|
caller_kind: string;
|
|
26463
26513
|
connection_id?: string | null;
|
|
26464
26514
|
id?: string;
|
|
@@ -26469,6 +26519,7 @@ export type Database = {
|
|
|
26469
26519
|
user_id?: string | null;
|
|
26470
26520
|
};
|
|
26471
26521
|
Update: {
|
|
26522
|
+
acting_user_id?: string | null;
|
|
26472
26523
|
caller_kind?: string;
|
|
26473
26524
|
connection_id?: string | null;
|
|
26474
26525
|
id?: string;
|
|
@@ -31615,6 +31666,28 @@ export type Database = {
|
|
|
31615
31666
|
Args: never;
|
|
31616
31667
|
Returns: undefined;
|
|
31617
31668
|
};
|
|
31669
|
+
floriday_cron_command: {
|
|
31670
|
+
Args: {
|
|
31671
|
+
p_only_with_connection: boolean;
|
|
31672
|
+
p_route: string;
|
|
31673
|
+
p_timeout_ms: number;
|
|
31674
|
+
};
|
|
31675
|
+
Returns: string;
|
|
31676
|
+
};
|
|
31677
|
+
floriday_cron_inventory: {
|
|
31678
|
+
Args: never;
|
|
31679
|
+
Returns: {
|
|
31680
|
+
default_schedule: string;
|
|
31681
|
+
jobname: string;
|
|
31682
|
+
only_with_connection: boolean;
|
|
31683
|
+
route: string;
|
|
31684
|
+
timeout_ms: number;
|
|
31685
|
+
}[];
|
|
31686
|
+
};
|
|
31687
|
+
floriday_cron_key: {
|
|
31688
|
+
Args: never;
|
|
31689
|
+
Returns: string;
|
|
31690
|
+
};
|
|
31618
31691
|
floriday_customer_candidates: {
|
|
31619
31692
|
Args: never;
|
|
31620
31693
|
Returns: {
|
|
@@ -31676,6 +31749,10 @@ export type Database = {
|
|
|
31676
31749
|
postcode: string;
|
|
31677
31750
|
}[];
|
|
31678
31751
|
};
|
|
31752
|
+
floriday_ensure_cron: {
|
|
31753
|
+
Args: never;
|
|
31754
|
+
Returns: Json;
|
|
31755
|
+
};
|
|
31679
31756
|
floriday_erp_leading_preview: {
|
|
31680
31757
|
Args: {
|
|
31681
31758
|
p_connection_id: string;
|
|
@@ -32903,6 +32980,10 @@ export type Database = {
|
|
|
32903
32980
|
};
|
|
32904
32981
|
Returns: boolean;
|
|
32905
32982
|
};
|
|
32983
|
+
logistics_acc_entry: {
|
|
32984
|
+
Args: never;
|
|
32985
|
+
Returns: string;
|
|
32986
|
+
};
|
|
32906
32987
|
logistics_acc_guard: {
|
|
32907
32988
|
Args: {
|
|
32908
32989
|
p_fn: string;
|
|
@@ -38097,6 +38178,13 @@ export type Database = {
|
|
|
38097
38178
|
Args: never;
|
|
38098
38179
|
Returns: undefined;
|
|
38099
38180
|
};
|
|
38181
|
+
refresh_floricode_derived_code_list_batch: {
|
|
38182
|
+
Args: {
|
|
38183
|
+
p_limit?: number;
|
|
38184
|
+
p_list: string;
|
|
38185
|
+
};
|
|
38186
|
+
Returns: Json;
|
|
38187
|
+
};
|
|
38100
38188
|
refresh_floricode_derived_code_lists: {
|
|
38101
38189
|
Args: never;
|
|
38102
38190
|
Returns: {
|
|
@@ -38229,6 +38317,10 @@ export type Database = {
|
|
|
38229
38317
|
};
|
|
38230
38318
|
Returns: string;
|
|
38231
38319
|
};
|
|
38320
|
+
restart_floricode_derived_code_lists: {
|
|
38321
|
+
Args: never;
|
|
38322
|
+
Returns: undefined;
|
|
38323
|
+
};
|
|
38232
38324
|
retry_offer_orders: {
|
|
38233
38325
|
Args: never;
|
|
38234
38326
|
Returns: number;
|