dataleon 0.1.0.pre.alpha.5 → 0.1.0.pre.alpha.6

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: de13ecbea519680c7d4d3f0fd8dc4a6e0943a065ddd949e9cdc13ff060c836bd
4
- data.tar.gz: 3dfa3e73e66e431559deed38992d55c125f8390b8b6abfbd41a5c5f035cdabcf
3
+ metadata.gz: fc36cbf3ab0f1a6a74cf1b6bb05b305b09566db8ff7df0fe6dc8bd43d7f94ae9
4
+ data.tar.gz: 5829535cfaa396949467c11357142b474c760f09b8bfad65e872e8c0c41dd138
5
5
  SHA512:
6
- metadata.gz: f154a44a5e90088a1f0eafc9effb7296b587d5919ba2ded07b50064897fc9e74ef4e3061514c13d480224335590ad1b698dded4a6e1b0c3cf6afb39def268809
7
- data.tar.gz: bc2d54b89e786c0525fbb6447f34992df71bfc5d0bd6d3ab7653f0734251a3d01c3badae87120827dda5b10a6aaf75c3fd50012a10a56651981e26a3b568519e
6
+ metadata.gz: be0f1e2413fa42dd06dbf658b1dd40cc05f17143622080a6de9db4bb87bab5febfd98f8909dcdab6ec2811e8eb4ae5032fba292a39047749255a7c36c5ec769d
7
+ data.tar.gz: 3f0536a9d610791409a46fb6b5334f8cab73e8ad8a364b967d898c9e16034aa72a3f4f3f65508d499b4da698139563de2a26ebc8dece270ad16e33f4b5e516c4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.6 (2025-10-14)
4
+
5
+ Full Changelog: [v0.1.0-alpha.5...v0.1.0-alpha.6](https://github.com/dataleonlabs/dataleon-ruby/compare/v0.1.0-alpha.5...v0.1.0-alpha.6)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([da31c93](https://github.com/dataleonlabs/dataleon-ruby/commit/da31c9384bef750d7d616374de3317612e3bc5fc))
10
+
11
+
12
+ ### Chores
13
+
14
+ * ignore linter error for tests having large collections ([a1dea27](https://github.com/dataleonlabs/dataleon-ruby/commit/a1dea27cf8d7dfa861fad0efd4b67535b9c1b361))
15
+
3
16
  ## 0.1.0-alpha.5 (2025-10-01)
4
17
 
5
18
  Full Changelog: [v0.1.0-alpha.4...v0.1.0-alpha.5](https://github.com/dataleonlabs/dataleon-ruby/compare/v0.1.0-alpha.4...v0.1.0-alpha.5)
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "dataleon", "~> 0.1.0.pre.alpha.5"
20
+ gem "dataleon", "~> 0.1.0.pre.alpha.6"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -207,13 +207,20 @@ module Dataleon
207
207
  # @return [String, nil]
208
208
  optional :language, String
209
209
 
210
+ # @!attribute portal_steps
211
+ # List of steps to include in the portal workflow.
212
+ #
213
+ # @return [Array<Symbol, Dataleon::Models::CompanyCreateParams::TechnicalData::PortalStep>, nil]
214
+ optional :portal_steps,
215
+ -> { Dataleon::Internal::Type::ArrayOf[enum: Dataleon::CompanyCreateParams::TechnicalData::PortalStep] }
216
+
210
217
  # @!attribute raw_data
211
218
  # Flag indicating whether to include raw data in the response.
212
219
  #
213
220
  # @return [Boolean, nil]
214
221
  optional :raw_data, Dataleon::Internal::Type::Boolean
215
222
 
216
- # @!method initialize(active_aml_suspicions: nil, callback_url: nil, callback_url_notification: nil, filtering_score_aml_suspicions: nil, language: nil, raw_data: nil)
223
+ # @!method initialize(active_aml_suspicions: nil, callback_url: nil, callback_url_notification: nil, filtering_score_aml_suspicions: nil, language: nil, portal_steps: nil, raw_data: nil)
217
224
  # Some parameter documentations has been truncated, see
218
225
  # {Dataleon::Models::CompanyCreateParams::TechnicalData} for more details.
219
226
  #
@@ -229,7 +236,22 @@ module Dataleon
229
236
  #
230
237
  # @param language [String] Preferred language for responses or notifications (e.g., "eng", "fra").
231
238
  #
239
+ # @param portal_steps [Array<Symbol, Dataleon::Models::CompanyCreateParams::TechnicalData::PortalStep>] List of steps to include in the portal workflow.
240
+ #
232
241
  # @param raw_data [Boolean] Flag indicating whether to include raw data in the response.
242
+
243
+ module PortalStep
244
+ extend Dataleon::Internal::Type::Enum
245
+
246
+ IDENTITY_VERIFICATION = :identity_verification
247
+ DOCUMENT_SIGNING = :document_signing
248
+ PROOF_OF_ADDRESS = :proof_of_address
249
+ SELFIE = :selfie
250
+ FACE_MATCH = :face_match
251
+
252
+ # @!method self.values
253
+ # @return [Array<Symbol>]
254
+ end
233
255
  end
234
256
  end
235
257
  end
@@ -874,6 +874,13 @@ module Dataleon
874
874
  # @return [Boolean, nil]
875
875
  optional :notification_confirmation, Dataleon::Internal::Type::Boolean
876
876
 
877
+ # @!attribute portal_steps
878
+ # List of steps to include in the portal workflow.
879
+ #
880
+ # @return [Array<Symbol, Dataleon::Models::CompanyRegistration::TechnicalData::PortalStep>, nil]
881
+ optional :portal_steps,
882
+ -> { Dataleon::Internal::Type::ArrayOf[enum: Dataleon::CompanyRegistration::TechnicalData::PortalStep] }
883
+
877
884
  # @!attribute qr_code
878
885
  # Indicates whether QR code is enabled ("true" or "false").
879
886
  #
@@ -916,7 +923,7 @@ module Dataleon
916
923
  # @return [String, nil]
917
924
  optional :transfer_mode, String
918
925
 
919
- # @!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, qr_code: nil, raw_data: nil, rejected_at: nil, session_duration: nil, started_at: nil, transfer_at: nil, transfer_mode: nil)
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)
920
927
  # Some parameter documentations has been truncated, see
921
928
  # {Dataleon::Models::CompanyRegistration::TechnicalData} for more details.
922
929
  #
@@ -953,6 +960,8 @@ module Dataleon
953
960
  #
954
961
  # @param notification_confirmation [Boolean] Flag indicating if notification confirmation is required or received.
955
962
  #
963
+ # @param portal_steps [Array<Symbol, Dataleon::Models::CompanyRegistration::TechnicalData::PortalStep>] List of steps to include in the portal workflow.
964
+ #
956
965
  # @param qr_code [String] Indicates whether QR code is enabled ("true" or "false").
957
966
  #
958
967
  # @param raw_data [Boolean] Flag indicating whether to include raw data in the response.
@@ -966,6 +975,19 @@ module Dataleon
966
975
  # @param transfer_at [Time] Date/time of data transfer.
967
976
  #
968
977
  # @param transfer_mode [String] Mode of data transfer.
978
+
979
+ module PortalStep
980
+ extend Dataleon::Internal::Type::Enum
981
+
982
+ IDENTITY_VERIFICATION = :identity_verification
983
+ DOCUMENT_SIGNING = :document_signing
984
+ PROOF_OF_ADDRESS = :proof_of_address
985
+ SELFIE = :selfie
986
+ FACE_MATCH = :face_match
987
+
988
+ # @!method self.values
989
+ # @return [Array<Symbol>]
990
+ end
969
991
  end
970
992
  end
971
993
  end
@@ -207,13 +207,20 @@ module Dataleon
207
207
  # @return [String, nil]
208
208
  optional :language, String
209
209
 
210
+ # @!attribute portal_steps
211
+ # List of steps to include in the portal workflow.
212
+ #
213
+ # @return [Array<Symbol, Dataleon::Models::CompanyUpdateParams::TechnicalData::PortalStep>, nil]
214
+ optional :portal_steps,
215
+ -> { Dataleon::Internal::Type::ArrayOf[enum: Dataleon::CompanyUpdateParams::TechnicalData::PortalStep] }
216
+
210
217
  # @!attribute raw_data
211
218
  # Flag indicating whether to include raw data in the response.
212
219
  #
213
220
  # @return [Boolean, nil]
214
221
  optional :raw_data, Dataleon::Internal::Type::Boolean
215
222
 
216
- # @!method initialize(active_aml_suspicions: nil, callback_url: nil, callback_url_notification: nil, filtering_score_aml_suspicions: nil, language: nil, raw_data: nil)
223
+ # @!method initialize(active_aml_suspicions: nil, callback_url: nil, callback_url_notification: nil, filtering_score_aml_suspicions: nil, language: nil, portal_steps: nil, raw_data: nil)
217
224
  # Some parameter documentations has been truncated, see
218
225
  # {Dataleon::Models::CompanyUpdateParams::TechnicalData} for more details.
219
226
  #
@@ -229,7 +236,22 @@ module Dataleon
229
236
  #
230
237
  # @param language [String] Preferred language for responses or notifications (e.g., "eng", "fra").
231
238
  #
239
+ # @param portal_steps [Array<Symbol, Dataleon::Models::CompanyUpdateParams::TechnicalData::PortalStep>] List of steps to include in the portal workflow.
240
+ #
232
241
  # @param raw_data [Boolean] Flag indicating whether to include raw data in the response.
242
+
243
+ module PortalStep
244
+ extend Dataleon::Internal::Type::Enum
245
+
246
+ IDENTITY_VERIFICATION = :identity_verification
247
+ DOCUMENT_SIGNING = :document_signing
248
+ PROOF_OF_ADDRESS = :proof_of_address
249
+ SELFIE = :selfie
250
+ FACE_MATCH = :face_match
251
+
252
+ # @!method self.values
253
+ # @return [Array<Symbol>]
254
+ end
233
255
  end
234
256
  end
235
257
  end
@@ -724,6 +724,13 @@ module Dataleon
724
724
  # @return [Boolean, nil]
725
725
  optional :notification_confirmation, Dataleon::Internal::Type::Boolean
726
726
 
727
+ # @!attribute portal_steps
728
+ # List of steps to include in the portal workflow.
729
+ #
730
+ # @return [Array<Symbol, Dataleon::Models::Individual::TechnicalData::PortalStep>, nil]
731
+ optional :portal_steps,
732
+ -> { Dataleon::Internal::Type::ArrayOf[enum: Dataleon::Individual::TechnicalData::PortalStep] }
733
+
727
734
  # @!attribute qr_code
728
735
  # Indicates whether QR code is enabled ("true" or "false").
729
736
  #
@@ -766,7 +773,7 @@ module Dataleon
766
773
  # @return [String, nil]
767
774
  optional :transfer_mode, String
768
775
 
769
- # @!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, qr_code: nil, raw_data: nil, rejected_at: nil, session_duration: nil, started_at: nil, transfer_at: nil, transfer_mode: nil)
776
+ # @!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)
770
777
  # Some parameter documentations has been truncated, see
771
778
  # {Dataleon::Models::Individual::TechnicalData} for more details.
772
779
  #
@@ -802,6 +809,8 @@ module Dataleon
802
809
  #
803
810
  # @param notification_confirmation [Boolean] Flag indicating if notification confirmation is required or received.
804
811
  #
812
+ # @param portal_steps [Array<Symbol, Dataleon::Models::Individual::TechnicalData::PortalStep>] List of steps to include in the portal workflow.
813
+ #
805
814
  # @param qr_code [String] Indicates whether QR code is enabled ("true" or "false").
806
815
  #
807
816
  # @param raw_data [Boolean] Flag indicating whether to include raw data in the response.
@@ -815,6 +824,19 @@ module Dataleon
815
824
  # @param transfer_at [Time] Date/time of data transfer.
816
825
  #
817
826
  # @param transfer_mode [String] Mode of data transfer.
827
+
828
+ module PortalStep
829
+ extend Dataleon::Internal::Type::Enum
830
+
831
+ IDENTITY_VERIFICATION = :identity_verification
832
+ DOCUMENT_SIGNING = :document_signing
833
+ PROOF_OF_ADDRESS = :proof_of_address
834
+ SELFIE = :selfie
835
+ FACE_MATCH = :face_match
836
+
837
+ # @!method self.values
838
+ # @return [Array<Symbol>]
839
+ end
818
840
  end
819
841
  end
820
842
  end
@@ -161,13 +161,20 @@ module Dataleon
161
161
  # @return [String, nil]
162
162
  optional :language, String
163
163
 
164
+ # @!attribute portal_steps
165
+ # List of steps to include in the portal workflow.
166
+ #
167
+ # @return [Array<Symbol, Dataleon::Models::IndividualCreateParams::TechnicalData::PortalStep>, nil]
168
+ optional :portal_steps,
169
+ -> { Dataleon::Internal::Type::ArrayOf[enum: Dataleon::IndividualCreateParams::TechnicalData::PortalStep] }
170
+
164
171
  # @!attribute raw_data
165
172
  # Flag indicating whether to include raw data in the response.
166
173
  #
167
174
  # @return [Boolean, nil]
168
175
  optional :raw_data, Dataleon::Internal::Type::Boolean
169
176
 
170
- # @!method initialize(active_aml_suspicions: nil, callback_url: nil, callback_url_notification: nil, filtering_score_aml_suspicions: nil, language: nil, raw_data: nil)
177
+ # @!method initialize(active_aml_suspicions: nil, callback_url: nil, callback_url_notification: nil, filtering_score_aml_suspicions: nil, language: nil, portal_steps: nil, raw_data: nil)
171
178
  # Some parameter documentations has been truncated, see
172
179
  # {Dataleon::Models::IndividualCreateParams::TechnicalData} for more details.
173
180
  #
@@ -183,7 +190,22 @@ module Dataleon
183
190
  #
184
191
  # @param language [String] Preferred language for communication (e.g., "eng", "fra").
185
192
  #
193
+ # @param portal_steps [Array<Symbol, Dataleon::Models::IndividualCreateParams::TechnicalData::PortalStep>] List of steps to include in the portal workflow.
194
+ #
186
195
  # @param raw_data [Boolean] Flag indicating whether to include raw data in the response.
196
+
197
+ module PortalStep
198
+ extend Dataleon::Internal::Type::Enum
199
+
200
+ IDENTITY_VERIFICATION = :identity_verification
201
+ DOCUMENT_SIGNING = :document_signing
202
+ PROOF_OF_ADDRESS = :proof_of_address
203
+ SELFIE = :selfie
204
+ FACE_MATCH = :face_match
205
+
206
+ # @!method self.values
207
+ # @return [Array<Symbol>]
208
+ end
187
209
  end
188
210
  end
189
211
  end
@@ -161,13 +161,20 @@ module Dataleon
161
161
  # @return [String, nil]
162
162
  optional :language, String
163
163
 
164
+ # @!attribute portal_steps
165
+ # List of steps to include in the portal workflow.
166
+ #
167
+ # @return [Array<Symbol, Dataleon::Models::IndividualUpdateParams::TechnicalData::PortalStep>, nil]
168
+ optional :portal_steps,
169
+ -> { Dataleon::Internal::Type::ArrayOf[enum: Dataleon::IndividualUpdateParams::TechnicalData::PortalStep] }
170
+
164
171
  # @!attribute raw_data
165
172
  # Flag indicating whether to include raw data in the response.
166
173
  #
167
174
  # @return [Boolean, nil]
168
175
  optional :raw_data, Dataleon::Internal::Type::Boolean
169
176
 
170
- # @!method initialize(active_aml_suspicions: nil, callback_url: nil, callback_url_notification: nil, filtering_score_aml_suspicions: nil, language: nil, raw_data: nil)
177
+ # @!method initialize(active_aml_suspicions: nil, callback_url: nil, callback_url_notification: nil, filtering_score_aml_suspicions: nil, language: nil, portal_steps: nil, raw_data: nil)
171
178
  # Some parameter documentations has been truncated, see
172
179
  # {Dataleon::Models::IndividualUpdateParams::TechnicalData} for more details.
173
180
  #
@@ -183,7 +190,22 @@ module Dataleon
183
190
  #
184
191
  # @param language [String] Preferred language for communication (e.g., "eng", "fra").
185
192
  #
193
+ # @param portal_steps [Array<Symbol, Dataleon::Models::IndividualUpdateParams::TechnicalData::PortalStep>] List of steps to include in the portal workflow.
194
+ #
186
195
  # @param raw_data [Boolean] Flag indicating whether to include raw data in the response.
196
+
197
+ module PortalStep
198
+ extend Dataleon::Internal::Type::Enum
199
+
200
+ IDENTITY_VERIFICATION = :identity_verification
201
+ DOCUMENT_SIGNING = :document_signing
202
+ PROOF_OF_ADDRESS = :proof_of_address
203
+ SELFIE = :selfie
204
+ FACE_MATCH = :face_match
205
+
206
+ # @!method self.values
207
+ # @return [Array<Symbol>]
208
+ end
187
209
  end
188
210
  end
189
211
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dataleon
4
- VERSION = "0.1.0.pre.alpha.5"
4
+ VERSION = "0.1.0.pre.alpha.6"
5
5
  end
@@ -316,6 +316,28 @@ module Dataleon
316
316
  sig { params(language: String).void }
317
317
  attr_writer :language
318
318
 
319
+ # List of steps to include in the portal workflow.
320
+ sig do
321
+ returns(
322
+ T.nilable(
323
+ T::Array[
324
+ Dataleon::CompanyCreateParams::TechnicalData::PortalStep::OrSymbol
325
+ ]
326
+ )
327
+ )
328
+ end
329
+ attr_reader :portal_steps
330
+
331
+ sig do
332
+ params(
333
+ portal_steps:
334
+ T::Array[
335
+ Dataleon::CompanyCreateParams::TechnicalData::PortalStep::OrSymbol
336
+ ]
337
+ ).void
338
+ end
339
+ attr_writer :portal_steps
340
+
319
341
  # Flag indicating whether to include raw data in the response.
320
342
  sig { returns(T.nilable(T::Boolean)) }
321
343
  attr_reader :raw_data
@@ -331,6 +353,10 @@ module Dataleon
331
353
  callback_url_notification: String,
332
354
  filtering_score_aml_suspicions: Float,
333
355
  language: String,
356
+ portal_steps:
357
+ T::Array[
358
+ Dataleon::CompanyCreateParams::TechnicalData::PortalStep::OrSymbol
359
+ ],
334
360
  raw_data: T::Boolean
335
361
  ).returns(T.attached_class)
336
362
  end
@@ -347,6 +373,8 @@ module Dataleon
347
373
  filtering_score_aml_suspicions: nil,
348
374
  # Preferred language for responses or notifications (e.g., "eng", "fra").
349
375
  language: nil,
376
+ # List of steps to include in the portal workflow.
377
+ portal_steps: nil,
350
378
  # Flag indicating whether to include raw data in the response.
351
379
  raw_data: nil
352
380
  )
@@ -360,12 +388,65 @@ module Dataleon
360
388
  callback_url_notification: String,
361
389
  filtering_score_aml_suspicions: Float,
362
390
  language: String,
391
+ portal_steps:
392
+ T::Array[
393
+ Dataleon::CompanyCreateParams::TechnicalData::PortalStep::OrSymbol
394
+ ],
363
395
  raw_data: T::Boolean
364
396
  }
