@flowselections/floriday-authenticatie-module 1.0.50 → 1.0.51

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 (38) hide show
  1. package/dist-lib/integrations/supabase/auth-middleware.d.ts +515 -6
  2. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  3. package/dist-lib/integrations/supabase/client.server.d.ts +515 -6
  4. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/types.d.ts +526 -6
  6. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  7. package/dist-lib/lib/cron/index.d.ts +1 -0
  8. package/dist-lib/lib/cron/index.d.ts.map +1 -1
  9. package/dist-lib/lib/cron/index.js +1 -0
  10. package/dist-lib/lib/cron/retry-floriday-documents.d.ts +28 -0
  11. package/dist-lib/lib/cron/retry-floriday-documents.d.ts.map +1 -0
  12. package/dist-lib/lib/cron/retry-floriday-documents.js +220 -0
  13. package/dist-lib/lib/floricode.functions.d.ts +3605 -42
  14. package/dist-lib/lib/floricode.functions.d.ts.map +1 -1
  15. package/dist-lib/lib/floriday-api-log.functions.d.ts +4635 -54
  16. package/dist-lib/lib/floriday-api-log.functions.d.ts.map +1 -1
  17. package/dist-lib/lib/floriday-auction-letters.functions.d.ts +515 -6
  18. package/dist-lib/lib/floriday-auction-letters.functions.d.ts.map +1 -1
  19. package/dist-lib/lib/floriday-auction-letters.functions.js +22 -0
  20. package/dist-lib/lib/floriday-document-queue.d.ts +21 -0
  21. package/dist-lib/lib/floriday-document-queue.d.ts.map +1 -0
  22. package/dist-lib/lib/floriday-document-queue.js +96 -0
  23. package/dist-lib/lib/floriday-labels.functions.d.ts +515 -6
  24. package/dist-lib/lib/floriday-labels.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/floriday-public.functions.d.ts +3090 -36
  26. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/floriday-stickers.functions.d.ts +515 -6
  28. package/dist-lib/lib/floriday-stickers.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/floriday-stickers.functions.js +23 -0
  30. package/dist-lib/lib/floriday-sync.functions.d.ts +2 -2
  31. package/dist-lib/lib/floriday-sync.functions.d.ts.map +1 -1
  32. package/dist-lib/lib/floriday-tray-stickers.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/floriday-tray-stickers.functions.js +21 -0
  34. package/dist-lib/lib/floriday-writes.functions.d.ts +4120 -48
  35. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/floriday.functions.d.ts +11374 -440
  37. package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
  38. package/package.json +2 -2
@@ -752,6 +752,27 @@ export type Database = {
752
752
  };
753
753
  Relationships: [];
754
754
  };
