texel-docusign 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -21,7 +21,7 @@ namespace :docusign do
21
21
  namespace :services do
22
22
  desc "Generate SOAP stubs for Salesforce API"
23
23
  task :generate do
24
- wsdl_path = File.expand_path(File.dirname(__FILE__) + "/lib/DocuSign3.0API.wsdl")
24
+ wsdl_path = File.expand_path(File.dirname(__FILE__) + "/lib/DocuSign3.0.10API.wsdl")
25
25
  wsdl2ruby('docusign', 'Docusign', "file://#{wsdl_path}")
26
26
  end
27
27
  end
data/docusign.gemspec CHANGED
@@ -17,7 +17,7 @@
17
17
 
18
18
  Gem::Specification.new do |s|
19
19
  s.name = %q{docusign}
20
- s.version = "0.2.1"
20
+ s.version = "0.2.2"
21
21
 
22
22
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
23
23
  s.authors = ["Leigh Caplan"]
data/lib/docusign.rb CHANGED
@@ -12,7 +12,7 @@
12
12
  # KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
13
13
  # IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
14
14
  # PARTICULAR PURPOSE.
15
-
15
+
16
16
  $LOAD_PATH << File.expand_path(File.dirname(__FILE__))
17
17
 
18
18
  gem 'soap4r'
@@ -22,4 +22,4 @@ require 'docusign/docusignDriver'
22
22
  require 'docusign/base'
23
23
  require 'docusign/auth_header_handler'
24
24
 
25
- Docusign::VERSION = '0.2'
25
+ Docusign::VERSION = '0.2'
@@ -19,17 +19,18 @@ module Docusign
19
19
  class AuthHeaderHandler < SOAP::Header::SimpleHandler
20
20
  NAMESPACE = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'
21
21
 
22
- attr_accessor :user_name, :password
22
+ attr_accessor :attributes
23
23
 
24
- def initialize(user_name, password)
25
- self.user_name = user_name
26
- self.password = password
24
+ def initialize(options={})
25
+ self.attributes = options
27
26
 
28
27
  super(XSD::QName.new(NAMESPACE, 'Security'))
29
28
  end
30
29
 
31
30
  def on_simple_outbound
32
- {"UsernameToken" => {"Username" => user_name, "Password" => password}}
31
+ if attributes[:user_name] && options[:password]
32
+ {"UsernameToken" => {"Username" => attributes[:user_name], "Password" => attributes[:password]}}
33
+ end
33
34
  end
34
35
  end
35
36
  end
data/lib/docusign/base.rb CHANGED
@@ -20,7 +20,11 @@ module Docusign
20
20
  def login(options={})
21
21
 
22
22
  connection = Docusign::APIServiceSoap.new
23
- header = AuthHeaderHandler.new(options.delete(:user_name), options.delete(:password))
23
+ header = AuthHeaderHandler.new(
24
+ :user_name => options.delete(:user_name),
25
+ :password => options.delete(:password),
26
+ :api_key => options.delete(:api_key)
27
+ )
24
28
 
25
29
  connection.headerhandler << header
26
30
 
@@ -33,6 +33,7 @@ module Docusign
33
33
  # authoritativeCopy - SOAP::SOAPBoolean
34
34
  # notification - Docusign::Notification
35
35
  # envelopeAttachment - Docusign::ArrayOfAttachment
36
+ # enforceSignerVisibility - SOAP::SOAPBoolean
36
37
  class Envelope
37
38
  attr_accessor :accountId
38
39
  attr_accessor :documents
@@ -48,8 +49,9 @@ class Envelope
48
49
  attr_accessor :authoritativeCopy
49
50
  attr_accessor :notification
50
51
  attr_accessor :envelopeAttachment
52
+ attr_accessor :enforceSignerVisibility
51
53
 
52
- def initialize(accountId = nil, documents = nil, recipients = nil, tabs = nil, subject = nil, emailBlurb = nil, signingLocation = nil, customFields = nil, vaultingOptions = nil, autoNavigation = nil, envelopeIdStamping = nil, authoritativeCopy = nil, notification = nil, envelopeAttachment = nil)
54
+ def initialize(accountId = nil, documents = nil, recipients = nil, tabs = nil, subject = nil, emailBlurb = nil, signingLocation = nil, customFields = nil, vaultingOptions = nil, autoNavigation = nil, envelopeIdStamping = nil, authoritativeCopy = nil, notification = nil, envelopeAttachment = nil, enforceSignerVisibility = nil)
53
55
  @accountId = accountId
54
56
  @documents = documents
55
57
  @recipients = recipients
@@ -64,6 +66,7 @@ class Envelope
64
66
  @authoritativeCopy = authoritativeCopy
65
67
  @notification = notification
66
68
  @envelopeAttachment = envelopeAttachment
69
+ @enforceSignerVisibility = enforceSignerVisibility
67
70
  end
68
71
  end
69
72
 
@@ -76,17 +79,52 @@ end
76
79
  # name - SOAP::SOAPString
77
80
  # pDFBytes - SOAP::SOAPBase64
78
81
  # password - SOAP::SOAPString
82
+ # transformPdfFields - SOAP::SOAPBoolean
83
+ # fileExtension - SOAP::SOAPString
84
+ # matchBoxes - Docusign::ArrayOfMatchBox
79
85
  class Document
80
86
  attr_accessor :iD
81
87
  attr_accessor :name
82
88
  attr_accessor :pDFBytes
83
89
  attr_accessor :password
90
+ attr_accessor :transformPdfFields
91
+ attr_accessor :fileExtension
92
+ attr_accessor :matchBoxes
84
93
 
85
- def initialize(iD = nil, name = nil, pDFBytes = nil, password = nil)
94
+ def initialize(iD = nil, name = nil, pDFBytes = nil, password = nil, transformPdfFields = nil, fileExtension = nil, matchBoxes = nil)
86
95
  @iD = iD
87
96
  @name = name
88
97
  @pDFBytes = pDFBytes
89
98
  @password = password
99
+ @transformPdfFields = transformPdfFields
100
+ @fileExtension = fileExtension
101
+ @matchBoxes = matchBoxes
102
+ end
103
+ end
104
+
105
+ # {http://www.docusign.net/API/3.0}ArrayOfMatchBox
106
+ class ArrayOfMatchBox < ::Array
107
+ end
108
+
109
+ # {http://www.docusign.net/API/3.0}MatchBox
110
+ # pageNumber - SOAP::SOAPPositiveInteger
111
+ # xPosition - SOAP::SOAPInt
112
+ # yPosition - SOAP::SOAPInt
113
+ # width - SOAP::SOAPInt
114
+ # height - SOAP::SOAPInt
115
+ class MatchBox
116
+ attr_accessor :pageNumber
117
+ attr_accessor :xPosition
118
+ attr_accessor :yPosition
119
+ attr_accessor :width
120
+ attr_accessor :height
121
+
122
+ def initialize(pageNumber = nil, xPosition = nil, yPosition = nil, width = nil, height = nil)
123
+ @pageNumber = pageNumber
124
+ @xPosition = xPosition
125
+ @yPosition = yPosition
126
+ @width = width
127
+ @height = height
90
128
  end
91
129
  end
92
130
 
@@ -97,6 +135,7 @@ end
97
135
  # {http://www.docusign.net/API/3.0}Recipient
98
136
  # iD - SOAP::SOAPPositiveInteger
99
137
  # userName - SOAP::SOAPString
138
+ # signerName - SOAP::SOAPString
100
139
  # email - SOAP::SOAPString
101
140
  # type - Docusign::RecipientTypeCode
102
141
  # accessCode - SOAP::SOAPString
@@ -111,9 +150,13 @@ end
111
150
  # autoNavigation - SOAP::SOAPBoolean
112
151
  # recipientAttachment - Docusign::ArrayOfAttachment
113
152
  # note - SOAP::SOAPString
153
+ # roleName - SOAP::SOAPString
154
+ # templateLocked - SOAP::SOAPBoolean
155
+ # templateRequired - SOAP::SOAPBoolean
114
156
  class Recipient
115
157
  attr_accessor :iD
116
158
  attr_accessor :userName
159
+ attr_accessor :signerName
117
160
  attr_accessor :email
118
161
  attr_accessor :type
119
162
  attr_accessor :accessCode
@@ -128,10 +171,14 @@ class Recipient
128
171
  attr_accessor :autoNavigation
129
172
  attr_accessor :recipientAttachment