365
397
  )
366
398
  end
367
399
  def to_hash
368
400
  end
401
+
402
+ module PortalStep
403
+ extend Dataleon::Internal::Type::Enum
404
+
405
+ TaggedSymbol =
406
+ T.type_alias do
407
+ T.all(
408
+ Symbol,
409
+ Dataleon::CompanyCreateParams::TechnicalData::PortalStep
410
+ )
411
+ end
412
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
413
+
414
+ IDENTITY_VERIFICATION =
415
+ T.let(
416
+ :identity_verification,
417
+ Dataleon::CompanyCreateParams::TechnicalData::PortalStep::TaggedSymbol
418
+ )
419
+ DOCUMENT_SIGNING =
420
+ T.let(
421
+ :document_signing,
422
+ Dataleon::CompanyCreateParams::TechnicalData::PortalStep::TaggedSymbol
423
+ )
424
+ PROOF_OF_ADDRESS =
425
+ T.let(
426
+ :proof_of_address,
427
+ Dataleon::CompanyCreateParams::TechnicalData::PortalStep::TaggedSymbol
428
+ )
429
+ SELFIE =
430
+ T.let(
431
+ :selfie,
432
+ Dataleon::CompanyCreateParams::TechnicalData::PortalStep::TaggedSymbol
433
+ )
434
+ FACE_MATCH =
435
+ T.let(
436
+ :face_match,
437
+ Dataleon::CompanyCreateParams::TechnicalData::PortalStep::TaggedSymbol
438
+ )
439
+
440
+ sig do
441
+ override.returns(
442
+ T::Array[
443
+ Dataleon::CompanyCreateParams::TechnicalData::PortalStep::TaggedSymbol
444
+ ]
445
+ )
446
+ end
447
+ def self.values
448
+ end
449
+ end
369
450
  end
