@flowselections/floriday-verkoop-module 1.0.26 → 1.0.27

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 (93) hide show
  1. package/dist-lib/components/karindeling/AfmetingenTab.d.ts +1 -1
  2. package/dist-lib/components/karindeling/AfmetingenTab.d.ts.map +1 -1
  3. package/dist-lib/components/karindeling/KarindelingPage.d.ts +1 -1
  4. package/dist-lib/components/karindeling/KarindelingPage.d.ts.map +1 -1
  5. package/dist-lib/components/verkoop/AnalyticsCards.d.ts +1 -1
  6. package/dist-lib/components/verkoop/AnalyticsCards.d.ts.map +1 -1
  7. package/dist-lib/components/verkoop/AutoFulfillmentStatusCard.d.ts +1 -1
  8. package/dist-lib/components/verkoop/AutoFulfillmentStatusCard.d.ts.map +1 -1
  9. package/dist-lib/components/verkoop/CartAssignmentWizard.d.ts +1 -1
  10. package/dist-lib/components/verkoop/CartAssignmentWizard.d.ts.map +1 -1
  11. package/dist-lib/components/verkoop/CreateOrderPage.d.ts +1 -1
  12. package/dist-lib/components/verkoop/CreateOrderPage.d.ts.map +1 -1
  13. package/dist-lib/components/verkoop/DiagnoseConnectionDialog.d.ts +1 -1
  14. package/dist-lib/components/verkoop/DiagnoseConnectionDialog.d.ts.map +1 -1
  15. package/dist-lib/components/verkoop/EditLocalOrderDialog.d.ts +1 -1
  16. package/dist-lib/components/verkoop/EditLocalOrderDialog.d.ts.map +1 -1
  17. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts +1 -1
  18. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts.map +1 -1
  19. package/dist-lib/components/verkoop/OrderControlStatusCard.d.ts +1 -1
  20. package/dist-lib/components/verkoop/OrderControlStatusCard.d.ts.map +1 -1
  21. package/dist-lib/components/verkoop/OrderKarindelingCard.d.ts +1 -1
  22. package/dist-lib/components/verkoop/OrderKarindelingCard.d.ts.map +1 -1
  23. package/dist-lib/components/verkoop/OrderShipmentsCard.d.ts +1 -1
  24. package/dist-lib/components/verkoop/OrderShipmentsCard.d.ts.map +1 -1
  25. package/dist-lib/components/verkoop/SalesOrderDetailPage.d.ts +1 -1
  26. package/dist-lib/components/verkoop/SalesOrderDetailPage.d.ts.map +1 -1
  27. package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts +1 -1
  28. package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts.map +1 -1
  29. package/dist-lib/components/verkoop/SalesOrdersFilterPanel.d.ts +1 -1
  30. package/dist-lib/components/verkoop/SalesOrdersFilterPanel.d.ts.map +1 -1
  31. package/dist-lib/components/verkoop/SalesOrdersFilters.d.ts +1 -1
  32. package/dist-lib/components/verkoop/SalesOrdersFilters.d.ts.map +1 -1
  33. package/dist-lib/components/verkoop/SalesOrdersTable.d.ts +2 -1
  34. package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
  35. package/dist-lib/components/verkoop/SearchableSelect.d.ts +1 -1
  36. package/dist-lib/components/verkoop/SearchableSelect.d.ts.map +1 -1
  37. package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts +1 -1
  38. package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
  39. package/dist-lib/components/verkoop/WeekCalendar.d.ts +1 -1
  40. package/dist-lib/components/verkoop/WeekCalendar.d.ts.map +1 -1
  41. package/dist-lib/index.d.ts +0 -1
  42. package/dist-lib/index.d.ts.map +1 -1
  43. package/dist-lib/index.js +5 -11
  44. package/dist-lib/integrations/supabase/auth-middleware.d.ts +104 -127
  45. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  46. package/dist-lib/integrations/supabase/client.d.ts +104 -127
  47. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  48. package/dist-lib/integrations/supabase/client.server.d.ts +104 -127
  49. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  50. package/dist-lib/integrations/supabase/types.d.ts +106 -129
  51. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  52. package/dist-lib/lib/cart-lock.functions.d.ts +104 -127
  53. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  54. package/dist-lib/lib/cart-planning-settings.functions.d.ts +1144 -1397
  55. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  56. package/dist-lib/lib/cart-replan.functions.d.ts +312 -381
  57. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  58. package/dist-lib/lib/create-order.functions.d.ts +1248 -1524
  59. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  60. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +312 -381
  61. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  62. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +104 -127
  63. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  64. package/dist-lib/lib/floriday-mirror.functions.d.ts +104 -127
  65. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  66. package/dist-lib/lib/floriday-public.functions.d.ts +728 -889
  67. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  68. package/dist-lib/lib/floriday-writes.functions.d.ts +520 -635
  69. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  70. package/dist-lib/lib/order-buffers.functions.d.ts +312 -381
  71. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  72. package/dist-lib/lib/order-shipments.functions.d.ts +416 -508
  73. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  74. package/dist-lib/lib/salesorders.functions.d.ts +520 -635
  75. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  76. package/dist-lib/lib/tradeitems.functions.d.ts +104 -127
  77. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  78. package/package.json +1 -1
  79. package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts +0 -9
  80. package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts.map +0 -1
  81. package/dist-lib/components/floriday/FlorydaySyncHealthBanner.js +0 -26
  82. package/dist-lib/components/ui/dropdown-menu.d.ts +0 -9
  83. package/dist-lib/components/ui/dropdown-menu.d.ts.map +0 -1
  84. package/dist-lib/components/ui/dropdown-menu.js +0 -14
  85. package/dist-lib/components/verkoop/CreateOrderDialog.d.ts +0 -5
  86. package/dist-lib/components/verkoop/CreateOrderDialog.d.ts.map +0 -1
  87. package/dist-lib/components/verkoop/CreateOrderDialog.js +0 -33
  88. package/dist-lib/lib/floriday/floriday.server.d.ts +0 -14
  89. package/dist-lib/lib/floriday/floriday.server.d.ts.map +0 -1
  90. package/dist-lib/lib/floriday/floriday.server.js +0 -92
  91. package/dist-lib/lib/floriday/sales-orders.functions.d.ts +0 -4736
  92. package/dist-lib/lib/floriday/sales-orders.functions.d.ts.map +0 -1
  93. package/dist-lib/lib/floriday/sales-orders.functions.js +0 -193
