@flowselections/pick-schermen-kwekers 1.0.29 → 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,19 +6807,25 @@ 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;
6654
6814
  desired_available: boolean | null;
6655
6815
  gateway_attempt_id: string | null;
6816
+ gateway_unreachable_since: string | null;
6656
6817
  id: string;
6657
6818
  last_error: string | null;
6658
6819
  locked_at: string | null;
6659
6820
  locked_by: string | null;
6660
6821
  next_attempt_at: string;
6661
6822
  number_of_pieces: number;
6823
+ price_note: string | null;
6824
+ price_sent: number | null;
6825
+ price_status: string | null;
6662
6826
  product_id: string | null;
6663
6827
  quantity_sent_at: string | null;
6828
+ result_label: string | null;
6664
6829
  sent_at: string | null;
6665
6830
  skip_reason: string | null;
6666
6831
  status: string;
@@ -6675,19 +6840,25 @@ export type Database = {
6675
6840
  Insert: {
6676
6841
  attempts?: number;
6677
6842
  availability_sent_at?: string | null;
6843
+ base_supply_outcome?: string | null;
6678
6844
  connection_id: string;
6679
6845
  created_at?: string;
6680
6846
  dead_lettered_at?: string | null;
6681
6847
  desired_available?: boolean | null;
6682
6848
  gateway_attempt_id?: string | null;
6849
+ gateway_unreachable_since?: string | null;
6683
6850
  id?: string;
6684
6851
  last_error?: string | null;
6685
6852
  locked_at?: string | null;
6686
6853
  locked_by?: string | null;
6687
6854
  next_attempt_at?: string;
6688
6855
  number_of_pieces?: number;
6856
+ price_note?: string | null;
6857
+ price_sent?: number | null;
6858
+ price_status?: string | null;
6689
6859
  product_id?: string | null;
6690
6860
  quantity_sent_at?: string | null;
6861
+ result_label?: string | null;
6691
6862
  sent_at?: string | null;
6692
6863
  skip_reason?: string | null;
6693
6864
  status?: string;
@@ -6702,19 +6873,25 @@ export type Database = {
6702
6873
  Update: {
6703
6874
  attempts?: number;
6704
6875
  availability_sent_at?: string | null;
6876
+ base_supply_outcome?: string | null;
6705
6877
  connection_id?: string;
6706
6878
  created_at?: string;
6707
6879
  dead_lettered_at?: string | null;
6708
6880
  desired_available?: boolean | null;
6709
6881
  gateway_attempt_id?: string | null;
6882
+ gateway_unreachable_since?: string | null;
6710
6883
  id?: string;
6711
6884
  last_error?: string | null;
6712
6885
  locked_at?: string | null;
6713
6886
  locked_by?: string | null;
6714
6887
  next_attempt_at?: string;
6715
6888
  number_of_pieces?: number;
6889
+ price_note?: string | null;
6890
+ price_sent?: number | null;
6891
+ price_status?: string | null;
6716
6892
  product_id?: string | null;
6717
6893
  quantity_sent_at?: string | null;
6894
+ result_label?: string | null;
6718
6895
  sent_at?: string | null;
6719
6896
  skip_reason?: string | null;
6720
6897
  status?: string;
@@ -7440,6 +7617,87 @@ export type Database = {
7440
7617
  };
7441
7618
  Relationships: [];
7442
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
+ };
7443
7701
  floriday_log_retention: {
7444
7702
  Row: {
7445
7703
  created_at: string;
@@ -8645,7 +8903,7 @@ export type Database = {
8645
8903
  note?: string | null;
8646
8904
  reason?: string;
8647
8905
  trade_item_key?: string | null;
8648
- user_id: string;
8906
+ user_id?: string;
8649
8907
  };
8650
8908
  Update: {
8651
8909
  created_at?: string;
@@ -8706,7 +8964,7 @@ export type Database = {
8706
8964
  stock?: number;
8707
8965
  updated_at?: string;
8708
8966
  used_by_count?: number;
8709
- user_id: string;
8967
+ user_id?: string;
8710
8968
  vbn_code?: number | null;
8711
8969
  width_mm?: number | null;
8712
8970
  };
@@ -8890,6 +9148,8 @@ export type Database = {
8890
9148
  };
8891
9149
  inventory_recompute_limits: {
8892
9150
  Row: {
9151
+ base_supply_batch: number;
9152
+ base_supply_uses_catalog_availability: boolean;
8893
9153
  drain_batch: number;
8894
9154
  id: boolean;
8895
9155
  import_chunk_size: number;
@@ -8899,15 +9159,20 @@ export type Database = {
8899
9159
  import_retention_days: number;
8900
9160
  max_ms_inline: number;
8901
9161
  max_parents_inline: number;
9162
+ queue_base_supply_timeout_minutes: number;
8902
9163
  queue_cleanup_batch: number;
8903
9164
  queue_cleanup_max_batches: number;
8904
9165
  queue_failed_days: number;
9166
+ queue_gateway_backoff_minutes: number[];
9167
+ queue_gateway_give_up_hours: number;
8905
9168
  queue_sent_days: number;
8906
9169
  queue_skipped_days: number;
8907
9170
  queue_superseded_days: number;
8908
9171
  updated_at: string;
8909
9172
  };
8910
9173
  Insert: {
9174
+ base_supply_batch?: number;
9175
+ base_supply_uses_catalog_availability?: boolean;
8911
9176
  drain_batch?: number;
8912
9177
  id?: boolean;
8913
9178
  import_chunk_size?: number;
@@ -8917,15 +9182,20 @@ export type Database = {
8917
9182
  import_retention_days?: number;
8918
9183
  max_ms_inline?: number;
8919
9184
  max_parents_inline?: number;
9185
+ queue_base_supply_timeout_minutes?: number;
8920
9186
  queue_cleanup_batch?: number;
8921
9187
  queue_cleanup_max_batches?: number;
8922
9188
  queue_failed_days?: number;
9189
+ queue_gateway_backoff_minutes?: number[];
9190
+ queue_gateway_give_up_hours?: number;
8923
9191
  queue_sent_days?: number;
8924
9192
  queue_skipped_days?: number;
8925
9193
  queue_superseded_days?: number;
8926
9194
  updated_at?: string;
8927
9195
  };
8928
9196
  Update: {
9197
+ base_supply_batch?: number;
9198
+ base_supply_uses_catalog_availability?: boolean;
8929
9199
  drain_batch?: number;
8930
9200
  id?: boolean;
8931
9201
  import_chunk_size?: number;
@@ -8935,9 +9205,12 @@ export type Database = {
8935
9205
  import_retention_days?: number;
8936
9206
  max_ms_inline?: number;
8937
9207
  max_parents_inline?: number;
9208
+ queue_base_supply_timeout_minutes?: number;
8938
9209
  queue_cleanup_batch?: number;
8939
9210
  queue_cleanup_max_batches?: number;
8940
9211
  queue_failed_days?: number;
9212
+ queue_gateway_backoff_minutes?: number[];
9213
+ queue_gateway_give_up_hours?: number;
8941
9214
  queue_sent_days?: number;
8942
9215
  queue_skipped_days?: number;
8943
9216
  queue_superseded_days?: number;
@@ -12419,6 +12692,33 @@ export type Database = {
12419
12692
  };
12420
12693
  Relationships: [];
12421
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
+ };
12422
12722
  logistics_plan_locks: {
12423
12723
  Row: {
12424
12724
  created_at: string;
@@ -17789,6 +18089,12 @@ export type Database = {
17789
18089
  email_purpose: string | null;
17790
18090
  enabled: boolean;
17791
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;
17792
18098
  reply_to: string | null;
17793
18099
  reschedule_body_template: string;
17794
18100
  reschedule_subject_template: string;
@@ -17805,6 +18111,12 @@ export type Database = {
17805
18111
  email_purpose?: string | null;
17806
18112
  enabled?: boolean;
17807
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;
17808
18120
  reply_to?: string | null;
17809
18121
  reschedule_body_template?: string;
17810
18122
  reschedule_subject_template?: string;
@@ -17821,6 +18133,12 @@ export type Database = {
17821
18133
  email_purpose?: string | null;
17822
18134
  enabled?: boolean;
17823
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;
17824
18142
  reply_to?: string | null;
17825
18143
  reschedule_body_template?: string;
17826
18144
  reschedule_subject_template?: string;
@@ -17912,6 +18230,66 @@ export type Database = {
17912
18230
  };
17913
18231
  Relationships: [];
17914
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
+ };
17915
18293
  planning_settings: {
17916
18294
  Row: {
17917
18295
  company_address: string | null;
@@ -22412,7 +22790,7 @@ export type Database = {
22412
22790
  reserved_stock?: number;
22413
22791
  trade_item_key: string;
22414
22792
  updated_at?: string;
22415
- user_id: string;
22793
+ user_id?: string;
22416
22794
  };
22417
22795
  Update: {
22418
22796
  change_source?: string;
@@ -26054,6 +26432,8 @@ export type Database = {
26054
26432
  id: string;
26055
26433
  internal_notes: string | null;
26056
26434
  needs_detail_review: boolean;
26435
+ offerte_teruggestuurd_id: string | null;
26436
+ offerte_teruggestuurd_op: string | null;
26057
26437
  parent_werkbon_id: string | null;
26058
26438
  parsed_payload: Json | null;
26059
26439
  planning_status: string;
@@ -26098,6 +26478,8 @@ export type Database = {
26098
26478
  id?: string;
26099
26479
  internal_notes?: string | null;
26100
26480
  needs_detail_review?: boolean;
26481
+ offerte_teruggestuurd_id?: string | null;
26482
+ offerte_teruggestuurd_op?: string | null;
26101
26483
  parent_werkbon_id?: string | null;
26102
26484
  parsed_payload?: Json | null;
26103
26485
  planning_status?: string;
@@ -26142,6 +26524,8 @@ export type Database = {
26142
26524
  id?: string;
26143
26525
  internal_notes?: string | null;
26144
26526
  needs_detail_review?: boolean;
26527
+ offerte_teruggestuurd_id?: string | null;
26528
+ offerte_teruggestuurd_op?: string | null;
26145
26529
  parent_werkbon_id?: string | null;
26146
26530
  parsed_payload?: Json | null;
26147
26531
  planning_status?: string;
@@ -27613,6 +27997,24 @@ export type Database = {
27613
27997
  isSetofReturn: true;
27614
27998
  };
27615
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
+ };
27616
28018
  claim_floriday_stock_queue: {
27617
28019
  Args: {
27618
28020
  p_limit?: number;
@@ -27621,19 +28023,25 @@ export type Database = {
27621
28023
  Returns: {
27622
28024
  attempts: number;
27623
28025
  availability_sent_at: string | null;
28026
+ base_supply_outcome: string | null;
27624
28027
  connection_id: string;
27625
28028
  created_at: string;
27626
28029
  dead_lettered_at: string | null;
27627
28030
  desired_available: boolean | null;
27628
28031
  gateway_attempt_id: string | null;
28032
+ gateway_unreachable_since: string | null;
27629
28033
  id: string;
27630
28034
  last_error: string | null;
27631
28035
  locked_at: string | null;
27632
28036
  locked_by: string | null;
27633
28037
  next_attempt_at: string;
27634
28038
  number_of_pieces: number;
28039
+ price_note: string | null;
28040
+ price_sent: number | null;
28041
+ price_status: string | null;
27635
28042
  product_id: string | null;
27636
28043
  quantity_sent_at: string | null;
28044
+ result_label: string | null;
27637
28045
  sent_at: string | null;
27638
28046
  skip_reason: string | null;
27639
28047
  status: string;
@@ -27897,6 +28305,19 @@ export type Database = {
27897
28305
  Args: never;
27898
28306
  Returns: undefined;
27899
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
+ };
27900
28321
  complete_floriday_stock_queue: {
27901
28322
  Args: {
27902
28323
  p_attempt_id?: string;
@@ -28073,6 +28494,19 @@ export type Database = {
28073
28494
  };
28074
28495
  Returns: Json;
28075
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
+ };
28076
28510
  dashboard_list_public_schema: {
28077
28511
  Args: never;
28078
28512
  Returns: {
@@ -28081,6 +28515,29 @@ export type Database = {
28081
28515
  table_name: string;
28082
28516
  }[];
28083
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
+ };
28084
28541
  delete_samenstelling: {
28085
28542
  Args: {
28086
28543
  p_parent_id: string;
@@ -28374,6 +28831,17 @@ export type Database = {
28374
28831
  };
28375
28832
  Returns: string;
28376
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
+ };
28377
28845
  get_active_floriday_connection_public: {
28378
28846
  Args: never;
28379
28847
  Returns: {
@@ -29360,6 +29828,10 @@ export type Database = {
29360
29828
  Args: never;
29361
29829
  Returns: number;
29362
29830
  };
29831
+ logistics_belading_verstuurder: {
29832
+ Args: never;
29833
+ Returns: string;
29834
+ };
29363
29835
  logistics_block_reason_code: {
29364
29836
  Args: {
29365
29837
  p_details?: Json;
@@ -30293,6 +30765,10 @@ export type Database = {
30293
30765
  Args: never;
30294
30766
  Returns: number;
30295
30767
  };
30768
+ logistics_is_beheer: {
30769
+ Args: never;
30770
+ Returns: boolean;
30771
+ };
30296
30772
  logistics_is_engine_response: {
30297
30773
  Args: {
30298
30774
  p_content: string;
@@ -30500,6 +30976,12 @@ export type Database = {
30500
30976
  };
30501
30977
  Returns: boolean;
30502
30978
  };
30979
+ logistics_order_is_frozen: {
30980
+ Args: {
30981
+ p_order_id: string;
30982
+ };
30983
+ Returns: boolean;
30984
+ };
30503
30985
  logistics_order_is_topick: {
30504
30986
  Args: {
30505
30987
  p_order_id: string;
@@ -30537,6 +31019,12 @@ export type Database = {
30537
31019
  };
30538
31020
  Returns: boolean;
30539
31021
  };
31022
+ logistics_order_on_frozen_shared_cart: {
31023
+ Args: {
31024
+ p_order_id: string;
31025
+ };
31026
+ Returns: boolean;
31027
+ };
30540
31028
  logistics_order_overview: {
30541
31029
  Args: {
30542
31030
  p_from?: string;
@@ -30562,6 +31050,30 @@ export type Database = {
30562
31050
  };
30563
31051
  Returns: string;
30564
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
+ };
30565
31077
  logistics_order_released: {
30566
31078
  Args: {
30567
31079
  p_order_ref: string;
@@ -30722,12 +31234,22 @@ export type Database = {
30722
31234
  order_id: string;
30723
31235
  }[];
30724
31236
  };
31237
+ logistics_plan_coverage_check: {
31238
+ Args: {
31239
+ p_limit?: number;
31240
+ };
31241
+ Returns: Json;
31242
+ };
30725
31243
  logistics_plan_defer: {
30726
31244
  Args: {
30727
31245
  p_id: string;
30728
31246
  };
30729
31247
  Returns: undefined;
30730
31248
  };
31249
+ logistics_plan_due_count: {
31250
+ Args: never;
31251
+ Returns: number;
31252
+ };
30731
31253
  logistics_plan_enqueue: {
30732
31254
  Args: {
30733
31255
  p_order_id: string;
@@ -30966,6 +31488,12 @@ export type Database = {
30966
31488
  };
30967
31489
  Returns: string;
30968
31490
  };
31491
+ logistics_queue_row_has_open_peer: {
31492
+ Args: {
31493
+ p_payload: Json;
31494
+ };
31495
+ Returns: boolean;
31496
+ };
30969
31497
  logistics_queue_stock_email: {
30970
31498
  Args: {
30971
31499
  p_alert_id: string;
@@ -31036,6 +31564,16 @@ export type Database = {
31036
31564
  };
31037
31565
  Returns: Json;
31038
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
+ };
31039
31577
  logistics_replan_clear_foreign_cart_items: {
31040
31578
  Args: {
31041
31579
  p_order_id: string;
@@ -31055,6 +31593,21 @@ export type Database = {
31055
31593
  };
31056
31594
  Returns: Json;
31057
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
+ };
31058
31611
  logistics_replan_selected_orders: {
31059
31612
  Args: {
31060
31613
  p_order_ids: string[];
@@ -31224,6 +31777,13 @@ export type Database = {
31224
31777
  };
31225
31778
  Returns: number;
31226
31779
  };
31780
+ logistics_set_components_scaled: {
31781
+ Args: {
31782
+ p_order_item_id: string;
31783
+ p_plants: number;
31784
+ };
31785
+ Returns: Json;
31786
+ };
31227
31787
  logistics_set_order_priority: {
31228
31788
  Args: {
31229
31789
  p_order_ref: string;
@@ -31239,6 +31799,17 @@ export type Database = {
31239
31799
  };
31240
31800
  Returns: Json;
31241
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
+ };
31242
31813
  logistics_shift_to_workday: {
31243
31814
  Args: {
31244
31815
  p_days: string[];
@@ -31355,6 +31926,13 @@ export type Database = {
31355
31926
  };
31356
31927
  Returns: undefined;
31357
31928
  };
31929
+ logistics_slip_note_hold_belading: {
31930
+ Args: {
31931
+ _id: string;
31932
+ _reason: string;
31933
+ };
31934
+ Returns: undefined;
31935
+ };
31358
31936
  logistics_slip_note_keep_waiting: {
31359
31937
  Args: {
31360
31938
  _class?: string;
@@ -33184,6 +33762,10 @@ export type Database = {
33184
33762
  };
33185
33763
  Returns: number;
33186
33764
  };
33765
+ run_floriday_base_supply_process: {
33766
+ Args: never;
33767
+ Returns: undefined;
33768
+ };
33187
33769
  run_floriday_continuous_stock_sync: {
33188
33770
  Args: never;
33189
33771
  Returns: undefined;
@@ -34543,16 +35125,40 @@ export type Database = {
34543
35125
  };
34544
35126
  Returns: Json;
34545
35127
  };
35128
+ voorraad_can_write: {
35129
+ Args: never;
35130
+ Returns: boolean;
35131
+ };
34546
35132
  voorraad_cleanup_old_rows: {
34547
35133
  Args: never;
34548
35134
  Returns: Json;
34549
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
+ };
34550
35147
  wake_print_queue: {
34551
35148
  Args: {
34552
35149
  _min_interval_ms?: number;
34553
35150
  };
34554
35151
  Returns: number;
34555
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
+ };
34556
35162
  werkbon_pakket_tijden: {
34557
35163
  Args: {
34558
35164
  _werkbon_id: string;
@@ -34575,6 +35181,14 @@ export type Database = {
34575
35181
  total_minutes: number;
34576
35182
  }[];
34577
35183
  };
35184
+ wo_boek_standby_uren: {
35185
+ Args: {
35186
+ _datum: string;
35187
+ _minuten: number;
35188
+ _werkbon_id: string;
35189
+ };
35190
+ Returns: Json;
35191
+ };
34578
35192
  wo_create_from_source: {
34579
35193
  Args: {
34580
35194
  _payload?: Json;
@@ -34661,6 +35275,12 @@ export type Database = {
34661
35275
  };
34662
35276
  Returns: Json;
34663
35277
  };
35278
+ wo_send_to_quote: {
35279
+ Args: {
35280
+ _werkbon_id: string;
35281
+ };
35282
+ Returns: Json;
35283
+ };
34664
35284
  wo_set_status: {
34665
35285
  Args: {
34666
35286
  _reason?: string;