370
451
  end
371
452
  end
@@ -1480,6 +1480,28 @@ module Dataleon
1480
1480
  sig { params(notification_confirmation: T::Boolean).void }
1481
1481
  attr_writer :notification_confirmation
1482
1482
 
1483
+ # List of steps to include in the portal workflow.
1484
+ sig do
1485
+ returns(
1486
+ T.nilable(
1487
+ T::Array[
1488
+ Dataleon::CompanyRegistration::TechnicalData::PortalStep::TaggedSymbol
1489
+ ]
1490
+ )
1491
+ )
1492
+ end
1493
+ attr_reader :portal_steps
1494
+
1495
+ sig do
1496
+ params(
1497
+ portal_steps:
1498
+ T::Array[
1499
+ Dataleon::CompanyRegistration::TechnicalData::PortalStep::OrSymbol
1500
+ ]
1501
+ ).void
1502
+ end
1503
+ attr_writer :portal_steps
1504
+
1483
1505
  # Indicates whether QR code is enabled ("true" or "false").
1484
1506
  sig { returns(T.nilable(String)) }
1485
1507
  attr_reader :qr_code
@@ -1545,6 +1567,10 @@ module Dataleon
1545
1567
  location_ip: String,
1546
1568
  need_review_at: T.nilable(Time),
