@flowselections/pick-schermen-kwekers 1.0.47 → 1.0.50

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 (77) hide show
  1. package/dist-lib/components/PickPublicPage.js +2 -2
  2. package/dist-lib/components/PickstationsPage.js +4 -4
  3. package/dist-lib/components/pick/CartItemRows.d.ts +1 -1
  4. package/dist-lib/components/pick/CartItemRows.js +1 -1
  5. package/dist-lib/components/pick/LanguageTiles.js +1 -1
  6. package/dist-lib/components/pick/PickScherm.d.ts +1 -1
  7. package/dist-lib/components/pick/PickScherm.js +27 -27
  8. package/dist-lib/components/pick/PreviewDialog.d.ts +1 -1
  9. package/dist-lib/components/pick/PreviewDialog.js +3 -3
  10. package/dist-lib/components/pick/PublicPickRoute.js +1 -1
  11. package/dist-lib/components/pick/QueueTable.d.ts +2 -2
  12. package/dist-lib/components/pick/QueueTable.d.ts.map +1 -1
  13. package/dist-lib/components/pick/QueueTable.js +38 -11
  14. package/dist-lib/components/pick/ReferentiedataBanner.js +2 -2
  15. package/dist-lib/components/pick/ShippingNoteScan.js +1 -1
  16. package/dist-lib/components/pick/StickerState.js +1 -1
  17. package/dist-lib/components/settings/ReferentiedataPickdocumentenCard.js +2 -2
  18. package/dist-lib/hooks/usePickConfig.d.ts +11 -11
  19. package/dist-lib/hooks/usePickConfig.js +1 -1
  20. package/dist-lib/hooks/usePickQueue.d.ts +3 -1
  21. package/dist-lib/hooks/usePickQueue.d.ts.map +1 -1
  22. package/dist-lib/hooks/usePickQueue.js +11 -5
  23. package/dist-lib/hooks/usePickReferenceData.d.ts +1 -1
  24. package/dist-lib/hooks/usePickReferenceData.js +1 -1
  25. package/dist-lib/hooks/usePrintJob.d.ts +2 -2
  26. package/dist-lib/hooks/usePrintJob.js +1 -1
  27. package/dist-lib/hooks/useShippingNoteStatus.d.ts +1 -1
  28. package/dist-lib/hooks/useShippingNoteStatus.js +1 -1
  29. package/dist-lib/index.d.ts +28 -28
  30. package/dist-lib/index.js +28 -28
  31. package/dist-lib/integrations/supabase/auth-attacher.js +1 -1
  32. package/dist-lib/integrations/supabase/auth-middleware.d.ts +1 -1
  33. package/dist-lib/integrations/supabase/client.server.d.ts +1 -1
  34. package/dist-lib/integrations/supabase/types.d.ts +105 -0
  35. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  36. package/dist-lib/lib/__tests__/pick142.test.js +13 -6
  37. package/dist-lib/lib/__tests__/pick143.test.js +3 -3
  38. package/dist-lib/lib/__tests__/pick144.test.js +1 -1
  39. package/dist-lib/lib/__tests__/pick145.test.js +2 -2
  40. package/dist-lib/lib/__tests__/pickAlreadyPrinted.test.js +1 -1
  41. package/dist-lib/lib/__tests__/pickCartResults.test.js +1 -1
  42. package/dist-lib/lib/__tests__/pickPreview140.test.js +1 -1
  43. package/dist-lib/lib/__tests__/pickRobustness.test.js +4 -4
  44. package/dist-lib/lib/__tests__/pickRowState.test.js +1 -1
  45. package/dist-lib/lib/__tests__/pickSentElsewhere.test.js +2 -2
  46. package/dist-lib/lib/__tests__/pickSetComponents.test.js +1 -1
  47. package/dist-lib/lib/__tests__/pickStatusRef.test.js +4 -4
  48. package/dist-lib/lib/__tests__/pickStickers.test.js +2 -2
  49. package/dist-lib/lib/__tests__/pickStickers138.test.js +1 -1
  50. package/dist-lib/lib/logisticsApi.d.ts +2 -2
  51. package/dist-lib/lib/logisticsApi.js +2 -2
  52. package/dist-lib/lib/pick142.d.ts +16 -11
  53. package/dist-lib/lib/pick142.d.ts.map +1 -1
  54. package/dist-lib/lib/pick142.js +17 -7
  55. package/dist-lib/lib/pick143.d.ts +1 -1
  56. package/dist-lib/lib/pick143.js +1 -1
  57. package/dist-lib/lib/pick144.d.ts +1 -1
  58. package/dist-lib/lib/pick144.js +2 -2
  59. package/dist-lib/lib/pick145.d.ts +1 -1
  60. package/dist-lib/lib/pick145.js +3 -3
  61. package/dist-lib/lib/pickApi.d.ts +2 -2
  62. package/dist-lib/lib/pickApi.js +4 -4
  63. package/dist-lib/lib/pickCartResults.d.ts +3 -3
  64. package/dist-lib/lib/pickCartResults.js +1 -1
  65. package/dist-lib/lib/pickPreview.js +1 -1
  66. package/dist-lib/lib/pickPrint.d.ts +1 -1
  67. package/dist-lib/lib/pickPrint.js +1 -1
  68. package/dist-lib/lib/pickReferenceApi.d.ts +1 -1
  69. package/dist-lib/lib/pickReferenceApi.js +2 -2
  70. package/dist-lib/lib/pickRowState.d.ts +1 -1
  71. package/dist-lib/lib/pickTypes.d.ts +2 -0
  72. package/dist-lib/lib/pickTypes.d.ts.map +1 -1
  73. package/dist-lib/lib/pickUiText.js +3 -3
  74. package/dist-lib/lib/pickVerify.d.ts +1 -1
  75. package/dist-lib/lib/shippingNote.js +2 -2
  76. package/dist-lib/lib/shippingNoteStatus.js +1 -1
  77. package/package.json +2 -2