130
173
  attr_accessor :note
174
+ attr_accessor :roleName
175
+ attr_accessor :templateLocked
176
+ attr_accessor :templateRequired
131
177
 
132
- def initialize(iD = nil, userName = nil, email = nil, type = nil, accessCode = nil, addAccessCodeToEmail = nil, requireIDLookup = nil, iDCheckConfigurationName = nil, signatureInfo = nil, captiveInfo = nil, customFields = nil, routingOrder = nil, iDCheckInformationInput = nil, autoNavigation = nil, recipientAttachment = nil, note = nil)
178
+ def initialize(iD = nil, userName = nil, signerName = nil, email = nil, type = nil, accessCode = nil, addAccessCodeToEmail = nil, requireIDLookup = nil, iDCheckConfigurationName = nil, signatureInfo = nil, captiveInfo = nil, customFields = nil, routingOrder = nil, iDCheckInformationInput = nil, autoNavigation = nil, recipientAttachment = nil, note = nil, roleName = nil, templateLocked = nil, templateRequired = nil)
133
179
  @iD = iD
134
180
  @userName = userName
181
+ @signerName = signerName
135
182
  @email = email
136
183
  @type = type
137
184
  @accessCode = accessCode
@@ -146,6 +193,9 @@ class Recipient
146
193
  @autoNavigation = autoNavigation
147
194
  @recipientAttachment = recipientAttachment
148
195
  @note = note
196
+ @roleName = roleName
197
+ @templateLocked = templateLocked
198
+ @templateRequired = templateRequired
149
199
  end
150
200
  end
151
201
 
@@ -356,7 +406,13 @@ end
356
406
  # customTabLocked - SOAP::SOAPBoolean
357
407
  # customTabDisableAutoSize - SOAP::SOAPBoolean
358
408
  # customTabListItems - SOAP::SOAPString
409
+ # customTabListValues - SOAP::SOAPString
410
+ # customTabListSelectedValue - SOAP::SOAPString
359
411
  # customTabRadioGroupName - SOAP::SOAPString
412
+ # customTabValidationPattern - SOAP::SOAPString
413
+ # customTabValidationMessage - SOAP::SOAPString
414
+ # templateLocked - SOAP::SOAPBoolean
415
+ # templateRequired - SOAP::SOAPBoolean
360
416
  class Tab
361
417
  attr_accessor :documentID
362
418
  attr_accessor :recipientID
@@ -375,9 +431,15 @@ class Tab
375
431
  attr_accessor :customTabLocked
376
432
  attr_accessor :customTabDisableAutoSize
377
433
  attr_accessor :customTabListItems
434
+ attr_accessor :customTabListValues
435
+ attr_accessor :customTabListSelectedValue
378
436
  attr_accessor :customTabRadioGroupName
437
+ attr_accessor :customTabValidationPattern
438
+ attr_accessor :customTabValidationMessage
439
+ attr_accessor :templateLocked
440
+ attr_accessor :templateRequired
379
441
 
380
- def initialize(documentID = nil, recipientID = nil, pageNumber = nil, xPosition = nil, yPosition = nil, anchorTabItem = nil, type = nil, name = nil, tabLabel = nil, value = nil, customTabType = nil, customTabWidth = nil, customTabHeight = nil, customTabRequired = nil, customTabLocked = nil, customTabDisableAutoSize = nil, customTabListItems = nil, customTabRadioGroupName = nil)
442
+ def initialize(documentID = nil, recipientID = nil, pageNumber = nil, xPosition = nil, yPosition = nil, anchorTabItem = nil, type = nil, name = nil, tabLabel = nil, value = nil, customTabType = nil, customTabWidth = nil, customTabHeight = nil, customTabRequired = nil, customTabLocked = nil, customTabDisableAutoSize = nil, customTabListItems = nil, customTabListValues = nil, customTabListSelectedValue = nil, customTabRadioGroupName = nil, customTabValidationPattern = nil, customTabValidationMessage = nil, templateLocked = nil, templateRequired = nil)
381
443
  @documentID = documentID
382
444
  @recipientID = recipientID
383
445
  @pageNumber = pageNumber
@@ -395,7 +457,13 @@ class Tab
395
457
  @customTabLocked = customTabLocked
396
458
  @customTabDisableAutoSize = customTabDisableAutoSize
397
459
  @customTabListItems = customTabListItems
460
+ @customTabListValues = customTabListValues
461
+ @customTabListSelectedValue = customTabListSelectedValue
398
462
  @customTabRadioGroupName = customTabRadioGroupName
463
+ @customTabValidationPattern = customTabValidationPattern
464
+ @customTabValidationMessage = customTabValidationMessage
465
+ @templateLocked = templateLocked
466
+ @templateRequired = templateRequired
399
467
  end
400
468
  end
401
469
 
@@ -538,6 +606,8 @@ end
538
606
  # envelopeIdStamping - SOAP::SOAPBoolean
539
607
  # authoritativeCopy - SOAP::SOAPBoolean
540
608
  # envelopeAttachment - Docusign::ArrayOfAttachment
609
+ # documentStatuses - Docusign::ArrayOfDocumentStatus
610
+ # formData - Docusign::FormData
541
611
  class EnvelopeStatus
542
612
  attr_accessor :recipientStatuses
543
613
  attr_accessor :timeGenerated
@@ -568,8 +638,10 @@ class EnvelopeStatus
568
638
  attr_accessor :envelopeIdStamping
569
639
  attr_accessor :authoritativeCopy
570
640
  attr_accessor :envelopeAttachment
641
+ attr_accessor :documentStatuses
642
+ attr_accessor :formData
571
643
 
572
- def initialize(recipientStatuses = nil, timeGenerated = nil, envelopeID = nil, subject = nil, userName = nil, email = nil, status = nil, created = nil, deleted = nil, sent = nil, delivered = nil, signed = nil, completed = nil, declined = nil, timedOut = nil, aCStatus = nil, aCStatusDate = nil, aCHolder = nil, aCHolderEmail = nil, aCHolderLocation = nil, signingLocation = nil, senderIPAddress = nil, envelopePDFHash = nil, customFields = nil, vaultingDetails = nil, autoNavigation = nil, envelopeIdStamping = nil, authoritativeCopy = nil, envelopeAttachment = nil)
644
+ def initialize(recipientStatuses = nil, timeGenerated = nil, envelopeID = nil, subject = nil, userName = nil, email = nil, status = nil, created = nil, deleted = nil, sent = nil, delivered = nil, signed = nil, completed = nil, declined = nil, timedOut = nil, aCStatus = nil, aCStatusDate = nil, aCHolder = nil, aCHolderEmail = nil, aCHolderLocation = nil, signingLocation = nil, senderIPAddress = nil, envelopePDFHash = nil, customFields = nil, vaultingDetails = nil, autoNavigation = nil, envelopeIdStamping = nil, authoritativeCopy = nil, envelopeAttachment = nil, documentStatuses = nil, formData = nil)
573
645
  @recipientStatuses = recipientStatuses
574
646
  @timeGenerated = timeGenerated
575
647
  @envelopeID = envelopeID
@@ -599,6 +671,8 @@ class EnvelopeStatus
599
671
  @envelopeIdStamping = envelopeIdStamping
600
672
  @authoritativeCopy = authoritativeCopy
601
673
  @envelopeAttachment = envelopeAttachment
674
+ @documentStatuses = documentStatuses
675
+ @formData = formData
602
676
  end
603
677
  end
604
678
 
@@ -625,6 +699,9 @@ end
625
699
  # customFields - Docusign::ArrayOfString
626
700
  # tabStatuses - Docusign::ArrayOfTabStatus
627
701
  # recipientAttachment - Docusign::ArrayOfAttachment
702
+ # accountStatus - SOAP::SOAPString
703
+ # esignAgreementInformation - Docusign::RecipientStatusEsignAgreementInformation
704
+ # formData - Docusign::FormData
628
705
  class RecipientStatus
629
706
  attr_accessor :type
630
707
  attr_accessor :email
@@ -644,8 +721,11 @@ class RecipientStatus
644
721
  attr_accessor :customFields
645
722
  attr_accessor :tabStatuses
646
723
  attr_accessor :recipientAttachment
724
+ attr_accessor :accountStatus
725
+ attr_accessor :esignAgreementInformation
726
+ attr_accessor :formData
647
727
 
