@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
@@ -733,6 +733,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
733
733
  };
734
734
  Relationships: [];
735
735
  };
736
+ artikelen_instellingen: {
737
+ Row: {
738
+ created_at: string;
739
+ id: number;
740
+ marge_procent: number;
741
+ updated_at: string;
742
+ };
743
+ Insert: {
744
+ created_at?: string;
745
+ id?: number;
746
+ marge_procent?: number;
747
+ updated_at?: string;
748
+ };
749
+ Update: {
750
+ created_at?: string;
751
+ id?: number;
752
+ marge_procent?: number;
753
+ updated_at?: string;
754
+ };
755
+ Relationships: [];
756
+ };
736
757
  artikelen_veldconfig: {
737
758
  Row: {
738
759
  bron_pad: string;
@@ -3119,6 +3140,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3119
3140
  formaat_code: string;
3120
3141
  id: string;
3121
3142
  printer_id: string | null;
3143
+ printer_ontbreekt_sinds: string | null;
3122
3144
  updated_at: string;
3123
3145
  };
3124
3146
  Insert: {
@@ -3127,6 +3149,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3127
3149
  formaat_code: string;
3128
3150
  id?: string;
3129
3151
  printer_id?: string | null;
3152
+ printer_ontbreekt_sinds?: string | null;
3130
3153
  updated_at?: string;
3131
3154
  };
3132
3155
  Update: {
@@ -3135,6 +3158,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3135
3158
  formaat_code?: string;
3136
3159
  id?: string;
3137
3160
  printer_id?: string | null;
3161
+ printer_ontbreekt_sinds?: string | null;
3138
3162
  updated_at?: string;
3139
3163
  };
3140
3164
  Relationships: [{
@@ -3471,6 +3495,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3471
3495
  papierformaat: string | null;
3472
3496
  print_plek_id: string;
3473
3497
  printer_id: string | null;
3498
+ printer_ontbreekt_sinds: string | null;
3474
3499
  updated_at: string;
3475
3500
  };
3476
3501
  Insert: {
@@ -3480,6 +3505,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3480
3505
  papierformaat?: string | null;
3481
3506
  print_plek_id: string;
3482
3507
  printer_id?: string | null;
3508
+ printer_ontbreekt_sinds?: string | null;
3483
3509
  updated_at?: string;
3484
3510
  };
3485
3511
  Update: {
@@ -3489,6 +3515,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3489
3515
  papierformaat?: string | null;
3490
3516
  print_plek_id?: string;
3491
3517
  printer_id?: string | null;
3518
+ printer_ontbreekt_sinds?: string | null;
3492
3519
  updated_at?: string;
3493
3520
  };
3494
3521
  Relationships: [{
@@ -3512,6 +3539,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3512
3539
  id: string;
3513
3540
  papierformaat: string | null;
3514
3541
  printer_id: string | null;
3542
+ printer_ontbreekt_sinds: string | null;
3515
3543
  updated_at: string;
3516
3544
  werkplek: string;
3517
3545
  };
@@ -3521,6 +3549,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3521
3549
  id?: string;
3522
3550
  papierformaat?: string | null;
3523
3551
  printer_id?: string | null;
3552
+ printer_ontbreekt_sinds?: string | null;
3524
3553
  updated_at?: string;
3525
3554
  werkplek: string;
3526
3555
  };
@@ -3530,6 +3559,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3530
3559
  id?: string;
3531
3560
  papierformaat?: string | null;
3532
3561
  printer_id?: string | null;
3562
+ printer_ontbreekt_sinds?: string | null;
3533
3563
  updated_at?: string;
3534
3564
  werkplek?: string;
3535
3565
  };
@@ -6832,6 +6862,78 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
6832
6862
  referencedColumns: ["id"];
6833
6863
  }];
6834
6864
  };
