@verdocs/js-sdk 1.0.8 → 1.0.12

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 (381) hide show
  1. package/.gitignore +4 -0
  2. package/.idea/.gitignore +8 -0
  3. package/.idea/inspectionProfiles/Project_Default.xml +12 -0
  4. package/.idea/js-sdk.iml +11 -0
  5. package/.idea/misc.xml +6 -0
  6. package/.idea/modules.xml +8 -0
  7. package/.idea/vcs.xml +6 -0
  8. package/.prettierrc.js +11 -0
  9. package/LICENSE +21 -0
  10. package/README.md +8 -5
  11. package/__mocks__/axios.ts +3 -0
  12. package/dist/.npmignore +5 -0
  13. package/{Documents → dist/Documents}/Documents.d.ts +9 -0
  14. package/{Documents → dist/Documents}/Documents.js +24 -7
  15. package/{Documents → dist/Documents}/Stars.d.ts +0 -0
  16. package/{Documents → dist/Documents}/Stars.js +2 -2
  17. package/{Documents → dist/Documents}/Templates.d.ts +0 -0
  18. package/{Documents → dist/Documents}/Templates.js +22 -10
  19. package/{Documents → dist/Documents}/Types.d.ts +0 -0
  20. package/{Api → dist/Documents}/Types.js +0 -0
  21. package/{Documents → dist/Documents}/index.d.ts +0 -0
  22. package/{Documents → dist/Documents}/index.js +0 -0
  23. package/dist/HTTP/Transport.d.ts +51 -0
  24. package/dist/HTTP/Transport.js +88 -0
  25. package/{HTTP → dist/HTTP}/Types.d.ts +0 -0
  26. package/{Documents → dist/HTTP}/Types.js +0 -0
  27. package/{HTTP → dist/HTTP}/index.d.ts +0 -0
  28. package/{HTTP → dist/HTTP}/index.js +0 -0
  29. package/{Organizations → dist/Organizations}/ApiKeys.d.ts +0 -0
  30. package/{Organizations → dist/Organizations}/ApiKeys.js +16 -6
  31. package/{Organizations → dist/Organizations}/Groups.d.ts +0 -0
  32. package/{Organizations → dist/Organizations}/Groups.js +22 -8
  33. package/{Organizations → dist/Organizations}/Invitations.d.ts +0 -0
  34. package/dist/Organizations/Invitations.js +36 -0
  35. package/{Organizations → dist/Organizations}/Members.d.ts +0 -0
  36. package/dist/Organizations/Members.js +26 -0
  37. package/{Organizations → dist/Organizations}/Organizations.d.ts +0 -0
  38. package/dist/Organizations/Organizations.js +31 -0
  39. package/{Organizations → dist/Organizations}/Types.d.ts +0 -0
  40. package/{HTTP → dist/Organizations}/Types.js +0 -0
  41. package/{Organizations → dist/Organizations}/Webhooks.d.ts +0 -0
  42. package/dist/Organizations/Webhooks.js +11 -0
  43. package/{Organizations → dist/Organizations}/index.d.ts +0 -0
  44. package/{Organizations → dist/Organizations}/index.js +0 -0
  45. package/dist/README.md +68 -0
  46. package/{Search → dist/Search}/Content.d.ts +0 -0
  47. package/{Search → dist/Search}/Content.js +22 -10
  48. package/{Search → dist/Search}/Types.d.ts +0 -0
  49. package/{Organizations → dist/Search}/Types.js +0 -0
  50. package/{Search → dist/Search}/index.d.ts +0 -0
  51. package/{Search → dist/Search}/index.js +0 -0
  52. package/{Signatures.d.ts → dist/Signatures.d.ts} +0 -0
  53. package/dist/Signatures.js +21 -0
  54. package/{Tags.d.ts → dist/Tags.d.ts} +0 -0
  55. package/dist/Tags.js +16 -0
  56. package/{Templates → dist/Templates}/Documents.d.ts +0 -0
  57. package/{Templates → dist/Templates}/Documents.js +13 -5
  58. package/{Templates → dist/Templates}/Fields.d.ts +0 -0
  59. package/dist/Templates/Fields.js +16 -0
  60. package/{Templates → dist/Templates}/Pages.d.ts +0 -0
  61. package/dist/Templates/Pages.js +21 -0
  62. package/{Templates → dist/Templates}/Reminders.d.ts +0 -0
  63. package/dist/Templates/Reminders.js +21 -0
  64. package/{Templates → dist/Templates}/Roles.d.ts +0 -0
  65. package/dist/Templates/Roles.js +36 -0
  66. package/{Templates → dist/Templates}/Stars.d.ts +0 -0
  67. package/dist/Templates/Stars.js +11 -0
  68. package/{Templates → dist/Templates}/Tags.d.ts +0 -0
  69. package/dist/Templates/Tags.js +16 -0
  70. package/{Templates → dist/Templates}/Templates.d.ts +0 -0
  71. package/{Templates → dist/Templates}/Templates.js +33 -11
  72. package/{Templates → dist/Templates}/Types.d.ts +0 -0
  73. package/{Templates → dist/Templates}/Types.js +0 -0
  74. package/{Templates → dist/Templates}/index.d.ts +0 -0
  75. package/{Templates → dist/Templates}/index.js +0 -0
  76. package/{Users → dist/Users}/Auth.d.ts +6 -6
  77. package/{Users → dist/Users}/Auth.js +27 -13
  78. package/{Users → dist/Users}/Billing.d.ts +0 -0
  79. package/{Users → dist/Users}/Billing.js +0 -0
  80. package/{Api → dist/Users}/Notifications.d.ts +0 -0
  81. package/{Api → dist/Users}/Notifications.js +8 -4
  82. package/{Users → dist/Users}/Profiles.d.ts +0 -0
  83. package/{Users → dist/Users}/Profiles.js +41 -11
  84. package/{Users → dist/Users}/Types.d.ts +13 -0
  85. package/{Search → dist/Users}/Types.js +0 -0
  86. package/{Users → dist/Users}/index.d.ts +0 -0
  87. package/{Users → dist/Users}/index.js +0 -0
  88. package/{Utils → dist/Utils}/DateTime.d.ts +0 -0
  89. package/{Utils → dist/Utils}/DateTime.js +0 -0
  90. package/{Utils → dist/Utils}/index.d.ts +0 -0
  91. package/{Utils → dist/Utils}/index.js +0 -0
  92. package/{Validators.d.ts → dist/Validators.d.ts} +0 -0
  93. package/dist/Validators.js +11 -0
  94. package/{Whitelabel.d.ts → dist/Whitelabel.d.ts} +0 -0
  95. package/dist/Whitelabel.js +11 -0
  96. package/{index.d.ts → dist/index.d.ts} +0 -0
  97. package/{index.js → dist/index.js} +0 -0
  98. package/dist/package.json +64 -0
  99. package/docs/.nojekyll +1 -0
  100. package/docs/README.md +70 -0
  101. package/docs/enums/Templates.Types.SortOptions.md +76 -0
  102. package/docs/enums/Templates.Types.Template.md +153 -0
  103. package/docs/enums/Templates.Types.TemplatePermissions.md +109 -0
  104. package/docs/enums/Templates.Types.TemplateSenderTypes.md +65 -0
  105. package/docs/interfaces/Documents.Documents-1.IActivityEntry.md +120 -0
  106. package/docs/interfaces/Documents.Documents-1.IDocument.md +175 -0
  107. package/docs/interfaces/Documents.Documents-1.IDocumentSearchOptions.md +98 -0
  108. package/docs/interfaces/Documents.Documents-1.IDocumentsSearchResult.md +43 -0
  109. package/docs/interfaces/Documents.Documents-1.IDocumentsSearchResultEntry.md +131 -0
  110. package/docs/interfaces/Documents.Documents-1.IDocumentsSummary.md +67 -0
  111. package/docs/interfaces/Documents.Documents-1.IHistory.md +76 -0
  112. package/docs/interfaces/Documents.Documents-1.IRecipient.md +208 -0
  113. package/docs/interfaces/Documents.Types.ITemplateSummaryEntry.md +186 -0
  114. package/docs/interfaces/Documents.Types.ITemplatesSummary.md +43 -0
  115. package/docs/interfaces/Organizations.Types.IApiKey.md +60 -0
  116. package/docs/interfaces/Organizations.Types.IApiKeyWithSecret.md +87 -0
  117. package/docs/interfaces/Organizations.Types.ICreateApiKeyRequest.md +32 -0
  118. package/docs/interfaces/Organizations.Types.IGroup.md +101 -0
  119. package/docs/interfaces/Organizations.Types.IGroupDetail.md +129 -0
  120. package/docs/interfaces/Organizations.Types.IOrganization.md +128 -0
  121. package/docs/interfaces/Organizations.Types.IUpdateApiKeyRequest.md +32 -0
  122. package/docs/interfaces/Signatures.ISignature.md +65 -0
  123. package/docs/interfaces/Tags.ITags.md +43 -0
  124. package/docs/interfaces/Templates.Types.IDocument.md +109 -0
  125. package/docs/interfaces/Templates.Types.IField.md +109 -0
  126. package/docs/interfaces/Templates.Types.IPage.md +87 -0
  127. package/docs/interfaces/Templates.Types.IReminder.md +109 -0
  128. package/docs/interfaces/Templates.Types.IRole.md +120 -0
  129. package/docs/interfaces/Templates.Types.ISetting.md +98 -0
  130. package/docs/interfaces/Templates.Types.IStar.md +32 -0
  131. package/docs/interfaces/Templates.Types.ITag.md +32 -0
  132. package/docs/interfaces/Templates.Types.ITemplate.md +219 -0
  133. package/docs/interfaces/Templates.Types.ITemplateSearchParams.md +197 -0
  134. package/docs/interfaces/Templates.Types.ITemplateSummaryEntry.md +186 -0
  135. package/docs/interfaces/Templates.Types.ITemplatesSearchResult.md +43 -0
  136. package/docs/interfaces/Templates.Types.ITemplatesSummary.md +43 -0
  137. package/docs/interfaces/Templates.Types.ITimePeriod.md +32 -0
  138. package/docs/interfaces/Users.Types.IActiveSession.md +131 -0
  139. package/docs/interfaces/Users.Types.IAuthenticateAppRequest.md +32 -0
  140. package/docs/interfaces/Users.Types.IAuthenticateResponse.md +43 -0
  141. package/docs/interfaces/Users.Types.IAuthenticateUserRequest.md +32 -0
  142. package/docs/interfaces/Users.Types.ICreateProfileRequest.md +54 -0
  143. package/docs/interfaces/Users.Types.IPermission.md +36 -0
  144. package/docs/interfaces/Users.Types.IProfile.md +173 -0
  145. package/docs/interfaces/Users.Types.IRole.md +36 -0
  146. package/docs/interfaces/Users.Types.ISwitchProfileResponse.md +54 -0
  147. package/docs/interfaces/Users.Types.IUpdateProfileRequest.md +43 -0
  148. package/docs/interfaces/Users.Types.TokenValidationRequest.md +21 -0
  149. package/docs/interfaces/Users.Types.TokenValidationResponse.md +36 -0
  150. package/docs/interfaces/Users.Types.UpdateEmailRequest.md +21 -0
  151. package/docs/interfaces/Users.Types.UpdateEmailResponse.md +21 -0
  152. package/docs/interfaces/Users.Types.UpdatePasswordRequest.md +43 -0
  153. package/docs/interfaces/Users.Types.UpdatePasswordResponse.md +34 -0
  154. package/docs/interfaces/Validators.IValidator.md +32 -0
  155. package/docs/modules/Documents.Documents-1.md +137 -0
  156. package/docs/modules/Documents.Stars.md +31 -0
  157. package/docs/modules/Documents.Templates.md +61 -0
  158. package/docs/modules/Documents.Types.md +12 -0
  159. package/docs/modules/Documents.md +12 -0
  160. package/docs/modules/HTTP.Transport.md +150 -0
  161. package/docs/modules/HTTP.Types.md +21 -0
  162. package/docs/modules/HTTP.md +10 -0
  163. package/docs/modules/Organizations.ApiKeys.md +169 -0
  164. package/docs/modules/Organizations.Groups.md +190 -0
  165. package/docs/modules/Organizations.Invitations.md +166 -0
  166. package/docs/modules/Organizations.Members.md +121 -0
  167. package/docs/modules/Organizations.Organizations-1.md +119 -0
  168. package/docs/modules/Organizations.Types.md +17 -0
  169. package/docs/modules/Organizations.Webhooks.md +53 -0
  170. package/docs/modules/Organizations.md +20 -0
  171. package/docs/modules/Signatures.md +90 -0
  172. package/docs/modules/Tags.md +75 -0
  173. package/docs/modules/Templates.Documents.md +129 -0
  174. package/docs/modules/Templates.Fields.md +77 -0
  175. package/docs/modules/Templates.Pages.md +98 -0
  176. package/docs/modules/Templates.Reminders.md +98 -0
  177. package/docs/modules/Templates.Roles.md +163 -0
  178. package/docs/modules/Templates.Stars.md +52 -0
  179. package/docs/modules/Templates.Tags.md +75 -0
  180. package/docs/modules/Templates.Templates-1.md +139 -0
  181. package/docs/modules/Templates.Types.md +31 -0
  182. package/docs/modules/Templates.md +17 -0
  183. package/docs/modules/Users.Auth.md +196 -0
  184. package/docs/modules/Users.Billing.md +5 -0
  185. package/docs/modules/Users.Notifications.md +25 -0
  186. package/docs/modules/Users.Profiles.md +286 -0
  187. package/docs/modules/Users.Types.md +62 -0
  188. package/docs/modules/Users.md +13 -0
  189. package/docs/modules/Utils.DateTime.md +31 -0
  190. package/docs/modules/Utils.md +9 -0
  191. package/docs/modules/Validators.md +48 -0
  192. package/docs/modules/Whitelabel.md +38 -0
  193. package/docs/modules.md +27 -0
  194. package/docs-html/.nojekyll +1 -0
  195. package/docs-html/assets/highlight.css +85 -0
  196. package/docs-html/assets/icons.css +1043 -0
  197. package/docs-html/assets/icons.png +0 -0
  198. package/docs-html/assets/icons@2x.png +0 -0
  199. package/docs-html/assets/main.js +52 -0
  200. package/docs-html/assets/search.js +1 -0
  201. package/docs-html/assets/style.css +1384 -0
  202. package/docs-html/assets/widgets.png +0 -0
  203. package/docs-html/assets/widgets@2x.png +0 -0
  204. package/docs-html/enums/Templates.Types.SortOptions.html +1 -0
  205. package/docs-html/enums/Templates.Types.Template.html +1 -0
  206. package/docs-html/enums/Templates.Types.TemplatePermissions.html +1 -0
  207. package/docs-html/enums/Templates.Types.TemplateSenderTypes.html +1 -0
  208. package/docs-html/index.html +64 -0
  209. package/docs-html/interfaces/Documents.Documents-1.IActivityEntry.html +1 -0
  210. package/docs-html/interfaces/Documents.Documents-1.IDocument.html +1 -0
  211. package/docs-html/interfaces/Documents.Documents-1.IDocumentSearchOptions.html +1 -0
  212. package/docs-html/interfaces/Documents.Documents-1.IDocumentsSearchResult.html +1 -0
  213. package/docs-html/interfaces/Documents.Documents-1.IDocumentsSearchResultEntry.html +1 -0
  214. package/docs-html/interfaces/Documents.Documents-1.IDocumentsSummary.html +1 -0
  215. package/docs-html/interfaces/Documents.Documents-1.IHistory.html +1 -0
  216. package/docs-html/interfaces/Documents.Documents-1.IRecipient.html +1 -0
  217. package/docs-html/interfaces/Documents.Types.ITemplateSummaryEntry.html +1 -0
  218. package/docs-html/interfaces/Documents.Types.ITemplatesSummary.html +1 -0
  219. package/docs-html/interfaces/Organizations.Types.IApiKey.html +1 -0
  220. package/docs-html/interfaces/Organizations.Types.IApiKeyWithSecret.html +1 -0
  221. package/docs-html/interfaces/Organizations.Types.ICreateApiKeyRequest.html +1 -0
  222. package/docs-html/interfaces/Organizations.Types.IGroup.html +9 -0
  223. package/docs-html/interfaces/Organizations.Types.IGroupDetail.html +9 -0
  224. package/docs-html/interfaces/Organizations.Types.IOrganization.html +9 -0
  225. package/docs-html/interfaces/Organizations.Types.IUpdateApiKeyRequest.html +1 -0
  226. package/docs-html/interfaces/Signatures.ISignature.html +1 -0
  227. package/docs-html/interfaces/Tags.ITags.html +1 -0
  228. package/docs-html/interfaces/Templates.Types.IDocument.html +1 -0
  229. package/docs-html/interfaces/Templates.Types.IField.html +1 -0
  230. package/docs-html/interfaces/Templates.Types.IPage.html +1 -0
  231. package/docs-html/interfaces/Templates.Types.IReminder.html +1 -0
  232. package/docs-html/interfaces/Templates.Types.IRole.html +1 -0
  233. package/docs-html/interfaces/Templates.Types.ISetting.html +1 -0
  234. package/docs-html/interfaces/Templates.Types.IStar.html +1 -0
  235. package/docs-html/interfaces/Templates.Types.ITag.html +1 -0
  236. package/docs-html/interfaces/Templates.Types.ITemplate.html +1 -0
  237. package/docs-html/interfaces/Templates.Types.ITemplateSearchParams.html +1 -0
  238. package/docs-html/interfaces/Templates.Types.ITemplateSummaryEntry.html +1 -0
  239. package/docs-html/interfaces/Templates.Types.ITemplatesSearchResult.html +1 -0
  240. package/docs-html/interfaces/Templates.Types.ITemplatesSummary.html +1 -0
  241. package/docs-html/interfaces/Templates.Types.ITimePeriod.html +1 -0
  242. package/docs-html/interfaces/Users.Types.IActiveSession.html +1 -0
  243. package/docs-html/interfaces/Users.Types.IAuthenticateAppRequest.html +1 -0
  244. package/docs-html/interfaces/Users.Types.IAuthenticateResponse.html +1 -0
  245. package/docs-html/interfaces/Users.Types.IAuthenticateUserRequest.html +1 -0
  246. package/docs-html/interfaces/Users.Types.ICreateProfileRequest.html +1 -0
  247. package/docs-html/interfaces/Users.Types.IPermission.html +5 -0
  248. package/docs-html/interfaces/Users.Types.IProfile.html +21 -0
  249. package/docs-html/interfaces/Users.Types.IRole.html +5 -0
  250. package/docs-html/interfaces/Users.Types.ISwitchProfileResponse.html +1 -0
  251. package/docs-html/interfaces/Users.Types.IUpdateProfileRequest.html +1 -0
  252. package/docs-html/interfaces/Users.Types.TokenValidationRequest.html +1 -0
  253. package/docs-html/interfaces/Users.Types.TokenValidationResponse.html +5 -0
  254. package/docs-html/interfaces/Users.Types.UpdateEmailRequest.html +1 -0
  255. package/docs-html/interfaces/Users.Types.UpdateEmailResponse.html +1 -0
  256. package/docs-html/interfaces/Users.Types.UpdatePasswordRequest.html +1 -0
  257. package/docs-html/interfaces/Users.Types.UpdatePasswordResponse.html +3 -0
  258. package/docs-html/interfaces/Validators.IValidator.html +1 -0
  259. package/docs-html/modules/Documents.Documents-1.html +9 -0
  260. package/docs-html/modules/Documents.Stars.html +1 -0
  261. package/docs-html/modules/Documents.Templates.html +1 -0
  262. package/docs-html/modules/Documents.Types.html +1 -0
  263. package/docs-html/modules/Documents.html +1 -0
  264. package/docs-html/modules/HTTP.Transport.html +22 -0
  265. package/docs-html/modules/HTTP.Types.html +1 -0
  266. package/docs-html/modules/HTTP.html +1 -0
  267. package/docs-html/modules/Organizations.ApiKeys.html +29 -0
  268. package/docs-html/modules/Organizations.Groups.html +15 -0
  269. package/docs-html/modules/Organizations.Invitations.html +1 -0
  270. package/docs-html/modules/Organizations.Members.html +1 -0
  271. package/docs-html/modules/Organizations.Organizations-1.html +1 -0
  272. package/docs-html/modules/Organizations.Types.html +1 -0
  273. package/docs-html/modules/Organizations.Webhooks.html +1 -0
  274. package/docs-html/modules/Organizations.html +6 -0
  275. package/docs-html/modules/Signatures.html +1 -0
  276. package/docs-html/modules/Tags.html +1 -0
  277. package/docs-html/modules/Templates.Documents.html +17 -0
  278. package/docs-html/modules/Templates.Fields.html +1 -0
  279. package/docs-html/modules/Templates.Pages.html +1 -0
  280. package/docs-html/modules/Templates.Reminders.html +1 -0
  281. package/docs-html/modules/Templates.Roles.html +1 -0
  282. package/docs-html/modules/Templates.Stars.html +1 -0
  283. package/docs-html/modules/Templates.Tags.html +1 -0
  284. package/docs-html/modules/Templates.Templates-1.html +5 -0
  285. package/docs-html/modules/Templates.Types.html +1 -0
  286. package/docs-html/modules/Templates.html +1 -0
  287. package/docs-html/modules/Users.Auth.html +31 -0
  288. package/docs-html/modules/Users.Billing.html +1 -0
  289. package/docs-html/modules/Users.Notifications.html +1 -0
  290. package/docs-html/modules/Users.Profiles.html +44 -0
  291. package/docs-html/modules/Users.Types.html +1 -0
  292. package/docs-html/modules/Users.html +1 -0
  293. package/docs-html/modules/Utils.DateTime.html +1 -0
  294. package/docs-html/modules/Utils.html +1 -0
  295. package/docs-html/modules/Validators.html +1 -0
  296. package/docs-html/modules/Whitelabel.html +1 -0
  297. package/docs-html/modules.html +11 -0
  298. package/jestconfig.json +11 -0
  299. package/package-lock.json +3421 -0
  300. package/package.json +6 -3
  301. package/src/Documents/Documents.ts +166 -0
  302. package/src/Documents/Stars.ts +5 -0
  303. package/src/Documents/Templates.ts +17 -0
  304. package/src/Documents/Types.ts +24 -0
  305. package/src/Documents/index.ts +4 -0
  306. package/src/HTTP/Transport.ts +95 -0
  307. package/src/HTTP/Types.ts +1 -0
  308. package/src/HTTP/index.ts +2 -0
  309. package/src/Organizations/ApiKeys.ts +85 -0
  310. package/src/Organizations/Groups.ts +65 -0
  311. package/src/Organizations/Invitations.ts +36 -0
  312. package/src/Organizations/Members.ts +26 -0
  313. package/src/Organizations/Organizations.ts +32 -0
  314. package/src/Organizations/Types.ts +63 -0
  315. package/src/Organizations/Webhooks.ts +11 -0
  316. package/src/Organizations/index.ts +16 -0
  317. package/src/Search/Content.ts +45 -0
  318. package/src/Search/Types.ts +83 -0
  319. package/src/Search/index.ts +2 -0
  320. package/src/Signatures.ts +29 -0
  321. package/src/Tags.ts +22 -0
  322. package/src/Templates/Documents.ts +58 -0
  323. package/src/Templates/Fields.ts +17 -0
  324. package/src/Templates/Pages.ts +22 -0
  325. package/src/Templates/Reminders.ts +22 -0
  326. package/src/Templates/Roles.ts +37 -0
  327. package/src/Templates/Stars.ts +12 -0
  328. package/src/Templates/Tags.ts +17 -0
  329. package/src/Templates/Templates.ts +42 -0
  330. package/src/Templates/Types.ts +201 -0
  331. package/src/Templates/index.ts +9 -0
  332. package/src/Users/Auth.ts +114 -0
  333. package/src/Users/Billing.ts +3 -0
  334. package/src/Users/Notifications.ts +6 -0
  335. package/src/Users/Profiles.ts +153 -0
  336. package/src/Users/Types.ts +156 -0
  337. package/src/Users/index.ts +5 -0
  338. package/src/Utils/DateTime.ts +43 -0
  339. package/src/Utils/index.ts +1 -0
  340. package/src/Validators.ts +16 -0
  341. package/src/Whitelabel.ts +11 -0
  342. package/src/__tests__/Organizations/Apikeys.spec.ts +84 -0
  343. package/src/__tests__/Users/Auth.spec.ts +89 -0
  344. package/src/__tests__/Users/Profiles.spec.ts +162 -0
  345. package/src/index.ts +23 -0
  346. package/tsconfig.json +20 -0
  347. package/tslint.json +3 -0
  348. package/Api/Auth.d.ts +0 -71
  349. package/Api/Auth.js +0 -24
  350. package/Api/Documents.d.ts +0 -124
  351. package/Api/Documents.js +0 -47
  352. package/Api/Endpoint.d.ts +0 -2
  353. package/Api/Endpoint.js +0 -9
  354. package/Api/Templates.d.ts +0 -33
  355. package/Api/Templates.js +0 -55
  356. package/Api/Types.d.ts +0 -182
  357. package/Api/index.d.ts +0 -2
  358. package/Api/index.js +0 -2
  359. package/AuthManager.d.ts +0 -14
  360. package/AuthManager.js +0 -53
  361. package/HTTP/Endpoint.d.ts +0 -4
  362. package/HTTP/Endpoint.js +0 -12
  363. package/HTTP/Transport.d.ts +0 -3
  364. package/HTTP/Transport.js +0 -12
  365. package/Organizations/Invitations.js +0 -22
  366. package/Organizations/Members.js +0 -16
  367. package/Organizations/Organizations.js +0 -13
  368. package/Organizations/Webhooks.js +0 -7
  369. package/Signatures.js +0 -7
  370. package/Tags.js +0 -4
  371. package/Templates/Fields.js +0 -10
  372. package/Templates/Pages.js +0 -13
  373. package/Templates/Reminders.js +0 -13
  374. package/Templates/Roles.js +0 -22
  375. package/Templates/Stars.js +0 -7
  376. package/Templates/Tags.js +0 -10
  377. package/Users/Notifications.d.ts +0 -1
  378. package/Users/Notifications.js +0 -40
  379. package/Users/Types.js +0 -1
  380. package/Validators.js +0 -5
  381. package/Whitelabel.js +0 -3
