@flowselections/floriday-verkoop-module 1.0.145 → 1.0.147

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.
@@ -8651,6 +8651,7 @@ export type Database = {
8651
8651
  label: string;
8652
8652
  local_url_template: string | null;
8653
8653
  resource_type: string;
8654
+ system_label: string | null;
8654
8655
  updated_at: string;
8655
8656
  };
8656
8657
  Insert: {
@@ -8660,6 +8661,7 @@ export type Database = {
8660
8661
  label: string;
8661
8662
  local_url_template?: string | null;
8662
8663
  resource_type: string;
8664
+ system_label?: string | null;
8663
8665
  updated_at?: string;
8664
8666
  };
8665
8667
  Update: {
@@ -8669,6 +8671,7 @@ export type Database = {
8669
8671
  label?: string;
8670
8672
  local_url_template?: string | null;
8671
8673
  resource_type?: string;
8674
+ system_label?: string | null;
8672
8675
  updated_at?: string;
8673
8676
  };
8674
8677
  Relationships: [];
@@ -11113,6 +11116,7 @@ export type Database = {
11113
11116
  id: string;
11114
11117
  invoice_date: string;
11115
11118
  invoice_number: string | null;
11119
+ merged_into: string | null;
11116
11120
  note: string | null;
11117
11121
  paid_at: string | null;
11118
11122
  payment_term_days: number;
@@ -11147,6 +11151,7 @@ export type Database = {
11147
11151
  id?: string;
11148
11152
  invoice_date?: string;
11149
11153
  invoice_number?: string | null;
11154
+ merged_into?: string | null;
11150
11155
  note?: string | null;
11151
11156
  paid_at?: string | null;
11152
11157
  payment_term_days?: number;
@@ -11181,6 +11186,7 @@ export type Database = {
11181
11186
  id?: string;
11182
11187
  invoice_date?: string;
11183
11188
  invoice_number?: string | null;
11189
+ merged_into?: string | null;
11184
11190
  note?: string | null;
11185
11191
  paid_at?: string | null;
11186
11192
  payment_term_days?: number;
@@ -11205,6 +11211,20 @@ export type Database = {
11205
11211
  isOneToOne: false;
11206
11212
  referencedRelation: "itk_customers";
11207
11213
  referencedColumns: ["id"];
11214
+ },
11215
+ {
11216
+ foreignKeyName: "invoices_merged_into_fkey";
11217
+ columns: ["merged_into"];
11218
+ isOneToOne: false;
11219
+ referencedRelation: "invoices";
11220
+ referencedColumns: ["id"];
11221
+ },
11222
+ {
11223
+ foreignKeyName: "invoices_merged_into_fkey";
11224
+ columns: ["merged_into"];
11225
+ isOneToOne: false;
11226
+ referencedRelation: "uren_facturen";
11227
+ referencedColumns: ["id"];
11208
11228
  }
11209
11229
  ];
11210
11230
  };
@@ -11373,6 +11393,7 @@ export type Database = {
11373
11393
  segment: Database["public"]["Enums"]["itk_customer_segment"];
11374
11394
  updated_at: string;
11375
11395
  vat_number: string | null;
11396
+ vat_reverse_charge: boolean;
11376
11397
  };
11377
11398
  Insert: {
11378
11399
  billing_city?: string | null;
@@ -11393,6 +11414,7 @@ export type Database = {
11393
11414
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
11394
11415
  updated_at?: string;
11395
11416
  vat_number?: string | null;
11417
+ vat_reverse_charge?: boolean;
11396
11418
  };
11397
11419
  Update: {
11398
11420
  billing_city?: string | null;
@@ -11413,6 +11435,7 @@ export type Database = {
11413
11435
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
11414
11436
  updated_at?: string;
11415
11437
  vat_number?: string | null;
11438
+ vat_reverse_charge?: boolean;
11416
11439
  };
11417
11440
  Relationships: [];
11418
11441
  };
@@ -11901,6 +11924,7 @@ export type Database = {
11901
11924
  akkoordgever_email: string;
11902
11925
  akkoordgever_naam: string;
11903
11926
  akkoordverklaring: string;
11927
+ handtekening: string | null;
11904
11928
  id: string;
11905
11929
  inhoud_hash: string;
11906
11930
  ip_address: unknown;
@@ -11915,6 +11939,7 @@ export type Database = {
11915
11939
  akkoordgever_email: string;
11916
11940
  akkoordgever_naam: string;
11917
11941
  akkoordverklaring: string;
11942
+ handtekening?: string | null;
11918
11943
  id?: string;
11919
11944
  inhoud_hash: string;
11920
11945
  ip_address?: unknown;
@@ -11929,6 +11954,7 @@ export type Database = {
11929
11954
  akkoordgever_email?: string;
11930
11955
  akkoordgever_naam?: string;
11931
11956
  akkoordverklaring?: string;
11957
+ handtekening?: string | null;
11932
11958
  id?: string;
11933
11959
  inhoud_hash?: string;
11934
11960
  ip_address?: unknown;
@@ -16471,6 +16497,7 @@ export type Database = {
16471
16497
  domain_match: boolean;
16472
16498
  duplicate_days: number;
16473
16499
  id: string;
16500
+ max_age_days: number;
16474
16501
  max_agent_reparse: number;
16475
16502
  max_ai_per_day: number;
16476
16503
  max_ai_per_month: number;
@@ -16494,6 +16521,7 @@ export type Database = {
16494
16521
  domain_match?: boolean;
16495
16522
  duplicate_days?: number;
16496
16523
  id?: string;
16524
+ max_age_days?: number;
16497
16525
  max_agent_reparse?: number;
16498
16526
  max_ai_per_day?: number;
16499
16527
  max_ai_per_month?: number;
@@ -16517,6 +16545,7 @@ export type Database = {
16517
16545
  domain_match?: boolean;
16518
16546
  duplicate_days?: number;
16519
16547
  id?: string;
16548
+ max_age_days?: number;
16520
16549
  max_agent_reparse?: number;
16521
16550
  max_ai_per_day?: number;
16522
16551
  max_ai_per_month?: number;
@@ -16534,6 +16563,30 @@ export type Database = {
16534
16563
  };
16535
16564
  Relationships: [];
16536
16565
  };
16566
+ mailbox_ignored_events: {
16567
+ Row: {
16568
+ connection_id: string | null;
16569
+ created_at: string;
16570
+ event_id: string;
16571
+ id: string;
16572
+ reason: string;
16573
+ };
16574
+ Insert: {
16575
+ connection_id?: string | null;
16576
+ created_at?: string;
16577
+ event_id: string;
16578
+ id?: string;
16579
+ reason: string;
16580
+ };
16581
+ Update: {
16582
+ connection_id?: string | null;
16583
+ created_at?: string;
16584
+ event_id?: string;
16585
+ id?: string;
16586
+ reason?: string;
16587
+ };
16588
+ Relationships: [];
16589
+ };
16537
16590
  mailbox_ingest_runs: {
16538
16591
  Row: {
16539
16592
  connection_id: string | null;
@@ -16543,7 +16596,9 @@ export type Database = {
16543
16596
  id: string;
16544
16597
  inserted: number;
16545
16598
  processed: number;
16599
+ reason: string | null;
16546
16600
  started_at: string;
16601
+ status: string | null;
16547
16602
  trigger: string;
16548
16603
  };
16549
16604
  Insert: {
@@ -16554,7 +16609,9 @@ export type Database = {
16554
16609
  id?: string;
16555
16610
  inserted?: number;
16556
16611
  processed?: number;
16612
+ reason?: string | null;
16557
16613
  started_at?: string;
16614
+ status?: string | null;
16558
16615
  trigger: string;
16559
16616
  };
16560
16617
  Update: {
@@ -16565,13 +16622,16 @@ export type Database = {
16565
16622
  id?: string;
16566
16623
  inserted?: number;
16567
16624
  processed?: number;
16625
+ reason?: string | null;
16568
16626
  started_at?: string;
16627
+ status?: string | null;
16569
16628
  trigger?: string;
16570
16629
  };
16571
16630
  Relationships: [];
16572
16631
  };
16573
16632
  mailbox_messages: {
16574
16633
  Row: {
16634
+ account_email: string | null;
16575
16635
  analysis_count: number;
16576
16636
  analysis_note: string | null;
16577
16637
  analysis_started_at: string | null;
@@ -16602,6 +16662,7 @@ export type Database = {
16602
16662
  updated_at: string;
16603
16663
  };
16604
16664
  Insert: {
16665
+ account_email?: string | null;
16605
16666
  analysis_count?: number;
16606
16667
  analysis_note?: string | null;
16607
16668
  analysis_started_at?: string | null;
@@ -16632,6 +16693,7 @@ export type Database = {
16632
16693
  updated_at?: string;
16633
16694
  };
16634
16695
  Update: {
16696
+ account_email?: string | null;
16635
16697
  analysis_count?: number;
16636
16698
  analysis_note?: string | null;
16637
16699
  analysis_started_at?: string | null;
@@ -22084,6 +22146,7 @@ export type Database = {
22084
22146
  mislukte_wakeups: number;
22085
22147
  module_versie: string | null;
22086
22148
  tick_sleutel: string;
22149
+ tick_sleutel_hash: string | null;
22087
22150
  updated_at: string;
22088
22151
  };
22089
22152
  Insert: {
@@ -22100,6 +22163,7 @@ export type Database = {
22100
22163
  mislukte_wakeups?: number;
22101
22164
  module_versie?: string | null;
22102
22165
  tick_sleutel?: string;
22166
+ tick_sleutel_hash?: string | null;
22103
22167
  updated_at?: string;
22104
22168
  };
22105
22169
  Update: {
@@ -22116,6 +22180,7 @@ export type Database = {
22116
22180
  mislukte_wakeups?: number;
22117
22181
  module_versie?: string | null;
22118
22182
  tick_sleutel?: string;
22183
+ tick_sleutel_hash?: string | null;
22119
22184
  updated_at?: string;
22120
22185
  };
22121
22186
  Relationships: [];
@@ -28595,6 +28660,54 @@ export type Database = {
28595
28660
  };
28596
28661
  Relationships: [];
28597
28662
  };
28663
+ uren_tekort_meldingen: {
28664
+ Row: {
28665
+ created_at: string;
28666
+ datum: string;
28667
+ gezien_door: string | null;
28668
+ gezien_op: string | null;
28669
+ id: string;
28670
+ monteur_id: string;
28671
+ toelichting: string | null;
28672
+ updated_at: string;
28673
+ };
28674
+ Insert: {
28675
+ created_at?: string;
28676
+ datum: string;
28677
+ gezien_door?: string | null;
28678
+ gezien_op?: string | null;
28679
+ id?: string;
28680
+ monteur_id: string;
28681
+ toelichting?: string | null;
28682
+ updated_at?: string;
28683
+ };
28684
+ Update: {
28685
+ created_at?: string;
28686
+ datum?: string;
28687
+ gezien_door?: string | null;
28688
+ gezien_op?: string | null;
28689
+ id?: string;
28690
+ monteur_id?: string;
28691
+ toelichting?: string | null;
28692
+ updated_at?: string;
28693
+ };
28694
+ Relationships: [
28695
+ {
28696
+ foreignKeyName: "uren_tekort_meldingen_gezien_door_fkey";
28697
+ columns: ["gezien_door"];
28698
+ isOneToOne: false;
28699
+ referencedRelation: "profiles";
28700
+ referencedColumns: ["id"];
28701
+ },
28702
+ {
28703
+ foreignKeyName: "uren_tekort_meldingen_monteur_id_fkey";
28704
+ columns: ["monteur_id"];
28705
+ isOneToOne: false;
28706
+ referencedRelation: "profiles";
28707
+ referencedColumns: ["id"];
28708
+ }
28709
+ ];
28710
+ };
28598
28711
  uren_tekort_toelichtingen: {
28599
28712
  Row: {
28600
28713
  created_at: string;
@@ -30287,6 +30400,7 @@ export type Database = {
30287
30400
  article_number: string | null;
30288
30401
  created_at: string;
30289
30402
  description: string | null;
30403
+ extra_quarters: number | null;
30290
30404
  id: string;
30291
30405
  line_type: string;
30292
30406
  note: string | null;
@@ -30301,6 +30415,7 @@ export type Database = {
30301
30415
  article_number?: string | null;
30302
30416
  created_at?: string;
30303
30417
  description?: string | null;
30418
+ extra_quarters?: number | null;
30304
30419
  id?: string;
30305
30420
  line_type?: string;
30306
30421
  note?: string | null;
@@ -30315,6 +30430,7 @@ export type Database = {
30315
30430
  article_number?: string | null;
30316
30431
  created_at?: string;
30317
30432
  description?: string | null;
30433
+ extra_quarters?: number | null;
30318
30434
  id?: string;
30319
30435
  line_type?: string;
30320
30436
  note?: string | null;
@@ -32230,6 +32346,14 @@ export type Database = {
32230
32346
  p_location_id: string;
32231
32347
  };
32232
32348
  Returns: Json;
32349
+ } | {
32350
+ Args: {
32351
+ p_floriday_location_id: string;
32352
+ p_gln: string;
32353
+ p_location_id: string;
32354
+ p_source: string;
32355
+ };
32356
+ Returns: Json;
32233
32357
  };
32234
32358
  afh_assert_ingelogd: {
32235
32359
  Args: never;
@@ -32512,6 +32636,10 @@ export type Database = {
32512
32636
  Args: never;
32513
32637
  Returns: Json;
32514
32638
  };
32639
+ ai_ensure_defaults: {
32640
+ Args: never;
32641
+ Returns: Json;
32642
+ };
32515
32643
  ai_is_admin: {
32516
32644
  Args: {
32517
32645
  _uid: string;
@@ -33884,6 +34012,10 @@ export type Database = {
33884
34012
  };
33885
34013
  Returns: boolean;
33886
34014
  };
34015
+ floriday_auth_ensure_defaults: {
34016
+ Args: never;
34017
+ Returns: Json;
34018
+ };
33887
34019
  floriday_authenticatie_install_check: {
33888
34020
  Args: never;
33889
34021
  Returns: {
@@ -34971,6 +35103,12 @@ export type Database = {
34971
35103
  };
34972
35104
  Returns: undefined;
34973
35105
  };
35106
+ invoice_merge: {
35107
+ Args: {
35108
+ _ids: string[];
35109
+ };
35110
+ Returns: string;
35111
+ };
34974
35112
  invoice_peek_next_number: {
34975
35113
  Args: never;
34976
35114
  Returns: string;
@@ -35146,6 +35284,16 @@ export type Database = {
35146
35284
  };
35147
35285
  Returns: boolean;
35148
35286
  };
35287
+ klanten_adres_sleutel: {
35288
+ Args: {
35289
+ p_country: string;
35290
+ p_house: string;
35291
+ p_line: string;
35292
+ p_postal: string;
35293
+ p_street: string;
35294
+ };
35295
+ Returns: string;
35296
+ };
35149
35297
  klanten_auto_promote_status: {
35150
35298
  Args: never;
35151
35299
  Returns: Json;
@@ -35423,6 +35571,13 @@ export type Database = {
35423
35571
  Args: never;
35424
35572
  Returns: Json;
35425
35573
  };
35574
+ list_available_glns_for_customer: {
35575
+ Args: {
35576
+ p_customer_id: string;
35577
+ p_location_id?: string;
35578
+ };
35579
+ Returns: Json;
35580
+ };
35426
35581
  list_medewerkers: {
35427
35582
  Args: never;
35428
35583
  Returns: {
@@ -40188,6 +40343,16 @@ export type Database = {
40188
40343
  };
40189
40344
  Returns: Json;
40190
40345
  };
40346
+ mailbox_ensure_defaults: {
40347
+ Args: never;
40348
+ Returns: undefined;
40349
+ };
40350
+ mailbox_prune_ingest_runs: {
40351
+ Args: {
40352
+ p_limit?: number;
40353
+ };
40354
+ Returns: Json;
40355
+ };
40191
40356
  mark_offer_clicked: {
40192
40357
  Args: {
40193
40358
  p_code: string;
@@ -42595,6 +42760,12 @@ export type Database = {
42595
42760
  };
42596
42761
  Returns: undefined;
42597
42762
  };
42763
+ print_runner_zoek: {
42764
+ Args: {
42765
+ p_sleutel: string;
42766
+ };
42767
+ Returns: string;
42768
+ };
42598
42769
  print_shell_url: {
42599
42770
  Args: never;
42600
42771
  Returns: string;
@@ -42803,6 +42974,10 @@ export type Database = {
42803
42974
  };
42804
42975
  Returns: Json;
42805
42976
  };
42977
+ productontwerp_ensure_defaults: {
42978
+ Args: never;
42979
+ Returns: Json;
42980
+ };
42806
42981
  productontwerp_export: {
42807
42982
  Args: never;
42808
42983
  Returns: Json;
@@ -42867,6 +43042,13 @@ export type Database = {
42867
43042
  Args: never;
42868
43043
  Returns: number;
42869
43044
  };
43045
+ prune_floriday_logs_batch: {
43046
+ Args: {
43047
+ p_batch?: number;
43048
+ p_max_ms?: number;
43049
+ };
43050
+ Returns: Json;
43051
+ };
42870
43052
  quote_ack_work_order: {
42871
43053
  Args: {
42872
43054
  _queue_id: string;
@@ -42949,6 +43131,7 @@ export type Database = {
42949
43131
  Args: {
42950
43132
  _akkoord: boolean;
42951
43133
  _email: string;
43134
+ _handtekening?: string;
42952
43135
  _ip_address?: string;
42953
43136
  _naam: string;
42954
43137
  _token: string;
@@ -43266,6 +43449,17 @@ export type Database = {
43266
43449
  };
43267
43450
  Returns: Json;
43268
43451
  };
43452
+ save_delivery_location_with_glns: {
43453
+ Args: {
43454
+ p_add: Json;
43455
+ p_fields: Json;
43456
+ p_location_id: string;
43457
+ p_make_primary: boolean;
43458
+ p_primary_gln: string;
43459
+ p_remove: string[];
43460
+ };
43461
+ Returns: Json;
43462
+ };
43269
43463
  save_product_group: {
43270
43464
  Args: {
43271
43465
  p_description: string;
@@ -45184,6 +45378,10 @@ export type Database = {
45184
45378
  Args: never;
45185
45379
  Returns: Json;
45186
45380
  };
45381
+ verkoop_ensure_defaults: {
45382
+ Args: never;
45383
+ Returns: Json;
45384
+ };
45187
45385
  verkoop_fulfillment_index_apply: {
45188
45386
  Args: {
45189
45387
  p_data: Json;
@@ -45307,6 +45505,16 @@ export type Database = {
45307
45505
  };
45308
45506
  Returns: string;
45309
45507
  };
45508
+ voorraad_afboeken: {
45509
+ Args: {
45510
+ p_aantal: number;
45511
+ p_connection_id: string;
45512
+ p_notitie?: string;
45513
+ p_reden: string;
45514
+ p_trade_item_key: string;
45515
+ };
45516
+ Returns: Json;
45517
+ };
45310
45518
  voorraad_alert_floriday_not_updated: {
45311
45519
  Args: {
45312
45520
  p_key: string;
@@ -45456,6 +45664,12 @@ export type Database = {
45456
45664
  };
45457
45665
  Returns: Json;
45458
45666
  };
45667
+ voorraad_correctie_1140: {
45668
+ Args: {
45669
+ p_uitvoeren?: boolean;
45670
+ };
45671
+ Returns: Json;
45672
+ };
45459
45673
  voorraad_correctie_status: {
45460
45674
  Args: {
45461
45675
  p_correctie?: string;
@@ -45472,6 +45686,10 @@ export type Database = {
45472
45686
  };
45473
45687
  Returns: string[];
45474
45688
  };
45689
+ voorraad_floriday_klaarzetten_toegestaan: {
45690
+ Args: never;
45691
+ Returns: boolean;
45692
+ };
45475
45693
  voorraad_floriday_leads_key: {
45476
45694
  Args: {
45477
45695
  p_key: string;
@@ -45560,6 +45778,12 @@ export type Database = {
45560
45778
  };
45561
45779
  Returns: string;
45562
45780
  };
45781
+ voorraad_overzicht_orderregel_koppeling: {
45782
+ Args: {
45783
+ p_voorbeelden?: number;
45784
+ };
45785
+ Returns: Json;
45786
+ };
45563
45787
  voorraad_packing_from_floriday: {
45564
45788
  Args: {
45565
45789
  p_product_id: string;
@@ -45609,6 +45833,20 @@ export type Database = {
45609
45833
  };
45610
45834
  Returns: undefined;
45611
45835
  };
45836
+ voorraad_voorraad_opslaan: {
45837
+ Args: {
45838
+ p_artikel_notitie?: string;
45839
+ p_artikel_notitie_wijzigen?: boolean;
45840
+ p_connection_id: string;
45841
+ p_incoming_stock: number;
45842
+ p_minimum_stock: number;
45843
+ p_physical_stock: number;
45844
+ p_product_id: string;
45845
+ p_trade_item_key: string;
45846
+ p_wijziging_notitie?: string;
45847
+ };
45848
+ Returns: Json;
45849
+ };
45612
45850
  voorraad_week_is_past: {
45613
45851
  Args: {
45614
45852
  p_week: number;