@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
@@ -4529,6 +4529,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
4529
4529
  referencedColumns: ["id"];
4530
4530
  }];
4531
4531
  };
4532
+ floriday_continuous_stock_cache: {
4533
+ Row: {
4534
+ connection_id: string;
4535
+ fetched_at: string;
4536
+ number_of_pieces: number;
4537
+ trade_item_id: string;
4538
+ };
4539
+ Insert: {
4540
+ connection_id: string;
4541
+ fetched_at?: string;
4542
+ number_of_pieces?: number;
4543
+ trade_item_id: string;
4544
+ };
4545
+ Update: {
4546
+ connection_id?: string;
4547
+ fetched_at?: string;
4548
+ number_of_pieces?: number;
4549
+ trade_item_id?: string;
4550
+ };
4551
+ Relationships: [];
4552
+ };
4532
4553
  floriday_continuous_stock_queue: {
4533
4554
  Row: {
4534
4555
  attempts: number;
@@ -5507,6 +5528,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5507
5528
  referencedColumns: ["id"];
5508
5529
  }];
5509
5530
  };
5531
+ floriday_trade_settings_customers_cache: {
5532
+ Row: {
5533
+ connection_id: string;
5534
+ data: import("./types").Json;
5535
+ fetched_at: string;
5536
+ floriday_id: string;
5537
+ id: string;
5538
+ is_deleted: boolean;
5539
+ sequence_number: number;
5540
+ updated_at: string;
5541
+ };
5542
+ Insert: {
5543
+ connection_id: string;
5544
+ data: import("./types").Json;
5545
+ fetched_at?: string;
5546
+ floriday_id: string;
5547
+ id?: string;
5548
+ is_deleted?: boolean;
5549
+ sequence_number?: number;
5550
+ updated_at?: string;
5551
+ };
5552
+ Update: {
5553
+ connection_id?: string;
5554
+ data?: import("./types").Json;
5555
+ fetched_at?: string;
5556
+ floriday_id?: string;
5557
+ id?: string;
5558
+ is_deleted?: boolean;
5559
+ sequence_number?: number;
5560
+ updated_at?: string;
5561
+ };
5562
+ Relationships: [{
5563
+ foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
5564
+ columns: ["connection_id"];
5565
+ isOneToOne: false;
5566
+ referencedRelation: "floriday_connections";
5567
+ referencedColumns: ["id"];
5568
+ }];
5569
+ };
5510
5570
  floriday_trips_cache: {
5511
5571
  Row: {
5512
5572
  carrier_organization_id: string | null;
@@ -5555,6 +5615,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5555
5615
  referencedColumns: ["id"];
5556
5616
  }];
5557
5617
  };