@@ -0,0 +1,98 @@
1
+ [@verdocs/js-sdk - v1.0.12](../README.md) / [Exports](../modules.md) / [Templates](Templates.md) / Reminders
2
+
3
+ # Namespace: Reminders
4
+
5
+ [Templates](Templates.md).Reminders
6
+
7
+ ## Table of contents
8
+
9
+ ### Functions
10
+
11
+ - [createReminder](Templates.Reminders.md#createreminder)
12
+ - [deleteReminder](Templates.Reminders.md#deletereminder)
13
+ - [editReminder](Templates.Reminders.md#editreminder)
14
+ - [getReminder](Templates.Reminders.md#getreminder)
15
+
16
+ ## Functions
17
+
18
+ ### createReminder
19
+
20
+ ▸ `Const` **createReminder**(`templateId`, `params`): `Promise`<[`ITemplate`](../interfaces/Templates.Types.ITemplate.md)\>
21
+
22
+ #### Parameters
23
+
24
+ | Name | Type |
25
+ | :------ | :------ |
26
+ | `templateId` | `string` |
27
+ | `params` | `any` |
28
+
29
+ #### Returns
30
+
31
+ `Promise`<[`ITemplate`](../interfaces/Templates.Types.ITemplate.md)\>
32
+
33
+ #### Defined in
34
+
35
+ [Templates/Reminders.ts:4](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Reminders.ts#L4)
36
+
37
+ ___
38
+
39
+ ### deleteReminder
40
+
41
+ ▸ `Const` **deleteReminder**(`templateId`, `reminderId`): `Promise`<`any`\>
42
+
43
+ #### Parameters
44
+
45
+ | Name | Type |
46
+ | :------ | :------ |
47
+ | `templateId` | `string` |
48
+ | `reminderId` | `string` |
49
+
50
+ #### Returns
51
+
52
+ `Promise`<`any`\>
53
+
54
+ #### Defined in
55
+
56
+ [Templates/Reminders.ts:19](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Reminders.ts#L19)
57
+
58
+ ___
59
+
60
+ ### editReminder
61
+
62
+ ▸ `Const` **editReminder**(`templateId`, `reminderId`): `Promise`<[`IReminder`](../interfaces/Templates.Types.IReminder.md)\>
63
+
64
+ #### Parameters
65
+
66
+ | Name | Type |
67
+ | :------ | :------ |
68
+ | `templateId` | `string` |
69
+ | `reminderId` | `string` |
70
+
71
+ #### Returns
72
+
73
+ `Promise`<[`IReminder`](../interfaces/Templates.Types.IReminder.md)\>
74
+
75
+ #### Defined in
76
+
77
+ [Templates/Reminders.ts:14](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Reminders.ts#L14)
78
+
79
+ ___
80
+
81
+ ### getReminder
82
+
83
+ ▸ `Const` **getReminder**(`templateId`, `reminderId`): `Promise`<[`IReminder`](../interfaces/Templates.Types.IReminder.md)\>
84
+
85
+ #### Parameters
86
+
87
+ | Name | Type |
88
+ | :------ | :------ |
89
+ | `templateId` | `string` |
90
+ | `reminderId` | `string` |
91
+
92
+ #### Returns
93
+
94
+ `Promise`<[`IReminder`](../interfaces/Templates.Types.IReminder.md)\>
95
+
96
+ #### Defined in
97
+
98
+ [Templates/Reminders.ts:9](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Reminders.ts#L9)
@@ -0,0 +1,163 @@
1
+ [@verdocs/js-sdk - v1.0.12](../README.md) / [Exports](../modules.md) / [Templates](Templates.md) / Roles
2
+
3
+ # Namespace: Roles
4
+
5
+ [Templates](Templates.md).Roles
6
+
7
+ ## Table of contents
8
+
9
+ ### Functions
10
+
11
+ - [createRole](Templates.Roles.md#createrole)
12
+ - [deleteRole](Templates.Roles.md#deleterole)
13
+ - [deleteSequence](Templates.Roles.md#deletesequence)
14
+ - [editRole](Templates.Roles.md#editrole)
15
+ - [getRole](Templates.Roles.md#getrole)
16
+ - [getRoleFields](Templates.Roles.md#getrolefields)
17
+ - [getRoles](Templates.Roles.md#getroles)
18
+
19
+ ## Functions
20
+
21
+ ### createRole
22
+
23
+ ▸ `Const` **createRole**(`templateId`, `params`): `Promise`<[`IRole`](../interfaces/Templates.Types.IRole.md)\>
24
+
25
+ #### Parameters
26
+
27
+ | Name | Type |
28
+ | :------ | :------ |
29
+ | `templateId` | `string` |
30
+ | `params` | [`IRole`](../interfaces/Templates.Types.IRole.md) |
31
+
32
+ #### Returns
33
+
34
+ `Promise`<[`IRole`](../interfaces/Templates.Types.IRole.md)\>
35
+
36
+ #### Defined in
37
+
38
+ [Templates/Roles.ts:4](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Roles.ts#L4)
39
+
40
+ ___
41
+
42
+ ### deleteRole
43
+
44
+ ▸ `Const` **deleteRole**(`templateId`, `roleName`): `Promise`<`any`\>
45
+
46
+ #### Parameters
47
+
48
+ | Name | Type |
49
+ | :------ | :------ |
50
+ | `templateId` | `string` |
51
+ | `roleName` | `string` |
52
+
53
+ #### Returns
54
+
55
+ `Promise`<`any`\>
56
+
57
+ #### Defined in
58
+
59
+ [Templates/Roles.ts:24](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Roles.ts#L24)
60
+
61
+ ___
62
+
63
+ ### deleteSequence
64
+
65
+ ▸ `Const` **deleteSequence**(`templateId`): `Promise`<[`IRole`](../interfaces/Templates.Types.IRole.md)[]\>
66
+
67
+ #### Parameters
68
+
69
+ | Name | Type |
70
+ | :------ | :------ |
71
+ | `templateId` | `string` |
72
+
73
+ #### Returns
74
+
75
+ `Promise`<[`IRole`](../interfaces/Templates.Types.IRole.md)[]\>
76
+
77
+ #### Defined in
78
+
79
+ [Templates/Roles.ts:34](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Roles.ts#L34)
80
+
81
+ ___
82
+
83
+ ### editRole
84
+
85
+ ▸ `Const` **editRole**(`templateId`, `roleName`, `params`): `Promise`<[`IRole`](../interfaces/Templates.Types.IRole.md)\>
86
+
87
+ #### Parameters
88
+
89
+ | Name | Type |
90
+ | :------ | :------ |
91
+ | `templateId` | `string` |
92
+ | `roleName` | `string` |
93
+ | `params` | [`IRole`](../interfaces/Templates.Types.IRole.md) |
94
+
95
+ #### Returns
96
+
97
+ `Promise`<[`IRole`](../interfaces/Templates.Types.IRole.md)\>
98
+
99
+ #### Defined in
100
+
101
+ [Templates/Roles.ts:19](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Roles.ts#L19)
102
+
103
+ ___
104
+
105
+ ### getRole
106
+
107
+ ▸ `Const` **getRole**(`templateId`, `roleName`): `Promise`<[`IRole`](../interfaces/Templates.Types.IRole.md)\>
108
+
109
+ #### Parameters
110
+
111
+ | Name | Type |
112
+ | :------ | :------ |
113
+ | `templateId` | `string` |
114
+ | `roleName` | `string` |
115
+
116
+ #### Returns
117
+
118
+ `Promise`<[`IRole`](../interfaces/Templates.Types.IRole.md)\>
119
+
120
+ #### Defined in
121
+
122
+ [Templates/Roles.ts:14](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Roles.ts#L14)
123
+
124
+ ___
125
+
126
+ ### getRoleFields
127
+
128
+ ▸ `Const` **getRoleFields**(`templateId`, `roleName`): `Promise`<[`IField`](../interfaces/Templates.Types.IField.md)[]\>
129
+
130
+ #### Parameters
131
+
132
+ | Name | Type |
133
+ | :------ | :------ |
134
+ | `templateId` | `string` |
135
+ | `roleName` | `string` |
136
+
137
+ #### Returns
138
+
139
+ `Promise`<[`IField`](../interfaces/Templates.Types.IField.md)[]\>
140
+
141
+ #### Defined in
142
+
143
+ [Templates/Roles.ts:29](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Roles.ts#L29)
144
+
145
+ ___
146
+
147
+ ### getRoles
148
+
149
+ ▸ `Const` **getRoles**(`templateId`): `Promise`<[`IRole`](../interfaces/Templates.Types.IRole.md)[]\>
150
+
151
+ #### Parameters
152
+
153
+ | Name | Type |
154
+ | :------ | :------ |
155
+ | `templateId` | `string` |
156
+
157
+ #### Returns
158
+
159
+ `Promise`<[`IRole`](../interfaces/Templates.Types.IRole.md)[]\>
160
+
161
+ #### Defined in
162
+
163
+ [Templates/Roles.ts:9](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Roles.ts#L9)
@@ -0,0 +1,52 @@
1
+ [@verdocs/js-sdk - v1.0.12](../README.md) / [Exports](../modules.md) / [Templates](Templates.md) / Stars
2
+
3
+ # Namespace: Stars
4
+
5
+ [Templates](Templates.md).Stars
6
+
7
+ ## Table of contents
8
+
9
+ ### Functions
10
+
11
+ - [getStars](Templates.Stars.md#getstars)
12
+ - [toggleStar](Templates.Stars.md#togglestar)
13
+
14
+ ## Functions
15
+
16
+ ### getStars
17
+
18
+ ▸ `Const` **getStars**(`templateId`): `Promise`<[`IStar`](../interfaces/Templates.Types.IStar.md)[]\>
19
+
20
+ #### Parameters
21
+
22
+ | Name | Type |
23
+ | :------ | :------ |
24
+ | `templateId` | `string` |
25
+
26
+ #### Returns
27
+
28
+ `Promise`<[`IStar`](../interfaces/Templates.Types.IStar.md)[]\>
29
+
30
+ #### Defined in
31
+
32
+ [Templates/Stars.ts:4](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Stars.ts#L4)
33
+
34
+ ___
35
+
36
+ ### toggleStar
37
+
38
+ ▸ `Const` **toggleStar**(`templateId`): `Promise`<[`ITemplatesSummary`](../interfaces/Templates.Types.ITemplatesSummary.md)\>
39
+
40
+ #### Parameters
41
+
42
+ | Name | Type |
43
+ | :------ | :------ |
44
+ | `templateId` | `string` |
45
+
46
+ #### Returns
47
+
48
+ `Promise`<[`ITemplatesSummary`](../interfaces/Templates.Types.ITemplatesSummary.md)\>
49
+
50
+ #### Defined in
51
+
52
+ [Templates/Stars.ts:9](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Stars.ts#L9)
@@ -0,0 +1,75 @@
1
+ [@verdocs/js-sdk - v1.0.12](../README.md) / [Exports](../modules.md) / [Templates](Templates.md) / Tags
2
+
3
+ # Namespace: Tags
4
+
5
+ [Templates](Templates.md).Tags
6
+
7
+ ## Table of contents
8
+
9
+ ### Functions
10
+
11
+ - [createTag](Templates.Tags.md#createtag)
12
+ - [deleteTag](Templates.Tags.md#deletetag)
13
+ - [getTags](Templates.Tags.md#gettags)
14
+
15
+ ## Functions
16
+
17
+ ### createTag
18
+
19
+ ▸ `Const` **createTag**(`templateId`, `params`): `Promise`<[`ITag`](../interfaces/Templates.Types.ITag.md)\>
20
+
21
+ #### Parameters
22
+
23
+ | Name | Type |
24
+ | :------ | :------ |
25
+ | `templateId` | `string` |
26
+ | `params` | `any` |
27
+
28
+ #### Returns
29
+
30
+ `Promise`<[`ITag`](../interfaces/Templates.Types.ITag.md)\>
31
+
32
+ #### Defined in
33
+
34
+ [Templates/Tags.ts:4](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Tags.ts#L4)
35
+
36
+ ___
37
+
38
+ ### deleteTag
39
+
40
+ ▸ `Const` **deleteTag**(`templateId`, `tagName`): `Promise`<`any`\>
41
+
42
+ #### Parameters
43
+
44
+ | Name | Type |
45
+ | :------ | :------ |
46
+ | `templateId` | `string` |
47
+ | `tagName` | `string` |
48
+
49
+ #### Returns
50
+
51
+ `Promise`<`any`\>
52
+
53
+ #### Defined in
54
+
55
+ [Templates/Tags.ts:14](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Tags.ts#L14)
56
+
57
+ ___
58
+
59
+ ### getTags
60
+
61
+ ▸ `Const` **getTags**(`templateId`): `Promise`<[`ITag`](../interfaces/Templates.Types.ITag.md)[]\>
62
+
63
+ #### Parameters
64
+
65
+ | Name | Type |
66
+ | :------ | :------ |
67
+ | `templateId` | `string` |
68
+
69
+ #### Returns
70
+
71
+ `Promise`<[`ITag`](../interfaces/Templates.Types.ITag.md)[]\>
72
+
73
+ #### Defined in
74
+
75
+ [Templates/Tags.ts:9](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Tags.ts#L9)
@@ -0,0 +1,139 @@
1
+ [@verdocs/js-sdk - v1.0.12](../README.md) / [Exports](../modules.md) / [Templates](Templates.md) / Templates
2
+
3
+ # Namespace: Templates
4
+
5
+ [Templates](Templates.md).Templates
6
+
7
+ ## Table of contents
8
+
9
+ ### Functions
10
+
11
+ - [createTemplate](Templates.Templates-1.md#createtemplate)
12
+ - [editTemplate](Templates.Templates-1.md#edittemplate)
13
+ - [getSummary](Templates.Templates-1.md#getsummary)
14
+ - [getTemplate](Templates.Templates-1.md#gettemplate)
15
+ - [getTemplates](Templates.Templates-1.md#gettemplates)
16
+ - [searchTemplate](Templates.Templates-1.md#searchtemplate)
17
+
18
+ ## Functions
19
+
20
+ ### createTemplate
21
+
22
+ ▸ `Const` **createTemplate**(`params`): `Promise`<[`ITemplate`](../interfaces/Templates.Types.ITemplate.md)\>
23
+
24
+ #### Parameters
25
+
26
+ | Name | Type |
27
+ | :------ | :------ |
28
+ | `params` | `any` |
29
+
30
+ #### Returns
31
+
32
+ `Promise`<[`ITemplate`](../interfaces/Templates.Types.ITemplate.md)\>
33
+
34
+ #### Defined in
35
+
36
+ [Templates/Templates.ts:15](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Templates.ts#L15)
37
+
38
+ ___
39
+
40
+ ### editTemplate
41
+
42
+ ▸ `Const` **editTemplate**(`templateId`, `params`): `Promise`<[`ITemplate`](../interfaces/Templates.Types.ITemplate.md)\>
43
+
44
+ #### Parameters
45
+
46
+ | Name | Type |
47
+ | :------ | :------ |
48
+ | `templateId` | `string` |
49
+ | `params` | `any` |
50
+
51
+ #### Returns
52
+
53
+ `Promise`<[`ITemplate`](../interfaces/Templates.Types.ITemplate.md)\>
54
+
55
+ #### Defined in
56
+
57
+ [Templates/Templates.ts:20](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Templates.ts#L20)
58
+
59
+ ___
60
+
61
+ ### getSummary
62
+
63
+ ▸ `Const` **getSummary**(`page`): `Promise`<[`ITemplatesSummary`](../interfaces/Templates.Types.ITemplatesSummary.md)\>
64
+
65
+ #### Parameters
66
+
67
+ | Name | Type |
68
+ | :------ | :------ |
69
+ | `page` | `number` |
70
+
71
+ #### Returns
72
+
73
+ `Promise`<[`ITemplatesSummary`](../interfaces/Templates.Types.ITemplatesSummary.md)\>
74
+
75
+ #### Defined in
76
+
77
+ [Templates/Templates.ts:39](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Templates.ts#L39)
78
+
79
+ ___
80
+
81
+ ### getTemplate
82
+
83
+ ▸ `Const` **getTemplate**(`templateId`): `Promise`<`any`\>
84
+
85
+ #### Parameters
86
+
87
+ | Name | Type |
88
+ | :------ | :------ |
89
+ | `templateId` | `string` |
90
+
91
+ #### Returns
92
+
93
+ `Promise`<`any`\>
94
+
95
+ #### Defined in
96
+
97
+ [Templates/Templates.ts:10](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Templates.ts#L10)
98
+
99
+ ___
100
+
101
+ ### getTemplates
102
+
103
+ ▸ `Const` **getTemplates**(): `Promise`<`any`[]\>
104
+
105
+ #### Returns
106
+
107
+ `Promise`<`any`[]\>
108
+
109
+ #### Defined in
110
+
111
+ [Templates/Templates.ts:5](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Templates.ts#L5)
112
+
113
+ ___
114
+
115
+ ### searchTemplate
116
+
117
+ ▸ `Const` **searchTemplate**(`params`): `Promise`<[`ITemplatesSearchResult`](../interfaces/Templates.Types.ITemplatesSearchResult.md)\>
118
+
119
+ Search for templates matching various criteria.
120
+
121
+ ```typescript
122
+ import {Templates} from '@verdocs/js-sdk/Templates';
123
+
124
+ const {result, page, total} = await Templates.search({ ... });
125
+ ```
126
+
127
+ #### Parameters
128
+
129
+ | Name | Type |
130
+ | :------ | :------ |
131
+ | `params` | `any` |
132
+
133
+ #### Returns
134
+
135
+ `Promise`<[`ITemplatesSearchResult`](../interfaces/Templates.Types.ITemplatesSearchResult.md)\>
136
+
137
+ #### Defined in
138
+
139
+ [Templates/Templates.ts:34](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Templates.ts#L34)
@@ -0,0 +1,31 @@
1
+ [@verdocs/js-sdk - v1.0.12](../README.md) / [Exports](../modules.md) / [Templates](Templates.md) / Types
2
+
3
+ # Namespace: Types
4
+
5
+ [Templates](Templates.md).Types
6
+
7
+ ## Table of contents
8
+
9
+ ### Enumerations
10
+
11
+ - [SortOptions](../enums/Templates.Types.SortOptions.md)
12
+ - [Template](../enums/Templates.Types.Template.md)
13
+ - [TemplatePermissions](../enums/Templates.Types.TemplatePermissions.md)
14
+ - [TemplateSenderTypes](../enums/Templates.Types.TemplateSenderTypes.md)
15
+
16
+ ### Interfaces
17
+
18
+ - [IDocument](../interfaces/Templates.Types.IDocument.md)
19
+ - [IField](../interfaces/Templates.Types.IField.md)
20
+ - [IPage](../interfaces/Templates.Types.IPage.md)
21
+ - [IReminder](../interfaces/Templates.Types.IReminder.md)
22
+ - [IRole](../interfaces/Templates.Types.IRole.md)
23
+ - [ISetting](../interfaces/Templates.Types.ISetting.md)
24
+ - [IStar](../interfaces/Templates.Types.IStar.md)
25
+ - [ITag](../interfaces/Templates.Types.ITag.md)
26
+ - [ITemplate](../interfaces/Templates.Types.ITemplate.md)
27
+ - [ITemplateSearchParams](../interfaces/Templates.Types.ITemplateSearchParams.md)
28
+ - [ITemplateSummaryEntry](../interfaces/Templates.Types.ITemplateSummaryEntry.md)
29
+ - [ITemplatesSearchResult](../interfaces/Templates.Types.ITemplatesSearchResult.md)
30
+ - [ITemplatesSummary](../interfaces/Templates.Types.ITemplatesSummary.md)
31
+ - [ITimePeriod](../interfaces/Templates.Types.ITimePeriod.md)
@@ -0,0 +1,17 @@
1
+ [@verdocs/js-sdk - v1.0.12](../README.md) / [Exports](../modules.md) / Templates
2
+
3
+ # Namespace: Templates
4
+
5
+ ## Table of contents
6
+
7
+ ### Namespaces
8
+
9
+ - [Documents](Templates.Documents.md)
10
+ - [Fields](Templates.Fields.md)
11
+ - [Pages](Templates.Pages.md)
12
+ - [Reminders](Templates.Reminders.md)
13
+ - [Roles](Templates.Roles.md)
14
+ - [Stars](Templates.Stars.md)
15
+ - [Tags](Templates.Tags.md)
16
+ - [Templates](Templates.Templates-1.md)
17
+ - [Types](Templates.Types.md)