docusign_esign 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (335) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +18 -66
  4. data/docusign_esign-1.0.0.gem +0 -0
  5. data/docusign_esign.gemspec +2 -2
  6. data/lib/docusign_esign/version.rb +1 -1
  7. data/tests/Gemfile.lock +13 -9
  8. data/tests/keys/docusign_private_key.txt.enc +0 -0
  9. data/tests/rsa_keys/private.pem +25 -25
  10. data/tests/spec/unit_tests_spec.rb +8 -8
  11. data/tests/spec/unit_tests_using_jwt_spec.rb +9 -10
  12. metadata +11 -331
  13. data/docs/AccountAddress.md +0 -19
  14. data/docs/AccountBillingPlan.md +0 -27
  15. data/docs/AccountBillingPlanResponse.md +0 -13
  16. data/docs/AccountInformation.md +0 -38
  17. data/docs/AccountRoleSettings.md +0 -71
  18. data/docs/AccountSettingsInformation.md +0 -8
  19. data/docs/AccountSharedAccess.md +0 -16
  20. data/docs/AccountSignatureProvider.md +0 -14
  21. data/docs/AccountSignatureProviderOption.md +0 -10
  22. data/docs/AccountSignatureProviders.md +0 -8
  23. data/docs/AccountsApi.md +0 -1997
  24. data/docs/AddOn.md +0 -11
  25. data/docs/AddressInformation.md +0 -15
  26. data/docs/AddressInformationInput.md +0 -10
  27. data/docs/AddressInformationV2.md +0 -15
  28. data/docs/Agent.md +0 -49
  29. data/docs/ApiRequestLog.md +0 -11
  30. data/docs/ApiRequestLogsResult.md +0 -8
  31. data/docs/AppStoreProduct.md +0 -9
  32. data/docs/AppStoreReceipt.md +0 -9
  33. data/docs/Approve.md +0 -40
  34. data/docs/Attachment.md +0 -14
  35. data/docs/AuthenticationApi.md +0 -356
  36. data/docs/AuthenticationMethod.md +0 -11
  37. data/docs/AuthenticationStatus.md +0 -24
  38. data/docs/BccEmailAddress.md +0 -9
  39. data/docs/BillingApi.md +0 -569
  40. data/docs/BillingCharge.md +0 -20
  41. data/docs/BillingChargeResponse.md +0 -8
  42. data/docs/BillingDiscount.md +0 -10
  43. data/docs/BillingInvoice.md +0 -17
  44. data/docs/BillingInvoiceItem.md +0 -12
  45. data/docs/BillingInvoicesResponse.md +0 -10
  46. data/docs/BillingInvoicesSummary.md +0 -10
  47. data/docs/BillingPayment.md +0 -10
  48. data/docs/BillingPaymentItem.md +0 -12
  49. data/docs/BillingPaymentRequest.md +0 -8
  50. data/docs/BillingPaymentResponse.md +0 -8
  51. data/docs/BillingPaymentsResponse.md +0 -10
  52. data/docs/BillingPlan.md +0 -22
  53. data/docs/BillingPlanInformation.md +0 -22
  54. data/docs/BillingPlanPreview.md +0 -13
  55. data/docs/BillingPlanResponse.md +0 -9
  56. data/docs/BillingPlanUpdateResponse.md +0 -14
  57. data/docs/BillingPlansResponse.md +0 -8
  58. data/docs/BillingPrice.md +0 -10
  59. data/docs/Brand.md +0 -20
  60. data/docs/BrandEmailContent.md +0 -11
  61. data/docs/BrandLink.md +0 -11
  62. data/docs/BrandLogos.md +0 -10
  63. data/docs/BrandRequest.md +0 -8
  64. data/docs/BrandResourceUrls.md +0 -11
  65. data/docs/BrandResources.md +0 -14
  66. data/docs/BrandResourcesList.md +0 -8
  67. data/docs/BrandsRequest.md +0 -8
  68. data/docs/BrandsResponse.md +0 -10
  69. data/docs/BulkEnvelope.md +0 -16
  70. data/docs/BulkEnvelopeStatus.md +0 -21
  71. data/docs/BulkEnvelopesApi.md +0 -295
  72. data/docs/BulkEnvelopesResponse.md +0 -14
  73. data/docs/BulkRecipient.md +0 -17
  74. data/docs/BulkRecipientSignatureProvider.md +0 -9
  75. data/docs/BulkRecipientTabLabel.md +0 -9
  76. data/docs/BulkRecipientsRequest.md +0 -8
  77. data/docs/BulkRecipientsResponse.md +0 -14
  78. data/docs/BulkRecipientsSummaryResponse.md +0 -11
  79. data/docs/BulkRecipientsUpdateResponse.md +0 -8
  80. data/docs/CaptiveRecipient.md +0 -11
  81. data/docs/CaptiveRecipientInformation.md +0 -8
  82. data/docs/CarbonCopy.md +0 -49
  83. data/docs/CertifiedDelivery.md +0 -49
  84. data/docs/Checkbox.md +0 -37
  85. data/docs/ChunkedUploadPart.md +0 -9
  86. data/docs/ChunkedUploadRequest.md +0 -9
  87. data/docs/ChunkedUploadResponse.md +0 -14
  88. data/docs/CloudStorageApi.md +0 -424
  89. data/docs/CloudStorageProvider.md +0 -12
  90. data/docs/CloudStorageProviders.md +0 -8
  91. data/docs/Company.md +0 -46
  92. data/docs/CompositeTemplate.md +0 -12
  93. data/docs/ConnectApi.md +0 -891
  94. data/docs/ConnectConfigResults.md +0 -9
  95. data/docs/ConnectCustomConfiguration.md +0 -28
  96. data/docs/ConnectDebugLog.md +0 -12
  97. data/docs/ConnectFailureFilter.md +0 -9
  98. data/docs/ConnectFailureResult.md +0 -12
  99. data/docs/ConnectFailureResults.md +0 -8
  100. data/docs/ConnectLog.md +0 -25
  101. data/docs/ConnectLogs.md +0 -11
  102. data/docs/ConsoleViewRequest.md +0 -9
  103. data/docs/ConsumerDisclosure.md +0 -37
  104. data/docs/Contact.md +0 -16
  105. data/docs/ContactGetResponse.md +0 -14
  106. data/docs/ContactModRequest.md +0 -8
  107. data/docs/ContactUpdateResponse.md +0 -8
  108. data/docs/CorrectViewRequest.md +0 -9
  109. data/docs/Country.md +0 -11
  110. data/docs/CreditCardInformation.md +0 -13
  111. data/docs/CreditCardTypes.md +0 -8
  112. data/docs/CurrencyFeatureSetPrice.md +0 -12
  113. data/docs/CurrencyPlanPrice.md +0 -13
  114. data/docs/CustomFieldV2.md +0 -14
  115. data/docs/CustomFields.md +0 -9
  116. data/docs/CustomFieldsEnvelope.md +0 -9
  117. data/docs/CustomSettingsInformation.md +0 -8
  118. data/docs/CustomTabsApi.md +0 -268
  119. data/docs/Date.md +0 -52
  120. data/docs/DateSigned.md +0 -39
  121. data/docs/Decline.md +0 -41
  122. data/docs/DiagnosticsApi.md +0 -321
  123. data/docs/DiagnosticsSettingsInformation.md +0 -10
  124. data/docs/DobInformationInput.md +0 -10
  125. data/docs/Document.md +0 -27
  126. data/docs/DocumentFieldsInformation.md +0 -8
  127. data/docs/DocumentTemplate.md +0 -12
  128. data/docs/DocumentTemplateList.md +0 -8
  129. data/docs/DocumentVisibility.md +0 -12
  130. data/docs/DocumentVisibilityList.md +0 -8
  131. data/docs/ENoteConfiguration.md +0 -12
  132. data/docs/Editor.md +0 -48
  133. data/docs/Email.md +0 -52
  134. data/docs/EmailAddress.md +0 -38
  135. data/docs/EmailSettings.md +0 -10
  136. data/docs/Envelope.md +0 -54
  137. data/docs/EnvelopeAttachment.md +0 -13
  138. data/docs/EnvelopeAttachmentsRequest.md +0 -8
  139. data/docs/EnvelopeAttachmentsResult.md +0 -8
  140. data/docs/EnvelopeAuditEvent.md +0 -8
  141. data/docs/EnvelopeAuditEventResponse.md +0 -8
  142. data/docs/EnvelopeDefinition.md +0 -63
  143. data/docs/EnvelopeDocument.md +0 -24
  144. data/docs/EnvelopeDocumentsResult.md +0 -9
  145. data/docs/EnvelopeEvent.md +0 -9
  146. data/docs/EnvelopeFormData.md +0 -13
  147. data/docs/EnvelopeId.md +0 -38
  148. data/docs/EnvelopeIdsRequest.md +0 -9
  149. data/docs/EnvelopeNotificationRequest.md +0 -10
  150. data/docs/EnvelopeSummary.md +0 -11
  151. data/docs/EnvelopeTemplate.md +0 -56
  152. data/docs/EnvelopeTemplateDefinition.md +0 -22
  153. data/docs/EnvelopeTemplateResult.md +0 -68
  154. data/docs/EnvelopeTemplateResults.md +0 -15
  155. data/docs/EnvelopeTransactionStatus.md +0 -11
  156. data/docs/EnvelopeUpdateSummary.md +0 -15
  157. data/docs/EnvelopesApi.md +0 -4306
  158. data/docs/EnvelopesInformation.md +0 -15
  159. data/docs/ErrorDetails.md +0 -9
  160. data/docs/EventNotification.md +0 -22
  161. data/docs/EventResult.md +0 -11
  162. data/docs/Expirations.md +0 -10
  163. data/docs/ExternalDocServiceErrorDetails.md +0 -10
  164. data/docs/ExternalFile.md +0 -15
  165. data/docs/ExternalFolder.md +0 -17
  166. data/docs/FeatureSet.md +0 -16
  167. data/docs/FileType.md +0 -9
  168. data/docs/FileTypeList.md +0 -8
  169. data/docs/Filter.md +0 -18
  170. data/docs/FirstName.md +0 -38
  171. data/docs/Folder.md +0 -19
  172. data/docs/FolderItem.md +0 -28
  173. data/docs/FolderItemResponse.md +0 -14
  174. data/docs/FolderItemV2.md +0 -27
  175. data/docs/FolderItemsResponse.md +0 -14
  176. data/docs/FoldersApi.md +0 -261
  177. data/docs/FoldersRequest.md +0 -9
  178. data/docs/FoldersResponse.md +0 -8
  179. data/docs/ForgottenPasswordInformation.md +0 -15
  180. data/docs/FormulaTab.md +0 -56
  181. data/docs/FullName.md +0 -38
  182. data/docs/Group.md +0 -13
  183. data/docs/GroupInformation.md +0 -14
  184. data/docs/GroupsApi.md +0 -552
  185. data/docs/IdCheckInformationInput.md +0 -11
  186. data/docs/InPersonSigner.md +0 -62
  187. data/docs/InitialHere.md +0 -34
  188. data/docs/InlineTemplate.md +0 -12
  189. data/docs/IntegratedUserInfoList.md +0 -15
  190. data/docs/Intermediary.md +0 -49
  191. data/docs/LastName.md +0 -38
  192. data/docs/List.md +0 -46
  193. data/docs/ListCustomField.md +0 -15
  194. data/docs/ListItem.md +0 -10
  195. data/docs/LockInformation.md +0 -15
  196. data/docs/LockRequest.md +0 -12
  197. data/docs/LoginAccount.md +0 -18
  198. data/docs/LoginInformation.md +0 -9
  199. data/docs/MatchBox.md +0 -12
  200. data/docs/MemberGroupSharedItem.md +0 -10
  201. data/docs/MemberSharedItems.md +0 -11
  202. data/docs/MergeField.md +0 -12
  203. data/docs/MobileNotifierConfiguration.md +0 -10
  204. data/docs/MobileNotifierConfigurationInformation.md +0 -8
  205. data/docs/Money.md +0 -10
  206. data/docs/NameValue.md +0 -11
  207. data/docs/NewAccountDefinition.md +0 -17
  208. data/docs/NewAccountSummary.md +0 -14
  209. data/docs/NewUser.md +0 -17
  210. data/docs/NewUsersDefinition.md +0 -8
  211. data/docs/NewUsersSummary.md +0 -8
  212. data/docs/NotaryHost.md +0 -47
  213. data/docs/Note.md +0 -42
  214. data/docs/Notification.md +0 -10
  215. data/docs/Number.md +0 -54
  216. data/docs/OauthAccess.md +0 -13
  217. data/docs/OfflineAttributes.md +0 -13
  218. data/docs/Page.md +0 -15
  219. data/docs/PageImages.md +0 -14
  220. data/docs/PageRequest.md +0 -9
  221. data/docs/PaymentDetails.md +0 -12
  222. data/docs/PaymentLineItem.md +0 -11
  223. data/docs/PermissionProfile.md +0 -14
  224. data/docs/PermissionProfileInformation.md +0 -8
  225. data/docs/PlanInformation.md +0 -13
  226. data/docs/PostTransactionsRequest.md +0 -11
  227. data/docs/PostTransactionsResponse.md +0 -9
  228. data/docs/PowerForm.md +0 -31
  229. data/docs/PowerFormFormDataEnvelope.md +0 -9
  230. data/docs/PowerFormFormDataRecipient.md +0 -11
  231. data/docs/PowerFormRecipient.md +0 -20
  232. data/docs/PowerFormSendersResponse.md +0 -14
  233. data/docs/PowerFormsApi.md +0 -419
  234. data/docs/PowerFormsFormDataResponse.md +0 -8
  235. data/docs/PowerFormsRequest.md +0 -8
  236. data/docs/PowerFormsResponse.md +0 -14
  237. data/docs/PropertyMetadata.md +0 -9
  238. data/docs/Province.md +0 -9
  239. data/docs/ProvisioningInformation.md +0 -14
  240. data/docs/PurchasedEnvelopesInformation.md +0 -16
  241. data/docs/Radio.md +0 -25
  242. data/docs/RadioGroup.md +0 -16
  243. data/docs/RecipientAttachment.md +0 -13
  244. data/docs/RecipientDomain.md +0 -11
  245. data/docs/RecipientEmailNotification.md +0 -10
  246. data/docs/RecipientEvent.md +0 -9
  247. data/docs/RecipientFormData.md +0 -15
  248. data/docs/RecipientNamesResponse.md +0 -10
  249. data/docs/RecipientPhoneAuthentication.md +0 -11
  250. data/docs/RecipientSAMLAuthentication.md +0 -8
  251. data/docs/RecipientSMSAuthentication.md +0 -8
  252. data/docs/RecipientSignatureInformation.md +0 -10
  253. data/docs/RecipientSignatureProvider.md +0 -9
  254. data/docs/RecipientSignatureProviderOptions.md +0 -11
  255. data/docs/RecipientUpdateResponse.md +0 -10
  256. data/docs/RecipientViewRequest.md +0 -21
  257. data/docs/Recipients.md +0 -17
  258. data/docs/RecipientsUpdateSummary.md +0 -8
  259. data/docs/ReferralInformation.md +0 -25
  260. data/docs/Reminders.md +0 -10
  261. data/docs/ResourceInformation.md +0 -8
  262. data/docs/ReturnUrlRequest.md +0 -8
  263. data/docs/SamlAssertionAttribute.md +0 -11
  264. data/docs/SeatDiscount.md +0 -10
  265. data/docs/SenderEmailNotifications.md +0 -14
  266. data/docs/ServerTemplate.md +0 -9
  267. data/docs/ServiceInformation.md +0 -13
  268. data/docs/ServiceVersion.md +0 -9
  269. data/docs/SettingsMetadata.md +0 -13
  270. data/docs/SharedItem.md +0 -10
  271. data/docs/SignHere.md +0 -34
  272. data/docs/SignatureProviderRequiredOption.md +0 -9
  273. data/docs/SignatureType.md +0 -9
  274. data/docs/Signer.md +0 -63
  275. data/docs/SignerAttachment.md +0 -34
  276. data/docs/SignerEmailNotifications.md +0 -21
  277. data/docs/SigningGroup.md +0 -17
  278. data/docs/SigningGroupInformation.md +0 -8
  279. data/docs/SigningGroupUser.md +0 -10
  280. data/docs/SigningGroupUsers.md +0 -8
  281. data/docs/SigningGroupsApi.md +0 -485
  282. data/docs/SocialAccountInformation.md +0 -12
  283. data/docs/SocialAuthentication.md +0 -8
  284. data/docs/Ssn.md +0 -52
  285. data/docs/Ssn4InformationInput.md +0 -10
  286. data/docs/Ssn9InformationInput.md +0 -9
  287. data/docs/TabAccountSettings.md +0 -45
  288. data/docs/TabMetadata.md +0 -46
  289. data/docs/TabMetadataList.md +0 -8
  290. data/docs/Tabs.md +0 -32
  291. data/docs/TemplateCustomFields.md +0 -9
  292. data/docs/TemplateDocumentVisibilityList.md +0 -8
  293. data/docs/TemplateDocumentsResult.md +0 -9
  294. data/docs/TemplateInformation.md +0 -8
  295. data/docs/TemplateMatch.md +0 -10
  296. data/docs/TemplateNotificationRequest.md +0 -11
  297. data/docs/TemplateRecipients.md +0 -17
  298. data/docs/TemplateRole.md +0 -19
  299. data/docs/TemplateSharedItem.md +0 -14
  300. data/docs/TemplateSummary.md +0 -14
  301. data/docs/TemplateTabs.md +0 -32
  302. data/docs/TemplateUpdateSummary.md +0 -15
  303. data/docs/TemplatesApi.md +0 -2349
  304. data/docs/Text.md +0 -55
  305. data/docs/TextCustomField.md +0 -14
  306. data/docs/Title.md +0 -46
  307. data/docs/UsageHistory.md +0 -11
  308. data/docs/UserAccountManagementGranularInformation.md +0 -15
  309. data/docs/UserInfo.md +0 -17
  310. data/docs/UserInfoList.md +0 -8
  311. data/docs/UserInformation.md +0 -41
  312. data/docs/UserInformationList.md +0 -14
  313. data/docs/UserPasswordInformation.md +0 -11
  314. data/docs/UserProfile.md +0 -19
  315. data/docs/UserSettingsInformation.md +0 -11
  316. data/docs/UserSharedItem.md +0 -10
  317. data/docs/UserSignature.md +0 -20
  318. data/docs/UserSignatureDefinition.md +0 -11
  319. data/docs/UserSignaturesInformation.md +0 -8
  320. data/docs/UserSocialIdResult.md +0 -9
  321. data/docs/UsersApi.md +0 -1566
  322. data/docs/UsersResponse.md +0 -14
  323. data/docs/View.md +0 -42
  324. data/docs/ViewLinkRequest.md +0 -9
  325. data/docs/ViewUrl.md +0 -8
  326. data/docs/Workspace.md +0 -18
  327. data/docs/WorkspaceFolderContents.md +0 -15
  328. data/docs/WorkspaceItem.md +0 -26
  329. data/docs/WorkspaceItemList.md +0 -8
  330. data/docs/WorkspaceList.md +0 -12
  331. data/docs/WorkspaceUser.md +0 -23
  332. data/docs/WorkspaceUserAuthorization.md +0 -18
  333. data/docs/WorkspacesApi.md +0 -630
  334. data/docs/Zip.md +0 -53
  335. data/tests/rsa_keys/public.pem +0 -9