6865
+ floriday_document_fetch_queue: {
6866
+ Row: {
6867
+ attempts: number;
6868
+ cancelled_reason: string | null;
6869
+ completed_at: string | null;
6870
+ connection_id: string;
6871
+ created_at: string;
6872
+ document_key: string;
6873
+ environment: string;
6874
+ id: string;
6875
+ kind: string;
6876
+ last_error: string | null;
6877
+ last_http_status: number | null;
6878
+ locked_at: string | null;
6879
+ locked_by: string | null;
6880
+ max_attempts: number;
6881
+ next_attempt_at: string;
6882
+ order_ref: string | null;
6883
+ params: import("./types.js").Json;
6884
+ status: string;
6885
+ updated_at: string;
6886
+ };
6887
+ Insert: {
6888
+ attempts?: number;
6889
+ cancelled_reason?: string | null;
6890
+ completed_at?: string | null;
6891
+ connection_id: string;
6892
+ created_at?: string;
6893
+ document_key: string;
6894
+ environment: string;
6895
+ id?: string;
6896
+ kind: string;
6897
+ last_error?: string | null;
6898
+ last_http_status?: number | null;
6899
+ locked_at?: string | null;
6900
+ locked_by?: string | null;
6901
+ max_attempts?: number;
6902
+ next_attempt_at?: string;
6903
+ order_ref?: string | null;
6904
+ params?: import("./types.js").Json;
6905
+ status?: string;
6906
+ updated_at?: string;
6907
+ };
6908
+ Update: {
6909
+ attempts?: number;
6910
+ cancelled_reason?: string | null;
6911
+ completed_at?: string | null;
6912
+ connection_id?: string;
6913
+ created_at?: string;
6914
+ document_key?: string;
6915
+ environment?: string;
6916
+ id?: string;
6917
+ kind?: string;
6918
+ last_error?: string | null;
6919
+ last_http_status?: number | null;
6920
+ locked_at?: string | null;
6921
+ locked_by?: string | null;
6922
+ max_attempts?: number;
6923
+ next_attempt_at?: string;
6924
+ order_ref?: string | null;
6925
+ params?: import("./types.js").Json;
6926
+ status?: string;
6927
+ updated_at?: string;
6928
+ };
6929
+ Relationships: [{
6930
+ foreignKeyName: "floriday_document_fetch_queue_connection_id_fkey";
6931
+ columns: ["connection_id"];
6932
+ isOneToOne: false;
6933
+ referencedRelation: "floriday_connections";
6934
+ referencedColumns: ["id"];
6935
+ }];
6936
+ };
6835
6937
  floriday_fulfillment_orders_cache: {
6836
6938
  Row: {
6837
6939
  auction_date: string | null;
@@ -9609,6 +9711,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9609
9711
  viewed_at: string | null;
9610
9712
  volgnummer: number | null;
9611
9713
  voorwaarden: string | null;
9714
+ werkbon_concept: import("./types.js").Json | null;
9612
9715
  werkbon_id: string | null;
9613
9716
  work_location_id: string | null;
9614
9717
  };
@@ -9646,6 +9749,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9646
9749
  viewed_at?: string | null;
9647
9750
  volgnummer?: number | null;
9648
9751
  voorwaarden?: string | null;
9752
+ werkbon_concept?: import("./types.js").Json | null;
9649
9753
  werkbon_id?: string | null;
9650
9754
  work_location_id?: string | null;
9651
9755
  };
@@ -9683,6 +9787,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9683
9787
  viewed_at?: string | null;
9684
9788
  volgnummer?: number | null;
9685
9789
  voorwaarden?: string | null;
9790
+ werkbon_concept?: import("./types.js").Json | null;
9686
9791
  werkbon_id?: string | null;
9687
9792
  work_location_id?: string | null;
9688
9793
  };
@@ -10408,6 +10513,30 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
10408
10513
  };
10409
10514
  Relationships: [];
10410
10515
  };
