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

feat: Support Sign Templates and new Sign Request statuses #920

Merged
merged 5 commits into from
Sep 7, 2023

Conversation

congminh1254
Copy link
Member

@congminh1254 congminh1254 commented Sep 5, 2023

Closes: SDK-3261
Closes: #916

Copy link
Contributor

@mwwoda mwwoda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job! I left some comments.

docs/sign-templates.md Outdated Show resolved Hide resolved
/// By default, we do not apply any expiration date on signature requests, and the signature request does not expire.
/// </summary>
[JsonProperty(PropertyName = FieldDaysValid)]
public virtual int? DaysValid { get; private set; }
Copy link
Contributor

@mwwoda mwwoda Sep 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason this property is set as nullable and all other value types (bools) are non-nullable?

Box.V2/Models/BoxSignTemplate.cs Outdated Show resolved Hide resolved
Box.V2/Models/BoxSignTemplateSigner.cs Outdated Show resolved Hide resolved
/// The x coordinate of the input field.
/// </summary>
[JsonProperty(PropertyName = FieldX)]
public virtual float X { get; private set; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use double

Box.V2/Models/BoxSignTemplateSigner.cs Outdated Show resolved Hide resolved
/// The height of the input field.
/// </summary>
[JsonProperty(PropertyName = FieldHeight)]
public virtual float Height { get; private set; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use double

Box.V2/Models/BoxSignTemplateSigner.cs Outdated Show resolved Hide resolved
@congminh1254 congminh1254 merged commit 78580fb into main Sep 7, 2023
6 checks passed
@congminh1254 congminh1254 deleted the support-sign-template branch September 7, 2023 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TemplateID Not allowed in signing api
2 participants