boldsign 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (233) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/README.md +2 -0
  3. package/api/apis.ts +1 -1
  4. package/dist/api/apis.d.ts +1 -1
  5. package/dist/api/apis.js +1 -1
  6. package/dist/model/accessCodeDetail.d.ts +2 -0
  7. package/dist/model/accessCodeDetail.js +5 -0
  8. package/dist/model/accessCodeDetail.js.map +1 -1
  9. package/dist/model/authenticationSettings.d.ts +22 -0
  10. package/dist/model/authenticationSettings.js +27 -0
  11. package/dist/model/authenticationSettings.js.map +1 -0
  12. package/dist/model/documentSigner.d.ts +2 -0
  13. package/dist/model/documentSigner.js +5 -0
  14. package/dist/model/documentSigner.js.map +1 -1
  15. package/dist/model/documentSignerDetails.d.ts +2 -0
  16. package/dist/model/documentSignerDetails.js +5 -0
  17. package/dist/model/documentSignerDetails.js.map +1 -1
  18. package/dist/model/index.d.ts +3 -1
  19. package/dist/model/index.js +10 -3
  20. package/dist/model/index.js.map +1 -1
  21. package/dist/model/role.d.ts +2 -0
  22. package/dist/model/role.js +5 -0
  23. package/dist/model/role.js.map +1 -1
  24. package/dist/model/signerAuthenticationSettings.d.ts +15 -0
  25. package/dist/model/signerAuthenticationSettings.js +23 -0
  26. package/dist/model/signerAuthenticationSettings.js.map +1 -0
  27. package/dist/tests/config.d.ts +5 -0
  28. package/dist/tests/config.js +43 -0
  29. package/dist/tests/config.js.map +1 -0
  30. package/dist/tests/integration/BrandingApiTest.spec.d.ts +1 -0
  31. package/dist/tests/integration/BrandingApiTest.spec.js +310 -0
  32. package/dist/tests/integration/BrandingApiTest.spec.js.map +1 -0
  33. package/dist/tests/integration/ContactsApiTest.spec.d.ts +1 -0
  34. package/dist/tests/integration/ContactsApiTest.spec.js +249 -0
  35. package/dist/tests/integration/ContactsApiTest.spec.js.map +1 -0
  36. package/dist/tests/integration/CustomFieldApiTest.spec.d.ts +1 -0
  37. package/dist/tests/integration/CustomFieldApiTest.spec.js +289 -0
  38. package/dist/tests/integration/CustomFieldApiTest.spec.js.map +1 -0
  39. package/dist/tests/integration/DocumentApiTest.spec.d.ts +1 -0
  40. package/dist/tests/integration/DocumentApiTest.spec.js +1691 -0
  41. package/dist/tests/integration/DocumentApiTest.spec.js.map +1 -0
  42. package/dist/tests/integration/TemplateApiTest.spec.d.ts +1 -0
  43. package/dist/tests/integration/TemplateApiTest.spec.js +1440 -0
  44. package/dist/tests/integration/TemplateApiTest.spec.js.map +1 -0
  45. package/dist/tests/integration/planApiTest.spec.d.ts +1 -0
  46. package/dist/tests/integration/planApiTest.spec.js +41 -0
  47. package/dist/tests/integration/planApiTest.spec.js.map +1 -0
  48. package/dist/tests/integration/senderIdentity.spec.d.ts +1 -0
  49. package/dist/tests/integration/senderIdentity.spec.js +481 -0
  50. package/dist/tests/integration/senderIdentity.spec.js.map +1 -0
  51. package/dist/tests/integration/teamsApiTest.spec.d.ts +1 -0
  52. package/dist/tests/integration/teamsApiTest.spec.js +230 -0
  53. package/dist/tests/integration/teamsApiTest.spec.js.map +1 -0
  54. package/dist/tests/integration/usersApiTest.spec.d.ts +1 -0
  55. package/dist/tests/integration/usersApiTest.spec.js +290 -0
  56. package/dist/tests/integration/usersApiTest.spec.js.map +1 -0
  57. package/dist/tests/unit/brandingApi.spec.d.ts +1 -0
  58. package/dist/tests/unit/brandingApi.spec.js +174 -0
  59. package/dist/tests/unit/brandingApi.spec.js.map +1 -0
  60. package/dist/tests/unit/contactsApi.spec.d.ts +1 -0
  61. package/dist/tests/unit/contactsApi.spec.js +154 -0
  62. package/dist/tests/unit/contactsApi.spec.js.map +1 -0
  63. package/dist/tests/unit/customFieldApi.spec.d.ts +1 -0
  64. package/dist/tests/unit/customFieldApi.spec.js +140 -0
  65. package/dist/tests/unit/customFieldApi.spec.js.map +1 -0
  66. package/dist/tests/unit/documentApi.spec.d.ts +1 -0
  67. package/dist/tests/unit/documentApi.spec.js +476 -0
  68. package/dist/tests/unit/documentApi.spec.js.map +1 -0
  69. package/dist/tests/unit/planApi.spec.d.ts +1 -0
  70. package/dist/tests/unit/planApi.spec.js +69 -0
  71. package/dist/tests/unit/planApi.spec.js.map +1 -0
  72. package/dist/tests/unit/senderIdentitiesApi.spec.d.ts +1 -0
  73. package/dist/tests/unit/senderIdentitiesApi.spec.js +148 -0
  74. package/dist/tests/unit/senderIdentitiesApi.spec.js.map +1 -0
  75. package/dist/tests/unit/teamApi.spec.d.ts +1 -0
  76. package/dist/tests/unit/teamApi.spec.js +116 -0
  77. package/dist/tests/unit/teamApi.spec.js.map +1 -0
  78. package/dist/tests/unit/templateApi.spec.d.ts +1 -0
  79. package/dist/tests/unit/templateApi.spec.js +285 -0
  80. package/dist/tests/unit/templateApi.spec.js.map +1 -0
  81. package/dist/tests/unit/userApi.spec.d.ts +1 -0
  82. package/dist/tests/unit/userApi.spec.js +163 -0
  83. package/dist/tests/unit/userApi.spec.js.map +1 -0
  84. package/docs/AccessCodeDetail.md +19 -0
  85. package/docs/AccessCodeDetails.md +13 -0
  86. package/docs/Address.md +16 -0
  87. package/docs/AttachmentInfo.md +14 -0
  88. package/docs/AuditTrail.md +18 -0
  89. package/docs/AuthenticationSettings.md +11 -0
  90. package/docs/Base64File.md +12 -0
  91. package/docs/BehalfDocument.md +27 -0
  92. package/docs/BehalfDocumentRecords.md +12 -0
  93. package/docs/BehalfOf.md +12 -0
  94. package/docs/BillingViewModel.md +11 -0
  95. package/docs/BrandCreated.md +11 -0
  96. package/docs/BrandCustomFieldDetails.md +16 -0
  97. package/docs/BrandingApi.md +258 -0
  98. package/docs/BrandingMessage.md +11 -0
  99. package/docs/BrandingRecords.md +11 -0
  100. package/docs/ChangeRecipient.md +18 -0
  101. package/docs/ConditionalRule.md +13 -0
  102. package/docs/ContactCreated.md +12 -0
  103. package/docs/ContactDetails.md +15 -0
  104. package/docs/ContactPageDetails.md +13 -0
  105. package/docs/ContactsApi.md +176 -0
  106. package/docs/ContactsDetails.md +16 -0
  107. package/docs/ContactsList.md +12 -0
  108. package/docs/CreateContactResponse.md +11 -0
  109. package/docs/CreateSenderIdentityRequest.md +16 -0
  110. package/docs/CreateTeamRequest.md +11 -0
  111. package/docs/CreateTemplateRequest.md +35 -0
  112. package/docs/CreateUser.md +14 -0
  113. package/docs/CustomDomainSettings.md +12 -0
  114. package/docs/CustomFieldApi.md +174 -0
  115. package/docs/CustomFieldCollection.md +11 -0
  116. package/docs/CustomFieldMessage.md +12 -0
  117. package/docs/CustomFormField.md +43 -0
  118. package/docs/Date.md +13 -0
  119. package/docs/DeleteCustomFieldReply.md +11 -0
  120. package/docs/Document.md +26 -0
  121. package/docs/DocumentApi.md +756 -0
  122. package/docs/DocumentCC.md +11 -0
  123. package/docs/DocumentCcDetails.md +12 -0
  124. package/docs/DocumentCreated.md +11 -0
  125. package/docs/DocumentExpirySettings.md +16 -0
  126. package/docs/DocumentFiles.md +13 -0
  127. package/docs/DocumentFormFields.md +49 -0
  128. package/docs/DocumentInfo.md +14 -0
  129. package/docs/DocumentProperties.md +50 -0
  130. package/docs/DocumentReassign.md +13 -0
  131. package/docs/DocumentRecords.md +12 -0
  132. package/docs/DocumentSenderDetail.md +14 -0
  133. package/docs/DocumentSigner.md +31 -0
  134. package/docs/DocumentSignerDetails.md +37 -0
  135. package/docs/DocumentTags.md +12 -0
  136. package/docs/DownloadImageRequest.md +16 -0
  137. package/docs/EditSenderIdentityRequest.md +14 -0
  138. package/docs/EditTemplateRequest.md +29 -0
  139. package/docs/EditableDateFieldSettings.md +13 -0
  140. package/docs/EmbeddedCreateTemplateRequest.md +46 -0
  141. package/docs/EmbeddedCustomFieldCreated.md +11 -0
  142. package/docs/EmbeddedDocumentRequest.md +55 -0
  143. package/docs/EmbeddedFileDetails.md +16 -0
  144. package/docs/EmbeddedFileLink.md +11 -0
  145. package/docs/EmbeddedMergeTemplateFormRequest.md +56 -0
  146. package/docs/EmbeddedSendCreated.md +12 -0
  147. package/docs/EmbeddedSendTemplateFormRequest.md +53 -0
  148. package/docs/EmbeddedSigningLink.md +11 -0
  149. package/docs/EmbeddedTemplateCreated.md +12 -0
  150. package/docs/EmbeddedTemplateEditRequest.md +21 -0
  151. package/docs/EmbeddedTemplateEdited.md +11 -0
  152. package/docs/Error.md +12 -0
  153. package/docs/ErrorResult.md +11 -0
  154. package/docs/ExistingFormField.md +15 -0
  155. package/docs/ExtendExpiry.md +14 -0
  156. package/docs/FileInfo.md +14 -0
  157. package/docs/Font.md +18 -0
  158. package/docs/FormField.md +50 -0
  159. package/docs/FormGroup.md +15 -0
  160. package/docs/FormulaFieldSettings.md +12 -0
  161. package/docs/IdDocument.md +21 -0
  162. package/docs/IdReport.md +14 -0
  163. package/docs/IdVerification.md +18 -0
  164. package/docs/IdentityVerificationApi.md +109 -0
  165. package/docs/IdentityVerificationSettings.md +16 -0
  166. package/docs/ImageInfo.md +13 -0
  167. package/docs/MergeAndSendForSignForm.md +46 -0
  168. package/docs/NotificationSettings.md +22 -0
  169. package/docs/PageDetails.md +16 -0
  170. package/docs/PhoneNumber.md +12 -0
  171. package/docs/PlanApi.md +38 -0
  172. package/docs/PrefillField.md +12 -0
  173. package/docs/PrefillFieldRequest.md +12 -0
  174. package/docs/ProblemDetails.md +15 -0
  175. package/docs/RecipientNotificationSettings.md +22 -0
  176. package/docs/Rectangle.md +14 -0
  177. package/docs/ReminderMessage.md +13 -0
  178. package/docs/ReminderSettings.md +13 -0
  179. package/docs/RemoveAuthentication.md +14 -0
  180. package/docs/RevokeDocument.md +12 -0
  181. package/docs/Role.md +33 -0
  182. package/docs/Roles.md +33 -0
  183. package/docs/SendForSign.md +45 -0
  184. package/docs/SendForSignFromTemplateForm.md +43 -0
  185. package/docs/SenderIdentitiesApi.md +209 -0
  186. package/docs/SenderIdentityCreated.md +11 -0
  187. package/docs/SenderIdentityList.md +12 -0
  188. package/docs/SenderIdentityViewModel.md +19 -0
  189. package/docs/SignerAuthenticationSettings.md +12 -0
  190. package/docs/Size.md +12 -0
  191. package/docs/TeamCreated.md +11 -0
  192. package/docs/TeamDocumentRecords.md +12 -0
  193. package/docs/TeamListResponse.md +12 -0
  194. package/docs/TeamPageDetails.md +12 -0
  195. package/docs/TeamResponse.md +15 -0
  196. package/docs/TeamUpdateRequest.md +12 -0
  197. package/docs/TeamUsers.md +16 -0
  198. package/docs/Teams.md +14 -0
  199. package/docs/TeamsApi.md +141 -0
  200. package/docs/Template.md +29 -0
  201. package/docs/TemplateApi.md +484 -0
  202. package/docs/TemplateCC.md +12 -0
  203. package/docs/TemplateCreated.md +11 -0
  204. package/docs/TemplateFormFields.md +50 -0
  205. package/docs/TemplateProperties.md +37 -0
  206. package/docs/TemplateRecords.md +12 -0
  207. package/docs/TemplateRole.md +28 -0
  208. package/docs/TemplateSenderDetail.md +12 -0
  209. package/docs/TemplateSenderDetails.md +13 -0
  210. package/docs/TemplateSharedTemplateDetail.md +12 -0
  211. package/docs/TemplateSignerDetails.md +27 -0
  212. package/docs/TemplateTag.md +14 -0
  213. package/docs/TextTagDefinition.md +40 -0
  214. package/docs/TextTagOffset.md +12 -0
  215. package/docs/UpdateUser.md +14 -0
  216. package/docs/UpdateUserMetaData.md +12 -0
  217. package/docs/UserApi.md +240 -0
  218. package/docs/UserPageDetails.md +12 -0
  219. package/docs/UserProperties.md +21 -0
  220. package/docs/UserRecords.md +12 -0
  221. package/docs/UsersDetails.md +21 -0
  222. package/docs/Validation.md +13 -0
  223. package/docs/VerificationDataRequest.md +15 -0
  224. package/docs/ViewBrandDetails.md +34 -0
  225. package/docs/ViewCustomFieldDetails.md +17 -0
  226. package/model/accessCodeDetail.ts +7 -0
  227. package/model/authenticationSettings.ts +39 -0
  228. package/model/documentSigner.ts +7 -0
  229. package/model/documentSignerDetails.ts +7 -0
  230. package/model/index.ts +7 -0
  231. package/model/role.ts +7 -0
  232. package/model/signerAuthenticationSettings.ts +37 -0
  233. package/package.json +2 -1