package/dist-lib/index.js CHANGED
@@ -14,31 +14,31 @@
14
14
  // 4. Done! You don't need to touch any other file for registration.
15
15
  // ============================================================================
16
16
  import { Warehouse } from "lucide-react";
17
- import { ReferentiedataPickdocumentenCard } from "./components/settings/ReferentiedataPickdocumentenCard";
18
- export * from './_core-safelist';
19
- export * from './components/TemplatePage';
20
- export { TemplateModuleLogo } from './components/TemplateModuleLogo';
21
- export * from './lib/pickTypes';
22
- export * from './lib/pickApi';
23
- export * from './lib/logisticsTypes';
24
- export * from './lib/logisticsApi';
25
- export * from './hooks/usePickConfig';
26
- export * from './hooks/useKoppelingVoorBron';
27
- export * from './hooks/usePickQueue';
28
- export { LanguageTiles } from './components/pick/LanguageTiles';
29
- export * from './lib/pickI18n';
30
- export { QueueTable } from './components/pick/QueueTable';
31
- export { ShippingNoteScan } from './components/pick/ShippingNoteScan';
32
- export * from './lib/shippingNote';
33
- export * from './lib/shippingNoteStatus';
34
- export { PickScherm } from './components/pick/PickScherm';
35
- export { PickstationsPage } from './components/PickstationsPage';
36
- export { PickPublicPage } from './components/PickPublicPage';
37
- export { PublicPickRoute } from './components/pick/PublicPickRoute';
38
- export { pickReferenceApi, referentieProblemen, VERPLICHTE_TYPE_CODES, VERPLICHTE_STATUS_CODES, } from './lib/pickReferenceApi';
39
- export { usePickReferenceData, PICK_REFERENCE_QUERY_KEY } from './hooks/usePickReferenceData';
40
- export { ReferentiedataPickdocumentenCard } from './components/settings/ReferentiedataPickdocumentenCard';
41
- export { ReferentiedataBanner } from './components/pick/ReferentiedataBanner';
17
+ import { ReferentiedataPickdocumentenCard } from "./components/settings/ReferentiedataPickdocumentenCard.js";
18
+ export * from './_core-safelist.js';
19
+ export * from './components/TemplatePage.js';
20
+ export { TemplateModuleLogo } from './components/TemplateModuleLogo.js';
21
+ export * from './lib/pickTypes.js';
22
+ export * from './lib/pickApi.js';
23
+ export * from './lib/logisticsTypes.js';
24
+ export * from './lib/logisticsApi.js';
25
+ export * from './hooks/usePickConfig.js';
26
+ export * from './hooks/useKoppelingVoorBron.js';
27
+ export * from './hooks/usePickQueue.js';
28
+ export { LanguageTiles } from './components/pick/LanguageTiles.js';
29
+ export * from './lib/pickI18n.js';
30
+ export { QueueTable } from './components/pick/QueueTable.js';
31
+ export { ShippingNoteScan } from './components/pick/ShippingNoteScan.js';
32
+ export * from './lib/shippingNote.js';
33
+ export * from './lib/shippingNoteStatus.js';
34
+ export { PickScherm } from './components/pick/PickScherm.js';
35
+ export { PickstationsPage } from './components/PickstationsPage.js';
36
+ export { PickPublicPage } from './components/PickPublicPage.js';
37
+ export { PublicPickRoute } from './components/pick/PublicPickRoute.js';
38
+ export { pickReferenceApi, referentieProblemen, VERPLICHTE_TYPE_CODES, VERPLICHTE_STATUS_CODES, } from './lib/pickReferenceApi.js';
39
+ export { usePickReferenceData, PICK_REFERENCE_QUERY_KEY } from './hooks/usePickReferenceData.js';
40
+ export { ReferentiedataPickdocumentenCard } from './components/settings/ReferentiedataPickdocumentenCard.js';
41
+ export { ReferentiedataBanner } from './components/pick/ReferentiedataBanner.js';
42
42
  export const pickSchermenModule = {
43
43
  id: "pick-schermen",
44
44
  name: "Pickstations",
@@ -50,6 +50,6 @@ export const pickSchermenModule = {
50
50
  },
51
51
  settingsCards: [{ component: ReferentiedataPickdocumentenCard, order: 10 }],
52
52
  };