@@ -4528,6 +4528,27 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
4528
4528
  referencedColumns: ["id"];
4529
4529
  }];
4530
4530
  };
4531
+ floriday_continuous_stock_cache: {
4532
+ Row: {
4533
+ connection_id: string;
4534
+ fetched_at: string;
4535
+ number_of_pieces: number;
4536
+ trade_item_id: string;
4537
+ };
4538
+ Insert: {
4539
+ connection_id: string;
4540
+ fetched_at?: string;
4541
+ number_of_pieces?: number;
4542
+ trade_item_id: string;
4543
+ };
4544
+ Update: {
4545
+ connection_id?: string;
4546
+ fetched_at?: string;
4547
+ number_of_pieces?: number;
4548
+ trade_item_id?: string;
4549
+ };
4550
+ Relationships: [];
4551
+ };
4531
4552
  floriday_continuous_stock_queue: {
4532
4553
  Row: {
4533
4554
  attempts: number;
@@ -5506,6 +5527,45 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
5506
5527
  referencedColumns: ["id"];
5507
5528
  }];
5508
5529
  };
5530
+ floriday_trade_settings_customers_cache: {
5531
+ Row: {
5532
+ connection_id: string;
5533
+ data: import("../integrations/supabase/types").Json;
5534
+ fetched_at: string;
5535
+ floriday_id: string;
5536
+ id: string;
5537
+ is_deleted: boolean;
5538
+ sequence_number: number;
5539
+ updated_at: string;
5540
+ };
5541
+ Insert: {
5542
+ connection_id: string;
5543
+ data: import("../integrations/supabase/types").Json;
5544
+ fetched_at?: string;
5545
+ floriday_id: string;
5546
+ id?: string;
5547
+ is_deleted?: boolean;
5548
+ sequence_number?: number;
5549
+ updated_at?: string;
5550
+ };
5551
+ Update: {
5552
+ connection_id?: string;
5553
+ data?: import("../integrations/supabase/types").Json;
5554
+ fetched_at?: string;
5555
+ floriday_id?: string;
5556
+ id?: string;
5557
+ is_deleted?: boolean;
5558
+ sequence_number?: number;
5559
+ updated_at?: string;
5560
+ };
5561
+ Relationships: [{
5562
+ foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
5563
+ columns: ["connection_id"];
5564
+ isOneToOne: false;
5565
+ referencedRelation: "floriday_connections";
5566
+ referencedColumns: ["id"];
5567
+ }];
5568
+ };
5509
5569
  floriday_trips_cache: {
5510
5570
  Row: {
5511
5571
  carrier_organization_id: string | null;
@@ -5554,6 +5614,27 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
5554
5614
  referencedColumns: ["id"];
5555
5615
  }];
5556
5616
  };
