@flowselections/floriday-verkoop-module 1.0.98 → 1.0.100

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.
Files changed (41) hide show
  1. package/dist-lib/components/verkoop/ConfirmDialog.d.ts +11 -0
  2. package/dist-lib/components/verkoop/ConfirmDialog.d.ts.map +1 -0
  3. package/dist-lib/components/verkoop/ConfirmDialog.js +10 -0
  4. package/dist-lib/components/verkoop/CreateOrderPage.d.ts.map +1 -1
  5. package/dist-lib/components/verkoop/CreateOrderPage.js +36 -12
  6. package/dist-lib/components/verkoop/OrderKarindelingCard.d.ts.map +1 -1
  7. package/dist-lib/components/verkoop/OrderKarindelingCard.js +28 -2
  8. package/dist-lib/components/verkoop/OrderShipmentsCard.d.ts.map +1 -1
  9. package/dist-lib/components/verkoop/OrderShipmentsCard.js +16 -13
  10. package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts.map +1 -1
  11. package/dist-lib/components/verkoop/SalesOrderDetailView.js +1 -1
  12. package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
  13. package/dist-lib/components/verkoop/SalesOrdersTable.js +1 -1
  14. package/dist-lib/integrations/supabase/types.d.ts +99 -0
  15. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  16. package/dist-lib/lib/create-order.functions.d.ts +3 -0
  17. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  18. package/dist-lib/lib/create-order.functions.js +34 -5
  19. package/dist-lib/lib/departure-preview.check.js +24 -1
  20. package/dist-lib/lib/departure-preview.d.ts +25 -1
  21. package/dist-lib/lib/departure-preview.d.ts.map +1 -1
  22. package/dist-lib/lib/departure-preview.functions.d.ts +1 -0
  23. package/dist-lib/lib/departure-preview.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/departure-preview.functions.js +1 -0
  25. package/dist-lib/lib/departure-preview.js +65 -2
  26. package/dist-lib/lib/departure-preview.server.d.ts +1 -0
  27. package/dist-lib/lib/departure-preview.server.d.ts.map +1 -1
  28. package/dist-lib/lib/departure-preview.server.js +3 -0
  29. package/dist-lib/lib/invoice-timing.server.d.ts +3 -1
  30. package/dist-lib/lib/invoice-timing.server.d.ts.map +1 -1
  31. package/dist-lib/lib/invoice-timing.server.js +3 -2
  32. package/dist-lib/lib/module-version.d.ts +2 -0
  33. package/dist-lib/lib/module-version.d.ts.map +1 -0
  34. package/dist-lib/lib/module-version.js +3 -0
  35. package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
  36. package/dist-lib/lib/salesorders-list.server.js +2 -1
  37. package/dist-lib/lib/salesorders-mapping.d.ts +2 -0
  38. package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
  39. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/salesorders.functions.js +4 -0
  41. package/package.json +1 -1
@@ -5979,33 +5979,42 @@ export type Database = {
5979
5979
  };
5980
5980
  floricode_sync_state: {
5981
5981
  Row: {
5982
+ completed_at: string | null;
5982
5983
  cursor_skip: number;
5983
5984
  error_message: string | null;
5984
5985
  last_change_date_time: string | null;
5985
5986
  last_sequence_number: number;
5986
5987
  last_sync_at: string | null;
5988
+ pending_change_date_time: string | null;
5987
5989
  resource: string;
5988
5990
  status: string;
5991
+ total_count: number | null;
5989
5992
  updated_at: string;
5990
5993
  };
5991
5994
  Insert: {
5995
+ completed_at?: string | null;
5992
5996
  cursor_skip?: number;
5993
5997
  error_message?: string | null;
5994
5998
  last_change_date_time?: string | null;
5995
5999
  last_sequence_number?: number;
5996
6000
  last_sync_at?: string | null;
6001
+ pending_change_date_time?: string | null;
5997
6002
  resource: string;
5998
6003
  status?: string;
6004
+ total_count?: number | null;
5999
6005
  updated_at?: string;
6000
6006
  };
6001
6007
  Update: {
6008
+ completed_at?: string | null;
6002
6009
  cursor_skip?: number;
6003
6010
  error_message?: string | null;
6004
6011
  last_change_date_time?: string | null;
6005
6012
  last_sequence_number?: number;
6006
6013
  last_sync_at?: string | null;
6014
+ pending_change_date_time?: string | null;
6007
6015
  resource?: string;
6008
6016
  status?: string;
6017
+ total_count?: number | null;
6009
6018
  updated_at?: string;
6010
6019
  };
6011
6020
  Relationships: [];
@@ -16193,10 +16202,12 @@ export type Database = {
16193
16202
  id: string;
16194
16203
  items: Json;
16195
16204
  notes: string | null;
16205
+ order_creation_attempts: number;
16196
16206
  order_creation_error: string | null;
16197
16207
  order_creation_failed_at: string | null;
16198
16208
  order_id: string | null;
16199
16209
  order_number: string | null;
16210
+ order_retry_payload: Json | null;
16200
16211
  recipient_id: string;
16201
16212
  total_amount: number;
16202
16213
  };
@@ -16210,10 +16221,12 @@ export type Database = {
16210
16221
  id?: string;
16211
16222
  items?: Json;
16212
16223
  notes?: string | null;
16224
+ order_creation_attempts?: number;
16213
16225
  order_creation_error?: string | null;
16214
16226
  order_creation_failed_at?: string | null;
16215
16227
  order_id?: string | null;
16216
16228
  order_number?: string | null;
16229
+ order_retry_payload?: Json | null;
16217
16230
  recipient_id: string;
16218
16231
  total_amount?: number;
16219
16232
  };
@@ -16227,10 +16240,12 @@ export type Database = {
16227
16240
  id?: string;
16228
16241
  items?: Json;
16229
16242
  notes?: string | null;
16243
+ order_creation_attempts?: number;
16230
16244
  order_creation_error?: string | null;
16231
16245
  order_creation_failed_at?: string | null;
16232
16246
  order_id?: string | null;
16233
16247
  order_number?: string | null;
16248
+ order_retry_payload?: Json | null;
16234
16249
  recipient_id?: string;
16235
16250
  total_amount?: number;
16236
16251
  };
@@ -28810,6 +28825,10 @@ export type Database = {
28810
28825
  };
28811
28826
  };
