diff --git a/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/Connected Services/CustomerGeneratedServices/OpenAPI.cs b/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/Connected Services/CustomerGeneratedServices/OpenAPI.cs index 08e94d3..a894cc4 100644 --- a/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/Connected Services/CustomerGeneratedServices/OpenAPI.cs +++ b/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/Connected Services/CustomerGeneratedServices/OpenAPI.cs @@ -15939,132 +15939,6 @@ private string ConvertToString(object value, System.Globalization.CultureInfo cu } } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.19.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.3.0))")] - public partial class AddressBaseContract : System.ComponentModel.INotifyPropertyChanged - { - private string _postalCode; - private string _address; - private string _uniqueIdentity; - private System.DateTime _creationDateTime; - private System.DateTime? _modificationDateTime; - private System.DateTime? _deletedDateTime; - private bool _isDeleted; - - [Newtonsoft.Json.JsonProperty("postalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PostalCode - { - get { return _postalCode; } - - set - { - if (_postalCode != value) - { - _postalCode = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Address - { - get { return _address; } - - set - { - if (_address != value) - { - _address = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("uniqueIdentity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string UniqueIdentity - { - get { return _uniqueIdentity; } - - set - { - if (_uniqueIdentity != value) - { - _uniqueIdentity = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("creationDateTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTime CreationDateTime - { - get { return _creationDateTime; } - - set - { - if (_creationDateTime != value) - { - _creationDateTime = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("modificationDateTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTime? ModificationDateTime - { - get { return _modificationDateTime; } - - set - { - if (_modificationDateTime != value) - { - _modificationDateTime = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("deletedDateTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTime? DeletedDateTime - { - get { return _deletedDateTime; } - - set - { - if (_deletedDateTime != value) - { - _deletedDateTime = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("isDeleted", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool IsDeleted - { - get { return _isDeleted; } - - set - { - if (_isDeleted != value) - { - _isDeleted = value; - RaisePropertyChanged(); - } - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected virtual void RaisePropertyChanged([System.Runtime.CompilerServices.CallerMemberName] string propertyName = null) - { - var handler = PropertyChanged; - if (handler != null) - handler(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); - } - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.19.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.3.0))")] public partial class AddressContract : System.ComponentModel.INotifyPropertyChanged { @@ -16725,148 +16599,6 @@ protected virtual void RaisePropertyChanged([System.Runtime.CompilerServices.Cal } } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.19.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.3.0))")] - public partial class CertificationBaseContract : System.ComponentModel.INotifyPropertyChanged - { - private string _name; - private string _code; - private System.DateTime? _certificationDateTime; - private string _uniqueIdentity; - private System.DateTime _creationDateTime; - private System.DateTime? _modificationDateTime; - private System.DateTime? _deletedDateTime; - private bool _isDeleted; - - [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name - { - get { return _name; } - - set - { - if (_name != value) - { - _name = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Code - { - get { return _code; } - - set - { - if (_code != value) - { - _code = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("certificationDateTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTime? CertificationDateTime - { - get { return _certificationDateTime; } - - set - { - if (_certificationDateTime != value) - { - _certificationDateTime = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("uniqueIdentity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string UniqueIdentity - { - get { return _uniqueIdentity; } - - set - { - if (_uniqueIdentity != value) - { - _uniqueIdentity = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("creationDateTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTime CreationDateTime - { - get { return _creationDateTime; } - - set - { - if (_creationDateTime != value) - { - _creationDateTime = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("modificationDateTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTime? ModificationDateTime - { - get { return _modificationDateTime; } - - set - { - if (_modificationDateTime != value) - { - _modificationDateTime = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("deletedDateTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTime? DeletedDateTime - { - get { return _deletedDateTime; } - - set - { - if (_deletedDateTime != value) - { - _deletedDateTime = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("isDeleted", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool IsDeleted - { - get { return _isDeleted; } - - set - { - if (_isDeleted != value) - { - _isDeleted = value; - RaisePropertyChanged(); - } - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected virtual void RaisePropertyChanged([System.Runtime.CompilerServices.CallerMemberName] string propertyName = null) - { - var handler = PropertyChanged; - if (handler != null) - handler(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); - } - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.19.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.3.0))")] public partial class CertificationContract : System.ComponentModel.INotifyPropertyChanged { @@ -18534,13 +18266,13 @@ public partial class CreatePersonRequestContract : System.ComponentModel.INotify private long? _provinceId; private System.Collections.Generic.ICollection _firstNames; private System.Collections.Generic.ICollection _lastNames; - private System.Collections.Generic.ICollection _addresses; - private System.Collections.Generic.ICollection _emails; - private System.Collections.Generic.ICollection _passports; - private System.Collections.Generic.ICollection _phones; - private System.Collections.Generic.ICollection _certifications; - private System.Collections.Generic.ICollection _visas; - private System.Collections.Generic.ICollection _links; + private System.Collections.Generic.ICollection _addresses; + private System.Collections.Generic.ICollection _emails; + private System.Collections.Generic.ICollection _passports; + private System.Collections.Generic.ICollection _phones; + private System.Collections.Generic.ICollection _certifications; + private System.Collections.Generic.ICollection _visas; + private System.Collections.Generic.ICollection _links; [Newtonsoft.Json.JsonProperty("nationalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string NationalCode @@ -18844,7 +18576,7 @@ public System.Collections.Generic.ICollection LastNames } [Newtonsoft.Json.JsonProperty("addresses", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Addresses + public System.Collections.Generic.ICollection Addresses { get { return _addresses; } @@ -18859,7 +18591,7 @@ public System.Collections.Generic.ICollection Addresses } [Newtonsoft.Json.JsonProperty("emails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Emails + public System.Collections.Generic.ICollection Emails { get { return _emails; } @@ -18874,7 +18606,7 @@ public System.Collections.Generic.ICollection Emails } [Newtonsoft.Json.JsonProperty("passports", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Passports + public System.Collections.Generic.ICollection Passports { get { return _passports; } @@ -18889,7 +18621,7 @@ public System.Collections.Generic.ICollection Passports } [Newtonsoft.Json.JsonProperty("phones", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Phones + public System.Collections.Generic.ICollection Phones { get { return _phones; } @@ -18904,7 +18636,7 @@ public System.Collections.Generic.ICollection Phones } [Newtonsoft.Json.JsonProperty("certifications", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Certifications + public System.Collections.Generic.ICollection Certifications { get { return _certifications; } @@ -18919,7 +18651,7 @@ public System.Collections.Generic.ICollection Certifi } [Newtonsoft.Json.JsonProperty("visas", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Visas + public System.Collections.Generic.ICollection Visas { get { return _visas; } @@ -18934,7 +18666,7 @@ public System.Collections.Generic.ICollection Visas } [Newtonsoft.Json.JsonProperty("links", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Links + public System.Collections.Generic.ICollection Links { get { return _links; } @@ -19211,149 +18943,9 @@ public string Number set { - if (_number != value) - { - _number = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("uniqueIdentity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string UniqueIdentity - { - get { return _uniqueIdentity; } - - set - { - if (_uniqueIdentity != value) - { - _uniqueIdentity = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("creationDateTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTime CreationDateTime - { - get { return _creationDateTime; } - - set - { - if (_creationDateTime != value) - { - _creationDateTime = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("modificationDateTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTime? ModificationDateTime - { - get { return _modificationDateTime; } - - set - { - if (_modificationDateTime != value) - { - _modificationDateTime = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("deletedDateTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTime? DeletedDateTime - { - get { return _deletedDateTime; } - - set - { - if (_deletedDateTime != value) - { - _deletedDateTime = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("isDeleted", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool IsDeleted - { - get { return _isDeleted; } - - set - { - if (_isDeleted != value) - { - _isDeleted = value; - RaisePropertyChanged(); - } - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected virtual void RaisePropertyChanged([System.Runtime.CompilerServices.CallerMemberName] string propertyName = null) - { - var handler = PropertyChanged; - if (handler != null) - handler(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); - } - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.19.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.3.0))")] - public partial class CreateVisaRequestContractCreateBulkRequestContract : System.ComponentModel.INotifyPropertyChanged - { - private System.Collections.Generic.ICollection _items; - - [Newtonsoft.Json.JsonProperty("items", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Items - { - get { return _items; } - - set - { - if (_items != value) - { - _items = value; - RaisePropertyChanged(); - } - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected virtual void RaisePropertyChanged([System.Runtime.CompilerServices.CallerMemberName] string propertyName = null) - { - var handler = PropertyChanged; - if (handler != null) - handler(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); - } - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.19.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.3.0))")] - public partial class EmailBaseContract : System.ComponentModel.INotifyPropertyChanged - { - private string _address; - private string _uniqueIdentity; - private System.DateTime _creationDateTime; - private System.DateTime? _modificationDateTime; - private System.DateTime? _deletedDateTime; - private bool _isDeleted; - - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Address - { - get { return _address; } - - set - { - if (_address != value) + if (_number != value) { - _address = value; + _number = value; RaisePropertyChanged(); } } @@ -19444,6 +19036,36 @@ protected virtual void RaisePropertyChanged([System.Runtime.CompilerServices.Cal } } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.19.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.3.0))")] + public partial class CreateVisaRequestContractCreateBulkRequestContract : System.ComponentModel.INotifyPropertyChanged + { + private System.Collections.Generic.ICollection _items; + + [Newtonsoft.Json.JsonProperty("items", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.ICollection Items + { + get { return _items; } + + set + { + if (_items != value) + { + _items = value; + RaisePropertyChanged(); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected virtual void RaisePropertyChanged([System.Runtime.CompilerServices.CallerMemberName] string propertyName = null) + { + var handler = PropertyChanged; + if (handler != null) + handler(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.19.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.3.0))")] public partial class EmailContract : System.ComponentModel.INotifyPropertyChanged { @@ -21026,132 +20648,6 @@ protected virtual void RaisePropertyChanged([System.Runtime.CompilerServices.Cal } } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.19.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.3.0))")] - public partial class LinkBaseContract : System.ComponentModel.INotifyPropertyChanged - { - private string _address; - private LinkType _type; - private string _uniqueIdentity; - private System.DateTime _creationDateTime; - private System.DateTime? _modificationDateTime; - private System.DateTime? _deletedDateTime; - private bool _isDeleted; - - [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Address - { - get { return _address; } - - set - { - if (_address != value) - { - _address = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public LinkType Type - { - get { return _type; } - - set - { - if (_type != value) - { - _type = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("uniqueIdentity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string UniqueIdentity - { - get { return _uniqueIdentity; } - - set - { - if (_uniqueIdentity != value) - { - _uniqueIdentity = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("creationDateTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTime CreationDateTime - { - get { return _creationDateTime; } - - set - { - if (_creationDateTime != value) - { - _creationDateTime = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("modificationDateTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTime? ModificationDateTime - { - get { return _modificationDateTime; } - - set - { - if (_modificationDateTime != value) - { - _modificationDateTime = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("deletedDateTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTime? DeletedDateTime - { - get { return _deletedDateTime; } - - set - { - if (_deletedDateTime != value) - { - _deletedDateTime = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("isDeleted", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool IsDeleted - { - get { return _isDeleted; } - - set - { - if (_isDeleted != value) - { - _isDeleted = value; - RaisePropertyChanged(); - } - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected virtual void RaisePropertyChanged([System.Runtime.CompilerServices.CallerMemberName] string propertyName = null) - { - var handler = PropertyChanged; - if (handler != null) - handler(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); - } - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.19.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.3.0))")] public partial class LinkContract : System.ComponentModel.INotifyPropertyChanged { @@ -22406,188 +21902,30 @@ public enum NationalityType URY = 242, - UZB = 243, - - VUT = 244, - - VEN = 245, - - VNM = 246, - - VGB = 247, - - VIR = 248, - - WLF = 249, - - ESH = 250, - - YEM = 251, - - ZMB = 252, - - ZWE = 253, - - ALA = 254, - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.19.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.3.0))")] - public partial class PassportBaseContract : System.ComponentModel.INotifyPropertyChanged - { - private string _countryShortName; - private NationalityType _holderNationalityType; - private System.DateTime _expirationDate; - private string _number; - private string _uniqueIdentity; - private System.DateTime _creationDateTime; - private System.DateTime? _modificationDateTime; - private System.DateTime? _deletedDateTime; - private bool _isDeleted; - - [Newtonsoft.Json.JsonProperty("countryShortName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CountryShortName - { - get { return _countryShortName; } - - set - { - if (_countryShortName != value) - { - _countryShortName = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("holderNationalityType", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public NationalityType HolderNationalityType - { - get { return _holderNationalityType; } - - set - { - if (_holderNationalityType != value) - { - _holderNationalityType = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("expirationDate", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTime ExpirationDate - { - get { return _expirationDate; } - - set - { - if (_expirationDate != value) - { - _expirationDate = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("number", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Number - { - get { return _number; } - - set - { - if (_number != value) - { - _number = value; - RaisePropertyChanged(); - } - } - } + UZB = 243, - [Newtonsoft.Json.JsonProperty("uniqueIdentity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string UniqueIdentity - { - get { return _uniqueIdentity; } + VUT = 244, - set - { - if (_uniqueIdentity != value) - { - _uniqueIdentity = value; - RaisePropertyChanged(); - } - } - } + VEN = 245, - [Newtonsoft.Json.JsonProperty("creationDateTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTime CreationDateTime - { - get { return _creationDateTime; } + VNM = 246, - set - { - if (_creationDateTime != value) - { - _creationDateTime = value; - RaisePropertyChanged(); - } - } - } + VGB = 247, - [Newtonsoft.Json.JsonProperty("modificationDateTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTime? ModificationDateTime - { - get { return _modificationDateTime; } + VIR = 248, - set - { - if (_modificationDateTime != value) - { - _modificationDateTime = value; - RaisePropertyChanged(); - } - } - } + WLF = 249, - [Newtonsoft.Json.JsonProperty("deletedDateTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTime? DeletedDateTime - { - get { return _deletedDateTime; } + ESH = 250, - set - { - if (_deletedDateTime != value) - { - _deletedDateTime = value; - RaisePropertyChanged(); - } - } - } + YEM = 251, - [Newtonsoft.Json.JsonProperty("isDeleted", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool IsDeleted - { - get { return _isDeleted; } + ZMB = 252, - set - { - if (_isDeleted != value) - { - _isDeleted = value; - RaisePropertyChanged(); - } - } - } + ZWE = 253, - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + ALA = 254, - protected virtual void RaisePropertyChanged([System.Runtime.CompilerServices.CallerMemberName] string propertyName = null) - { - var handler = PropertyChanged; - if (handler != null) - handler(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); - } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.19.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.3.0))")] @@ -23966,13 +23304,13 @@ public partial class PersonContract : System.ComponentModel.INotifyPropertyChang private long _id; private string _firstName; private string _lastName; - private System.Collections.Generic.ICollection _addresses; - private System.Collections.Generic.ICollection _emails; - private System.Collections.Generic.ICollection _passports; - private System.Collections.Generic.ICollection _phones; - private System.Collections.Generic.ICollection _certifications; - private System.Collections.Generic.ICollection _visas; - private System.Collections.Generic.ICollection _links; + private System.Collections.Generic.ICollection _addresses; + private System.Collections.Generic.ICollection _emails; + private System.Collections.Generic.ICollection _passports; + private System.Collections.Generic.ICollection _phones; + private System.Collections.Generic.ICollection _certifications; + private System.Collections.Generic.ICollection _visas; + private System.Collections.Generic.ICollection _links; [Newtonsoft.Json.JsonProperty("nationalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string NationalCode @@ -24291,7 +23629,7 @@ public string LastName } [Newtonsoft.Json.JsonProperty("addresses", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Addresses + public System.Collections.Generic.ICollection Addresses { get { return _addresses; } @@ -24306,7 +23644,7 @@ public System.Collections.Generic.ICollection Addresses } [Newtonsoft.Json.JsonProperty("emails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Emails + public System.Collections.Generic.ICollection Emails { get { return _emails; } @@ -24321,7 +23659,7 @@ public System.Collections.Generic.ICollection Emails } [Newtonsoft.Json.JsonProperty("passports", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Passports + public System.Collections.Generic.ICollection Passports { get { return _passports; } @@ -24336,7 +23674,7 @@ public System.Collections.Generic.ICollection Passports } [Newtonsoft.Json.JsonProperty("phones", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Phones + public System.Collections.Generic.ICollection Phones { get { return _phones; } @@ -24351,7 +23689,7 @@ public System.Collections.Generic.ICollection Phones } [Newtonsoft.Json.JsonProperty("certifications", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Certifications + public System.Collections.Generic.ICollection Certifications { get { return _certifications; } @@ -24366,7 +23704,7 @@ public System.Collections.Generic.ICollection Certifi } [Newtonsoft.Json.JsonProperty("visas", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Visas + public System.Collections.Generic.ICollection Visas { get { return _visas; } @@ -24381,7 +23719,7 @@ public System.Collections.Generic.ICollection Visas } [Newtonsoft.Json.JsonProperty("links", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Links + public System.Collections.Generic.ICollection Links { get { return _links; } @@ -25023,254 +24361,100 @@ public long TotalCount { if (_totalCount != value) { - _totalCount = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("hasItems", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool HasItems - { - get { return _hasItems; } - - set - { - if (_hasItems != value) - { - _hasItems = value; - RaisePropertyChanged(); - } - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected virtual void RaisePropertyChanged([System.Runtime.CompilerServices.CallerMemberName] string propertyName = null) - { - var handler = PropertyChanged; - if (handler != null) - handler(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); - } - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.19.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.3.0))")] - public partial class PersonLanguageContractMessageContract : System.ComponentModel.INotifyPropertyChanged - { - private bool _isSuccess; - private ErrorContract _error; - private SuccessContract _success; - private PersonLanguageContract _result; - - [Newtonsoft.Json.JsonProperty("isSuccess", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool IsSuccess - { - get { return _isSuccess; } - - set - { - if (_isSuccess != value) - { - _isSuccess = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("error", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ErrorContract Error - { - get { return _error; } - - set - { - if (_error != value) - { - _error = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("success", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public SuccessContract Success - { - get { return _success; } - - set - { - if (_success != value) - { - _success = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("result", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PersonLanguageContract Result - { - get { return _result; } - - set - { - if (_result != value) - { - _result = value; - RaisePropertyChanged(); - } - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected virtual void RaisePropertyChanged([System.Runtime.CompilerServices.CallerMemberName] string propertyName = null) - { - var handler = PropertyChanged; - if (handler != null) - handler(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); - } - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.19.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.3.0))")] - public enum PersonType - { - - None = 0, - - Default = 1, - - All = 2, - - Other = 3, - - Unknown = 4, - - Nothing = 5, - - RealPerson = 6, - - LegalPerson = 7, - - EndUser = 8, - - Foreigners = 9, - - CivilPartnership = 10, - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.19.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.3.0))")] - public partial class PhoneBaseContract : System.ComponentModel.INotifyPropertyChanged - { - private string _number; - private PhoneNumberType _numberType; - private string _uniqueIdentity; - private System.DateTime _creationDateTime; - private System.DateTime? _modificationDateTime; - private System.DateTime? _deletedDateTime; - private bool _isDeleted; - - [Newtonsoft.Json.JsonProperty("number", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Number - { - get { return _number; } - - set - { - if (_number != value) - { - _number = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("numberType", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public PhoneNumberType NumberType - { - get { return _numberType; } - - set - { - if (_numberType != value) - { - _numberType = value; + _totalCount = value; RaisePropertyChanged(); } } } - [Newtonsoft.Json.JsonProperty("uniqueIdentity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string UniqueIdentity + [Newtonsoft.Json.JsonProperty("hasItems", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool HasItems { - get { return _uniqueIdentity; } + get { return _hasItems; } set { - if (_uniqueIdentity != value) + if (_hasItems != value) { - _uniqueIdentity = value; + _hasItems = value; RaisePropertyChanged(); } } } - [Newtonsoft.Json.JsonProperty("creationDateTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTime CreationDateTime + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected virtual void RaisePropertyChanged([System.Runtime.CompilerServices.CallerMemberName] string propertyName = null) { - get { return _creationDateTime; } + var handler = PropertyChanged; + if (handler != null) + handler(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.19.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.3.0))")] + public partial class PersonLanguageContractMessageContract : System.ComponentModel.INotifyPropertyChanged + { + private bool _isSuccess; + private ErrorContract _error; + private SuccessContract _success; + private PersonLanguageContract _result; + + [Newtonsoft.Json.JsonProperty("isSuccess", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool IsSuccess + { + get { return _isSuccess; } set { - if (_creationDateTime != value) + if (_isSuccess != value) { - _creationDateTime = value; + _isSuccess = value; RaisePropertyChanged(); } } } - [Newtonsoft.Json.JsonProperty("modificationDateTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTime? ModificationDateTime + [Newtonsoft.Json.JsonProperty("error", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ErrorContract Error { - get { return _modificationDateTime; } + get { return _error; } set { - if (_modificationDateTime != value) + if (_error != value) { - _modificationDateTime = value; + _error = value; RaisePropertyChanged(); } } } - [Newtonsoft.Json.JsonProperty("deletedDateTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTime? DeletedDateTime + [Newtonsoft.Json.JsonProperty("success", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public SuccessContract Success { - get { return _deletedDateTime; } + get { return _success; } set { - if (_deletedDateTime != value) + if (_success != value) { - _deletedDateTime = value; + _success = value; RaisePropertyChanged(); } } } - [Newtonsoft.Json.JsonProperty("isDeleted", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool IsDeleted + [Newtonsoft.Json.JsonProperty("result", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PersonLanguageContract Result { - get { return _isDeleted; } + get { return _result; } set { - if (_isDeleted != value) + if (_result != value) { - _isDeleted = value; + _result = value; RaisePropertyChanged(); } } @@ -25286,6 +24470,34 @@ protected virtual void RaisePropertyChanged([System.Runtime.CompilerServices.Cal } } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.19.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.3.0))")] + public enum PersonType + { + + None = 0, + + Default = 1, + + All = 2, + + Other = 3, + + Unknown = 4, + + Nothing = 5, + + RealPerson = 6, + + LegalPerson = 7, + + EndUser = 8, + + Foreigners = 9, + + CivilPartnership = 10, + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.19.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.3.0))")] public partial class PhoneContract : System.ComponentModel.INotifyPropertyChanged { @@ -27237,13 +26449,13 @@ public partial class UpdatePersonRequestContract : System.ComponentModel.INotify private long? _provinceId; private System.Collections.Generic.ICollection _firstNames; private System.Collections.Generic.ICollection _lastNames; - private System.Collections.Generic.ICollection _addresses; - private System.Collections.Generic.ICollection _emails; - private System.Collections.Generic.ICollection _passports; - private System.Collections.Generic.ICollection _phones; - private System.Collections.Generic.ICollection _certifications; - private System.Collections.Generic.ICollection _visas; - private System.Collections.Generic.ICollection _links; + private System.Collections.Generic.ICollection _addresses; + private System.Collections.Generic.ICollection _emails; + private System.Collections.Generic.ICollection _passports; + private System.Collections.Generic.ICollection _phones; + private System.Collections.Generic.ICollection _certifications; + private System.Collections.Generic.ICollection _visas; + private System.Collections.Generic.ICollection _links; private long _id; [Newtonsoft.Json.JsonProperty("nationalCode", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] @@ -27548,7 +26760,7 @@ public System.Collections.Generic.ICollection LastNames } [Newtonsoft.Json.JsonProperty("addresses", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Addresses + public System.Collections.Generic.ICollection Addresses { get { return _addresses; } @@ -27563,7 +26775,7 @@ public System.Collections.Generic.ICollection Addresses } [Newtonsoft.Json.JsonProperty("emails", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Emails + public System.Collections.Generic.ICollection Emails { get { return _emails; } @@ -27578,7 +26790,7 @@ public System.Collections.Generic.ICollection Emails } [Newtonsoft.Json.JsonProperty("passports", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Passports + public System.Collections.Generic.ICollection Passports { get { return _passports; } @@ -27593,7 +26805,7 @@ public System.Collections.Generic.ICollection Passports } [Newtonsoft.Json.JsonProperty("phones", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Phones + public System.Collections.Generic.ICollection Phones { get { return _phones; } @@ -27608,7 +26820,7 @@ public System.Collections.Generic.ICollection Phones } [Newtonsoft.Json.JsonProperty("certifications", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Certifications + public System.Collections.Generic.ICollection Certifications { get { return _certifications; } @@ -27623,7 +26835,7 @@ public System.Collections.Generic.ICollection Certifi } [Newtonsoft.Json.JsonProperty("visas", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Visas + public System.Collections.Generic.ICollection Visas { get { return _visas; } @@ -27638,7 +26850,7 @@ public System.Collections.Generic.ICollection Visas } [Newtonsoft.Json.JsonProperty("links", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.ICollection Links + public System.Collections.Generic.ICollection Links { get { return _links; } @@ -28115,166 +27327,6 @@ protected virtual void RaisePropertyChanged([System.Runtime.CompilerServices.Cal } } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.19.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.3.0))")] - public partial class VisaBaseContract : System.ComponentModel.INotifyPropertyChanged - { - private System.DateTime? _entryDate; - private System.DateTime? _exitDate; - private int? _duration; - private string _number; - private string _uniqueIdentity; - private System.DateTime _creationDateTime; - private System.DateTime? _modificationDateTime; - private System.DateTime? _deletedDateTime; - private bool _isDeleted; - - [Newtonsoft.Json.JsonProperty("entryDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(DateFormatConverter))] - public System.DateTime? EntryDate - { - get { return _entryDate; } - - set - { - if (_entryDate != value) - { - _entryDate = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("exitDate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(DateFormatConverter))] - public System.DateTime? ExitDate - { - get { return _exitDate; } - - set - { - if (_exitDate != value) - { - _exitDate = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("duration", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Duration - { - get { return _duration; } - - set - { - if (_duration != value) - { - _duration = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("number", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Number - { - get { return _number; } - - set - { - if (_number != value) - { - _number = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("uniqueIdentity", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string UniqueIdentity - { - get { return _uniqueIdentity; } - - set - { - if (_uniqueIdentity != value) - { - _uniqueIdentity = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("creationDateTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTime CreationDateTime - { - get { return _creationDateTime; } - - set - { - if (_creationDateTime != value) - { - _creationDateTime = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("modificationDateTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTime? ModificationDateTime - { - get { return _modificationDateTime; } - - set - { - if (_modificationDateTime != value) - { - _modificationDateTime = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("deletedDateTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTime? DeletedDateTime - { - get { return _deletedDateTime; } - - set - { - if (_deletedDateTime != value) - { - _deletedDateTime = value; - RaisePropertyChanged(); - } - } - } - - [Newtonsoft.Json.JsonProperty("isDeleted", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool IsDeleted - { - get { return _isDeleted; } - - set - { - if (_isDeleted != value) - { - _isDeleted = value; - RaisePropertyChanged(); - } - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected virtual void RaisePropertyChanged([System.Runtime.CompilerServices.CallerMemberName] string propertyName = null) - { - var handler = PropertyChanged; - if (handler != null) - handler(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); - } - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.19.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.3.0))")] public partial class VisaContract : System.ComponentModel.INotifyPropertyChanged { diff --git a/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/Connected Services/CustomerGeneratedServices/OpenAPI.nswag.json b/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/Connected Services/CustomerGeneratedServices/OpenAPI.nswag.json index 6adb943..5eb9646 100644 --- a/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/Connected Services/CustomerGeneratedServices/OpenAPI.nswag.json +++ b/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/Connected Services/CustomerGeneratedServices/OpenAPI.nswag.json @@ -8927,43 +8927,6 @@ }, "components": { "schemas": { - "AddressBaseContract": { - "type": "object", - "additionalProperties": false, - "properties": { - "postalCode": { - "type": "string", - "nullable": true - }, - "address": { - "type": "string", - "nullable": true - }, - "uniqueIdentity": { - "type": "string", - "nullable": true - }, - "creationDateTime": { - "type": "string", - "format": "date-time" - }, - "modificationDateTime": { - "title": "Nullable", - "type": "string", - "format": "date-time", - "nullable": true - }, - "deletedDateTime": { - "title": "Nullable", - "type": "string", - "format": "date-time", - "nullable": true - }, - "isDeleted": { - "type": "boolean" - } - } - }, "AddressContract": { "type": "object", "additionalProperties": false, @@ -9148,49 +9111,6 @@ } } }, - "CertificationBaseContract": { - "type": "object", - "additionalProperties": false, - "properties": { - "name": { - "type": "string", - "nullable": true - }, - "code": { - "type": "string", - "nullable": true - }, - "certificationDateTime": { - "title": "Nullable", - "type": "string", - "format": "date-time", - "nullable": true - }, - "uniqueIdentity": { - "type": "string", - "nullable": true - }, - "creationDateTime": { - "type": "string", - "format": "date-time" - }, - "modificationDateTime": { - "title": "Nullable", - "type": "string", - "format": "date-time", - "nullable": true - }, - "deletedDateTime": { - "title": "Nullable", - "type": "string", - "format": "date-time", - "nullable": true - }, - "isDeleted": { - "type": "boolean" - } - } - }, "CertificationContract": { "type": "object", "additionalProperties": false, @@ -9808,59 +9728,59 @@ } }, "addresses": { - "title": "List", + "title": "List", "type": "array", "nullable": true, "items": { - "$ref": "#/components/schemas/AddressBaseContract" + "$ref": "#/components/schemas/UpdateAddressRequestContract" } }, "emails": { - "title": "List", + "title": "List", "type": "array", "nullable": true, "items": { - "$ref": "#/components/schemas/EmailBaseContract" + "$ref": "#/components/schemas/UpdateEmailRequestContract" } }, "passports": { - "title": "List", + "title": "List", "type": "array", "nullable": true, "items": { - "$ref": "#/components/schemas/PassportBaseContract" + "$ref": "#/components/schemas/UpdatePassportRequestContract" } }, "phones": { - "title": "List", + "title": "List", "type": "array", "nullable": true, "items": { - "$ref": "#/components/schemas/PhoneBaseContract" + "$ref": "#/components/schemas/UpdatePhoneRequestContract" } }, "certifications": { - "title": "List", + "title": "List", "type": "array", "nullable": true, "items": { - "$ref": "#/components/schemas/CertificationBaseContract" + "$ref": "#/components/schemas/UpdateCertificationRequestContract" } }, "visas": { - "title": "List", + "title": "List", "type": "array", "nullable": true, "items": { - "$ref": "#/components/schemas/VisaBaseContract" + "$ref": "#/components/schemas/UpdateVisaRequestContract" } }, "links": { - "title": "List", + "title": "List", "type": "array", "nullable": true, "items": { - "$ref": "#/components/schemas/LinkBaseContract" + "$ref": "#/components/schemas/UpdateLinkRequestContract" } } } @@ -9997,39 +9917,6 @@ } } }, - "EmailBaseContract": { - "type": "object", - "additionalProperties": false, - "properties": { - "address": { - "type": "string", - "nullable": true - }, - "uniqueIdentity": { - "type": "string", - "nullable": true - }, - "creationDateTime": { - "type": "string", - "format": "date-time" - }, - "modificationDateTime": { - "title": "Nullable", - "type": "string", - "format": "date-time", - "nullable": true - }, - "deletedDateTime": { - "title": "Nullable", - "type": "string", - "format": "date-time", - "nullable": true - }, - "isDeleted": { - "type": "boolean" - } - } - }, "EmailContract": { "type": "object", "additionalProperties": false, @@ -10586,42 +10473,6 @@ } } }, - "LinkBaseContract": { - "type": "object", - "additionalProperties": false, - "properties": { - "address": { - "type": "string", - "nullable": true - }, - "type": { - "$ref": "#/components/schemas/LinkType" - }, - "uniqueIdentity": { - "type": "string", - "nullable": true - }, - "creationDateTime": { - "type": "string", - "format": "date-time" - }, - "modificationDateTime": { - "title": "Nullable", - "type": "string", - "format": "date-time", - "nullable": true - }, - "deletedDateTime": { - "title": "Nullable", - "type": "string", - "format": "date-time", - "nullable": true - }, - "isDeleted": { - "type": "boolean" - } - } - }, "LinkContract": { "type": "object", "additionalProperties": false, @@ -11383,50 +11234,6 @@ 254 ] }, - "PassportBaseContract": { - "type": "object", - "additionalProperties": false, - "properties": { - "countryShortName": { - "type": "string", - "nullable": true - }, - "holderNationalityType": { - "$ref": "#/components/schemas/NationalityType" - }, - "expirationDate": { - "type": "string", - "format": "date-time" - }, - "number": { - "type": "string", - "nullable": true - }, - "uniqueIdentity": { - "type": "string", - "nullable": true - }, - "creationDateTime": { - "type": "string", - "format": "date-time" - }, - "modificationDateTime": { - "title": "Nullable", - "type": "string", - "format": "date-time", - "nullable": true - }, - "deletedDateTime": { - "title": "Nullable", - "type": "string", - "format": "date-time", - "nullable": true - }, - "isDeleted": { - "type": "boolean" - } - } - }, "PassportContract": { "type": "object", "additionalProperties": false, @@ -11902,59 +11709,59 @@ "nullable": true }, "addresses": { - "title": "List", + "title": "List", "type": "array", "nullable": true, "items": { - "$ref": "#/components/schemas/AddressBaseContract" + "$ref": "#/components/schemas/AddressContract" } }, "emails": { - "title": "List", + "title": "List", "type": "array", "nullable": true, "items": { - "$ref": "#/components/schemas/EmailBaseContract" + "$ref": "#/components/schemas/EmailContract" } }, "passports": { - "title": "List", + "title": "List", "type": "array", "nullable": true, "items": { - "$ref": "#/components/schemas/PassportBaseContract" + "$ref": "#/components/schemas/PassportContract" } }, "phones": { - "title": "List", + "title": "List", "type": "array", "nullable": true, "items": { - "$ref": "#/components/schemas/PhoneBaseContract" + "$ref": "#/components/schemas/PhoneContract" } }, "certifications": { - "title": "List", + "title": "List", "type": "array", "nullable": true, "items": { - "$ref": "#/components/schemas/CertificationBaseContract" + "$ref": "#/components/schemas/CertificationContract" } }, "visas": { - "title": "List", + "title": "List", "type": "array", "nullable": true, "items": { - "$ref": "#/components/schemas/VisaBaseContract" + "$ref": "#/components/schemas/VisaContract" } }, "links": { - "title": "List", + "title": "List", "type": "array", "nullable": true, "items": { - "$ref": "#/components/schemas/LinkBaseContract" + "$ref": "#/components/schemas/LinkContract" } } } @@ -12197,42 +12004,6 @@ 10 ] }, - "PhoneBaseContract": { - "type": "object", - "additionalProperties": false, - "properties": { - "number": { - "type": "string", - "nullable": true - }, - "numberType": { - "$ref": "#/components/schemas/PhoneNumberType" - }, - "uniqueIdentity": { - "type": "string", - "nullable": true - }, - "creationDateTime": { - "type": "string", - "format": "date-time" - }, - "modificationDateTime": { - "title": "Nullable", - "type": "string", - "format": "date-time", - "nullable": true - }, - "deletedDateTime": { - "title": "Nullable", - "type": "string", - "format": "date-time", - "nullable": true - }, - "isDeleted": { - "type": "boolean" - } - } - }, "PhoneContract": { "type": "object", "additionalProperties": false, @@ -12965,59 +12736,59 @@ } }, "addresses": { - "title": "List", + "title": "List", "type": "array", "nullable": true, "items": { - "$ref": "#/components/schemas/AddressBaseContract" + "$ref": "#/components/schemas/UpdateAddressRequestContract" } }, "emails": { - "title": "List", + "title": "List", "type": "array", "nullable": true, "items": { - "$ref": "#/components/schemas/EmailBaseContract" + "$ref": "#/components/schemas/UpdateEmailRequestContract" } }, "passports": { - "title": "List", + "title": "List", "type": "array", "nullable": true, "items": { - "$ref": "#/components/schemas/PassportBaseContract" + "$ref": "#/components/schemas/UpdatePassportRequestContract" } }, "phones": { - "title": "List", + "title": "List", "type": "array", "nullable": true, "items": { - "$ref": "#/components/schemas/PhoneBaseContract" + "$ref": "#/components/schemas/UpdatePhoneRequestContract" } }, "certifications": { - "title": "List", + "title": "List", "type": "array", "nullable": true, "items": { - "$ref": "#/components/schemas/CertificationBaseContract" + "$ref": "#/components/schemas/UpdateCertificationRequestContract" } }, "visas": { - "title": "List", + "title": "List", "type": "array", "nullable": true, "items": { - "$ref": "#/components/schemas/VisaBaseContract" + "$ref": "#/components/schemas/UpdateVisaRequestContract" } }, "links": { - "title": "List", + "title": "List", "type": "array", "nullable": true, "items": { - "$ref": "#/components/schemas/LinkBaseContract" + "$ref": "#/components/schemas/UpdateLinkRequestContract" } }, "id": { @@ -13176,57 +12947,6 @@ } } }, - "VisaBaseContract": { - "type": "object", - "additionalProperties": false, - "properties": { - "entryDate": { - "title": "Nullable", - "type": "string", - "format": "date", - "nullable": true - }, - "exitDate": { - "title": "Nullable", - "type": "string", - "format": "date", - "nullable": true - }, - "duration": { - "title": "Nullable", - "type": "integer", - "format": "int32", - "nullable": true - }, - "number": { - "type": "string", - "nullable": true - }, - "uniqueIdentity": { - "type": "string", - "nullable": true - }, - "creationDateTime": { - "type": "string", - "format": "date-time" - }, - "modificationDateTime": { - "title": "Nullable", - "type": "string", - "format": "date-time", - "nullable": true - }, - "deletedDateTime": { - "title": "Nullable", - "type": "string", - "format": "date-time", - "nullable": true - }, - "isDeleted": { - "type": "boolean" - } - } - }, "VisaContract": { "type": "object", "additionalProperties": false, @@ -13439,6 +13159,19 @@ } } } + }, + "securitySchemes": { + "Bearer": { + "type": "apiKey", + "description": "JWT Authorization header using the Bearer scheme. \r\n\r\n Enter your token in the text input below.\r\n Example: \"Bearer {token}\"", + "name": "Authorization", + "in": "header" + } + } + }, + "security": [ + { + "Bearer": [] } - } + ] } \ No newline at end of file diff --git a/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/EasyMicroservices.CustomerMicroservice.Clients.csproj b/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/EasyMicroservices.CustomerMicroservice.Clients.csproj index 0ed161f..b0c8394 100644 --- a/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/EasyMicroservices.CustomerMicroservice.Clients.csproj +++ b/src/CSharp/EasyMicroservices.CustomerMicroservice.Clients/EasyMicroservices.CustomerMicroservice.Clients.csproj @@ -5,7 +5,7 @@ AnyCPU;x64;x86 EasyMicroservices true - 0.0.0.9 + 0.0.0.10 client generated code. EasyMicroservices@gmail.com microservice,address,person,visa,passport,phone,email,customer diff --git a/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Common/Persons/PersonContract.cs b/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Common/Persons/PersonContract.cs index 716b509..2f312c0 100644 --- a/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Common/Persons/PersonContract.cs +++ b/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Common/Persons/PersonContract.cs @@ -20,12 +20,12 @@ public class PersonContract : PersonBaseContract [ContentLanguage] public string LastName { get; set; } - public List Addresses { get; set; } - public List Emails { get; set; } - public List Passports { get; set; } - public List Phones { get; set; } - public List Certifications { get; set; } - public List Visas { get; set; } - public List Links { get; set; } + public List Addresses { get; set; } + public List Emails { get; set; } + public List Passports { get; set; } + public List Phones { get; set; } + public List Certifications { get; set; } + public List Visas { get; set; } + public List Links { get; set; } } } diff --git a/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Requests/Persons/CreatePersonRequestContract.cs b/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Requests/Persons/CreatePersonRequestContract.cs index a4c3a4f..49e4581 100644 --- a/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Requests/Persons/CreatePersonRequestContract.cs +++ b/src/CSharp/EasyMicroservices.CustomerMicroservice.Domain/Contracts/Requests/Persons/CreatePersonRequestContract.cs @@ -8,6 +8,13 @@ using EasyMicroservices.CustomerMicroservice.Contracts.Common.Persons; using EasyMicroservices.CustomerMicroservice.Contracts.Common.Phones; using EasyMicroservices.CustomerMicroservice.Contracts.Common.Visas; +using EasyMicroservices.CustomerMicroservice.Contracts.Requests.Addresses; +using EasyMicroservices.CustomerMicroservice.Contracts.Requests.Certifications; +using EasyMicroservices.CustomerMicroservice.Contracts.Requests.Emails; +using EasyMicroservices.CustomerMicroservice.Contracts.Requests.Links; +using EasyMicroservices.CustomerMicroservice.Contracts.Requests.Passports; +using EasyMicroservices.CustomerMicroservice.Contracts.Requests.Phones; +using EasyMicroservices.CustomerMicroservice.Contracts.Requests.Visas; using System.Collections.Generic; namespace EasyMicroservices.CustomerMicroservice.Contracts.Requests.Persons @@ -20,12 +27,12 @@ public class CreatePersonRequestContract : PersonBaseContract [ContentLanguage(nameof(PersonContract.LastName))] public List LastNames { get; set; } - public List Addresses { get; set; } - public List Emails { get; set; } - public List Passports { get; set; } - public List Phones { get; set; } - public List Certifications { get; set; } - public List Visas { get; set; } - public List Links { get; set; } + public List Addresses { get; set; } + public List Emails { get; set; } + public List Passports { get; set; } + public List Phones { get; set; } + public List Certifications { get; set; } + public List Visas { get; set; } + public List Links { get; set; } } } \ No newline at end of file