@@ -15,6 +15,7 @@ import { DocumentFormFields } from './documentFormFields';
15
15
  import { IdVerification } from './idVerification';
16
16
  import { PhoneNumber } from './phoneNumber';
17
17
  import { RecipientNotificationSettings } from './recipientNotificationSettings';
18
+ import { SignerAuthenticationSettings } from './signerAuthenticationSettings';
18
19
 
19
20
  export class DocumentSignerDetails {
20
21
  'signerName'?: string | null;
@@ -46,6 +47,7 @@ export class DocumentSignerDetails {
46
47
  'authenticationRetryCount'?: number | null;
47
48
  'enableQes'?: boolean | null;
48
49
  'deliveryMode'?: DocumentSignerDetails.DeliveryModeEnum;
50
+ 'authenticationSettings'?: SignerAuthenticationSettings;
49
51
 
50
52
  static discriminator: string | undefined = undefined;
51
53
 
@@ -179,6 +181,11 @@ export class DocumentSignerDetails {
179
181
  "name": "deliveryMode",
180
182
  "baseName": "deliveryMode",
181
183
  "type": "DocumentSignerDetails.DeliveryModeEnum"
184
+ },
185
+ {
186
+ "name": "authenticationSettings",
187
+ "baseName": "authenticationSettings",
188
+ "type": "SignerAuthenticationSettings"
182
189
  } ];
183
190
 
184
191
  static getAttributeTypeMap() {
package/model/index.ts CHANGED
@@ -3,6 +3,7 @@ import { AccessCodeDetails } from './accessCodeDetails';
3
3
  import { Address } from './address';
4
4
  import { AttachmentInfo } from './attachmentInfo';
5
5
  import { AuditTrail } from './auditTrail';
6
+ import { AuthenticationSettings } from './authenticationSettings';
6
7
  import { Base64File } from './base64File';
7
8
  import { BehalfDocument } from './behalfDocument';
8
9
  import { BehalfDocumentRecords } from './behalfDocumentRecords';
@@ -94,6 +95,7 @@ import { SendForSignFromTemplateForm } from './sendForSignFromTemplateForm';
94
95
  import { SenderIdentityCreated } from './senderIdentityCreated';
95
96
  import { SenderIdentityList } from './senderIdentityList';
96
97
  import { SenderIdentityViewModel } from './senderIdentityViewModel';
98
+ import { SignerAuthenticationSettings } from './signerAuthenticationSettings';
97
99
  import { Size } from './size';
98
100
  import { TeamCreated } from './teamCreated';
99
101
  import { TeamDocumentRecords } from './teamDocumentRecords';
@@ -144,6 +146,7 @@ import {
144
146
  export let enumsMap: {[index: string]: any} = {
145
147
  "AccessCodeDetail.AuthenticationTypeEnum": AccessCodeDetail.AuthenticationTypeEnum,
146
148
  "AuditTrail.ActionEnum": AuditTrail.ActionEnum,
149
+ "AuthenticationSettings.AuthenticationFrequencyEnum": AuthenticationSettings.AuthenticationFrequencyEnum,
147
150
  "BehalfDocument.StatusEnum": BehalfDocument.StatusEnum,
148
151
  "CreateUser.UserRoleEnum": CreateUser.UserRoleEnum,
149
152
  "CustomFormField.FieldTypeEnum": CustomFormField.FieldTypeEnum,
@@ -254,6 +257,7 @@ export let typeMap: {[index: string]: any} = {
254
257
  "Address": Address,
255
258
  "AttachmentInfo": AttachmentInfo,
256
259
  "AuditTrail": AuditTrail,
260
+ "AuthenticationSettings": AuthenticationSettings,
257
261
  "Base64File": Base64File,
258
262
  "BehalfDocument": BehalfDocument,
259
263
  "BehalfDocumentRecords": BehalfDocumentRecords,
@@ -345,6 +349,7 @@ export let typeMap: {[index: string]: any} = {
345
349
  "SenderIdentityCreated": SenderIdentityCreated,
346
350
  "SenderIdentityList": SenderIdentityList,
347
351
  "SenderIdentityViewModel": SenderIdentityViewModel,
352
+ "SignerAuthenticationSettings": SignerAuthenticationSettings,
348
353
  "Size": Size,
349
354
  "TeamCreated": TeamCreated,
350
355
  "TeamDocumentRecords": TeamDocumentRecords,
@@ -386,6 +391,7 @@ export {
386
391
  Address,
387
392
  AttachmentInfo,
388
393
  AuditTrail,
394
+ AuthenticationSettings,
389
395
  Base64File,
390
396
  BehalfDocument,
391
397
  BehalfDocumentRecords,
@@ -477,6 +483,7 @@ export {
477
483
  SenderIdentityCreated,
478
484
  SenderIdentityList,
479
485
  SenderIdentityViewModel,
486
+ SignerAuthenticationSettings,
480
487
  Size,
481
488
  TeamCreated,
482
489
  TeamDocumentRecords,
package/model/role.ts CHANGED
@@ -11,6 +11,7 @@
11
11
  */
12
12
 
13
13
  import { RequestFile } from './models';
14
+ import { AuthenticationSettings } from './authenticationSettings';
14
15
  import { ExistingFormField } from './existingFormField';
15
16
  import { FormField } from './formField';
16
17
  import { IdentityVerificationSettings } from './identityVerificationSettings';
@@ -43,6 +44,7 @@ export class Role {
43
44
  'recipientNotificationSettings'?: RecipientNotificationSettings;
44
45
  'authenticationRetryCount'?: number | null;
45
46
  'enableQes'?: boolean | null;
47
+ 'authenticationSettings'?: AuthenticationSettings;
46
48
 
47
49
  static discriminator: string | undefined = undefined;
48
50
 
@@ -156,6 +158,11 @@ export class Role {
156
158
  "name": "enableQes",
157
159
  "baseName": "enableQes",
158
160
  "type": "boolean"
161
+ },
162
+ {
163
+ "name": "authenticationSettings",
164
+ "baseName": "authenticationSettings",
165
+ "type": "AuthenticationSettings"
159
166
  } ];
160
167
 
161
168
  static getAttributeTypeMap() {
@@ -0,0 +1,37 @@
1
+ /**
2
+ * BoldSign API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { RequestFile } from './models';
14
+
15
+ export class SignerAuthenticationSettings {
16
+ 'authenticationFrequency'?: string | null;
17
+ 'status'?: string | null;
18
+
19
+ static discriminator: string | undefined = undefined;
20
+
21
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
22
+ {
23
+ "name": "authenticationFrequency",
24
+ "baseName": "authenticationFrequency",
25
+ "type": "string"
26
+ },
27
+ {
28
+ "name": "status",
29
+ "baseName": "status",
30
+ "type": "string"
31
+ } ];
32
+
33
+ static getAttributeTypeMap() {
34
+ return SignerAuthenticationSettings.attributeTypeMap;
35
+ }
36
+ }
37
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "boldsign",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "NodeJS client for boldsign",
5
5
  "keywords": [
6
6
  "boldsign",
@@ -27,6 +27,7 @@
27
27
  "@types/node": "^20.8.10",
28
28
  "axios": "^1.8.2",
29
29
  "bluebird": "^3.7.2",
30
+ "dotenv": "^16.5.0",
30
31
  "form-data": "^4.0.0",
31
32
  "qs": "^6.10.3"
32
33
  },