@@ -410,50 +410,44 @@ class User(BaseModel):
410410
411411
412412class AccountOverview (BaseModel ):
413- id : Optional [ int ] = None
413+ id : int
414414 """The account ID."""
415415
416- bill_type : Optional [ str ] = None
416+ bill_type : str
417417 """System field. Billing type of the account."""
418418
419- capabilities : Optional [ List [Literal ["CDN" , "STORAGE" , "STREAMING" , "DNS" , "DDOS" , "CLOUD" ]]] = None
419+ capabilities : List [Literal ["CDN" , "STORAGE" , "STREAMING" , "DNS" , "DDOS" , "CLOUD" ]]
420420 """System field. List of services available for the account."""
421421
422- company_name : Optional [ str ] = FieldInfo (alias = "companyName" , default = None )
422+ company_name : str = FieldInfo (alias = "companyName" )
423423 """The company name."""
424424
425- country_code : Optional [str ] = None
426- """System field. The company country (ISO 3166-1 alpha-2 format)."""
427-
428- current_user : Optional [int ] = FieldInfo (alias = "currentUser" , default = None )
425+ current_user : int = FieldInfo (alias = "currentUser" )
429426 """ID of the current user."""
430427
431- custom_id : Optional [str ] = None
432- """The account custom ID."""
433-
434- deleted : Optional [bool ] = None
428+ deleted : bool
435429 """The field shows the status of the account:
436430
437431 - `true` – the account has been deleted
438432 - `false` – the account is not deleted
439433 """
440434
441- email : Optional [ str ] = None
435+ email : str
442436 """The account email."""
443437
444438 entry_base_domain : Optional [str ] = FieldInfo (alias = "entryBaseDomain" , default = None )
445439 """System field. Control panel domain."""
446440
447- free_features : Optional [ FreeFeatures ] = FieldInfo (alias = "freeFeatures" , default = None )
441+ free_features : FreeFeatures = FieldInfo (alias = "freeFeatures" )
448442 """
449443 An object of arrays which contains information about free features available for
450444 the requested account.
451445 """
452446
453- has_active_admin : Optional [ bool ] = None
447+ has_active_admin : bool
454448 """System field."""
455449
456- is_test : Optional [ bool ] = None
450+ is_test : bool
457451 """System field:
458452
459453 - `true` — a test account;
@@ -463,29 +457,33 @@ class AccountOverview(BaseModel):
463457 name : Optional [str ] = None
464458 """Name of a user who registered the requested account."""
465459
466- paid_features : Optional [ PaidFeatures ] = FieldInfo (alias = "paidFeatures" , default = None )
460+ paid_features : PaidFeatures = FieldInfo (alias = "paidFeatures" )
467461 """
468462 An object of arrays which contains information about paid features available for
469463 the requested account.
470464 """
471465
472- phone : Optional [str ] = None
473- """Phone of a user who registered the requested account."""
474-
475- service_statuses : Optional [ServiceStatuses ] = FieldInfo (alias = "serviceStatuses" , default = None )
466+ service_statuses : ServiceStatuses = FieldInfo (alias = "serviceStatuses" )
476467 """
477468 An object of arrays which contains information about all services available for
478469 the requested account.
479470 """
480471
472+ status : Literal ["new" , "trial" , "trialend" , "active" , "integration" , "paused" , "preparation" , "ready" ]
473+ """Status of the account."""
474+
475+ country_code : Optional [str ] = None
476+ """System field. The company country (ISO 3166-1 alpha-2 format)."""
477+
478+ custom_id : Optional [str ] = None
479+ """The account custom ID."""
480+
481+ phone : Optional [str ] = None
482+ """Phone of a user who registered the requested account."""
483+
481484 signup_process : Optional [Literal ["sign_up_full" , "sign_up_simple" ]] = None
482485 """System field. Type of the account registration process."""
483486
484- status : Optional [Literal ["new" , "trial" , "trialend" , "active" , "integration" , "paused" , "preparation" , "ready" ]] = (
485- None
486- )
487- """Status of the account."""
488-
489487 users : Optional [List [User ]] = None
490488 """List of account users."""
491489
0 commit comments