Skip to content

Commit

Permalink
Merge pull request #664 from alogicman/allow-editing-settings-with-de…
Browse files Browse the repository at this point in the history
…lay-send

Allow EditingSettingId in posting with DelaySend
  • Loading branch information
alogicman authored Mar 10, 2020
2 parents 43fcd41 + 72e65a4 commit e88f00c
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions proto/Docflow/DocumentInfoV3.proto
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ message DocumentInfoV3
optional DocumentDraftInfo DraftInfo = 16;
optional DocumentTemplateInfo TemplateInfo = 17;
optional Documents.Origin Origin = 18;
optional string EditingSettingId = 19 [default = ""];
}

message DocumentParticipants
Expand Down
1 change: 1 addition & 0 deletions proto/Events/DiadocMessage-PostApi.proto
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ message DocumentAttachment {
repeated MetadataItem Metadata = 15;
optional int32 WorkflowId = 16;
optional bool IsEncrypted = 17 [default = false];
optional string EditingSettingId = 18;
}

message MetadataItem {
Expand Down
1 change: 1 addition & 0 deletions src/Com/DocflowsV3.cs
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ public interface IDocumentInfoV3
DocumentTemplateInfo TemplateInfo { get; }
Origin Origin { get; }
Com.MessageType MessageTypeValue { get; }
string EditingSettingId { get; set; }
}

[ComVisible(true)]
Expand Down
9 changes: 9 additions & 0 deletions src/Proto/Docflow/DocumentInfoV3.proto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,15 @@ public Diadoc.Api.Proto.Documents.Origin Origin
get { return _Origin; }
set { _Origin = value; }
}

private string _EditingSettingId = "";
[global::ProtoBuf.ProtoMember(19, IsRequired = false, Name=@"EditingSettingId", DataFormat = global::ProtoBuf.DataFormat.Default)]
[global::System.ComponentModel.DefaultValue("")]
public string EditingSettingId
{
get { return _EditingSettingId; }
set { _EditingSettingId = 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
9 changes: 9 additions & 0 deletions src/Proto/Events/DiadocMessage-PostApi.proto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1774,6 +1774,15 @@ public bool IsEncrypted
get { return _IsEncrypted; }
set { _IsEncrypted = value; }
}

private string _EditingSettingId = "";
[global::ProtoBuf.ProtoMember(18, IsRequired = false, Name=@"EditingSettingId", DataFormat = global::ProtoBuf.DataFormat.Default)]
[global::System.ComponentModel.DefaultValue("")]
public string EditingSettingId
{
get { return _EditingSettingId; }
set { _EditingSettingId = 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
1 change: 1 addition & 0 deletions src/Proto/Events/DiadocMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1791,6 +1791,7 @@ public interface IDocumentAttachment
string Version { get; set; }
int WorkflowId { get; set; }
bool IsEncrypted { get; set; }
string EditingSettingId { get; set; }

void SetSignedContent([MarshalAs(UnmanagedType.IDispatch)] object signedContent);
void AddInitialDocumentId([MarshalAs(UnmanagedType.IDispatch)] object documentId);
Expand Down

0 comments on commit e88f00c

Please sign in to comment.