10516
+ logistics_cart_barcode_archief: {
10517
+ Row: {
10518
+ barcode: string;
10519
+ cart_id: string;
10520
+ created_at: string | null;
10521
+ gearchiveerd_op: string;
10522
+ order_id: string | null;
10523
+ };
10524
+ Insert: {
10525
+ barcode: string;
10526
+ cart_id: string;
10527
+ created_at?: string | null;
10528
+ gearchiveerd_op?: string;
10529
+ order_id?: string | null;
10530
+ };
10531
+ Update: {
10532
+ barcode?: string;
10533
+ cart_id?: string;
10534
+ created_at?: string | null;
10535
+ gearchiveerd_op?: string;
10536
+ order_id?: string | null;
10537
+ };
10538
+ Relationships: [];
10539
+ };
10411
10540
  logistics_control_scan: {
10412
10541
  Row: {
10413
10542
  approved_at: string | null;
@@ -16061,18 +16190,24 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16061
16190
  Row: {
16062
16191
  id: boolean;
16063
16192
  last_cleanup_at: string | null;
16193
+ last_error: string | null;
16194
+ last_error_at: string | null;
16064
16195
  last_sync_at: string | null;
16065
16196
  updated_at: string;
16066
16197
  };
16067
16198
  Insert: {
16068
16199
  id?: boolean;
16069
16200
  last_cleanup_at?: string | null;
16201
+ last_error?: string | null;
16202
+ last_error_at?: string | null;
16070
16203
  last_sync_at?: string | null;
16071
16204
  updated_at?: string;
16072
16205
  };
16073
16206
  Update: {
16074
16207
  id?: boolean;
16075
16208
  last_cleanup_at?: string | null;
16209
+ last_error?: string | null;
16210
+ last_error_at?: string | null;
16076
16211
  last_sync_at?: string | null;
16077
16212
  updated_at?: string;
16078
16213
  };
@@ -16198,6 +16333,54 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16198
16333
  };
16199
16334
  Relationships: [];
16200
16335
  };
16336
+ planning_confirmation_log: {
16337
+ Row: {
16338
+ created_at: string;
16339
+ end_at: string;
16340
+ id: string;
16341
+ outbox_id: string | null;
16342
+ planning_item_id: string;
16343
+ reason: string | null;
16344
+ recipient: string | null;
16345
+ start_at: string;
16346
+ status: string;
16347
+ };
16348
+ Insert: {
16349
+ created_at?: string;
16350
+ end_at: string;
16351
+ id?: string;
16352
+ outbox_id?: string | null;
16353
+ planning_item_id: string;
16354
+ reason?: string | null;
16355
+ recipient?: string | null;
16356
+ start_at: string;
16357
+ status: string;
16358
+ };
16359
+ Update: {
16360
+ created_at?: string;
16361
+ end_at?: string;
16362
+ id?: string;
16363
+ outbox_id?: string | null;
16364
+ planning_item_id?: string;
16365
+ reason?: string | null;
16366
+ recipient?: string | null;
16367
+ start_at?: string;
16368
+ status?: string;
16369
+ };
16370
+ Relationships: [{
16371
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16372
+ columns: ["planning_item_id"];
16373
+ isOneToOne: false;
16374
+ referencedRelation: "planning_items";
16375
+ referencedColumns: ["id"];
16376
+ }, {
16377
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16378
+ columns: ["planning_item_id"];
16379
+ isOneToOne: false;
16380
+ referencedRelation: "planning_overview";
16381
+ referencedColumns: ["id"];
16382
+ }];
16383
+ };
16201
16384
  planning_item_assistants: {
16202
16385
  Row: {
16203
16386
  created_at: string;
@@ -16282,6 +16465,60 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16282
16465
  referencedColumns: ["id"];
16283
16466
  }];
16284
16467
  };
16468
+ planning_mail_settings: {
16469
+ Row: {
16470
+ body_template: string;
16471
+ cc: string[];
16472
+ connection_id: string | null;
16473
+ created_at: string;
16474
+ enabled: boolean;
16475
+ id: boolean;
16476
+ reply_to: string | null;
16477
+ subject_template: string;
16478
+ timezone: string;
16479
+ updated_at: string;
16480
+ updated_by: string | null;
16481
+ };
16482
+ Insert: {
16483
+ body_template?: string;
16484
+ cc?: string[];
16485
+ connection_id?: string | null;
16486
+ created_at?: string;
16487
+ enabled?: boolean;
16488
+ id?: boolean;
16489
+ reply_to?: string | null;
16490
+ subject_template?: string;
16491
+ timezone?: string;
16492
+ updated_at?: string;
16493
+ updated_by?: string | null;
16494
+ };
16495
+ Update: {
16496
+ body_template?: string;
16497
+ cc?: string[];
16498
+ connection_id?: string | null;
16499
+ created_at?: string;
16500
+ enabled?: boolean;
16501
+ id?: boolean;
16502
+ reply_to?: string | null;
16503
+ subject_template?: string;
16504
+ timezone?: string;
16505
+ updated_at?: string;
16506
+ updated_by?: string | null;
16507
+ };
16508
+ Relationships: [{
16509
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16510
+ columns: ["connection_id"];
16511
+ isOneToOne: false;
16512
+ referencedRelation: "email_auth_connections";
16513
+ referencedColumns: ["id"];
16514
+ }, {
16515
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16516
+ columns: ["connection_id"];
16517
+ isOneToOne: false;
16518
+ referencedRelation: "email_auth_connections_safe";
16519
+ referencedColumns: ["id"];
16520
+ }];
16521
+ };
16285
16522
  planning_monteur_day_locations: {
16286
16523
  Row: {
16287
16524
  created_at: string;
@@ -16939,6 +17176,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16939
17176
  referencedColumns: ["id"];
16940
17177
  }];