648
- def initialize(type = nil, email = nil, userName = nil, routingOrder = nil, sent = nil, delivered = nil, signed = nil, declined = nil, declineReason = nil, status = nil, recipientIPAddress = nil, clientUserId = nil, autoNavigation = nil, iDCheckInformation = nil, recipientAuthenticationStatus = nil, customFields = nil, tabStatuses = nil, recipientAttachment = nil)
728
+ def initialize(type = nil, email = nil, userName = nil, routingOrder = nil, sent = nil, delivered = nil, signed = nil, declined = nil, declineReason = nil, status = nil, recipientIPAddress = nil, clientUserId = nil, autoNavigation = nil, iDCheckInformation = nil, recipientAuthenticationStatus = nil, customFields = nil, tabStatuses = nil, recipientAttachment = nil, accountStatus = nil, esignAgreementInformation = nil, formData = nil)
649
729
  @type = type
650
730
  @email = email
651
731
  @userName = userName
@@ -664,6 +744,9 @@ class RecipientStatus
664
744
  @customFields = customFields
665
745
  @tabStatuses = tabStatuses
666
746
  @recipientAttachment = recipientAttachment
747
+ @accountStatus = accountStatus
748
+ @esignAgreementInformation = esignAgreementInformation
749
+ @formData = formData
667
750
  end
668
751
  end
669
752
 
@@ -734,6 +817,13 @@ end
734
817
  # tabLabel - SOAP::SOAPString
735
818
  # tabName - SOAP::SOAPString
736
819
  # tabValue - SOAP::SOAPString
820
+ # documentID - SOAP::SOAPPositiveInteger
821
+ # pageNumber - SOAP::SOAPNonNegativeInteger
822
+ # originalValue - SOAP::SOAPString
823
+ # validationPattern - SOAP::SOAPString
824
+ # roleName - SOAP::SOAPString
825
+ # listValues - SOAP::SOAPString
826
+ # listSelectedValue - SOAP::SOAPString
737
827
  class TabStatus
738
828
  attr_accessor :tabType
739
829
  attr_accessor :status
@@ -743,8 +833,15 @@ class TabStatus
743
833
  attr_accessor :tabLabel
744
834
  attr_accessor :tabName
745
835
  attr_accessor :tabValue
836
+ attr_accessor :documentID
837
+ attr_accessor :pageNumber
838
+ attr_accessor :originalValue
839
+ attr_accessor :validationPattern
840
+ attr_accessor :roleName
841
+ attr_accessor :listValues
842
+ attr_accessor :listSelectedValue
746
843
 
747
- def initialize(tabType = nil, status = nil, xPosition = nil, yPosition = nil, signed = nil, tabLabel = nil, tabName = nil, tabValue = nil)
844
+ def initialize(tabType = nil, status = nil, xPosition = nil, yPosition = nil, signed = nil, tabLabel = nil, tabName = nil, tabValue = nil, documentID = nil, pageNumber = nil, originalValue = nil, validationPattern = nil, roleName = nil, listValues = nil, listSelectedValue = nil)
748
845
  @tabType = tabType
749
846
  @status = status
750
847
  @xPosition = xPosition
@@ -753,6 +850,79 @@ class TabStatus
753
850
  @tabLabel = tabLabel
754
851
  @tabName = tabName
755
852
  @tabValue = tabValue
853
+ @documentID = documentID
854
+ @pageNumber = pageNumber
855
+ @originalValue = originalValue
856
+ @validationPattern = validationPattern
857
+ @roleName = roleName
858
+ @listValues = listValues
859
+ @listSelectedValue = listSelectedValue
860
+ end
861
+ end
862
+
863
+ # {http://www.docusign.net/API/3.0}RecipientStatusEsignAgreementInformation
864
+ # accountEsignId - SOAP::SOAPString
865
+ # userEsignId - SOAP::SOAPString
866
+ # agreementDate - SOAP::SOAPDateTime
867
+ class RecipientStatusEsignAgreementInformation
868
+ attr_accessor :accountEsignId
869
+ attr_accessor :userEsignId
870
+ attr_accessor :agreementDate
871
+
872
+ def initialize(accountEsignId = nil, userEsignId = nil, agreementDate = nil)
873
+ @accountEsignId = accountEsignId
874
+ @userEsignId = userEsignId
875
+ @agreementDate = agreementDate
876
+ end
877
+ end
878
+
879
+ # {http://www.docusign.net/API/3.0}FormData
880
+ # xfdf - Docusign::FormDataXfdf
881
+ class FormData
882
+ attr_accessor :xfdf
883
+
884
+ def initialize(xfdf = nil)
885
+ @xfdf = xfdf
886
+ end
887
+ end
888
+
889
+ # {http://www.docusign.net/API/3.0}FormDataXfdf
890
+ # fields - Docusign::ArrayOfFormDataXfdfField
891
+ class FormDataXfdf
892
+ attr_accessor :fields
893
+
894
+ def initialize(fields = nil)
895
+ @fields = fields
896
+ end
897
+ end
898
+
899
+ # {http://www.docusign.net/API/3.0}ArrayOfFormDataXfdfField
900
+ class ArrayOfFormDataXfdfField < ::Array
901
+ end
902
+
903
+ # {http://www.docusign.net/API/3.0}FormDataXfdfField
904
+ # value - SOAP::SOAPString
905
+ # xmlattr_name - SOAP::SOAPString
906
+ class FormDataXfdfField
907
+ AttrName = XSD::QName.new(nil, "name")
908
+
909
+ attr_accessor :value
910
+
911
+ def __xmlattr
912
+ @__xmlattr ||= {}
913
+ end
914
+
915
+ def xmlattr_name
916
+ __xmlattr[AttrName]
917
+ end
918
+
919
+ def xmlattr_name=(value)
920
+ __xmlattr[AttrName] = value
921
+ end
922
+
923
+ def initialize(value = nil)
924
+ @value = value
925
+ @__xmlattr = {}
756
926
  end
757
927
  end
758
928
 
@@ -772,6 +942,29 @@ class VaultingDetails
772
942
  end
773
943
  end
774
944
 
945
+ # {http://www.docusign.net/API/3.0}ArrayOfDocumentStatus
946
+ class ArrayOfDocumentStatus < ::Array
947
+ end
948
+
949
+ # {http://www.docusign.net/API/3.0}DocumentStatus
950
+ # iD - SOAP::SOAPPositiveInteger
951
+ # name - SOAP::SOAPString
952
+ # templateName - SOAP::SOAPString
953
+ # sequence - SOAP::SOAPPositiveInteger
954
+ class DocumentStatus
955
+ attr_accessor :iD
956
+ attr_accessor :name
957
+ attr_accessor :templateName
958
+ attr_accessor :sequence
959
+
960
+ def initialize(iD = nil, name = nil, templateName = nil, sequence = nil)
961
+ @iD = iD
962
+ @name = name
963
+ @templateName = templateName
964
+ @sequence = sequence
965
+ end
966
+ end
967
+
775
968
  # {http://www.docusign.net/API/3.0}Correction
776
969
  # envelopeID - SOAP::SOAPString
777
970
  # envelopeSettingsCorrection - Docusign::EnvelopeSettings
@@ -809,7 +1002,9 @@ end
809
1002
  # previousUserName - SOAP::SOAPString
810
1003
  # previousEmail - SOAP::SOAPString
811
1004
  # previousRoutingOrder - SOAP::SOAPUnsignedShort
1005
+ # previousSignerName - SOAP::SOAPString
812
1006
  # correctedUserName - SOAP::SOAPString
1007
+ # correctedSignerName - SOAP::SOAPString
813
1008
  # correctedEmail - SOAP::SOAPString
814
1009
  # correctedCaptiveInfo - Docusign::RecipientCorrectionCorrectedCaptiveInfo
815
1010
  # correctedAccessCode - SOAP::SOAPString
@@ -824,7 +1019,9 @@ class RecipientCorrection
824
1019
  attr_accessor :previousUserName
825
1020
  attr_accessor :previousEmail
826
1021
  attr_accessor :previousRoutingOrder
1022
+ attr_accessor :previousSignerName
827
1023
  attr_accessor :correctedUserName
1024
+ attr_accessor :correctedSignerName
828
1025
  attr_accessor :correctedEmail
829
1026
  attr_accessor :correctedCaptiveInfo
830
1027
  attr_accessor :correctedAccessCode
@@ -836,11 +1033,13 @@ class RecipientCorrection
836
1033
  attr_accessor :correctedIDCheckInformationInput