28812
28827
  Functions: {
28828
+ _arm_offer_order_retry: {
28829
+ Args: never;
28830
+ Returns: undefined;
28831
+ };
28813
28832
  _floriday_queue_cleanup_batch: {
28814
28833
  Args: {
28815
28834
  p_days: number;
@@ -30117,6 +30136,30 @@ export type Database = {
30117
30136
  };
30118
30137
  Returns: boolean;
30119
30138
  };
30139
+ floricode_sync_cron_schedule: {
30140
+ Args: {
30141
+ p_apikey: string;
30142
+ p_schedule: string;
30143
+ p_url: string;
30144
+ };
30145
+ Returns: number;
30146
+ };
30147
+ floricode_sync_cron_set_schedule: {
30148
+ Args: {
30149
+ p_schedule: string;
30150
+ };
30151
+ Returns: boolean;
30152
+ };
30153
+ floricode_sync_cron_status: {
30154
+ Args: never;
30155
+ Returns: {
30156
+ active: boolean;
30157
+ last_run_at: string;
30158
+ last_run_status: string;
30159
+ schedule: string;
30160
+ scheduled: boolean;
30161
+ }[];
30162
+ };
30120
30163
  floriday_adopt_connection: {
30121
30164
  Args: {
30122
30165
  p_new: string;
@@ -31217,6 +31260,14 @@ export type Database = {
31217
31260
  };
31218
31261
  Returns: string;
31219
31262
  };
31263
+ log_offer_event_by_code: {
31264
+ Args: {
31265
+ p_code: string;
31266
+ p_event_type: string;
31267
+ p_metadata?: Json;
31268
+ };
31269
+ Returns: boolean;
31270
+ };
31220
31271
  logistics_active_layout_method: {
31221
31272
  Args: never;
31222
31273
  Returns: string;
@@ -35900,6 +35951,13 @@ export type Database = {
35900
35951
  };
35901
35952
  Returns: undefined;
35902
35953
  };
35954
+ record_offer_order_failure: {
35955
+ Args: {
35956
+ p_error: string;
35957
+ p_offer_order_id: string;
35958
+ };
35959
+ Returns: undefined;
35960
+ };
35903
35961
  refresh_external_customers_grouped: {
35904
35962
  Args: never;
35905
35963
  Returns: undefined;
@@ -36036,6 +36094,10 @@ export type Database = {
36036
36094
  };
36037
36095
  Returns: string;
36038
36096
  };
36097
+ retry_offer_orders: {
36098
+ Args: never;
36099
+ Returns: number;
36100
+ };
36039
36101
  retry_twinfield_push: {
36040
36102
  Args: {
36041
36103
  _customer_id: string;
@@ -36189,6 +36251,18 @@ export type Database = {
36189
36251
  };
36190
36252
  Returns: Json;
36191
36253
  };
36254
+ scan_kar_logs: {
36255
+ Args: {
36256
+ p_cart_ids: string[];
36257
+ };
36258
+ Returns: {
36259
+ created_at: string;
36260
+ kar_id: string;
36261
+ medewerker_naam: string;
36262
+ message: string;
36263
+ result: string;
36264
+ }[];
36265
+ };
36192
36266
  scan_kar_regels: {
36193
36267
  Args: {
36194
36268
  p_cart_id: string;
@@ -36206,6 +36280,7 @@ export type Database = {
36206
36280
  scan_log_code: {
36207
36281
  Args: {
36208
36282
  p_code: string;
36283
+ p_kar_id?: string;
36209
36284
  p_latency_ms?: number;
36210
36285
  p_medewerker?: string;
36211
36286
  p_message?: string;
@@ -36645,6 +36720,12 @@ export type Database = {
36645
36720
  };
36646
36721
  Returns: undefined;
36647
36722
  };
36723
+ set_primary_delivery_location: {
36724
+ Args: {
36725
+ p_location_id: string;
36726
+ };
36727
+ Returns: undefined;
36728
+ };
36648
36729
  set_product_stock: {
36649
36730
  Args: {
36650
36731
  p_incoming_stock?: number;
@@ -37493,6 +37574,24 @@ export type Database = {
37493
37574
  };
37494
37575
  Returns: number;
37495
37576
  };
37577
+ verkoop_create_order: {
37578
+ Args: {
37579
+ p_accept_late_signup?: boolean;
37580
+ p_accepted_by?: string;
37581
+ p_carrier_id: string;
37582
+ p_customer_id: string;
37583
+ p_customer_reference?: string;
37584
+ p_delivery_date: string;
37585
+ p_delivery_location_id: string;
37586
+ p_lines: Json;
37587
+ p_moment_key?: string;
37588
+ p_notes?: string;
37589
+ p_own_transport?: boolean;
37590
+ p_source: string;
37591
+ p_source_id: string;
37592
+ };
37593
+ Returns: Json;
37594
+ };
37496
37595
  vervang_printer: {
37497
37596
  Args: {
37498
37597
  _nieuw: string;