@flowselections/floriday-verkoop-module 1.0.26 → 1.0.28

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
@@ -4538,6 +4538,27 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
4538
4538
  referencedColumns: ["id"];
4539
4539
  }];
4540
4540
  };
4541
+ floriday_continuous_stock_cache: {
4542
+ Row: {
4543
+ connection_id: string;
4544
+ fetched_at: string;
4545
+ number_of_pieces: number;
4546
+ trade_item_id: string;
4547
+ };
4548
+ Insert: {
4549
+ connection_id: string;
4550
+ fetched_at?: string;
4551
+ number_of_pieces?: number;
4552
+ trade_item_id: string;
4553
+ };
4554
+ Update: {
4555
+ connection_id?: string;
4556
+ fetched_at?: string;
4557
+ number_of_pieces?: number;
4558
+ trade_item_id?: string;
4559
+ };
4560
+ Relationships: [];
4561
+ };
4541
4562
  floriday_continuous_stock_queue: {
4542
4563
  Row: {
4543
4564
  attempts: number;
@@ -5516,6 +5537,45 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
5516
5537
  referencedColumns: ["id"];
5517
5538
  }];
5518
5539
  };
5540
+ floriday_trade_settings_customers_cache: {
5541
+ Row: {
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
+ Insert: {
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
+ Update: {
5562
+ connection_id?: string;
5563
+ data?: import("../integrations/supabase/types").Json;
5564
+ fetched_at?: string;
5565
+ floriday_id?: string;
5566
+ id?: string;
5567
+ is_deleted?: boolean;
5568
+ sequence_number?: number;
5569
+ updated_at?: string;
5570
+ };
5571
+ Relationships: [{
5572
+ foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
5573
+ columns: ["connection_id"];
5574
+ isOneToOne: false;
5575
+ referencedRelation: "floriday_connections";
5576
+ referencedColumns: ["id"];
5577
+ }];
5578
+ };
5519
5579
  floriday_trips_cache: {
5520
5580
  Row: {
5521
5581
  carrier_organization_id: string | null;
@@ -5564,6 +5624,27 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
5564
5624
  referencedColumns: ["id"];
5565
5625
  }];
5566
5626
  };
5627
+ floriday_vbn_required_characteristics: {
5628
+ Row: {
5629
+ required_codes: string[];
5630
+ updated_at: string;
5631
+ updated_by: string | null;
5632
+ vbn_code: string;
5633
+ };
5634
+ Insert: {
5635
+ required_codes?: string[];
5636
+ updated_at?: string;
5637
+ updated_by?: string | null;
5638
+ vbn_code: string;
5639
+ };
5640
+ Update: {
5641
+ required_codes?: string[];
5642
+ updated_at?: string;
5643
+ updated_by?: string | null;
5644
+ vbn_code?: string;
5645
+ };
5646
+ Relationships: [];
5647
+ };
5567
5648
  floriday_warehouses_cache: {
5568
5649
  Row: {
5569
5650
  connection_id: string;
@@ -10537,9 +10618,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
10537
10618
  };
10538
10619
  twinfield_connections: {
10539
10620
  Row: {
10540
- access_token: string | null;
10541
- client_id: string;
10542
- client_secret: string | null;
10621
+ account_key: string | null;
10543
10622
  cluster_uri: string | null;
10544
10623
  company_code: string | null;
10545
10624
  company_name: string | null;
@@ -10550,16 +10629,12 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
10550
10629
  is_active: boolean;
10551
10630
  label: string | null;
10552
10631
  office_code: string | null;
10553
- redirect_uri: string;
10554
- refresh_token: string | null;
10555
- token_expires_at: string | null;
10632
+ redirect_uri: string | null;
10556
10633
  updated_at: string;
10557
10634
  user_id: string;
10558
10635
  };
10559
10636
  Insert: {
10560
- access_token?: string | null;
10561
- client_id: string;
10562
- client_secret?: string | null;
10637
+ account_key?: string | null;
10563
10638
  cluster_uri?: string | null;
10564
10639
  company_code?: string | null;
10565
10640
  company_name?: string | null;
@@ -10570,16 +10645,12 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
10570
10645
  is_active?: boolean;
10571
10646
  label?: string | null;
10572
10647
  office_code?: string | null;
10573
- redirect_uri: string;
10574
- refresh_token?: string | null;
10575
- token_expires_at?: string | null;
10648
+ redirect_uri?: string | null;
10576
10649
  updated_at?: string;
10577
10650
  user_id: string;
10578
10651
  };
10579
10652
  Update: {
10580
- access_token?: string | null;
10581
- client_id?: string;
10582
- client_secret?: string | null;
10653
+ account_key?: string | null;
10583
10654
  cluster_uri?: string | null;
10584
10655
  company_code?: string | null;
10585
10656
  company_name?: string | null;
@@ -10590,54 +10661,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
10590
10661
  is_active?: boolean;
10591
10662
  label?: string | null;
10592
10663
  office_code?: string | null;
10593
- redirect_uri?: string;
10594
- refresh_token?: string | null;
10595
- token_expires_at?: string | null;
10596
- updated_at?: string;
10597
- user_id?: string;
10598
- };
10599
- Relationships: [];
10600
- };
10601
- twinfield_credentials: {
10602
- Row: {
10603
- administration_code: string | null;
10604
- client_id: string | null;
10605
- client_secret: string | null;
10606
- cluster: string | null;
10607
- connected_at: string | null;
10608
- created_at: string;
10609
- environment: string | null;
10610
- id: string;
10611
- redirect_uri: string | null;
10612
- refresh_token: string | null;
10613
- updated_at: string;
10614
- user_id: string;
10615
- };
10616
- Insert: {
10617
- administration_code?: string | null;
10618
- client_id?: string | null;
10619
- client_secret?: string | null;
10620
- cluster?: string | null;
10621
- connected_at?: string | null;
10622
- created_at?: string;
10623
- environment?: string | null;
10624
- id?: string;
10625
- redirect_uri?: string | null;
10626
- refresh_token?: string | null;
10627
- updated_at?: string;
10628
- user_id: string;
10629
- };
10630
- Update: {
10631
- administration_code?: string | null;
10632
- client_id?: string | null;
10633
- client_secret?: string | null;
10634
- cluster?: string | null;
10635
- connected_at?: string | null;
10636
- created_at?: string;
10637
- environment?: string | null;
10638
- id?: string;
10639
10664
  redirect_uri?: string | null;
10640
- refresh_token?: string | null;
10641
10665
  updated_at?: string;
10642
10666
  user_id?: string;
10643
10667
  };
@@ -11084,12 +11108,15 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
11084
11108
  currency: string | null;
11085
11109
  customer_code: string | null;
11086
11110
  data: import("../integrations/supabase/types").Json;
11111
+ deleted_at: string | null;
11087
11112
  due_date: string | null;
11088
11113
  fetched_at: string;
11089
11114
  invoice_date: string | null;
11090
11115
  invoice_number: string;
11116
+ lines_fetched_at: string | null;
11091
11117
  modified_at: string | null;
11092
11118
  outstanding_amount: number | null;
11119
+ paid_at: string | null;
11093
11120
  status: string | null;
11094
11121
  status_label: string | null;
11095
11122
  total_excl: number | null;
@@ -11101,12 +11128,15 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
11101
11128
  currency?: string | null;
11102
11129
  customer_code?: string | null;
11103
11130
  data?: import("../integrations/supabase/types").Json;
11131
+ deleted_at?: string | null;
11104
11132
  due_date?: string | null;
11105
11133
  fetched_at?: string;
11106
11134
  invoice_date?: string | null;
11107
11135
  invoice_number: string;
11136
+ lines_fetched_at?: string | null;
11108
11137
  modified_at?: string | null;
11109
11138
  outstanding_amount?: number | null;
11139
+ paid_at?: string | null;
11110
11140
  status?: string | null;
11111
11141
  status_label?: string | null;
11112
11142
  total_excl?: number | null;
@@ -11118,12 +11148,15 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
11118
11148
  currency?: string | null;
11119
11149
  customer_code?: string | null;
11120
11150
  data?: import("../integrations/supabase/types").Json;
11151
+ deleted_at?: string | null;
11121
11152
  due_date?: string | null;
11122
11153
  fetched_at?: string;
11123
11154
  invoice_date?: string | null;
11124
11155
  invoice_number?: string;
11156
+ lines_fetched_at?: string | null;
11125
11157
  modified_at?: string | null;
11126
11158
  outstanding_amount?: number | null;
11159
+ paid_at?: string | null;
11127
11160
  status?: string | null;
11128
11161
  status_label?: string | null;
11129
11162
  total_excl?: number | null;
@@ -11138,30 +11171,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
11138
11171
  referencedColumns: ["id"];
11139
11172
  }];
11140
11173
  };