16941
17178
  };
17179
+ print_plek_printers: {
17180
+ Row: {
17181
+ id: string;
17182
+ print_plek_id: string;
17183
+ printer_id: string;
17184
+ toegevoegd_op: string;
17185
+ };
17186
+ Insert: {
17187
+ id?: string;
17188
+ print_plek_id: string;
17189
+ printer_id: string;
17190
+ toegevoegd_op?: string;
17191
+ };
17192
+ Update: {
17193
+ id?: string;
17194
+ print_plek_id?: string;
17195
+ printer_id?: string;
17196
+ toegevoegd_op?: string;
17197
+ };
17198
+ Relationships: [{
17199
+ foreignKeyName: "print_plek_printers_print_plek_id_fkey";
17200
+ columns: ["print_plek_id"];
17201
+ isOneToOne: false;
17202
+ referencedRelation: "print_plekken";
17203
+ referencedColumns: ["id"];
17204
+ }, {
17205
+ foreignKeyName: "print_plek_printers_printer_id_fkey";
17206
+ columns: ["printer_id"];
17207
+ isOneToOne: false;
17208
+ referencedRelation: "printers";
17209
+ referencedColumns: ["id"];
17210
+ }];
17211
+ };
16942
17212
  print_plekken: {
16943
17213
  Row: {
16944
17214
  actief: boolean;
@@ -17154,7 +17424,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
17154
17424
  created_at: string;
17155
17425
  id: string;
17156
17426
  layout_id: string;
17157
- printer_id: string;
17427
+ printer_id: string | null;
17428
+ printer_ontbreekt_sinds: string | null;
17158
17429
  prioriteit: number;
17159
17430
  updated_at: string;
17160
17431
  };
@@ -17162,7 +17433,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
17162
17433
  created_at?: string;
17163
17434
  id?: string;
17164
17435
  layout_id: string;
17165
- printer_id: string;
17436
+ printer_id?: string | null;
17437
+ printer_ontbreekt_sinds?: string | null;
17166
17438
  prioriteit?: number;
17167
17439
  updated_at?: string;
17168
17440
  };
@@ -17170,7 +17442,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
17170
17442
  created_at?: string;
17171
17443
  id?: string;
17172
17444
  layout_id?: string;
17173
- printer_id?: string;
17445
+ printer_id?: string | null;
17446
+ printer_ontbreekt_sinds?: string | null;
17174
17447
  prioriteit?: number;
17175
17448
  updated_at?: string;
17176
17449
  };
@@ -17760,6 +18033,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
17760
18033
  lead_time_days: number | null;
17761
18034
  min_order_quantity: number | null;
17762
18035
  notes: string | null;
18036
+ previous_price_cents: number | null;
18037
+ price_source: string;
18038
+ price_updated_at: string | null;
17763
18039
  product_id: string;
17764
18040
  purchase_price_cents: number | null;
17765
18041
  supplier_article_number: string | null;
@@ -17773,6 +18049,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
17773
18049
  lead_time_days?: number | null;
17774
18050
  min_order_quantity?: number | null;
17775
18051
  notes?: string | null;
18052
+ previous_price_cents?: number | null;
18053
+ price_source?: string;
18054
+ price_updated_at?: string | null;
17776
18055
  product_id: string;
17777
18056
  purchase_price_cents?: number | null;
17778
18057
  supplier_article_number?: string | null;
@@ -17786,6 +18065,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
17786
18065
  lead_time_days?: number | null;
17787
18066
  min_order_quantity?: number | null;
17788
18067
  notes?: string | null;
