@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
@@ -4642,6 +4642,27 @@ export type Database = {
4642
4642
  }
4643
4643
  ];
4644
4644
  };
4645
+ floriday_continuous_stock_cache: {
4646
+ Row: {
4647
+ connection_id: string;
4648
+ fetched_at: string;
4649
+ number_of_pieces: number;
4650
+ trade_item_id: string;
4651
+ };
4652
+ Insert: {
4653
+ connection_id: string;
4654
+ fetched_at?: string;
4655
+ number_of_pieces?: number;
4656
+ trade_item_id: string;
4657
+ };
4658
+ Update: {
4659
+ connection_id?: string;
4660
+ fetched_at?: string;
4661
+ number_of_pieces?: number;
4662
+ trade_item_id?: string;
4663
+ };
4664
+ Relationships: [];
4665
+ };
4645
4666
  floriday_continuous_stock_queue: {
4646
4667
  Row: {
4647
4668
  attempts: number;
@@ -5658,6 +5679,47 @@ export type Database = {
5658
5679
  }
5659
5680
  ];
5660
5681
  };
5682
+ floriday_trade_settings_customers_cache: {
5683
+ Row: {
5684
+ connection_id: string;
5685
+ data: Json;
5686
+ fetched_at: string;
5687
+ floriday_id: string;
5688
+ id: string;
5689
+ is_deleted: boolean;
5690
+ sequence_number: number;
5691
+ updated_at: string;
5692
+ };
5693
+ Insert: {
5694
+ connection_id: string;
5695
+ data: Json;
5696
+ fetched_at?: string;
5697
+ floriday_id: string;
5698
+ id?: string;
5699
+ is_deleted?: boolean;
5700
+ sequence_number?: number;
5701
+ updated_at?: string;
5702
+ };
5703
+ Update: {
5704
+ connection_id?: string;
5705
+ data?: Json;
5706
+ fetched_at?: string;
5707
+ floriday_id?: string;
5708
+ id?: string;
5709
+ is_deleted?: boolean;
5710
+ sequence_number?: number;
5711
+ updated_at?: string;
5712
+ };
5713
+ Relationships: [
5714
+ {
5715
+ foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
5716
+ columns: ["connection_id"];
5717
+ isOneToOne: false;
5718
+ referencedRelation: "floriday_connections";
5719
+ referencedColumns: ["id"];
5720
+ }
5721
+ ];
5722
+ };
5661
5723
  floriday_trips_cache: {
5662
5724
  Row: {
5663
5725
  carrier_organization_id: string | null;
@@ -5708,6 +5770,27 @@ export type Database = {
5708
5770
  }
5709
5771
  ];
5710
5772
  };