837
1034
  attr_accessor :resend
838
1035
 
839
- def initialize(previousUserName = nil, previousEmail = nil, previousRoutingOrder = nil, correctedUserName = nil, correctedEmail = nil, correctedCaptiveInfo = nil, correctedAccessCode = nil, correctedAccessCodeRequired = nil, correctedRequireIDLookup = nil, correctedIDCheckConfigurationName = nil, correctedRoutingOrder = nil, correctedAutoNavigation = nil, correctedIDCheckInformationInput = nil, resend = nil)
1036
+ def initialize(previousUserName = nil, previousEmail = nil, previousRoutingOrder = nil, previousSignerName = nil, correctedUserName = nil, correctedSignerName = nil, correctedEmail = nil, correctedCaptiveInfo = nil, correctedAccessCode = nil, correctedAccessCodeRequired = nil, correctedRequireIDLookup = nil, correctedIDCheckConfigurationName = nil, correctedRoutingOrder = nil, correctedAutoNavigation = nil, correctedIDCheckInformationInput = nil, resend = nil)
840
1037
  @previousUserName = previousUserName
841
1038
  @previousEmail = previousEmail
842
1039
  @previousRoutingOrder = previousRoutingOrder
1040
+ @previousSignerName = previousSignerName
843
1041
  @correctedUserName = correctedUserName
1042
+ @correctedSignerName = correctedSignerName
844
1043
  @correctedEmail = correctedEmail
845
1044
  @correctedCaptiveInfo = correctedCaptiveInfo
846
1045
  @correctedAccessCode = correctedAccessCode
@@ -926,13 +1125,19 @@ end
926
1125
  # {http://www.docusign.net/API/3.0}DocumentPDF
927
1126
  # name - SOAP::SOAPString
928
1127
  # pDFBytes - SOAP::SOAPBase64
1128
+ # documentID - SOAP::SOAPPositiveInteger
1129
+ # documentType - Docusign::DocumentType
929
1130
  class DocumentPDF
930
1131
  attr_accessor :name
931
1132
  attr_accessor :pDFBytes
1133
+ attr_accessor :documentID
1134
+ attr_accessor :documentType
932
1135
 
933
- def initialize(name = nil, pDFBytes = nil)
1136
+ def initialize(name = nil, pDFBytes = nil, documentID = nil, documentType = nil)
934
1137
  @name = name
935
1138
  @pDFBytes = pDFBytes
1139
+ @documentID = documentID
1140
+ @documentType = documentType
936
1141
  end
937
1142
  end
938
1143
 
@@ -1052,18 +1257,44 @@ end
1052
1257
  # userName - SOAP::SOAPString
1053
1258
  # email - SOAP::SOAPString
1054
1259
  # esign - SOAP::SOAPBoolean
1260
+ # reservedRecipientEmail - SOAP::SOAPBoolean
1261
+ # reservedRecipientNames - SOAP::SOAPString
1055
1262
  class RecipientEsign
1056
1263
  attr_accessor :userName
1057
1264
  attr_accessor :email
1058
1265
  attr_accessor :esign
1266
+ attr_accessor :reservedRecipientEmail
1267
+ attr_accessor :reservedRecipientNames
1059
1268
 
1060
- def initialize(userName = nil, email = nil, esign = nil)
1269
+ def initialize(userName = nil, email = nil, esign = nil, reservedRecipientEmail = nil, reservedRecipientNames = nil)
1061
1270
  @userName = userName
1062
1271
  @email = email
1063
1272
  @esign = esign
1273
+ @reservedRecipientEmail = reservedRecipientEmail
1274
+ @reservedRecipientNames = reservedRecipientNames
1064
1275
  end
1065
1276
  end
1066
1277
 
1278
+ # {http://www.docusign.net/API/3.0}RecipientList
1279
+ # reservedRecipientEmail - SOAP::SOAPBoolean
1280
+ # multipleUsers - SOAP::SOAPBoolean
1281
+ # recipientName - Docusign::ArrayOfString2
1282
+ class RecipientList
1283
+ attr_accessor :reservedRecipientEmail
1284
+ attr_accessor :multipleUsers
1285
+ attr_accessor :recipientName
1286
+
1287
+ def initialize(reservedRecipientEmail = nil, multipleUsers = nil, recipientName = nil)
1288
+ @reservedRecipientEmail = reservedRecipientEmail
1289
+ @multipleUsers = multipleUsers
1290
+ @recipientName = recipientName
1291
+ end
1292
+ end
1293
+
1294
+ # {http://www.docusign.net/API/3.0}ArrayOfString2
1295
+ class ArrayOfString2 < ::Array
1296
+ end
1297
+
1067
1298
  # {http://www.docusign.net/API/3.0}VoidEnvelopeStatus
1068
1299
  # voidSuccess - SOAP::SOAPBoolean
1069
1300
  class VoidEnvelopeStatus
@@ -1140,7 +1371,7 @@ end
1140
1371
  # {http://www.docusign.net/API/3.0}AccountMembershipFeaturesList
1141
1372
  # email - SOAP::SOAPString
1142
1373
  # userName - SOAP::SOAPString
1143
- # enabledFeaturesSet - Docusign::ArrayOfString2
1374
+ # enabledFeaturesSet - Docusign::ArrayOfString3
1144
1375
  class AccountMembershipFeaturesList
1145
1376
  attr_accessor :email
1146
1377
  attr_accessor :userName
@@ -1153,8 +1384,31 @@ class AccountMembershipFeaturesList
1153
1384
  end
1154
1385
  end
1155
1386
 
1156
- # {http://www.docusign.net/API/3.0}ArrayOfString2
1157
- class ArrayOfString2 < ::Array
1387
+ # {http://www.docusign.net/API/3.0}ArrayOfString3
1388
+ class ArrayOfString3 < ::Array
1389
+ end
1390
+
1391
+ # {http://www.docusign.net/API/3.0}AccountSettingsList
1392
+ class AccountSettingsList < ::Array
1393
+ end
1394
+
1395
+ # {http://www.docusign.net/API/3.0}AccountSetting
1396
+ # name - SOAP::SOAPString
1397
+ # value - SOAP::SOAPString
1398
+ # type - SOAP::SOAPString
1399
+ # testSetting - SOAP::SOAPString
1400
+ class AccountSetting
1401
+ attr_accessor :name
1402
+ attr_accessor :value
1403
+ attr_accessor :type
1404
+ attr_accessor :testSetting
1405
+
1406
+ def initialize(name = nil, value = nil, type = nil, testSetting = nil)
1407
+ @name = name
1408
+ @value = value
1409
+ @type = type
1410
+ @testSetting = testSetting
1411
+ end
1158
1412
  end
1159
1413
 
1160
1414
  # {http://www.docusign.net/API/3.0}AuthoritativeCopyExportStatus
@@ -1192,10 +1446,288 @@ class AuthoritativeCopyExportDocuments
1192
1446
  end
1193
1447
  end
1194
1448
 
