Skip to content

Commit

Permalink
New document event: SHARE_DOCUMENTS_REQUEST_SHARING_WITHDRAWN
Browse files Browse the repository at this point in the history
This event is generated whenever an active ShareDocumentsRequest is stopped
or the sharing is withdrawn. The same event is generated in either case.
This event is always generated for the Broker, not the Sender, so that
Brokers may poll events for a number of different Senders using the same
endpoint and parameters.
  • Loading branch information
hermanwh committed Apr 29, 2024
1 parent 67a6c55 commit e196042
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Digipost.Api.Client.Common/Enums/DocumentEventType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ public enum DocumentEventType
RequestForRegistrationDeliveredDigipost,
RequestForRegistrationFailed,
ShareDocumentsRequestDocumentsShared,
ShareDocumentsRequestSharingWithdrawn,
}
}
3 changes: 3 additions & 0 deletions Digipost.Api.Client.Common/Generated/Apidomain/V8.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2496,6 +2496,9 @@ public enum EventType

[System.Xml.Serialization.XmlEnumAttribute("SHARE_DOCUMENTS_REQUEST_DOCUMENTS_SHARED")]
ShareDocumentsRequestDocumentsShared,

[System.Xml.Serialization.XmlEnumAttribute("SHARE_DOCUMENTS_REQUEST_SHARING_WITHDRAWN")]
ShareDocumentsRequestSharingWithdrawn,
}

[System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "2.1.963.0")]
Expand Down
1 change: 1 addition & 0 deletions Digipost.Api.Client.Resources/Xsd/Data/api_v8.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -1119,6 +1119,7 @@
<xsd:enumeration value="REQUEST_FOR_REGISTRATION_DELIVERED_DIGIPOST" />
<xsd:enumeration value="REQUEST_FOR_REGISTRATION_FAILED" />
<xsd:enumeration value="SHARE_DOCUMENTS_REQUEST_DOCUMENTS_SHARED"/>
<xsd:enumeration value="SHARE_DOCUMENTS_REQUEST_SHARING_WITHDRAWN"/>
</xsd:restriction>
</xsd:simpleType>

Expand Down

0 comments on commit e196042

Please sign in to comment.