1547
1569
  notification_confirmation: T::Boolean,
1570
+ portal_steps:
1571
+ T::Array[
1572
+ Dataleon::CompanyRegistration::TechnicalData::PortalStep::OrSymbol
1573
+ ],
1548
1574
  qr_code: String,
1549
1575
  raw_data: T::Boolean,
1550
1576
  rejected_at: T.nilable(Time),
@@ -1586,6 +1612,8 @@ module Dataleon
1586
1612
  need_review_at: nil,
1587
1613
  # Flag indicating if notification confirmation is required or received.
1588
1614
  notification_confirmation: nil,
1615
+ # List of steps to include in the portal workflow.
1616
+ portal_steps: nil,
1589
1617
  # Indicates whether QR code is enabled ("true" or "false").
1590
1618
  qr_code: nil,
1591
1619
  # Flag indicating whether to include raw data in the response.
@@ -1621,6 +1649,10 @@ module Dataleon
1621
1649
  location_ip: String,
1622
1650
  need_review_at: T.nilable(Time),
1623
1651
  notification_confirmation: T::Boolean,
1652
+ portal_steps:
1653
+ T::Array[
1654
+ Dataleon::CompanyRegistration::TechnicalData::PortalStep::TaggedSymbol
1655
+ ],
1624
1656
  qr_code: String,