18068
+ previous_price_cents?: number | null;
18069
+ price_source?: string;
18070
+ price_updated_at?: string | null;
17789
18071
  product_id?: string;
17790
18072
  purchase_price_cents?: number | null;
17791
18073
  supplier_article_number?: string | null;
@@ -18316,9 +18598,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18316
18598
  purchase_order_items: {
18317
18599
  Row: {
18318
18600
  article_number: string | null;
18601
+ cancel_reason: string | null;
18602
+ cancelled_at: string | null;
18319
18603
  created_at: string;
18320
18604
  delivery_date: string | null;
18321
18605
  id: string;
18606
+ incoming_booked: number;
18607
+ line_status: string;
18322
18608
  name: string;
18323
18609
  note: string | null;
18324
18610
  pot_size: string | null;
@@ -18326,6 +18612,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18326
18612
  product_type: string;
18327
18613
  purchase_order_id: string;
18328
18614
  quantity: number;
18615
+ received_at: string | null;
18616
+ received_booked: number;
18329
18617
  supplier_id: string | null;
18330
18618
  supplier_product_id: string | null;
18331
18619
  unit_price_cents: number;
@@ -18333,9 +18621,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18333
18621
  };
18334
18622
  Insert: {
18335
18623
  article_number?: string | null;
18624
+ cancel_reason?: string | null;
18625
+ cancelled_at?: string | null;
18336
18626
  created_at?: string;
18337
18627
  delivery_date?: string | null;
18338
18628
  id?: string;
18629
+ incoming_booked?: number;
18630
+ line_status?: string;
18339
18631
  name?: string;
18340
18632
  note?: string | null;
18341
18633
  pot_size?: string | null;
@@ -18343,6 +18635,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18343
18635
  product_type?: string;
18344
18636
  purchase_order_id: string;
18345
18637
  quantity?: number;
18638
+ received_at?: string | null;
18639
+ received_booked?: number;
18346
18640
  supplier_id?: string | null;
18347
18641
  supplier_product_id?: string | null;
18348
18642
  unit_price_cents?: number;
@@ -18350,9 +18644,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18350
18644
  };
18351
18645
  Update: {
18352
18646
  article_number?: string | null;
18647
+ cancel_reason?: string | null;
18648
+ cancelled_at?: string | null;
18353
18649
  created_at?: string;
18354
18650
  delivery_date?: string | null;
18355
18651
  id?: string;
18652
+ incoming_booked?: number;
18653
+ line_status?: string;
18356
18654
  name?: string;
18357
18655
  note?: string | null;
18358
18656
  pot_size?: string | null;
@@ -18360,6 +18658,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18360
18658
  product_type?: string;
18361
18659
  purchase_order_id?: string;
18362
18660
  quantity?: number;
18661
+ received_at?: string | null;
18662
+ received_booked?: number;
18363
18663
  supplier_id?: string | null;
18364
18664
  supplier_product_id?: string | null;
18365
18665
  unit_price_cents?: number;
@@ -23035,12 +23335,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23035
23335
  created_at: string;
23036
23336
  default_quantity: number;
23037
23337
  description: string | null;
23038
- duration_minutes: number | null;
23338
+ duration_minutes: number;
23039
23339
  id: string;
23340
+ labor_minutes: number;
23040
23341
  mandaat_type: string | null;
23041
23342
  name: string;
23042
23343
  price_mode: string;
23043
23344
  sort_order: number;
23345
+ travel_minutes: number;
23044
23346
  unit_price_cents: number;
23045
23347
  updated_at: string;
23046
23348
  };
@@ -23052,12 +23354,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23052
23354
  created_at?: string;
23053
23355
  default_quantity?: number;
23054
23356
  description?: string | null;
23055
- duration_minutes?: number | null;
23357
+ duration_minutes?: number;
23056
23358
  id?: string;
23359
+ labor_minutes?: number;
23057
23360
  mandaat_type?: string | null;
23058
23361
  name: string;
23059
23362
  price_mode?: string;
23060
23363
  sort_order?: number;
23364
+ travel_minutes?: number;
23061
23365
  unit_price_cents?: number;
23062
23366
  updated_at?: string;
23063
23367
  };
@@ -23069,12 +23373,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23069
23373
  created_at?: string;
23070
23374
  default_quantity?: number;
23071
23375
  description?: string | null;