11141
- twinfield_oauth_state: {
11142
- Row: {
11143
- created_at: string;
11144
- environment: string;
11145
- nonce: string | null;
11146
- state: string;
11147
- user_id: string;
11148
- };
11149
- Insert: {
11150
- created_at?: string;
11151
- environment: string;
11152
- nonce?: string | null;
11153
- state: string;
11154
- user_id: string;
11155
- };
11156
- Update: {
11157
- created_at?: string;
11158
- environment?: string;
11159
- nonce?: string | null;
11160
- state?: string;
11161
- user_id?: string;
11162
- };
11163
- Relationships: [];
11164
- };
11165
11174
  twinfield_push_queue: {
11166
11175
  Row: {
11167
11176
  action: string;
@@ -11327,39 +11336,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
11327
11336
  referencedColumns: ["id"];
11328
11337
  }];
11329
11338
  };
11330
- twinfield_token_refresh_log: {
11331
- Row: {
11332
- attempted_at: string;
11333
- connection_id: string;
11334
- error: string | null;
11335
- expires_at: string | null;
11336
- id: string;
11337
- ok: boolean;
11338
- };
11339
- Insert: {
11340
- attempted_at?: string;
11341
- connection_id: string;
11342
- error?: string | null;
11343
- expires_at?: string | null;
11344
- id?: string;
11345
- ok: boolean;
11346
- };
11347
- Update: {
11348
- attempted_at?: string;
11349
- connection_id?: string;
11350
- error?: string | null;
11351
- expires_at?: string | null;
11352
- id?: string;
11353
- ok?: boolean;
11354
- };
11355
- Relationships: [{
11356
- foreignKeyName: "twinfield_token_refresh_log_connection_id_fkey";
11357
- columns: ["connection_id"];
11358
- isOneToOne: false;
11359
- referencedRelation: "twinfield_connections";
11360
- referencedColumns: ["id"];
11361
- }];
11362
- };
11363
11339
  user_roles: {
11364
11340
  Row: {
11365
11341
  created_at: string;
@@ -13800,15 +13776,16 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
13800
13776
  };
13801
13777
  Returns: undefined;
13802
13778
  };
13803
- twinfield_decrypt: {
13804
- Args: {
13805
- cipher: string;
13806
- };
13807
- Returns: string;
13808
- };
13809
- twinfield_encrypt: {
13779
+ twinfield_upsert_connection_by_account_key: {
13810
13780
  Args: {
13811
- plain: string;
13781
+ p_account_key: string;
13782
+ p_cluster_uri?: string;
13783
+ p_company_code?: string;
13784
+ p_company_name?: string;
13785
+ p_environment: string;
13786
+ p_office_code?: string;
13787
+ p_status?: string;
13788
+ p_user_id: string;
13812
13789
  };
13813
13790
  Returns: string;
13814
13791
  };