@flowselections/floriday-voorraad 1.0.117 → 1.0.121

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.
@@ -6144,7 +6144,10 @@ export type Database = {
6144
6144
  completed_at: string | null;
6145
6145
  cursor_skip: number;
6146
6146
  error_message: string | null;
6147
+ error_resolved_at: string | null;
6147
6148
  last_change_date_time: string | null;
6149
+ last_error_at: string | null;
6150
+ last_error_message: string | null;
6148
6151
  last_sequence_number: number;
6149
6152
  last_sync_at: string | null;
6150
6153
  pending_change_date_time: string | null;
@@ -6157,7 +6160,10 @@ export type Database = {
6157
6160
  completed_at?: string | null;
6158
6161
  cursor_skip?: number;
6159
6162
  error_message?: string | null;
6163
+ error_resolved_at?: string | null;
6160
6164
  last_change_date_time?: string | null;
6165
+ last_error_at?: string | null;
6166
+ last_error_message?: string | null;
6161
6167
  last_sequence_number?: number;
6162
6168
  last_sync_at?: string | null;
6163
6169
  pending_change_date_time?: string | null;
@@ -6170,7 +6176,10 @@ export type Database = {
6170
6176
  completed_at?: string | null;
6171
6177
  cursor_skip?: number;
6172
6178
  error_message?: string | null;
6179
+ error_resolved_at?: string | null;
6173
6180
  last_change_date_time?: string | null;
6181
+ last_error_at?: string | null;
6182
+ last_error_message?: string | null;
6174
6183
  last_sequence_number?: number;
6175
6184
  last_sync_at?: string | null;
6176
6185
  pending_change_date_time?: string | null;
@@ -8335,6 +8344,60 @@ export type Database = {
8335
8344
  };
8336
8345
  Relationships: [];
8337
8346
  };
8347
+ floriday_packing_check_runs: {
8348
+ Row: {
8349
+ connection_id: string | null;
8350
+ created_at: string;
8351
+ duration_ms: number | null;
8352
+ error: string | null;
8353
+ finished_at: string | null;
8354
+ id: string;
8355
+ kind: string;
8356
+ opened: number;
8357
+ outcome: string;
8358
+ resolved: number;
8359
+ sales_orders_checked: number;
8360
+ started_at: string;
8361
+ still_open: number;
8362
+ trade_items_checked: number;
8363
+ trigger_source: string | null;
8364
+ };
8365
+ Insert: {
8366
+ connection_id?: string | null;
8367
+ created_at?: string;
8368
+ duration_ms?: number | null;
8369
+ error?: string | null;
8370
+ finished_at?: string | null;
8371
+ id?: string;
8372
+ kind: string;
8373
+ opened?: number;
8374
+ outcome?: string;
8375
+ resolved?: number;
8376
+ sales_orders_checked?: number;
8377
+ started_at?: string;
8378
+ still_open?: number;
8379
+ trade_items_checked?: number;
8380
+ trigger_source?: string | null;
8381
+ };
8382
+ Update: {
8383
+ connection_id?: string | null;
8384
+ created_at?: string;
8385
+ duration_ms?: number | null;
8386
+ error?: string | null;
8387
+ finished_at?: string | null;
8388
+ id?: string;
8389
+ kind?: string;
8390
+ opened?: number;
8391
+ outcome?: string;
8392
+ resolved?: number;
8393
+ sales_orders_checked?: number;
8394
+ started_at?: string;
8395
+ still_open?: number;
8396
+ trade_items_checked?: number;
8397
+ trigger_source?: string | null;
8398
+ };
8399
+ Relationships: [];
8400
+ };
8338
8401
  floriday_packing_mismatches: {
8339
8402
  Row: {
8340
8403
  api_value: Json | null;
@@ -10678,6 +10741,10 @@ export type Database = {
10678
10741
  kvk_number: string | null;
10679
10742
  legacy_customer_id: string | null;
10680
10743
  name: string;
10744
+ risk_reason: string | null;
10745
+ risk_set_at: string | null;
10746
+ risk_set_by: string | null;
10747
+ risk_status: string;
10681
10748
  segment: Database["public"]["Enums"]["itk_customer_segment"];
10682
10749
  updated_at: string;
10683
10750
  vat_number: string | null;
@@ -10694,6 +10761,10 @@ export type Database = {
10694
10761
  kvk_number?: string | null;
10695
10762
  legacy_customer_id?: string | null;
10696
10763
  name: string;
10764
+ risk_reason?: string | null;
10765
+ risk_set_at?: string | null;
10766
+ risk_set_by?: string | null;
10767
+ risk_status?: string;
10697
10768
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
10698
10769
  updated_at?: string;
10699
10770
  vat_number?: string | null;
@@ -10710,6 +10781,10 @@ export type Database = {
10710
10781
  kvk_number?: string | null;
10711
10782
  legacy_customer_id?: string | null;
10712
10783
  name?: string;
10784
+ risk_reason?: string | null;
10785
+ risk_set_at?: string | null;
10786
+ risk_set_by?: string | null;
10787
+ risk_status?: string;
10713
10788
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
10714
10789
  updated_at?: string;
10715
10790
  vat_number?: string | null;
@@ -29138,8 +29213,10 @@ export type Database = {
29138
29213
  };
29139
29214
  werkbon_package_lines: {
29140
29215
  Row: {
29216
+ auto_added: boolean;
29141
29217
  created_at: string;
29142
29218
  created_by: string | null;
29219
+ extra_minutes: number;
29143
29220
  id: string;
29144
29221
  package_id: string;
29145
29222
  quantity: number;
@@ -29147,8 +29224,10 @@ export type Database = {
29147
29224
  werkbon_id: string;
29148
29225
  };
29149
29226
  Insert: {
29227
+ auto_added?: boolean;
29150
29228
  created_at?: string;
29151
29229
  created_by?: string | null;
29230
+ extra_minutes?: number;
29152
29231
  id?: string;
29153
29232
  package_id: string;
29154
29233
  quantity?: number;
@@ -29156,8 +29235,10 @@ export type Database = {
29156
29235
  werkbon_id: string;
29157
29236
  };
29158
29237
  Update: {
29238
+ auto_added?: boolean;
29159
29239
  created_at?: string;
29160
29240
  created_by?: string | null;
29241
+ extra_minutes?: number;
29161
29242
  id?: string;
29162
29243
  package_id?: string;
29163
29244
  quantity?: number;
@@ -29198,13 +29279,17 @@ export type Database = {
29198
29279
  default_quantity: number;
29199
29280
  description: string | null;
29200
29281
  duration_minutes: number;
29282
+ extra_quarter_price_cents: number;
29201
29283
  id: string;
29202
29284
  labor_minutes: number;
29285
+ labor_rate_cents: number;
29203
29286
  mandaat_type: string | null;
29204
29287
  name: string;
29288
+ package_type: string;
29205
29289
  price_mode: string;
29206
29290
  sort_order: number;
29207
29291
  travel_minutes: number;
29292
+ travel_rate_cents: number;
29208
29293
  unit_price_cents: number;
29209
29294
  updated_at: string;
29210
29295
  };
@@ -29217,13 +29302,17 @@ export type Database = {
29217
29302
  default_quantity?: number;
29218
29303
  description?: string | null;
29219
29304
  duration_minutes?: number;
29305
+ extra_quarter_price_cents?: number;
29220
29306
  id?: string;
29221
29307
  labor_minutes?: number;
29308
+ labor_rate_cents?: number;
29222
29309
  mandaat_type?: string | null;
29223
29310
  name: string;
29311
+ package_type?: string;
29224
29312
  price_mode?: string;
29225
29313
  sort_order?: number;
29226
29314
  travel_minutes?: number;
29315
+ travel_rate_cents?: number;
29227
29316
  unit_price_cents?: number;
29228
29317
  updated_at?: string;
29229
29318
  };
@@ -29236,13 +29325,17 @@ export type Database = {
29236
29325
  default_quantity?: number;
29237
29326
  description?: string | null;
29238
29327
  duration_minutes?: number;
29328
+ extra_quarter_price_cents?: number;
29239
29329
  id?: string;
29240
29330
  labor_minutes?: number;
29331
+ labor_rate_cents?: number;
29241
29332
  mandaat_type?: string | null;
29242
29333
  name?: string;
29334
+ package_type?: string;
29243
29335
  price_mode?: string;
29244
29336
  sort_order?: number;
29245
29337
  travel_minutes?: number;
29338
+ travel_rate_cents?: number;
29246
29339
  unit_price_cents?: number;
29247
29340
  updated_at?: string;
29248
29341
  };
@@ -29501,9 +29594,13 @@ export type Database = {
29501
29594
  auto_stop_reason: string | null;
29502
29595
  auto_stopped: boolean;
29503
29596
  created_at: string;
29597
+ duur_minuten: number | null;
29504
29598
  ended_at: string | null;
29599
+ helpt_bij_user_id: string | null;
29505
29600
  id: string;
29506
29601
  note: string | null;
29602
+ raw_ended_at: string | null;
29603
+ raw_started_at: string | null;
29507
29604
  started_at: string;
29508
29605
  user_id: string;
29509
29606
  werkbon_id: string;
@@ -29513,9 +29610,13 @@ export type Database = {
29513
29610
  auto_stop_reason?: string | null;
29514
29611
  auto_stopped?: boolean;
29515
29612
  created_at?: string;
29613
+ duur_minuten?: number | null;
29516
29614
  ended_at?: string | null;
29615
+ helpt_bij_user_id?: string | null;
29517
29616
  id?: string;
29518
29617
  note?: string | null;
29618
+ raw_ended_at?: string | null;
29619
+ raw_started_at?: string | null;
29519
29620
  started_at?: string;
29520
29621
  user_id: string;
29521
29622
  werkbon_id: string;
@@ -29525,9 +29626,13 @@ export type Database = {
29525
29626
  auto_stop_reason?: string | null;
29526
29627
  auto_stopped?: boolean;
29527
29628
  created_at?: string;
29629
+ duur_minuten?: number | null;
29528
29630
  ended_at?: string | null;
29631
+ helpt_bij_user_id?: string | null;
29529
29632
  id?: string;
29530
29633
  note?: string | null;
29634
+ raw_ended_at?: string | null;
29635
+ raw_started_at?: string | null;
29531
29636
  started_at?: string;
29532
29637
  user_id?: string;
29533
29638
  werkbon_id?: string;
@@ -29631,10 +29736,12 @@ export type Database = {
29631
29736
  };
29632
29737
  werkbonnen: {
29633
29738
  Row: {
29739
+ actual_started_at: string | null;
29634
29740
  afgerond_op: string | null;
29635
29741
  assigned_user_id: string | null;
29636
29742
  budget_mandate_cents: number;
29637
29743
  complaint_description: string | null;
29744
+ completed_at: string | null;
29638
29745
  created_at: string;
29639
29746
  created_by: string | null;
29640
29747
  customer_id: string | null;
@@ -29677,10 +29784,12 @@ export type Database = {
29677
29784
  workday_hours: number | null;
29678
29785
  };
29679
29786
  Insert: {
29787
+ actual_started_at?: string | null;
29680
29788
  afgerond_op?: string | null;
29681
29789
  assigned_user_id?: string | null;
29682
29790
  budget_mandate_cents?: number;
29683
29791
  complaint_description?: string | null;
29792
+ completed_at?: string | null;
29684
29793
  created_at?: string;
29685
29794
  created_by?: string | null;
29686
29795
  customer_id?: string | null;
@@ -29723,10 +29832,12 @@ export type Database = {
29723
29832
  workday_hours?: number | null;
29724
29833
  };
29725
29834
  Update: {
29835
+ actual_started_at?: string | null;
29726
29836
  afgerond_op?: string | null;
29727
29837
  assigned_user_id?: string | null;
29728
29838
  budget_mandate_cents?: number;
29729
29839
  complaint_description?: string | null;
29840
+ completed_at?: string | null;
29730
29841
  created_at?: string;
29731
29842
  created_by?: string | null;
29732
29843
  customer_id?: string | null;
@@ -33816,6 +33927,14 @@ export type Database = {
33816
33927
  };
33817
33928
  Returns: number;
33818
33929
  };
33930
+ itk_set_customer_risk: {
33931
+ Args: {
33932
+ _customer_id: string;
33933
+ _reason: string;
33934
+ _status: string;
33935
+ };
33936
+ Returns: undefined;
33937
+ };
33819
33938
  itk_top_customers_by_revenue: {
33820
33939
  Args: {
33821
33940
  _limit?: number;
@@ -34379,6 +34498,13 @@ export type Database = {
34379
34498
  };
34380
34499
  Returns: Json;
34381
34500
  };
34501
+ logistics_belading_vastzet_preview_v201: {
34502
+ Args: {
34503
+ p_order_item_id: string;
34504
+ p_wijziging: Json;
34505
+ };
34506
+ Returns: Json;
34507
+ };
34382
34508
  logistics_belading_verstuurder: {
34383
34509
  Args: never;
34384
34510
  Returns: string;
@@ -34711,6 +34837,12 @@ export type Database = {
34711
34837
  };
34712
34838
  Returns: string;
34713
34839
  };
34840
+ logistics_cart_capaciteit_core: {
34841
+ Args: {
34842
+ p_cart_id: string;
34843
+ };
34844
+ Returns: Json;
34845
+ };
34714
34846
  logistics_cart_checkin_at: {
34715
34847
  Args: {
34716
34848
  p_cart_id: string;
@@ -34802,6 +34934,12 @@ export type Database = {
34802
34934
  };
34803
34935
  Returns: Json;
34804
34936
  };
34937
+ logistics_cart_lagen_core: {
34938
+ Args: {
34939
+ p_cart_id: string;
34940
+ };
34941
+ Returns: number;
34942
+ };
34805
34943
  logistics_cart_layout_method: {
34806
34944
  Args: never;
34807
34945
  Returns: Json;
@@ -34970,6 +35108,12 @@ export type Database = {
34970
35108
  unit_ref: string;
34971
35109
  }[];
34972
35110
  };
35111
+ logistics_cart_vast_core: {
35112
+ Args: {
35113
+ p_cart_id: string;
35114
+ };
35115
+ Returns: boolean;
35116
+ };
34973
35117
  logistics_cart_wait_until: {
34974
35118
  Args: {
34975
35119
  p_cart_id: string;
@@ -35892,6 +36036,30 @@ export type Database = {
35892
36036
  uitleg: string;
35893
36037
  }[];
35894
36038
  };
36039
+ logistics_install_check_204: {
36040
+ Args: never;
36041
+ Returns: {
36042
+ ok: boolean;
36043
+ punt: string;
36044
+ uitleg: string;
36045
+ }[];
36046
+ };
36047
+ logistics_install_check_204b: {
36048
+ Args: never;
36049
+ Returns: {
36050
+ ok: boolean;
36051
+ punt: string;
36052
+ uitleg: string;
36053
+ }[];
36054
+ };
36055
+ logistics_install_check_205: {
36056
+ Args: never;
36057
+ Returns: {
36058
+ ok: boolean;
36059
+ punt: string;
36060
+ uitleg: string;
36061
+ }[];
36062
+ };
35895
36063
  logistics_is_beheer: {
35896
36064
  Args: never;
35897
36065
  Returns: boolean;
@@ -35963,6 +36131,10 @@ export type Database = {
35963
36131
  Args: never;
35964
36132
  Returns: number;
35965
36133
  };
36134
+ logistics_laag_menging_core: {
36135
+ Args: never;
36136
+ Returns: Json;
36137
+ };
35966
36138
  logistics_ladingdrager_referentie: {
35967
36139
  Args: never;
35968
36140
  Returns: {
@@ -36352,6 +36524,18 @@ export type Database = {
36352
36524
  };
36353
36525
  Returns: boolean;
36354
36526
  };
36527
+ logistics_order_herindelen: {
36528
+ Args: {
36529
+ p_order_id: string;
36530
+ };
36531
+ Returns: Json;
36532
+ };
36533
+ logistics_order_indeling_verouderd_core: {
36534
+ Args: {
36535
+ p_order_id: string;
36536
+ };
36537
+ Returns: Json;
36538
+ };
36355
36539
  logistics_order_is_archived: {
36356
36540
  Args: {
36357
36541
  p_order_id: string;
@@ -37158,6 +37342,12 @@ export type Database = {
37158
37342
  weight_kg: number;
37159
37343
  }[];
37160
37344
  };
37345
+ logistics_product_oordeel_belading: {
37346
+ Args: {
37347
+ p_regels: Json;
37348
+ };
37349
+ Returns: Json;
37350
+ };
37161
37351
  logistics_product_oordeel_many: {
37162
37352
  Args: {
37163
37353
  p_product_ids: string[];
@@ -37697,6 +37887,12 @@ export type Database = {
37697
37887
  Args: never;
37698
37888
  Returns: number;
37699
37889
  };
37890
+ logistics_shipping_note_printer: {
37891
+ Args: {
37892
+ p_order_id?: string;
37893
+ };
37894
+ Returns: Json;
37895
+ };
37700
37896
  logistics_shipping_note_release: {
37701
37897
  Args: {
37702
37898
  _order_number?: string;
@@ -38049,6 +38245,12 @@ export type Database = {
38049
38245
  };
38050
38246
  Returns: number;
38051
38247
  };
38248
+ logistics_tekst_regels: {
38249
+ Args: {
38250
+ p_tekst: string;
38251
+ };
38252
+ Returns: Json;
38253
+ };
38052
38254
  logistics_tick: {
38053
38255
  Args: never;
38054
38256
  Returns: Json;
@@ -39316,6 +39518,12 @@ export type Database = {
39316
39518
  };
39317
39519
  Returns: Json;
39318
39520
  };
39521
+ pick_queue_cart_plans: {
39522
+ Args: {
39523
+ _queue_item_ids: string[];
39524
+ };
39525
+ Returns: Json;
39526
+ };
39319
39527
  pick_read_by_code: {
39320
39528
  Args: {
39321
39529
  p_code: string;
@@ -43433,6 +43641,18 @@ export type Database = {
43433
43641
  };
43434
43642
  Returns: Json;
43435
43643
  };
43644
+ voorraad_correctie_1119: {
43645
+ Args: {
43646
+ p_uitvoeren?: boolean;
43647
+ };
43648
+ Returns: Json;
43649
+ };
43650
+ voorraad_correctie_1120: {
43651
+ Args: {
43652
+ p_uitvoeren?: boolean;
43653
+ };
43654
+ Returns: Json;
43655
+ };
43436
43656
  voorraad_correctie_status: {
43437
43657
  Args: {
43438
43658
  p_correctie?: string;
@@ -43576,6 +43796,13 @@ export type Database = {
43576
43796
  total_minutes: number;
43577
43797
  }[];
43578
43798
  };
43799
+ werkbonnen_reistijd_aanvullen: {
43800
+ Args: {
43801
+ _werkbon_id: string;
43802
+ _werkelijke_reistijd_min: number;
43803
+ };
43804
+ Returns: Json;
43805
+ };
43579
43806
  werkplek_omzetting_toepassen: {
43580
43807
  Args: {
43581
43808
  _werkplekken: Json;
@@ -43621,6 +43848,13 @@ export type Database = {
43621
43848
  };
43622
43849
  Returns: Json;
43623
43850
  };
43851
+ wo_get_uren_summary: {
43852
+ Args: {
43853
+ _monteur_id?: string;
43854
+ _werkbon_id: string;
43855
+ };
43856
+ Returns: Json;
43857
+ };
43624
43858
  wo_is_planned_monteur: {
43625
43859
  Args: {
43626
43860
  _werkbon_id: string;
@@ -43654,6 +43888,12 @@ export type Database = {
43654
43888
  };
43655
43889
  Returns: Json;
43656
43890
  };
43891
+ wo_log_duur: {
43892
+ Args: {
43893
+ l: Database["public"]["Tables"]["werkbon_time_logs"]["Row"];
43894
+ };
43895
+ Returns: number;
43896
+ };
43657
43897
  wo_open_standby: {
43658
43898
  Args: {
43659
43899
  _standby_id: string;