23072
- duration_minutes?: number | null;
23376
+ duration_minutes?: number;
23073
23377
  id?: string;
23378
+ labor_minutes?: number;
23074
23379
  mandaat_type?: string | null;
23075
23380
  name?: string;
23076
23381
  price_mode?: string;
23077
23382
  sort_order?: number;
23383
+ travel_minutes?: number;
23078
23384
  unit_price_cents?: number;
23079
23385
  updated_at?: string;
23080
23386
  };
@@ -26065,6 +26371,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
26065
26371
  };
26066
26372
  Returns: import("./types.js").Json;
26067
26373
  };
26374
+ inkoop_cancel_line: {
26375
+ Args: {
26376
+ _item_id: string;
26377
+ _reason: string;
26378
+ };
26379
+ Returns: string;
26380
+ };
26068
26381
  inkoop_get_supplier_request: {
26069
26382
  Args: {
26070
26383
  _token: string;
@@ -26117,6 +26430,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
26117
26430
  Args: {
26118
26431
  _base_url?: string;
26119
26432
  _order_id: string;
26433
+ _resend?: boolean;
26120
26434
  };
26121
26435
  Returns: {
26122
26436
  outbox_id: string;
@@ -26131,6 +26445,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
26131
26445
  };
26132
26446
  Returns: undefined;
26133
26447
  };
26448
+ inkoop_stock_key: {
26449
+ Args: {
26450
+ p_product_id: string;
26451
+ };
26452
+ Returns: string;
26453
+ };
26134
26454
  inkoop_submit_supplier_response: {
26135
26455
  Args: {
26136
26456
  _lines: import("./types.js").Json;
@@ -26139,6 +26459,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
26139
26459
  };
26140
26460
  Returns: import("./types.js").Json;
26141
26461
  };
26462
+ inkoop_sync_item_stock: {
26463
+ Args: {
26464
+ p_item_id: string;
26465
+ };
26466
+ Returns: undefined;
26467
+ };
26142
26468
  instructie_get: {
26143
26469
  Args: {
26144
26470
  _sleutel: string;
@@ -26299,6 +26625,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
26299
26625
  };
26300
26626
  Returns: boolean;
26301
26627
  };
26628
+ layout_print_document: {
26629
+ Args: {
26630
+ _documentnaam: string;
26631
+ _documenttype: string;
26632
+ _herkomst?: string;
26633
+ _idempotentie_sleutel?: string;
26634
+ _is_herprint?: boolean;
26635
+ _kopieen?: number;
26636
+ _layout_id?: string;
26637
+ _payload?: import("./types.js").Json;
26638
+ _pdf_base64?: string;
26639
+ _pdf_url?: string;
26640
+ _print_plek_id?: string;
26641
+ _werkplek?: string;
26642
+ };
26643
+ Returns: {
26644
+ bestaand: boolean;
26645
+ job_id: string;
26646
+ printer_id: string;
26647
+ }[];
26648
+ };
26302
26649
  list_medewerkers: {
26303
26650
  Args: never;
26304
26651
  Returns: {
@@ -26576,6 +26923,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
26576
26923
  };
26577
26924
  Returns: number;
26578
26925
  };
26926
+ logistics_cart_barcode_opschonen: {
26927
+ Args: {
26928
+ p_portie?: number;
26929
+ };
26930
+ Returns: import("./types.js").Json;
26931
+ };
26579
26932
  logistics_cart_barcode_value: {
26580
26933
  Args: {
26581
26934
  _cart_id: string;
@@ -26995,6 +27348,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
26995
27348
  };
26996
27349
  Returns: import("./types.js").Json;
26997
27350
  };
27351
+ logistics_control_scan_print_own: {
27352
+ Args: {
27353
+ p_is_herprint?: boolean;
27354
+ p_scan_id: string;
27355
+ };
27356
+ Returns: import("./types.js").Json;
27357
+ };
26998
27358
  logistics_control_scan_retry: {
26999
27359
  Args: {
27000
27360
  _id: string;
@@ -27899,6 +28259,21 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
27899
28259
  };
27900
28260
  Returns: import("./types.js").Json;
27901
28261
  };
28262
+ logistics_print_via_layout: {
28263
+ Args: {
28264
+ _documentnaam: string;
28265
+ _documenttype: string;
28266
+ _herkomst: string;
28267
+ _idempotentie_sleutel: string;
28268
+ _is_herprint: boolean;
28269
+ _layout_id: string;
28270
+ _payload: import("./types.js").Json;
28271
+ _pdf_base64: string;
28272
+ _pdf_url: string;
28273
+ _print_plek_id: string;
28274
+ };
28275
+ Returns: import("./types.js").Json;
28276
+ };
27902
28277
  logistics_prune_buffer_member_queue: {
27903
28278
  Args: never;
27904
28279
  Returns: number;
@@ -28185,6 +28560,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
28185
28560
  };
28186
28561
  Returns: string;
28187
28562
  };