@@ -1,11 +0,0 @@
1
- # DocuSign_eSign::AuthenticationMethod
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **authentication_type** | **String** | Indicates the type of authentication. Valid values are: PhoneAuth, STAN, ISCheck, OFAC, AccessCode, AgeVerify, or SSOAuth. | [optional]
7
- **last_provider** | **String** | The last provider that authenticated the user. | [optional]
8
- **last_timestamp** | **String** | The data and time the user last used the authentication method. | [optional]
9
- **total_count** | **Integer** | The number of times the authentication method was used. | [optional]
10
-
11
-
@@ -1,24 +0,0 @@
1
- # DocuSign_eSign::AuthenticationStatus
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **access_code_result** | [**EventResult**](EventResult.md) | | [optional]
7
- **age_verify_result** | [**EventResult**](EventResult.md) | | [optional]
8
- **any_social_id_result** | [**EventResult**](EventResult.md) | | [optional]
9
- **facebook_result** | [**EventResult**](EventResult.md) | | [optional]
10
- **google_result** | [**EventResult**](EventResult.md) | | [optional]
11
- **id_lookup_result** | [**EventResult**](EventResult.md) | | [optional]
12
- **id_questions_result** | [**EventResult**](EventResult.md) | | [optional]
13
- **linkedin_result** | [**EventResult**](EventResult.md) | | [optional]
14
- **live_id_result** | [**EventResult**](EventResult.md) | | [optional]
15
- **ofac_result** | [**EventResult**](EventResult.md) | | [optional]
16
- **open_id_result** | [**EventResult**](EventResult.md) | | [optional]
17
- **phone_auth_result** | [**EventResult**](EventResult.md) | | [optional]
18
- **salesforce_result** | [**EventResult**](EventResult.md) | | [optional]
19
- **sms_auth_result** | [**EventResult**](EventResult.md) | | [optional]
20
- **s_tan_pin_result** | [**EventResult**](EventResult.md) | | [optional]
21
- **twitter_result** | [**EventResult**](EventResult.md) | | [optional]
22
- **yahoo_result** | [**EventResult**](EventResult.md) | | [optional]
23
-
24
-
@@ -1,9 +0,0 @@
1
- # DocuSign_eSign::BccEmailAddress
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **bcc_email_address_id** | **String** | Only users with canManageAccount setting can use this option. An array of up to 5 email addresses the envelope is sent to as a BCC email. Example: If your account has BCC for Email Archive set up for the email address 'archive@mycompany.com' and you send an envelope using the BCC Email Override to send a BCC email to 'salesarchive@mycompany.com', then a copy of the envelope is only sent to the 'salesarchive@mycompany.com' email address. | [optional]
7
- **email** | **String** | Specifies the BCC email address. DocuSign verifies that the email format is correct, but does not verify that the email is active.Using this overrides the BCC for Email Archive information setting for this envelope. Maximum of length: 100 characters. | [optional]
8
-
9
-
@@ -1,569 +0,0 @@
1
- # DocuSign_eSign::BillingApi
2
-
3
- All URIs are relative to *https://www.docusign.net/restapi*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**get_billing_plan**](BillingApi.md#get_billing_plan) | **GET** /v2/billing_plans/{billingPlanId} | Get the billing plan details.
8
- [**get_invoice**](BillingApi.md#get_invoice) | **GET** /v2/accounts/{accountId}/billing_invoices/{invoiceId} | Retrieves a billing invoice.
9
- [**get_payment**](BillingApi.md#get_payment) | **GET** /v2/accounts/{accountId}/billing_payments/{paymentId} | Gets billing payment information for a specific payment.
10
- [**get_plan**](BillingApi.md#get_plan) | **GET** /v2/accounts/{accountId}/billing_plan | Get Account Billing Plan
11
- [**list_billing_plans**](BillingApi.md#list_billing_plans) | **GET** /v2/billing_plans | Gets the list of available billing plans.
12
- [**list_invoices**](BillingApi.md#list_invoices) | **GET** /v2/accounts/{accountId}/billing_invoices | Get a List of Billing Invoices
13
- [**list_invoices_past_due**](BillingApi.md#list_invoices_past_due) | **GET** /v2/accounts/{accountId}/billing_invoices_past_due | Get a list of past due invoices.
14
- [**list_payments**](BillingApi.md#list_payments) | **GET** /v2/accounts/{accountId}/billing_payments | Gets payment information for one or more payments.
15
- [**make_payment**](BillingApi.md#make_payment) | **POST** /v2/accounts/{accountId}/billing_payments | Posts a payment to a past due invoice.
16
- [**purchase_envelopes**](BillingApi.md#purchase_envelopes) | **PUT** /v2/accounts/{accountId}/billing_plan/purchased_envelopes | Reserverd: Purchase additional envelopes.
17
- [**update_plan**](BillingApi.md#update_plan) | **PUT** /v2/accounts/{accountId}/billing_plan | Updates the account billing plan.
18
-
19
-
20
- # **get_billing_plan**
21
- > BillingPlanResponse get_billing_plan(billing_plan_id)
22
-
23
- Get the billing plan details.
24
-
25
- Retrieves the billing plan details for the specified billing plan ID.
26
-
27
- ### Example
28
- ```ruby
29
- # load the gem
30
- require 'docusign_esign'
31
-
32
- api_instance = DocuSign_eSign::BillingApi.new
33
-
34
- billing_plan_id = "billing_plan_id_example" # String | The ID of the billing plan being accessed.
35
-
36
-
37
- begin
38
- #Get the billing plan details.
39
- result = api_instance.get_billing_plan(billing_plan_id)
40
- p result
41
- rescue DocuSign_eSign::ApiError => e
42
- puts "Exception when calling BillingApi->get_billing_plan: #{e}"
43
- end
44
- ```
45
-
46
- ### Parameters
47
-
48
- Name | Type | Description | Notes
49
- ------------- | ------------- | ------------- | -------------
50
- **billing_plan_id** | **String**| The ID of the billing plan being accessed. |
51
-
52
- ### Return type
53
-
54
- [**BillingPlanResponse**](BillingPlanResponse.md)
55
-
56
- ### Authorization
57
-
58
- No authorization required
59
-
60
- ### HTTP request headers
61
-
62
- - **Content-Type**: Not defined
63
- - **Accept**: application/json
64
-
65
-
66
-
67
- # **get_invoice**
68
- > BillingInvoice get_invoice(account_id, invoice_id)
69
-
70
- Retrieves a billing invoice.
71
-
72
- Retrieves the specified invoice. ###### Note: If the `pdfAvailable` property in the response is set to *true*, you can download a PDF version of the invoice. To download the PDF, make the call again and change the value of the `Accept` property in the header to `Accept: application/pdf`. Privileges required: account administrator The response returns a list of charges and information about the charges. Quantities are usually shown as ‘unlimited’ or an integer. Amounts are shown in the currency set for the account. **Response** The following table provides a description of the different `chargeName` property values. The information will grow as more chargeable items are added to the system. | chargeName | Description | | --- | --- | | id_check | ID Check Charge | | in_person_signing | In Person Signing charge | | envelopes Included | Sent Envelopes for the account | | age_verify | Age verification check | | ofac | OFAC Check | | id_confirm | ID confirmation check | | student_authentication | STAN PIN authentication check | | wet_sign_fax | Pages for returning signed documents by fax | | attachment_fax | Pages for returning attachments by fax | | phone_authentication | Phone authentication charge | | powerforms | PowerForm envelopes sent | | signer_payments | Payment processing charge | | outbound_fax | Send by fax charge | | bulk_recipient_envelopes | Bulk Recipient Envelopes sent | | sms_authentications | SMS authentication charge | | saml_authentications | SAML authentication charge | | express_signer_certificate | DocuSign Express Certificate charge | | personal_signer_certificate | Personal Signer Certificate charge | | safe_certificate | SAFE BioPharma Signer Certificate charge | | seats | Included active seats charge | | open_trust_certificate | OpenTrust Signer Certificate charge |
73
-
74
- ### Example
75
- ```ruby
76
- # load the gem
77
- require 'docusign_esign'
78
-
79
- api_instance = DocuSign_eSign::BillingApi.new
80
-
81
- account_id = "account_id_example" # String | The external account number (int) or account ID Guid.
82
-
83
- invoice_id = "invoice_id_example" # String |
84
-
85
-
86
- begin
87
- #Retrieves a billing invoice.
88
- result = api_instance.get_invoice(account_id, invoice_id)
89
- p result
90
- rescue DocuSign_eSign::ApiError => e
91
- puts "Exception when calling BillingApi->get_invoice: #{e}"
92
- end
93
- ```
94
-
95
- ### Parameters
96
-
97
- Name | Type | Description | Notes
98
- ------------- | ------------- | ------------- | -------------
99
- **account_id** | **String**| The external account number (int) or account ID Guid. |
100
- **invoice_id** | **String**| |
101
-
102
- ### Return type
103
-
104
- [**BillingInvoice**](BillingInvoice.md)
105
-
106
- ### Authorization
107
-
108
- No authorization required
109
-
110
- ### HTTP request headers
111
-
112
- - **Content-Type**: Not defined
113
- - **Accept**: application/json
114
-
115
-
116
-
117
- # **get_payment**
118
- > BillingPaymentItem get_payment(account_id, payment_id)
119
-
120
- Gets billing payment information for a specific payment.
121
-
122
- Retrieves the information for a specified payment. Privileges required: account administrator
123
-
124
- ### Example
125
- ```ruby
126
- # load the gem
127
- require 'docusign_esign'
128
-
129
- api_instance = DocuSign_eSign::BillingApi.new
130
-
131
- account_id = "account_id_example" # String | The external account number (int) or account ID Guid.
132
-
133
- payment_id = "payment_id_example" # String |
134
-
135
-
136
- begin
137
- #Gets billing payment information for a specific payment.
138
- result = api_instance.get_payment(account_id, payment_id)
139
- p result
140
- rescue DocuSign_eSign::ApiError => e
141
- puts "Exception when calling BillingApi->get_payment: #{e}"
142
- end
143
- ```
144
-
145
- ### Parameters
146
-
147
- Name | Type | Description | Notes
148
- ------------- | ------------- | ------------- | -------------
149
- **account_id** | **String**| The external account number (int) or account ID Guid. |
150
- **payment_id** | **String**| |
151
-
152
- ### Return type
153
-
154
- [**BillingPaymentItem**](BillingPaymentItem.md)
155
-
156
- ### Authorization
157
-
158
- No authorization required
159
-
160
- ### HTTP request headers
161
-
162
- - **Content-Type**: Not defined
163
- - **Accept**: application/json
164
-
165
-
166
-
167
- # **get_plan**
168
- > AccountBillingPlanResponse get_plan(account_id, opts)
169
-
170
- Get Account Billing Plan
171
-
172
- Retrieves the billing plan information for the specified account, including the current billing plan, successor plans, billing address, and billing credit card. By default the successor plan and credit card information is included in the response. This information can be excluded from the response by adding the appropriate optional query string with the `setting` set to **false**. Response The response returns the billing plan information, including the currency code, for the plan. The `billingPlan` and `succesorPlans` property values are the same as those shown in the [ML:Get Billing Plan Details] reference. the `billingAddress` and `creditCardInformation` property values are the same as those shown in the [ML:Update Billing Plan] reference. ###### Note: When credit card number information is shown, a mask is applied to the response so that only the last 4 digits of the card number are visible.
173
-
174
- ### Example
175
- ```ruby
176
- # load the gem
177
- require 'docusign_esign'
178
-
179
- api_instance = DocuSign_eSign::BillingApi.new
180
-
181
- account_id = "account_id_example" # String | The external account number (int) or account ID Guid.
182
-
183
- opts = {
184
- include_credit_card_information: "include_credit_card_information_example", # String | When set to **true**, excludes credit card information from the response.
185
- include_metadata: "include_metadata_example", # String | When set to **true**, the `canUpgrade` and `renewalStatus` properities are included the response and an array of `supportedCountries` property is added to the `billingAddress` information.
186
- include_successor_plans: "include_successor_plans_example" # String | When set to **true**, excludes successor information from the response.
187
- }
188
-
189
- begin
190
- #Get Account Billing Plan
191
- result = api_instance.get_plan(account_id, opts)
192
- p result
193
- rescue DocuSign_eSign::ApiError => e
194
- puts "Exception when calling BillingApi->get_plan: #{e}"
195
- end
196
- ```
197
-
198
- ### Parameters
199
-
200
- Name | Type | Description | Notes
201
- ------------- | ------------- | ------------- | -------------
202
- **account_id** | **String**| The external account number (int) or account ID Guid. |
203
- **include_credit_card_information** | **String**| When set to **true**, excludes credit card information from the response. | [optional]
204
- **include_metadata** | **String**| When set to **true**, the `canUpgrade` and `renewalStatus` properities are included the response and an array of `supportedCountries` property is added to the `billingAddress` information. | [optional]
205
- **include_successor_plans** | **String**| When set to **true**, excludes successor information from the response. | [optional]
206
-
207
- ### Return type
208
-
209
- [**AccountBillingPlanResponse**](AccountBillingPlanResponse.md)
210
-
211
- ### Authorization
212
-
213
- No authorization required
214
-
215
- ### HTTP request headers
216
-
217
- - **Content-Type**: Not defined
218
- - **Accept**: application/json
219
-
220
-
221
-
222
- # **list_billing_plans**
223
- > BillingPlansResponse list_billing_plans
224
-
225
- Gets the list of available billing plans.
226
-
227
- Retrieves a list of the billing plans associated with a distributor.
228
-
229
- ### Example
230
- ```ruby
231
- # load the gem
232
- require 'docusign_esign'
233
-
234
- api_instance = DocuSign_eSign::BillingApi.new
235
-
236
- begin
237
- #Gets the list of available billing plans.
238
- result = api_instance.list_billing_plans
239
- p result
240
- rescue DocuSign_eSign::ApiError => e
241
- puts "Exception when calling BillingApi->list_billing_plans: #{e}"
242
- end
243
- ```
244
-
245
- ### Parameters
246
- This endpoint does not need any parameter.
247
-
248
- ### Return type
249
-
250
- [**BillingPlansResponse**](BillingPlansResponse.md)
251
-
252
- ### Authorization
253
-
254
- No authorization required
255
-
256
- ### HTTP request headers
257
-
258
- - **Content-Type**: Not defined
259
- - **Accept**: application/json
260
-
261
-
262
-
263
- # **list_invoices**
264
- > BillingInvoicesResponse list_invoices(account_id, opts)
265
-
266
- Get a List of Billing Invoices
267
-
268
- Retrieves a list of invoices for the account. If the from date or to date queries are not specified, the response returns invoices for the last 365 days. Privileges required: account administrator
269
-
270
- ### Example
271
- ```ruby
272
- # load the gem
273
- require 'docusign_esign'
274
-
275
- api_instance = DocuSign_eSign::BillingApi.new
276
-
277
- account_id = "account_id_example" # String | The external account number (int) or account ID Guid.
278
-
279
- opts = {
280
- from_date: "from_date_example", # String | Specifies the date/time of the earliest invoice in the account to retrieve.
281
- to_date: "to_date_example" # String | Specifies the date/time of the latest invoice in the account to retrieve.
282
- }
283
-
284
- begin
285
- #Get a List of Billing Invoices
286
- result = api_instance.list_invoices(account_id, opts)
287
- p result
288
- rescue DocuSign_eSign::ApiError => e
289
- puts "Exception when calling BillingApi->list_invoices: #{e}"
290
- end
291
- ```
292
-
293
- ### Parameters
294
-
295
- Name | Type | Description | Notes
296
- ------------- | ------------- | ------------- | -------------
297
- **account_id** | **String**| The external account number (int) or account ID Guid. |
298
- **from_date** | **String**| Specifies the date/time of the earliest invoice in the account to retrieve. | [optional]
299
- **to_date** | **String**| Specifies the date/time of the latest invoice in the account to retrieve. | [optional]
300
-
301
- ### Return type
302
-
303
- [**BillingInvoicesResponse**](BillingInvoicesResponse.md)
304
-
305
- ### Authorization
306
-
307
- No authorization required
308
-
309
- ### HTTP request headers
310
-
311
- - **Content-Type**: Not defined
312
- - **Accept**: application/json
313
-
314
-
315
-
316
- # **list_invoices_past_due**
317
- > BillingInvoicesSummary list_invoices_past_due(account_id)
318
-
319
- Get a list of past due invoices.
320
-
321
- Returns a list past due invoices for the account and notes if payment can be made through the REST API. Privileges Required: account administrator
322
-
323
- ### Example
324
- ```ruby
325
- # load the gem
326
- require 'docusign_esign'
327
-
328
- api_instance = DocuSign_eSign::BillingApi.new
329
-
330
- account_id = "account_id_example" # String | The external account number (int) or account ID Guid.
331
-
332
-
333
- begin
334
- #Get a list of past due invoices.
335
- result = api_instance.list_invoices_past_due(account_id)
336
- p result
337
- rescue DocuSign_eSign::ApiError => e
338
- puts "Exception when calling BillingApi->list_invoices_past_due: #{e}"
339
- end
340
- ```
341
-
342
- ### Parameters
343
-
344
- Name | Type | Description | Notes
345
- ------------- | ------------- | ------------- | -------------
346
- **account_id** | **String**| The external account number (int) or account ID Guid. |
347
-
348
- ### Return type
349
-
350
- [**BillingInvoicesSummary**](BillingInvoicesSummary.md)
351
-
352
- ### Authorization
353
-
354
- No authorization required
355
-
356
- ### HTTP request headers
357
-
358
- - **Content-Type**: Not defined
359
- - **Accept**: application/json
360
-
361
-
362
-
363
- # **list_payments**
364
- > BillingPaymentsResponse list_payments(account_id, opts)
365
-
366
- Gets payment information for one or more payments.
367
-
368
- Retrieves a list containing information about one or more payments. If the from date or to date queries are not used, the response returns payment information for the last 365 days. Privileges required: account administrator
369
-
370
- ### Example
371
- ```ruby
372
- # load the gem
373
- require 'docusign_esign'
374
-
375
- api_instance = DocuSign_eSign::BillingApi.new
376
-
377
- account_id = "account_id_example" # String | The external account number (int) or account ID Guid.
378
-
379
- opts = {
380
- from_date: "from_date_example", # String | Specifies the date/time of the earliest payment in the account to retrieve.
381
- to_date: "to_date_example" # String | Specifies the date/time of the latest payment in the account to retrieve.
382
- }
383
-
384
- begin
385
- #Gets payment information for one or more payments.
386
- result = api_instance.list_payments(account_id, opts)
387
- p result
388
- rescue DocuSign_eSign::ApiError => e
389
- puts "Exception when calling BillingApi->list_payments: #{e}"
390
- end
391
- ```
392
-
393
- ### Parameters
394
-
395
- Name | Type | Description | Notes
396
- ------------- | ------------- | ------------- | -------------
397
- **account_id** | **String**| The external account number (int) or account ID Guid. |
398
- **from_date** | **String**| Specifies the date/time of the earliest payment in the account to retrieve. | [optional]
399
- **to_date** | **String**| Specifies the date/time of the latest payment in the account to retrieve. | [optional]
400
-
401
- ### Return type
402
-
403
- [**BillingPaymentsResponse**](BillingPaymentsResponse.md)
404
-
405
- ### Authorization
406
-
407
- No authorization required
408
-
409
- ### HTTP request headers
410
-
411
- - **Content-Type**: Not defined
412
- - **Accept**: application/json
413
-
414
-
415
-
416
- # **make_payment**
417
- > BillingPaymentResponse make_payment(account_id, opts)
418
-
419
- Posts a payment to a past due invoice.
420
-
421
- Posts a payment to a past due invoice. ###### Note: This can only be used if the `paymentAllowed` value for a past due invoice is true. This can be determined calling [ML:GetBillingInvoicesPastDue]. The response returns information for a single payment, if a payment ID was used in the endpoint, or a list of payments. If the from date or to date queries or payment ID are not used, the response returns payment information for the last 365 days. If the request was for a single payment ID, the `nextUri` and `previousUri` properties are not returned. Privileges required: account administrator
422
-
423
- ### Example
424
- ```ruby
425
- # load the gem
426
- require 'docusign_esign'
427
-
428
- api_instance = DocuSign_eSign::BillingApi.new
429
-
430
- account_id = "account_id_example" # String | The external account number (int) or account ID Guid.
431
-
432
- opts = {
433
- billing_payment_request: DocuSign_eSign::BillingPaymentRequest.new # BillingPaymentRequest |
434
- }
435
-
436
- begin
437
- #Posts a payment to a past due invoice.
438
- result = api_instance.make_payment(account_id, opts)
439
- p result
440
- rescue DocuSign_eSign::ApiError => e
441
- puts "Exception when calling BillingApi->make_payment: #{e}"
442
- end
443
- ```
444
-
445
- ### Parameters
446
-
447
- Name | Type | Description | Notes
448
- ------------- | ------------- | ------------- | -------------
449
- **account_id** | **String**| The external account number (int) or account ID Guid. |
450
- **billing_payment_request** | [**BillingPaymentRequest**](BillingPaymentRequest.md)| | [optional]
451
-
452
- ### Return type
453
-
454
- [**BillingPaymentResponse**](BillingPaymentResponse.md)
455
-
456
- ### Authorization
457
-
458
- No authorization required
459
-
460
- ### HTTP request headers
461
-
462
- - **Content-Type**: Not defined
463
- - **Accept**: application/json
464
-
465
-
466
-
467
- # **purchase_envelopes**
468
- > purchase_envelopes(account_id, opts)
469
-
470
- Reserverd: Purchase additional envelopes.
471
-
472
- Reserved: At this time, this endpoint is limited to DocuSign internal use only. Completes the purchase of envelopes for your account. The actual purchase is done as part of an internal workflow interaction with an envelope vendor.
473
-
474
- ### Example
475
- ```ruby
476
- # load the gem
477
- require 'docusign_esign'
478
-
479
- api_instance = DocuSign_eSign::BillingApi.new
480
-
481
- account_id = "account_id_example" # String | The external account number (int) or account ID Guid.
482
-
483
- opts = {
484
- purchased_envelopes_information: DocuSign_eSign::PurchasedEnvelopesInformation.new # PurchasedEnvelopesInformation |
485
- }
486
-
487
- begin
488
- #Reserverd: Purchase additional envelopes.
489
- api_instance.purchase_envelopes(account_id, opts)
490
- rescue DocuSign_eSign::ApiError => e
491
- puts "Exception when calling BillingApi->purchase_envelopes: #{e}"
492
- end
493
- ```
494
-
495
- ### Parameters
496
-
497
- Name | Type | Description | Notes
498
- ------------- | ------------- | ------------- | -------------
499
- **account_id** | **String**| The external account number (int) or account ID Guid. |
500
- **purchased_envelopes_information** | [**PurchasedEnvelopesInformation**](PurchasedEnvelopesInformation.md)| | [optional]
501
-
502
- ### Return type
503
-
504
- nil (empty response body)
505
-
506
- ### Authorization
507
-
508
- No authorization required
509
-
510
- ### HTTP request headers
511
-
512
- - **Content-Type**: Not defined
513
- - **Accept**: application/json
514
-
515
-
516
-
517
- # **update_plan**
518
- > BillingPlanUpdateResponse update_plan(account_id, opts)
519
-
520
- Updates the account billing plan.
521
-
522
- Updates the billing plan information, billing address, and credit card information for the specified account.
523
-
524
- ### Example
525
- ```ruby
526
- # load the gem
527
- require 'docusign_esign'
528
-
529
- api_instance = DocuSign_eSign::BillingApi.new
530
-
531
- account_id = "account_id_example" # String | The external account number (int) or account ID Guid.
532
-
533
- opts = {
534
- preview_billing_plan: "preview_billing_plan_example", # String | When set to **true**, updates the account using a preview billing plan.
535
- billing_plan_information: DocuSign_eSign::BillingPlanInformation.new # BillingPlanInformation |
536
- }
537
-
538
- begin
539
- #Updates the account billing plan.
540
- result = api_instance.update_plan(account_id, opts)
541
- p result
542
- rescue DocuSign_eSign::ApiError => e
543
- puts "Exception when calling BillingApi->update_plan: #{e}"
544
- end
545
- ```
546
-
547
- ### Parameters
548
-
549
- Name | Type | Description | Notes
550
- ------------- | ------------- | ------------- | -------------
551
- **account_id** | **String**| The external account number (int) or account ID Guid. |
552
- **preview_billing_plan** | **String**| When set to **true**, updates the account using a preview billing plan. | [optional]
553
- **billing_plan_information** | [**BillingPlanInformation**](BillingPlanInformation.md)| | [optional]
554
-
555
- ### Return type
556
-
557
- [**BillingPlanUpdateResponse**](BillingPlanUpdateResponse.md)
558
-
559
- ### Authorization
560
-
561
- No authorization required
562
-
563
- ### HTTP request headers
564
-
565
- - **Content-Type**: Not defined
566
- - **Accept**: application/json
567
-
568
-
569
-