@flowselections/pick-schermen-kwekers 1.0.30 → 1.0.32

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.
@@ -3125,6 +3125,165 @@ export type Database = {
3125
3125
  };
3126
3126
  Relationships: [];
3127
3127
  };
3128
+ dashboard_snelkoppelingen: {
3129
+ Row: {
3130
+ created_at: string;
3131
+ id: string;
3132
+ pad: string;
3133
+ titel: string;
3134
+ updated_at: string;
3135
+ user_id: string;
3136
+ volgorde: number;
3137
+ };
3138
+ Insert: {
3139
+ created_at?: string;
3140
+ id?: string;
3141
+ pad: string;
3142
+ titel: string;
3143
+ updated_at?: string;
3144
+ user_id?: string;
3145
+ volgorde?: number;
3146
+ };
3147
+ Update: {
3148
+ created_at?: string;
3149
+ id?: string;
3150
+ pad?: string;
3151
+ titel?: string;
3152
+ updated_at?: string;
3153
+ user_id?: string;
3154
+ volgorde?: number;
3155
+ };
3156
+ Relationships: [];
3157
+ };
3158
+ dashboard_werkbon_dagtellers: {
3159
+ Row: {
3160
+ aantal: number;
3161
+ created_at: string;
3162
+ datum: string;
3163
+ soort: string;
3164
+ updated_at: string;
3165
+ };
3166
+ Insert: {
3167
+ aantal?: number;
3168
+ created_at?: string;
3169
+ datum: string;
3170
+ soort: string;
3171
+ updated_at?: string;
3172
+ };
3173
+ Update: {
3174
+ aantal?: number;
3175
+ created_at?: string;
3176
+ datum?: string;
3177
+ soort?: string;
3178
+ updated_at?: string;
3179
+ };
3180
+ Relationships: [];
3181
+ };
3182
+ dashboard_werkbon_factuurhistorie: {
3183
+ Row: {
3184
+ bedrag_cents: number;
3185
+ created_at: string;
3186
+ factuur_id: string;
3187
+ status: string;
3188
+ updated_at: string;
3189
+ werkbon_id: string;
3190
+ };
3191
+ Insert: {
3192
+ bedrag_cents: number;
3193
+ created_at?: string;
3194
+ factuur_id: string;
3195
+ status: string;
3196
+ updated_at?: string;
3197
+ werkbon_id: string;
3198
+ };
3199
+ Update: {
3200
+ bedrag_cents?: number;
3201
+ created_at?: string;
3202
+ factuur_id?: string;
3203
+ status?: string;
3204
+ updated_at?: string;
3205
+ werkbon_id?: string;
3206
+ };
3207
+ Relationships: [];
3208
+ };
3209
+ dashboard_werkbon_historie: {
3210
+ Row: {
3211
+ aangemaakt_op: string;
3212
+ afgerond_op: string | null;
3213
+ created_at: string;
3214
+ parent_werkbon_id: string | null;
3215
+ soort: string;
3216
+ updated_at: string;
3217
+ werkbon_id: string;
3218
+ };
3219
+ Insert: {
3220
+ aangemaakt_op: string;
3221
+ afgerond_op?: string | null;
3222
+ created_at?: string;
3223
+ parent_werkbon_id?: string | null;
3224
+ soort: string;
3225
+ updated_at?: string;
3226
+ werkbon_id: string;
3227
+ };
3228
+ Update: {
3229
+ aangemaakt_op?: string;
3230
+ afgerond_op?: string | null;
3231
+ created_at?: string;
3232
+ parent_werkbon_id?: string | null;
3233
+ soort?: string;
3234
+ updated_at?: string;
3235
+ werkbon_id?: string;
3236
+ };
3237
+ Relationships: [];
3238
+ };
3239
+ dashboard_werkbon_mailhistorie: {
3240
+ Row: {
3241
+ created_at: string;
3242
+ goedgekeurd_op: string;
3243
+ updated_at: string;
3244
+ voorstel_id: string;
3245
+ werkbon_id: string | null;
3246
+ };
3247
+ Insert: {
3248
+ created_at?: string;
3249
+ goedgekeurd_op: string;
3250
+ updated_at?: string;
3251
+ voorstel_id: string;
3252
+ werkbon_id?: string | null;
3253
+ };
3254
+ Update: {
3255
+ created_at?: string;
3256
+ goedgekeurd_op?: string;
3257
+ updated_at?: string;
3258
+ voorstel_id?: string;
3259
+ werkbon_id?: string | null;
3260
+ };
3261
+ Relationships: [];
3262
+ };
3263
+ dashboard_werkbon_tellers: {
3264
+ Row: {
3265
+ aantal: number;
3266
+ jaar: number;
3267
+ maand: number;
3268
+ soort: string;
3269
+ updated_at: string;
3270
+ };
3271
+ Insert: {
3272
+ aantal?: number;
3273
+ jaar: number;
3274
+ maand: number;
3275
+ soort: string;
3276
+ updated_at?: string;
3277
+ };
3278
+ Update: {
3279
+ aantal?: number;
3280
+ jaar?: number;
3281
+ maand?: number;
3282
+ soort?: string;
3283
+ updated_at?: string;
3284
+ };
3285
+ Relationships: [];
3286
+ };
3128
3287
  delivery_notes: {
3129
3288
  Row: {
3130
3289
  byte_size: number | null;
@@ -6648,6 +6807,7 @@ export type Database = {
6648
6807
  Row: {
6649
6808
  attempts: number;
6650
6809
  availability_sent_at: string | null;
6810
+ base_supply_outcome: string | null;
6651
6811
  connection_id: string;
6652
6812
  created_at: string;
6653
6813
  dead_lettered_at: string | null;
@@ -6660,8 +6820,12 @@ export type Database = {
6660
6820
  locked_by: string | null;
6661
6821
  next_attempt_at: string;
6662
6822
  number_of_pieces: number;
6823
+ price_note: string | null;
6824
+ price_sent: number | null;
6825
+ price_status: string | null;
6663
6826
  product_id: string | null;
6664
6827
  quantity_sent_at: string | null;
6828
+ result_label: string | null;
6665
6829
  sent_at: string | null;
6666
6830
  skip_reason: string | null;
6667
6831
  status: string;
@@ -6676,6 +6840,7 @@ export type Database = {
6676
6840
  Insert: {
6677
6841
  attempts?: number;
6678
6842
  availability_sent_at?: string | null;
6843
+ base_supply_outcome?: string | null;
6679
6844
  connection_id: string;
6680
6845
  created_at?: string;
6681
6846
  dead_lettered_at?: string | null;
@@ -6688,8 +6853,12 @@ export type Database = {
6688
6853
  locked_by?: string | null;
6689
6854
  next_attempt_at?: string;
6690
6855
  number_of_pieces?: number;
6856
+ price_note?: string | null;
6857
+ price_sent?: number | null;
6858
+ price_status?: string | null;
6691
6859
  product_id?: string | null;
6692
6860
  quantity_sent_at?: string | null;
6861
+ result_label?: string | null;
6693
6862
  sent_at?: string | null;
6694
6863
  skip_reason?: string | null;
6695
6864
  status?: string;
@@ -6704,6 +6873,7 @@ export type Database = {
6704
6873
  Update: {
6705
6874
  attempts?: number;
6706
6875
  availability_sent_at?: string | null;
6876
+ base_supply_outcome?: string | null;
6707
6877
  connection_id?: string;
6708
6878
  created_at?: string;
6709
6879
  dead_lettered_at?: string | null;
@@ -6716,8 +6886,12 @@ export type Database = {
6716
6886
  locked_by?: string | null;
6717
6887
  next_attempt_at?: string;
6718
6888
  number_of_pieces?: number;
6889
+ price_note?: string | null;
6890
+ price_sent?: number | null;
6891
+ price_status?: string | null;
6719
6892
  product_id?: string | null;
6720
6893
  quantity_sent_at?: string | null;
6894
+ result_label?: string | null;
6721
6895
  sent_at?: string | null;
6722
6896
  skip_reason?: string | null;
6723
6897
  status?: string;
@@ -7443,6 +7617,87 @@ export type Database = {
7443
7617
  };
7444
7618
  Relationships: [];
7445
7619
  };
7620
+ floriday_loading_attempts: {
7621
+ Row: {
7622
+ code: string | null;
7623
+ created_at: string;
7624
+ created_by: string | null;
7625
+ delivery_note_url: string | null;
7626
+ delivery_order_id: string | null;
7627
+ fulfillment_order_id: string;
7628
+ http_status: number | null;
7629
+ id: string;
7630
+ message: string | null;
7631
+ order_refs: string[];
7632
+ request_summary: Json;
7633
+ sales_order_ids: string[];
7634
+ skipped_requests: Json;
7635
+ step: string;
7636
+ warnings: Json;
7637
+ };
7638
+ Insert: {
7639
+ code?: string | null;
7640
+ created_at?: string;
7641
+ created_by?: string | null;
7642
+ delivery_note_url?: string | null;
7643
+ delivery_order_id?: string | null;
7644
+ fulfillment_order_id: string;
7645
+ http_status?: number | null;
7646
+ id?: string;
7647
+ message?: string | null;
7648
+ order_refs?: string[];
7649
+ request_summary?: Json;
7650
+ sales_order_ids?: string[];
7651
+ skipped_requests?: Json;
7652
+ step: string;
7653
+ warnings?: Json;
7654
+ };
7655
+ Update: {
7656
+ code?: string | null;
7657
+ created_at?: string;
7658
+ created_by?: string | null;
7659
+ delivery_note_url?: string | null;
7660
+ delivery_order_id?: string | null;
7661
+ fulfillment_order_id?: string;
7662
+ http_status?: number | null;
7663
+ id?: string;
7664
+ message?: string | null;
7665
+ order_refs?: string[];
7666
+ request_summary?: Json;
7667
+ sales_order_ids?: string[];
7668
+ skipped_requests?: Json;
7669
+ step?: string;
7670
+ warnings?: Json;
7671
+ };
7672
+ Relationships: [];
7673
+ };
7674
+ floriday_loading_identifiers: {
7675
+ Row: {
7676
+ created_at: string;
7677
+ created_by: string | null;
7678
+ id: string;
7679
+ identifier: string;
7680
+ natural_key: string;
7681
+ scope: string;
7682
+ };
7683
+ Insert: {
7684
+ created_at?: string;
7685
+ created_by?: string | null;
7686
+ id?: string;
7687
+ identifier?: string;
7688
+ natural_key: string;
7689
+ scope: string;
7690
+ };
7691
+ Update: {
7692
+ created_at?: string;
7693
+ created_by?: string | null;
7694
+ id?: string;
7695
+ identifier?: string;
7696
+ natural_key?: string;
7697
+ scope?: string;
7698
+ };
7699
+ Relationships: [];
7700
+ };
7446
7701
  floriday_log_retention: {
7447
7702
  Row: {
7448
7703
  created_at: string;
@@ -8648,7 +8903,7 @@ export type Database = {
8648
8903
  note?: string | null;
8649
8904
  reason?: string;
8650
8905
  trade_item_key?: string | null;
8651
- user_id: string;
8906
+ user_id?: string;
8652
8907
  };
8653
8908
  Update: {
8654
8909
  created_at?: string;
@@ -8709,7 +8964,7 @@ export type Database = {
8709
8964
  stock?: number;
8710
8965
  updated_at?: string;
8711
8966
  used_by_count?: number;
8712
- user_id: string;
8967
+ user_id?: string;
8713
8968
  vbn_code?: number | null;
8714
8969
  width_mm?: number | null;
8715
8970
  };
@@ -8893,6 +9148,8 @@ export type Database = {
8893
9148
  };
8894
9149
  inventory_recompute_limits: {
8895
9150
  Row: {
9151
+ base_supply_batch: number;
9152
+ base_supply_uses_catalog_availability: boolean;
8896
9153
  drain_batch: number;
8897
9154
  id: boolean;
8898
9155
  import_chunk_size: number;
@@ -8902,6 +9159,7 @@ export type Database = {
8902
9159
  import_retention_days: number;
8903
9160
  max_ms_inline: number;
8904
9161
  max_parents_inline: number;
9162
+ queue_base_supply_timeout_minutes: number;
8905
9163
  queue_cleanup_batch: number;
8906
9164
  queue_cleanup_max_batches: number;
8907
9165
  queue_failed_days: number;
@@ -8913,6 +9171,8 @@ export type Database = {
8913
9171
  updated_at: string;
8914
9172
  };
8915
9173
  Insert: {
9174
+ base_supply_batch?: number;
9175
+ base_supply_uses_catalog_availability?: boolean;
8916
9176
  drain_batch?: number;
8917
9177
  id?: boolean;
8918
9178
  import_chunk_size?: number;
@@ -8922,6 +9182,7 @@ export type Database = {
8922
9182
  import_retention_days?: number;
8923
9183
  max_ms_inline?: number;
8924
9184
  max_parents_inline?: number;
9185
+ queue_base_supply_timeout_minutes?: number;
8925
9186
  queue_cleanup_batch?: number;
8926
9187
  queue_cleanup_max_batches?: number;
8927
9188
  queue_failed_days?: number;
@@ -8933,6 +9194,8 @@ export type Database = {
8933
9194
  updated_at?: string;
8934
9195
  };
8935
9196
  Update: {
9197
+ base_supply_batch?: number;
9198
+ base_supply_uses_catalog_availability?: boolean;
8936
9199
  drain_batch?: number;
8937
9200
  id?: boolean;
8938
9201
  import_chunk_size?: number;
@@ -8942,6 +9205,7 @@ export type Database = {
8942
9205
  import_retention_days?: number;
8943
9206
  max_ms_inline?: number;
8944
9207
  max_parents_inline?: number;
9208
+ queue_base_supply_timeout_minutes?: number;
8945
9209
  queue_cleanup_batch?: number;
8946
9210
  queue_cleanup_max_batches?: number;
8947
9211
  queue_failed_days?: number;
@@ -11498,6 +11762,7 @@ export type Database = {
11498
11762
  approved_at: string | null;
11499
11763
  attempts: number;
11500
11764
  barcode: string;
11765
+ bron: string | null;
11501
11766
  cart_id: string;
11502
11767
  created_at: string;
11503
11768
  document_url: string | null;
@@ -11520,6 +11785,7 @@ export type Database = {
11520
11785
  approved_at?: string | null;
11521
11786
  attempts?: number;
11522
11787
  barcode: string;
11788
+ bron?: string | null;
11523
11789
  cart_id: string;
11524
11790
  created_at?: string;
11525
11791
  document_url?: string | null;
@@ -11542,6 +11808,7 @@ export type Database = {
11542
11808
  approved_at?: string | null;
11543
11809
  attempts?: number;
11544
11810
  barcode?: string;
11811
+ bron?: string | null;
11545
11812
  cart_id?: string;
11546
11813
  created_at?: string;
11547
11814
  document_url?: string | null;
@@ -12428,6 +12695,33 @@ export type Database = {
12428
12695
  };
12429
12696
  Relationships: [];
12430
12697
  };
12698
+ logistics_plan_coverage_retries: {
12699
+ Row: {
12700
+ attempts: number;
12701
+ gave_up_at: string | null;
12702
+ last_at: string;
12703
+ last_pct: number | null;
12704
+ next_at: string;
12705
+ order_id: string;
12706
+ };
12707
+ Insert: {
12708
+ attempts?: number;
12709
+ gave_up_at?: string | null;
12710
+ last_at?: string;
12711
+ last_pct?: number | null;
12712
+ next_at?: string;
12713
+ order_id: string;
12714
+ };
12715
+ Update: {
12716
+ attempts?: number;
12717
+ gave_up_at?: string | null;
12718
+ last_at?: string;
12719
+ last_pct?: number | null;
12720
+ next_at?: string;
12721
+ order_id?: string;
12722
+ };
12723
+ Relationships: [];
12724
+ };
12431
12725
  logistics_plan_locks: {
12432
12726
  Row: {
12433
12727
  created_at: string;
@@ -17798,6 +18092,12 @@ export type Database = {
17798
18092
  email_purpose: string | null;
17799
18093
  enabled: boolean;
17800
18094
  id: boolean;
18095
+ overrun_auto_mail: boolean;
18096
+ overrun_body_template: string;
18097
+ overrun_enabled: boolean;
18098
+ overrun_mail_minutes: number;
18099
+ overrun_notice_minutes: number;
18100
+ overrun_subject_template: string;
17801
18101
  reply_to: string | null;
17802
18102
  reschedule_body_template: string;
17803
18103
  reschedule_subject_template: string;
@@ -17814,6 +18114,12 @@ export type Database = {
17814
18114
  email_purpose?: string | null;
17815
18115
  enabled?: boolean;
17816
18116
  id?: boolean;
18117
+ overrun_auto_mail?: boolean;
18118
+ overrun_body_template?: string;
18119
+ overrun_enabled?: boolean;
18120
+ overrun_mail_minutes?: number;
18121
+ overrun_notice_minutes?: number;
18122
+ overrun_subject_template?: string;
17817
18123
  reply_to?: string | null;
17818
18124
  reschedule_body_template?: string;
17819
18125
  reschedule_subject_template?: string;
@@ -17830,6 +18136,12 @@ export type Database = {
17830
18136
  email_purpose?: string | null;
17831
18137
  enabled?: boolean;
17832
18138
  id?: boolean;
18139
+ overrun_auto_mail?: boolean;
18140
+ overrun_body_template?: string;
18141
+ overrun_enabled?: boolean;
18142
+ overrun_mail_minutes?: number;
18143
+ overrun_notice_minutes?: number;
18144
+ overrun_subject_template?: string;
17833
18145
  reply_to?: string | null;
17834
18146
  reschedule_body_template?: string;
17835
18147
  reschedule_subject_template?: string;
@@ -17921,6 +18233,66 @@ export type Database = {
17921
18233
  };
17922
18234
  Relationships: [];
17923
18235
  };
18236
+ planning_overrun_events: {
18237
+ Row: {
18238
+ created_at: string;
18239
+ id: string;
18240
+ mail_level: number;
18241
+ mailed_at: string | null;
18242
+ mailed_item_id: string | null;
18243
+ mailed_items: Json;
18244
+ monteur_id: string | null;
18245
+ original_end_at: string;
18246
+ overrun_minutes: number;
18247
+ planning_item_id: string;
18248
+ shifted: Json;
18249
+ updated_at: string;
18250
+ };
18251
+ Insert: {
18252
+ created_at?: string;
18253
+ id?: string;
18254
+ mail_level?: number;
18255
+ mailed_at?: string | null;
18256
+ mailed_item_id?: string | null;
18257
+ mailed_items?: Json;
18258
+ monteur_id?: string | null;
18259
+ original_end_at: string;
18260
+ overrun_minutes?: number;
18261
+ planning_item_id: string;
18262
+ shifted?: Json;
18263
+ updated_at?: string;
18264
+ };
18265
+ Update: {
18266
+ created_at?: string;
18267
+ id?: string;
18268
+ mail_level?: number;
18269
+ mailed_at?: string | null;
18270
+ mailed_item_id?: string | null;
18271
+ mailed_items?: Json;
18272
+ monteur_id?: string | null;
18273
+ original_end_at?: string;
18274
+ overrun_minutes?: number;
18275
+ planning_item_id?: string;
18276
+ shifted?: Json;
18277
+ updated_at?: string;
18278
+ };
18279
+ Relationships: [
18280
+ {
18281
+ foreignKeyName: "planning_overrun_events_planning_item_id_fkey";
18282
+ columns: ["planning_item_id"];
18283
+ isOneToOne: true;
18284
+ referencedRelation: "planning_items";
18285
+ referencedColumns: ["id"];
18286
+ },
18287
+ {
18288
+ foreignKeyName: "planning_overrun_events_planning_item_id_fkey";
18289
+ columns: ["planning_item_id"];
18290
+ isOneToOne: true;
18291
+ referencedRelation: "planning_overview";
18292
+ referencedColumns: ["id"];
18293
+ }
18294
+ ];
18295
+ };
17924
18296
  planning_settings: {
17925
18297
  Row: {
17926
18298
  company_address: string | null;
@@ -22421,7 +22793,7 @@ export type Database = {
22421
22793
  reserved_stock?: number;
22422
22794
  trade_item_key: string;
22423
22795
  updated_at?: string;
22424
- user_id: string;
22796
+ user_id?: string;
22425
22797
  };
22426
22798
  Update: {
22427
22799
  change_source?: string;
@@ -26063,6 +26435,8 @@ export type Database = {
26063
26435
  id: string;
26064
26436
  internal_notes: string | null;
26065
26437
  needs_detail_review: boolean;
26438
+ offerte_teruggestuurd_id: string | null;
26439
+ offerte_teruggestuurd_op: string | null;
26066
26440
  parent_werkbon_id: string | null;
26067
26441
  parsed_payload: Json | null;
26068
26442
  planning_status: string;
@@ -26107,6 +26481,8 @@ export type Database = {
26107
26481
  id?: string;
26108
26482
  internal_notes?: string | null;
26109
26483
  needs_detail_review?: boolean;
26484
+ offerte_teruggestuurd_id?: string | null;
26485
+ offerte_teruggestuurd_op?: string | null;
26110
26486
  parent_werkbon_id?: string | null;
26111
26487
  parsed_payload?: Json | null;
26112
26488
  planning_status?: string;
@@ -26151,6 +26527,8 @@ export type Database = {
26151
26527
  id?: string;
26152
26528
  internal_notes?: string | null;
26153
26529
  needs_detail_review?: boolean;
26530
+ offerte_teruggestuurd_id?: string | null;
26531
+ offerte_teruggestuurd_op?: string | null;
26154
26532
  parent_werkbon_id?: string | null;
26155
26533
  parsed_payload?: Json | null;
26156
26534
  planning_status?: string;
@@ -27622,6 +28000,24 @@ export type Database = {
27622
28000
  isSetofReturn: true;
27623
28001
  };
27624
28002
  };
28003
+ claim_floriday_base_supply: {
28004
+ Args: {
28005
+ p_worker?: string;
28006
+ };
28007
+ Returns: {
28008
+ attempts: number;
28009
+ id: string;
28010
+ number_of_pieces: number;
28011
+ product_id: string;
28012
+ sale_price: number;
28013
+ stock_mode: string;
28014
+ target_week: number;
28015
+ target_year: number;
28016
+ trade_item_id: string;
28017
+ unit: string;
28018
+ uses_catalog_availability: boolean;
28019
+ }[];
28020
+ };
27625
28021
  claim_floriday_stock_queue: {
27626
28022
  Args: {
27627
28023
  p_limit?: number;
@@ -27630,6 +28026,7 @@ export type Database = {
27630
28026
  Returns: {
27631
28027
  attempts: number;
27632
28028
  availability_sent_at: string | null;
28029
+ base_supply_outcome: string | null;
27633
28030
  connection_id: string;
27634
28031
  created_at: string;
27635
28032
  dead_lettered_at: string | null;
@@ -27642,8 +28039,12 @@ export type Database = {
27642
28039
  locked_by: string | null;
27643
28040
  next_attempt_at: string;
27644
28041
  number_of_pieces: number;
28042
+ price_note: string | null;
28043
+ price_sent: number | null;
28044
+ price_status: string | null;
27645
28045
  product_id: string | null;
27646
28046
  quantity_sent_at: string | null;
28047
+ result_label: string | null;
27647
28048
  sent_at: string | null;
27648
28049
  skip_reason: string | null;
27649
28050
  status: string;
@@ -27907,6 +28308,19 @@ export type Database = {
27907
28308
  Args: never;
27908
28309
  Returns: undefined;
27909
28310
  };
28311
+ complete_floriday_base_supply: {
28312
+ Args: {
28313
+ p_attempt_id?: string;
28314
+ p_error?: string;
28315
+ p_id: string;
28316
+ p_kind: string;
28317
+ p_label?: string;
28318
+ p_outcome?: string;
28319
+ p_price?: number;
28320
+ p_price_status?: string;
28321
+ };
28322
+ Returns: string;
28323
+ };
27910
28324
  complete_floriday_stock_queue: {
27911
28325
  Args: {
27912
28326
  p_attempt_id?: string;
@@ -28083,6 +28497,19 @@ export type Database = {
28083
28497
  };
28084
28498
  Returns: Json;
28085
28499
  };
28500
+ dashboard_funnel_betaald: {
28501
+ Args: {
28502
+ _bedragen: number[];
28503
+ _statussen: string[];
28504
+ };
28505
+ Returns: boolean;
28506
+ };
28507
+ dashboard_jaar_start: {
28508
+ Args: {
28509
+ _vandaag: string;
28510
+ };
28511
+ Returns: string;
28512
+ };
28086
28513
  dashboard_list_public_schema: {
28087
28514
  Args: never;
28088
28515
  Returns: {
@@ -28091,6 +28518,29 @@ export type Database = {
28091
28518
  table_name: string;
28092
28519
  }[];
28093
28520
  };
28521
+ dashboard_werkbon_funnel: {
28522
+ Args: {
28523
+ _periode?: string;
28524
+ };
28525
+ Returns: Json;
28526
+ };
28527
+ dashboard_werkbon_jaarstats: {
28528
+ Args: never;
28529
+ Returns: Json;
28530
+ };
28531
+ dashboard_werkbon_soort: {
28532
+ Args: {
28533
+ _source: string;
28534
+ };
28535
+ Returns: string;
28536
+ };
28537
+ dashboard_werkbon_teller_plus: {
28538
+ Args: {
28539
+ _soort: string;
28540
+ _ts: string;
28541
+ };
28542
+ Returns: undefined;
28543
+ };
28094
28544
  delete_samenstelling: {
28095
28545
  Args: {
28096
28546
  p_parent_id: string;
@@ -28384,6 +28834,17 @@ export type Database = {
28384
28834
  };
28385
28835
  Returns: string;
28386
28836
  };
28837
+ fust_negative_stock_report: {
28838
+ Args: never;
28839
+ Returns: {
28840
+ duplicate_names: number;
28841
+ fust_key: string;
28842
+ fust_type_id: string;
28843
+ name: string;
28844
+ shortage: number;
28845
+ stock: number;
28846
+ }[];
28847
+ };
28387
28848
  get_active_floriday_connection_public: {
28388
28849
  Args: never;
28389
28850
  Returns: {
@@ -29370,6 +29831,10 @@ export type Database = {
29370
29831
  Args: never;
29371
29832
  Returns: number;
29372
29833
  };
29834
+ logistics_belading_verstuurder: {
29835
+ Args: never;
29836
+ Returns: string;
29837
+ };
29373
29838
  logistics_block_reason_code: {
29374
29839
  Args: {
29375
29840
  p_details?: Json;
@@ -29875,6 +30340,7 @@ export type Database = {
29875
30340
  approved_at: string | null;
29876
30341
  attempts: number;
29877
30342
  barcode: string;
30343
+ bron: string | null;
29878
30344
  cart_id: string;
29879
30345
  created_at: string;
29880
30346
  document_url: string | null;
@@ -29933,6 +30399,13 @@ export type Database = {
29933
30399
  };
29934
30400
  Returns: Json;
29935
30401
  };
30402
+ logistics_control_scan_record_afmelding: {
30403
+ Args: {
30404
+ p_bron: string;
30405
+ p_order_id: string;
30406
+ };
30407
+ Returns: number;
30408
+ };
29936
30409
  logistics_control_scan_retry: {
29937
30410
  Args: {
29938
30411
  _id: string;
@@ -30303,6 +30776,10 @@ export type Database = {
30303
30776
  Args: never;
30304
30777
  Returns: number;
30305
30778
  };
30779
+ logistics_is_beheer: {
30780
+ Args: never;
30781
+ Returns: boolean;
30782
+ };
30306
30783
  logistics_is_engine_response: {
30307
30784
  Args: {
30308
30785
  p_content: string;
@@ -30402,6 +30879,12 @@ export type Database = {
30402
30879
  Args: never;
30403
30880
  Returns: string;
30404
30881
  };
30882
+ logistics_order_afgemeld: {
30883
+ Args: {
30884
+ p_order_id: string;
30885
+ };
30886
+ Returns: boolean;
30887
+ };
30405
30888
  logistics_order_backlog_info: {
30406
30889
  Args: {
30407
30890
  p_order_id: string;
@@ -30510,6 +30993,12 @@ export type Database = {
30510
30993
  };
30511
30994
  Returns: boolean;
30512
30995
  };
30996
+ logistics_order_is_frozen: {
30997
+ Args: {
30998
+ p_order_id: string;
30999
+ };
31000
+ Returns: boolean;
31001
+ };
30513
31002
  logistics_order_is_topick: {
30514
31003
  Args: {
30515
31004
  p_order_id: string;
@@ -30547,6 +31036,12 @@ export type Database = {
30547
31036
  };
30548
31037
  Returns: boolean;
30549
31038
  };
31039
+ logistics_order_on_frozen_shared_cart: {
31040
+ Args: {
31041
+ p_order_id: string;
31042
+ };
31043
+ Returns: boolean;
31044
+ };
30550
31045
  logistics_order_overview: {
30551
31046
  Args: {
30552
31047
  p_from?: string;
@@ -30572,6 +31067,30 @@ export type Database = {
30572
31067
  };
30573
31068
  Returns: string;
30574
31069
  };
31070
+ logistics_order_plan_coverage: {
31071
+ Args: {
31072
+ p_order_id: string;
31073
+ };
31074
+ Returns: Json;
31075
+ };
31076
+ logistics_order_plan_coverage_list: {
31077
+ Args: {
31078
+ p_order_ids: string[];
31079
+ };
31080
+ Returns: {
31081
+ buffer_id: string;
31082
+ cart_count: number;
31083
+ label: string;
31084
+ order_id: string;
31085
+ order_number: string;
31086
+ pick_row_count: number;
31087
+ pick_status: string;
31088
+ picked_at: string;
31089
+ progress_pct: number;
31090
+ reason: string;
31091
+ state: string;
31092
+ }[];
31093
+ };
30575
31094
  logistics_order_released: {
30576
31095
  Args: {
30577
31096
  p_order_ref: string;
@@ -30732,12 +31251,22 @@ export type Database = {
30732
31251
  order_id: string;
30733
31252
  }[];
30734
31253
  };
31254
+ logistics_plan_coverage_check: {
31255
+ Args: {
31256
+ p_limit?: number;
31257
+ };
31258
+ Returns: Json;
31259
+ };
30735
31260
  logistics_plan_defer: {
30736
31261
  Args: {
30737
31262
  p_id: string;
30738
31263
  };
30739
31264
  Returns: undefined;
30740
31265
  };
31266
+ logistics_plan_due_count: {
31267
+ Args: never;
31268
+ Returns: number;
31269
+ };
30741
31270
  logistics_plan_enqueue: {
30742
31271
  Args: {
30743
31272
  p_order_id: string;
@@ -30976,6 +31505,12 @@ export type Database = {
30976
31505
  };
30977
31506
  Returns: string;
30978
31507
  };
31508
+ logistics_queue_row_has_open_peer: {
31509
+ Args: {
31510
+ p_payload: Json;
31511
+ };
31512
+ Returns: boolean;
31513
+ };
30979
31514
  logistics_queue_stock_email: {
30980
31515
  Args: {
30981
31516
  p_alert_id: string;
@@ -31046,6 +31581,16 @@ export type Database = {
31046
31581
  };
31047
31582
  Returns: Json;
31048
31583
  };
31584
+ logistics_replan_candidates: {
31585
+ Args: {
31586
+ p_delivery_date?: string;
31587
+ p_include_frozen?: boolean;
31588
+ };
31589
+ Returns: {
31590
+ frozen: boolean;
31591
+ order_id: string;
31592
+ }[];
31593
+ };
31049
31594
  logistics_replan_clear_foreign_cart_items: {
31050
31595
  Args: {
31051
31596
  p_order_id: string;
@@ -31065,6 +31610,21 @@ export type Database = {
31065
31610
  };
31066
31611
  Returns: Json;
31067
31612
  };
31613
+ logistics_replan_preview: {
31614
+ Args: {
31615
+ p_delivery_date?: string;
31616
+ p_include_frozen?: boolean;
31617
+ };
31618
+ Returns: Json;
31619
+ };
31620
+ logistics_replan_selected: {
31621
+ Args: {
31622
+ p_confirm_count: number;
31623
+ p_delivery_date?: string;
31624
+ p_include_frozen?: boolean;
31625
+ };
31626
+ Returns: Json;
31627
+ };
31068
31628
  logistics_replan_selected_orders: {
31069
31629
  Args: {
31070
31630
  p_order_ids: string[];
@@ -31234,6 +31794,13 @@ export type Database = {
31234
31794
  };
31235
31795
  Returns: number;
31236
31796
  };
31797
+ logistics_set_components_scaled: {
31798
+ Args: {
31799
+ p_order_item_id: string;
31800
+ p_plants: number;
31801
+ };
31802
+ Returns: Json;
31803
+ };
31237
31804
  logistics_set_order_priority: {
31238
31805
  Args: {
31239
31806
  p_order_ref: string;
@@ -31249,6 +31816,17 @@ export type Database = {
31249
31816
  };
31250
31817
  Returns: Json;
31251
31818
  };
31819
+ logistics_shared_cart_peers: {
31820
+ Args: {
31821
+ p_order_id: string;
31822
+ };
31823
+ Returns: {
31824
+ buffer_id: string;
31825
+ cart_id: string;
31826
+ cart_number: number;
31827
+ peer_order_id: string;
31828
+ }[];
31829
+ };
31252
31830
  logistics_shift_to_workday: {
31253
31831
  Args: {
31254
31832
  p_days: string[];
@@ -31365,6 +31943,13 @@ export type Database = {
31365
31943
  };
31366
31944
  Returns: undefined;
31367
31945
  };
31946
+ logistics_slip_note_hold_belading: {
31947
+ Args: {
31948
+ _id: string;
31949
+ _reason: string;
31950
+ };
31951
+ Returns: undefined;
31952
+ };
31368
31953
  logistics_slip_note_keep_waiting: {
31369
31954
  Args: {
31370
31955
  _class?: string;
@@ -33194,6 +33779,10 @@ export type Database = {
33194
33779
  };
33195
33780
  Returns: number;
33196
33781
  };
33782
+ run_floriday_base_supply_process: {
33783
+ Args: never;
33784
+ Returns: undefined;
33785
+ };
33197
33786
  run_floriday_continuous_stock_sync: {
33198
33787
  Args: never;
33199
33788
  Returns: undefined;
@@ -34553,16 +35142,40 @@ export type Database = {
34553
35142
  };
34554
35143
  Returns: Json;
34555
35144
  };
35145
+ voorraad_can_write: {
35146
+ Args: never;
35147
+ Returns: boolean;
35148
+ };
34556
35149
  voorraad_cleanup_old_rows: {
34557
35150
  Args: never;
34558
35151
  Returns: Json;
34559
35152
  };
35153
+ voorraad_production_enabled: {
35154
+ Args: never;
35155
+ Returns: boolean;
35156
+ };
35157
+ voorraad_week_is_past: {
35158
+ Args: {
35159
+ p_week: number;
35160
+ p_year: number;
35161
+ };
35162
+ Returns: boolean;
35163
+ };
34560
35164
  wake_print_queue: {
34561
35165
  Args: {
34562
35166
  _min_interval_ms?: number;
34563
35167
  };
34564
35168
  Returns: number;
34565
35169
  };
35170
+ werkbon_format_project_number: {
35171
+ Args: {
35172
+ _parent_project_number?: string;
35173
+ _sequence_number: number;
35174
+ _source_type: string;
35175
+ _version: number;
35176
+ };
35177
+ Returns: string;
35178
+ };
34566
35179
  werkbon_pakket_tijden: {
34567
35180
  Args: {
34568
35181
  _werkbon_id: string;
@@ -34585,6 +35198,14 @@ export type Database = {
34585
35198
  total_minutes: number;
34586
35199
  }[];
34587
35200
  };
35201
+ wo_boek_standby_uren: {
35202
+ Args: {
35203
+ _datum: string;
35204
+ _minuten: number;
35205
+ _werkbon_id: string;
35206
+ };
35207
+ Returns: Json;
35208
+ };
34588
35209
  wo_create_from_source: {
34589
35210
  Args: {
34590
35211
  _payload?: Json;
@@ -34671,6 +35292,12 @@ export type Database = {
34671
35292
  };
34672
35293
  Returns: Json;
34673
35294
  };
35295
+ wo_send_to_quote: {
35296
+ Args: {
35297
+ _werkbon_id: string;
35298
+ };
35299
+ Returns: Json;
35300
+ };
34674
35301
  wo_set_status: {
34675
35302
  Args: {
34676
35303
  _reason?: string;