Skip to content

Commit

Permalink
14N Roaming Confirmations
Browse files Browse the repository at this point in the history
  • Loading branch information
Capucinimo committed Jan 26, 2022
1 parent 7052d65 commit e95b2ae
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 2 deletions.
7 changes: 7 additions & 0 deletions proto/Docflow/DocflowV3.proto
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ message ConfirmationDocflow
optional SignedAttachmentV3 ConfirmationAttachment = 2;
optional Timestamp ConfirmedAt = 3;
optional ReceiptDocflowV3 Receipt = 4;
optional OperatorConfirmationDocflow RoamingConfirmation = 5;
}

message OperatorConfirmationDocflow
{
optional SignedAttachmentV3 ConfirmationAttachment = 1;
optional Timestamp ConfirmedAt = 2;
}

message SignatureRejectionDocflow
Expand Down
1 change: 1 addition & 0 deletions proto/Events/DiadocMessage-GetApi.proto
Original file line number Diff line number Diff line change
Expand Up @@ -230,5 +230,6 @@ enum AttachmentType {
TemplateTransformation = 73;
TemplateRefusal = 74;
OuterDocflow = 75;
RoamingConfirmation = 76;
//Неизвестные типы должны обрабатываться как Title
}
3 changes: 2 additions & 1 deletion src/Com/AttachmentType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public enum AttachmentType
DeletionRestoration = 72,
TemplateTransformation = 73,
TemplateRefusal = 74,
OuterDocflow = 75
OuterDocflow = 75,
RoamingConfirmation = 76
}
}
18 changes: 18 additions & 0 deletions src/Com/DocflowsV3.cs
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ public interface IConfirmationDocflow
SignedAttachmentV3 ConfirmationAttachment { get; }
Timestamp ConfirmedAt { get; }
ReceiptDocflowV3 Receipt { get; }
OperatorConfirmationDocflow RoamingConfirmation { get; }
}

[ComVisible(true)]
Expand Down Expand Up @@ -857,6 +858,23 @@ public Com.GeneralReceiptStatus StatusValue
}
}

[ComVisible(true)]
[Guid("86f2f2c7-8d06-482a-a421-4ec66ed71d54")]
public interface IOperatorConfirmationDocflow
{
SignedAttachmentV3 ConfirmationAttachment { get; }
Timestamp ConfirmedAt { get; }
}

[ComVisible(true)]
[Guid("e9527227-3578-4abc-aabc-d591ce0b10f2")]
[ProgId("Diadoc.Api.OperatorConfirmationDocflow")]
[ClassInterface(ClassInterfaceType.None)]
[ComDefaultInterface(typeof(IOperatorConfirmationDocflow))]
public partial class OperatorConfirmationDocflow : SafeComObject, IOperatorConfirmationDocflow
{
}

[ComVisible(true)]
[Guid("6D431500-96A7-472E-B8F3-80FE0CD9D430")]
public interface IOuterDocflow
Expand Down
37 changes: 37 additions & 0 deletions src/Proto/Docflow/DocflowV3.proto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,43 @@ public Diadoc.Api.Proto.Docflow.ReceiptDocflowV3 Receipt
get { return _Receipt; }
set { _Receipt = value; }
}

private Diadoc.Api.Proto.Docflow.OperatorConfirmationDocflow _RoamingConfirmation = null;
[global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"RoamingConfirmation", DataFormat = global::ProtoBuf.DataFormat.Default)]
[global::System.ComponentModel.DefaultValue(null)]
public Diadoc.Api.Proto.Docflow.OperatorConfirmationDocflow RoamingConfirmation
{
get { return _RoamingConfirmation; }
set { _RoamingConfirmation = value; }
}
private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
}

[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"OperatorConfirmationDocflow")]
public partial class OperatorConfirmationDocflow : global::ProtoBuf.IExtensible
{
public OperatorConfirmationDocflow() {}


private Diadoc.Api.Proto.Docflow.SignedAttachmentV3 _ConfirmationAttachment = null;
[global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"ConfirmationAttachment", DataFormat = global::ProtoBuf.DataFormat.Default)]
[global::System.ComponentModel.DefaultValue(null)]
public Diadoc.Api.Proto.Docflow.SignedAttachmentV3 ConfirmationAttachment
{
get { return _ConfirmationAttachment; }
set { _ConfirmationAttachment = value; }
}

private Diadoc.Api.Proto.Timestamp _ConfirmedAt = null;
[global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"ConfirmedAt", DataFormat = global::ProtoBuf.DataFormat.Default)]
[global::System.ComponentModel.DefaultValue(null)]
public Diadoc.Api.Proto.Timestamp ConfirmedAt
{
get { return _ConfirmedAt; }
set { _ConfirmedAt = value; }
}
private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
Expand Down
5 changes: 4 additions & 1 deletion src/Proto/Events/DiadocMessage-GetApi.proto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,10 @@ public enum AttachmentType
TemplateRefusal = 74,

[global::ProtoBuf.ProtoEnum(Name=@"OuterDocflow", Value=75)]
OuterDocflow = 75
OuterDocflow = 75,

[global::ProtoBuf.ProtoEnum(Name=@"RoamingConfirmation", Value=76)]
RoamingConfirmation = 76
}

}

0 comments on commit e95b2ae

Please sign in to comment.