28563
+ logistics_shipping_note_status: {
28564
+ Args: {
28565
+ p_cart_id?: string;
28566
+ p_slip_job_id?: string;
28567
+ };
28568
+ Returns: import("./types.js").Json;
28569
+ };
28188
28570
  logistics_shipping_notes_wake_all: {
28189
28571
  Args: never;
28190
28572
  Returns: import("./types.js").Json;
@@ -28247,6 +28629,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
28247
28629
  };
28248
28630
  Returns: undefined;
28249
28631
  };
28632
+ logistics_slip_note_retry: {
28633
+ Args: {
28634
+ _id: string;
28635
+ };
28636
+ Returns: import("./types.js").Json;
28637
+ };
28250
28638
  logistics_sticker_follows_slip: {
28251
28639
  Args: never;
28252
28640
  Returns: boolean;
@@ -28991,6 +29379,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
28991
29379
  };
28992
29380
  Returns: string;
28993
29381
  };
29382
+ pick_is_reference_admin: {
29383
+ Args: never;
29384
+ Returns: boolean;
29385
+ };
28994
29386
  pick_mark_printed: {
28995
29387
  Args: {
28996
29388
  _queue_item_id: string;
@@ -29414,6 +29806,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
29414
29806
  };
29415
29807
  Returns: import("./types.js").Json;
29416
29808
  };
29809
+ pick_verify_rows: {
29810
+ Args: {
29811
+ _rows: import("./types.js").Json;
29812
+ };
29813
+ Returns: import("./types.js").Json;
29814
+ };
29417
29815
  pickstation_get_orders_raw: {
29418
29816
  Args: never;
29419
29817
  Returns: import("./types.js").Json;
@@ -29548,6 +29946,29 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
29548
29946
  };
29549
29947
  Returns: undefined;
29550
29948
  };
29949
+ printer_gebruik: {
29950
+ Args: {
29951
+ _printer: string;
29952
+ };
29953
+ Returns: import("./types.js").Json;
29954
+ };
29955
+ printer_routering: {
29956
+ Args: {
29957
+ _documenttype: string;
29958
+ _layout_id?: string;
29959
+ _papierformaat?: string;
29960
+ _print_plek_id?: string;
29961
+ _werkplek?: string;
29962
+ };
29963
+ Returns: import("./types.js").Json;
29964
+ };
29965
+ printplek_printer: {
29966
+ Args: {
29967
+ _documenttype: string;
29968
+ _plek: string;
29969
+ };
29970
+ Returns: string;
29971
+ };
29551
29972
  process_logistics_event: {
29552
29973
  Args: {
29553
29974
  p_event_id: string;
@@ -29594,6 +30015,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
29594
30015
  };
29595
30016
  Returns: import("./types.js").Json;
29596
30017
  };
30018
+ quote_create_from_scratch: {
30019
+ Args: {
30020
+ _payload: import("./types.js").Json;
30021
+ };
30022
+ Returns: import("./types.js").Json;
30023
+ };
29597
30024
  quote_create_from_source: {
29598
30025
  Args: {
29599
30026
  _payload?: import("./types.js").Json;
@@ -29609,6 +30036,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
29609
30036
  };
29610
30037
  Returns: boolean;
29611
30038
  };
30039
+ quote_fill_from_form: {
30040
+ Args: {
30041
+ _offerte_id: string;
30042
+ _payload: import("./types.js").Json;
30043
+ };
30044
+ Returns: import("./types.js").Json;
30045
+ };
29612
30046
  quote_get_billable_lines: {
29613
30047
  Args: {
29614
30048
  _quotation_id: string;
@@ -29644,6 +30078,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
29644
30078
  };
29645
30079
  Returns: string;
29646
30080
  };