5617
+ floriday_vbn_required_characteristics: {
5618
+ Row: {
5619
+ required_codes: string[];
5620
+ updated_at: string;
5621
+ updated_by: string | null;
5622
+ vbn_code: string;
5623
+ };
5624
+ Insert: {
5625
+ required_codes?: string[];
5626
+ updated_at?: string;
5627
+ updated_by?: string | null;
5628
+ vbn_code: string;
5629
+ };
5630
+ Update: {
5631
+ required_codes?: string[];
5632
+ updated_at?: string;
5633
+ updated_by?: string | null;
5634
+ vbn_code?: string;
5635
+ };
5636
+ Relationships: [];
5637
+ };
5557
5638
  floriday_warehouses_cache: {
5558
5639
  Row: {
5559
5640
  connection_id: string;
@@ -10527,9 +10608,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
10527
10608
  };
10528
10609
  twinfield_connections: {
10529
10610
  Row: {
10530
- access_token: string | null;
10531
- client_id: string;
10532
- client_secret: string | null;
10611
+ account_key: string | null;
10533
10612
  cluster_uri: string | null;
10534
10613
  company_code: string | null;
10535
10614
  company_name: string | null;
@@ -10540,16 +10619,12 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
10540
10619
  is_active: boolean;
10541
10620
  label: string | null;
10542
10621
  office_code: string | null;
10543
- redirect_uri: string;
10544
- refresh_token: string | null;
10545
- token_expires_at: string | null;
10622
+ redirect_uri: string | null;
10546
10623
  updated_at: string;
10547
10624
  user_id: string;
10548
10625
  };
10549
10626
  Insert: {
10550
- access_token?: string | null;
10551
- client_id: string;
10552
- client_secret?: string | null;
10627
+ account_key?: string | null;
10553
10628
  cluster_uri?: string | null;
10554
10629
  company_code?: string | null;
10555
10630
  company_name?: string | null;
@@ -10560,16 +10635,12 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
10560
10635
  is_active?: boolean;
10561
10636
  label?: string | null;
10562
10637
  office_code?: string | null;
10563
- redirect_uri: string;
10564
- refresh_token?: string | null;
10565
- token_expires_at?: string | null;
10638
+ redirect_uri?: string | null;
10566
10639
  updated_at?: string;
10567
10640
  user_id: string;
10568
10641
  };
10569
10642
  Update: {
10570
- access_token?: string | null;
10571
- client_id?: string;
10572
- client_secret?: string | null;
10643
+ account_key?: string | null;
10573
10644
  cluster_uri?: string | null;
10574
10645
  company_code?: string | null;
10575
10646
  company_name?: string | null;
@@ -10580,54 +10651,7 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
10580
10651
  is_active?: boolean;
10581
10652
  label?: string | null;
10582
10653
  office_code?: string | null;
10583
- redirect_uri?: string;
10584
- refresh_token?: string | null;
10585
- token_expires_at?: string | null;
10586
- updated_at?: string;
10587
- user_id?: string;
10588
- };
10589
- Relationships: [];
10590
- };
10591
- twinfield_credentials: {
10592
- Row: {
10593
- administration_code: string | null;
10594
- client_id: string | null;
10595
- client_secret: string | null;
10596
- cluster: string | null;
10597
- connected_at: string | null;
10598
- created_at: string;
10599
- environment: string | null;
10600
- id: string;
10601
- redirect_uri: string | null;
10602
- refresh_token: string | null;
10603
- updated_at: string;
10604
- user_id: string;
10605
- };
10606
- Insert: {
10607
- administration_code?: string | null;
10608
- client_id?: string | null;
10609
- client_secret?: string | null;
10610
- cluster?: string | null;
10611
- connected_at?: string | null;
10612
- created_at?: string;
10613
- environment?: string | null;
10614
- id?: string;
10615
- redirect_uri?: string | null;
10616
- refresh_token?: string | null;
10617
- updated_at?: string;
10618
- user_id: string;
10619
- };
10620
- Update: {
10621
- administration_code?: string | null;
10622
- client_id?: string | null;
10623
- client_secret?: string | null;
10624
- cluster?: string | null;
10625
- connected_at?: string | null;
10626
- created_at?: string;
10627
- environment?: string | null;
10628
- id?: string;
10629
10654
  redirect_uri?: string | null;
10630
- refresh_token?: string | null;
10631
10655
  updated_at?: string;
10632
10656
  user_id?: string;
10633
10657
  };
@@ -11074,12 +11098,15 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
11074
11098
  currency: string | null;
11075
11099
  customer_code: string | null;
11076
11100
  data: import("../integrations/supabase/types").Json;
11101
+ deleted_at: string | null;
11077
11102
  due_date: string | null;
11078
11103
  fetched_at: string;
11079
11104
  invoice_date: string | null;
11080
11105
  invoice_number: string;
11106
+ lines_fetched_at: string | null;
11081
11107
  modified_at: string | null;
11082
11108
  outstanding_amount: number | null;
11109
+ paid_at: string | null;
11083
11110
  status: string | null;
11084
11111
  status_label: string | null;
11085
11112
  total_excl: number | null;
@@ -11091,12 +11118,15 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
11091
11118
  currency?: string | null;
11092
11119
  customer_code?: string | null;
11093
11120
  data?: import("../integrations/supabase/types").Json;
11121
+ deleted_at?: string | null;
11094
11122
  due_date?: string | null;
11095
11123
  fetched_at?: string;
11096
11124
  invoice_date?: string | null;
11097
11125
  invoice_number: string;
11126
+ lines_fetched_at?: string | null;
11098
11127
  modified_at?: string | null;
11099
11128
  outstanding_amount?: number | null;
11129
+ paid_at?: string | null;
11100
11130
  status?: string | null;
11101
11131
  status_label?: string | null;
11102
11132
  total_excl?: number | null;
@@ -11108,12 +11138,15 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
11108
11138
  currency?: string | null;
11109
11139
  customer_code?: string | null;
11110
11140
  data?: import("../integrations/supabase/types").Json;
11141
+ deleted_at?: string | null;
11111
11142
  due_date?: string | null;
11112
11143
  fetched_at?: string;
11113
11144
  invoice_date?: string | null;
11114
11145
  invoice_number?: string;
11146
+ lines_fetched_at?: string | null;
11115
11147
  modified_at?: string | null;
11116
11148
  outstanding_amount?: number | null;
11149
+ paid_at?: string | null;
11117
11150
  status?: string | null;
11118
11151
  status_label?: string | null;
11119
11152
  total_excl?: number | null;
@@ -11128,30 +11161,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
11128
11161
  referencedColumns: ["id"];
11129
11162
  }];
