Releases: diadoc/diadocsdk-csharp
Add ON_NKORSCHFDOPPR_UserContract_1_996_03_05_01_03 user contracts
This release updates ucd736:
- types from ON_NKORSCHFDOPPR_UserContract_1_996_03_05_01_02 marked as obsolete
- added the actual ON_NKORSCHFDOPPR_UserContract_1_996_03_05_01_03
Removing the outdated method api UpdateMyUser
The UpdateMyUser api method and its model have been removed.
Removed models:
- The UserToUpdate model has been removed
Removed methods:
- UpdateMyUser method removed
Representative for the power of attorney
This release extends existing contracts and introduces new fields to work with powers of attorney.
Added a new structure in response to an API request - GetPowerOfAttorneyInfo.
The user can use the PowerOfAttorneyRepresentative response to determine the type of representative.
Types of representative:
- LegalEntity
- IndividualEntity
- PhysicalEntity
- LegalSubsidiaryEntity
- ForeignLegalSubsidiaryEntity
Add new ON_NSCHFDOPPR_UserContract_970_05_03_01 user contract
Updated tax rates for ON_NSCHFDOPPR_UserContract_970_05_02_01
This release adds new tax rate options into enum TaxRateUtd970
:
FivePercent
SevenPercent
NinePointZeroNinePercent
SixteenPointSixtySevenPercent
FiveFraction
SevenFraction
Root issuers for power of attorney
This release adds PowerOfAttorney.DelegationInfo.RootIssuers
- a list of previous issuers
Updated utd820 hyphen user contract
This release brings the newest version of ON_NSCHFDOPPR_UserContract_820_05_01_02_Hyphen.cs.
New shelf access methods
In this release, new methods have been added to work with the document shelf.
New Methods:
UploadFileToShelfV2(Async)
: A method for fully uploading a file to a shelf. The content size is limited to 512 KB. Returns the name of the uploaded file.UploadLargeFileToShelf(Async)
: A method for fully uploading a large file to a shelf. The content size is limited to 400 MB. Returns the name of the uploaded file.GetFileFromShelfV2(Async)
: A method for retrieving document content from the shelf by name. Returns an array of bytes
OIDC authentication
This release brings OIDC authentication. See https://developer.kontur.ru/docs/diadoc-api/index.html for more details.
Extended PowerOfAttorneyValidationStatus
This release provides an ability to see the details of power of attorney validation and adds new validation status HasWarnings
.
The details will be available after switching to the new power of attorney validation, which will take place in the middle of September.
Updated models:
PowerOfAttorneyValidationStatus
: added fieldsValidationProtocol
with details regarding power of attorney validation andOperationError
with description of an error occurred when validating a power of attorney; fieldErrors
has become obsolete although still contains errors from power of attorney validation.PowerOfAttorneyValidationStatusNamedId
: addedHasWarnings
status that depicts that a power of attorney is valid but during the validation some warnings occurred.
New models:
ValidationProtocol
: contains an array ofValidationCheckResult
(results of checks conducted during the validation).ValidationCheckResult
: contains information about a specific check conducted during the validation. Includes the following fields:Status
,Name
, and optionalError
(not null ifStatus
has valueWarning
orError
).PowerOfAttorneyValidationCheckStatus
: represents the status of validation check. Possible values:Ok
,Warning
,Error
.