1449
+ # {http://www.docusign.net/API/3.0}ArrayOfTemplateReference
1450
+ class ArrayOfTemplateReference < ::Array
1451
+ end
1452
+
1453
+ # {http://www.docusign.net/API/3.0}TemplateReference
1454
+ # templateLocation - Docusign::TemplateLocationCode
1455
+ # template - SOAP::SOAPString
1456
+ # document - Docusign::Document
1457
+ # roleAssignments - Docusign::ArrayOfTemplateReferenceRoleAssignment
1458
+ # fieldData - Docusign::TemplateReferenceFieldData
1459
+ # additionalTabs - Docusign::ArrayOfTab
1460
+ # sequence - SOAP::SOAPPositiveInteger
1461
+ # templateAttachments - Docusign::ArrayOfAttachment
1462
+ class TemplateReference
1463
+ attr_accessor :templateLocation
1464
+ attr_accessor :template
1465
+ attr_accessor :document
1466
+ attr_accessor :roleAssignments
1467
+ attr_accessor :fieldData
1468
+ attr_accessor :additionalTabs
1469
+ attr_accessor :sequence
1470
+ attr_accessor :templateAttachments
1471
+
1472
+ def initialize(templateLocation = nil, template = nil, document = nil, roleAssignments = nil, fieldData = nil, additionalTabs = nil, sequence = nil, templateAttachments = nil)
1473
+ @templateLocation = templateLocation
1474
+ @template = template
1475
+ @document = document
1476
+ @roleAssignments = roleAssignments
1477
+ @fieldData = fieldData
1478
+ @additionalTabs = additionalTabs
1479
+ @sequence = sequence
1480
+ @templateAttachments = templateAttachments
1481
+ end
1482
+ end
1483
+
1484
+ # {http://www.docusign.net/API/3.0}ArrayOfTemplateReferenceRoleAssignment
1485
+ class ArrayOfTemplateReferenceRoleAssignment < ::Array
1486
+ end
1487
+
1488
+ # {http://www.docusign.net/API/3.0}TemplateReferenceRoleAssignment
1489
+ # roleName - SOAP::SOAPString
1490
+ # recipientID - SOAP::SOAPPositiveInteger
1491
+ class TemplateReferenceRoleAssignment
1492
+ attr_accessor :roleName
1493
+ attr_accessor :recipientID
1494
+
1495
+ def initialize(roleName = nil, recipientID = nil)
1496
+ @roleName = roleName
1497
+ @recipientID = recipientID
1498
+ end
1499
+ end
1500
+
1501
+ # {http://www.docusign.net/API/3.0}TemplateReferenceFieldData
1502
+ # dataValues - Docusign::ArrayOfTemplateReferenceFieldDataDataValue
1503
+ class TemplateReferenceFieldData
1504
+ attr_accessor :dataValues
1505
+
1506
+ def initialize(dataValues = nil)
1507
+ @dataValues = dataValues
1508
+ end
1509
+ end
1510
+
1511
+ # {http://www.docusign.net/API/3.0}ArrayOfTemplateReferenceFieldDataDataValue
1512
+ class ArrayOfTemplateReferenceFieldDataDataValue < ::Array
1513
+ end
1514
+
1515
+ # {http://www.docusign.net/API/3.0}TemplateReferenceFieldDataDataValue
1516
+ # tabLabel - SOAP::SOAPString
1517
+ # value - SOAP::SOAPString
1518
+ class TemplateReferenceFieldDataDataValue
1519
+ attr_accessor :tabLabel
1520
+ attr_accessor :value
1521
+
1522
+ def initialize(tabLabel = nil, value = nil)
1523
+ @tabLabel = tabLabel
1524
+ @value = value
1525
+ end
1526
+ end
1527
+
1528
+ # {http://www.docusign.net/API/3.0}ArrayOfRecipient1
1529
+ class ArrayOfRecipient1 < ::Array
1530
+ end
1531
+
1532
+ # {http://www.docusign.net/API/3.0}EnvelopeInformation
1533
+ # accountId - SOAP::SOAPString
1534
+ # emailBlurb - SOAP::SOAPString
1535
+ # subject - SOAP::SOAPString
1536
+ # signingLocation - Docusign::SigningLocationCode
1537
+ # customFields - Docusign::ArrayOfCustomField
1538
+ # vaultingOptions - Docusign::VaultingOptions
1539
+ # autoNavigation - SOAP::SOAPBoolean
1540
+ # envelopeIdStamping - SOAP::SOAPBoolean
1541
+ # authoritativeCopy - SOAP::SOAPBoolean
1542
+ # notification - Docusign::Notification
1543
+ # enforceSignerVisibility - SOAP::SOAPBoolean
1544
+ class EnvelopeInformation
1545
+ attr_accessor :accountId
1546
+ attr_accessor :emailBlurb
1547
+ attr_accessor :subject
1548
+ attr_accessor :signingLocation
1549
+ attr_accessor :customFields
1550
+ attr_accessor :vaultingOptions
1551
+ attr_accessor :autoNavigation
1552
+ attr_accessor :envelopeIdStamping
1553
+ attr_accessor :authoritativeCopy
1554
+ attr_accessor :notification
1555
+ attr_accessor :enforceSignerVisibility
1556
+
1557
+ def initialize(accountId = nil, emailBlurb = nil, subject = nil, signingLocation = nil, customFields = nil, vaultingOptions = nil, autoNavigation = nil, envelopeIdStamping = nil, authoritativeCopy = nil, notification = nil, enforceSignerVisibility = nil)
1558
+ @accountId = accountId
1559
+ @emailBlurb = emailBlurb
1560
+ @subject = subject
1561
+ @signingLocation = signingLocation
1562
+ @customFields = customFields
1563
+ @vaultingOptions = vaultingOptions
1564
+ @autoNavigation = autoNavigation
1565
+ @envelopeIdStamping = envelopeIdStamping
1566
+ @authoritativeCopy = authoritativeCopy
1567
+ @notification = notification
1568
+ @enforceSignerVisibility = enforceSignerVisibility
1569
+ end
1570
+ end
1571
+
1572
+ # {http://www.docusign.net/API/3.0}DocuSignEnvelopeInformation
1573
+ # envelopeStatus - Docusign::EnvelopeStatus
1574
+ # documentPDFs - Docusign::ArrayOfDocumentPDF
1575
+ class DocuSignEnvelopeInformation
1576
+ attr_accessor :envelopeStatus
1577
+ attr_accessor :documentPDFs
1578
+
1579
+ def initialize(envelopeStatus = nil, documentPDFs = nil)
1580
+ @envelopeStatus = envelopeStatus
1581
+ @documentPDFs = documentPDFs
1582
+ end
1583
+ end
1584
+
1585
+ # {http://www.docusign.net/API/3.0}ArrayOfDocumentPDF
1586
+ class ArrayOfDocumentPDF < ::Array
1587
+ end
1588
+
1589
+ # {http://www.docusign.net/API/3.0}PurgeDocumentStatus
1590
+ # purgeDocumentSuccess - SOAP::SOAPBoolean
1591
+ # purgeDocumentError - SOAP::SOAPString
1592
+ class PurgeDocumentStatus
1593
+ attr_accessor :purgeDocumentSuccess
1594
+ attr_accessor :purgeDocumentError
1595
+
1596
+ def initialize(purgeDocumentSuccess = nil, purgeDocumentError = nil)
1597
+ @purgeDocumentSuccess = purgeDocumentSuccess
1598
+ @purgeDocumentError = purgeDocumentError
1599
+ end
1600
+ end
1601
+
1602
+ # {http://www.docusign.net/API/3.0}EnvelopeTemplate
1603
+ # envelopeTemplateDefinition - Docusign::EnvelopeTemplateDefinition
1604
+ # envelope - Docusign::Envelope
1605
+ class EnvelopeTemplate
1606
+ attr_accessor :envelopeTemplateDefinition
1607
+ attr_accessor :envelope
1608
+
1609
+ def initialize(envelopeTemplateDefinition = nil, envelope = nil)
1610
+ @envelopeTemplateDefinition = envelopeTemplateDefinition
1611
+ @envelope = envelope
1612
+ end
1613
+ end
1614
+
1615
+ # {http://www.docusign.net/API/3.0}EnvelopeTemplateDefinition
1616
+ # templateID - SOAP::SOAPString
1617
+ # name - SOAP::SOAPString
1618
+ # shared - SOAP::SOAPBoolean
1619
+ # templatePassword - SOAP::SOAPString
1620
+ # templateDescription - SOAP::SOAPString
1621
+ # lastModified - SOAP::SOAPDateTime
1622
+ # pageCount - SOAP::SOAPInt
1623
+ class EnvelopeTemplateDefinition
1624
+ attr_accessor :templateID
1625
+ attr_accessor :name
1626
+ attr_accessor :shared
1627
+ attr_accessor :templatePassword
1628
+ attr_accessor :templateDescription
1629
+ attr_accessor :lastModified
1630
+ attr_accessor :pageCount
1631
+
1632
+ def initialize(templateID = nil, name = nil, shared = nil, templatePassword = nil, templateDescription = nil, lastModified = nil, pageCount = nil)
1633
+ @templateID = templateID
1634
+ @name = name
1635
+ @shared = shared
1636
+ @templatePassword = templatePassword
1637
+ @templateDescription = templateDescription
1638
+ @lastModified = lastModified
1639
+ @pageCount = pageCount
1640
+ end
1641
+ end
1642
+
1643
+ # {http://www.docusign.net/API/3.0}SaveTemplateResult
1644
+ # success - SOAP::SOAPBoolean
1645
+ # templateID - SOAP::SOAPString
1646
+ # name - SOAP::SOAPString
1647
+ class SaveTemplateResult
1648
+ attr_accessor :success
1649
+ attr_accessor :templateID
1650
+ attr_accessor :name
1651
+
1652
+ def initialize(success = nil, templateID = nil, name = nil)
1653
+ @success = success
1654
+ @templateID = templateID
1655
+ @name = name
1656
+ end
1657
+ end
1658
+
1659
+ # {http://www.docusign.net/API/3.0}EnvelopeTemplates
1660
+ class EnvelopeTemplates < ::Array
1661
+ end
1662
+
1663
+ # {http://www.docusign.net/API/3.0}ArrayOfAddressBookItem
1664
+ class ArrayOfAddressBookItem < ::Array
1665
+ end
1666
+
1667
+ # {http://www.docusign.net/API/3.0}AddressBookItem
1668
+ # addressBookID - SOAP::SOAPString
1669
+ # email - SOAP::SOAPString
1670
+ # userName - SOAP::SOAPString
1671
+ # accountName - SOAP::SOAPString
1672
+ # shared - SOAP::SOAPBoolean
1673
+ # created - SOAP::SOAPDateTime
1674
+ # owner - SOAP::SOAPBoolean
1675
+ class AddressBookItem
1676
+ attr_accessor :addressBookID
1677
+ attr_accessor :email
1678
+ attr_accessor :userName
1679
+ attr_accessor :accountName
1680
+ attr_accessor :shared
1681
+ attr_accessor :created
1682
+ attr_accessor :owner
1683
+
1684
+ def initialize(addressBookID = nil, email = nil, userName = nil, accountName = nil, shared = nil, created = nil, owner = nil)
1685
+ @addressBookID = addressBookID
1686
+ @email = email
1687
+ @userName = userName
1688
+ @accountName = accountName
1689
+ @shared = shared
1690
+ @created = created
1691
+ @owner = owner
1692
+ end
1693
+ end
1694
+
1695
+ # {http://www.docusign.net/API/3.0}UpdateAddressBookResult
1696
+ # success - SOAP::SOAPBoolean
1697
+ # addressBookItems - Docusign::ArrayOfAddressBookItem1
1698
+ class UpdateAddressBookResult
1699
+ attr_accessor :success
1700
+ attr_accessor :addressBookItems
1701
+
1702
+ def initialize(success = nil, addressBookItems = nil)
1703
+ @success = success
1704
+ @addressBookItems = addressBookItems
1705
+ end
1706
+ end
1707
+
1708
+ # {http://www.docusign.net/API/3.0}ArrayOfAddressBookItem1
1709
+ class ArrayOfAddressBookItem1 < ::Array
1710
+ end
1711
+
1712
+ # {http://www.docusign.net/API/3.0}ArrayOfAddressBookRemoveItem
1713
+ class ArrayOfAddressBookRemoveItem < ::Array
1714
+ end
1715
+
1716
+ # {http://www.docusign.net/API/3.0}AddressBookRemoveItem
1717
+ # addressBookID - SOAP::SOAPString
1718
+ class AddressBookRemoveItem
1719
+ attr_accessor :addressBookID
1720
+
1721
+ def initialize(addressBookID = nil)
1722
+ @addressBookID = addressBookID
1723
+ end
1724
+ end
1725
+
1195
1726
  # {http://www.docusign.net/API/3.0}RecipientTypeCode
