@flowselections/floriday-klanten-module 1.0.44 → 1.0.46

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.
@@ -1056,10 +1056,13 @@ export type Database = {
1056
1056
  created_at: string;
1057
1057
  daily_regular_hours: number;
1058
1058
  default_hourly_rate: number;
1059
+ default_vacation_days: number;
1059
1060
  id: string;
1061
+ last_cleanup_on: string | null;
1060
1062
  materials_markup_percent: number;
1061
1063
  max_daily_hours: number;
1062
1064
  max_weekly_hours: number;
1065
+ meal_after_minutes: number;
1063
1066
  meal_allowance_amount: number;
1064
1067
  overtime_pct_178: number;
1065
1068
  overtime_pct_189: number;
@@ -1088,10 +1091,13 @@ export type Database = {
1088
1091
  created_at?: string;
1089
1092
  daily_regular_hours?: number;
1090
1093
  default_hourly_rate?: number;
1094
+ default_vacation_days?: number;
1091
1095
  id?: string;
1096
+ last_cleanup_on?: string | null;
1092
1097
  materials_markup_percent?: number;
1093
1098
  max_daily_hours?: number;
1094
1099
  max_weekly_hours?: number;
1100
+ meal_after_minutes?: number;
1095
1101
  meal_allowance_amount?: number;
1096
1102
  overtime_pct_178?: number;
1097
1103
  overtime_pct_189?: number;
@@ -1120,10 +1126,13 @@ export type Database = {
1120
1126
  created_at?: string;
1121
1127
  daily_regular_hours?: number;
1122
1128
  default_hourly_rate?: number;
1129
+ default_vacation_days?: number;
1123
1130
  id?: string;
1131
+ last_cleanup_on?: string | null;
1124
1132
  materials_markup_percent?: number;
1125
1133
  max_daily_hours?: number;
1126
1134
  max_weekly_hours?: number;
1135
+ meal_after_minutes?: number;
1127
1136
  meal_allowance_amount?: number;
1128
1137
  overtime_pct_178?: number;
1129
1138
  overtime_pct_189?: number;
@@ -2602,6 +2611,7 @@ export type Database = {
2602
2611
  twinfield_base_snapshot: Json | null;
2603
2612
  twinfield_base_version: number | null;
2604
2613
  twinfield_code: string | null;
2614
+ twinfield_create_on_insert: boolean;
2605
2615
  twinfield_last_hash: string | null;
2606
2616
  twinfield_missing_since: string | null;
2607
2617
  twinfield_present: boolean;
@@ -2693,6 +2703,7 @@ export type Database = {
2693
2703
  twinfield_base_snapshot?: Json | null;
2694
2704
  twinfield_base_version?: number | null;
2695
2705
  twinfield_code?: string | null;
2706
+ twinfield_create_on_insert?: boolean;
2696
2707
  twinfield_last_hash?: string | null;
2697
2708
  twinfield_missing_since?: string | null;
2698
2709
  twinfield_present?: boolean;
@@ -2784,6 +2795,7 @@ export type Database = {
2784
2795
  twinfield_base_snapshot?: Json | null;
2785
2796
  twinfield_base_version?: number | null;
2786
2797
  twinfield_code?: string | null;
2798
+ twinfield_create_on_insert?: boolean;
2787
2799
  twinfield_last_hash?: string | null;
2788
2800
  twinfield_missing_since?: string | null;
2789
2801
  twinfield_present?: boolean;
@@ -3059,6 +3071,27 @@ export type Database = {
3059
3071
  }
3060
3072
  ];
3061
3073
  };
3074
+ dashboard_funnel_indelingen: {
3075
+ Row: {
3076
+ created_at: string;
3077
+ posities: Json;
3078
+ updated_at: string;
3079
+ user_id: string;
3080
+ };
3081
+ Insert: {
3082
+ created_at?: string;
3083
+ posities?: Json;
3084
+ updated_at?: string;
3085
+ user_id?: string;
3086
+ };
3087
+ Update: {
3088
+ created_at?: string;
3089
+ posities?: Json;
3090
+ updated_at?: string;
3091
+ user_id?: string;
3092
+ };
3093
+ Relationships: [];
3094
+ };
3062
3095
  dashboard_pages: {
3063
3096
  Row: {
3064
3097
  created_at: string;
@@ -3125,6 +3158,141 @@ export type Database = {
3125
3158
  };
3126
3159
  Relationships: [];
3127
3160
  };
3161
+ dashboard_snelkoppelingen: {
3162
+ Row: {
3163
+ created_at: string;
3164
+ id: string;
3165
+ pad: string;
3166
+ titel: string;
3167
+ updated_at: string;
3168
+ user_id: string;
3169
+ volgorde: number;
3170
+ };
3171
+ Insert: {
3172
+ created_at?: string;
3173
+ id?: string;
3174
+ pad: string;
3175
+ titel: string;
3176
+ updated_at?: string;
3177
+ user_id?: string;
3178
+ volgorde?: number;
3179
+ };
3180
+ Update: {
3181
+ created_at?: string;
3182
+ id?: string;
3183
+ pad?: string;
3184
+ titel?: string;
3185
+ updated_at?: string;
3186
+ user_id?: string;
3187
+ volgorde?: number;
3188
+ };
3189
+ Relationships: [];
3190
+ };
3191
+ dashboard_werkbon_dagtellers: {
3192
+ Row: {
3193
+ aantal: number;
3194
+ created_at: string;
3195
+ datum: string;
3196
+ soort: string;
3197
+ updated_at: string;
3198
+ };
3199
+ Insert: {
3200
+ aantal?: number;
3201
+ created_at?: string;
3202
+ datum: string;
3203
+ soort: string;
3204
+ updated_at?: string;
3205
+ };
3206
+ Update: {
3207
+ aantal?: number;
3208
+ created_at?: string;
3209
+ datum?: string;
3210
+ soort?: string;
3211
+ updated_at?: string;
3212
+ };
3213
+ Relationships: [];
3214
+ };
3215
+ dashboard_werkbon_factuurhistorie: {
3216
+ Row: {
3217
+ bedrag_cents: number;
3218
+ created_at: string;
3219
+ factuur_id: string;
3220
+ status: string;
3221
+ updated_at: string;
3222
+ werkbon_id: string;
3223
+ };
3224
+ Insert: {
3225
+ bedrag_cents: number;
3226
+ created_at?: string;
3227
+ factuur_id: string;
3228
+ status: string;
3229
+ updated_at?: string;
3230
+ werkbon_id: string;
3231
+ };
3232
+ Update: {
3233
+ bedrag_cents?: number;
3234
+ created_at?: string;
3235
+ factuur_id?: string;
3236
+ status?: string;
3237
+ updated_at?: string;
3238
+ werkbon_id?: string;
3239
+ };
3240
+ Relationships: [];
3241
+ };
3242
+ dashboard_werkbon_historie: {
3243
+ Row: {
3244
+ aangemaakt_op: string;
3245
+ afgerond_op: string | null;
3246
+ created_at: string;
3247
+ parent_werkbon_id: string | null;
3248
+ soort: string;
3249
+ updated_at: string;
3250
+ werkbon_id: string;
3251
+ };
3252
+ Insert: {
3253
+ aangemaakt_op: string;
3254
+ afgerond_op?: string | null;
3255
+ created_at?: string;
3256
+ parent_werkbon_id?: string | null;
3257
+ soort: string;
3258
+ updated_at?: string;
3259
+ werkbon_id: string;
3260
+ };
3261
+ Update: {
3262
+ aangemaakt_op?: string;
3263
+ afgerond_op?: string | null;
3264
+ created_at?: string;
3265
+ parent_werkbon_id?: string | null;
3266
+ soort?: string;
3267
+ updated_at?: string;
3268
+ werkbon_id?: string;
3269
+ };
3270
+ Relationships: [];
3271
+ };
3272
+ dashboard_werkbon_mailhistorie: {
3273
+ Row: {
3274
+ created_at: string;
3275
+ goedgekeurd_op: string;
3276
+ updated_at: string;
3277
+ voorstel_id: string;
3278
+ werkbon_id: string | null;
3279
+ };
3280
+ Insert: {
3281
+ created_at?: string;
3282
+ goedgekeurd_op: string;
3283
+ updated_at?: string;
3284
+ voorstel_id: string;
3285
+ werkbon_id?: string | null;
3286
+ };
3287
+ Update: {
3288
+ created_at?: string;
3289
+ goedgekeurd_op?: string;
3290
+ updated_at?: string;
3291
+ voorstel_id?: string;
3292
+ werkbon_id?: string | null;
3293
+ };
3294
+ Relationships: [];
3295
+ };
3128
3296
  dashboard_werkbon_tellers: {
3129
3297
  Row: {
3130
3298
  aantal: number;
@@ -6686,6 +6854,7 @@ export type Database = {
6686
6854
  next_attempt_at: string;
6687
6855
  number_of_pieces: number;
6688
6856
  price_note: string | null;
6857
+ price_previous: number | null;
6689
6858
  price_sent: number | null;
6690
6859
  price_status: string | null;
6691
6860
  product_id: string | null;
@@ -6719,6 +6888,7 @@ export type Database = {
6719
6888
  next_attempt_at?: string;
6720
6889
  number_of_pieces?: number;
6721
6890
  price_note?: string | null;
6891
+ price_previous?: number | null;
6722
6892
  price_sent?: number | null;
6723
6893
  price_status?: string | null;
6724
6894
  product_id?: string | null;
@@ -6752,6 +6922,7 @@ export type Database = {
6752
6922
  next_attempt_at?: string;
6753
6923
  number_of_pieces?: number;
6754
6924
  price_note?: string | null;
6925
+ price_previous?: number | null;
6755
6926
  price_sent?: number | null;
6756
6927
  price_status?: string | null;
6757
6928
  product_id?: string | null;
@@ -6893,6 +7064,59 @@ export type Database = {
6893
7064
  }
6894
7065
  ];
6895
7066
  };
7067
+ floriday_customer_sticker_upload_requests_cache: {
7068
+ Row: {
7069
+ connection_id: string;
7070
+ created_at: string;
7071
+ customer_sticker_id: string | null;
7072
+ data: Json;
7073
+ expires_on: string | null;
7074
+ fetched_at: string;
7075
+ floriday_id: string;
7076
+ id: string;
7077
+ responded_on: string | null;
7078
+ sales_order_id: string | null;
7079
+ sequence_number: number;
7080
+ status: string | null;
7081
+ };
7082
+ Insert: {
7083
+ connection_id: string;
7084
+ created_at?: string;
7085
+ customer_sticker_id?: string | null;
7086
+ data?: Json;
7087
+ expires_on?: string | null;
7088
+ fetched_at?: string;
7089
+ floriday_id: string;
7090
+ id?: string;
7091
+ responded_on?: string | null;
7092
+ sales_order_id?: string | null;
7093
+ sequence_number?: number;
7094
+ status?: string | null;
7095
+ };
7096
+ Update: {
7097
+ connection_id?: string;
7098
+ created_at?: string;
7099
+ customer_sticker_id?: string | null;
7100
+ data?: Json;
7101
+ expires_on?: string | null;
7102
+ fetched_at?: string;
7103
+ floriday_id?: string;
7104
+ id?: string;
7105
+ responded_on?: string | null;
7106
+ sales_order_id?: string | null;
7107
+ sequence_number?: number;
7108
+ status?: string | null;
7109
+ };
7110
+ Relationships: [
7111
+ {
7112
+ foreignKeyName: "floriday_customer_sticker_upload_requests_ca_connection_id_fkey";
7113
+ columns: ["connection_id"];
7114
+ isOneToOne: false;
7115
+ referencedRelation: "floriday_connections";
7116
+ referencedColumns: ["id"];
7117
+ }
7118
+ ];
7119
+ };
6896
7120
  floriday_customer_stickers_cache: {
6897
7121
  Row: {
6898
7122
  connection_id: string;
@@ -7220,6 +7444,59 @@ export type Database = {
7220
7444
  }
7221
7445
  ];
7222
7446
  };
7447
+ floriday_document_versions: {
7448
+ Row: {
7449
+ bucket: string;
7450
+ byte_size: number | null;
7451
+ connection_id: string;
7452
+ content_sha256: string;
7453
+ content_type: string | null;
7454
+ created_at: string;
7455
+ delivery_date: string | null;
7456
+ document_id: string;
7457
+ document_kind: string;
7458
+ id: string;
7459
+ storage_path: string;
7460
+ version: number;
7461
+ };
7462
+ Insert: {
7463
+ bucket: string;
7464
+ byte_size?: number | null;
7465
+ connection_id: string;
7466
+ content_sha256: string;
7467
+ content_type?: string | null;
7468
+ created_at?: string;
7469
+ delivery_date?: string | null;
7470
+ document_id: string;
7471
+ document_kind: string;
7472
+ id?: string;
7473
+ storage_path: string;
7474
+ version: number;
7475
+ };
7476
+ Update: {
7477
+ bucket?: string;
7478
+ byte_size?: number | null;
7479
+ connection_id?: string;
7480
+ content_sha256?: string;
7481
+ content_type?: string | null;
7482
+ created_at?: string;
7483
+ delivery_date?: string | null;
7484
+ document_id?: string;
7485
+ document_kind?: string;
7486
+ id?: string;
7487
+ storage_path?: string;
7488
+ version?: number;
7489
+ };
7490
+ Relationships: [
7491
+ {
7492
+ foreignKeyName: "floriday_document_versions_connection_id_fkey";
7493
+ columns: ["connection_id"];
7494
+ isOneToOne: false;
7495
+ referencedRelation: "floriday_connections";
7496
+ referencedColumns: ["id"];
7497
+ }
7498
+ ];
7499
+ };
7223
7500
  floriday_fulfillment_orders_cache: {
7224
7501
  Row: {
7225
7502
  auction_date: string | null;
@@ -7482,6 +7759,87 @@ export type Database = {
7482
7759
  };
7483
7760
  Relationships: [];
7484
7761
  };
7762
+ floriday_loading_attempts: {
7763
+ Row: {
7764
+ code: string | null;
7765
+ created_at: string;
7766
+ created_by: string | null;
7767
+ delivery_note_url: string | null;
7768
+ delivery_order_id: string | null;
7769
+ fulfillment_order_id: string;
7770
+ http_status: number | null;
7771
+ id: string;
7772
+ message: string | null;
7773
+ order_refs: string[];
7774
+ request_summary: Json;
7775
+ sales_order_ids: string[];
7776
+ skipped_requests: Json;
7777
+ step: string;
7778
+ warnings: Json;
7779
+ };
7780
+ Insert: {
7781
+ code?: string | null;
7782
+ created_at?: string;
7783
+ created_by?: string | null;
7784
+ delivery_note_url?: string | null;
7785
+ delivery_order_id?: string | null;
7786
+ fulfillment_order_id: string;
7787
+ http_status?: number | null;
7788
+ id?: string;
7789
+ message?: string | null;
7790
+ order_refs?: string[];
7791
+ request_summary?: Json;
7792
+ sales_order_ids?: string[];
7793
+ skipped_requests?: Json;
7794
+ step: string;
7795
+ warnings?: Json;
7796
+ };
7797
+ Update: {
7798
+ code?: string | null;
7799
+ created_at?: string;
7800
+ created_by?: string | null;
7801
+ delivery_note_url?: string | null;
7802
+ delivery_order_id?: string | null;
7803
+ fulfillment_order_id?: string;
7804
+ http_status?: number | null;
7805
+ id?: string;
7806
+ message?: string | null;
7807
+ order_refs?: string[];
7808
+ request_summary?: Json;
7809
+ sales_order_ids?: string[];
7810
+ skipped_requests?: Json;
7811
+ step?: string;
7812
+ warnings?: Json;
7813
+ };
7814
+ Relationships: [];
7815
+ };
7816
+ floriday_loading_identifiers: {
7817
+ Row: {
7818
+ created_at: string;
7819
+ created_by: string | null;
7820
+ id: string;
7821
+ identifier: string;
7822
+ natural_key: string;
7823
+ scope: string;
7824
+ };
7825
+ Insert: {
7826
+ created_at?: string;
7827
+ created_by?: string | null;
7828
+ id?: string;
7829
+ identifier?: string;
7830
+ natural_key: string;
7831
+ scope: string;
7832
+ };
7833
+ Update: {
7834
+ created_at?: string;
7835
+ created_by?: string | null;
7836
+ id?: string;
7837
+ identifier?: string;
7838
+ natural_key?: string;
7839
+ scope?: string;
7840
+ };
7841
+ Relationships: [];
7842
+ };
7485
7843
  floriday_log_retention: {
7486
7844
  Row: {
7487
7845
  created_at: string;
@@ -11546,6 +11904,7 @@ export type Database = {
11546
11904
  approved_at: string | null;
11547
11905
  attempts: number;
11548
11906
  barcode: string;
11907
+ bron: string | null;
11549
11908
  cart_id: string;
11550
11909
  created_at: string;
11551
11910
  document_url: string | null;
@@ -11568,6 +11927,7 @@ export type Database = {
11568
11927
  approved_at?: string | null;
11569
11928
  attempts?: number;
11570
11929
  barcode: string;
11930
+ bron?: string | null;
11571
11931
  cart_id: string;
11572
11932
  created_at?: string;
11573
11933
  document_url?: string | null;
@@ -11590,6 +11950,7 @@ export type Database = {
11590
11950
  approved_at?: string | null;
11591
11951
  attempts?: number;
11592
11952
  barcode?: string;
11953
+ bron?: string | null;
11593
11954
  cart_id?: string;
11594
11955
  created_at?: string;
11595
11956
  document_url?: string | null;
@@ -12332,6 +12693,101 @@ export type Database = {
12332
12693
  };
12333
12694
  Relationships: [];
12334
12695
  };
12696
+ logistics_order_pick_day: {
12697
+ Row: {
12698
+ order_id: string;
12699
+ pick_date: string;
12700
+ pinned_at: string;
12701
+ source: string;
12702
+ };
12703
+ Insert: {
12704
+ order_id: string;
12705
+ pick_date: string;
12706
+ pinned_at?: string;
12707
+ source?: string;
12708
+ };
12709
+ Update: {
12710
+ order_id?: string;
12711
+ pick_date?: string;
12712
+ pinned_at?: string;
12713
+ source?: string;
12714
+ };
12715
+ Relationships: [];
12716
+ };
12717
+ logistics_order_plan_exclusion: {
12718
+ Row: {
12719
+ created_at: string;
12720
+ order_id: string;
12721
+ reason: string;
12722
+ };
12723
+ Insert: {
12724
+ created_at?: string;
12725
+ order_id: string;
12726
+ reason: string;
12727
+ };
12728
+ Update: {
12729
+ created_at?: string;
12730
+ order_id?: string;
12731
+ reason?: string;
12732
+ };
12733
+ Relationships: [
12734
+ {
12735
+ foreignKeyName: "logistics_order_plan_exclusion_order_id_fkey";
12736
+ columns: ["order_id"];
12737
+ isOneToOne: true;
12738
+ referencedRelation: "orders";
12739
+ referencedColumns: ["id"];
12740
+ }
12741
+ ];
12742
+ };
12743
+ logistics_order_sticker_warnings: {
12744
+ Row: {
12745
+ benodigd_breedte_mm: number | null;
12746
+ benodigd_hoogte_mm: number | null;
12747
+ bron_id: string;
12748
+ created_at: string;
12749
+ geladen_breedte_mm: number | null;
12750
+ geladen_hoogte_mm: number | null;
12751
+ id: string;
12752
+ melding: string;
12753
+ opgelost_op: string | null;
12754
+ order_id: string;
12755
+ plek: string | null;
12756
+ soort: string;
12757
+ updated_at: string;
12758
+ };
12759
+ Insert: {
12760
+ benodigd_breedte_mm?: number | null;
12761
+ benodigd_hoogte_mm?: number | null;
12762
+ bron_id: string;
12763
+ created_at?: string;
12764
+ geladen_breedte_mm?: number | null;
12765
+ geladen_hoogte_mm?: number | null;
12766
+ id?: string;
12767
+ melding: string;
12768
+ opgelost_op?: string | null;
12769
+ order_id: string;
12770
+ plek?: string | null;
12771
+ soort: string;
12772
+ updated_at?: string;
12773
+ };
12774
+ Update: {
12775
+ benodigd_breedte_mm?: number | null;
12776
+ benodigd_hoogte_mm?: number | null;
12777
+ bron_id?: string;
12778
+ created_at?: string;
12779
+ geladen_breedte_mm?: number | null;
12780
+ geladen_hoogte_mm?: number | null;
12781
+ id?: string;
12782
+ melding?: string;
12783
+ opgelost_op?: string | null;
12784
+ order_id?: string;
12785
+ plek?: string | null;
12786
+ soort?: string;
12787
+ updated_at?: string;
12788
+ };
12789
+ Relationships: [];
12790
+ };
12335
12791
  logistics_packing_deviations: {
12336
12792
  Row: {
12337
12793
  auto_fixed_at: string | null;
@@ -13161,6 +13617,78 @@ export type Database = {
13161
13617
  };
13162
13618
  Relationships: [];
13163
13619
  };
13620
+ logistics_sticker_prints: {
13621
+ Row: {
13622
+ attempts: number;
13623
+ breedte_mm: number | null;
13624
+ bron_id: string;
13625
+ cart_id: string | null;
13626
+ created_at: string;
13627
+ fulfillment_order_id: string | null;
13628
+ handled_at: string | null;
13629
+ handled_error: string | null;
13630
+ handled_next_at: string | null;
13631
+ hoogte_mm: number | null;
13632
+ id: string;
13633
+ kopieen: number;
13634
+ next_attempt_at: string | null;
13635
+ order_id: string | null;
13636
+ order_number: string | null;
13637
+ print_job_id: string | null;
13638
+ print_plek_id: string | null;
13639
+ reden: string | null;
13640
+ soort: string;
13641
+ status: string;
13642
+ updated_at: string;
13643
+ };
13644
+ Insert: {
13645
+ attempts?: number;
13646
+ breedte_mm?: number | null;
13647
+ bron_id: string;
13648
+ cart_id?: string | null;
13649
+ created_at?: string;
13650
+ fulfillment_order_id?: string | null;
13651
+ handled_at?: string | null;
13652
+ handled_error?: string | null;
13653
+ handled_next_at?: string | null;
13654
+ hoogte_mm?: number | null;
13655
+ id?: string;
13656
+ kopieen?: number;
13657
+ next_attempt_at?: string | null;
13658
+ order_id?: string | null;
13659
+ order_number?: string | null;
13660
+ print_job_id?: string | null;
13661
+ print_plek_id?: string | null;
13662
+ reden?: string | null;
13663
+ soort: string;
13664
+ status?: string;
13665
+ updated_at?: string;
13666
+ };
13667
+ Update: {
13668
+ attempts?: number;
13669
+ breedte_mm?: number | null;
13670
+ bron_id?: string;
13671
+ cart_id?: string | null;
13672
+ created_at?: string;
13673
+ fulfillment_order_id?: string | null;
13674
+ handled_at?: string | null;
13675
+ handled_error?: string | null;
13676
+ handled_next_at?: string | null;
13677
+ hoogte_mm?: number | null;
13678
+ id?: string;
13679
+ kopieen?: number;
13680
+ next_attempt_at?: string | null;
13681
+ order_id?: string | null;
13682
+ order_number?: string | null;
13683
+ print_job_id?: string | null;
13684
+ print_plek_id?: string | null;
13685
+ reden?: string | null;
13686
+ soort?: string;
13687
+ status?: string;
13688
+ updated_at?: string;
13689
+ };
13690
+ Relationships: [];
13691
+ };
13164
13692
  logistics_stock_alerts: {
13165
13693
  Row: {
13166
13694
  created_at: string;
@@ -13177,6 +13705,7 @@ export type Database = {
13177
13705
  order_id: string | null;
13178
13706
  order_ref: string;
13179
13707
  priority: number;
13708
+ resolution_reason: string | null;
13180
13709
  resolved_at: string | null;
13181
13710
  resolved_by: string | null;
13182
13711
  shortages: Json;
@@ -13199,6 +13728,7 @@ export type Database = {
13199
13728
  order_id?: string | null;
13200
13729
  order_ref: string;
13201
13730
  priority?: number;
13731
+ resolution_reason?: string | null;
13202
13732
  resolved_at?: string | null;
13203
13733
  resolved_by?: string | null;
13204
13734
  shortages?: Json;
@@ -13221,6 +13751,7 @@ export type Database = {
13221
13751
  order_id?: string | null;
13222
13752
  order_ref?: string;
13223
13753
  priority?: number;
13754
+ resolution_reason?: string | null;
13224
13755
  resolved_at?: string | null;
13225
13756
  resolved_by?: string | null;
13226
13757
  shortages?: Json;
@@ -18374,6 +18905,36 @@ export type Database = {
18374
18905
  };
18375
18906
  Relationships: [];
18376
18907
  };
18908
+ print_computer_status: {
18909
+ Row: {
18910
+ bijgewerkt_op: string;
18911
+ created_at: string;
18912
+ extern_computer_id: string;
18913
+ naam: string | null;
18914
+ status: string | null;
18915
+ updated_at: string;
18916
+ verbonden: boolean;
18917
+ };
18918
+ Insert: {
18919
+ bijgewerkt_op?: string;
18920
+ created_at?: string;
18921
+ extern_computer_id: string;
18922
+ naam?: string | null;
18923
+ status?: string | null;
18924
+ updated_at?: string;
18925
+ verbonden?: boolean;
18926
+ };
18927
+ Update: {
18928
+ bijgewerkt_op?: string;
18929
+ created_at?: string;
18930
+ extern_computer_id?: string;
18931
+ naam?: string | null;
18932
+ status?: string | null;
18933
+ updated_at?: string;
18934
+ verbonden?: boolean;
18935
+ };
18936
+ Relationships: [];
18937
+ };
18377
18938
  print_dedupe_events: {
18378
18939
  Row: {
18379
18940
  bestaande_job_id: string | null;
@@ -18407,6 +18968,35 @@ export type Database = {
18407
18968
  };
18408
18969
  Relationships: [];
18409
18970
  };
18971
+ print_gebruiker_werkplek: {
18972
+ Row: {
18973
+ created_at: string;
18974
+ updated_at: string;
18975
+ user_id: string;
18976
+ werkplek_id: string;
18977
+ };
18978
+ Insert: {
18979
+ created_at?: string;
18980
+ updated_at?: string;
18981
+ user_id: string;
18982
+ werkplek_id: string;
18983
+ };
18984
+ Update: {
18985
+ created_at?: string;
18986
+ updated_at?: string;
18987
+ user_id?: string;
18988
+ werkplek_id?: string;
18989
+ };
18990
+ Relationships: [
18991
+ {
18992
+ foreignKeyName: "print_gebruiker_werkplek_werkplek_id_fkey";
18993
+ columns: ["werkplek_id"];
18994
+ isOneToOne: false;
18995
+ referencedRelation: "print_werkplekken";
18996
+ referencedColumns: ["id"];
18997
+ }
18998
+ ];
18999
+ };
18410
19000
  print_genegeerde_computers: {
18411
19001
  Row: {
18412
19002
  computer_naam: string;
@@ -18496,16 +19086,21 @@ export type Database = {
18496
19086
  lokale_pdf_print_plek_id: string | null;
18497
19087
  lokale_pdf_status: string | null;
18498
19088
  opgepakt_op: string | null;
19089
+ origineel_sleutel: string | null;
18499
19090
  paginas: number;
18500
19091
  payload: Json;
18501
19092
  pdf_base64: string | null;
18502
19093
  pdf_url: string | null;
18503
19094
  pogingen: number;
18504
19095
  printer_id: string | null;
19096
+ printnode_bericht: string | null;
19097
+ printnode_status: string | null;
19098
+ printnode_status_op: string | null;
18505
19099
  render_html: string | null;
18506
19100
  resultaat_pdf_base64: string | null;
18507
19101
  status: Database["public"]["Enums"]["print_job_status"];
18508
19102
  updated_at: string;
19103
+ verloopt_na_s: number | null;
18509
19104
  verwerkingsfase: string;
18510
19105
  volgende_poging: string | null;
18511
19106
  voltooid_op: string | null;
@@ -18545,16 +19140,21 @@ export type Database = {
18545
19140
  lokale_pdf_print_plek_id?: string | null;
18546
19141
  lokale_pdf_status?: string | null;
18547
19142
  opgepakt_op?: string | null;
19143
+ origineel_sleutel?: string | null;
18548
19144
  paginas?: number;
18549
19145
  payload?: Json;
18550
19146
  pdf_base64?: string | null;
18551
19147
  pdf_url?: string | null;
18552
19148
  pogingen?: number;
18553
19149
  printer_id?: string | null;
19150
+ printnode_bericht?: string | null;
19151
+ printnode_status?: string | null;
19152
+ printnode_status_op?: string | null;
18554
19153
  render_html?: string | null;
18555
19154
  resultaat_pdf_base64?: string | null;
18556
19155
  status?: Database["public"]["Enums"]["print_job_status"];
18557
19156
  updated_at?: string;
19157
+ verloopt_na_s?: number | null;
18558
19158
  verwerkingsfase?: string;
18559
19159
  volgende_poging?: string | null;
18560
19160
  voltooid_op?: string | null;
@@ -18594,16 +19194,21 @@ export type Database = {
18594
19194
  lokale_pdf_print_plek_id?: string | null;
18595
19195
  lokale_pdf_status?: string | null;
18596
19196
  opgepakt_op?: string | null;
19197
+ origineel_sleutel?: string | null;
18597
19198
  paginas?: number;
18598
19199
  payload?: Json;
18599
19200
  pdf_base64?: string | null;
18600
19201
  pdf_url?: string | null;
18601
19202
  pogingen?: number;
18602
19203
  printer_id?: string | null;
19204
+ printnode_bericht?: string | null;
19205
+ printnode_status?: string | null;
19206
+ printnode_status_op?: string | null;
18603
19207
  render_html?: string | null;
18604
19208
  resultaat_pdf_base64?: string | null;
18605
19209
  status?: Database["public"]["Enums"]["print_job_status"];
18606
19210
  updated_at?: string;
19211
+ verloopt_na_s?: number | null;
18607
19212
  verwerkingsfase?: string;
18608
19213
  volgende_poging?: string | null;
18609
19214
  voltooid_op?: string | null;
@@ -18958,6 +19563,103 @@ export type Database = {
18958
19563
  }
18959
19564
  ];
18960
19565
  };
19566
+ print_werkplek_afwijkingen: {
19567
+ Row: {
19568
+ created_at: string;
19569
+ documenttype: string;
19570
+ id: string;
19571
+ printer_id: string | null;
19572
+ updated_at: string;
19573
+ werkplek_id: string;
19574
+ };
19575
+ Insert: {
19576
+ created_at?: string;
19577
+ documenttype: string;
19578
+ id?: string;
19579
+ printer_id?: string | null;
19580
+ updated_at?: string;
19581
+ werkplek_id: string;
19582
+ };
19583
+ Update: {
19584
+ created_at?: string;
19585
+ documenttype?: string;
19586
+ id?: string;
19587
+ printer_id?: string | null;
19588
+ updated_at?: string;
19589
+ werkplek_id?: string;
19590
+ };
19591
+ Relationships: [
19592
+ {
19593
+ foreignKeyName: "print_werkplek_afwijkingen_printer_id_fkey";
19594
+ columns: ["printer_id"];
19595
+ isOneToOne: false;
19596
+ referencedRelation: "printers";
19597
+ referencedColumns: ["id"];
19598
+ },
19599
+ {
19600
+ foreignKeyName: "print_werkplek_afwijkingen_werkplek_id_fkey";
19601
+ columns: ["werkplek_id"];
19602
+ isOneToOne: false;
19603
+ referencedRelation: "print_werkplekken";
19604
+ referencedColumns: ["id"];
19605
+ }
19606
+ ];
19607
+ };
19608
+ print_werkplekken: {
19609
+ Row: {
19610
+ a4_printer_id: string | null;
19611
+ actief: boolean;
19612
+ created_at: string;
19613
+ id: string;
19614
+ label_printer_id: string | null;
19615
+ naam: string;
19616
+ print_plek_id: string | null;
19617
+ updated_at: string;
19618
+ };
19619
+ Insert: {
19620
+ a4_printer_id?: string | null;
19621
+ actief?: boolean;
19622
+ created_at?: string;
19623
+ id?: string;
19624
+ label_printer_id?: string | null;
19625
+ naam: string;
19626
+ print_plek_id?: string | null;
19627
+ updated_at?: string;
19628
+ };
19629
+ Update: {
19630
+ a4_printer_id?: string | null;
19631
+ actief?: boolean;
19632
+ created_at?: string;
19633
+ id?: string;
19634
+ label_printer_id?: string | null;
19635
+ naam?: string;
19636
+ print_plek_id?: string | null;
19637
+ updated_at?: string;
19638
+ };
19639
+ Relationships: [
19640
+ {
19641
+ foreignKeyName: "print_werkplekken_a4_printer_id_fkey";
19642
+ columns: ["a4_printer_id"];
19643
+ isOneToOne: false;
19644
+ referencedRelation: "printers";
19645
+ referencedColumns: ["id"];
19646
+ },
19647
+ {
19648
+ foreignKeyName: "print_werkplekken_label_printer_id_fkey";
19649
+ columns: ["label_printer_id"];
19650
+ isOneToOne: false;
19651
+ referencedRelation: "printers";
19652
+ referencedColumns: ["id"];
19653
+ },
19654
+ {
19655
+ foreignKeyName: "print_werkplekken_print_plek_id_fkey";
19656
+ columns: ["print_plek_id"];
19657
+ isOneToOne: false;
19658
+ referencedRelation: "print_plekken";
19659
+ referencedColumns: ["id"];
19660
+ }
19661
+ ];
19662
+ };
18961
19663
  printer_mappings: {
18962
19664
  Row: {
18963
19665
  created_at: string;
@@ -19065,6 +19767,47 @@ export type Database = {
19065
19767
  }
19066
19768
  ];
19067
19769
  };
19770
+ printer_routes: {
19771
+ Row: {
19772
+ computer_naam: string | null;
19773
+ created_at: string;
19774
+ extern_printer_id: string;
19775
+ geladen_etiket: Json | null;
19776
+ id: string;
19777
+ printer_id: string;
19778
+ prioriteit: number;
19779
+ updated_at: string;
19780
+ };
19781
+ Insert: {
19782
+ computer_naam?: string | null;
19783
+ created_at?: string;
19784
+ extern_printer_id: string;
19785
+ geladen_etiket?: Json | null;
19786
+ id?: string;
19787
+ printer_id: string;
19788
+ prioriteit?: number;
19789
+ updated_at?: string;
19790
+ };
19791
+ Update: {
19792
+ computer_naam?: string | null;
19793
+ created_at?: string;
19794
+ extern_printer_id?: string;
19795
+ geladen_etiket?: Json | null;
19796
+ id?: string;
19797
+ printer_id?: string;
19798
+ prioriteit?: number;
19799
+ updated_at?: string;
19800
+ };
19801
+ Relationships: [
19802
+ {
19803
+ foreignKeyName: "printer_routes_printer_id_fkey";
19804
+ columns: ["printer_id"];
19805
+ isOneToOne: false;
19806
+ referencedRelation: "printers";
19807
+ referencedColumns: ["id"];
19808
+ }
19809
+ ];
19810
+ };
19068
19811
  printers: {
19069
19812
  Row: {
19070
19813
  actief: boolean;
@@ -19074,8 +19817,10 @@ export type Database = {
19074
19817
  driver: string;
19075
19818
  extern_printer_id: string | null;
19076
19819
  formaten_bijgewerkt_op: string | null;
19820
+ geladen_etiket: Json | null;
19077
19821
  id: string;
19078
19822
  ip_adres: string | null;
19823
+ is_virtueel: boolean;
19079
19824
  laatst_gezien: string | null;
19080
19825
  locatie: string;
19081
19826
  merk: string;
@@ -19091,6 +19836,8 @@ export type Database = {
19091
19836
  systeemnaam: string;
19092
19837
  updated_at: string;
19093
19838
  verbinding: Database["public"]["Enums"]["printer_connection"];
19839
+ verborgen: boolean;
19840
+ weergavenaam: string | null;
19094
19841
  };
19095
19842
  Insert: {
19096
19843
  actief?: boolean;
@@ -19100,8 +19847,10 @@ export type Database = {
19100
19847
  driver?: string;
19101
19848
  extern_printer_id?: string | null;
19102
19849
  formaten_bijgewerkt_op?: string | null;
19850
+ geladen_etiket?: Json | null;
19103
19851
  id?: string;
19104
19852
  ip_adres?: string | null;
19853
+ is_virtueel?: boolean;
19105
19854
  laatst_gezien?: string | null;
19106
19855
  locatie?: string;
19107
19856
  merk?: string;
@@ -19117,6 +19866,8 @@ export type Database = {
19117
19866
  systeemnaam?: string;
19118
19867
  updated_at?: string;
19119
19868
  verbinding?: Database["public"]["Enums"]["printer_connection"];
19869
+ verborgen?: boolean;
19870
+ weergavenaam?: string | null;
19120
19871
  };
19121
19872
  Update: {
19122
19873
  actief?: boolean;
@@ -19126,8 +19877,10 @@ export type Database = {
19126
19877
  driver?: string;
19127
19878
  extern_printer_id?: string | null;
19128
19879
  formaten_bijgewerkt_op?: string | null;
19880
+ geladen_etiket?: Json | null;
19129
19881
  id?: string;
19130
19882
  ip_adres?: string | null;
19883
+ is_virtueel?: boolean;
19131
19884
  laatst_gezien?: string | null;
19132
19885
  locatie?: string;
19133
19886
  merk?: string;
@@ -19143,6 +19896,8 @@ export type Database = {
19143
19896
  systeemnaam?: string;
19144
19897
  updated_at?: string;
19145
19898
  verbinding?: Database["public"]["Enums"]["printer_connection"];
19899
+ verborgen?: boolean;
19900
+ weergavenaam?: string | null;
19146
19901
  };
19147
19902
  Relationships: [
19148
19903
  {
@@ -19154,6 +19909,117 @@ export type Database = {
19154
19909
  }
19155
19910
  ];
19156
19911
  };
19912
+ printnode_webhook_koppeling: {
19913
+ Row: {
19914
+ bereikbaar: string | null;
19915
+ created_at: string;
19916
+ fout: string | null;
19917
+ geheim: string | null;
19918
+ gekoppeld_op: string | null;
19919
+ id: number;
19920
+ laatst_ontvangen_op: string | null;
19921
+ laatste_poging_op: string | null;
19922
+ melding: string | null;
19923
+ pn_geslaagd: number | null;
19924
+ pn_geslaagd_vorig: number | null;
19925
+ pn_mislukt: number | null;
19926
+ pn_ontvangen: number | null;
19927
+ pn_opgehaald_op: string | null;
19928
+ pn_url: string | null;
19929
+ pn_weggegooid: number | null;
19930
+ secret_veld: string | null;
19931
+ status: string;
19932
+ updated_at: string;
19933
+ url: string | null;
19934
+ webhook_id: number | null;
19935
+ zelftest_fout: string | null;
19936
+ zelftest_op: string | null;
19937
+ };
19938
+ Insert: {
19939
+ bereikbaar?: string | null;
19940
+ created_at?: string;
19941
+ fout?: string | null;
19942
+ geheim?: string | null;
19943
+ gekoppeld_op?: string | null;
19944
+ id?: number;
19945
+ laatst_ontvangen_op?: string | null;
19946
+ laatste_poging_op?: string | null;
19947
+ melding?: string | null;
19948
+ pn_geslaagd?: number | null;
19949
+ pn_geslaagd_vorig?: number | null;
19950
+ pn_mislukt?: number | null;
19951
+ pn_ontvangen?: number | null;
19952
+ pn_opgehaald_op?: string | null;
19953
+ pn_url?: string | null;
19954
+ pn_weggegooid?: number | null;
19955
+ secret_veld?: string | null;
19956
+ status?: string;
19957
+ updated_at?: string;
19958
+ url?: string | null;
19959
+ webhook_id?: number | null;
19960
+ zelftest_fout?: string | null;
19961
+ zelftest_op?: string | null;
19962
+ };
19963
+ Update: {
19964
+ bereikbaar?: string | null;
19965
+ created_at?: string;
19966
+ fout?: string | null;
19967
+ geheim?: string | null;
19968
+ gekoppeld_op?: string | null;
19969
+ id?: number;
19970
+ laatst_ontvangen_op?: string | null;
19971
+ laatste_poging_op?: string | null;
19972
+ melding?: string | null;
19973
+ pn_geslaagd?: number | null;
19974
+ pn_geslaagd_vorig?: number | null;
19975
+ pn_mislukt?: number | null;
19976
+ pn_ontvangen?: number | null;
19977
+ pn_opgehaald_op?: string | null;
19978
+ pn_url?: string | null;
19979
+ pn_weggegooid?: number | null;
19980
+ secret_veld?: string | null;
19981
+ status?: string;
19982
+ updated_at?: string;
19983
+ url?: string | null;
19984
+ webhook_id?: number | null;
19985
+ zelftest_fout?: string | null;
19986
+ zelftest_op?: string | null;
19987
+ };
19988
+ Relationships: [];
19989
+ };
19990
+ printnode_webhook_meldingen: {
19991
+ Row: {
19992
+ antwoord: Json | null;
19993
+ gematcht: number;
19994
+ http_status: number;
19995
+ id: number;
19996
+ niet_gematcht: string[];
19997
+ ontvangen_op: string;
19998
+ printnode_ids: string[];
19999
+ soorten: string[];
20000
+ };
20001
+ Insert: {
20002
+ antwoord?: Json | null;
20003
+ gematcht?: number;
20004
+ http_status: number;
20005
+ id?: never;
20006
+ niet_gematcht?: string[];
20007
+ ontvangen_op?: string;
20008
+ printnode_ids?: string[];
20009
+ soorten?: string[];
20010
+ };
20011
+ Update: {
20012
+ antwoord?: Json | null;
20013
+ gematcht?: number;
20014
+ http_status?: number;
20015
+ id?: never;
20016
+ niet_gematcht?: string[];
20017
+ ontvangen_op?: string;
20018
+ printnode_ids?: string[];
20019
+ soorten?: string[];
20020
+ };
20021
+ Relationships: [];
20022
+ };
19157
20023
  product_bom_external_items: {
19158
20024
  Row: {
19159
20025
  created_at: string;
@@ -26128,6 +26994,7 @@ export type Database = {
26128
26994
  created_by: string;
26129
26995
  customer_id: string | null;
26130
26996
  id: string;
26997
+ offerte_id: string | null;
26131
26998
  payload: Json;
26132
26999
  reden: string | null;
26133
27000
  status: string;
@@ -26143,6 +27010,7 @@ export type Database = {
26143
27010
  created_by?: string;
26144
27011
  customer_id?: string | null;
26145
27012
  id?: string;
27013
+ offerte_id?: string | null;
26146
27014
  payload?: Json;
26147
27015
  reden?: string | null;
26148
27016
  status?: string;
@@ -26158,6 +27026,7 @@ export type Database = {
26158
27026
  created_by?: string;
26159
27027
  customer_id?: string | null;
26160
27028
  id?: string;
27029
+ offerte_id?: string | null;
26161
27030
  payload?: Json;
26162
27031
  reden?: string | null;
26163
27032
  status?: string;
@@ -26216,6 +27085,8 @@ export type Database = {
26216
27085
  id: string;
26217
27086
  internal_notes: string | null;
26218
27087
  needs_detail_review: boolean;
27088
+ offerte_teruggestuurd_id: string | null;
27089
+ offerte_teruggestuurd_op: string | null;
26219
27090
  parent_werkbon_id: string | null;
26220
27091
  parsed_payload: Json | null;
26221
27092
  planning_status: string;
@@ -26260,6 +27131,8 @@ export type Database = {
26260
27131
  id?: string;
26261
27132
  internal_notes?: string | null;
26262
27133
  needs_detail_review?: boolean;
27134
+ offerte_teruggestuurd_id?: string | null;
27135
+ offerte_teruggestuurd_op?: string | null;
26263
27136
  parent_werkbon_id?: string | null;
26264
27137
  parsed_payload?: Json | null;
26265
27138
  planning_status?: string;
@@ -26304,6 +27177,8 @@ export type Database = {
26304
27177
  id?: string;
26305
27178
  internal_notes?: string | null;
26306
27179
  needs_detail_review?: boolean;
27180
+ offerte_teruggestuurd_id?: string | null;
27181
+ offerte_teruggestuurd_op?: string | null;
26307
27182
  parent_werkbon_id?: string | null;
26308
27183
  parsed_payload?: Json | null;
26309
27184
  planning_status?: string;
@@ -27490,6 +28365,14 @@ export type Database = {
27490
28365
  };
27491
28366
  Returns: number;
27492
28367
  };
28368
+ _jsonb_paden_met_waarde: {
28369
+ Args: {
28370
+ _j: Json;
28371
+ _pad?: string[];
28372
+ _w: string;
28373
+ };
28374
+ Returns: string[][];
28375
+ };
27493
28376
  _migrate_rewrite_stock_key: {
27494
28377
  Args: {
27495
28378
  _from_key: string;
@@ -27754,16 +28637,21 @@ export type Database = {
27754
28637
  lokale_pdf_print_plek_id: string | null;
27755
28638
  lokale_pdf_status: string | null;
27756
28639
  opgepakt_op: string | null;
28640
+ origineel_sleutel: string | null;
27757
28641
  paginas: number;
27758
28642
  payload: Json;
27759
28643
  pdf_base64: string | null;
27760
28644
  pdf_url: string | null;
27761
28645
  pogingen: number;
27762
28646
  printer_id: string | null;
28647
+ printnode_bericht: string | null;
28648
+ printnode_status: string | null;
28649
+ printnode_status_op: string | null;
27763
28650
  render_html: string | null;
27764
28651
  resultaat_pdf_base64: string | null;
27765
28652
  status: Database["public"]["Enums"]["print_job_status"];
27766
28653
  updated_at: string;
28654
+ verloopt_na_s: number | null;
27767
28655
  verwerkingsfase: string;
27768
28656
  volgende_poging: string | null;
27769
28657
  voltooid_op: string | null;
@@ -27815,6 +28703,7 @@ export type Database = {
27815
28703
  next_attempt_at: string;
27816
28704
  number_of_pieces: number;
27817
28705
  price_note: string | null;
28706
+ price_previous: number | null;
27818
28707
  price_sent: number | null;
27819
28708
  price_status: string | null;
27820
28709
  product_id: string | null;
@@ -27944,16 +28833,21 @@ export type Database = {
27944
28833
  lokale_pdf_print_plek_id: string | null;
27945
28834
  lokale_pdf_status: string | null;
27946
28835
  opgepakt_op: string | null;
28836
+ origineel_sleutel: string | null;
27947
28837
  paginas: number;
27948
28838
  payload: Json;
27949
28839
  pdf_base64: string | null;
27950
28840
  pdf_url: string | null;
27951
28841
  pogingen: number;
27952
28842
  printer_id: string | null;
28843
+ printnode_bericht: string | null;
28844
+ printnode_status: string | null;
28845
+ printnode_status_op: string | null;
27953
28846
  render_html: string | null;
27954
28847
  resultaat_pdf_base64: string | null;
27955
28848
  status: Database["public"]["Enums"]["print_job_status"];
27956
28849
  updated_at: string;
28850
+ verloopt_na_s: number | null;
27957
28851
  verwerkingsfase: string;
27958
28852
  volgende_poging: string | null;
27959
28853
  voltooid_op: string | null;
@@ -28005,16 +28899,21 @@ export type Database = {
28005
28899
  lokale_pdf_print_plek_id: string | null;
28006
28900
  lokale_pdf_status: string | null;
28007
28901
  opgepakt_op: string | null;
28902
+ origineel_sleutel: string | null;
28008
28903
  paginas: number;
28009
28904
  payload: Json;
28010
28905
  pdf_base64: string | null;
28011
28906
  pdf_url: string | null;
28012
28907
  pogingen: number;
28013
28908
  printer_id: string | null;
28909
+ printnode_bericht: string | null;
28910
+ printnode_status: string | null;
28911
+ printnode_status_op: string | null;
28014
28912
  render_html: string | null;
28015
28913
  resultaat_pdf_base64: string | null;
28016
28914
  status: Database["public"]["Enums"]["print_job_status"];
28017
28915
  updated_at: string;
28916
+ verloopt_na_s: number | null;
28018
28917
  verwerkingsfase: string;
28019
28918
  volgende_poging: string | null;
28020
28919
  voltooid_op: string | null;
@@ -28265,6 +29164,10 @@ export type Database = {
28265
29164
  Args: never;
28266
29165
  Returns: Json;
28267
29166
  };
29167
+ dashboard_alert_counts_v2: {
29168
+ Args: never;
29169
+ Returns: Json;
29170
+ };
28268
29171
  dashboard_alert_rows: {
28269
29172
  Args: {
28270
29173
  check_id: string;
@@ -28272,6 +29175,30 @@ export type Database = {
28272
29175
  };
28273
29176
  Returns: Json;
28274
29177
  };
29178
+ dashboard_alert_rows_v2: {
29179
+ Args: {
29180
+ check_id: string;
29181
+ row_limit?: number;
29182
+ };
29183
+ Returns: Json;
29184
+ };
29185
+ dashboard_ensure_start_page: {
29186
+ Args: never;
29187
+ Returns: string;
29188
+ };
29189
+ dashboard_funnel_betaald: {
29190
+ Args: {
29191
+ _bedragen: number[];
29192
+ _statussen: string[];
29193
+ };
29194
+ Returns: boolean;
29195
+ };
29196
+ dashboard_jaar_start: {
29197
+ Args: {
29198
+ _vandaag: string;
29199
+ };
29200
+ Returns: string;
29201
+ };
28275
29202
  dashboard_list_public_schema: {
28276
29203
  Args: never;
28277
29204
  Returns: {
@@ -28280,6 +29207,29 @@ export type Database = {
28280
29207
  table_name: string;
28281
29208
  }[];
28282
29209
  };
29210
+ dashboard_order_state: {
29211
+ Args: {
29212
+ _order_id: string;
29213
+ };
29214
+ Returns: string;
29215
+ };
29216
+ dashboard_pit_tellingen: {
29217
+ Args: {
29218
+ _mail_connecties?: string[];
29219
+ _vandaag: string;
29220
+ };
29221
+ Returns: Json;
29222
+ };
29223
+ dashboard_werkbon_funnel: {
29224
+ Args: {
29225
+ _periode?: string;
29226
+ };
29227
+ Returns: Json;
29228
+ };
29229
+ dashboard_werkbon_jaarstats: {
29230
+ Args: never;
29231
+ Returns: Json;
29232
+ };
28283
29233
  dashboard_werkbon_soort: {
28284
29234
  Args: {
28285
29235
  _source: string;
@@ -28597,6 +29547,13 @@ export type Database = {
28597
29547
  stock: number;
28598
29548
  }[];
28599
29549
  };
29550
+ geladen_etiketten: {
29551
+ Args: {
29552
+ _print_plek_id?: string;
29553
+ _werkplek_id?: string;
29554
+ };
29555
+ Returns: Json;
29556
+ };
28600
29557
  get_active_floriday_connection_public: {
28601
29558
  Args: never;
28602
29559
  Returns: {
@@ -29303,6 +30260,19 @@ export type Database = {
29303
30260
  };
29304
30261
  Returns: Json;
29305
30262
  };
30263
+ invoice_register_send: {
30264
+ Args: {
30265
+ _invoice_id: string;
30266
+ _outbox_id: string;
30267
+ };
30268
+ Returns: Json;
30269
+ };
30270
+ invoice_resync_concept_from_work_order: {
30271
+ Args: {
30272
+ _werkbon_id: string;
30273
+ };
30274
+ Returns: undefined;
30275
+ };
29306
30276
  invoice_save_branding_settings: {
29307
30277
  Args: {
29308
30278
  _payload: Json;
@@ -29322,6 +30292,13 @@ export type Database = {
29322
30292
  };
29323
30293
  Returns: Json;
29324
30294
  };
30295
+ invoice_status_transition_ok: {
30296
+ Args: {
30297
+ _from: string;
30298
+ _to: string;
30299
+ };
30300
+ Returns: boolean;
30301
+ };
29325
30302
  invoice_update_full: {
29326
30303
  Args: {
29327
30304
  _invoice_id: string;
@@ -29364,6 +30341,19 @@ export type Database = {
29364
30341
  Args: never;
29365
30342
  Returns: boolean;
29366
30343
  };
30344
+ itk_customer_stats: {
30345
+ Args: {
30346
+ _customer_ids: string[];
30347
+ };
30348
+ Returns: {
30349
+ afgerond: number;
30350
+ bezig: number;
30351
+ customer_id: string;
30352
+ klussen: number;
30353
+ omzet_cents: number;
30354
+ open: number;
30355
+ }[];
30356
+ };
29367
30357
  itk_offerte_naar_werkbon: {
29368
30358
  Args: {
29369
30359
  _offerte_id: string;
@@ -29377,6 +30367,16 @@ export type Database = {
29377
30367
  };
29378
30368
  Returns: number;
29379
30369
  };
30370
+ itk_top_customers_by_revenue: {
30371
+ Args: {
30372
+ _limit?: number;
30373
+ };
30374
+ Returns: {
30375
+ customer_id: string;
30376
+ name: string;
30377
+ omzet_cents: number;
30378
+ }[];
30379
+ };
29380
30380
  jwt_has_role: {
29381
30381
  Args: {
29382
30382
  _role: Database["public"]["Enums"]["app_role"];
@@ -29392,6 +30392,7 @@ export type Database = {
29392
30392
  _is_herprint?: boolean;
29393
30393
  _kopieen?: number;
29394
30394
  _layout_id?: string;
30395
+ _mislukt_reden?: string;
29395
30396
  _payload?: Json;
29396
30397
  _pdf_base64?: string;
29397
30398
  _pdf_url?: string;
@@ -29400,10 +30401,27 @@ export type Database = {
29400
30401
  };
29401
30402
  Returns: {
29402
30403
  bestaand: boolean;
30404
+ fout_bericht: string;
30405
+ fout_code: string;
29403
30406
  job_id: string;
30407
+ mislukt: boolean;
29404
30408
  printer_id: string;
30409
+ status: string;
29405
30410
  }[];
29406
30411
  };
30412
+ layout_verwijzing_omzetten: {
30413
+ Args: {
30414
+ _nieuw: string;
30415
+ _oud: string;
30416
+ _rij_id: string;
30417
+ _tabel: string;
30418
+ };
30419
+ Returns: undefined;
30420
+ };
30421
+ layout_verwijzingen: {
30422
+ Args: never;
30423
+ Returns: Json;
30424
+ };
29407
30425
  list_medewerkers: {
29408
30426
  Args: never;
29409
30427
  Returns: {
@@ -29509,6 +30527,12 @@ export type Database = {
29509
30527
  };
29510
30528
  Returns: string;
29511
30529
  };
30530
+ logistics_afhandeling_fulfillment_order: {
30531
+ Args: {
30532
+ _order_id: string;
30533
+ };
30534
+ Returns: Json;
30535
+ };
29512
30536
  logistics_allocation_check_changes: {
29513
30537
  Args: {
29514
30538
  p_order_item_ids?: string[];
@@ -29563,6 +30587,20 @@ export type Database = {
29563
30587
  };
29564
30588
  Returns: boolean;
29565
30589
  };
30590
+ logistics_archived_orders: {
30591
+ Args: never;
30592
+ Returns: {
30593
+ archived_at: string;
30594
+ attempts: number;
30595
+ delivery_date: string;
30596
+ last_error: string;
30597
+ order_id: string;
30598
+ order_ref: string;
30599
+ queue_id: string;
30600
+ reason: string;
30601
+ reason_code: string;
30602
+ }[];
30603
+ };
29566
30604
  logistics_backorder_allowed: {
29567
30605
  Args: {
29568
30606
  p_strategy_id?: string;
@@ -29583,6 +30621,10 @@ export type Database = {
29583
30621
  Args: never;
29584
30622
  Returns: number;
29585
30623
  };
30624
+ logistics_belading_verstuurder: {
30625
+ Args: never;
30626
+ Returns: string;
30627
+ };
29586
30628
  logistics_block_reason_code: {
29587
30629
  Args: {
29588
30630
  p_details?: Json;
@@ -29607,6 +30649,13 @@ export type Database = {
29607
30649
  Args: never;
29608
30650
  Returns: Json;
29609
30651
  };
30652
+ logistics_brief_transport: {
30653
+ Args: {
30654
+ p_cart_id?: string;
30655
+ p_order_id: string;
30656
+ };
30657
+ Returns: Json;
30658
+ };
29610
30659
  logistics_buffer_criteria: {
29611
30660
  Args: {
29612
30661
  p_settings: Json;
@@ -29743,6 +30792,12 @@ export type Database = {
29743
30792
  };
29744
30793
  Returns: boolean;
29745
30794
  };
30795
+ logistics_cart_ids_frozen: {
30796
+ Args: {
30797
+ p_cart_ids: string[];
30798
+ };
30799
+ Returns: string[];
30800
+ };
29746
30801
  logistics_cart_index: {
29747
30802
  Args: {
29748
30803
  p_from?: string;
@@ -29769,6 +30824,12 @@ export type Database = {
29769
30824
  task_status: string;
29770
30825
  }[];
29771
30826
  };
30827
+ logistics_cart_is_frozen: {
30828
+ Args: {
30829
+ p_cart_id: string;
30830
+ };
30831
+ Returns: boolean;
30832
+ };
29772
30833
  logistics_cart_is_full: {
29773
30834
  Args: {
29774
30835
  p_cart_id: string;
@@ -29841,6 +30902,12 @@ export type Database = {
29841
30902
  };
29842
30903
  Returns: Json;
29843
30904
  };
30905
+ logistics_cart_sticker_state: {
30906
+ Args: {
30907
+ p_cart_id: string;
30908
+ };
30909
+ Returns: Json;
30910
+ };
29844
30911
  logistics_cart_units: {
29845
30912
  Args: {
29846
30913
  p_from?: string;
@@ -30088,6 +31155,7 @@ export type Database = {
30088
31155
  approved_at: string | null;
30089
31156
  attempts: number;
30090
31157
  barcode: string;
31158
+ bron: string | null;
30091
31159
  cart_id: string;
30092
31160
  created_at: string;
30093
31161
  document_url: string | null;
@@ -30146,6 +31214,13 @@ export type Database = {
30146
31214
  };
30147
31215
  Returns: Json;
30148
31216
  };
31217
+ logistics_control_scan_record_afmelding: {
31218
+ Args: {
31219
+ p_bron: string;
31220
+ p_order_id: string;
31221
+ };
31222
+ Returns: number;
31223
+ };
30149
31224
  logistics_control_scan_retry: {
30150
31225
  Args: {
30151
31226
  _id: string;
@@ -30434,6 +31509,12 @@ export type Database = {
30434
31509
  Args: never;
30435
31510
  Returns: Json;
30436
31511
  };
31512
+ logistics_floriday_layout_id: {
31513
+ Args: {
31514
+ p_documenttype: string;
31515
+ };
31516
+ Returns: Json;
31517
+ };
30437
31518
  logistics_floriday_log_refusal: {
30438
31519
  Args: {
30439
31520
  _action?: string;
@@ -30619,12 +31700,24 @@ export type Database = {
30619
31700
  Args: never;
30620
31701
  Returns: string;
30621
31702
  };
31703
+ logistics_order_afgemeld: {
31704
+ Args: {
31705
+ p_order_id: string;
31706
+ };
31707
+ Returns: boolean;
31708
+ };
30622
31709
  logistics_order_backlog_info: {
30623
31710
  Args: {
30624
31711
  p_order_id: string;
30625
31712
  };
30626
31713
  Returns: Json;
30627
31714
  };
31715
+ logistics_order_buffer_excluded: {
31716
+ Args: {
31717
+ p_order_id: string;
31718
+ };
31719
+ Returns: boolean;
31720
+ };
30628
31721
  logistics_order_cart_approval: {
30629
31722
  Args: {
30630
31723
  _order_ref: string;
@@ -30653,6 +31746,12 @@ export type Database = {
30653
31746
  };
30654
31747
  Returns: string[];
30655
31748
  };
31749
+ logistics_order_definitively_blocked: {
31750
+ Args: {
31751
+ p_order_id: string;
31752
+ };
31753
+ Returns: Json;
31754
+ };
30656
31755
  logistics_order_documents_ready: {
30657
31756
  Args: {
30658
31757
  p_order_ref: string;
@@ -30721,6 +31820,12 @@ export type Database = {
30721
31820
  };
30722
31821
  Returns: boolean;
30723
31822
  };
31823
+ logistics_order_is_archived: {
31824
+ Args: {
31825
+ p_order_id: string;
31826
+ };
31827
+ Returns: Json;
31828
+ };
30724
31829
  logistics_order_is_backlog: {
30725
31830
  Args: {
30726
31831
  p_order_id: string;
@@ -30770,6 +31875,12 @@ export type Database = {
30770
31875
  };
30771
31876
  Returns: boolean;
30772
31877
  };
31878
+ logistics_order_on_frozen_shared_cart: {
31879
+ Args: {
31880
+ p_order_id: string;
31881
+ };
31882
+ Returns: boolean;
31883
+ };
30773
31884
  logistics_order_overview: {
30774
31885
  Args: {
30775
31886
  p_from?: string;
@@ -30825,6 +31936,12 @@ export type Database = {
30825
31936
  };
30826
31937
  Returns: boolean;
30827
31938
  };
31939
+ logistics_order_sticker_meldingen: {
31940
+ Args: {
31941
+ p_order_id: string;
31942
+ };
31943
+ Returns: Json;
31944
+ };
30828
31945
  logistics_packing_autofix: {
30829
31946
  Args: {
30830
31947
  p_limit?: number;
@@ -30979,6 +32096,14 @@ export type Database = {
30979
32096
  order_id: string;
30980
32097
  }[];
30981
32098
  };
32099
+ logistics_plan_close_claim: {
32100
+ Args: {
32101
+ p_id: string;
32102
+ p_reason: string;
32103
+ p_reason_code?: string;
32104
+ };
32105
+ Returns: boolean;
32106
+ };
30982
32107
  logistics_plan_coverage_check: {
30983
32108
  Args: {
30984
32109
  p_limit?: number;
@@ -31034,6 +32159,10 @@ export type Database = {
31034
32159
  };
31035
32160
  Returns: number;
31036
32161
  };
32162
+ logistics_plan_housekeeping: {
32163
+ Args: never;
32164
+ Returns: Json;
32165
+ };
31037
32166
  logistics_plan_impact_orders: {
31038
32167
  Args: {
31039
32168
  p_order_id: string;
@@ -31145,6 +32274,12 @@ export type Database = {
31145
32274
  Args: never;
31146
32275
  Returns: number;
31147
32276
  };
32277
+ logistics_plan_unarchive: {
32278
+ Args: {
32279
+ p_order_ids: string[];
32280
+ };
32281
+ Returns: number;
32282
+ };
31148
32283
  logistics_plan_wachttijd: {
31149
32284
  Args: {
31150
32285
  p_order_id: string;
@@ -31198,6 +32333,12 @@ export type Database = {
31198
32333
  };
31199
32334
  Returns: Json;
31200
32335
  };
32336
+ logistics_print_job_state: {
32337
+ Args: {
32338
+ p_job_id: string;
32339
+ };
32340
+ Returns: string;
32341
+ };
31201
32342
  logistics_print_via_layout: {
31202
32343
  Args: {
31203
32344
  _documentnaam: string;
@@ -31233,6 +32374,12 @@ export type Database = {
31233
32374
  };
31234
32375
  Returns: string;
31235
32376
  };
32377
+ logistics_queue_row_has_open_peer: {
32378
+ Args: {
32379
+ p_payload: Json;
32380
+ };
32381
+ Returns: boolean;
32382
+ };
31236
32383
  logistics_queue_stock_email: {
31237
32384
  Args: {
31238
32385
  p_alert_id: string;
@@ -31538,6 +32685,17 @@ export type Database = {
31538
32685
  };
31539
32686
  Returns: Json;
31540
32687
  };
32688
+ logistics_shared_cart_peers: {
32689
+ Args: {
32690
+ p_order_id: string;
32691
+ };
32692
+ Returns: {
32693
+ buffer_id: string;
32694
+ cart_id: string;
32695
+ cart_number: number;
32696
+ peer_order_id: string;
32697
+ }[];
32698
+ };
31541
32699
  logistics_shift_to_workday: {
31542
32700
  Args: {
31543
32701
  p_days: string[];
@@ -31586,6 +32744,14 @@ export type Database = {
31586
32744
  };
31587
32745
  Returns: Json;
31588
32746
  };
32747
+ logistics_shipping_note_wait_reasons: {
32748
+ Args: never;
32749
+ Returns: {
32750
+ order_number: string;
32751
+ reden: string;
32752
+ wacht_sinds: string;
32753
+ }[];
32754
+ };
31589
32755
  logistics_shipping_note_wake: {
31590
32756
  Args: {
31591
32757
  _slip_job_id: string;
@@ -31654,6 +32820,27 @@ export type Database = {
31654
32820
  };
31655
32821
  Returns: undefined;
31656
32822
  };
32823
+ logistics_slip_note_hold_belading: {
32824
+ Args: {
32825
+ _id: string;
32826
+ _reason: string;
32827
+ };
32828
+ Returns: undefined;
32829
+ };
32830
+ logistics_slip_note_hold_kenmerk: {
32831
+ Args: {
32832
+ _id: string;
32833
+ _reason: string;
32834
+ };
32835
+ Returns: undefined;
32836
+ };
32837
+ logistics_slip_note_hold_layout: {
32838
+ Args: {
32839
+ _id: string;
32840
+ _reason: string;
32841
+ };
32842
+ Returns: undefined;
32843
+ };
31657
32844
  logistics_slip_note_keep_waiting: {
31658
32845
  Args: {
31659
32846
  _class?: string;
@@ -31662,16 +32849,64 @@ export type Database = {
31662
32849
  };
31663
32850
  Returns: undefined;
31664
32851
  };
32852
+ logistics_slip_note_release_layout: {
32853
+ Args: never;
32854
+ Returns: number;
32855
+ };
31665
32856
  logistics_slip_note_retry: {
31666
32857
  Args: {
31667
32858
  _id: string;
31668
32859
  };
31669
32860
  Returns: Json;
31670
32861
  };
32862
+ logistics_sticker_cart_plek: {
32863
+ Args: {
32864
+ _cart: string;
32865
+ _fallback: string;
32866
+ };
32867
+ Returns: string;
32868
+ };
31671
32869
  logistics_sticker_follows_slip: {
31672
32870
  Args: never;
31673
32871
  Returns: boolean;
31674
32872
  };
32873
+ logistics_sticker_moment: {
32874
+ Args: {
32875
+ _cart: string;
32876
+ _hours: number;
32877
+ _order_number: string;
32878
+ _release: string;
32879
+ };
32880
+ Returns: boolean;
32881
+ };
32882
+ logistics_sticker_parse_size: {
32883
+ Args: {
32884
+ p: Json;
32885
+ };
32886
+ Returns: number[];
32887
+ };
32888
+ logistics_sticker_sync: {
32889
+ Args: {
32890
+ p_limit?: number;
32891
+ };
32892
+ Returns: Json;
32893
+ };
32894
+ logistics_sticker_upsert: {
32895
+ Args: {
32896
+ _bron: string;
32897
+ _cart: string;
32898
+ _fo: string;
32899
+ _kopieen: number;
32900
+ _order: string;
32901
+ _order_number: string;
32902
+ _plek: string;
32903
+ _reden: string;
32904
+ _size: number[];
32905
+ _soort: string;
32906
+ _status: string;
32907
+ };
32908
+ Returns: undefined;
32909
+ };
31675
32910
  logistics_subtract_working_minutes: {
31676
32911
  Args: {
31677
32912
  p_deadline: string;
@@ -32424,6 +33659,13 @@ export type Database = {
32424
33659
  };
32425
33660
  Returns: string;
32426
33661
  };
33662
+ pick_find_sent_elsewhere: {
33663
+ Args: {
33664
+ _cart_id: string;
33665
+ _queue_item_id: string;
33666
+ };
33667
+ Returns: Json;
33668
+ };
32427
33669
  pick_is_reference_admin: {
32428
33670
  Args: never;
32429
33671
  Returns: boolean;
@@ -32857,6 +34099,13 @@ export type Database = {
32857
34099
  };
32858
34100
  Returns: Json;
32859
34101
  };
34102
+ pickstation_cart_sticker_state: {
34103
+ Args: {
34104
+ p_cart_id: string;
34105
+ p_slug: string;
34106
+ };
34107
+ Returns: Json;
34108
+ };
32860
34109
  pickstation_get_orders_raw: {
32861
34110
  Args: never;
32862
34111
  Returns: Json;
@@ -32879,6 +34128,13 @@ export type Database = {
32879
34128
  };
32880
34129
  Returns: undefined;
32881
34130
  };
34131
+ pickstation_order_sticker_meldingen: {
34132
+ Args: {
34133
+ p_order_id: string;
34134
+ p_slug: string;
34135
+ };
34136
+ Returns: Json;
34137
+ };
32882
34138
  pickstation_resolve_delivery_orders: {
32883
34139
  Args: {
32884
34140
  p_sales_order_ids: string[];
@@ -32944,6 +34200,12 @@ export type Database = {
32944
34200
  };
32945
34201
  Returns: undefined;
32946
34202
  };
34203
+ planning_cleanup_old_logs: {
34204
+ Args: {
34205
+ _keep_days?: number;
34206
+ };
34207
+ Returns: number;
34208
+ };
32947
34209
  planning_html_escape: {
32948
34210
  Args: {
32949
34211
  t: string;
@@ -33010,6 +34272,23 @@ export type Database = {
33010
34272
  };
33011
34273
  Returns: string;
33012
34274
  };
34275
+ print_formaat_klasse: {
34276
+ Args: {
34277
+ _code: string;
34278
+ };
34279
+ Returns: string;
34280
+ };
34281
+ print_job_status_uitgebreid: {
34282
+ Args: {
34283
+ _job_id: string;
34284
+ };
34285
+ Returns: {
34286
+ fout_bericht: string;
34287
+ fout_code: string;
34288
+ mislukt: boolean;
34289
+ status: string;
34290
+ }[];
34291
+ };
33013
34292
  print_preview_toestaan: {
33014
34293
  Args: {
33015
34294
  _max?: number;
@@ -33028,6 +34307,14 @@ export type Database = {
33028
34307
  };
33029
34308
  Returns: undefined;
33030
34309
  };
34310
+ print_werkplek_keuze: {
34311
+ Args: {
34312
+ _documenttype: string;
34313
+ _klasse: string;
34314
+ _werkplek_id: string;
34315
+ };
34316
+ Returns: Json;
34317
+ };
33031
34318
  printer_gebruik: {
33032
34319
  Args: {
33033
34320
  _printer: string;
@@ -33041,6 +34328,7 @@ export type Database = {
33041
34328
  _papierformaat?: string;
33042
34329
  _print_plek_id?: string;
33043
34330
  _werkplek?: string;
34331
+ _werkplek_id?: string;
33044
34332
  };
33045
34333
  Returns: Json;
33046
34334
  };
@@ -34352,6 +35640,10 @@ export type Database = {
34352
35640
  };
34353
35641
  Returns: undefined;
34354
35642
  };
35643
+ uren_cao_settings_zorg: {
35644
+ Args: never;
35645
+ Returns: string;
35646
+ };
34355
35647
  uren_collega_agenda: {
34356
35648
  Args: {
34357
35649
  _monteur: string;
@@ -34512,10 +35804,22 @@ export type Database = {
34512
35804
  Args: never;
34513
35805
  Returns: number;
34514
35806
  };
35807
+ uren_module_gezondheid: {
35808
+ Args: never;
35809
+ Returns: Json;
35810
+ };
35811
+ uren_module_status: {
35812
+ Args: never;
35813
+ Returns: Json;
35814
+ };
34515
35815
  uren_my_monteur_id: {
34516
35816
  Args: never;
34517
35817
  Returns: string;
34518
35818
  };
35819
+ uren_opschonen_indien_nodig: {
35820
+ Args: never;
35821
+ Returns: boolean;
35822
+ };
34519
35823
  uren_overuren_indienen: {
34520
35824
  Args: {
34521
35825
  _datum: string;
@@ -34854,6 +36158,23 @@ export type Database = {
34854
36158
  Args: never;
34855
36159
  Returns: Json;
34856
36160
  };
36161
+ voorraad_hook_base_url: {
36162
+ Args: never;
36163
+ Returns: string;
36164
+ };
36165
+ voorraad_hook_on: {
36166
+ Args: {
36167
+ p_name: string;
36168
+ };
36169
+ Returns: boolean;
36170
+ };
36171
+ voorraad_hook_post: {
36172
+ Args: {
36173
+ p_path: string;
36174
+ p_timeout?: number;
36175
+ };
36176
+ Returns: undefined;
36177
+ };
34857
36178
  voorraad_production_enabled: {
34858
36179
  Args: never;
34859
36180
  Returns: boolean;
@@ -34902,6 +36223,16 @@ export type Database = {
34902
36223
  total_minutes: number;
34903
36224
  }[];
34904
36225
  };
36226
+ werkplek_omzetting_toepassen: {
36227
+ Args: {
36228
+ _werkplekken: Json;
36229
+ };
36230
+ Returns: Json;
36231
+ };
36232
+ werkplek_omzetting_voorstel: {
36233
+ Args: never;
36234
+ Returns: Json;
36235
+ };
34905
36236
  wo_boek_standby_uren: {
34906
36237
  Args: {
34907
36238
  _datum: string;
@@ -34996,6 +36327,19 @@ export type Database = {
34996
36327
  };
34997
36328
  Returns: Json;
34998
36329
  };
36330
+ wo_send_proposal_to_quote: {
36331
+ Args: {
36332
+ _id: string;
36333
+ _overrides?: Json;
36334
+ };
36335
+ Returns: Json;
36336
+ };
36337
+ wo_send_to_quote: {
36338
+ Args: {
36339
+ _werkbon_id: string;
36340
+ };
36341
+ Returns: Json;
36342
+ };
34999
36343
  wo_set_status: {
35000
36344
  Args: {
35001
36345
  _reason?: string;