1 #import <Foundation/Foundation.h>
2 #import <CoreData/CoreData.h>
3 #import "DSMEnvelopeHelperProtocol.h"
5 @class DSMDocument;
7 @class DSMRecipients;
8 @class DSMNotification;
9 @class DSMCustomFields;
10 @class DSMEmailSettings;
15 @interface DSMEnvelopeTemplate : NSObject <DSMEnvelopeHelperProtocol>
17 /* When set to DSMDisclosureSettingShownToRecipients, the disclosure is shown to
18  recipients in accordance with the account’s Electronic Record and Signature Disclosure
19  frequency setting. When set to DSMDisclosureSettingNotShownToRecipients, the Electronic
20  Record and Signature Disclosure is not shown to any envelope recipients.
21  If the `disclosureSetting` property is set to DSMDisclosureSettingUseAccountDisclosureSetting (default),
22  then the account's normal disclosure setting is used and the value of the `disclosureSetting` property
23  is not returned in responses when getting envelope information.
24  */
25 typedef enum {
29 } DSMDisclosureSetting;
34 @property (nonatomic, retain) DSMEnvelopeTemplateDefinition *envelopeTemplateDefinition;
39 @property (nonatomic, copy) NSArray<DSMDocument *> *documents;
44 @property (nonatomic, retain) DSMDocument *combinedDocument;
49 @property (nonatomic, retain) DSMRecipients *recipients;
54 @property (nonatomic, retain) DSMNotification *notification;
55 @property (nonatomic, retain) DSMCustomFields *customFields;
56 @property (nonatomic, retain) DSMEmailSettings *emailSettings;
60 @property (nonatomic, copy) NSString *transactionId;
64 @property (nonatomic, copy) NSString *status;
68 @property (nonatomic, copy) NSString *documentsUri;
72 @property (nonatomic, copy) NSString *recipientsUri;
76 @property (nonatomic, assign) BOOL asynchronous;
80 @property (nonatomic, copy) NSString *envelopeUri;
84 @property (nonatomic, copy) NSString *emailSubject;
88 @property (nonatomic, copy) NSString *emailBlurb;
92 @property (nonatomic, copy) NSString *envelopeId;
96 @property (nonatomic, copy) NSString *signingLocation;
100 @property (nonatomic, copy) NSString *customFieldsUri;
104 @property (nonatomic, assign) BOOL envelopeIdStamping;
108 @property (nonatomic, assign) BOOL authoritativeCopy;
112 @property (nonatomic, copy) NSString *notificationUri;
116 @property (nonatomic, assign) BOOL enforceSignerVisibility;
120 @property (nonatomic, assign) BOOL enableWetSign;
124 @property (nonatomic, assign) BOOL allowMarkup;
128 @property (nonatomic, assign) BOOL allowReassign;
132 @property (nonatomic, copy) NSDate *createdDateTime;
136 @property (nonatomic, copy) NSDate *lastModifiedDateTime;
140 @property (nonatomic, copy) NSDate *deliveredDateTime;
144 @property (nonatomic, copy) NSDate *sentDateTime;
148 @property (nonatomic, copy) NSDate *completedDateTime;
152 @property (nonatomic, copy) NSDate *voidedDateTime;
156 @property (nonatomic, copy) NSDate *cachedDateTime;
160 @property (nonatomic, copy) NSString *voidedReason;
164 @property (nonatomic, copy) NSDate *deletedDateTime;
168 @property (nonatomic, copy) NSDate *declinedDateTime;
172 @property (nonatomic, copy) NSDate *statusChangedDateTime;
176 @property (nonatomic, copy) NSString *documentsCombinedUri;
180 @property (nonatomic, copy) NSString *certificateUri;
184 @property (nonatomic, copy) NSString *templatesUri;
188 @property (nonatomic, assign) BOOL messageLock;
192 @property (nonatomic, assign) BOOL recipientsLock;
196 @property (nonatomic, assign) DSMDisclosureSetting disclosureSetting;
200 @property (nonatomic, copy) NSString *purgeState;
204 @property (nonatomic, assign) BOOL is21CFRPart11;
208 @property (nonatomic, assign) BOOL autoNavigation;
212 @property (nonatomic, assign) BOOL isSignatureProviderEnvelope;
216 @property (nonatomic, copy) NSString *brandId;
220 @property (nonatomic, assign) BOOL brandLock;
224 @property (nonatomic) NSInteger currentRoutingOrder;
226 @end
Definition: DSMCustomFields.h:9
Definition: DSMRecipients.h:8
Definition: DSMEmailSettings.h:7
Definition: DSMEnvelopeTemplate.h:25
Definition: DSMEnvelopeTemplate.h:15
Definition: DSMEnvelopeTemplateDefinition.h:8
Definition: DSMNotification.h:7
Definition: DSMDocument.h:7