1196
1727
  class RecipientTypeCode < ::String
1197
1728
  CarbonCopy = RecipientTypeCode.new("CarbonCopy")
1198
1729
  CertifiedDelivery = RecipientTypeCode.new("CertifiedDelivery")
1730
+ InPersonSigner = RecipientTypeCode.new("InPersonSigner")
1199
1731
  Signer = RecipientTypeCode.new("Signer")
1200
1732
  end
1201
1733
 
@@ -1290,10 +1822,17 @@ class EnvelopeStatusCode < ::String
1290
1822
  Delivered = EnvelopeStatusCode.new("Delivered")
1291
1823
  Sent = EnvelopeStatusCode.new("Sent")
1292
1824
  Signed = EnvelopeStatusCode.new("Signed")
1825
+ Template = EnvelopeStatusCode.new("Template")
1293
1826
  TimedOut = EnvelopeStatusCode.new("TimedOut")
1294
1827
  Voided = EnvelopeStatusCode.new("Voided")
1295
1828
  end
1296
1829
 
1830
+ # {http://www.docusign.net/API/3.0}DocumentType
1831
+ class DocumentType < ::String
1832
+ CONTENT = DocumentType.new("CONTENT")
1833
+ SUMMARY = DocumentType.new("SUMMARY")
1834
+ end
1835
+
1297
1836
  # {http://www.docusign.net/API/3.0}EnvelopeACStatusCode
1298
1837
  class EnvelopeACStatusCode < ::String
1299
1838
  AuthoritativeCopy = EnvelopeACStatusCode.new("AuthoritativeCopy")
@@ -1314,6 +1853,7 @@ class RequestRecipientTokenAuthenticationAssertionAuthenticationMethod < ::Strin
1314
1853
  Email = RequestRecipientTokenAuthenticationAssertionAuthenticationMethod.new("Email")
1315
1854
  HTTPBasicAuth = RequestRecipientTokenAuthenticationAssertionAuthenticationMethod.new("HTTPBasicAuth")
1316
1855
  Kerberos = RequestRecipientTokenAuthenticationAssertionAuthenticationMethod.new("Kerberos")
1856
+ KnowledgeBasedAuth = RequestRecipientTokenAuthenticationAssertionAuthenticationMethod.new("KnowledgeBasedAuth")
1317
1857
  None = RequestRecipientTokenAuthenticationAssertionAuthenticationMethod.new("None")
1318
1858
  PaperDocuments = RequestRecipientTokenAuthenticationAssertionAuthenticationMethod.new("PaperDocuments")
1319
1859
  Password = RequestRecipientTokenAuthenticationAssertionAuthenticationMethod.new("Password")
@@ -1329,6 +1869,13 @@ class RequestRecipientTokenAuthenticationAssertionAuthenticationMethod < ::Strin
1329
1869
  X509Certificate = RequestRecipientTokenAuthenticationAssertionAuthenticationMethod.new("X509Certificate")
1330
1870
  end
1331
1871
 
1872
+ # {http://www.docusign.net/API/3.0}TemplateLocationCode
1873
+ class TemplateLocationCode < ::String
1874
+ PDFMetaData = TemplateLocationCode.new("PDFMetaData")
1875
+ SOAP = TemplateLocationCode.new("SOAP")
1876
+ Server = TemplateLocationCode.new("Server")
1877
+ end
1878
+
1332
1879
  # {http://www.docusign.net/API/3.0}CreateEnvelope
1333
1880
  # envelope - Docusign::Envelope
1334
1881
  class CreateEnvelope
@@ -1429,6 +1976,72 @@ class RequestDocumentPDFsResponse
1429
1976
  end
1430
1977
  end
1431
1978
 
1979
+ # {http://www.docusign.net/API/3.0}RequestDocumentPDFsEx
1980
+ # envelopeID - SOAP::SOAPString
1981
+ class RequestDocumentPDFsEx
1982
+ attr_accessor :envelopeID
1983
+
1984
+ def initialize(envelopeID = nil)
1985
+ @envelopeID = envelopeID
1986
+ end
1987
+ end
1988
+
1989
+ # {http://www.docusign.net/API/3.0}RequestDocumentPDFsExResponse
1990
+ # requestDocumentPDFsExResult - Docusign::DocumentPDFs
1991
+ class RequestDocumentPDFsExResponse
1992
+ attr_accessor :requestDocumentPDFsExResult
1993
+
1994
+ def initialize(requestDocumentPDFsExResult = nil)
1995
+ @requestDocumentPDFsExResult = requestDocumentPDFsExResult
1996
+ end
1997
+ end
1998
+
1999
+ # {http://www.docusign.net/API/3.0}RequestDocumentPDFsRecipientsView
2000
+ # envelopeID - SOAP::SOAPString
2001
+ # recipientName - SOAP::SOAPString
2002
+ # recipientEmail - SOAP::SOAPString
2003
+ class RequestDocumentPDFsRecipientsView
2004
+ attr_accessor :envelopeID
2005
+ attr_accessor :recipientName
2006
+ attr_accessor :recipientEmail
2007
+
2008
+ def initialize(envelopeID = nil, recipientName = nil, recipientEmail = nil)
2009
+ @envelopeID = envelopeID
2010
+ @recipientName = recipientName
2011
+ @recipientEmail = recipientEmail
2012
+ end
2013
+ end
2014
+
2015
+ # {http://www.docusign.net/API/3.0}RequestDocumentPDFsRecipientsViewResponse
2016
+ # requestDocumentPDFsRecipientsViewResult - Docusign::DocumentPDFs
2017
+ class RequestDocumentPDFsRecipientsViewResponse
2018
+ attr_accessor :requestDocumentPDFsRecipientsViewResult
2019
+
2020
+ def initialize(requestDocumentPDFsRecipientsViewResult = nil)
2021
+ @requestDocumentPDFsRecipientsViewResult = requestDocumentPDFsRecipientsViewResult
2022
+ end
2023
+ end
2024
+
2025
+ # {http://www.docusign.net/API/3.0}RequestStatusEx
2026
+ # envelopeID - SOAP::SOAPString
2027
+ class RequestStatusEx
2028
+ attr_accessor :envelopeID
2029
+
2030
+ def initialize(envelopeID = nil)
2031
+ @envelopeID = envelopeID
2032
+ end
2033
+ end
2034
+
2035
+ # {http://www.docusign.net/API/3.0}RequestStatusExResponse
2036
+ # requestStatusExResult - Docusign::EnvelopeStatus
2037
+ class RequestStatusExResponse
2038
+ attr_accessor :requestStatusExResult
2039
+
2040
+ def initialize(requestStatusExResult = nil)
2041
+ @requestStatusExResult = requestStatusExResult
2042
+ end
2043
+ end
2044
+
1432
2045
  # {http://www.docusign.net/API/3.0}RequestStatus
