dataleon 0.1.0.pre.alpha.11 → 0.1.0.pre.alpha.13

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: 284a9ff93cf36f6a31a1358e9409a2217b5914d87139abc4334f4ce4acac07b3
4
- data.tar.gz: 960e27dd8b781129c7ebdce503af285dac4245faf44f7b10c6d86f107d57d560
3
+ metadata.gz: 4692316b7138f1d3f1b5f9d9d0f5e094f430d3dd78a5ded913ae43457e0f4607
4
+ data.tar.gz: 8135e48022df9945915d621d9c5d68c951239226e3254639bc7d7c256c83af93
5
5
  SHA512:
6
- metadata.gz: b52acf35b619c8e0928f84ac2c87f810906e59fd337c5a84c93099f580ca819c4514912dd248ad4a0c341faeb12a3ea3b795842c8a0d9b777aeec3074f7a00e2
7
- data.tar.gz: 195ee1226d321009647085d6ed72d03c6682009086fed922a6474cb809d1b1c46e1d80c14b3f306b651e3c8b30b3782ca6b0071a742b4054444f049f11bc6e26
6
+ metadata.gz: 1ff741fd67f0bbc9831662f6049b44e076b5a8b4f82100c965cb2c802a33ead107c4ebe8ffb850a6cb4bd23943271dd06a9d04ecc282a7c44fb0b668c6d11e10
7
+ data.tar.gz: e3ec3632776f07582b5f4c460b9170adaca8c900219f405816e09a2152f540c815d8ad4ad412c409efecb984637d4128577201e76d343ad87d2403157417d95d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.13 (2026-01-15)
4
+
5
+ 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)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([54a4762](https://github.com/dataleonlabs/dataleon-ruby/commit/54a4762a2b250c8153ce0bbb1960a092a81bd841))
10
+
11
+
12
+ ### Chores
13
+
14
+ * move `cgi` into dependencies for ruby 4 ([8a66179](https://github.com/dataleonlabs/dataleon-ruby/commit/8a6617943bc96abfd9726b7f031ba5d007e1459f))
15
+
16
+
17
+ ### Documentation
18
+
19
+ * prominently feature MCP server setup in root SDK readmes ([876b9fd](https://github.com/dataleonlabs/dataleon-ruby/commit/876b9fd30758a8d9eff2b60610bd90da787e3ac3))
20
+
21
+ ## 0.1.0-alpha.12 (2026-01-05)
22
+
23
+ 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)
24
+
25
+ ### Features
26
+
27
+ * **api:** api update ([b65ff9a](https://github.com/dataleonlabs/dataleon-ruby/commit/b65ff9aa826ee0ecf791c317c9db158b50ad6c4d))
28
+
3
29
  ## 0.1.0-alpha.11 (2025-12-19)
4
30
 
5
31
  Full Changelog: [v0.1.0-alpha.10...v0.1.0-alpha.11](https://github.com/dataleonlabs/dataleon-ruby/compare/v0.1.0-alpha.10...v0.1.0-alpha.11)
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=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBkYXRhbGVvbi9kYXRhbGVvbi1tY3AiXX0)
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%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.11"
29
+ gem "dataleon", "~> 0.1.0.pre.alpha.13"
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
@@ -353,6 +353,12 @@ module Dataleon
353
353
  # @return [String, nil]
354
354
  optional :country, String
355
355
 
356
+ # @!attribute entitlement_date
357
+ # Date of entitlement or validity start date, in YYYY-MM-DD format.
358
+ #
359
+ # @return [String, nil]
360
+ optional :entitlement_date, String
361
+
356
362
  # @!attribute expiration_date
357
363
  # Expiration date of the document, in YYYY-MM-DD format.
358
364
  #
@@ -413,7 +419,7 @@ module Dataleon
413
419
  # @return [String, nil]
414
420
  optional :type, String
415
421
 
416
- # @!method initialize(id: nil, back_document_signed_url: nil, birth_place: nil, birthday: nil, country: nil, expiration_date: nil, first_name: nil, front_document_signed_url: nil, gender: nil, issue_date: nil, last_name: nil, mrz_line_1: nil, mrz_line_2: nil, mrz_line_3: nil, type: nil)
422
+ # @!method initialize(id: nil, back_document_signed_url: nil, birth_place: nil, birthday: nil, country: nil, entitlement_date: nil, expiration_date: nil, first_name: nil, front_document_signed_url: nil, gender: nil, issue_date: nil, last_name: nil, mrz_line_1: nil, mrz_line_2: nil, mrz_line_3: nil, type: nil)
417
423
  # Reference to the individual's identity document.
418
424
  #
419
425
  # @param id [String] Unique identifier for the document.
@@ -426,6 +432,8 @@ module Dataleon
426
432
  #
427
433
  # @param country [String] Country code issuing the document (ISO 3166-1 alpha-2).
428
434
  #
435
+ # @param entitlement_date [String] Date of entitlement or validity start date, in YYYY-MM-DD format.
436
+ #
429
437
  # @param expiration_date [String] Expiration date of the document, in YYYY-MM-DD format.
430
438
  #
431
439
  # @param first_name [String] First name as shown on the document.
@@ -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.11"
4
+ VERSION = "0.1.0.pre.alpha.13"
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,
@@ -593,6 +593,13 @@ module Dataleon
593
593
  sig { params(country: String).void }
594
594
  attr_writer :country
595
595
 
596
+ # Date of entitlement or validity start date, in YYYY-MM-DD format.
597
+ sig { returns(T.nilable(String)) }
598
+ attr_reader :entitlement_date
599
+
600
+ sig { params(entitlement_date: String).void }
601
+ attr_writer :entitlement_date
602
+
596
603
  # Expiration date of the document, in YYYY-MM-DD format.
597
604
  sig { returns(T.nilable(String)) }
598
605
  attr_reader :expiration_date
@@ -668,6 +675,7 @@ module Dataleon
668
675
  birth_place: String,
669
676
  birthday: String,
670
677
  country: String,
678
+ entitlement_date: String,
671
679
  expiration_date: String,
672
680
  first_name: String,
673
681
  front_document_signed_url: String,
@@ -691,6 +699,8 @@ module Dataleon
691
699
  birthday: nil,
692
700
  # Country code issuing the document (ISO 3166-1 alpha-2).
693
701
  country: nil,
702
+ # Date of entitlement or validity start date, in YYYY-MM-DD format.
703
+ entitlement_date: nil,
694
704
  # Expiration date of the document, in YYYY-MM-DD format.
695
705
  expiration_date: nil,
696
706
  # First name as shown on the document.
@@ -722,6 +732,7 @@ module Dataleon
722
732
  birth_place: String,
723
733
  birthday: String,
724
734
  country: String,
735
+ entitlement_date: String,
725
736
  expiration_date: String,
726
737
  first_name: String,
727
738
  front_document_signed_url: String,
@@ -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
@@ -303,6 +303,7 @@ module Dataleon
303
303
  birth_place: String,
304
304
  birthday: String,
305
305
  country: String,
306
+ entitlement_date: String,
306
307
  expiration_date: String,
307
308
  first_name: String,
308
309
  front_document_signed_url: String,
@@ -336,6 +337,10 @@ module Dataleon
336
337
 
337
338
  def country=: (String) -> String
338
339
 
340
+ attr_reader entitlement_date: String?
341
+
342
+ def entitlement_date=: (String) -> String
343
+
339
344
  attr_reader expiration_date: String?
340
345
 
341
346
  def expiration_date=: (String) -> String
@@ -380,6 +385,7 @@ module Dataleon
380
385
  ?birth_place: String,
381
386
  ?birthday: String,
382
387
  ?country: String,
388
+ ?entitlement_date: String,
383
389
  ?expiration_date: String,
384
390
  ?first_name: String,
385
391
  ?front_document_signed_url: String,
@@ -398,6 +404,7 @@ module Dataleon
398
404
  birth_place: String,
399
405
  birthday: String,
400
406
  country: String,
407
+ entitlement_date: String,
401
408
  expiration_date: String,
402
409
  first_name: String,
403
410
  front_document_signed_url: String,
@@ -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.11
4
+ version: 0.1.0.pre.alpha.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dataleon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-19 00:00:00.000000000 Z
11
+ date: 2026-01-15 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