Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DGS-1720 Add ScenarioVersionInfo to Identification #184

Merged
merged 2 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip
- Add `approvedAt`, `deniedAt` and `denailMessage` to `Identification`
- Add `Identification.approve` endpoint and `Identification.deny` endpoint
- Add `notificationForSenderEmail` to `AccountSettings`
- Add `ScenarioVersionInfo` to `Identification`

### Changed
- Change `EnvelopeDocument.file` to nullable
Expand Down
1 change: 1 addition & 0 deletions src/Resource/Identification.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ class Identification extends BaseResource
public ?DateTime $approvedAt;
public ?DateTime $deniedAt;
public ?string $denialMessage;
public ?IdentifyScenarioVersionInfo $scenarioVersion;
}
13 changes: 13 additions & 0 deletions src/Resource/IdentifyScenarioVersionInfo.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

declare(strict_types=1);

namespace DigitalCz\DigiSign\Resource;

class IdentifyScenarioVersionInfo extends BaseResource
{
public string $id;
public int $version;
public string $approvalMode;
public IdentifyScenarioInfo $scenario;
}