@flowselections/pick-schermen-kwekers 1.0.3 → 1.0.5

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.
@@ -1901,6 +1901,41 @@ export type Database = {
1901
1901
  }
1902
1902
  ];
1903
1903
  };
1904
+ customer_notes: {
1905
+ Row: {
1906
+ created_at: string;
1907
+ customer_id: string | null;
1908
+ group_key: string | null;
1909
+ id: string;
1910
+ notes: string | null;
1911
+ updated_at: string;
1912
+ };
1913
+ Insert: {
1914
+ created_at?: string;
1915
+ customer_id?: string | null;
1916
+ group_key?: string | null;
1917
+ id?: string;
1918
+ notes?: string | null;
1919
+ updated_at?: string;
1920
+ };
1921
+ Update: {
1922
+ created_at?: string;
1923
+ customer_id?: string | null;
1924
+ group_key?: string | null;
1925
+ id?: string;
1926
+ notes?: string | null;
1927
+ updated_at?: string;
1928
+ };
1929
+ Relationships: [
1930
+ {
1931
+ foreignKeyName: "customer_notes_customer_id_fkey";
1932
+ columns: ["customer_id"];
1933
+ isOneToOne: true;
1934
+ referencedRelation: "customers";
1935
+ referencedColumns: ["id"];
1936
+ }
1937
+ ];
1938
+ };
1904
1939
  customer_price_group_members: {
1905
1940
  Row: {
1906
1941
  created_at: string;
@@ -8400,6 +8435,66 @@ export type Database = {
8400
8435
  };
8401
8436
  Relationships: [];
8402
8437
  };
8438
+ logistics_recalc_jobs: {
8439
+ Row: {
8440
+ carts_created: number;
8441
+ created_at: string;
8442
+ cursor: string | null;
8443
+ errors: Json;
8444
+ failed: number;
8445
+ finished_at: string | null;
8446
+ id: string;
8447
+ last_tick_at: string | null;
8448
+ phase: string;
8449
+ processed: number;
8450
+ skipped_locked: number;
8451
+ started_by: string | null;
8452
+ status: string;
8453
+ steps: Json;
8454
+ strategy_id: string | null;
8455
+ tasks_updated: number;
8456
+ updated_at: string;
8457
+ };
8458
+ Insert: {
8459
+ carts_created?: number;
8460
+ created_at?: string;
8461
+ cursor?: string | null;
8462
+ errors?: Json;
8463
+ failed?: number;
8464
+ finished_at?: string | null;
8465
+ id?: string;
8466
+ last_tick_at?: string | null;
8467
+ phase?: string;
8468
+ processed?: number;
8469
+ skipped_locked?: number;
8470
+ started_by?: string | null;
8471
+ status?: string;
8472
+ steps?: Json;
8473
+ strategy_id?: string | null;
8474
+ tasks_updated?: number;
8475
+ updated_at?: string;
8476
+ };
8477
+ Update: {
8478
+ carts_created?: number;
8479
+ created_at?: string;
8480
+ cursor?: string | null;
8481
+ errors?: Json;
8482
+ failed?: number;
8483
+ finished_at?: string | null;
8484
+ id?: string;
8485
+ last_tick_at?: string | null;
8486
+ phase?: string;
8487
+ processed?: number;
8488
+ skipped_locked?: number;
8489
+ started_by?: string | null;
8490
+ status?: string;
8491
+ steps?: Json;
8492
+ strategy_id?: string | null;
8493
+ tasks_updated?: number;
8494
+ updated_at?: string;
8495
+ };
8496
+ Relationships: [];
8497
+ };
8403
8498
  logistics_reschedules: {
8404
8499
  Row: {
8405
8500
  created_at: string;
@@ -13813,6 +13908,7 @@ export type Database = {
13813
13908
  buffer_key: string | null;
13814
13909
  created_at: string;
13815
13910
  customer_names: string[];
13911
+ device_id: string | null;
13816
13912
  geprint: boolean;
13817
13913
  geprint_op: string | null;
13818
13914
  id: string;
@@ -13822,6 +13918,7 @@ export type Database = {
13822
13918
  naar_pickstation: boolean;
13823
13919
  naar_pickstation_op: string | null;
13824
13920
  order_number: string | null;
13921
+ scanner_id: string | null;
13825
13922
  scanner_key: string;
13826
13923
  status: string;
13827
13924
  totaal_producten: number;
@@ -13832,6 +13929,7 @@ export type Database = {
13832
13929
  buffer_key?: string | null;
13833
13930
  created_at?: string;
13834
13931
  customer_names?: string[];
13932
+ device_id?: string | null;
13835
13933
  geprint?: boolean;
13836
13934
  geprint_op?: string | null;
13837
13935
  id?: string;
@@ -13841,6 +13939,7 @@ export type Database = {
13841
13939
  naar_pickstation?: boolean;
13842
13940
  naar_pickstation_op?: string | null;
13843
13941
  order_number?: string | null;
13942
+ scanner_id?: string | null;
13844
13943
  scanner_key?: string;
13845
13944
  status?: string;
13846
13945
  totaal_producten?: number;
@@ -13851,6 +13950,7 @@ export type Database = {
13851
13950
  buffer_key?: string | null;
13852
13951
  created_at?: string;
13853
13952
  customer_names?: string[];
13953
+ device_id?: string | null;
13854
13954
  geprint?: boolean;
13855
13955
  geprint_op?: string | null;
13856
13956
  id?: string;
@@ -13860,6 +13960,7 @@ export type Database = {
13860
13960
  naar_pickstation?: boolean;
13861
13961
  naar_pickstation_op?: string | null;
13862
13962
  order_number?: string | null;
13963
+ scanner_id?: string | null;
13863
13964
  scanner_key?: string;
13864
13965
  status?: string;
13865
13966
  totaal_producten?: number;
@@ -13871,31 +13972,46 @@ export type Database = {
13871
13972
  Row: {
13872
13973
  code: string;
13873
13974
  created_at: string;
13975
+ device_id: string | null;
13874
13976
  id: string;
13875
13977
  kar_id: string | null;
13978
+ latency_ms: number | null;
13979
+ medewerker_naam: string | null;
13876
13980
  message: string | null;
13877
13981
  result: string;
13982
+ retry_count: number;
13878
13983
  scanner_key: string;
13984
+ session_id: string | null;
13879
13985
  user_id: string | null;
13880
13986
  };
13881
13987
  Insert: {
13882
13988
  code: string;
13883
13989
  created_at?: string;
13990
+ device_id?: string | null;
13884
13991
  id?: string;
13885
13992
  kar_id?: string | null;
13993
+ latency_ms?: number | null;
13994
+ medewerker_naam?: string | null;
13886
13995
  message?: string | null;
13887
13996
  result: string;
13997
+ retry_count?: number;
13888
13998
  scanner_key?: string;
13999
+ session_id?: string | null;
13889
14000
  user_id?: string | null;
13890
14001
  };
13891
14002
  Update: {
13892
14003
  code?: string;
13893
14004
  created_at?: string;
14005
+ device_id?: string | null;
13894
14006
  id?: string;
13895
14007
  kar_id?: string | null;
14008
+ latency_ms?: number | null;
14009
+ medewerker_naam?: string | null;
13896
14010
  message?: string | null;
13897
14011
  result?: string;
14012
+ retry_count?: number;
13898
14013
  scanner_key?: string;
14014
+ session_id?: string | null;
13899
14015
  user_id?: string | null;
13900
14016
  };
13901
14017
  Relationships: [];
@@ -13954,6 +14070,9 @@ export type Database = {
13954
14070
  printed_at: string;
13955
14071
  status: string;
13956
14072
  updated_at: string;
14073
+ vergrendeld_door: string | null;
14074
+ vergrendeld_sessie: string | null;
14075
+ vergrendeld_tot: string | null;
13957
14076
  };
13958
14077
  Insert: {
13959
14078
  barcode: string;
@@ -13967,6 +14086,9 @@ export type Database = {
13967
14086
  printed_at?: string;
13968
14087
  status?: string;
13969
14088
  updated_at?: string;
14089
+ vergrendeld_door?: string | null;
14090
+ vergrendeld_sessie?: string | null;
14091
+ vergrendeld_tot?: string | null;
13970
14092
  };
13971
14093
  Update: {
13972
14094
  barcode?: string;
@@ -13980,6 +14102,9 @@ export type Database = {
13980
14102
  printed_at?: string;
13981
14103
  status?: string;
13982
14104
  updated_at?: string;
14105
+ vergrendeld_door?: string | null;
14106
+ vergrendeld_sessie?: string | null;
14107
+ vergrendeld_tot?: string | null;
13983
14108
  };
13984
14109
  Relationships: [];
13985
14110
  };
@@ -13988,31 +14113,40 @@ export type Database = {
13988
14113
  actief: boolean;
13989
14114
  created_at: string;
13990
14115
  id: string;
14116
+ max_producten_per_kar: number | null;
13991
14117
  naam: string;
13992
14118
  omschrijving: string | null;
14119
+ pincode: string | null;
13993
14120
  slug: string;
13994
14121
  type: string;
13995
14122
  updated_at: string;
14123
+ vereist_medewerker: boolean;
13996
14124
  };
13997
14125
  Insert: {
13998
14126
  actief?: boolean;
13999
14127
  created_at?: string;
14000
14128
  id?: string;
14129
+ max_producten_per_kar?: number | null;
14001
14130
  naam: string;
14002
14131
  omschrijving?: string | null;
14132
+ pincode?: string | null;
14003
14133
  slug: string;
14004
14134
  type?: string;
14005
14135
  updated_at?: string;
14136
+ vereist_medewerker?: boolean;
14006
14137
  };
14007
14138
  Update: {
14008
14139
  actief?: boolean;
14009
14140
  created_at?: string;
14010
14141
  id?: string;
14142
+ max_producten_per_kar?: number | null;
14011
14143
  naam?: string;
14012
14144
  omschrijving?: string | null;
14145
+ pincode?: string | null;
14013
14146
  slug?: string;
14014
14147
  type?: string;
14015
14148
  updated_at?: string;
14149
+ vereist_medewerker?: boolean;
14016
14150
  };
14017
14151
  Relationships: [];
14018
14152
  };
@@ -18683,6 +18817,10 @@ export type Database = {
18683
18817
  };
18684
18818
  Returns: string;
18685
18819
  };
18820
+ logistics_active_pick_workdays: {
18821
+ Args: never;
18822
+ Returns: string[];
18823
+ };
18686
18824
  logistics_address_key: {
18687
18825
  Args: {
18688
18826
  p_location: string;
@@ -19206,6 +19344,13 @@ export type Database = {
19206
19344
  };
19207
19345
  Returns: Json;
19208
19346
  };
19347
+ logistics_shift_to_workday: {
19348
+ Args: {
19349
+ p_days: string[];
19350
+ p_ts: string;
19351
+ };
19352
+ Returns: string;
19353
+ };
19209
19354
  logistics_supersede_stale_tasks: {
19210
19355
  Args: {
19211
19356
  p_keep: string[];
@@ -19730,6 +19875,60 @@ export type Database = {
19730
19875
  Args: never;
19731
19876
  Returns: undefined;
19732
19877
  };
19878
+ scan_cancel_kar: {
19879
+ Args: {
19880
+ p_kar_id: string;
19881
+ };
19882
+ Returns: Json;
19883
+ };
19884
+ scan_dashboard_stats: {
19885
+ Args: {
19886
+ p_dagen?: number;
19887
+ };
19888
+ Returns: Json;
19889
+ };
19890
+ scan_finish_kar: {
19891
+ Args: {
19892
+ p_kar_id: string;
19893
+ };
19894
+ Returns: Json;
19895
+ };
19896
+ scan_register_item: {
19897
+ Args: {
19898
+ p_kar_id: string;
19899
+ p_pakbon_item_id: string;
19900
+ p_scanned_by?: string;
19901
+ };
19902
+ Returns: Json;
19903
+ };
19904
+ scan_release_expired_locks: {
19905
+ Args: never;
19906
+ Returns: Json;
19907
+ };
19908
+ scan_remove_item: {
19909
+ Args: {
19910
+ p_kar_item_id: string;
19911
+ };
19912
+ Returns: Json;
19913
+ };
19914
+ scan_start_kar: {
19915
+ Args: {
19916
+ p_medewerker_id?: string;
19917
+ p_medewerker_naam?: string;
19918
+ p_pakbon_ids: string[];
19919
+ p_scanner_key?: string;
19920
+ };
19921
+ Returns: Json;
19922
+ } | {
19923
+ Args: {
19924
+ p_medewerker_id?: string;
19925
+ p_medewerker_naam?: string;
19926
+ p_pakbon_ids: string[];
19927
+ p_scanner_key?: string;
19928
+ p_sessie?: string;
19929
+ };
19930
+ Returns: Json;
19931
+ };
19733
19932
  schedule_floriday_additional_services_sync: {
19734
19933
  Args: {
19735
19934
  p_apikey: string;