1433
2046
  # envelopeID - SOAP::SOAPString
1434
2047
  class RequestStatus
@@ -1449,6 +2062,26 @@ class RequestStatusResponse
1449
2062
  end
1450
2063
  end
1451
2064
 
2065
+ # {http://www.docusign.net/API/3.0}RequestStatusesEx
2066
+ # envelopeStatusFilter - Docusign::EnvelopeStatusFilter
2067
+ class RequestStatusesEx
2068
+ attr_accessor :envelopeStatusFilter
2069
+
2070
+ def initialize(envelopeStatusFilter = nil)
2071
+ @envelopeStatusFilter = envelopeStatusFilter
2072
+ end
2073
+ end
2074
+
2075
+ # {http://www.docusign.net/API/3.0}RequestStatusesExResponse
2076
+ # requestStatusesExResult - Docusign::FilteredEnvelopeStatuses
2077
+ class RequestStatusesExResponse
2078
+ attr_accessor :requestStatusesExResult
2079
+
2080
+ def initialize(requestStatusesExResult = nil)
2081
+ @requestStatusesExResult = requestStatusesExResult
2082
+ end
2083
+ end
2084
+
1452
2085
  # {http://www.docusign.net/API/3.0}RequestStatuses
1453
2086
  # envelopeStatusFilter - Docusign::EnvelopeStatusFilter
1454
2087
  class RequestStatuses
@@ -1498,6 +2131,29 @@ class GetRecipientEsignListResponse
1498
2131
  end
1499
2132
  end
1500
2133
 
2134
+ # {http://www.docusign.net/API/3.0}GetRecipientList
2135
+ # senderAccountId - SOAP::SOAPString
2136
+ # recipientEmail - SOAP::SOAPString
2137
+ class GetRecipientList
2138
+ attr_accessor :senderAccountId
2139
+ attr_accessor :recipientEmail
2140
+
2141
+ def initialize(senderAccountId = nil, recipientEmail = nil)
2142
+ @senderAccountId = senderAccountId
2143
+ @recipientEmail = recipientEmail
2144
+ end
2145
+ end
2146
+
2147
+ # {http://www.docusign.net/API/3.0}GetRecipientListResponse
2148
+ # getRecipientListResult - Docusign::RecipientList
2149
+ class GetRecipientListResponse
2150
+ attr_accessor :getRecipientListResult
2151
+
2152
+ def initialize(getRecipientListResult = nil)
2153
+ @getRecipientListResult = getRecipientListResult
2154
+ end
2155
+ end
2156
+
1501
2157
  # {http://www.docusign.net/API/3.0}VoidEnvelope
1502
2158
  # envelopeID - SOAP::SOAPString
1503
2159
  # reason - SOAP::SOAPString
@@ -1602,6 +2258,26 @@ class GetAccountMembershipFeaturesListResponse
1602
2258
  end
1603
2259
  end
1604
2260
 
2261
+ # {http://www.docusign.net/API/3.0}GetAccountSettingsList
2262
+ # accountId - SOAP::SOAPString
2263
+ class GetAccountSettingsList
2264
+ attr_accessor :accountId
2265
+
2266
+ def initialize(accountId = nil)
2267
+ @accountId = accountId
2268
+ end
2269
+ end
2270
+
2271
+ # {http://www.docusign.net/API/3.0}GetAccountSettingsListResponse
2272
+ # getAccountSettingsListResult - Docusign::AccountSettingsList
2273
+ class GetAccountSettingsListResponse
2274
+ attr_accessor :getAccountSettingsListResult
2275
+
2276
+ def initialize(getAccountSettingsListResult = nil)
2277
+ @getAccountSettingsListResult = getAccountSettingsListResult
2278
+ end
2279
+ end
2280
+
1605
2281
  # {http://www.docusign.net/API/3.0}AcknowledgeAuthoritativeCopyExport
1606
2282
  # envelopeId - SOAP::SOAPString
1607
2283
  # transactionId - SOAP::SOAPString
@@ -1699,5 +2375,250 @@ class PingResponse
1699
2375
  end
1700
2376
  end
1701
2377
 
2378
+ # {http://www.docusign.net/API/3.0}CreateEnvelopeFromTemplates
2379
+ # templateReferences - Docusign::ArrayOfTemplateReference
2380
+ # recipients - Docusign::ArrayOfRecipient1
2381
+ # envelopeInformation - Docusign::EnvelopeInformation
2382
+ # activateEnvelope - SOAP::SOAPBoolean
2383
+ class CreateEnvelopeFromTemplates
2384
+ attr_accessor :templateReferences
2385
+ attr_accessor :recipients
2386
+ attr_accessor :envelopeInformation
2387
+ attr_accessor :activateEnvelope
2388
+
2389
+ def initialize(templateReferences = nil, recipients = nil, envelopeInformation = nil, activateEnvelope = nil)
2390
+ @templateReferences = templateReferences
2391
+ @recipients = recipients
2392
+ @envelopeInformation = envelopeInformation
2393
+ @activateEnvelope = activateEnvelope
2394
+ end
2395
+ end
2396
+
2397
+ # {http://www.docusign.net/API/3.0}CreateEnvelopeFromTemplatesResponse
2398
+ # createEnvelopeFromTemplatesResult - Docusign::EnvelopeStatus
2399
+ class CreateEnvelopeFromTemplatesResponse
2400
+ attr_accessor :createEnvelopeFromTemplatesResult
1702
2401
 
2402
+ def initialize(createEnvelopeFromTemplatesResult = nil)
2403
+ @createEnvelopeFromTemplatesResult = createEnvelopeFromTemplatesResult
2404
+ end
1703
2405
  end