5618
+ floriday_vbn_required_characteristics: {
5619
+ Row: {
5620
+ required_codes: string[];
5621
+ updated_at: string;
5622
+ updated_by: string | null;
5623
+ vbn_code: string;
5624
+ };
5625
+ Insert: {
5626
+ required_codes?: string[];
5627
+ updated_at?: string;
5628
+ updated_by?: string | null;
5629
+ vbn_code: string;
5630
+ };
5631
+ Update: {
5632
+ required_codes?: string[];
5633
+ updated_at?: string;
5634
+ updated_by?: string | null;
5635
+ vbn_code?: string;
5636
+ };
5637
+ Relationships: [];
5638
+ };
5558
5639
  floriday_warehouses_cache: {
5559
5640
  Row: {
5560
5641
  connection_id: string;
@@ -10528,9 +10609,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10528
10609
  };
10529
10610
  twinfield_connections: {
10530
10611
  Row: {
10531
- access_token: string | null;
10532
- client_id: string;
10533
- client_secret: string | null;
10612
+ account_key: string | null;
10534
10613
  cluster_uri: string | null;
10535
10614
  company_code: string | null;
10536
10615
  company_name: string | null;
@@ -10541,16 +10620,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10541
10620
  is_active: boolean;
10542
10621
  label: string | null;
10543
10622
  office_code: string | null;
10544
- redirect_uri: string;
10545
- refresh_token: string | null;
10546
- token_expires_at: string | null;
10623
+ redirect_uri: string | null;
10547
10624
  updated_at: string;
10548
10625
  user_id: string;
10549
10626
  };
10550
10627
  Insert: {
10551
- access_token?: string | null;
10552
- client_id: string;
10553
- client_secret?: string | null;
10628
+ account_key?: string | null;
10554
10629
  cluster_uri?: string | null;
10555
10630
  company_code?: string | null;
10556
10631
  company_name?: string | null;
@@ -10561,16 +10636,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10561
10636
  is_active?: boolean;
10562
10637
  label?: string | null;
10563
10638
  office_code?: string | null;
10564
- redirect_uri: string;
10565
- refresh_token?: string | null;
10566
- token_expires_at?: string | null;
10639
+ redirect_uri?: string | null;
10567
10640
  updated_at?: string;
10568
10641
  user_id: string;
10569
10642
  };
10570
10643
  Update: {
10571
- access_token?: string | null;
10572
- client_id?: string;
10573
- client_secret?: string | null;
10644
+ account_key?: string | null;
10574
10645
  cluster_uri?: string | null;
10575
10646
  company_code?: string | null;
10576
10647
  company_name?: string | null;
@@ -10581,54 +10652,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10581
10652
  is_active?: boolean;
10582
10653
  label?: string | null;
10583
10654
  office_code?: string | null;
10584
- redirect_uri?: string;
10585
- refresh_token?: string | null;
10586
- token_expires_at?: string | null;
10587
- updated_at?: string;
10588
- user_id?: string;
10589
- };
10590
- Relationships: [];
10591
- };
10592
- twinfield_credentials: {
10593
- Row: {
10594
- administration_code: string | null;
10595
- client_id: string | null;
10596
- client_secret: string | null;
10597
- cluster: string | null;
10598
- connected_at: string | null;
10599
- created_at: string;
10600
- environment: string | null;
10601
- id: string;
10602
- redirect_uri: string | null;
10603
- refresh_token: string | null;
10604
- updated_at: string;
10605
- user_id: string;
10606
- };
10607
- Insert: {
10608
- administration_code?: string | null;
10609
- client_id?: string | null;
10610
- client_secret?: string | null;
10611
- cluster?: string | null;
10612
- connected_at?: string | null;
10613
- created_at?: string;
10614
- environment?: string | null;
10615
- id?: string;
10616
- redirect_uri?: string | null;
10617
- refresh_token?: string | null;
10618
- updated_at?: string;
10619
- user_id: string;
10620
- };
10621
- Update: {
10622
- administration_code?: string | null;
10623
- client_id?: string | null;
10624
- client_secret?: string | null;
10625
- cluster?: string | null;
10626
- connected_at?: string | null;
10627
- created_at?: string;
10628
- environment?: string | null;
10629
- id?: string;
10630
10655
  redirect_uri?: string | null;
10631
- refresh_token?: string | null;
10632
10656
  updated_at?: string;
10633
10657
  user_id?: string;
10634
10658
  };
@@ -11075,12 +11099,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11075
11099
  currency: string | null;
11076
11100
  customer_code: string | null;
11077
11101
  data: import("./types").Json;
11102
+ deleted_at: string | null;
11078
11103
  due_date: string | null;
11079
11104
  fetched_at: string;
11080
11105
  invoice_date: string | null;
11081
11106
  invoice_number: string;
11107
+ lines_fetched_at: string | null;
11082
11108
  modified_at: string | null;
11083
11109
  outstanding_amount: number | null;
11110
+ paid_at: string | null;
11084
11111
  status: string | null;
11085
11112
  status_label: string | null;
11086
11113
  total_excl: number | null;
@@ -11092,12 +11119,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11092
11119
  currency?: string | null;
11093
11120
  customer_code?: string | null;
11094
11121
  data?: import("./types").Json;
11122
+ deleted_at?: string | null;
11095
11123
  due_date?: string | null;
11096
11124
  fetched_at?: string;
11097
11125
  invoice_date?: string | null;
11098
11126
  invoice_number: string;
11127
+ lines_fetched_at?: string | null;
11099
11128
  modified_at?: string | null;
11100
11129
  outstanding_amount?: number | null;
11130
+ paid_at?: string | null;
11101
11131
  status?: string | null;
11102
11132
  status_label?: string | null;
11103
11133
  total_excl?: number | null;
@@ -11109,12 +11139,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11109
11139
  currency?: string | null;
11110
11140
  customer_code?: string | null;
11111
11141
  data?: import("./types").Json;
11142
+ deleted_at?: string | null;
11112
11143
  due_date?: string | null;
11113
11144
  fetched_at?: string;
11114
11145
  invoice_date?: string | null;
11115
11146
  invoice_number?: string;
11147
+ lines_fetched_at?: string | null;
11116
11148
  modified_at?: string | null;
11117
11149
  outstanding_amount?: number | null;
11150
+ paid_at?: string | null;
11118
11151
  status?: string | null;
11119
11152
  status_label?: string | null;
11120
11153
  total_excl?: number | null;
@@ -11129,30 +11162,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11129
11162
  referencedColumns: ["id"];
11130
11163
  }];