11130
11163
  };
11131
- twinfield_oauth_state: {
11132
- Row: {
11133
- created_at: string;
11134
- environment: string;
11135
- nonce: string | null;
11136
- state: string;
11137
- user_id: string;
11138
- };
11139
- Insert: {
11140
- created_at?: string;
11141
- environment: string;
11142
- nonce?: string | null;
11143
- state: string;
11144
- user_id: string;
11145
- };
11146
- Update: {
11147
- created_at?: string;
11148
- environment?: string;
11149
- nonce?: string | null;
11150
- state?: string;
11151
- user_id?: string;
11152
- };
11153
- Relationships: [];
11154
- };
11155
11164
  twinfield_push_queue: {
11156
11165
  Row: {
11157
11166
  action: string;
@@ -11317,39 +11326,6 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
11317
11326
  referencedColumns: ["id"];
11318
11327
  }];
11319
11328
  };
11320
- twinfield_token_refresh_log: {
11321
- Row: {
11322
- attempted_at: string;
11323
- connection_id: string;
11324
- error: string | null;
11325
- expires_at: string | null;
11326
- id: string;
11327
- ok: boolean;
11328
- };
11329
- Insert: {
11330
- attempted_at?: string;
11331
- connection_id: string;
11332
- error?: string | null;
11333
- expires_at?: string | null;
11334
- id?: string;
11335
- ok: boolean;
11336
- };
11337
- Update: {
11338
- attempted_at?: string;
11339
- connection_id?: string;
11340
- error?: string | null;
11341
- expires_at?: string | null;
11342
- id?: string;
11343
- ok?: boolean;
11344
- };
11345
- Relationships: [{
11346
- foreignKeyName: "twinfield_token_refresh_log_connection_id_fkey";
11347
- columns: ["connection_id"];
11348
- isOneToOne: false;
11349
- referencedRelation: "twinfield_connections";
11350
- referencedColumns: ["id"];
11351
- }];
11352
- };
11353
11329
  user_roles: {
11354
11330
  Row: {
11355
11331
  created_at: string;
@@ -13790,15 +13766,16 @@ export declare const lockOrderPlanFromPickstation: import("@tanstack/start-clien
13790
13766
  };
13791
13767
  Returns: undefined;
13792
13768
  };
13793
- twinfield_decrypt: {
13794
- Args: {
13795
- cipher: string;
13796
- };
13797
- Returns: string;
13798
- };
13799
- twinfield_encrypt: {
13769
+ twinfield_upsert_connection_by_account_key: {
13800
13770
  Args: {
13801
- plain: string;
13771
+ p_account_key: string;
13772
+ p_cluster_uri?: string;
13773
+ p_company_code?: string;
13774
+ p_company_name?: string;
13775
+ p_environment: string;
13776
+ p_office_code?: string;
13777
+ p_status?: string;
13778
+ p_user_id: string;
13802
13779
  };
13803
13780
  Returns: string;
13804
13781
  };