dataleon 0.1.0.pre.alpha.12 → 0.1.0.pre.alpha.14

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b7f9c3da812ce58e4ea5e69f55c31196be4358fccc6eae737f1456fde6233a9
4
- data.tar.gz: f4cbc2604121a18ea2da6a03916ccc2bf9111473c87dc11981cf8aa735d6d5b4
3
+ metadata.gz: d0e195e64061816ed43481badb73039455ba027701afddf7efa0318946a1e0cb
4
+ data.tar.gz: 33abc700acf3c04a710b8cb371a6b0a7f821af070412bb8388ba3c3e34a516b0
5
5
  SHA512:
6
- metadata.gz: e72a284f717643322f28147a93a8684ddf63d7883d638e13cb9b47aff6f19ef8a8530fbf38c3629c31f26985c43d1380a8697acdddb880334e3b7c69cad41ced
7
- data.tar.gz: d7da3645aff74cb4d5b9b86b3faed27a1fbeeb6ee476cee1f25b0eb9698ed303b9dede6134b918890050cc472e54399df678c9823138dd0a61f00ef3bd003e68
6
+ metadata.gz: 4bdc8d6d1248edd5d7bb98264ed3ef88a4447cb5d96bf82f4ceb2a44916cbcae9bb771b493b4648984b1509f883494ac5a1cf4bafed44198018cbc452977e929
7
+ data.tar.gz: 931e892e67f13a709ef5cc2e5ab24717c527b9b661c7b10658837697265e745edce98af3f86ecef57bb65462b12083b920875fba328303e8bb57358f4e3c4edb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,41 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.14 (2026-01-29)
4
+
5
+ Full Changelog: [v0.1.0-alpha.13...v0.1.0-alpha.14](https://github.com/dataleonlabs/dataleon-ruby/compare/v0.1.0-alpha.13...v0.1.0-alpha.14)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([2804f04](https://github.com/dataleonlabs/dataleon-ruby/commit/2804f045a2e3e37dd8f4c13f1ea33210dc76b670))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **docs:** fix mcp installation instructions for remote servers ([863f04f](https://github.com/dataleonlabs/dataleon-ruby/commit/863f04ff33c8a181a2995deb93ab283ee0e9c757))
15
+
16
+
17
+ ### Chores
18
+
19
+ * **internal:** update `actions/checkout` version ([9a222bf](https://github.com/dataleonlabs/dataleon-ruby/commit/9a222bfe3951175a2cae61d19b6b4c82ffdff73e))
20
+
21
+ ## 0.1.0-alpha.13 (2026-01-15)
22
+
23
+ Full Changelog: [v0.1.0-alpha.12...v0.1.0-alpha.13](https://github.com/dataleonlabs/dataleon-ruby/compare/v0.1.0-alpha.12...v0.1.0-alpha.13)
24
+
25
+ ### Features
26
+
27
+ * **api:** api update ([54a4762](https://github.com/dataleonlabs/dataleon-ruby/commit/54a4762a2b250c8153ce0bbb1960a092a81bd841))
28
+
29
+
30
+ ### Chores
31
+
32
+ * move `cgi` into dependencies for ruby 4 ([8a66179](https://github.com/dataleonlabs/dataleon-ruby/commit/8a6617943bc96abfd9726b7f031ba5d007e1459f))
33
+
34
+
35
+ ### Documentation
36
+
37
+ * prominently feature MCP server setup in root SDK readmes ([876b9fd](https://github.com/dataleonlabs/dataleon-ruby/commit/876b9fd30758a8d9eff2b60610bd90da787e3ac3))
38
+
3
39
  ## 0.1.0-alpha.12 (2026-01-05)
4
40
 
5
41
  Full Changelog: [v0.1.0-alpha.11...v0.1.0-alpha.12](https://github.com/dataleonlabs/dataleon-ruby/compare/v0.1.0-alpha.11...v0.1.0-alpha.12)
data/README.md CHANGED
@@ -4,6 +4,15 @@ The Dataleon Ruby library provides convenient access to the Dataleon REST API fr
4
4
 
5
5
  It is generated with [Stainless](https://www.stainless.com/).
6
6
 
7
+ ## MCP Server
8
+
9
+ Use the Dataleon MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.
10
+
11
+ [![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40dataleon%2Fdataleon-mcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBkYXRhbGVvbi9kYXRhbGVvbi1tY3AiXSwiZW52Ijp7IkRBVEFMRU9OX0FQSV9LRVkiOiJNeSBBUEkgS2V5In19)
12
+ [![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40dataleon%2Fdataleon-mcp%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40dataleon%2Fdataleon-mcp%22%5D%2C%22env%22%3A%7B%22DATALEON_API_KEY%22%3A%22My%20API%20Key%22%7D%7D)
13
+
14
+ > Note: You may need to set environment variables in your MCP client.
15
+
7
16
  ## Documentation
8
17
 
9
18
  Documentation for releases of this gem can be found [on RubyDoc](https://gemdocs.org/gems/dataleon).
@@ -17,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
17
26
  <!-- x-release-please-start-version -->
18
27
 
19
28
  ```ruby
20
- gem "dataleon", "~> 0.1.0.pre.alpha.12"
29
+ gem "dataleon", "~> 0.1.0.pre.alpha.14"
21
30
  ```
22
31
 
23
32
  <!-- x-release-please-end -->
@@ -47,6 +47,7 @@ module Dataleon
47
47
  REGISTRATION_COMPANY_CERTIFICATE = :registration_company_certificate
48
48
  KBIS = :kbis
49
49
  RIB = :rib
50
+ CHECK = :check
50
51
  LIVRET_FAMILLE = :livret_famille
51
52
  BIRTH_CERTIFICATE = :birth_certificate
52
53
  PAYSLIP = :payslip
@@ -802,6 +802,12 @@ module Dataleon
802
802
  # @return [Time, nil]
803
803
  optional :approved_at, Time
804
804
 
805
+ # @!attribute approved_by
806
+ # Identifier of the actor who approved (e.g., user id or username).
807
+ #
808
+ # @return [String, nil]
809
+ optional :approved_by, String, nil?: true
810
+
805
811
  # @!attribute callback_url
806
812
  # URL to receive callback data from the AML system.
807
813
  #
@@ -868,6 +874,12 @@ module Dataleon
868
874
  # @return [Time, nil]
869
875
  optional :need_review_at, Time, nil?: true
870
876
 
877
+ # @!attribute need_review_by
878
+ # Identifier of the actor who requested review (e.g., user id or username).
879
+ #
880
+ # @return [String, nil]
881
+ optional :need_review_by, String, nil?: true
882
+
871
883
  # @!attribute notification_confirmation
872
884
  # Flag indicating if notification confirmation is required or received.
873
885
  #
@@ -899,6 +911,12 @@ module Dataleon
899
911
  # @return [Time, nil]
900
912
  optional :rejected_at, Time, nil?: true
901
913
 
914
+ # @!attribute rejected_by
915
+ # Identifier of the actor who rejected (e.g., user id or username).
916
+ #
917
+ # @return [String, nil]
918
+ optional :rejected_by, String, nil?: true
919
+
902
920
  # @!attribute session_duration
903
921
  # Duration of the user session in seconds.
904
922
  #
@@ -923,7 +941,7 @@ module Dataleon
923
941
  # @return [String, nil]
924
942
  optional :transfer_mode, String
925
943
 
926
- # @!method initialize(active_aml_suspicions: nil, api_version: nil, approved_at: nil, callback_url: nil, callback_url_notification: nil, disable_notification: nil, disable_notification_date: nil, export_type: nil, filtering_score_aml_suspicions: nil, finished_at: nil, ip: nil, language: nil, location_ip: nil, need_review_at: nil, notification_confirmation: nil, portal_steps: nil, qr_code: nil, raw_data: nil, rejected_at: nil, session_duration: nil, started_at: nil, transfer_at: nil, transfer_mode: nil)
944
+ # @!method initialize(active_aml_suspicions: nil, api_version: nil, approved_at: nil, approved_by: nil, callback_url: nil, callback_url_notification: nil, disable_notification: nil, disable_notification_date: nil, export_type: nil, filtering_score_aml_suspicions: nil, finished_at: nil, ip: nil, language: nil, location_ip: nil, need_review_at: nil, need_review_by: nil, notification_confirmation: nil, portal_steps: nil, qr_code: nil, raw_data: nil, rejected_at: nil, rejected_by: nil, session_duration: nil, started_at: nil, transfer_at: nil, transfer_mode: nil)
927
945
  # Some parameter documentations has been truncated, see
928
946
  # {Dataleon::Models::CompanyRegistration::TechnicalData} for more details.
929
947
  #
@@ -936,6 +954,8 @@ module Dataleon
936
954
  #
937
955
  # @param approved_at [Time] Timestamp when the request or process was approved.
938
956
  #
957
+ # @param approved_by [String, nil] Identifier of the actor who approved (e.g., user id or username).
958
+ #
939
959
  # @param callback_url [String] URL to receive callback data from the AML system.
940
960
  #
941
961
  # @param callback_url_notification [String] URL to receive notification updates about the processing status.
@@ -958,6 +978,8 @@ module Dataleon
958
978
  #
959
979
  # @param need_review_at [Time, nil] Timestamp indicating when the request or process needs review; null if none.
960
980
  #
981
+ # @param need_review_by [String, nil] Identifier of the actor who requested review (e.g., user id or username).
982
+ #
961
983
  # @param notification_confirmation [Boolean] Flag indicating if notification confirmation is required or received.
962
984
  #
963
985
  # @param portal_steps [Array<Symbol, Dataleon::Models::CompanyRegistration::TechnicalData::PortalStep>] List of steps to include in the portal workflow.
@@ -968,6 +990,8 @@ module Dataleon
968
990
  #
969
991
  # @param rejected_at [Time, nil] Timestamp when the request or process was rejected; null if not rejected.
970
992
  #
993
+ # @param rejected_by [String, nil] Identifier of the actor who rejected (e.g., user id or username).
994
+ #
971
995
  # @param session_duration [Integer] Duration of the user session in seconds.
972
996
  #
973
997
  # @param started_at [Time] Timestamp when the process started.
@@ -660,6 +660,12 @@ module Dataleon
660
660
  # @return [Time, nil]
661
661
  optional :approved_at, Time
662
662
 
663
+ # @!attribute approved_by
664
+ # Identifier of the actor who approved (e.g., user id or username).
665
+ #
666
+ # @return [String, nil]
667
+ optional :approved_by, String, nil?: true
668
+
663
669
  # @!attribute callback_url
664
670
  # URL to receive callback data from the AML system.
665
671
  #
@@ -726,6 +732,12 @@ module Dataleon
726
732
  # @return [Time, nil]
727
733
  optional :need_review_at, Time, nil?: true
728
734
 
735
+ # @!attribute need_review_by
736
+ # Identifier of the actor who requested review (e.g., user id or username).
737
+ #
738
+ # @return [String, nil]
739
+ optional :need_review_by, String, nil?: true
740
+
729
741
  # @!attribute notification_confirmation
730
742
  # Flag indicating if notification confirmation is required or received.
731
743
  #
@@ -757,6 +769,12 @@ module Dataleon
757
769
  # @return [Time, nil]
758
770
  optional :rejected_at, Time, nil?: true
759
771
 
772
+ # @!attribute rejected_by
773
+ # Identifier of the actor who rejected (e.g., user id or username).
774
+ #
775
+ # @return [String, nil]
776
+ optional :rejected_by, String, nil?: true
777
+
760
778
  # @!attribute session_duration
761
779
  # Duration of the user session in seconds.
762
780
  #
@@ -781,7 +799,7 @@ module Dataleon
781
799
  # @return [String, nil]
782
800
  optional :transfer_mode, String
783
801
 
784
- # @!method initialize(active_aml_suspicions: nil, api_version: nil, approved_at: nil, callback_url: nil, callback_url_notification: nil, disable_notification: nil, disable_notification_date: nil, export_type: nil, filtering_score_aml_suspicions: nil, finished_at: nil, ip: nil, language: nil, location_ip: nil, need_review_at: nil, notification_confirmation: nil, portal_steps: nil, qr_code: nil, raw_data: nil, rejected_at: nil, session_duration: nil, started_at: nil, transfer_at: nil, transfer_mode: nil)
802
+ # @!method initialize(active_aml_suspicions: nil, api_version: nil, approved_at: nil, approved_by: nil, callback_url: nil, callback_url_notification: nil, disable_notification: nil, disable_notification_date: nil, export_type: nil, filtering_score_aml_suspicions: nil, finished_at: nil, ip: nil, language: nil, location_ip: nil, need_review_at: nil, need_review_by: nil, notification_confirmation: nil, portal_steps: nil, qr_code: nil, raw_data: nil, rejected_at: nil, rejected_by: nil, session_duration: nil, started_at: nil, transfer_at: nil, transfer_mode: nil)
785
803
  # Some parameter documentations has been truncated, see
786
804
  # {Dataleon::Models::Individual::TechnicalData} for more details.
787
805
  #
@@ -793,6 +811,8 @@ module Dataleon
793
811
  #
794
812
  # @param approved_at [Time] Timestamp when the request or process was approved.
795
813
  #
814
+ # @param approved_by [String, nil] Identifier of the actor who approved (e.g., user id or username).
815
+ #
796
816
  # @param callback_url [String] URL to receive callback data from the AML system.
797
817
  #
798
818
  # @param callback_url_notification [String] URL to receive notification updates about the processing status.
@@ -815,6 +835,8 @@ module Dataleon
815
835
  #
816
836
  # @param need_review_at [Time, nil] Timestamp indicating when the request or process needs review; null if none.
817
837
  #
838
+ # @param need_review_by [String, nil] Identifier of the actor who requested review (e.g., user id or username).
839
+ #
818
840
  # @param notification_confirmation [Boolean] Flag indicating if notification confirmation is required or received.
819
841
  #
820
842
  # @param portal_steps [Array<Symbol, Dataleon::Models::Individual::TechnicalData::PortalStep>] List of steps to include in the portal workflow.
@@ -825,6 +847,8 @@ module Dataleon
825
847
  #
826
848
  # @param rejected_at [Time, nil] Timestamp when the request or process was rejected; null if not rejected.
827
849
  #
850
+ # @param rejected_by [String, nil] Identifier of the actor who rejected (e.g., user id or username).
851
+ #
828
852
  # @param session_duration [Integer] Duration of the user session in seconds.
829
853
  #
830
854
  # @param started_at [Time] Timestamp when the process started.
@@ -47,6 +47,7 @@ module Dataleon
47
47
  REGISTRATION_COMPANY_CERTIFICATE = :registration_company_certificate
48
48
  KBIS = :kbis
49
49
  RIB = :rib
50
+ CHECK = :check
50
51
  LIVRET_FAMILLE = :livret_famille
51
52
  BIRTH_CERTIFICATE = :birth_certificate
52
53
  PAYSLIP = :payslip
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dataleon
4
- VERSION = "0.1.0.pre.alpha.12"
4
+ VERSION = "0.1.0.pre.alpha.14"
5
5
  end
@@ -124,6 +124,11 @@ module Dataleon
124
124
  :rib,
125
125
  Dataleon::Companies::DocumentUploadParams::DocumentType::TaggedSymbol
126
126
  )
127
+ CHECK =
128
+ T.let(
129
+ :check,
130
+ Dataleon::Companies::DocumentUploadParams::DocumentType::TaggedSymbol
131
+ )
127
132
  LIVRET_FAMILLE =
128
133
  T.let(
129
134
  :livret_famille,
@@ -1402,6 +1402,10 @@ module Dataleon
1402
1402
  sig { params(approved_at: Time).void }
1403
1403
  attr_writer :approved_at
1404
1404
 
1405
+ # Identifier of the actor who approved (e.g., user id or username).
1406
+ sig { returns(T.nilable(String)) }
1407
+ attr_accessor :approved_by
1408
+
1405
1409
  # URL to receive callback data from the AML system.
1406
1410
  sig { returns(T.nilable(String)) }
1407
1411
  attr_reader :callback_url
@@ -1473,6 +1477,10 @@ module Dataleon
1473
1477
  sig { returns(T.nilable(Time)) }
1474
1478
  attr_accessor :need_review_at
1475
1479
 
1480
+ # Identifier of the actor who requested review (e.g., user id or username).
1481
+ sig { returns(T.nilable(String)) }
1482
+ attr_accessor :need_review_by
1483
+
1476
1484
  # Flag indicating if notification confirmation is required or received.
1477
1485
  sig { returns(T.nilable(T::Boolean)) }
1478
1486
  attr_reader :notification_confirmation
@@ -1520,6 +1528,10 @@ module Dataleon
1520
1528
  sig { returns(T.nilable(Time)) }
1521
1529
  attr_accessor :rejected_at
1522
1530
 
1531
+ # Identifier of the actor who rejected (e.g., user id or username).
1532
+ sig { returns(T.nilable(String)) }
1533
+ attr_accessor :rejected_by
1534
+
1523
1535
  # Duration of the user session in seconds.
1524
1536
  sig { returns(T.nilable(Integer)) }
1525
1537
  attr_reader :session_duration
@@ -1555,6 +1567,7 @@ module Dataleon
1555
1567
  active_aml_suspicions: T::Boolean,
1556
1568
  api_version: Integer,
1557
1569
  approved_at: Time,
1570
+ approved_by: T.nilable(String),
1558
1571
  callback_url: String,
1559
1572
  callback_url_notification: String,
1560
1573
  disable_notification: T::Boolean,
@@ -1566,6 +1579,7 @@ module Dataleon
1566
1579
  language: String,
1567
1580
  location_ip: String,
1568
1581
  need_review_at: T.nilable(Time),
1582
+ need_review_by: T.nilable(String),
1569
1583
  notification_confirmation: T::Boolean,
1570
1584
  portal_steps:
1571
1585
  T::Array[
@@ -1574,6 +1588,7 @@ module Dataleon
1574
1588
  qr_code: String,
1575
1589
  raw_data: T::Boolean,
1576
1590
  rejected_at: T.nilable(Time),
1591
+ rejected_by: T.nilable(String),
1577
1592
  session_duration: Integer,
1578
1593
  started_at: Time,
1579
1594
  transfer_at: Time,
@@ -1588,6 +1603,8 @@ module Dataleon
1588
1603
  api_version: nil,
1589
1604
  # Timestamp when the request or process was approved.
1590
1605
  approved_at: nil,
1606
+ # Identifier of the actor who approved (e.g., user id or username).
1607
+ approved_by: nil,
1591
1608
  # URL to receive callback data from the AML system.
1592
1609
  callback_url: nil,
1593
1610
  # URL to receive notification updates about the processing status.
@@ -1610,6 +1627,8 @@ module Dataleon
1610
1627
  location_ip: nil,
1611
1628
  # Timestamp indicating when the request or process needs review; null if none.
1612
1629
  need_review_at: nil,
1630
+ # Identifier of the actor who requested review (e.g., user id or username).
1631
+ need_review_by: nil,
1613
1632
  # Flag indicating if notification confirmation is required or received.
1614
1633
  notification_confirmation: nil,
1615
1634
  # List of steps to include in the portal workflow.
@@ -1620,6 +1639,8 @@ module Dataleon
1620
1639
  raw_data: nil,
1621
1640
  # Timestamp when the request or process was rejected; null if not rejected.
1622
1641
  rejected_at: nil,
1642
+ # Identifier of the actor who rejected (e.g., user id or username).
1643
+ rejected_by: nil,
1623
1644
  # Duration of the user session in seconds.
1624
1645
  session_duration: nil,
1625
1646
  # Timestamp when the process started.
@@ -1637,6 +1658,7 @@ module Dataleon
1637
1658
  active_aml_suspicions: T::Boolean,
1638
1659
  api_version: Integer,
1639
1660
  approved_at: Time,
1661
+ approved_by: T.nilable(String),
1640
1662
  callback_url: String,
1641
1663
  callback_url_notification: String,
1642
1664
  disable_notification: T::Boolean,
@@ -1648,6 +1670,7 @@ module Dataleon
1648
1670
  language: String,
1649
1671
  location_ip: String,
1650
1672
  need_review_at: T.nilable(Time),
1673
+ need_review_by: T.nilable(String),
1651
1674
  notification_confirmation: T::Boolean,
1652
1675
  portal_steps:
1653
1676
  T::Array[
@@ -1656,6 +1679,7 @@ module Dataleon
1656
1679
  qr_code: String,
1657
1680
  raw_data: T::Boolean,
1658
1681
  rejected_at: T.nilable(Time),
1682
+ rejected_by: T.nilable(String),
1659
1683
  session_duration: Integer,
1660
1684
  started_at: Time,
1661
1685
  transfer_at: Time,
@@ -1078,6 +1078,10 @@ module Dataleon
1078
1078
  sig { params(approved_at: Time).void }
1079
1079
  attr_writer :approved_at
1080
1080
 
1081
+ # Identifier of the actor who approved (e.g., user id or username).
1082
+ sig { returns(T.nilable(String)) }
1083
+ attr_accessor :approved_by
1084
+
1081
1085
  # URL to receive callback data from the AML system.
1082
1086
  sig { returns(T.nilable(String)) }
1083
1087
  attr_reader :callback_url
@@ -1149,6 +1153,10 @@ module Dataleon
1149
1153
  sig { returns(T.nilable(Time)) }
1150
1154
  attr_accessor :need_review_at
1151
1155
 
1156
+ # Identifier of the actor who requested review (e.g., user id or username).
1157
+ sig { returns(T.nilable(String)) }
1158
+ attr_accessor :need_review_by
1159
+
1152
1160
  # Flag indicating if notification confirmation is required or received.
1153
1161
  sig { returns(T.nilable(T::Boolean)) }
1154
1162
  attr_reader :notification_confirmation
@@ -1196,6 +1204,10 @@ module Dataleon
1196
1204
  sig { returns(T.nilable(Time)) }
1197
1205
  attr_accessor :rejected_at
1198
1206
 
1207
+ # Identifier of the actor who rejected (e.g., user id or username).
1208
+ sig { returns(T.nilable(String)) }
1209
+ attr_accessor :rejected_by
1210
+
1199
1211
  # Duration of the user session in seconds.
1200
1212
  sig { returns(T.nilable(Integer)) }
1201
1213
  attr_reader :session_duration
@@ -1230,6 +1242,7 @@ module Dataleon
1230
1242
  active_aml_suspicions: T::Boolean,
1231
1243
  api_version: Integer,
1232
1244
  approved_at: Time,
1245
+ approved_by: T.nilable(String),
1233
1246
  callback_url: String,
1234
1247
  callback_url_notification: String,
1235
1248
  disable_notification: T::Boolean,
@@ -1241,6 +1254,7 @@ module Dataleon
1241
1254
  language: String,
1242
1255
  location_ip: String,
1243
1256
  need_review_at: T.nilable(Time),
1257
+ need_review_by: T.nilable(String),
1244
1258
  notification_confirmation: T::Boolean,
1245
1259
  portal_steps:
1246
1260
  T::Array[
@@ -1249,6 +1263,7 @@ module Dataleon
1249
1263
  qr_code: String,
1250
1264
  raw_data: T::Boolean,
1251
1265
  rejected_at: T.nilable(Time),
1266
+ rejected_by: T.nilable(String),
1252
1267
  session_duration: Integer,
1253
1268
  started_at: Time,
1254
1269
  transfer_at: Time,
@@ -1263,6 +1278,8 @@ module Dataleon
1263
1278
  api_version: nil,
1264
1279
  # Timestamp when the request or process was approved.
1265
1280
  approved_at: nil,
1281
+ # Identifier of the actor who approved (e.g., user id or username).
1282
+ approved_by: nil,
1266
1283
  # URL to receive callback data from the AML system.
1267
1284
  callback_url: nil,
1268
1285
  # URL to receive notification updates about the processing status.
@@ -1285,6 +1302,8 @@ module Dataleon
1285
1302
  location_ip: nil,
1286
1303
  # Timestamp indicating when the request or process needs review; null if none.
1287
1304
  need_review_at: nil,
1305
+ # Identifier of the actor who requested review (e.g., user id or username).
1306
+ need_review_by: nil,
1288
1307
  # Flag indicating if notification confirmation is required or received.
1289
1308
  notification_confirmation: nil,
1290
1309
  # List of steps to include in the portal workflow.
@@ -1295,6 +1314,8 @@ module Dataleon
1295
1314
  raw_data: nil,
1296
1315
  # Timestamp when the request or process was rejected; null if not rejected.
1297
1316
  rejected_at: nil,
1317
+ # Identifier of the actor who rejected (e.g., user id or username).
1318
+ rejected_by: nil,
1298
1319
  # Duration of the user session in seconds.
1299
1320
  session_duration: nil,
1300
1321
  # Timestamp when the process started.
@@ -1312,6 +1333,7 @@ module Dataleon
1312
1333
  active_aml_suspicions: T::Boolean,
1313
1334
  api_version: Integer,
1314
1335
  approved_at: Time,
1336
+ approved_by: T.nilable(String),
1315
1337
  callback_url: String,
1316
1338
  callback_url_notification: String,
1317
1339
  disable_notification: T::Boolean,
@@ -1323,6 +1345,7 @@ module Dataleon
1323
1345
  language: String,
1324
1346
  location_ip: String,
1325
1347
  need_review_at: T.nilable(Time),
1348
+ need_review_by: T.nilable(String),
1326
1349
  notification_confirmation: T::Boolean,
1327
1350
  portal_steps:
1328
1351
  T::Array[
@@ -1331,6 +1354,7 @@ module Dataleon
1331
1354
  qr_code: String,
1332
1355
  raw_data: T::Boolean,
1333
1356
  rejected_at: T.nilable(Time),
1357
+ rejected_by: T.nilable(String),
1334
1358
  session_duration: Integer,
1335
1359
  started_at: Time,
1336
1360
  transfer_at: Time,
@@ -124,6 +124,11 @@ module Dataleon
124
124
  :rib,
125
125
  Dataleon::Individuals::DocumentUploadParams::DocumentType::TaggedSymbol
126
126
  )
127
+ CHECK =
128
+ T.let(
129
+ :check,
130
+ Dataleon::Individuals::DocumentUploadParams::DocumentType::TaggedSymbol
131
+ )
127
132
  LIVRET_FAMILLE =
128
133
  T.let(
129
134
  :livret_famille,
@@ -48,6 +48,7 @@ module Dataleon
48
48
  | :registration_company_certificate
49
49
  | :kbis
50
50
  | :rib
51
+ | :check
51
52
  | :livret_famille
52
53
  | :birth_certificate
53
54
  | :payslip
@@ -85,6 +86,7 @@ module Dataleon
85
86
  REGISTRATION_COMPANY_CERTIFICATE: :registration_company_certificate
86
87
  KBIS: :kbis
87
88
  RIB: :rib
89
+ CHECK: :check
88
90
  LIVRET_FAMILLE: :livret_famille
89
91
  BIRTH_CERTIFICATE: :birth_certificate
90
92
  PAYSLIP: :payslip
@@ -695,6 +695,7 @@ module Dataleon
695
695
  active_aml_suspicions: bool,
696
696
  api_version: Integer,
697
697
  approved_at: Time,
698
+ approved_by: String?,
698
699
  callback_url: String,
699
700
  callback_url_notification: String,
700
701
  disable_notification: bool,
@@ -706,11 +707,13 @@ module Dataleon
706
707
  language: String,
707
708
  location_ip: String,
708
709
  need_review_at: Time?,
710
+ need_review_by: String?,
709
711
  notification_confirmation: bool,
710
712
  portal_steps: ::Array[Dataleon::Models::CompanyRegistration::TechnicalData::portal_step],
711
713
  qr_code: String,
712
714
  raw_data: bool,
713
715
  rejected_at: Time?,
716
+ rejected_by: String?,
714
717
  session_duration: Integer,
715
718
  started_at: Time,
716
719
  transfer_at: Time,
@@ -730,6 +733,8 @@ module Dataleon
730
733
 
731
734
  def approved_at=: (Time) -> Time
732
735
 
736
+ attr_accessor approved_by: String?
737
+
733
738
  attr_reader callback_url: String?
734
739
 
735
740
  def callback_url=: (String) -> String
@@ -770,6 +775,8 @@ module Dataleon
770
775
 
771
776
  attr_accessor need_review_at: Time?
772
777
 
778
+ attr_accessor need_review_by: String?
779
+
773
780
  attr_reader notification_confirmation: bool?
774
781
 
775
782
  def notification_confirmation=: (bool) -> bool
@@ -790,6 +797,8 @@ module Dataleon
790
797
 
791
798
  attr_accessor rejected_at: Time?
792
799
 
800
+ attr_accessor rejected_by: String?
801
+
793
802
  attr_reader session_duration: Integer?
794
803
 
795
804
  def session_duration=: (Integer) -> Integer
@@ -810,6 +819,7 @@ module Dataleon
810
819
  ?active_aml_suspicions: bool,
811
820
  ?api_version: Integer,
812
821
  ?approved_at: Time,
822
+ ?approved_by: String?,
813
823
  ?callback_url: String,
814
824
  ?callback_url_notification: String,
815
825
  ?disable_notification: bool,
@@ -821,11 +831,13 @@ module Dataleon
821
831
  ?language: String,
822
832
  ?location_ip: String,
823
833
  ?need_review_at: Time?,
834
+ ?need_review_by: String?,
824
835
  ?notification_confirmation: bool,
825
836
  ?portal_steps: ::Array[Dataleon::Models::CompanyRegistration::TechnicalData::portal_step],
826
837
  ?qr_code: String,
827
838
  ?raw_data: bool,
828
839
  ?rejected_at: Time?,
840
+ ?rejected_by: String?,
829
841
  ?session_duration: Integer,
830
842
  ?started_at: Time,
831
843
  ?transfer_at: Time,
@@ -836,6 +848,7 @@ module Dataleon
836
848
  active_aml_suspicions: bool,
837
849
  api_version: Integer,
838
850
  approved_at: Time,
851
+ approved_by: String?,
839
852
  callback_url: String,
840
853
  callback_url_notification: String,
841
854
  disable_notification: bool,
@@ -847,11 +860,13 @@ module Dataleon
847
860
  language: String,
848
861
  location_ip: String,
849
862
  need_review_at: Time?,
863
+ need_review_by: String?,
850
864
  notification_confirmation: bool,
851
865
  portal_steps: ::Array[Dataleon::Models::CompanyRegistration::TechnicalData::portal_step],
852
866
  qr_code: String,
853
867
  raw_data: bool,
854
868
  rejected_at: Time?,
869
+ rejected_by: String?,
855
870
  session_duration: Integer,
856
871
  started_at: Time,
857
872
  transfer_at: Time,
@@ -579,6 +579,7 @@ module Dataleon
579
579
  active_aml_suspicions: bool,
580
580
  api_version: Integer,
581
581
  approved_at: Time,
582
+ approved_by: String?,
582
583
  callback_url: String,
583
584
  callback_url_notification: String,
584
585
  disable_notification: bool,
@@ -590,11 +591,13 @@ module Dataleon
590
591
  language: String,
591
592
  location_ip: String,
592
593
  need_review_at: Time?,
594
+ need_review_by: String?,
593
595
  notification_confirmation: bool,
594
596
  portal_steps: ::Array[Dataleon::Models::Individual::TechnicalData::portal_step],
595
597
  qr_code: String,
596
598
  raw_data: bool,
597
599
  rejected_at: Time?,
600
+ rejected_by: String?,
598
601
  session_duration: Integer,
599
602
  started_at: Time,
600
603
  transfer_at: Time,
@@ -614,6 +617,8 @@ module Dataleon
614
617
 
615
618
  def approved_at=: (Time) -> Time
616
619
 
620
+ attr_accessor approved_by: String?
621
+
617
622
  attr_reader callback_url: String?
618
623
 
619
624
  def callback_url=: (String) -> String
@@ -654,6 +659,8 @@ module Dataleon
654
659
 
655
660
  attr_accessor need_review_at: Time?
656
661
 
662
+ attr_accessor need_review_by: String?
663
+
657
664
  attr_reader notification_confirmation: bool?
658
665
 
659
666
  def notification_confirmation=: (bool) -> bool
@@ -674,6 +681,8 @@ module Dataleon
674
681
 
675
682
  attr_accessor rejected_at: Time?
676
683
 
684
+ attr_accessor rejected_by: String?
685
+
677
686
  attr_reader session_duration: Integer?
678
687
 
679
688
  def session_duration=: (Integer) -> Integer
@@ -694,6 +703,7 @@ module Dataleon
694
703
  ?active_aml_suspicions: bool,
695
704
  ?api_version: Integer,
696
705
  ?approved_at: Time,
706
+ ?approved_by: String?,
697
707
  ?callback_url: String,
698
708
  ?callback_url_notification: String,
699
709
  ?disable_notification: bool,
@@ -705,11 +715,13 @@ module Dataleon
705
715
  ?language: String,
706
716
  ?location_ip: String,
707
717
  ?need_review_at: Time?,
718
+ ?need_review_by: String?,
708
719
  ?notification_confirmation: bool,
709
720
  ?portal_steps: ::Array[Dataleon::Models::Individual::TechnicalData::portal_step],
710
721
  ?qr_code: String,
711
722
  ?raw_data: bool,
712
723
  ?rejected_at: Time?,
724
+ ?rejected_by: String?,
713
725
  ?session_duration: Integer,
714
726
  ?started_at: Time,
715
727
  ?transfer_at: Time,
@@ -720,6 +732,7 @@ module Dataleon
720
732
  active_aml_suspicions: bool,
721
733
  api_version: Integer,
722
734
  approved_at: Time,
735
+ approved_by: String?,
723
736
  callback_url: String,
724
737
  callback_url_notification: String,
725
738
  disable_notification: bool,
@@ -731,11 +744,13 @@ module Dataleon
731
744
  language: String,
732
745
  location_ip: String,
733
746
  need_review_at: Time?,
747
+ need_review_by: String?,
734
748
  notification_confirmation: bool,
735
749
  portal_steps: ::Array[Dataleon::Models::Individual::TechnicalData::portal_step],
736
750
  qr_code: String,
737
751
  raw_data: bool,
738
752
  rejected_at: Time?,
753
+ rejected_by: String?,
739
754
  session_duration: Integer,
740
755
  started_at: Time,
741
756
  transfer_at: Time,
@@ -48,6 +48,7 @@ module Dataleon
48
48
  | :registration_company_certificate
49
49
  | :kbis
50
50
  | :rib
51
+ | :check
51
52
  | :livret_famille
52
53
  | :birth_certificate
53
54
  | :payslip
@@ -85,6 +86,7 @@ module Dataleon
85
86
  REGISTRATION_COMPANY_CERTIFICATE: :registration_company_certificate
86
87
  KBIS: :kbis
87
88
  RIB: :rib
89
+ CHECK: :check
88
90
  LIVRET_FAMILLE: :livret_famille
89
91
  BIRTH_CERTIFICATE: :birth_certificate
90
92
  PAYSLIP: :payslip
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dataleon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.alpha.12
4
+ version: 0.1.0.pre.alpha.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dataleon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-05 00:00:00.000000000 Z
11
+ date: 2026-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: cgi
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: connection_pool
15
29
  requirement: !ruby/object:Gem::Requirement