755
+ artikelen_instellingen: {
756
+ Row: {
757
+ created_at: string;
758
+ id: number;
759
+ marge_procent: number;
760
+ updated_at: string;
761
+ };
762
+ Insert: {
763
+ created_at?: string;
764
+ id?: number;
765
+ marge_procent?: number;
766
+ updated_at?: string;
767
+ };
768
+ Update: {
769
+ created_at?: string;
770
+ id?: number;
771
+ marge_procent?: number;
772
+ updated_at?: string;
773
+ };
774
+ Relationships: [];
775
+ };
755
776
  artikelen_veldconfig: {
756
777
  Row: {
757
778
  bron_pad: string;
@@ -3184,6 +3205,7 @@ export type Database = {
3184
3205
  formaat_code: string;
3185
3206
  id: string;
3186
3207
  printer_id: string | null;
3208
+ printer_ontbreekt_sinds: string | null;
3187
3209
  updated_at: string;
3188
3210
  };
3189
3211
  Insert: {
@@ -3192,6 +3214,7 @@ export type Database = {
3192
3214
  formaat_code: string;
3193
3215
  id?: string;
3194
3216
  printer_id?: string | null;
3217
+ printer_ontbreekt_sinds?: string | null;
3195
3218
  updated_at?: string;
3196
3219
  };
3197
3220
  Update: {
@@ -3200,6 +3223,7 @@ export type Database = {
3200
3223
  formaat_code?: string;
3201
3224
  id?: string;
3202
3225
  printer_id?: string | null;
3226
+ printer_ontbreekt_sinds?: string | null;
3203
3227
  updated_at?: string;
3204
3228
  };
3205
3229
  Relationships: [
@@ -3549,6 +3573,7 @@ export type Database = {
3549
3573
  papierformaat: string | null;
3550
3574
  print_plek_id: string;
3551
3575
  printer_id: string | null;
3576
+ printer_ontbreekt_sinds: string | null;
3552
3577
  updated_at: string;
3553
3578
  };
3554
3579
  Insert: {
@@ -3558,6 +3583,7 @@ export type Database = {
3558
3583
  papierformaat?: string | null;
3559
3584
  print_plek_id: string;
3560
3585
  printer_id?: string | null;
3586
+ printer_ontbreekt_sinds?: string | null;
3561
3587
  updated_at?: string;
3562
3588
  };
3563
3589
  Update: {
@@ -3567,6 +3593,7 @@ export type Database = {
3567
3593
  papierformaat?: string | null;
3568
3594
  print_plek_id?: string;
3569
3595
  printer_id?: string | null;
3596
+ printer_ontbreekt_sinds?: string | null;
3570
3597
  updated_at?: string;
3571
3598
  };
3572
3599
  Relationships: [
@@ -3593,6 +3620,7 @@ export type Database = {
3593
3620
  id: string;
3594
3621
  papierformaat: string | null;
3595
3622
  printer_id: string | null;
3623
+ printer_ontbreekt_sinds: string | null;
3596
3624
  updated_at: string;
3597
3625
  werkplek: string;
3598
3626
  };
@@ -3602,6 +3630,7 @@ export type Database = {
3602
3630
  id?: string;
3603
3631
  papierformaat?: string | null;
3604
3632
  printer_id?: string | null;
3633
+ printer_ontbreekt_sinds?: string | null;
3605
3634
  updated_at?: string;
3606
3635
  werkplek: string;
3607
3636
  };
@@ -3611,6 +3640,7 @@ export type Database = {
3611
3640
  id?: string;
3612
3641
  papierformaat?: string | null;
3613
3642
  printer_id?: string | null;
3643
+ printer_ontbreekt_sinds?: string | null;
3614
3644
  updated_at?: string;
3615
3645
  werkplek?: string;
3616
3646
  };
@@ -7002,6 +7032,80 @@ export type Database = {
7002
7032
  }
7003
7033
  ];
7004
7034
  };
7035
+ floriday_document_fetch_queue: {
7036
+ Row: {
7037
+ attempts: number;
7038
+ cancelled_reason: string | null;
7039
+ completed_at: string | null;
7040
+ connection_id: string;
7041
+ created_at: string;
7042
+ document_key: string;
7043
+ environment: string;
7044
+ id: string;
7045
+ kind: string;
7046
+ last_error: string | null;
7047
+ last_http_status: number | null;
7048
+ locked_at: string | null;
7049
+ locked_by: string | null;
7050
+ max_attempts: number;
7051
+ next_attempt_at: string;
7052
+ order_ref: string | null;
7053
+ params: Json;
7054
+ status: string;
7055
+ updated_at: string;
7056
+ };
7057
+ Insert: {
7058
+ attempts?: number;
7059
+ cancelled_reason?: string | null;
7060
+ completed_at?: string | null;
7061
+ connection_id: string;
7062
+ created_at?: string;
7063
+ document_key: string;
7064
+ environment: string;
7065
+ id?: string;
7066
+ kind: string;
7067
+ last_error?: string | null;
7068
+ last_http_status?: number | null;
7069
+ locked_at?: string | null;
7070
+ locked_by?: string | null;
7071
+ max_attempts?: number;
7072
+ next_attempt_at?: string;
7073
+ order_ref?: string | null;
7074
+ params?: Json;
7075
+ status?: string;
7076
+ updated_at?: string;
7077
+ };
7078
+ Update: {
7079
+ attempts?: number;
7080
+ cancelled_reason?: string | null;
7081
+ completed_at?: string | null;
7082
+ connection_id?: string;
7083
+ created_at?: string;
7084
+ document_key?: string;
7085
+ environment?: string;
7086
+ id?: string;
7087
+ kind?: string;
7088
+ last_error?: string | null;
7089
+ last_http_status?: number | null;
7090
+ locked_at?: string | null;
7091
+ locked_by?: string | null;
7092
+ max_attempts?: number;
7093
+ next_attempt_at?: string;
7094
+ order_ref?: string | null;
7095
+ params?: Json;
7096
+ status?: string;
7097
+ updated_at?: string;
7098
+ };
7099
+ Relationships: [
7100
+ {
7101
+ foreignKeyName: "floriday_document_fetch_queue_connection_id_fkey";
7102
+ columns: ["connection_id"];
7103
+ isOneToOne: false;
7104
+ referencedRelation: "floriday_connections";
7105
+ referencedColumns: ["id"];
7106
+ }
7107
+ ];
7108
+ };
7005
7109
  floriday_fulfillment_orders_cache: {
7006
7110
  Row: {
7007
7111
  auction_date: string | null;
@@ -9848,6 +9952,7 @@ export type Database = {
9848
9952
  viewed_at: string | null;
9849
9953
  volgnummer: number | null;
9850
9954
  voorwaarden: string | null;
9955
+ werkbon_concept: Json | null;
9851
9956
  werkbon_id: string | null;
9852
9957
  work_location_id: string | null;
9853
9958
  };
@@ -9885,6 +9990,7 @@ export type Database = {
9885
9990
  viewed_at?: string | null;
9886
9991
  volgnummer?: number | null;
9887
9992
  voorwaarden?: string | null;
9993
+ werkbon_concept?: Json | null;
9888
9994
  werkbon_id?: string | null;
9889
9995
  work_location_id?: string | null;
9890
9996
  };
@@ -9922,6 +10028,7 @@ export type Database = {
9922
10028
  viewed_at?: string | null;
9923
10029
  volgnummer?: number | null;
9924
10030
  voorwaarden?: string | null;
10031
+ werkbon_concept?: Json | null;
9925
10032
  werkbon_id?: string | null;
9926
10033
  work_location_id?: string | null;
9927
10034
  };
@@ -10677,6 +10784,30 @@ export type Database = {
10677
10784
  };
10678
10785
  Relationships: [];
10679
10786
  };
10787
+ logistics_cart_barcode_archief: {
10788
+ Row: {
10789
+ barcode: string;
10790
+ cart_id: string;
10791
+ created_at: string | null;
10792
+ gearchiveerd_op: string;
10793
+ order_id: string | null;
10794
+ };
10795
+ Insert: {
10796
+ barcode: string;
10797
+ cart_id: string;
10798
+ created_at?: string | null;
10799
+ gearchiveerd_op?: string;
10800
+ order_id?: string | null;
10801
+ };
10802
+ Update: {
10803
+ barcode?: string;
10804
+ cart_id?: string;
10805
+ created_at?: string | null;
10806
+ gearchiveerd_op?: string;
10807
+ order_id?: string | null;
10808
+ };
10809
+ Relationships: [];
10810
+ };
10680
10811
  logistics_control_scan: {
10681
10812
  Row: {
10682
10813
  approved_at: string | null;
@@ -16461,18 +16592,24 @@ export type Database = {
16461
16592
  Row: {
16462
16593
  id: boolean;
16463
16594
  last_cleanup_at: string | null;
16595
+ last_error: string | null;
16596
+ last_error_at: string | null;
16464
16597
  last_sync_at: string | null;
16465
16598
  updated_at: string;
16466
16599
  };
16467
16600
  Insert: {
16468
16601
  id?: boolean;
16469
16602
  last_cleanup_at?: string | null;
16603
+ last_error?: string | null;
16604
+ last_error_at?: string | null;
16470
16605
  last_sync_at?: string | null;
16471
16606
  updated_at?: string;
16472
16607
  };
16473
16608
  Update: {
16474
16609
  id?: boolean;
16475
16610
  last_cleanup_at?: string | null;
16611
+ last_error?: string | null;
16612
+ last_error_at?: string | null;
16476
16613
  last_sync_at?: string | null;
16477
16614
  updated_at?: string;
16478
16615
  };
@@ -16601,6 +16738,57 @@ export type Database = {
16601
16738
  };
16602
16739
  Relationships: [];
16603
16740
  };
16741
+ planning_confirmation_log: {
16742
+ Row: {
16743
+ created_at: string;
16744
+ end_at: string;
16745
+ id: string;
16746
+ outbox_id: string | null;
16747
+ planning_item_id: string;
16748
+ reason: string | null;
16749
+ recipient: string | null;
16750
+ start_at: string;
16751
+ status: string;
16752
+ };
16753
+ Insert: {
16754
+ created_at?: string;
16755
+ end_at: string;
16756
+ id?: string;
16757
+ outbox_id?: string | null;
16758
+ planning_item_id: string;
16759
+ reason?: string | null;
16760
+ recipient?: string | null;
16761
+ start_at: string;
16762
+ status: string;
16763
+ };
16764
+ Update: {
16765
+ created_at?: string;
16766
+ end_at?: string;
16767
+ id?: string;
16768
+ outbox_id?: string | null;
16769
+ planning_item_id?: string;
16770
+ reason?: string | null;
16771
+ recipient?: string | null;
16772
+ start_at?: string;
16773
+ status?: string;
16774
+ };
16775
+ Relationships: [
16776
+ {
16777
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16778
+ columns: ["planning_item_id"];
16779
+ isOneToOne: false;
16780
+ referencedRelation: "planning_items";
16781
+ referencedColumns: ["id"];
16782
+ },
16783
+ {
16784
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16785
+ columns: ["planning_item_id"];
16786
+ isOneToOne: false;
16787
+ referencedRelation: "planning_overview";
16788
+ referencedColumns: ["id"];
16789
+ }
16790
+ ];
16791
+ };
16604
16792
  planning_item_assistants: {
16605
16793
  Row: {
16606
16794
  created_at: string;
@@ -16691,6 +16879,63 @@ export type Database = {
16691
16879
  }
16692
16880
  ];
16693
16881
  };
16882
+ planning_mail_settings: {
16883
+ Row: {
16884
+ body_template: string;
16885
+ cc: string[];
16886
+ connection_id: string | null;
16887
+ created_at: string;
16888
+ enabled: boolean;
16889
+ id: boolean;
16890
+ reply_to: string | null;
16891
+ subject_template: string;
16892
+ timezone: string;
16893
+ updated_at: string;
16894
+ updated_by: string | null;
16895
+ };
16896
+ Insert: {
16897
+ body_template?: string;
16898
+ cc?: string[];
16899
+ connection_id?: string | null;
16900
+ created_at?: string;
16901
+ enabled?: boolean;
16902
+ id?: boolean;
16903
+ reply_to?: string | null;
16904
+ subject_template?: string;
16905
+ timezone?: string;
16906
+ updated_at?: string;
16907
+ updated_by?: string | null;
16908
+ };
16909
+ Update: {
16910
+ body_template?: string;
16911
+ cc?: string[];
16912
+ connection_id?: string | null;
16913
+ created_at?: string;
16914
+ enabled?: boolean;
16915
+ id?: boolean;
16916
+ reply_to?: string | null;
16917
+ subject_template?: string;
16918
+ timezone?: string;
16919
+ updated_at?: string;
16920
+ updated_by?: string | null;
16921
+ };
16922
+ Relationships: [
16923
+ {
16924
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16925
+ columns: ["connection_id"];
16926
+ isOneToOne: false;
16927
+ referencedRelation: "email_auth_connections";
16928
+ referencedColumns: ["id"];
16929
+ },
16930
+ {
16931
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16932
+ columns: ["connection_id"];
16933
+ isOneToOne: false;
16934
+ referencedRelation: "email_auth_connections_safe";
16935
+ referencedColumns: ["id"];
16936
+ }
16937
+ ];
16938
+ };
16694
16939
  planning_monteur_day_locations: {
16695
16940
  Row: {
16696
16941
  created_at: string;
@@ -17371,6 +17616,42 @@ export type Database = {
17371
17616
  }
17372
17617
  ];
17373
17618
  };
17619
+ print_plek_printers: {
17620
+ Row: {
17621
+ id: string;
17622
+ print_plek_id: string;
17623
+ printer_id: string;
17624
+ toegevoegd_op: string;
17625
+ };
17626
+ Insert: {
17627
+ id?: string;
17628
+ print_plek_id: string;
17629
+ printer_id: string;
17630
+ toegevoegd_op?: string;
17631
+ };
17632
+ Update: {
17633
+ id?: string;
17634
+ print_plek_id?: string;
17635
+ printer_id?: string;
17636
+ toegevoegd_op?: string;
17637
+ };
17638
+ Relationships: [
17639
+ {
17640
+ foreignKeyName: "print_plek_printers_print_plek_id_fkey";
17641
+ columns: ["print_plek_id"];
17642
+ isOneToOne: false;
17643
+ referencedRelation: "print_plekken";
17644
+ referencedColumns: ["id"];
17645
+ },
17646
+ {
17647
+ foreignKeyName: "print_plek_printers_printer_id_fkey";
17648
+ columns: ["printer_id"];
17649
+ isOneToOne: false;
17650
+ referencedRelation: "printers";
17651
+ referencedColumns: ["id"];
17652
+ }
17653
+ ];
17654
+ };
17374
17655
  print_plekken: {
17375
17656
  Row: {
17376
17657
  actief: boolean;
@@ -17589,7 +17870,8 @@ export type Database = {
17589
17870
  created_at: string;
17590
17871
  id: string;
17591
17872
  layout_id: string;
17592
- printer_id: string;
17873
+ printer_id: string | null;
17874
+ printer_ontbreekt_sinds: string | null;
17593
17875
  prioriteit: number;
17594
17876
  updated_at: string;
17595
17877
  };
@@ -17597,7 +17879,8 @@ export type Database = {
17597
17879
  created_at?: string;
17598
17880
  id?: string;
17599
17881
  layout_id: string;
17600
- printer_id: string;
17882
+ printer_id?: string | null;
17883
+ printer_ontbreekt_sinds?: string | null;
17601
17884
  prioriteit?: number;
17602
17885
  updated_at?: string;
17603
17886
  };
@@ -17605,7 +17888,8 @@ export type Database = {
17605
17888
  created_at?: string;
17606
17889
  id?: string;
17607
17890
  layout_id?: string;
17608
- printer_id?: string;
17891
+ printer_id?: string | null;
17892
+ printer_ontbreekt_sinds?: string | null;
17609
17893
  prioriteit?: number;
17610
17894
  updated_at?: string;
17611
17895
  };
@@ -18221,6 +18505,9 @@ export type Database = {
18221
18505
  lead_time_days: number | null;
18222
18506
  min_order_quantity: number | null;
18223
18507
  notes: string | null;
18508
+ previous_price_cents: number | null;
18509
+ price_source: string;
18510
+ price_updated_at: string | null;
18224
18511
  product_id: string;
18225
18512
  purchase_price_cents: number | null;
18226
18513
  supplier_article_number: string | null;
@@ -18234,6 +18521,9 @@ export type Database = {
18234
18521
  lead_time_days?: number | null;
18235
18522
  min_order_quantity?: number | null;
18236
18523
  notes?: string | null;
18524
+ previous_price_cents?: number | null;
18525
+ price_source?: string;
18526
+ price_updated_at?: string | null;
18237
18527
  product_id: string;
18238
18528
  purchase_price_cents?: number | null;
18239
18529
  supplier_article_number?: string | null;
@@ -18247,6 +18537,9 @@ export type Database = {
18247
18537
  lead_time_days?: number | null;
18248
18538
  min_order_quantity?: number | null;
18249
18539
  notes?: string | null;
18540
+ previous_price_cents?: number | null;
18541
+ price_source?: string;
18542
+ price_updated_at?: string | null;
18250
18543
  product_id?: string;
18251
18544
  purchase_price_cents?: number | null;
18252
18545
  supplier_article_number?: string | null;
@@ -18804,9 +19097,13 @@ export type Database = {
18804
19097
  purchase_order_items: {
18805
19098
  Row: {
18806
19099
  article_number: string | null;
19100
+ cancel_reason: string | null;
19101
+ cancelled_at: string | null;
18807
19102
  created_at: string;
18808
19103
  delivery_date: string | null;
18809
19104
  id: string;
19105
+ incoming_booked: number;
19106
+ line_status: string;
18810
19107
  name: string;
18811
19108
  note: string | null;
18812
19109
  pot_size: string | null;
@@ -18814,6 +19111,8 @@ export type Database = {
18814
19111
  product_type: string;
18815
19112
  purchase_order_id: string;
18816
19113
  quantity: number;
19114
+ received_at: string | null;
19115
+ received_booked: number;
18817
19116
  supplier_id: string | null;
18818
19117
  supplier_product_id: string | null;
18819
19118
  unit_price_cents: number;
@@ -18821,9 +19120,13 @@ export type Database = {
18821
19120
  };
18822
19121
  Insert: {
18823
19122
  article_number?: string | null;
19123
+ cancel_reason?: string | null;
19124
+ cancelled_at?: string | null;
18824
19125
  created_at?: string;
18825
19126
  delivery_date?: string | null;
18826
19127
  id?: string;
19128
+ incoming_booked?: number;
19129
+ line_status?: string;
18827
19130
  name?: string;
18828
19131
  note?: string | null;
18829
19132
  pot_size?: string | null;
@@ -18831,6 +19134,8 @@ export type Database = {
18831
19134
  product_type?: string;
18832
19135
  purchase_order_id: string;
18833
19136
  quantity?: number;
19137
+ received_at?: string | null;
19138
+ received_booked?: number;
18834
19139
  supplier_id?: string | null;
18835
19140
  supplier_product_id?: string | null;
18836
19141
  unit_price_cents?: number;
@@ -18838,9 +19143,13 @@ export type Database = {
18838
19143
  };
18839
19144
  Update: {
18840
19145
  article_number?: string | null;
19146
+ cancel_reason?: string | null;
19147
+ cancelled_at?: string | null;
18841
19148
  created_at?: string;
18842
19149
  delivery_date?: string | null;
18843
19150
  id?: string;
19151
+ incoming_booked?: number;
19152
+ line_status?: string;
18844
19153
  name?: string;
18845
19154
  note?: string | null;
18846
19155
  pot_size?: string | null;
@@ -18848,6 +19157,8 @@ export type Database = {
18848
19157
  product_type?: string;
18849
19158
  purchase_order_id?: string;
18850
19159
  quantity?: number;
19160
+ received_at?: string | null;
19161
+ received_booked?: number;
18851
19162
  supplier_id?: string | null;
18852
19163
  supplier_product_id?: string | null;
18853
19164
  unit_price_cents?: number;
@@ -23631,12 +23942,14 @@ export type Database = {
23631
23942
  created_at: string;
23632
23943
  default_quantity: number;
23633
23944
  description: string | null;
23634
- duration_minutes: number | null;
23945
+ duration_minutes: number;
23635
23946
  id: string;
23947
+ labor_minutes: number;
23636
23948
  mandaat_type: string | null;
23637
23949
  name: string;
23638
23950
  price_mode: string;
23639
23951
  sort_order: number;
23952
+ travel_minutes: number;
23640
23953
  unit_price_cents: number;
23641
23954
  updated_at: string;
23642
23955
  };
@@ -23648,12 +23961,14 @@ export type Database = {
23648
23961
  created_at?: string;
23649
23962
  default_quantity?: number;
23650
23963
  description?: string | null;
23651
- duration_minutes?: number | null;
23964
+ duration_minutes?: number;
23652
23965
  id?: string;
23966
+ labor_minutes?: number;
23653
23967
  mandaat_type?: string | null;
23654
23968
  name: string;
23655
23969
  price_mode?: string;
23656
23970
  sort_order?: number;
23971
+ travel_minutes?: number;
23657
23972
  unit_price_cents?: number;
23658
23973
  updated_at?: string;
23659
23974
  };
@@ -23665,12 +23980,14 @@ export type Database = {
23665
23980
  created_at?: string;
23666
23981
  default_quantity?: number;
23667
23982
  description?: string | null;
23668
- duration_minutes?: number | null;
23983
+ duration_minutes?: number;
23669
23984
  id?: string;
23985
+ labor_minutes?: number;
23670
23986
  mandaat_type?: string | null;
23671
23987
  name?: string;
23672
23988
  price_mode?: string;
23673
23989
  sort_order?: number;
23990
+ travel_minutes?: number;
23674
23991
  unit_price_cents?: number;
23675
23992
  updated_at?: string;
23676
23993
  };
@@ -26714,6 +27031,13 @@ export type Database = {
26714
27031
  };
26715
27032
  Returns: Json;
26716
27033
  };
27034
+ inkoop_cancel_line: {
27035
+ Args: {
27036
+ _item_id: string;
27037
+ _reason: string;
27038
+ };
27039
+ Returns: string;
27040
+ };
26717
27041
  inkoop_get_supplier_request: {
26718
27042
  Args: {
26719
27043
  _token: string;
@@ -26766,6 +27090,7 @@ export type Database = {
26766
27090
  Args: {
26767
27091
  _base_url?: string;
26768
27092
  _order_id: string;
27093
+ _resend?: boolean;
26769
27094
  };
26770
27095
  Returns: {
26771
27096
  outbox_id: string;
@@ -26780,6 +27105,12 @@ export type Database = {
26780
27105
  };
26781
27106
  Returns: undefined;
26782
27107
  };
27108
+ inkoop_stock_key: {
27109
+ Args: {
27110
+ p_product_id: string;
27111
+ };
27112
+ Returns: string;
27113
+ };
26783
27114
  inkoop_submit_supplier_response: {
26784
27115
  Args: {
26785
27116
  _lines: Json;
@@ -26788,6 +27119,12 @@ export type Database = {
26788
27119
  };
26789
27120
  Returns: Json;
26790
27121
  };
27122
+ inkoop_sync_item_stock: {
27123
+ Args: {
27124
+ p_item_id: string;
27125
+ };
27126
+ Returns: undefined;
27127
+ };
26791
27128
  instructie_get: {
26792
27129
  Args: {
26793
27130
  _sleutel: string;
@@ -26948,6 +27285,27 @@ export type Database = {
26948
27285
  };
26949
27286
  Returns: boolean;
26950
27287
  };
27288
+ layout_print_document: {
27289
+ Args: {
27290
+ _documentnaam: string;
27291
+ _documenttype: string;
27292
+ _herkomst?: string;
27293
+ _idempotentie_sleutel?: string;
27294
+ _is_herprint?: boolean;
27295
+ _kopieen?: number;
27296
+ _layout_id?: string;
27297
+ _payload?: Json;
27298
+ _pdf_base64?: string;
27299
+ _pdf_url?: string;
27300
+ _print_plek_id?: string;
27301
+ _werkplek?: string;
27302
+ };
27303
+ Returns: {
27304
+ bestaand: boolean;
27305
+ job_id: string;
27306
+ printer_id: string;
27307
+ }[];
27308
+ };
26951
27309
  list_medewerkers: {
26952
27310
  Args: never;
26953
27311
  Returns: {
@@ -27225,6 +27583,12 @@ export type Database = {
27225
27583
  };
27226
27584
  Returns: number;
27227
27585
  };
27586
+ logistics_cart_barcode_opschonen: {
27587
+ Args: {
27588
+ p_portie?: number;
27589
+ };
27590
+ Returns: Json;
27591
+ };
27228
27592
  logistics_cart_barcode_value: {
27229
27593
  Args: {
27230
27594
  _cart_id: string;
@@ -27644,6 +28008,13 @@ export type Database = {
27644
28008
  };
27645
28009
  Returns: Json;
27646
28010
  };
28011
+ logistics_control_scan_print_own: {
28012
+ Args: {
28013
+ p_is_herprint?: boolean;
28014
+ p_scan_id: string;
28015
+ };
28016
+ Returns: Json;
28017
+ };
27647
28018
  logistics_control_scan_retry: {
27648
28019
  Args: {
27649
28020
  _id: string;
@@ -28548,6 +28919,21 @@ export type Database = {
28548
28919
  };
28549
28920
  Returns: Json;
28550
28921
  };
28922
+ logistics_print_via_layout: {
28923
+ Args: {
28924
+ _documentnaam: string;
28925
+ _documenttype: string;
28926
+ _herkomst: string;
28927
+ _idempotentie_sleutel: string;
28928
+ _is_herprint: boolean;
28929
+ _layout_id: string;
28930
+ _payload: Json;
28931
+ _pdf_base64: string;
28932
+ _pdf_url: string;
28933
+ _print_plek_id: string;
28934
+ };
28935
+ Returns: Json;
28936
+ };
28551
28937
  logistics_prune_buffer_member_queue: {
28552
28938
  Args: never;
28553
28939
  Returns: number;
@@ -28834,6 +29220,13 @@ export type Database = {
28834
29220
  };
28835
29221
  Returns: string;
28836
29222
  };
29223
+ logistics_shipping_note_status: {
29224
+ Args: {
29225
+ p_cart_id?: string;
29226
+ p_slip_job_id?: string;
29227
+ };
29228
+ Returns: Json;
29229
+ };
28837
29230
  logistics_shipping_notes_wake_all: {
28838
29231
  Args: never;
28839
29232
  Returns: Json;
@@ -28896,6 +29289,12 @@ export type Database = {
28896
29289
  };
28897
29290
  Returns: undefined;
28898
29291
  };
29292
+ logistics_slip_note_retry: {
29293
+ Args: {
29294
+ _id: string;
29295
+ };
29296
+ Returns: Json;
29297
+ };
28899
29298
  logistics_sticker_follows_slip: {
28900
29299
  Args: never;
28901
29300
  Returns: boolean;
@@ -29640,6 +30039,10 @@ export type Database = {
29640
30039
  };
29641
30040
  Returns: string;
29642
30041
  };
30042
+ pick_is_reference_admin: {
30043
+ Args: never;
30044
+ Returns: boolean;
30045
+ };
29643
30046
  pick_mark_printed: {
29644
30047
  Args: {
29645
30048
  _queue_item_id: string;
@@ -30063,6 +30466,12 @@ export type Database = {
30063
30466
  };
30064
30467
  Returns: Json;
30065
30468
  };
30469
+ pick_verify_rows: {
30470
+ Args: {
30471
+ _rows: Json;
30472
+ };
30473
+ Returns: Json;
30474
+ };
30066
30475
  pickstation_get_orders_raw: {
30067
30476
  Args: never;
30068
30477
  Returns: Json;
@@ -30197,6 +30606,29 @@ export type Database = {
30197
30606
  };
30198
30607
  Returns: undefined;
30199
30608
  };
30609
+ printer_gebruik: {
30610
+ Args: {
30611
+ _printer: string;
30612
+ };
30613
+ Returns: Json;
30614
+ };
30615
+ printer_routering: {
30616
+ Args: {
30617
+ _documenttype: string;
30618
+ _layout_id?: string;
30619
+ _papierformaat?: string;
30620
+ _print_plek_id?: string;
30621
+ _werkplek?: string;
30622
+ };
30623
+ Returns: Json;
30624
+ };
30625
+ printplek_printer: {
30626
+ Args: {
30627
+ _documenttype: string;
30628
+ _plek: string;
30629
+ };
30630
+ Returns: string;
30631
+ };
30200
30632
  process_logistics_event: {
30201
30633
  Args: {
30202
30634
  p_event_id: string;
@@ -30243,6 +30675,12 @@ export type Database = {
30243
30675
  };
30244
30676
  Returns: Json;
30245
30677
  };
30678
+ quote_create_from_scratch: {
30679
+ Args: {
30680
+ _payload: Json;
30681
+ };
30682
+ Returns: Json;
30683
+ };
30246
30684
  quote_create_from_source: {
30247
30685
  Args: {
30248
30686
  _payload?: Json;
@@ -30258,6 +30696,13 @@ export type Database = {
30258
30696
  };
30259
30697
  Returns: boolean;
30260
30698
  };
30699
+ quote_fill_from_form: {
30700
+ Args: {
30701
+ _offerte_id: string;
30702
+ _payload: Json;
30703
+ };
30704
+ Returns: Json;
30705
+ };
30261
30706
  quote_get_billable_lines: {
30262
30707
  Args: {
30263
30708
  _quotation_id: string;
@@ -30293,6 +30738,19 @@ export type Database = {
30293
30738
  };
30294
30739
  Returns: string;
30295
30740
  };
30741
+ quote_release_work_order: {
30742
+ Args: {
30743
+ _offerte_id: string;
30744
+ };
30745
+ Returns: Json;
30746
+ };
30747
+ quote_sync_work_order: {
30748
+ Args: {
30749
+ _monteur_instructies?: string;
30750
+ _offerte_id: string;
30751
+ };
30752
+ Returns: boolean;
30753
+ };
30296
30754
  recompute_all_reserved_stock: {
30297
30755
  Args: never;
30298
30756
  Returns: undefined;
@@ -30513,6 +30971,13 @@ export type Database = {
30513
30971
  };
30514
30972
  Returns: Json;
30515
30973
  };
30974
+ scan_controleer_pincode: {
30975
+ Args: {
30976
+ p_pin: string;
30977
+ p_scanner_id: string;
30978
+ };
30979
+ Returns: boolean;
30980
+ };
30516
30981
  scan_dashboard_stats: {
30517
30982
  Args: {
30518
30983
  p_dagen?: number;
@@ -30532,6 +30997,12 @@ export type Database = {
30532
30997
  };
30533
30998
  Returns: Json;
30534
30999
  };
31000
+ scan_heeft_pincode: {
31001
+ Args: {
31002
+ p_scanner_id: string;
31003
+ };
31004
+ Returns: boolean;
31005
+ };
30535
31006
  scan_kar_compleet: {
30536
31007
  Args: {
30537
31008
  p_allow_reprint?: boolean;
@@ -30549,6 +31020,7 @@ export type Database = {
30549
31020
  Args: {
30550
31021
  p_code: string;
30551
31022
  p_latency_ms?: number;
31023
+ p_medewerker?: string;
30552
31024
  p_message?: string;
30553
31025
  p_result: string;
30554
31026
  p_scanner_key?: string;
@@ -30621,6 +31093,22 @@ export type Database = {
30621
31093
  };
30622
31094
  Returns: undefined;
30623
31095
  };
31096
+ scan_scanner_info: {
31097
+ Args: {
31098
+ p_slug: string;
31099
+ };
31100
+ Returns: {
31101
+ actief: boolean;
31102
+ heeft_pincode: boolean;
31103
+ id: string;
31104
+ naam: string;
31105
+ omschrijving: string;
31106
+ printer_id: string;
31107
+ type: string;
31108
+ vereist_medewerker: boolean;
31109
+ werkplek: string;
31110
+ }[];
31111
+ };
30624
31112
  scan_sessie_annuleren: {
30625
31113
  Args: {
30626
31114
  p_sessie_id: string;
@@ -31541,6 +32029,13 @@ export type Database = {
31541
32029
  user_id: string;
31542
32030
  }[];
31543
32031
  };
32032
+ vervang_printer: {
32033
+ Args: {
32034
+ _nieuw: string;
32035
+ _oud: string;
32036
+ };
32037
+ Returns: Json;
32038
+ };
31544
32039
  voorraad_cleanup_old_rows: {
31545
32040
  Args: never;
31546
32041
  Returns: Json;
@@ -31551,6 +32046,16 @@ export type Database = {
31551
32046
  };
31552
32047
  Returns: number;
31553
32048
  };
32049
+ werkbon_pakket_tijden: {
32050
+ Args: {
32051
+ _werkbon_id: string;
32052
+ };
32053
+ Returns: {
32054
+ labor_minutes: number;
32055
+ total_minutes: number;
32056
+ travel_minutes: number;
32057
+ }[];
32058
+ };
31554
32059
  werkbon_totalen: {
31555
32060
  Args: {
31556
32061
  _werkbon_id: string;
@@ -31583,6 +32088,21 @@ export type Database = {
31583
32088
  };
31584
32089
  Returns: Json;
31585
32090
  };
32091
+ wo_list_colleague_planning: {
32092
+ Args: {
32093
+ _from: string;
32094
+ _monteur_id: string;
32095
+ _to: string;
32096
+ };
32097
+ Returns: {
32098
+ end_at: string;
32099
+ id: string;
32100
+ role: string;
32101
+ start_at: string;
32102
+ status: string;
32103
+ werkbon_id: string;
32104
+ }[];
32105
+ };
31586
32106
  wo_list_offerte_requests: {
31587
32107
  Args: {
31588
32108
  _status?: string;