dataleon 0.1.0a8__py3-none-any.whl

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.

Potentially problematic release.


This version of dataleon might be problematic. Click here for more details.

Files changed (60) hide show
  1. dataleon/__init__.py +102 -0
  2. dataleon/_base_client.py +1995 -0
  3. dataleon/_client.py +412 -0
  4. dataleon/_compat.py +219 -0
  5. dataleon/_constants.py +14 -0
  6. dataleon/_exceptions.py +108 -0
  7. dataleon/_files.py +123 -0
  8. dataleon/_models.py +840 -0
  9. dataleon/_qs.py +150 -0
  10. dataleon/_resource.py +43 -0
  11. dataleon/_response.py +830 -0
  12. dataleon/_streaming.py +331 -0
  13. dataleon/_types.py +260 -0
  14. dataleon/_utils/__init__.py +64 -0
  15. dataleon/_utils/_compat.py +45 -0
  16. dataleon/_utils/_datetime_parse.py +136 -0
  17. dataleon/_utils/_logs.py +25 -0
  18. dataleon/_utils/_proxy.py +65 -0
  19. dataleon/_utils/_reflection.py +42 -0
  20. dataleon/_utils/_resources_proxy.py +24 -0
  21. dataleon/_utils/_streams.py +12 -0
  22. dataleon/_utils/_sync.py +58 -0
  23. dataleon/_utils/_transform.py +457 -0
  24. dataleon/_utils/_typing.py +156 -0
  25. dataleon/_utils/_utils.py +421 -0
  26. dataleon/_version.py +4 -0
  27. dataleon/lib/.keep +4 -0
  28. dataleon/py.typed +0 -0
  29. dataleon/resources/__init__.py +33 -0
  30. dataleon/resources/companies/__init__.py +33 -0
  31. dataleon/resources/companies/companies.py +706 -0
  32. dataleon/resources/companies/documents.py +361 -0
  33. dataleon/resources/individuals/__init__.py +33 -0
  34. dataleon/resources/individuals/documents.py +361 -0
  35. dataleon/resources/individuals/individuals.py +711 -0
  36. dataleon/types/__init__.py +17 -0
  37. dataleon/types/companies/__init__.py +5 -0
  38. dataleon/types/companies/document_upload_params.py +56 -0
  39. dataleon/types/company_create_params.py +101 -0
  40. dataleon/types/company_list_params.py +37 -0
  41. dataleon/types/company_list_response.py +10 -0
  42. dataleon/types/company_registration.py +439 -0
  43. dataleon/types/company_retrieve_params.py +15 -0
  44. dataleon/types/company_update_params.py +101 -0
  45. dataleon/types/individual.py +336 -0
  46. dataleon/types/individual_create_params.py +78 -0
  47. dataleon/types/individual_list_params.py +37 -0
  48. dataleon/types/individual_list_response.py +10 -0
  49. dataleon/types/individual_retrieve_params.py +15 -0
  50. dataleon/types/individual_update_params.py +78 -0
  51. dataleon/types/individuals/__init__.py +7 -0
  52. dataleon/types/individuals/document_response.py +41 -0
  53. dataleon/types/individuals/document_upload_params.py +56 -0
  54. dataleon/types/individuals/generic_document.py +57 -0
  55. dataleon/types/shared/__init__.py +3 -0
  56. dataleon/types/shared/check.py +26 -0
  57. dataleon-0.1.0a8.dist-info/METADATA +448 -0
  58. dataleon-0.1.0a8.dist-info/RECORD +60 -0
  59. dataleon-0.1.0a8.dist-info/WHEEL +4 -0
  60. dataleon-0.1.0a8.dist-info/licenses/LICENSE +201 -0
