@flowselections/floriday-authenticatie-module 1.0.62 → 1.0.66

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,135 @@ export type Database = {
3125
3125
  };
3126
3126
  Relationships: [];
3127
3127
  };
3128
+ dashboard_werkbon_dagtellers: {
3129
+ Row: {
3130
+ aantal: number;
3131
+ created_at: string;
3132
+ datum: string;
3133
+ soort: string;
3134
+ updated_at: string;
3135
+ };
3136
+ Insert: {
3137
+ aantal?: number;
3138
+ created_at?: string;
3139
+ datum: string;
3140
+ soort: string;
3141
+ updated_at?: string;
3142
+ };
3143
+ Update: {
3144
+ aantal?: number;
3145
+ created_at?: string;
3146
+ datum?: string;
3147
+ soort?: string;
3148
+ updated_at?: string;
3149
+ };
3150
+ Relationships: [];
3151
+ };
3152
+ dashboard_werkbon_factuurhistorie: {
3153
+ Row: {
3154
+ bedrag_cents: number;
3155
+ created_at: string;
3156
+ factuur_id: string;
3157
+ status: string;
3158
+ updated_at: string;
3159
+ werkbon_id: string;
3160
+ };
3161
+ Insert: {
3162
+ bedrag_cents: number;
3163
+ created_at?: string;
3164
+ factuur_id: string;
3165
+ status: string;
3166
+ updated_at?: string;
3167
+ werkbon_id: string;
3168
+ };
3169
+ Update: {
3170
+ bedrag_cents?: number;
3171
+ created_at?: string;
3172
+ factuur_id?: string;
3173
+ status?: string;
3174
+ updated_at?: string;
3175
+ werkbon_id?: string;
3176
+ };
3177
+ Relationships: [];
3178
+ };
3179
+ dashboard_werkbon_historie: {
3180
+ Row: {
3181
+ aangemaakt_op: string;
3182
+ afgerond_op: string | null;
3183
+ created_at: string;
3184
+ parent_werkbon_id: string | null;
3185
+ soort: string;
3186
+ updated_at: string;
3187
+ werkbon_id: string;
3188
+ };
3189
+ Insert: {
3190
+ aangemaakt_op: string;
3191
+ afgerond_op?: string | null;
3192
+ created_at?: string;
3193
+ parent_werkbon_id?: string | null;
3194
+ soort: string;
3195
+ updated_at?: string;
3196
+ werkbon_id: string;
3197
+ };
3198
+ Update: {
3199
+ aangemaakt_op?: string;
3200
+ afgerond_op?: string | null;
3201
+ created_at?: string;
3202
+ parent_werkbon_id?: string | null;
3203
+ soort?: string;
3204
+ updated_at?: string;
3205
+ werkbon_id?: string;
3206
+ };
3207
+ Relationships: [];
3208
+ };
3209
+ dashboard_werkbon_mailhistorie: {
3210
+ Row: {
3211
+ created_at: string;
3212
+ goedgekeurd_op: string;
3213
+ updated_at: string;
3214
+ voorstel_id: string;
3215
+ werkbon_id: string | null;
3216
+ };
3217
+ Insert: {
3218
+ created_at?: string;
3219
+ goedgekeurd_op: string;
3220
+ updated_at?: string;
3221
+ voorstel_id: string;
3222
+ werkbon_id?: string | null;
3223
+ };
3224
+ Update: {
3225
+ created_at?: string;
3226
+ goedgekeurd_op?: string;
3227
+ updated_at?: string;
3228
+ voorstel_id?: string;
3229
+ werkbon_id?: string | null;
3230
+ };
3231
+ Relationships: [];
3232
+ };
3233
+ dashboard_werkbon_tellers: {
3234
+ Row: {
3235
+ aantal: number;
3236
+ jaar: number;
3237
+ maand: number;
3238
+ soort: string;
3239
+ updated_at: string;
3240
+ };
3241
+ Insert: {
3242
+ aantal?: number;
3243
+ jaar: number;
3244
+ maand: number;
3245
+ soort: string;
3246
+ updated_at?: string;
3247
+ };
3248
+ Update: {
3249
+ aantal?: number;
3250
+ jaar?: number;
3251
+ maand?: number;
3252
+ soort?: string;
3253
+ updated_at?: string;
3254
+ };
3255
+ Relationships: [];
3256
+ };
3128
3257
  delivery_notes: {
3129
3258
  Row: {
3130
3259
  byte_size: number | null;
@@ -6648,6 +6777,7 @@ export type Database = {
6648
6777
  Row: {
6649
6778
  attempts: number;
6650
6779
  availability_sent_at: string | null;
6780
+ base_supply_outcome: string | null;
6651
6781
  connection_id: string;
6652
6782
  created_at: string;
6653
6783
  dead_lettered_at: string | null;
@@ -6660,7 +6790,9 @@ export type Database = {
6660
6790
  locked_by: string | null;
6661
6791
  next_attempt_at: string;
6662
6792
  number_of_pieces: number;
6793
+ price_note: string | null;
6663
6794
  price_sent: number | null;
6795
+ price_status: string | null;
6664
6796
  product_id: string | null;
6665
6797
  quantity_sent_at: string | null;
6666
6798
  result_label: string | null;
@@ -6678,6 +6810,7 @@ export type Database = {
6678
6810
  Insert: {
6679
6811
  attempts?: number;
6680
6812
  availability_sent_at?: string | null;
6813
+ base_supply_outcome?: string | null;
6681
6814
  connection_id: string;
6682
6815
  created_at?: string;
6683
6816
  dead_lettered_at?: string | null;
@@ -6690,7 +6823,9 @@ export type Database = {
6690
6823
  locked_by?: string | null;
6691
6824
  next_attempt_at?: string;
6692
6825
  number_of_pieces?: number;
6826
+ price_note?: string | null;
6693
6827
  price_sent?: number | null;
6828
+ price_status?: string | null;
6694
6829
  product_id?: string | null;
6695
6830
  quantity_sent_at?: string | null;
6696
6831
  result_label?: string | null;
@@ -6708,6 +6843,7 @@ export type Database = {
6708
6843
  Update: {
6709
6844
  attempts?: number;
6710
6845
  availability_sent_at?: string | null;
6846
+ base_supply_outcome?: string | null;
6711
6847
  connection_id?: string;
6712
6848
  created_at?: string;
6713
6849
  dead_lettered_at?: string | null;
@@ -6720,7 +6856,9 @@ export type Database = {
6720
6856
  locked_by?: string | null;
6721
6857
  next_attempt_at?: string;
6722
6858
  number_of_pieces?: number;
6859
+ price_note?: string | null;
6723
6860
  price_sent?: number | null;
6861
+ price_status?: string | null;
6724
6862
  product_id?: string | null;
6725
6863
  quantity_sent_at?: string | null;
6726
6864
  result_label?: string | null;
@@ -7449,6 +7587,87 @@ export type Database = {
7449
7587
  };
7450
7588
  Relationships: [];
7451
7589
  };
7590
+ floriday_loading_attempts: {
7591
+ Row: {
7592
+ code: string | null;
7593
+ created_at: string;
7594
+ created_by: string | null;
7595
+ delivery_note_url: string | null;
7596
+ delivery_order_id: string | null;
7597
+ fulfillment_order_id: string;
7598
+ http_status: number | null;
7599
+ id: string;
7600
+ message: string | null;
7601
+ order_refs: string[];
7602
+ request_summary: Json;
7603
+ sales_order_ids: string[];
7604
+ skipped_requests: Json;
7605
+ step: string;
7606
+ warnings: Json;
7607
+ };
7608
+ Insert: {
7609
+ code?: string | null;
7610
+ created_at?: string;
7611
+ created_by?: string | null;
7612
+ delivery_note_url?: string | null;
7613
+ delivery_order_id?: string | null;
7614
+ fulfillment_order_id: string;
7615
+ http_status?: number | null;
7616
+ id?: string;
7617
+ message?: string | null;
7618
+ order_refs?: string[];
7619
+ request_summary?: Json;
7620
+ sales_order_ids?: string[];
7621
+ skipped_requests?: Json;
7622
+ step: string;
7623
+ warnings?: Json;
7624
+ };
7625
+ Update: {
7626
+ code?: string | null;
7627
+ created_at?: string;
7628
+ created_by?: string | null;
7629
+ delivery_note_url?: string | null;
7630
+ delivery_order_id?: string | null;
7631
+ fulfillment_order_id?: string;
7632
+ http_status?: number | null;
7633
+ id?: string;
7634
+ message?: string | null;
7635
+ order_refs?: string[];
7636
+ request_summary?: Json;
7637
+ sales_order_ids?: string[];
7638
+ skipped_requests?: Json;
7639
+ step?: string;
7640
+ warnings?: Json;
7641
+ };
7642
+ Relationships: [];
7643
+ };
7644
+ floriday_loading_identifiers: {
7645
+ Row: {
7646
+ created_at: string;
7647
+ created_by: string | null;
7648
+ id: string;
7649
+ identifier: string;
7650
+ natural_key: string;
7651
+ scope: string;
7652
+ };
7653
+ Insert: {
7654
+ created_at?: string;
7655
+ created_by?: string | null;
7656
+ id?: string;
7657
+ identifier?: string;
7658
+ natural_key: string;
7659
+ scope: string;
7660
+ };
7661
+ Update: {
7662
+ created_at?: string;
7663
+ created_by?: string | null;
7664
+ id?: string;
7665
+ identifier?: string;
7666
+ natural_key?: string;
7667
+ scope?: string;
7668
+ };
7669
+ Relationships: [];
7670
+ };
7452
7671
  floriday_log_retention: {
7453
7672
  Row: {
7454
7673
  created_at: string;
@@ -8654,7 +8873,7 @@ export type Database = {
8654
8873
  note?: string | null;
8655
8874
  reason?: string;
8656
8875
  trade_item_key?: string | null;
8657
- user_id: string;
8876
+ user_id?: string;
8658
8877
  };
8659
8878
  Update: {
8660
8879
  created_at?: string;
@@ -8715,7 +8934,7 @@ export type Database = {
8715
8934
  stock?: number;
8716
8935
  updated_at?: string;
8717
8936
  used_by_count?: number;
8718
- user_id: string;
8937
+ user_id?: string;
8719
8938
  vbn_code?: number | null;
8720
8939
  width_mm?: number | null;
8721
8940
  };
@@ -8899,6 +9118,8 @@ export type Database = {
8899
9118
  };
8900
9119
  inventory_recompute_limits: {
8901
9120
  Row: {
9121
+ base_supply_batch: number;
9122
+ base_supply_uses_catalog_availability: boolean;
8902
9123
  drain_batch: number;
8903
9124
  id: boolean;
8904
9125
  import_chunk_size: number;
@@ -8920,6 +9141,8 @@ export type Database = {
8920
9141
  updated_at: string;
8921
9142
  };
8922
9143
  Insert: {
9144
+ base_supply_batch?: number;
9145
+ base_supply_uses_catalog_availability?: boolean;
8923
9146
  drain_batch?: number;
8924
9147
  id?: boolean;
8925
9148
  import_chunk_size?: number;
@@ -8941,6 +9164,8 @@ export type Database = {
8941
9164
  updated_at?: string;
8942
9165
  };
8943
9166
  Update: {
9167
+ base_supply_batch?: number;
9168
+ base_supply_uses_catalog_availability?: boolean;
8944
9169
  drain_batch?: number;
8945
9170
  id?: boolean;
8946
9171
  import_chunk_size?: number;
@@ -22535,7 +22760,7 @@ export type Database = {
22535
22760
  reserved_stock?: number;
22536
22761
  trade_item_key: string;
22537
22762
  updated_at?: string;
22538
- user_id: string;
22763
+ user_id?: string;
22539
22764
  };
22540
22765
  Update: {
22541
22766
  change_source?: string;
@@ -27736,6 +27961,24 @@ export type Database = {
27736
27961
  isSetofReturn: true;
27737
27962
  };
27738
27963
  };
27964
+ claim_floriday_base_supply: {
27965
+ Args: {
27966
+ p_worker?: string;
27967
+ };
27968
+ Returns: {
27969
+ attempts: number;
27970
+ id: string;
27971
+ number_of_pieces: number;
27972
+ product_id: string;
27973
+ sale_price: number;
27974
+ stock_mode: string;
27975
+ target_week: number;
27976
+ target_year: number;
27977
+ trade_item_id: string;
27978
+ unit: string;
27979
+ uses_catalog_availability: boolean;
27980
+ }[];
27981
+ };
27739
27982
  claim_floriday_stock_queue: {
27740
27983
  Args: {
27741
27984
  p_limit?: number;
@@ -27744,6 +27987,7 @@ export type Database = {
27744
27987
  Returns: {
27745
27988
  attempts: number;
27746
27989
  availability_sent_at: string | null;
27990
+ base_supply_outcome: string | null;
27747
27991
  connection_id: string;
27748
27992
  created_at: string;
27749
27993
  dead_lettered_at: string | null;
@@ -27756,7 +28000,9 @@ export type Database = {
27756
28000
  locked_by: string | null;
27757
28001
  next_attempt_at: string;
27758
28002
  number_of_pieces: number;
28003
+ price_note: string | null;
27759
28004
  price_sent: number | null;
28005
+ price_status: string | null;
27760
28006
  product_id: string | null;
27761
28007
  quantity_sent_at: string | null;
27762
28008
  result_label: string | null;
@@ -28023,6 +28269,19 @@ export type Database = {
28023
28269
  Args: never;
28024
28270
  Returns: undefined;
28025
28271
  };
28272
+ complete_floriday_base_supply: {
28273
+ Args: {
28274
+ p_attempt_id?: string;
28275
+ p_error?: string;
28276
+ p_id: string;
28277
+ p_kind: string;
28278
+ p_label?: string;
28279
+ p_outcome?: string;
28280
+ p_price?: number;
28281
+ p_price_status?: string;
28282
+ };
28283
+ Returns: string;
28284
+ };
28026
28285
  complete_floriday_stock_queue: {
28027
28286
  Args: {
28028
28287
  p_attempt_id?: string;
@@ -28199,6 +28458,19 @@ export type Database = {
28199
28458
  };
28200
28459
  Returns: Json;
28201
28460
  };
28461
+ dashboard_funnel_betaald: {
28462
+ Args: {
28463
+ _bedragen: number[];
28464
+ _statussen: string[];
28465
+ };
28466
+ Returns: boolean;
28467
+ };
28468
+ dashboard_jaar_start: {
28469
+ Args: {
28470
+ _vandaag: string;
28471
+ };
28472
+ Returns: string;
28473
+ };
28202
28474
  dashboard_list_public_schema: {
28203
28475
  Args: never;
28204
28476
  Returns: {
@@ -28207,6 +28479,29 @@ export type Database = {
28207
28479
  table_name: string;
28208
28480
  }[];
28209
28481
  };
28482
+ dashboard_werkbon_funnel: {
28483
+ Args: {
28484
+ _periode?: string;
28485
+ };
28486
+ Returns: Json;
28487
+ };
28488
+ dashboard_werkbon_jaarstats: {
28489
+ Args: never;
28490
+ Returns: Json;
28491
+ };
28492
+ dashboard_werkbon_soort: {
28493
+ Args: {
28494
+ _source: string;
28495
+ };
28496
+ Returns: string;
28497
+ };
28498
+ dashboard_werkbon_teller_plus: {
28499
+ Args: {
28500
+ _soort: string;
28501
+ _ts: string;
28502
+ };
28503
+ Returns: undefined;
28504
+ };
28210
28505
  delete_samenstelling: {
28211
28506
  Args: {
28212
28507
  p_parent_id: string;
@@ -30715,6 +31010,24 @@ export type Database = {
30715
31010
  };
30716
31011
  Returns: Json;
30717
31012
  };
31013
+ logistics_order_plan_coverage_list: {
31014
+ Args: {
31015
+ p_order_ids: string[];
31016
+ };
31017
+ Returns: {
31018
+ buffer_id: string;
31019
+ cart_count: number;
31020
+ label: string;
31021
+ order_id: string;
31022
+ order_number: string;
31023
+ pick_row_count: number;
31024
+ pick_status: string;
31025
+ picked_at: string;
31026
+ progress_pct: number;
31027
+ reason: string;
31028
+ state: string;
31029
+ }[];
31030
+ };
30718
31031
  logistics_order_released: {
30719
31032
  Args: {
30720
31033
  p_order_ref: string;
@@ -33379,6 +33692,10 @@ export type Database = {
33379
33692
  };
33380
33693
  Returns: number;
33381
33694
  };
33695
+ run_floriday_base_supply_process: {
33696
+ Args: never;
33697
+ Returns: undefined;
33698
+ };
33382
33699
  run_floriday_continuous_stock_sync: {
33383
33700
  Args: never;
33384
33701
  Returns: undefined;
@@ -34738,6 +35055,10 @@ export type Database = {
34738
35055
  };
34739
35056
  Returns: Json;
34740
35057
  };
35058
+ voorraad_can_write: {
35059
+ Args: never;
35060
+ Returns: boolean;
35061
+ };
34741
35062
  voorraad_cleanup_old_rows: {
34742
35063
  Args: never;
34743
35064
  Returns: Json;
@@ -34746,6 +35067,13 @@ export type Database = {
34746
35067
  Args: never;
34747
35068
  Returns: boolean;
34748
35069
  };
35070
+ voorraad_week_is_past: {
35071
+ Args: {
35072
+ p_week: number;
35073
+ p_year: number;
35074
+ };
35075
+ Returns: boolean;
35076
+ };
34749
35077
  wake_print_queue: {
34750
35078
  Args: {
34751
35079
  _min_interval_ms?: number;