30081
+ quote_release_work_order: {
30082
+ Args: {
30083
+ _offerte_id: string;
30084
+ };
30085
+ Returns: import("./types.js").Json;
30086
+ };
30087
+ quote_sync_work_order: {
30088
+ Args: {
30089
+ _monteur_instructies?: string;
30090
+ _offerte_id: string;
30091
+ };
30092
+ Returns: boolean;
30093
+ };
29647
30094
  recompute_all_reserved_stock: {
29648
30095
  Args: never;
29649
30096
  Returns: undefined;
@@ -29864,6 +30311,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
29864
30311
  };
29865
30312
  Returns: import("./types.js").Json;
29866
30313
  };
30314
+ scan_controleer_pincode: {
30315
+ Args: {
30316
+ p_pin: string;
30317
+ p_scanner_id: string;
30318
+ };
30319
+ Returns: boolean;
30320
+ };
29867
30321
  scan_dashboard_stats: {
29868
30322
  Args: {
29869
30323
  p_dagen?: number;
@@ -29883,6 +30337,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
29883
30337
  };
29884
30338
  Returns: import("./types.js").Json;
29885
30339
  };
30340
+ scan_heeft_pincode: {
30341
+ Args: {
30342
+ p_scanner_id: string;
30343
+ };
30344
+ Returns: boolean;
30345
+ };
29886
30346
  scan_kar_compleet: {
29887
30347
  Args: {
29888
30348
  p_allow_reprint?: boolean;
@@ -29900,6 +30360,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
29900
30360
  Args: {
29901
30361
  p_code: string;
29902
30362
  p_latency_ms?: number;
30363
+ p_medewerker?: string;
29903
30364
  p_message?: string;
29904
30365
  p_result: string;
29905
30366
  p_scanner_key?: string;
@@ -29972,6 +30433,22 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
29972
30433
  };
29973
30434
  Returns: undefined;
29974
30435
  };
30436
+ scan_scanner_info: {
30437
+ Args: {
30438
+ p_slug: string;
30439
+ };
30440
+ Returns: {
30441
+ actief: boolean;
30442
+ heeft_pincode: boolean;
30443
+ id: string;
30444
+ naam: string;
30445
+ omschrijving: string;
30446
+ printer_id: string;
30447
+ type: string;
30448
+ vereist_medewerker: boolean;
30449
+ werkplek: string;
30450
+ }[];
30451
+ };
29975
30452
  scan_sessie_annuleren: {
29976
30453
  Args: {
29977
30454
  p_sessie_id: string;
@@ -30892,6 +31369,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
30892
31369
  user_id: string;
30893
31370
  }[];
30894
31371
  };
31372
+ vervang_printer: {
31373
+ Args: {
31374
+ _nieuw: string;
31375
+ _oud: string;
31376
+ };
31377
+ Returns: import("./types.js").Json;
31378
+ };
30895
31379
  voorraad_cleanup_old_rows: {
30896
31380
  Args: never;
30897
31381
  Returns: import("./types.js").Json;
@@ -30902,6 +31386,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
30902
31386
  };
30903
31387
  Returns: number;
30904
31388
  };
31389
+ werkbon_pakket_tijden: {
31390
+ Args: {
31391
+ _werkbon_id: string;
31392
+ };
31393
+ Returns: {
31394
+ labor_minutes: number;
31395
+ total_minutes: number;
31396
+ travel_minutes: number;
31397
+ }[];
31398
+ };
30905
31399
  werkbon_totalen: {
30906
31400
  Args: {
30907
31401
  _werkbon_id: string;
@@ -30934,6 +31428,21 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
30934
31428
  };
30935
31429
  Returns: import("./types.js").Json;
30936
31430
  };
31431
+ wo_list_colleague_planning: {
31432
+ Args: {
31433
+ _from: string;
31434
+ _monteur_id: string;
31435
+ _to: string;
31436
+ };
31437
+ Returns: {
31438
+ end_at: string;
31439
+ id: string;
31440
+ role: string;
31441
+ start_at: string;
31442
+ status: string;
31443
+ werkbon_id: string;
31444
+ }[];
31445
+ };
30937
31446
  wo_list_offerte_requests: {
30938
31447
  Args: {
30939
31448
  _status?: string;