5773
+ floriday_vbn_required_characteristics: {
5774
+ Row: {
5775
+ required_codes: string[];
5776
+ updated_at: string;
5777
+ updated_by: string | null;
5778
+ vbn_code: string;
5779
+ };
5780
+ Insert: {
5781
+ required_codes?: string[];
5782
+ updated_at?: string;
5783
+ updated_by?: string | null;
5784
+ vbn_code: string;
5785
+ };
5786
+ Update: {
5787
+ required_codes?: string[];
5788
+ updated_at?: string;
5789
+ updated_by?: string | null;
5790
+ vbn_code?: string;
5791
+ };
5792
+ Relationships: [];
5793
+ };
5711
5794
  floriday_warehouses_cache: {
5712
5795
  Row: {
5713
5796
  connection_id: string;
@@ -10849,9 +10932,7 @@ export type Database = {
10849
10932
  };
10850
10933
  twinfield_connections: {
10851
10934
  Row: {
10852
- access_token: string | null;
10853
- client_id: string;
10854
- client_secret: string | null;
10935
+ account_key: string | null;
10855
10936
  cluster_uri: string | null;
10856
10937
  company_code: string | null;
10857
10938
  company_name: string | null;
@@ -10862,16 +10943,12 @@ export type Database = {
10862
10943
  is_active: boolean;
10863
10944
  label: string | null;
10864
10945
  office_code: string | null;
10865
- redirect_uri: string;
10866
- refresh_token: string | null;
10867
- token_expires_at: string | null;
10946
+ redirect_uri: string | null;
10868
10947
  updated_at: string;
10869
10948
  user_id: string;
10870
10949
  };
10871
10950
  Insert: {
10872
- access_token?: string | null;
10873
- client_id: string;
10874
- client_secret?: string | null;
10951
+ account_key?: string | null;
10875
10952
  cluster_uri?: string | null;
10876
10953
  company_code?: string | null;
10877
10954
  company_name?: string | null;
@@ -10882,16 +10959,12 @@ export type Database = {
10882
10959
  is_active?: boolean;
10883
10960
  label?: string | null;
10884
10961
  office_code?: string | null;
10885
- redirect_uri: string;
10886
- refresh_token?: string | null;
10887
- token_expires_at?: string | null;
10962
+ redirect_uri?: string | null;
10888
10963
  updated_at?: string;
10889
10964
  user_id: string;
10890
10965
  };
10891
10966
  Update: {
10892
- access_token?: string | null;
10893
- client_id?: string;
10894
- client_secret?: string | null;
10967
+ account_key?: string | null;
10895
10968
  cluster_uri?: string | null;
10896
10969
  company_code?: string | null;
10897
10970
  company_name?: string | null;
@@ -10902,54 +10975,7 @@ export type Database = {
10902
10975
  is_active?: boolean;
10903
10976
  label?: string | null;
10904
10977
  office_code?: string | null;
10905
- redirect_uri?: string;
10906
- refresh_token?: string | null;
10907
- token_expires_at?: string | null;
10908
- updated_at?: string;
10909
- user_id?: string;
10910
- };
10911
- Relationships: [];
10912
- };
10913
- twinfield_credentials: {
10914
- Row: {
10915
- administration_code: string | null;
10916
- client_id: string | null;
10917
- client_secret: string | null;
10918
- cluster: string | null;
10919
- connected_at: string | null;
10920
- created_at: string;
10921
- environment: string | null;
10922
- id: string;
10923
- redirect_uri: string | null;
10924
- refresh_token: string | null;
10925
- updated_at: string;
10926
- user_id: string;
10927
- };
10928
- Insert: {
10929
- administration_code?: string | null;
10930
- client_id?: string | null;
10931
- client_secret?: string | null;
10932
- cluster?: string | null;
10933
- connected_at?: string | null;
10934
- created_at?: string;
10935
- environment?: string | null;
10936
- id?: string;
10937
10978
  redirect_uri?: string | null;
10938
- refresh_token?: string | null;
10939
- updated_at?: string;
10940
- user_id: string;
10941
- };
10942
- Update: {
10943
- administration_code?: string | null;
10944
- client_id?: string | null;
10945
- client_secret?: string | null;
10946
- cluster?: string | null;
10947
- connected_at?: string | null;
10948
- created_at?: string;
10949
- environment?: string | null;
10950
- id?: string;
10951
- redirect_uri?: string | null;
10952
- refresh_token?: string | null;
10953
10979
  updated_at?: string;
10954
10980
  user_id?: string;
10955
10981
  };
@@ -11404,12 +11430,15 @@ export type Database = {
11404
11430
  currency: string | null;
11405
11431
  customer_code: string | null;
11406
11432
  data: Json;
11433
+ deleted_at: string | null;
11407
11434
  due_date: string | null;
11408
11435
  fetched_at: string;
11409
11436
  invoice_date: string | null;
11410
11437
  invoice_number: string;
11438
+ lines_fetched_at: string | null;
11411
11439
  modified_at: string | null;
11412
11440
  outstanding_amount: number | null;
11441
+ paid_at: string | null;
11413
11442
  status: string | null;
11414
11443
  status_label: string | null;
11415
11444
  total_excl: number | null;
@@ -11421,12 +11450,15 @@ export type Database = {
11421
11450
  currency?: string | null;
11422
11451
  customer_code?: string | null;
11423
11452
  data?: Json;
11453
+ deleted_at?: string | null;
11424
11454
  due_date?: string | null;
11425
11455
  fetched_at?: string;
11426
11456
  invoice_date?: string | null;
11427
11457
  invoice_number: string;
11458
+ lines_fetched_at?: string | null;
11428
11459
  modified_at?: string | null;
11429
11460
  outstanding_amount?: number | null;
11461
+ paid_at?: string | null;
11430
11462
  status?: string | null;
11431
11463
  status_label?: string | null;
11432
11464
  total_excl?: number | null;
@@ -11438,12 +11470,15 @@ export type Database = {
11438
11470
  currency?: string | null;
11439
11471
  customer_code?: string | null;
11440
11472
  data?: Json;
11473
+ deleted_at?: string | null;
11441
11474
  due_date?: string | null;
11442
11475
  fetched_at?: string;
11443
11476
  invoice_date?: string | null;
11444
11477
  invoice_number?: string;
11478
+ lines_fetched_at?: string | null;
11445
11479
  modified_at?: string | null;
11446
11480
  outstanding_amount?: number | null;
11481
+ paid_at?: string | null;
11447
11482
  status?: string | null;
11448
11483
  status_label?: string | null;
11449
11484
  total_excl?: number | null;
@@ -11460,30 +11495,6 @@ export type Database = {
11460
11495
  }
11461
11496
  ];
11462
11497
  };
11463
- twinfield_oauth_state: {
11464
- Row: {
11465
- created_at: string;
11466
- environment: string;
11467
- nonce: string | null;
11468
- state: string;
11469
- user_id: string;
11470
- };
11471
- Insert: {
11472
- created_at?: string;
11473
- environment: string;
11474
- nonce?: string | null;
11475
- state: string;
11476
- user_id: string;
11477
- };
11478
- Update: {
11479
- created_at?: string;
11480
- environment?: string;
11481
- nonce?: string | null;
11482
- state?: string;
11483
- user_id?: string;
11484
- };
11485
- Relationships: [];
11486
- };
11487
11498
  twinfield_push_queue: {
11488
11499
  Row: {
11489
11500
  action: string;
@@ -11654,41 +11665,6 @@ export type Database = {
11654
11665
  }
11655
11666
  ];
11656
11667
  };
11657
- twinfield_token_refresh_log: {
11658
- Row: {
11659
- attempted_at: string;
11660
- connection_id: string;
11661
- error: string | null;
11662
- expires_at: string | null;
11663
- id: string;
11664
- ok: boolean;
11665
- };
11666
- Insert: {
11667
- attempted_at?: string;
11668
- connection_id: string;
11669
- error?: string | null;
11670
- expires_at?: string | null;
11671
- id?: string;
11672
- ok: boolean;
11673
- };
11674
- Update: {
11675
- attempted_at?: string;
11676
- connection_id?: string;
11677
- error?: string | null;
11678
- expires_at?: string | null;
11679
- id?: string;
11680
- ok?: boolean;
11681
- };
11682
- Relationships: [
11683
- {
11684
- foreignKeyName: "twinfield_token_refresh_log_connection_id_fkey";
11685
- columns: ["connection_id"];
11686
- isOneToOne: false;
11687
- referencedRelation: "twinfield_connections";
11688
- referencedColumns: ["id"];
11689
- }
11690
- ];
11691
- };
11692
11668
  user_roles: {
11693
11669
  Row: {
11694
11670
  created_at: string;
@@ -14163,15 +14139,16 @@ export type Database = {
14163
14139
  };
14164
14140
  Returns: undefined;
14165
14141
  };
14166
- twinfield_decrypt: {
14167
- Args: {
14168
- cipher: string;
14169
- };
14170
- Returns: string;
14171
- };
14172
- twinfield_encrypt: {
14142
+ twinfield_upsert_connection_by_account_key: {
14173
14143
  Args: {
14174
- plain: string;
14144
+ p_account_key: string;
14145
+ p_cluster_uri?: string;
14146
+ p_company_code?: string;
14147
+ p_company_name?: string;
14148
+ p_environment: string;
14149
+ p_office_code?: string;
14150
+ p_status?: string;
14151
+ p_user_id: string;
14175
14152
  };
14176
14153
  Returns: string;
14177
14154
  };