@@ -0,0 +1,17 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from .shared import Check as Check
6
+ from .individual import Individual as Individual
7
+ from .company_list_params import CompanyListParams as CompanyListParams
8
+ from .company_registration import CompanyRegistration as CompanyRegistration
9
+ from .company_create_params import CompanyCreateParams as CompanyCreateParams
10
+ from .company_list_response import CompanyListResponse as CompanyListResponse
11
+ from .company_update_params import CompanyUpdateParams as CompanyUpdateParams
12
+ from .individual_list_params import IndividualListParams as IndividualListParams
13
+ from .company_retrieve_params import CompanyRetrieveParams as CompanyRetrieveParams
14
+ from .individual_create_params import IndividualCreateParams as IndividualCreateParams
15
+ from .individual_list_response import IndividualListResponse as IndividualListResponse
16
+ from .individual_update_params import IndividualUpdateParams as IndividualUpdateParams
17
+ from .individual_retrieve_params import IndividualRetrieveParams as IndividualRetrieveParams
@@ -0,0 +1,5 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from .document_upload_params import DocumentUploadParams as DocumentUploadParams
@@ -0,0 +1,56 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing_extensions import Literal, Required, TypedDict
6
+
7
+ from ..._types import FileTypes
8
+
9
+ __all__ = ["DocumentUploadParams"]
10
+
11
+
12
+ class DocumentUploadParams(TypedDict, total=False):
13
+ document_type: Required[
14
+ Literal[
15
+ "liasse_fiscale",
16
+ "amortised_loan_schedule",
17
+ "invoice",
18
+ "receipt",
19
+ "company_statuts",
20
+ "registration_company_certificate",
21
+ "kbis",
22
+ "rib",
23
+ "livret_famille",
24
+ "birth_certificate",
25
+ "payslip",
26
+ "social_security_card",
27
+ "vehicle_registration_certificate",
28
+ "carte_grise",
29
+ "criminal_record_extract",
30
+ "proof_of_address",
31
+ "identity_card_front",
32
+ "identity_card_back",
33
+ "driver_license_front",
34
+ "driver_license_back",
35
+ "identity_document",
36
+ "driver_license",
37
+ "passport",
38
+ "tax",
39
+ "certificate_of_incorporation",
40
+ "certificate_of_good_standing",
41
+ "lcb_ft_lab_aml_policies",
42
+ "niu_entreprise",
43
+ "financial_statements",
44
+ "rccm",
45
+ "proof_of_source_funds",
46
+ "organizational_chart",
47
+ "risk_policies",
48
+ ]
49
+ ]
50
+ """Filter by document type for upload (must be one of the allowed values)"""
51
+
52
+ file: FileTypes
53
+ """File to upload (required)"""
54
+
55
+ url: str
56
+ """URL of the file to upload (either `file` or `url` is required)"""
@@ -0,0 +1,101 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import List
6
+ from typing_extensions import Literal, Required, TypedDict
7
+
8
+ __all__ = ["CompanyCreateParams", "Company", "TechnicalData"]
9
+
10
+
11
+ class CompanyCreateParams(TypedDict, total=False):
12
+ company: Required[Company]
13
+ """Main information about the company being registered."""
14
+
15
+ workspace_id: Required[str]
16
+ """Unique identifier of the workspace in which the company is being created."""
17
+
18
+ source_id: str
19
+ """
20
+ Optional identifier to track the origin of the request or integration from your
21
+ system.
22
+ """
23
+
24
+ technical_data: TechnicalData
25
+ """Technical metadata and callback configuration."""
26
+
27
+
28
+ class Company(TypedDict, total=False):
29
+ name: Required[str]
30
+ """Legal name of the company."""
31
+
32
+ address: str
33
+ """Registered address of the company."""
34
+
35
+ commercial_name: str
36
+ """Commercial or trade name of the company, if different from the legal name."""
37
+
38
+ country: str
39
+ """
40
+ ISO 3166-1 alpha-2 country code of company registration (e.g., "FR" for France).
41
+ """
42
+
43
+ email: str
44
+ """Contact email address for the company."""
45
+
46
+ employer_identification_number: str
47
+ """Employer Identification Number (EIN) or equivalent."""
48
+
49
+ legal_form: str
50
+ """Legal structure of the company (e.g., SARL, SAS)."""
51
+
52
+ phone_number: str
53
+ """Contact phone number for the company."""
54
+
55
+ registration_date: str
56
+ """Date of official company registration in YYYY-MM-DD format."""
57
+
58
+ registration_id: str
59
+ """Official company registration identifier."""
60
+
61
+ share_capital: str
62
+ """Declared share capital of the company, usually in euros."""
63
+
64
+ status: str
65
+ """Current status of the company (e.g., active, inactive)."""
66
+
67
+ tax_identification_number: str
68
+ """National tax identifier (e.g., VAT or TIN)."""
69
+
70
+ type: str
71
+ """Type of company, such as "main" or "affiliated"."""
72
+
73
+ website_url: str
74
+ """Company’s official website URL."""
75
+
76
+
77
+ class TechnicalData(TypedDict, total=False):
78
+ active_aml_suspicions: bool
79
+ """
80
+ Flag indicating whether there are active research AML (Anti-Money Laundering)
81
+ suspicions for the company when you apply for a new entry or get an existing
82
+ one.
83
+ """
84
+
85
+ callback_url: str
86
+ """URL to receive a callback once the company is processed."""
87
+
88
+ callback_url_notification: str
89
+ """URL to receive notifications about the processing state and status."""
90
+
91
+ filtering_score_aml_suspicions: float
92
+ """Minimum filtering score (between 0 and 1) for AML suspicions to be considered."""
93
+
94
+ language: str
95
+ """Preferred language for responses or notifications (e.g., "eng", "fra")."""
96
+
97
+ portal_steps: List[Literal["identity_verification", "document_signing", "proof_of_address", "selfie", "face_match"]]
98
+ """List of steps to include in the portal workflow."""
99
+
100
+ raw_data: bool
101
+ """Flag indicating whether to include raw data in the response."""
@@ -0,0 +1,37 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Union
6
+ from datetime import date
7
+ from typing_extensions import Literal, Annotated, TypedDict
8
+
9
+ from .._utils import PropertyInfo
10
+
11
+ __all__ = ["CompanyListParams"]
12
+
13
+
14
+ class CompanyListParams(TypedDict, total=False):
15
+ end_date: Annotated[Union[str, date], PropertyInfo(format="iso8601")]
16
+ """Filter companies created before this date (format YYYY-MM-DD)"""
17
+
18
+ limit: int
19
+ """Number of results to return (between 1 and 100)"""
20
+
21
+ offset: int
22
+ """Number of results to skip (must be ≥ 0)"""
23
+
24
+ source_id: str
25
+ """Filter by source ID"""
26
+
27
+ start_date: Annotated[Union[str, date], PropertyInfo(format="iso8601")]
28
+ """Filter companies created after this date (format YYYY-MM-DD)"""
29
+
30
+ state: Literal["VOID", "WAITING", "STARTED", "RUNNING", "PROCESSED", "FAILED", "ABORTED", "EXPIRED", "DELETED"]
31
+ """Filter by company state (must be one of the allowed values)"""
32
+
33
+ status: Literal["rejected", "need_review", "approved"]
34
+ """Filter by individual status (must be one of the allowed values)"""
35
+
36
+ workspace_id: str
37
+ """Filter by workspace ID"""
@@ -0,0 +1,10 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import List
4
+ from typing_extensions import TypeAlias
5
+
6
+ from .company_registration import CompanyRegistration
7
+
8
+ __all__ = ["CompanyListResponse"]
9
+
10
+ CompanyListResponse: TypeAlias = List[CompanyRegistration]
@@ -0,0 +1,439 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import List, Optional
4
+ from datetime import date, datetime
5
+ from typing_extensions import Literal
6
+
7
+ from pydantic import Field as FieldInfo
8
+
9
+ from .._models import BaseModel
10
+ from .shared.check import Check
11
+ from .individuals.generic_document import GenericDocument
12
+
13
+ __all__ = [
14
+ "CompanyRegistration",
15
+ "AmlSuspicion",
16
+ "Certificat",
17
+ "Company",
18
+ "CompanyContact",
19
+ "Member",
20
+ "Property",
21
+ "Risk",
22
+ "TechnicalData",
23
+ ]
24
+
25
+
26
+ class AmlSuspicion(BaseModel):
27
+ caption: Optional[str] = None
28
+ """Human-readable description or title for the suspicious finding."""
29
+
30
+ country: Optional[str] = None
31
+ """Country associated with the suspicion (ISO 3166-1 alpha-2 code)."""
32
+
33
+ gender: Optional[str] = None
34
+ """Gender associated with the suspicion, if applicable."""
35
+
36
+ relation: Optional[str] = None
37
+ """
38
+ Nature of the relationship between the entity and the suspicious activity (e.g.,
39
+ "linked", "associated").
40
+ """
41
+
42
+ schema_: Optional[str] = FieldInfo(alias="schema", default=None)
43
+ """Version of the evaluation schema or rule engine used."""
44
+
45
+ score: Optional[float] = None
46
+ """Risk score between 0.0 and 1 indicating the severity of the suspicion."""
47
+
48
+ source: Optional[str] = None
49
+ """Source system or service providing this suspicion."""
50
+
51
+ status: Optional[Literal["true_positive", "false_positive", "pending"]] = None
52
+ """Status of the suspicion review process.
53
+
54
+ Possible values: "true_positive", "false_positive", "pending".
55
+ """
56
+
57
+ type: Optional[Literal["crime", "sanction", "pep", "adverse_news", "other"]] = None
58
+ """Category of the suspicion.
59
+
60
+ Possible values: "crime", "sanction", "pep", "adverse_news", "other".
61
+ """
62
+
63
+
64
+ class Certificat(BaseModel):
65
+ id: Optional[str] = None
66
+ """Unique identifier for the certificate."""
67
+
68
+ created_at: Optional[datetime] = None
69
+ """Timestamp when the certificate was created."""
70
+
71
+ filename: Optional[str] = None
72
+ """Name of the certificate file."""
73
+
74
+
75
+ class CompanyContact(BaseModel):
76
+ department: Optional[str] = None
77
+ """Department of the contact person."""
78
+
79
+ email: Optional[str] = None
80
+ """Email address of the contact person."""
81
+
82
+ first_name: Optional[str] = None
83
+ """First name of the contact person."""
84
+
85
+ last_name: Optional[str] = None
86
+ """Last name of the contact person."""
87
+
88
+ phone_number: Optional[str] = None
89
+ """Phone number of the contact person."""
90
+
91
+
92
+ class Company(BaseModel):
93
+ address: Optional[str] = None
94
+ """Full registered address of the company."""
95
+
96
+ closure_date: Optional[date] = None
97
+ """Closure date of the company, if applicable."""
98
+
99
+ commercial_name: Optional[str] = None
100
+ """Trade or commercial name of the company."""
101
+
102
+ contact: Optional[CompanyContact] = None
103
+ """
104
+ Contact information for the company, including email, phone number, and address.
105
+ """
106
+
107
+ country: Optional[str] = None
108
+ """Country code where the company is registered."""
109
+
110
+ email: Optional[str] = None
111
+ """Contact email address for the company."""
112
+
113
+ employees: Optional[int] = None
114
+ """Number of employees in the company."""
115
+
116
+ employer_identification_number: Optional[str] = None
117
+ """Employer Identification Number (EIN) or equivalent."""
118
+
119
+ insolvency_exists: Optional[bool] = None
120
+ """Indicates whether an insolvency procedure exists for the company."""
121
+
122
+ insolvency_ongoing: Optional[bool] = None
123
+ """Indicates whether an insolvency procedure is ongoing for the company."""
124
+
125
+ legal_form: Optional[str] = None
126
+ """Legal form or structure of the company (e.g., LLC, SARL)."""
127
+
128
+ name: Optional[str] = None
129
+ """Legal registered name of the company."""
130
+
131
+ phone_number: Optional[str] = None
132
+ """Contact phone number for the company, including country code."""
133
+
134
+ registration_date: Optional[date] = None
135
+ """Date when the company was officially registered."""
136
+
137
+ registration_id: Optional[str] = None
138
+ """Official company registration number or ID."""
139
+
140
+ share_capital: Optional[str] = None
141
+ """Total share capital of the company, including currency."""
142
+
143
+ status: Optional[str] = None
144
+ """Current status of the company (e.g., active, inactive)."""
145
+
146
+ tax_identification_number: Optional[str] = None
147
+ """Tax identification number for the company."""
148
+
149
+ type: Optional[str] = None
150
+ """Type of company within the workspace, e.g., main or affiliated."""
151
+
152
+ website_url: Optional[str] = None
153
+ """Official website URL of the company."""
154
+
155
+
156
+ class Member(BaseModel):
157
+ id: Optional[str] = None
158
+
159
+ address: Optional[str] = None
160
+ """
161
+ Address of the member, which may include street, city, postal code, and country.
162
+ """
163
+
164
+ birthday: Optional[datetime] = None
165
+ """Birthday (available only if type = person)"""
166
+
167
+ birthplace: Optional[str] = None
168
+ """Birthplace (available only if type = person)"""
169
+
170
+ country: Optional[str] = None
171
+ """
172
+ ISO 3166-1 alpha-2 country code of the member's address (e.g., "FR" for France).
173
+ """
174
+
175
+ documents: Optional[List[GenericDocument]] = None
176
+ """
177
+ List of documents associated with the member, including their metadata and
178
+ processing status.
179
+ """
180
+
181
+ email: Optional[str] = None
182
+ """
183
+ Email address of the member, which may be used for communication or verification
184
+ purposes.
185
+ """
186
+
187
+ first_name: Optional[str] = None
188
+ """First name (available only if type = person)"""
189
+
190
+ is_beneficial_owner: Optional[bool] = None
191
+ """
192
+ Indicates whether the member is a beneficial owner of the company, meaning they
193
+ have significant control or ownership.
194
+ """
195
+
196
+ is_delegator: Optional[bool] = None
197
+ """
198
+ Indicates whether the member is a delegator, meaning they have authority to act
199
+ on behalf of the company.
200
+ """
201
+
202
+ last_name: Optional[str] = None
203
+ """Last name (available only if type = person)"""
204
+
205
+ liveness_verification: Optional[bool] = None
206
+ """
207
+ Indicates whether liveness verification was performed for the member, typically
208
+ in the context of identity checks.
209
+ """
210
+
211
+ name: Optional[str] = None
212
+ """Company name (available only if type = company)"""
213
+
214
+ ownership_percentage: Optional[int] = None
215
+ """
216
+ Percentage of ownership the member has in the company, expressed as an integer
217
+ between 0 and 100.
218
+ """
219
+
220
+ phone_number: Optional[str] = None
221
+ """Contact phone number of the member, including country code and area code."""
222
+
223
+ postal_code: Optional[str] = None
224
+ """Postal code of the member's address, typically a numeric or alphanumeric code."""
225
+
226
+ registration_id: Optional[str] = None
227
+ """
228
+ Official registration identifier of the member, such as a national ID or company
229
+ registration number.
230
+ """
231
+
232
+ relation: Optional[str] = None
233
+ """
234
+ Type of relationship the member has with the company, such as "shareholder",
235
+ "director", or "beneficial_owner".
236
+ """
237
+
238
+ roles: Optional[str] = None
239
+ """
240
+ Role of the member within the company, such as "legal_representative",
241
+ "director", or "manager".
242
+ """
243
+
244
+ source: Optional[Literal["gouve", "user", "company"]] = None
245
+ """Source of the data (e.g., government, user, company)"""
246
+
247
+ state: Optional[str] = None
248
+ """
249
+ Current state of the member in the workflow, such as "WAITING", "STARTED",
250
+ "RUNNING", or "PROCESSED".
251
+ """
252
+
253
+ status: Optional[str] = None
254
+ """
255
+ Status of the member in the system, indicating whether they are approved,
256
+ pending, or rejected. Possible values include "approved", "need_review",
257
+ "rejected".
258
+ """
259
+
260
+ type: Optional[Literal["person", "company"]] = None
261
+ """Member type (person or company)"""
262
+
263
+ workspace_id: Optional[str] = None
264
+ """
265
+ Identifier of the workspace to which the member belongs, used for organizational
266
+ purposes.
267
+ """
268
+
269
+
270
+ class Property(BaseModel):
271
+ name: Optional[str] = None
272
+ """Name/key of the property."""
273
+
274
+ type: Optional[str] = None
275
+ """Data type of the property value."""
276
+
277
+ value: Optional[str] = None
278
+ """Value associated with the property name."""
279
+
280
+
281
+ class Risk(BaseModel):
282
+ code: Optional[str] = None
283
+ """Risk category or code identifier."""
284
+
285
+ reason: Optional[str] = None
286
+ """Explanation or justification for the assigned risk."""
287
+
288
+ score: Optional[float] = None
289
+ """Numeric risk score between 0.0 and 1.0 indicating severity or confidence."""
290
+
291
+
292
+ class TechnicalData(BaseModel):
293
+ active_aml_suspicions: Optional[bool] = None
294
+ """
295
+ Flag indicating whether there are active research AML (Anti-Money Laundering)
296
+ suspicions for the object when you apply for a new entry or get an existing one.
297
+ """
298
+
299
+ api_version: Optional[int] = None
300
+ """Version number of the API used."""
301
+
302
+ approved_at: Optional[datetime] = None
303
+ """Timestamp when the request or process was approved."""
304
+
305
+ callback_url: Optional[str] = None
306
+ """URL to receive callback data from the AML system."""
307
+
308
+ callback_url_notification: Optional[str] = None
309
+ """URL to receive notification updates about the processing status."""
310
+
311
+ disable_notification: Optional[bool] = None
312
+ """Flag to indicate if notifications are disabled."""
313
+
314
+ disable_notification_date: Optional[datetime] = None
315
+ """Timestamp when notifications were disabled; null if never disabled."""
316
+
317
+ export_type: Optional[str] = None
318
+ """Export format defined by the API (e.g., "json", "xml")."""
319
+
320
+ filtering_score_aml_suspicions: Optional[float] = None
321
+ """Minimum filtering score (between 0 and 1) for AML suspicions to be considered."""
322
+
323
+ finished_at: Optional[datetime] = None
324
+ """Timestamp when the process finished."""
325
+
326
+ ip: Optional[str] = None
327
+ """IP address of the our system handling the request."""
328
+
329
+ language: Optional[str] = None
330
+ """Language preference used in the client workspace (e.g., "fra")."""
331
+
332
+ location_ip: Optional[str] = None
333
+ """IP address of the end client (final user) captured."""
334
+
335
+ need_review_at: Optional[datetime] = None
336
+ """Timestamp indicating when the request or process needs review; null if none."""
337
+
338
+ notification_confirmation: Optional[bool] = None
339
+ """Flag indicating if notification confirmation is required or received."""
340
+
341
+ portal_steps: Optional[
342
+ List[Literal["identity_verification", "document_signing", "proof_of_address", "selfie", "face_match"]]
343
+ ] = None
344
+ """List of steps to include in the portal workflow."""
345
+
346
+ qr_code: Optional[str] = None
347
+ """Indicates whether QR code is enabled ("true" or "false")."""
348
+
349
+ raw_data: Optional[bool] = None
350
+ """Flag indicating whether to include raw data in the response."""
351
+
352
+ rejected_at: Optional[datetime] = None
353
+ """Timestamp when the request or process was rejected; null if not rejected."""
354
+
355
+ session_duration: Optional[int] = None
356
+ """Duration of the user session in seconds."""
357
+
358
+ started_at: Optional[datetime] = None
359
+ """Timestamp when the process started."""
360
+
361
+ transfer_at: Optional[datetime] = None
362
+ """Date/time of data transfer."""
363
+
364
+ transfer_mode: Optional[str] = None
365
+ """Mode of data transfer."""
366
+
367
+
368
+ class CompanyRegistration(BaseModel):
369
+ aml_suspicions: Optional[List[AmlSuspicion]] = None
370
+ """
371
+ List of AML (Anti-Money Laundering) suspicion entries linked to the company,
372
+ including their details.
373
+ """
374
+
375
+ certificat: Optional[Certificat] = None
376
+ """
377
+ Digital certificate associated with the company, if any, including its creation
378
+ timestamp and filename.
379
+ """
380
+
381
+ checks: Optional[List[Check]] = None
382
+ """
383
+ List of verification or validation checks applied to the company, including
384
+ their results and messages.
385
+ """
386
+
387
+ company: Optional[Company] = None
388
+ """
389
+ Main information about the company being registered, including legal name,
390
+ registration ID, and address.
391
+ """
392
+
393
+ documents: Optional[List[GenericDocument]] = None
394
+ """
395
+ All documents submitted or associated with the company, including their metadata
396
+ and processing status.
397
+ """
398
+
399
+ members: Optional[List[Member]] = None
400
+ """
401
+ List of members or actors associated with the company, including personal and
402
+ ownership information.
403
+ """
404
+
405
+ portal_url: Optional[str] = None
406
+ """
407
+ Admin or internal portal URL for viewing the company's details, typically used
408
+ by internal users.
409
+ """
410
+
411
+ properties: Optional[List[Property]] = None
412
+ """
413
+ Custom key-value metadata fields associated with the company, allowing for
414
+ flexible data storage.
415
+ """
416
+
417
+ risk: Optional[Risk] = None
418
+ """
419
+ Risk assessment associated with the company, including a risk code, reason, and
420
+ confidence score.
421
+ """
422
+
423
+ source_id: Optional[str] = None
424
+ """
425
+ Optional identifier indicating the source of the company record, useful for
426
+ tracking or integration purposes.
427
+ """
428
+
429
+ technical_data: Optional[TechnicalData] = None
430
+ """
431
+ Technical metadata related to the request, such as IP address, QR code settings,
432
+ and callback URLs.
433
+ """
434
+
435
+ webview_url: Optional[str] = None
436
+ """
437
+ Public-facing webview URL for the company’s identification process, allowing
438
+ external access to the company data.
439
+ """
@@ -0,0 +1,15 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing_extensions import TypedDict
6
+
7
+ __all__ = ["CompanyRetrieveParams"]
8
+
9
+
10
+ class CompanyRetrieveParams(TypedDict, total=False):
11
+ document: bool
12
+ """Include document signed url"""
13
+
14
+ scope: str
15
+ """Scope filter (id or scope)"""