2406
+
2407
+ # {http://www.docusign.net/API/3.0}GetStatusInDocuSignConnectFormat
2408
+ # envelopeID - SOAP::SOAPString
2409
+ class GetStatusInDocuSignConnectFormat
2410
+ attr_accessor :envelopeID
2411
+
2412
+ def initialize(envelopeID = nil)
2413
+ @envelopeID = envelopeID
2414
+ end
2415
+ end
2416
+
2417
+ # {http://www.docusign.net/API/3.0}GetStatusInDocuSignConnectFormatResponse
2418
+ # getStatusInDocuSignConnectFormatResult - Docusign::DocuSignEnvelopeInformation
2419
+ class GetStatusInDocuSignConnectFormatResponse
2420
+ attr_accessor :getStatusInDocuSignConnectFormatResult
2421
+
2422
+ def initialize(getStatusInDocuSignConnectFormatResult = nil)
2423
+ @getStatusInDocuSignConnectFormatResult = getStatusInDocuSignConnectFormatResult
2424
+ end
2425
+ end
2426
+
2427
+ # {http://www.docusign.net/API/3.0}PurgeDocuments
2428
+ # envelopeID - SOAP::SOAPString
2429
+ class PurgeDocuments
2430
+ attr_accessor :envelopeID
2431
+
2432
+ def initialize(envelopeID = nil)
2433
+ @envelopeID = envelopeID
2434
+ end
2435
+ end
2436
+
2437
+ # {http://www.docusign.net/API/3.0}PurgeDocumentsResponse
2438
+ # purgeDocumentsResult - Docusign::PurgeDocumentStatus
2439
+ class PurgeDocumentsResponse
2440
+ attr_accessor :purgeDocumentsResult
2441
+
2442
+ def initialize(purgeDocumentsResult = nil)
2443
+ @purgeDocumentsResult = purgeDocumentsResult
2444
+ end
2445
+ end
2446
+
2447
+ # {http://www.docusign.net/API/3.0}SaveTemplate
2448
+ # envelopeTemplate - Docusign::EnvelopeTemplate
2449
+ class SaveTemplate
2450
+ attr_accessor :envelopeTemplate
2451
+
2452
+ def initialize(envelopeTemplate = nil)
2453
+ @envelopeTemplate = envelopeTemplate
2454
+ end
2455
+ end
2456
+
2457
+ # {http://www.docusign.net/API/3.0}SaveTemplateResponse
2458
+ # saveTemplateResult - Docusign::SaveTemplateResult
2459
+ class SaveTemplateResponse
2460
+ attr_accessor :saveTemplateResult
2461
+
2462
+ def initialize(saveTemplateResult = nil)
2463
+ @saveTemplateResult = saveTemplateResult
2464
+ end
2465
+ end
2466
+
2467
+ # {http://www.docusign.net/API/3.0}UploadTemplate
2468
+ # templateXML - SOAP::SOAPString
2469
+ # accountID - SOAP::SOAPString
2470
+ # shared - SOAP::SOAPBoolean
2471
+ class UploadTemplate
2472
+ attr_accessor :templateXML
2473
+ attr_accessor :accountID
2474
+ attr_accessor :shared
2475
+
2476
+ def initialize(templateXML = nil, accountID = nil, shared = nil)
2477
+ @templateXML = templateXML
2478
+ @accountID = accountID
2479
+ @shared = shared
2480
+ end
2481
+ end
2482
+
2483
+ # {http://www.docusign.net/API/3.0}UploadTemplateResponse
2484
+ # uploadTemplateResult - Docusign::SaveTemplateResult
2485
+ class UploadTemplateResponse
2486
+ attr_accessor :uploadTemplateResult
2487
+
2488
+ def initialize(uploadTemplateResult = nil)
2489
+ @uploadTemplateResult = uploadTemplateResult
2490
+ end
2491
+ end
2492
+
2493
+ # {http://www.docusign.net/API/3.0}RequestTemplates
2494
+ # accountID - SOAP::SOAPString
2495
+ class RequestTemplates
2496
+ attr_accessor :accountID
2497
+
2498
+ def initialize(accountID = nil)
2499
+ @accountID = accountID
2500
+ end
2501
+ end
2502
+
2503
+ # {http://www.docusign.net/API/3.0}RequestTemplatesResponse
2504
+ # requestTemplatesResult - Docusign::EnvelopeTemplates
2505
+ class RequestTemplatesResponse
2506
+ attr_accessor :requestTemplatesResult
2507
+
2508
+ def initialize(requestTemplatesResult = nil)
2509
+ @requestTemplatesResult = requestTemplatesResult
2510
+ end
2511
+ end
2512
+
2513
+ # {http://www.docusign.net/API/3.0}RequestTemplate
2514
+ # templateID - SOAP::SOAPString
2515
+ # includeDocumentBytes - SOAP::SOAPBoolean
2516
+ class RequestTemplate
2517
+ attr_accessor :templateID
2518
+ attr_accessor :includeDocumentBytes
2519
+
2520
+ def initialize(templateID = nil, includeDocumentBytes = nil)
2521
+ @templateID = templateID
2522
+ @includeDocumentBytes = includeDocumentBytes
2523
+ end
2524
+ end
2525
+
2526
+ # {http://www.docusign.net/API/3.0}RequestTemplateResponse
2527
+ # requestTemplateResult - Docusign::EnvelopeTemplate
2528
+ class RequestTemplateResponse
2529
+ attr_accessor :requestTemplateResult
2530
+
2531
+ def initialize(requestTemplateResult = nil)
2532
+ @requestTemplateResult = requestTemplateResult
2533
+ end
2534
+ end
2535
+
2536
+ # {http://www.docusign.net/API/3.0}GetAuthenticationToken
2537
+ # goToEnvelopeID - SOAP::SOAPString
2538
+ class GetAuthenticationToken
2539
+ attr_accessor :goToEnvelopeID
2540
+
2541
+ def initialize(goToEnvelopeID = nil)
2542
+ @goToEnvelopeID = goToEnvelopeID
2543
+ end
2544
+ end
2545
+
2546
+ # {http://www.docusign.net/API/3.0}GetAuthenticationTokenResponse
2547
+ # getAuthenticationTokenResult - SOAP::SOAPString
2548
+ class GetAuthenticationTokenResponse
2549
+ attr_accessor :getAuthenticationTokenResult
2550
+
2551
+ def initialize(getAuthenticationTokenResult = nil)
2552
+ @getAuthenticationTokenResult = getAuthenticationTokenResult
2553
+ end
2554
+ end
2555
+
2556
+ # {http://www.docusign.net/API/3.0}GetAddressBookItems
2557
+ # accountID - SOAP::SOAPString
2558
+ class GetAddressBookItems
2559
+ attr_accessor :accountID
2560
+
2561
+ def initialize(accountID = nil)
2562
+ @accountID = accountID
2563
+ end
2564
+ end
2565
+
2566
+ # {http://www.docusign.net/API/3.0}GetAddressBookItemsResponse
2567
+ # getAddressBookItemsResult - Docusign::ArrayOfAddressBookItem
2568
+ class GetAddressBookItemsResponse
2569
+ attr_accessor :getAddressBookItemsResult
2570
+
2571
+ def initialize(getAddressBookItemsResult = nil)
2572
+ @getAddressBookItemsResult = getAddressBookItemsResult
2573
+ end
2574
+ end
2575
+
2576
+ # {http://www.docusign.net/API/3.0}UpdateAddressBookItems
2577
+ # addressBookItems - Docusign::ArrayOfAddressBookItem
2578
+ # returnAddressBook - SOAP::SOAPBoolean
2579
+ class UpdateAddressBookItems
2580
+ attr_accessor :addressBookItems
2581
+ attr_accessor :returnAddressBook
2582
+
2583
+ def initialize(addressBookItems = nil, returnAddressBook = nil)
2584
+ @addressBookItems = addressBookItems
2585
+ @returnAddressBook = returnAddressBook
2586
+ end
2587
+ end
2588
+
2589
+ # {http://www.docusign.net/API/3.0}UpdateAddressBookItemsResponse
2590
+ # updateAddressBookItemsResult - Docusign::UpdateAddressBookResult
2591
+ class UpdateAddressBookItemsResponse
2592
+ attr_accessor :updateAddressBookItemsResult
2593
+
2594
+ def initialize(updateAddressBookItemsResult = nil)
2595
+ @updateAddressBookItemsResult = updateAddressBookItemsResult
2596
+ end
2597
+ end
2598
+
2599
+ # {http://www.docusign.net/API/3.0}RemoveAddressBookItems
2600
+ # addressBookRemoveItems - Docusign::ArrayOfAddressBookRemoveItem
2601
+ # returnAddressBook - SOAP::SOAPBoolean
2602
+ class RemoveAddressBookItems
2603
+ attr_accessor :addressBookRemoveItems
2604
+ attr_accessor :returnAddressBook
2605
+
2606
+ def initialize(addressBookRemoveItems = nil, returnAddressBook = nil)
2607
+ @addressBookRemoveItems = addressBookRemoveItems
2608
+ @returnAddressBook = returnAddressBook
2609
+ end
2610
+ end
2611
+
2612
+ # {http://www.docusign.net/API/3.0}RemoveAddressBookItemsResponse
2613
+ # removeAddressBookItemsResult - Docusign::UpdateAddressBookResult
2614
+ class RemoveAddressBookItemsResponse
2615
+ attr_accessor :removeAddressBookItemsResult
2616
+
2617
+ def initialize(removeAddressBookItemsResult = nil)
2618
+ @removeAddressBookItemsResult = removeAddressBookItemsResult
2619
+ end
2620
+ end
2621
+
2622
+
2623
+ end
2624
+