1625
1657
  raw_data: T::Boolean,
1626
1658
  rejected_at: T.nilable(Time),
@@ -1633,6 +1665,55 @@ module Dataleon
1633
1665
  end
1634
1666
  def to_hash
1635
1667
  end
1668
+
1669
+ module PortalStep
1670
+ extend Dataleon::Internal::Type::Enum
1671
+
1672
+ TaggedSymbol =
1673
+ T.type_alias do
1674
+ T.all(
1675
+ Symbol,
1676
+ Dataleon::CompanyRegistration::TechnicalData::PortalStep
1677
+ )
1678
+ end
1679
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1680
+
1681
+ IDENTITY_VERIFICATION =
1682
+ T.let(
1683
+ :identity_verification,
1684
+ Dataleon::CompanyRegistration::TechnicalData::PortalStep::TaggedSymbol
1685
+ )
1686
+ DOCUMENT_SIGNING =
1687
+ T.let(
1688
+ :document_signing,
1689
+ Dataleon::CompanyRegistration::TechnicalData::PortalStep::TaggedSymbol
1690
+ )
1691
+ PROOF_OF_ADDRESS =
1692
+ T.let(
1693
+ :proof_of_address,
1694
+ Dataleon::CompanyRegistration::TechnicalData::PortalStep::TaggedSymbol
1695
+ )
1696
+ SELFIE =
1697
+ T.let(
1698
+ :selfie,
1699
+ Dataleon::CompanyRegistration::TechnicalData::PortalStep::TaggedSymbol
1700
+ )
1701
+ FACE_MATCH =
1702
+ T.let(
1703
+ :face_match,
1704
+ Dataleon::CompanyRegistration::TechnicalData::PortalStep::TaggedSymbol
1705
+ )
1706
+
1707
+ sig do
1708
+ override.returns(
1709
+ T::Array[
1710
+ Dataleon::CompanyRegistration::TechnicalData::PortalStep::TaggedSymbol
1711
+ ]
1712
+ )
1713
+ end
1714
+ def self.values
1715
+ end
1716
+ end
1636
1717
  end