53
- export * from './lib/pickStickers';
54
- export { CartStickerState, OrderStickerMeldingen } from './components/pick/StickerState';
55
- export * from "./lib/pick145";
53
+ export * from './lib/pickStickers.js';
54
+ export { CartStickerState, OrderStickerMeldingen } from './components/pick/StickerState.js';
55
+ export * from "./lib/pick145.js";
@@ -1,6 +1,6 @@
1
1
  // This file is automatically generated. Do not edit it directly.
2
2
  import { createMiddleware } from '@tanstack/react-start';
3
- import { supabase } from './client';
3
+ import { supabase } from './client.js';
4
4
  // Must be registered as a global `functionMiddleware` in `src/start.ts`; otherwise
5
5
  // the browser never attaches the bearer token to serverFn RPCs.
6
6
  export const attachSupabaseAuth = createMiddleware({ type: 'function' }).client(async ({ next }) => {
@@ -1,5 +1,5 @@
1
1
  import type { SupabaseClient } from '@supabase/supabase-js';
2
- import type { Database } from './types';
2
+ import type { Database } from './types.js';
3
3
  export interface AuthedSupabaseClient extends SupabaseClient<Database> {
4
4
  }
5
5
  export declare const requireSupabaseAuth: import("@tanstack/start-client-core").FunctionMiddlewareAfterServer<{}, unknown, undefined, {
@@ -1,4 +1,4 @@
1
1
  import type { SupabaseClient } from '@supabase/supabase-js';
2
- import type { Database } from './types';
2
+ import type { Database } from './types.js';
3
3
  export declare const supabaseAdmin: SupabaseClient<Database>;
4
4
  //# sourceMappingURL=client.server.d.ts.map
@@ -7153,7 +7153,11 @@ export type Database = {
7153
7153
  quantity: number | null;
7154
7154
  sales_order_id: string | null;
7155
7155
  sequence_number: number;
7156
+ should_be_printed: boolean | null;
7156
7157
  status: string | null;
7158
+ sticker_height_mm: number | null;
7159
+ sticker_type: string | null;
7160
+ sticker_width_mm: number | null;
7157
7161
  trade_item_id: string | null;
7158
7162
  updated_at: string;
7159
7163
  };
@@ -7168,7 +7172,11 @@ export type Database = {
7168
7172
  quantity?: number | null;
7169
7173
  sales_order_id?: string | null;
7170
7174
  sequence_number?: number;
7175
+ should_be_printed?: boolean | null;
7171
7176
  status?: string | null;
7177
+ sticker_height_mm?: number | null;
7178
+ sticker_type?: string | null;
7179
+ sticker_width_mm?: number | null;
7172
7180
  trade_item_id?: string | null;
7173
7181
  updated_at?: string;
7174
7182
  };
@@ -7183,7 +7191,11 @@ export type Database = {
7183
7191
  quantity?: number | null;
7184
7192
  sales_order_id?: string | null;
7185
7193
  sequence_number?: number;
7194
+ should_be_printed?: boolean | null;
7186
7195
  status?: string | null;
7196
+ sticker_height_mm?: number | null;
7197
+ sticker_type?: string | null;
7198
+ sticker_width_mm?: number | null;
7187
7199
  trade_item_id?: string | null;
7188
7200
  updated_at?: string;
7189
7201
  };
@@ -11941,6 +11953,36 @@ export type Database = {
11941
11953
  };
11942
11954
  Relationships: [];
11943
11955
  };
11956
+ logistics_cart_archive_log: {
11957
+ Row: {
11958
+ action: string;
11959
+ actor: string | null;
11960
+ cart_id: string;
11961
+ created_at: string;
11962
+ id: string;
11963
+ reason: string | null;
11964
+ snapshot: Json | null;
11965
+ };
11966
+ Insert: {
11967
+ action: string;
11968
+ actor?: string | null;
11969
+ cart_id: string;
11970
+ created_at?: string;
11971
+ id?: string;
11972
+ reason?: string | null;
11973
+ snapshot?: Json | null;
11974
+ };
11975
+ Update: {
11976
+ action?: string;
11977
+ actor?: string | null;
11978
+ cart_id?: string;
11979
+ created_at?: string;
11980
+ id?: string;
11981
+ reason?: string | null;
11982
+ snapshot?: Json | null;
11983
+ };
11984
+ Relationships: [];
11985
+ };
11944
11986
  logistics_cart_barcode: {
11945
11987
  Row: {
11946
11988
  barcode: string;
@@ -16498,6 +16540,9 @@ export type Database = {
16498
16540
  order_carts: {
16499
16541
  Row: {
16500
16542
  algorithm_version: number;
16543
+ archived_at: string | null;
16544
+ archived_by: string | null;
16545
+ archived_reason: string | null;
16501
16546
  buffer_id: string | null;
16502
16547
  carrier_id: string | null;
16503
16548
  carrier_type: string;
@@ -16528,6 +16573,9 @@ export type Database = {
16528
16573
  };
16529
16574
  Insert: {
16530
16575
  algorithm_version?: number;
16576
+ archived_at?: string | null;
16577
+ archived_by?: string | null;
16578
+ archived_reason?: string | null;
16531
16579
  buffer_id?: string | null;
16532
16580
  carrier_id?: string | null;
16533
16581
  carrier_type?: string;
@@ -16558,6 +16606,9 @@ export type Database = {
16558
16606
  };
16559
16607
  Update: {
16560
16608
  algorithm_version?: number;
16609
+ archived_at?: string | null;
16610
+ archived_by?: string | null;
16611
+ archived_reason?: string | null;
16561
16612
  buffer_id?: string | null;
16562
16613
  carrier_id?: string | null;
16563
16614
  carrier_type?: string;
@@ -16731,6 +16782,7 @@ export type Database = {
16731
16782
  Row: {
16732
16783
  administration_code: string | null;
16733
16784
  attempts: number;
16785
+ block_reason: string | null;
16734
16786
  created_at: string;
16735
16787
  error_message: string | null;
16736
16788
  id: string;
@@ -16738,6 +16790,8 @@ export type Database = {
16738
16790
  next_attempt_at: string;
16739
16791
  order_id: string;
16740
16792
  processed_at: string | null;
16793
+ revive_reason: string | null;
16794
+ revived_at: string | null;
16741
16795
  send_error: string | null;
16742
16796
  status: string;
16743
16797
  updated_at: string;
@@ -16745,6 +16799,7 @@ export type Database = {
16745
16799
  Insert: {
16746
16800
  administration_code?: string | null;
16747
16801
  attempts?: number;
16802
+ block_reason?: string | null;
16748
16803
  created_at?: string;
16749
16804
  error_message?: string | null;
16750
16805
  id?: string;
@@ -16752,6 +16807,8 @@ export type Database = {
16752
16807
  next_attempt_at?: string;
16753
16808
  order_id: string;
16754
16809
  processed_at?: string | null;
16810
+ revive_reason?: string | null;
16811
+ revived_at?: string | null;
16755
16812
  send_error?: string | null;
16756
16813
  status?: string;
16757
16814
  updated_at?: string;
@@ -16759,6 +16816,7 @@ export type Database = {
16759
16816
  Update: {
16760
16817
  administration_code?: string | null;
16761
16818
  attempts?: number;
16819
+ block_reason?: string | null;
16762
16820
  created_at?: string;
16763
16821
  error_message?: string | null;
16764
16822
  id?: string;
@@ -16766,6 +16824,8 @@ export type Database = {
16766
16824
  next_attempt_at?: string;
16767
16825
  order_id?: string;
16768
16826
  processed_at?: string | null;
16827
+ revive_reason?: string | null;
16828
+ revived_at?: string | null;
16769
16829
  send_error?: string | null;
16770
16830
  status?: string;
16771
16831
  updated_at?: string;
@@ -19167,18 +19227,21 @@ export type Database = {
19167
19227
  genegeerd_door: string | null;
19168
19228
  genegeerd_op: string;
19169
19229
  id: string;
19230
+ printnode_computer_id: number | null;
19170
19231
  };
19171
19232
  Insert: {
19172
19233
  computer_naam: string;
19173
19234
  genegeerd_door?: string | null;
19174
19235
  genegeerd_op?: string;
19175
19236
  id?: string;
19237
+ printnode_computer_id?: number | null;
19176
19238
  };
19177
19239
  Update: {
19178
19240
  computer_naam?: string;
19179
19241
  genegeerd_door?: string | null;
19180
19242
  genegeerd_op?: string;
19181
19243
  id?: string;
19244
+ printnode_computer_id?: number | null;
19182
19245
  };
19183
19246
  Relationships: [];
19184
19247
  };
@@ -19420,6 +19483,7 @@ export type Database = {
19420
19483
  created_at: string;
19421
19484
  id: string;
19422
19485
  print_plek_id: string;
19486
+ printnode_computer_id: number | null;
19423
19487
  updated_at: string;
19424
19488
  };
19425
19489
  Insert: {
@@ -19427,6 +19491,7 @@ export type Database = {
19427
19491
  created_at?: string;
19428
19492
  id?: string;
19429
19493
  print_plek_id: string;
19494
+ printnode_computer_id?: number | null;
19430
19495
  updated_at?: string;
19431
19496
  };
19432
19497
  Update: {
@@ -19434,6 +19499,7 @@ export type Database = {
19434
19499
  created_at?: string;
19435
19500
  id?: string;
19436
19501
  print_plek_id?: string;
19502
+ printnode_computer_id?: number | null;
19437
19503
  updated_at?: string;
19438
19504
  };
19439
19505
  Relationships: [
@@ -31252,6 +31318,32 @@ export type Database = {
31252
31318
  };
31253
31319
  Returns: number;
31254
31320
  };
31321
+ logistics_cart_archive: {
31322
+ Args: {
31323
+ p_confirm_count: number;
31324
+ p_ids: string[];
31325
+ p_reason: string;
31326
+ };
31327
+ Returns: Json;
31328
+ };
31329
+ logistics_cart_archive_classify: {
31330
+ Args: never;
31331
+ Returns: {
31332
+ buffer_id: string;
31333
+ cart_id: string;
31334
+ cart_number: number;
31335
+ created_at: string;
31336
+ deel: string;
31337
+ groep: string;
31338
+ order_id: string;
31339
+ order_number: string;
31340
+ reden: string;
31341
+ }[];
31342
+ };
31343
+ logistics_cart_archive_preview: {
31344
+ Args: never;
31345
+ Returns: Json;
31346
+ };
31255
31347
  logistics_cart_barcode_opschonen: {
31256
31348
  Args: {
31257
31349
  p_portie?: number;
@@ -31325,6 +31417,12 @@ export type Database = {
31325
31417
  task_status: string;
31326
31418
  }[];
31327
31419
  };
31420
+ logistics_cart_is_archived: {
31421
+ Args: {
31422
+ p_cart_id: string;
31423
+ };
31424
+ Returns: boolean;
31425
+ };
31328
31426
  logistics_cart_is_frozen: {
31329
31427
  Args: {
31330
31428
  p_cart_id: string;
@@ -31439,6 +31537,13 @@ export type Database = {
31439
31537
  };
31440
31538
  Returns: Json;
31441
31539
  };
31540
+ logistics_cart_unarchive: {
31541
+ Args: {
31542
+ p_ids: string[];
31543
+ p_reason: string;
31544
+ };
31545
+ Returns: Json;
31546
+ };
31442
31547
  logistics_cart_units: {
31443
31548
  Args: {
31444
31549
  p_from?: string;