11131
11164
  };
11132
- twinfield_oauth_state: {
11133
- Row: {
11134
- created_at: string;
11135
- environment: string;
11136
- nonce: string | null;
11137
- state: string;
11138
- user_id: string;
11139
- };
11140
- Insert: {
11141
- created_at?: string;
11142
- environment: string;
11143
- nonce?: string | null;
11144
- state: string;
11145
- user_id: string;
11146
- };
11147
- Update: {
11148
- created_at?: string;
11149
- environment?: string;
11150
- nonce?: string | null;
11151
- state?: string;
11152
- user_id?: string;
11153
- };
11154
- Relationships: [];
11155
- };
11156
11165
  twinfield_push_queue: {
11157
11166
  Row: {
11158
11167
  action: string;
@@ -11318,39 +11327,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11318
11327
  referencedColumns: ["id"];
11319
11328
  }];
11320
11329
  };
11321
- twinfield_token_refresh_log: {
11322
- Row: {
11323
- attempted_at: string;
11324
- connection_id: string;
11325
- error: string | null;
11326
- expires_at: string | null;
11327
- id: string;
11328
- ok: boolean;
11329
- };
11330
- Insert: {
11331
- attempted_at?: string;
11332
- connection_id: string;
11333
- error?: string | null;
11334
- expires_at?: string | null;
11335
- id?: string;
11336
- ok: boolean;
11337
- };
11338
- Update: {
11339
- attempted_at?: string;
11340
- connection_id?: string;
11341
- error?: string | null;
11342
- expires_at?: string | null;
11343
- id?: string;
11344
- ok?: boolean;
11345
- };
11346
- Relationships: [{
11347
- foreignKeyName: "twinfield_token_refresh_log_connection_id_fkey";
11348
- columns: ["connection_id"];
11349
- isOneToOne: false;
11350
- referencedRelation: "twinfield_connections";
11351
- referencedColumns: ["id"];
11352
- }];
11353
- };
11354
11330
  user_roles: {
11355
11331
  Row: {
11356
11332
  created_at: string;
@@ -13791,15 +13767,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13791
13767
  };
13792
13768
  Returns: undefined;
13793
13769
  };
13794
- twinfield_decrypt: {
13795
- Args: {
13796
- cipher: string;
13797
- };
13798
- Returns: string;
13799
- };
13800
- twinfield_encrypt: {
13770
+ twinfield_upsert_connection_by_account_key: {
13801
13771
  Args: {
13802
- plain: string;
13772
+ p_account_key: string;
13773
+ p_cluster_uri?: string;
13774
+ p_company_code?: string;
13775
+ p_company_name?: string;
13776
+ p_environment: string;
13777
+ p_office_code?: string;
13778
+ p_status?: string;
13779
+ p_user_id: string;
13803
13780
  };
13804
13781
  Returns: string;
13805
13782
  };