1637
1718
  end
1638
1719
  end
@@ -316,6 +316,28 @@ module Dataleon
316
316
  sig { params(language: String).void }
317
317
  attr_writer :language
318
318
 
319
+ # List of steps to include in the portal workflow.
320
+ sig do
321
+ returns(
322
+ T.nilable(
323
+ T::Array[
324
+ Dataleon::CompanyUpdateParams::TechnicalData::PortalStep::OrSymbol
325
+ ]
326
+ )
327
+ )
328
+ end
329
+ attr_reader :portal_steps
330
+
331
+ sig do
332
+ params(
333
+ portal_steps:
334
+ T::Array[
335
+ Dataleon::CompanyUpdateParams::TechnicalData::PortalStep::OrSymbol
336
+ ]
337
+ ).void
338
+ end
339
+ attr_writer :portal_steps
340
+
319
341
  # Flag indicating whether to include raw data in the response.
320
342
  sig { returns(T.nilable(T::Boolean)) }
321
343
  attr_reader :raw_data
@@ -331,6 +353,10 @@ module Dataleon
331
353
  callback_url_notification: String,
332
354
  filtering_score_aml_suspicions: Float,
333
355
  language: String,
356
+ portal_steps:
357
+ T::Array[
358
+ Dataleon::CompanyUpdateParams::TechnicalData::PortalStep::OrSymbol
359
+ ],
334
360
  raw_data: T::Boolean
