@flowselections/pick-schermen-kwekers 1.0.30 → 1.0.31

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;
@@ -12428,6 +12692,33 @@ export type Database = {
12428
12692
  };
12429
12693
  Relationships: [];
12430
12694
  };
12695
+ logistics_plan_coverage_retries: {
12696
+ Row: {
12697
+ attempts: number;
12698
+ gave_up_at: string | null;
12699
+ last_at: string;
12700
+ last_pct: number | null;
12701
+ next_at: string;
12702
+ order_id: string;
12703
+ };
12704
+ Insert: {
12705
+ attempts?: number;
12706
+ gave_up_at?: string | null;
12707
+ last_at?: string;
12708
+ last_pct?: number | null;
12709
+ next_at?: string;
12710
+ order_id: string;
12711
+ };
12712
+ Update: {
12713
+ attempts?: number;
12714
+ gave_up_at?: string | null;
12715
+ last_at?: string;
12716
+ last_pct?: number | null;
12717
+ next_at?: string;
12718
+ order_id?: string;
12719
+ };
12720
+ Relationships: [];
12721
+ };
12431
12722
  logistics_plan_locks: {
12432
12723
  Row: {
12433
12724
  created_at: string;
@@ -17798,6 +18089,12 @@ export type Database = {
17798
18089
  email_purpose: string | null;
17799
18090
  enabled: boolean;
17800
18091
  id: boolean;
18092
+ overrun_auto_mail: boolean;
18093
+ overrun_body_template: string;
18094
+ overrun_enabled: boolean;
18095
+ overrun_mail_minutes: number;
18096
+ overrun_notice_minutes: number;
18097
+ overrun_subject_template: string;
17801
18098
  reply_to: string | null;
17802
18099
  reschedule_body_template: string;
17803
18100
  reschedule_subject_template: string;
@@ -17814,6 +18111,12 @@ export type Database = {
17814
18111
  email_purpose?: string | null;
17815
18112
  enabled?: boolean;
17816
18113
  id?: boolean;
18114
+ overrun_auto_mail?: boolean;
18115
+ overrun_body_template?: string;
18116
+ overrun_enabled?: boolean;
18117
+ overrun_mail_minutes?: number;
18118
+ overrun_notice_minutes?: number;
18119
+ overrun_subject_template?: string;
17817
18120
  reply_to?: string | null;
17818
18121
  reschedule_body_template?: string;
17819
18122
  reschedule_subject_template?: string;
@@ -17830,6 +18133,12 @@ export type Database = {
17830
18133
  email_purpose?: string | null;
17831
18134
  enabled?: boolean;
17832
18135
  id?: boolean;
18136
+ overrun_auto_mail?: boolean;
18137
+ overrun_body_template?: string;
18138
+ overrun_enabled?: boolean;
18139
+ overrun_mail_minutes?: number;
18140
+ overrun_notice_minutes?: number;
18141
+ overrun_subject_template?: string;
17833
18142
  reply_to?: string | null;
17834
18143
  reschedule_body_template?: string;
17835
18144
  reschedule_subject_template?: string;
@@ -17921,6 +18230,66 @@ export type Database = {
17921
18230
  };
17922
18231
  Relationships: [];
17923
18232
  };
18233
+ planning_overrun_events: {
18234
+ Row: {
18235
+ created_at: string;
18236
+ id: string;
18237
+ mail_level: number;
18238
+ mailed_at: string | null;
18239
+ mailed_item_id: string | null;
18240
+ mailed_items: Json;
18241
+ monteur_id: string | null;
18242
+ original_end_at: string;
18243
+ overrun_minutes: number;
18244
+ planning_item_id: string;
18245
+ shifted: Json;
18246
+ updated_at: string;
18247
+ };
18248
+ Insert: {
18249
+ created_at?: string;
18250
+ id?: string;
18251
+ mail_level?: number;
18252
+ mailed_at?: string | null;
18253
+ mailed_item_id?: string | null;
18254
+ mailed_items?: Json;
18255
+ monteur_id?: string | null;
18256
+ original_end_at: string;
18257
+ overrun_minutes?: number;
18258
+ planning_item_id: string;
18259
+ shifted?: Json;
18260
+ updated_at?: string;
18261
+ };
18262
+ Update: {
18263
+ created_at?: string;
18264
+ id?: string;
18265
+ mail_level?: number;
18266
+ mailed_at?: string | null;
18267
+ mailed_item_id?: string | null;
18268
+ mailed_items?: Json;
18269
+ monteur_id?: string | null;
18270
+ original_end_at?: string;
18271
+ overrun_minutes?: number;
18272
+ planning_item_id?: string;
18273
+ shifted?: Json;
18274
+ updated_at?: string;
18275
+ };
18276
+ Relationships: [
18277
+ {
18278
+ foreignKeyName: "planning_overrun_events_planning_item_id_fkey";
18279
+ columns: ["planning_item_id"];
18280
+ isOneToOne: true;
18281
+ referencedRelation: "planning_items";
18282
+ referencedColumns: ["id"];
18283
+ },
18284
+ {
18285
+ foreignKeyName: "planning_overrun_events_planning_item_id_fkey";
18286
+ columns: ["planning_item_id"];
18287
+ isOneToOne: true;
18288
+ referencedRelation: "planning_overview";
18289
+ referencedColumns: ["id"];
18290
+ }
18291
+ ];
18292
+ };
17924
18293
  planning_settings: {
17925
18294
  Row: {
17926
18295
  company_address: string | null;
@@ -22421,7 +22790,7 @@ export type Database = {
22421
22790
  reserved_stock?: number;
22422
22791
  trade_item_key: string;
22423
22792
  updated_at?: string;
22424
- user_id: string;
22793
+ user_id?: string;
22425
22794
  };
22426
22795
  Update: {
22427
22796
  change_source?: string;
@@ -26063,6 +26432,8 @@ export type Database = {
26063
26432
  id: string;
26064
26433
  internal_notes: string | null;
26065
26434
  needs_detail_review: boolean;
26435
+ offerte_teruggestuurd_id: string | null;
26436
+ offerte_teruggestuurd_op: string | null;
26066
26437
  parent_werkbon_id: string | null;
26067
26438
  parsed_payload: Json | null;
26068
26439
  planning_status: string;
@@ -26107,6 +26478,8 @@ export type Database = {
26107
26478
  id?: string;
26108
26479
  internal_notes?: string | null;
26109
26480
  needs_detail_review?: boolean;
26481
+ offerte_teruggestuurd_id?: string | null;
26482
+ offerte_teruggestuurd_op?: string | null;
26110
26483
  parent_werkbon_id?: string | null;
26111
26484
  parsed_payload?: Json | null;
26112
26485
  planning_status?: string;
@@ -26151,6 +26524,8 @@ export type Database = {
26151
26524
  id?: string;
26152
26525
  internal_notes?: string | null;
26153
26526
  needs_detail_review?: boolean;
26527
+ offerte_teruggestuurd_id?: string | null;
26528
+ offerte_teruggestuurd_op?: string | null;
26154
26529
  parent_werkbon_id?: string | null;
26155
26530
  parsed_payload?: Json | null;
26156
26531
  planning_status?: string;
@@ -27622,6 +27997,24 @@ export type Database = {
27622
27997
  isSetofReturn: true;
27623
27998
  };
27624
27999
  };
28000
+ claim_floriday_base_supply: {
28001
+ Args: {
28002
+ p_worker?: string;
28003
+ };
28004
+ Returns: {
28005
+ attempts: number;
28006
+ id: string;
28007
+ number_of_pieces: number;
28008
+ product_id: string;
28009
+ sale_price: number;
28010
+ stock_mode: string;
28011
+ target_week: number;
28012
+ target_year: number;
28013
+ trade_item_id: string;
28014
+ unit: string;
28015
+ uses_catalog_availability: boolean;
28016
+ }[];
28017
+ };
27625
28018
  claim_floriday_stock_queue: {
27626
28019
  Args: {
27627
28020
  p_limit?: number;
@@ -27630,6 +28023,7 @@ export type Database = {
27630
28023
  Returns: {
27631
28024
  attempts: number;
27632
28025
  availability_sent_at: string | null;
28026
+ base_supply_outcome: string | null;
27633
28027
  connection_id: string;
27634
28028
  created_at: string;
27635
28029
  dead_lettered_at: string | null;
@@ -27642,8 +28036,12 @@ export type Database = {
27642
28036
  locked_by: string | null;
27643
28037
  next_attempt_at: string;
27644
28038
  number_of_pieces: number;
28039
+ price_note: string | null;
28040
+ price_sent: number | null;
28041
+ price_status: string | null;
27645
28042
  product_id: string | null;
27646
28043
  quantity_sent_at: string | null;
28044
+ result_label: string | null;
27647
28045
  sent_at: string | null;
27648
28046
  skip_reason: string | null;
27649
28047
  status: string;
@@ -27907,6 +28305,19 @@ export type Database = {
27907
28305
  Args: never;
27908
28306
  Returns: undefined;
27909
28307
  };
28308
+ complete_floriday_base_supply: {
28309
+ Args: {
28310
+ p_attempt_id?: string;
28311
+ p_error?: string;
28312
+ p_id: string;
28313
+ p_kind: string;
28314
+ p_label?: string;
28315
+ p_outcome?: string;
28316
+ p_price?: number;
28317
+ p_price_status?: string;
28318
+ };
28319
+ Returns: string;
28320
+ };
27910
28321
  complete_floriday_stock_queue: {
27911
28322
  Args: {
27912
28323
  p_attempt_id?: string;
@@ -28083,6 +28494,19 @@ export type Database = {
28083
28494
  };
28084
28495
  Returns: Json;
28085
28496
  };
28497
+ dashboard_funnel_betaald: {
28498
+ Args: {
28499
+ _bedragen: number[];
28500
+ _statussen: string[];
28501
+ };
28502
+ Returns: boolean;
28503
+ };
28504
+ dashboard_jaar_start: {
28505
+ Args: {
28506
+ _vandaag: string;
28507
+ };
28508
+ Returns: string;
28509
+ };
28086
28510
  dashboard_list_public_schema: {
28087
28511
  Args: never;
28088
28512
  Returns: {
@@ -28091,6 +28515,29 @@ export type Database = {
28091
28515
  table_name: string;
28092
28516
  }[];
28093
28517
  };
28518
+ dashboard_werkbon_funnel: {
28519
+ Args: {
28520
+ _periode?: string;
28521
+ };
28522
+ Returns: Json;
28523
+ };
28524
+ dashboard_werkbon_jaarstats: {
28525
+ Args: never;
28526
+ Returns: Json;
28527
+ };
28528
+ dashboard_werkbon_soort: {
28529
+ Args: {
28530
+ _source: string;
28531
+ };
28532
+ Returns: string;
28533
+ };
28534
+ dashboard_werkbon_teller_plus: {
28535
+ Args: {
28536
+ _soort: string;
28537
+ _ts: string;
28538
+ };
28539
+ Returns: undefined;
28540
+ };
28094
28541
  delete_samenstelling: {
28095
28542
  Args: {
28096
28543
  p_parent_id: string;
@@ -28384,6 +28831,17 @@ export type Database = {
28384
28831
  };
28385
28832
  Returns: string;
28386
28833
  };
28834
+ fust_negative_stock_report: {
28835
+ Args: never;
28836
+ Returns: {
28837
+ duplicate_names: number;
28838
+ fust_key: string;
28839
+ fust_type_id: string;
28840
+ name: string;
28841
+ shortage: number;
28842
+ stock: number;
28843
+ }[];
28844
+ };
28387
28845
  get_active_floriday_connection_public: {
28388
28846
  Args: never;
28389
28847
  Returns: {
@@ -29370,6 +29828,10 @@ export type Database = {
29370
29828
  Args: never;
29371
29829
  Returns: number;
29372
29830
  };
29831
+ logistics_belading_verstuurder: {
29832
+ Args: never;
29833
+ Returns: string;
29834
+ };
29373
29835
  logistics_block_reason_code: {
29374
29836
  Args: {
29375
29837
  p_details?: Json;
@@ -30303,6 +30765,10 @@ export type Database = {
30303
30765
  Args: never;
30304
30766
  Returns: number;
30305
30767
  };
30768
+ logistics_is_beheer: {
30769
+ Args: never;
30770
+ Returns: boolean;
30771
+ };
30306
30772
  logistics_is_engine_response: {
30307
30773
  Args: {
30308
30774
  p_content: string;
@@ -30510,6 +30976,12 @@ export type Database = {
30510
30976
  };
30511
30977
  Returns: boolean;
30512
30978
  };
30979
+ logistics_order_is_frozen: {
30980
+ Args: {
30981
+ p_order_id: string;
30982
+ };
30983
+ Returns: boolean;
30984
+ };
30513
30985
  logistics_order_is_topick: {
30514
30986
  Args: {
30515
30987
  p_order_id: string;
@@ -30547,6 +31019,12 @@ export type Database = {
30547
31019
  };
30548
31020
  Returns: boolean;
30549
31021
  };
31022
+ logistics_order_on_frozen_shared_cart: {
31023
+ Args: {
31024
+ p_order_id: string;
31025
+ };
31026
+ Returns: boolean;
31027
+ };
30550
31028
  logistics_order_overview: {
30551
31029
  Args: {
30552
31030
  p_from?: string;
@@ -30572,6 +31050,30 @@ export type Database = {
30572
31050
  };
30573
31051
  Returns: string;
30574
31052
  };
31053
+ logistics_order_plan_coverage: {
31054
+ Args: {
31055
+ p_order_id: string;
31056
+ };
31057
+ Returns: Json;
31058
+ };
31059
+ logistics_order_plan_coverage_list: {
31060
+ Args: {
31061
+ p_order_ids: string[];
31062
+ };
31063
+ Returns: {
31064
+ buffer_id: string;
31065
+ cart_count: number;
31066
+ label: string;
31067
+ order_id: string;
31068
+ order_number: string;
31069
+ pick_row_count: number;
31070
+ pick_status: string;
31071
+ picked_at: string;
31072
+ progress_pct: number;
31073
+ reason: string;
31074
+ state: string;
31075
+ }[];
31076
+ };
30575
31077
  logistics_order_released: {
30576
31078
  Args: {
30577
31079
  p_order_ref: string;
@@ -30732,12 +31234,22 @@ export type Database = {
30732
31234
  order_id: string;
30733
31235
  }[];
30734
31236
  };
31237
+ logistics_plan_coverage_check: {
31238
+ Args: {
31239
+ p_limit?: number;
31240
+ };
31241
+ Returns: Json;
31242
+ };
30735
31243
  logistics_plan_defer: {
30736
31244
  Args: {
30737
31245
  p_id: string;
30738
31246
  };
30739
31247
  Returns: undefined;
30740
31248
  };
31249
+ logistics_plan_due_count: {
31250
+ Args: never;
31251
+ Returns: number;
31252
+ };
30741
31253
  logistics_plan_enqueue: {
30742
31254
  Args: {
30743
31255
  p_order_id: string;
@@ -30976,6 +31488,12 @@ export type Database = {
30976
31488
  };
30977
31489
  Returns: string;
30978
31490
  };
31491
+ logistics_queue_row_has_open_peer: {
31492
+ Args: {
31493
+ p_payload: Json;
31494
+ };
31495
+ Returns: boolean;
31496
+ };
30979
31497
  logistics_queue_stock_email: {
30980
31498
  Args: {
30981
31499
  p_alert_id: string;
@@ -31046,6 +31564,16 @@ export type Database = {
31046
31564
  };
31047
31565
  Returns: Json;
31048
31566
  };
31567
+ logistics_replan_candidates: {
31568
+ Args: {
31569
+ p_delivery_date?: string;
31570
+ p_include_frozen?: boolean;
31571
+ };
31572
+ Returns: {
31573
+ frozen: boolean;
31574
+ order_id: string;
31575
+ }[];
31576
+ };
31049
31577
  logistics_replan_clear_foreign_cart_items: {
31050
31578
  Args: {
31051
31579
  p_order_id: string;
@@ -31065,6 +31593,21 @@ export type Database = {
31065
31593
  };
31066
31594
  Returns: Json;
31067
31595
  };
31596
+ logistics_replan_preview: {
31597
+ Args: {
31598
+ p_delivery_date?: string;
31599
+ p_include_frozen?: boolean;
31600
+ };
31601
+ Returns: Json;
31602
+ };
31603
+ logistics_replan_selected: {
31604
+ Args: {
31605
+ p_confirm_count: number;
31606
+ p_delivery_date?: string;
31607
+ p_include_frozen?: boolean;
31608
+ };
31609
+ Returns: Json;
31610
+ };
31068
31611
  logistics_replan_selected_orders: {
31069
31612
  Args: {
31070
31613
  p_order_ids: string[];
@@ -31234,6 +31777,13 @@ export type Database = {
31234
31777
  };
31235
31778
  Returns: number;
31236
31779
  };
31780
+ logistics_set_components_scaled: {
31781
+ Args: {
31782
+ p_order_item_id: string;
31783
+ p_plants: number;
31784
+ };
31785
+ Returns: Json;
31786
+ };
31237
31787
  logistics_set_order_priority: {
31238
31788
  Args: {
31239
31789
  p_order_ref: string;
@@ -31249,6 +31799,17 @@ export type Database = {
31249
31799
  };
31250
31800
  Returns: Json;
31251
31801
  };
31802
+ logistics_shared_cart_peers: {
31803
+ Args: {
31804
+ p_order_id: string;
31805
+ };
31806
+ Returns: {
31807
+ buffer_id: string;
31808
+ cart_id: string;
31809
+ cart_number: number;
31810
+ peer_order_id: string;
31811
+ }[];
31812
+ };
31252
31813
  logistics_shift_to_workday: {
31253
31814
  Args: {
31254
31815
  p_days: string[];
@@ -31365,6 +31926,13 @@ export type Database = {
31365
31926
  };
31366
31927
  Returns: undefined;
31367
31928
  };
31929
+ logistics_slip_note_hold_belading: {
31930
+ Args: {
31931
+ _id: string;
31932
+ _reason: string;
31933
+ };
31934
+ Returns: undefined;
31935
+ };
31368
31936
  logistics_slip_note_keep_waiting: {
31369
31937
  Args: {
31370
31938
  _class?: string;
@@ -33194,6 +33762,10 @@ export type Database = {
33194
33762
  };
33195
33763
  Returns: number;
33196
33764
  };
33765
+ run_floriday_base_supply_process: {
33766
+ Args: never;
33767
+ Returns: undefined;
33768
+ };
33197
33769
  run_floriday_continuous_stock_sync: {
33198
33770
  Args: never;
33199
33771
  Returns: undefined;
@@ -34553,16 +35125,40 @@ export type Database = {
34553
35125
  };
34554
35126
  Returns: Json;
34555
35127
  };
35128
+ voorraad_can_write: {
35129
+ Args: never;
35130
+ Returns: boolean;
35131
+ };
34556
35132
  voorraad_cleanup_old_rows: {
34557
35133
  Args: never;
34558
35134
  Returns: Json;
34559
35135
  };
35136
+ voorraad_production_enabled: {
35137
+ Args: never;
35138
+ Returns: boolean;
35139
+ };
35140
+ voorraad_week_is_past: {
35141
+ Args: {
35142
+ p_week: number;
35143
+ p_year: number;
35144
+ };
35145
+ Returns: boolean;
35146
+ };
34560
35147
  wake_print_queue: {
34561
35148
  Args: {
34562
35149
  _min_interval_ms?: number;
34563
35150
  };
34564
35151
  Returns: number;
34565
35152
  };
35153
+ werkbon_format_project_number: {
35154
+ Args: {
35155
+ _parent_project_number?: string;
35156
+ _sequence_number: number;
35157
+ _source_type: string;
35158
+ _version: number;
35159
+ };
35160
+ Returns: string;
35161
+ };
34566
35162
  werkbon_pakket_tijden: {
34567
35163
  Args: {
34568
35164
  _werkbon_id: string;
@@ -34585,6 +35181,14 @@ export type Database = {
34585
35181
  total_minutes: number;
34586
35182
  }[];
34587
35183
  };
35184
+ wo_boek_standby_uren: {
35185
+ Args: {
35186
+ _datum: string;
35187
+ _minuten: number;
35188
+ _werkbon_id: string;
35189
+ };
35190
+ Returns: Json;
35191
+ };
34588
35192
  wo_create_from_source: {
34589
35193
  Args: {
34590
35194
  _payload?: Json;
@@ -34671,6 +35275,12 @@ export type Database = {
34671
35275
  };
34672
35276
  Returns: Json;
34673
35277
  };
35278
+ wo_send_to_quote: {
35279
+ Args: {
35280
+ _werkbon_id: string;
35281
+ };
35282
+ Returns: Json;
35283
+ };
34674
35284
  wo_set_status: {
34675
35285
  Args: {
34676
35286
  _reason?: string;