335
361
  ).returns(T.attached_class)
336
362
  end
@@ -347,6 +373,8 @@ module Dataleon
347
373
  filtering_score_aml_suspicions: nil,
348
374
  # Preferred language for responses or notifications (e.g., "eng", "fra").
349
375
  language: nil,
376
+ # List of steps to include in the portal workflow.
377
+ portal_steps: nil,
350
378
  # Flag indicating whether to include raw data in the response.
351
379
  raw_data: nil
352
380
  )
@@ -360,12 +388,65 @@ module Dataleon
360
388
  callback_url_notification: String,
361
389
  filtering_score_aml_suspicions: Float,
362
390
  language: String,
391
+ portal_steps:
392
+ T::Array[
393
+ Dataleon::CompanyUpdateParams::TechnicalData::PortalStep::OrSymbol
394
+ ],
363
395
  raw_data: T::Boolean
364
396
  }
365
397
  )
366
398
  end
367
399
  def to_hash
368
400
  end
401
+
402
+ module PortalStep
403
+ extend Dataleon::Internal::Type::Enum
404
+
405
+ TaggedSymbol =
406
+ T.type_alias do
407
+ T.all(
408
+ Symbol,
409
+ Dataleon::CompanyUpdateParams::TechnicalData::PortalStep
410
+ )
411
+ end
412
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
413
+
414
+ IDENTITY_VERIFICATION =
415
+ T.let(
416
+ :identity_verification,
417
+ Dataleon::CompanyUpdateParams::TechnicalData::PortalStep::TaggedSymbol
418
+ )
419
+ DOCUMENT_SIGNING =
420
+ T.let(
421
+ :document_signing,
422
+ Dataleon::CompanyUpdateParams::TechnicalData::PortalStep::TaggedSymbol
423
+ )
424
+ PROOF_OF_ADDRESS =
425
+ T.let(
426
+ :proof_of_address,
427
+ Dataleon::CompanyUpdateParams::TechnicalData::PortalStep::TaggedSymbol
428
+ )
429
+ SELFIE =
430
+ T.let(
431
+ :selfie,
432
+ Dataleon::CompanyUpdateParams::TechnicalData::PortalStep::TaggedSymbol
433
+ )
434
+ FACE_MATCH =
435
+ T.let(
436
+ :face_match,
437
+ Dataleon::CompanyUpdateParams::TechnicalData::PortalStep::TaggedSymbol
438
+ )
439
+
440
+ sig do
441
+ override.returns(
442
+ T::Array[
443
+ Dataleon::CompanyUpdateParams::TechnicalData::PortalStep::TaggedSymbol
444
+ ]
445
+ )
446
+ end
447
+ def self.values
448
+ end
449
+ end
369
450
  end
370
451
  end
371
452
  end