@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.
- package/.gitignore +4 -0
- package/.idea/.gitignore +8 -0
- package/.idea/inspectionProfiles/Project_Default.xml +12 -0
- package/.idea/js-sdk.iml +11 -0
- package/.idea/misc.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/.prettierrc.js +11 -0
- package/LICENSE +21 -0
- package/README.md +8 -5
- package/__mocks__/axios.ts +3 -0
- package/dist/.npmignore +5 -0
- package/{Documents → dist/Documents}/Documents.d.ts +9 -0
- package/{Documents → dist/Documents}/Documents.js +24 -7
- package/{Documents → dist/Documents}/Stars.d.ts +0 -0
- package/{Documents → dist/Documents}/Stars.js +2 -2
- package/{Documents → dist/Documents}/Templates.d.ts +0 -0
- package/{Documents → dist/Documents}/Templates.js +22 -10
- package/{Documents → dist/Documents}/Types.d.ts +0 -0
- package/{Api → dist/Documents}/Types.js +0 -0
- package/{Documents → dist/Documents}/index.d.ts +0 -0
- package/{Documents → dist/Documents}/index.js +0 -0
- package/dist/HTTP/Transport.d.ts +51 -0
- package/dist/HTTP/Transport.js +88 -0
- package/{HTTP → dist/HTTP}/Types.d.ts +0 -0
- package/{Documents → dist/HTTP}/Types.js +0 -0
- package/{HTTP → dist/HTTP}/index.d.ts +0 -0
- package/{HTTP → dist/HTTP}/index.js +0 -0
- package/{Organizations → dist/Organizations}/ApiKeys.d.ts +0 -0
- package/{Organizations → dist/Organizations}/ApiKeys.js +16 -6
- package/{Organizations → dist/Organizations}/Groups.d.ts +0 -0
- package/{Organizations → dist/Organizations}/Groups.js +22 -8
- package/{Organizations → dist/Organizations}/Invitations.d.ts +0 -0
- package/dist/Organizations/Invitations.js +36 -0
- package/{Organizations → dist/Organizations}/Members.d.ts +0 -0
- package/dist/Organizations/Members.js +26 -0
- package/{Organizations → dist/Organizations}/Organizations.d.ts +0 -0
- package/dist/Organizations/Organizations.js +31 -0
- package/{Organizations → dist/Organizations}/Types.d.ts +0 -0
- package/{HTTP → dist/Organizations}/Types.js +0 -0
- package/{Organizations → dist/Organizations}/Webhooks.d.ts +0 -0
- package/dist/Organizations/Webhooks.js +11 -0
- package/{Organizations → dist/Organizations}/index.d.ts +0 -0
- package/{Organizations → dist/Organizations}/index.js +0 -0
- package/dist/README.md +68 -0
- package/{Search → dist/Search}/Content.d.ts +0 -0
- package/{Search → dist/Search}/Content.js +22 -10
- package/{Search → dist/Search}/Types.d.ts +0 -0
- package/{Organizations → dist/Search}/Types.js +0 -0
- package/{Search → dist/Search}/index.d.ts +0 -0
- package/{Search → dist/Search}/index.js +0 -0
- package/{Signatures.d.ts → dist/Signatures.d.ts} +0 -0
- package/dist/Signatures.js +21 -0
- package/{Tags.d.ts → dist/Tags.d.ts} +0 -0
- package/dist/Tags.js +16 -0
- package/{Templates → dist/Templates}/Documents.d.ts +0 -0
- package/{Templates → dist/Templates}/Documents.js +13 -5
- package/{Templates → dist/Templates}/Fields.d.ts +0 -0
- package/dist/Templates/Fields.js +16 -0
- package/{Templates → dist/Templates}/Pages.d.ts +0 -0
- package/dist/Templates/Pages.js +21 -0
- package/{Templates → dist/Templates}/Reminders.d.ts +0 -0
- package/dist/Templates/Reminders.js +21 -0
- package/{Templates → dist/Templates}/Roles.d.ts +0 -0
- package/dist/Templates/Roles.js +36 -0
- package/{Templates → dist/Templates}/Stars.d.ts +0 -0
- package/dist/Templates/Stars.js +11 -0
- package/{Templates → dist/Templates}/Tags.d.ts +0 -0
- package/dist/Templates/Tags.js +16 -0
- package/{Templates → dist/Templates}/Templates.d.ts +0 -0
- package/{Templates → dist/Templates}/Templates.js +33 -11
- package/{Templates → dist/Templates}/Types.d.ts +0 -0
- package/{Templates → dist/Templates}/Types.js +0 -0
- package/{Templates → dist/Templates}/index.d.ts +0 -0
- package/{Templates → dist/Templates}/index.js +0 -0
- package/{Users → dist/Users}/Auth.d.ts +6 -6
- package/{Users → dist/Users}/Auth.js +27 -13
- package/{Users → dist/Users}/Billing.d.ts +0 -0
- package/{Users → dist/Users}/Billing.js +0 -0
- package/{Api → dist/Users}/Notifications.d.ts +0 -0
- package/{Api → dist/Users}/Notifications.js +8 -4
- package/{Users → dist/Users}/Profiles.d.ts +0 -0
- package/{Users → dist/Users}/Profiles.js +41 -11
- package/{Users → dist/Users}/Types.d.ts +13 -0
- package/{Search → dist/Users}/Types.js +0 -0
- package/{Users → dist/Users}/index.d.ts +0 -0
- package/{Users → dist/Users}/index.js +0 -0
- package/{Utils → dist/Utils}/DateTime.d.ts +0 -0
- package/{Utils → dist/Utils}/DateTime.js +0 -0
- package/{Utils → dist/Utils}/index.d.ts +0 -0
- package/{Utils → dist/Utils}/index.js +0 -0
- package/{Validators.d.ts → dist/Validators.d.ts} +0 -0
- package/dist/Validators.js +11 -0
- package/{Whitelabel.d.ts → dist/Whitelabel.d.ts} +0 -0
- package/dist/Whitelabel.js +11 -0
- package/{index.d.ts → dist/index.d.ts} +0 -0
- package/{index.js → dist/index.js} +0 -0
- package/dist/package.json +64 -0
- package/docs/.nojekyll +1 -0
- package/docs/README.md +70 -0
- package/docs/enums/Templates.Types.SortOptions.md +76 -0
- package/docs/enums/Templates.Types.Template.md +153 -0
- package/docs/enums/Templates.Types.TemplatePermissions.md +109 -0
- package/docs/enums/Templates.Types.TemplateSenderTypes.md +65 -0
- package/docs/interfaces/Documents.Documents-1.IActivityEntry.md +120 -0
- package/docs/interfaces/Documents.Documents-1.IDocument.md +175 -0
- package/docs/interfaces/Documents.Documents-1.IDocumentSearchOptions.md +98 -0
- package/docs/interfaces/Documents.Documents-1.IDocumentsSearchResult.md +43 -0
- package/docs/interfaces/Documents.Documents-1.IDocumentsSearchResultEntry.md +131 -0
- package/docs/interfaces/Documents.Documents-1.IDocumentsSummary.md +67 -0
- package/docs/interfaces/Documents.Documents-1.IHistory.md +76 -0
- package/docs/interfaces/Documents.Documents-1.IRecipient.md +208 -0
- package/docs/interfaces/Documents.Types.ITemplateSummaryEntry.md +186 -0
- package/docs/interfaces/Documents.Types.ITemplatesSummary.md +43 -0
- package/docs/interfaces/Organizations.Types.IApiKey.md +60 -0
- package/docs/interfaces/Organizations.Types.IApiKeyWithSecret.md +87 -0
- package/docs/interfaces/Organizations.Types.ICreateApiKeyRequest.md +32 -0
- package/docs/interfaces/Organizations.Types.IGroup.md +101 -0
- package/docs/interfaces/Organizations.Types.IGroupDetail.md +129 -0
- package/docs/interfaces/Organizations.Types.IOrganization.md +128 -0
- package/docs/interfaces/Organizations.Types.IUpdateApiKeyRequest.md +32 -0
- package/docs/interfaces/Signatures.ISignature.md +65 -0
- package/docs/interfaces/Tags.ITags.md +43 -0
- package/docs/interfaces/Templates.Types.IDocument.md +109 -0
- package/docs/interfaces/Templates.Types.IField.md +109 -0
- package/docs/interfaces/Templates.Types.IPage.md +87 -0
- package/docs/interfaces/Templates.Types.IReminder.md +109 -0
- package/docs/interfaces/Templates.Types.IRole.md +120 -0
- package/docs/interfaces/Templates.Types.ISetting.md +98 -0
- package/docs/interfaces/Templates.Types.IStar.md +32 -0
- package/docs/interfaces/Templates.Types.ITag.md +32 -0
- package/docs/interfaces/Templates.Types.ITemplate.md +219 -0
- package/docs/interfaces/Templates.Types.ITemplateSearchParams.md +197 -0
- package/docs/interfaces/Templates.Types.ITemplateSummaryEntry.md +186 -0
- package/docs/interfaces/Templates.Types.ITemplatesSearchResult.md +43 -0
- package/docs/interfaces/Templates.Types.ITemplatesSummary.md +43 -0
- package/docs/interfaces/Templates.Types.ITimePeriod.md +32 -0
- package/docs/interfaces/Users.Types.IActiveSession.md +131 -0
- package/docs/interfaces/Users.Types.IAuthenticateAppRequest.md +32 -0
- package/docs/interfaces/Users.Types.IAuthenticateResponse.md +43 -0
- package/docs/interfaces/Users.Types.IAuthenticateUserRequest.md +32 -0
- package/docs/interfaces/Users.Types.ICreateProfileRequest.md +54 -0
- package/docs/interfaces/Users.Types.IPermission.md +36 -0
- package/docs/interfaces/Users.Types.IProfile.md +173 -0
- package/docs/interfaces/Users.Types.IRole.md +36 -0
- package/docs/interfaces/Users.Types.ISwitchProfileResponse.md +54 -0
- package/docs/interfaces/Users.Types.IUpdateProfileRequest.md +43 -0
- package/docs/interfaces/Users.Types.TokenValidationRequest.md +21 -0
- package/docs/interfaces/Users.Types.TokenValidationResponse.md +36 -0
- package/docs/interfaces/Users.Types.UpdateEmailRequest.md +21 -0
- package/docs/interfaces/Users.Types.UpdateEmailResponse.md +21 -0
- package/docs/interfaces/Users.Types.UpdatePasswordRequest.md +43 -0
- package/docs/interfaces/Users.Types.UpdatePasswordResponse.md +34 -0
- package/docs/interfaces/Validators.IValidator.md +32 -0
- package/docs/modules/Documents.Documents-1.md +137 -0
- package/docs/modules/Documents.Stars.md +31 -0
- package/docs/modules/Documents.Templates.md +61 -0
- package/docs/modules/Documents.Types.md +12 -0
- package/docs/modules/Documents.md +12 -0
- package/docs/modules/HTTP.Transport.md +150 -0
- package/docs/modules/HTTP.Types.md +21 -0
- package/docs/modules/HTTP.md +10 -0
- package/docs/modules/Organizations.ApiKeys.md +169 -0
- package/docs/modules/Organizations.Groups.md +190 -0
- package/docs/modules/Organizations.Invitations.md +166 -0
- package/docs/modules/Organizations.Members.md +121 -0
- package/docs/modules/Organizations.Organizations-1.md +119 -0
- package/docs/modules/Organizations.Types.md +17 -0
- package/docs/modules/Organizations.Webhooks.md +53 -0
- package/docs/modules/Organizations.md +20 -0
- package/docs/modules/Signatures.md +90 -0
- package/docs/modules/Tags.md +75 -0
- package/docs/modules/Templates.Documents.md +129 -0
- package/docs/modules/Templates.Fields.md +77 -0
- package/docs/modules/Templates.Pages.md +98 -0
- package/docs/modules/Templates.Reminders.md +98 -0
- package/docs/modules/Templates.Roles.md +163 -0
- package/docs/modules/Templates.Stars.md +52 -0
- package/docs/modules/Templates.Tags.md +75 -0
- package/docs/modules/Templates.Templates-1.md +139 -0
- package/docs/modules/Templates.Types.md +31 -0
- package/docs/modules/Templates.md +17 -0
- package/docs/modules/Users.Auth.md +196 -0
- package/docs/modules/Users.Billing.md +5 -0
- package/docs/modules/Users.Notifications.md +25 -0
- package/docs/modules/Users.Profiles.md +286 -0
- package/docs/modules/Users.Types.md +62 -0
- package/docs/modules/Users.md +13 -0
- package/docs/modules/Utils.DateTime.md +31 -0
- package/docs/modules/Utils.md +9 -0
- package/docs/modules/Validators.md +48 -0
- package/docs/modules/Whitelabel.md +38 -0
- package/docs/modules.md +27 -0
- package/docs-html/.nojekyll +1 -0
- package/docs-html/assets/highlight.css +85 -0
- package/docs-html/assets/icons.css +1043 -0
- package/docs-html/assets/icons.png +0 -0
- package/docs-html/assets/icons@2x.png +0 -0
- package/docs-html/assets/main.js +52 -0
- package/docs-html/assets/search.js +1 -0
- package/docs-html/assets/style.css +1384 -0
- package/docs-html/assets/widgets.png +0 -0
- package/docs-html/assets/widgets@2x.png +0 -0
- package/docs-html/enums/Templates.Types.SortOptions.html +1 -0
- package/docs-html/enums/Templates.Types.Template.html +1 -0
- package/docs-html/enums/Templates.Types.TemplatePermissions.html +1 -0
- package/docs-html/enums/Templates.Types.TemplateSenderTypes.html +1 -0
- package/docs-html/index.html +64 -0
- package/docs-html/interfaces/Documents.Documents-1.IActivityEntry.html +1 -0
- package/docs-html/interfaces/Documents.Documents-1.IDocument.html +1 -0
- package/docs-html/interfaces/Documents.Documents-1.IDocumentSearchOptions.html +1 -0
- package/docs-html/interfaces/Documents.Documents-1.IDocumentsSearchResult.html +1 -0
- package/docs-html/interfaces/Documents.Documents-1.IDocumentsSearchResultEntry.html +1 -0
- package/docs-html/interfaces/Documents.Documents-1.IDocumentsSummary.html +1 -0
- package/docs-html/interfaces/Documents.Documents-1.IHistory.html +1 -0
- package/docs-html/interfaces/Documents.Documents-1.IRecipient.html +1 -0
- package/docs-html/interfaces/Documents.Types.ITemplateSummaryEntry.html +1 -0
- package/docs-html/interfaces/Documents.Types.ITemplatesSummary.html +1 -0
- package/docs-html/interfaces/Organizations.Types.IApiKey.html +1 -0
- package/docs-html/interfaces/Organizations.Types.IApiKeyWithSecret.html +1 -0
- package/docs-html/interfaces/Organizations.Types.ICreateApiKeyRequest.html +1 -0
- package/docs-html/interfaces/Organizations.Types.IGroup.html +9 -0
- package/docs-html/interfaces/Organizations.Types.IGroupDetail.html +9 -0
- package/docs-html/interfaces/Organizations.Types.IOrganization.html +9 -0
- package/docs-html/interfaces/Organizations.Types.IUpdateApiKeyRequest.html +1 -0
- package/docs-html/interfaces/Signatures.ISignature.html +1 -0
- package/docs-html/interfaces/Tags.ITags.html +1 -0
- package/docs-html/interfaces/Templates.Types.IDocument.html +1 -0
- package/docs-html/interfaces/Templates.Types.IField.html +1 -0
- package/docs-html/interfaces/Templates.Types.IPage.html +1 -0
- package/docs-html/interfaces/Templates.Types.IReminder.html +1 -0
- package/docs-html/interfaces/Templates.Types.IRole.html +1 -0
- package/docs-html/interfaces/Templates.Types.ISetting.html +1 -0
- package/docs-html/interfaces/Templates.Types.IStar.html +1 -0
- package/docs-html/interfaces/Templates.Types.ITag.html +1 -0
- package/docs-html/interfaces/Templates.Types.ITemplate.html +1 -0
- package/docs-html/interfaces/Templates.Types.ITemplateSearchParams.html +1 -0
- package/docs-html/interfaces/Templates.Types.ITemplateSummaryEntry.html +1 -0
- package/docs-html/interfaces/Templates.Types.ITemplatesSearchResult.html +1 -0
- package/docs-html/interfaces/Templates.Types.ITemplatesSummary.html +1 -0
- package/docs-html/interfaces/Templates.Types.ITimePeriod.html +1 -0
- package/docs-html/interfaces/Users.Types.IActiveSession.html +1 -0
- package/docs-html/interfaces/Users.Types.IAuthenticateAppRequest.html +1 -0
- package/docs-html/interfaces/Users.Types.IAuthenticateResponse.html +1 -0
- package/docs-html/interfaces/Users.Types.IAuthenticateUserRequest.html +1 -0
- package/docs-html/interfaces/Users.Types.ICreateProfileRequest.html +1 -0
- package/docs-html/interfaces/Users.Types.IPermission.html +5 -0
- package/docs-html/interfaces/Users.Types.IProfile.html +21 -0
- package/docs-html/interfaces/Users.Types.IRole.html +5 -0
- package/docs-html/interfaces/Users.Types.ISwitchProfileResponse.html +1 -0
- package/docs-html/interfaces/Users.Types.IUpdateProfileRequest.html +1 -0
- package/docs-html/interfaces/Users.Types.TokenValidationRequest.html +1 -0
- package/docs-html/interfaces/Users.Types.TokenValidationResponse.html +5 -0
- package/docs-html/interfaces/Users.Types.UpdateEmailRequest.html +1 -0
- package/docs-html/interfaces/Users.Types.UpdateEmailResponse.html +1 -0
- package/docs-html/interfaces/Users.Types.UpdatePasswordRequest.html +1 -0
- package/docs-html/interfaces/Users.Types.UpdatePasswordResponse.html +3 -0
- package/docs-html/interfaces/Validators.IValidator.html +1 -0
- package/docs-html/modules/Documents.Documents-1.html +9 -0
- package/docs-html/modules/Documents.Stars.html +1 -0
- package/docs-html/modules/Documents.Templates.html +1 -0
- package/docs-html/modules/Documents.Types.html +1 -0
- package/docs-html/modules/Documents.html +1 -0
- package/docs-html/modules/HTTP.Transport.html +22 -0
- package/docs-html/modules/HTTP.Types.html +1 -0
- package/docs-html/modules/HTTP.html +1 -0
- package/docs-html/modules/Organizations.ApiKeys.html +29 -0
- package/docs-html/modules/Organizations.Groups.html +15 -0
- package/docs-html/modules/Organizations.Invitations.html +1 -0
- package/docs-html/modules/Organizations.Members.html +1 -0
- package/docs-html/modules/Organizations.Organizations-1.html +1 -0
- package/docs-html/modules/Organizations.Types.html +1 -0
- package/docs-html/modules/Organizations.Webhooks.html +1 -0
- package/docs-html/modules/Organizations.html +6 -0
- package/docs-html/modules/Signatures.html +1 -0
- package/docs-html/modules/Tags.html +1 -0
- package/docs-html/modules/Templates.Documents.html +17 -0
- package/docs-html/modules/Templates.Fields.html +1 -0
- package/docs-html/modules/Templates.Pages.html +1 -0
- package/docs-html/modules/Templates.Reminders.html +1 -0
- package/docs-html/modules/Templates.Roles.html +1 -0
- package/docs-html/modules/Templates.Stars.html +1 -0
- package/docs-html/modules/Templates.Tags.html +1 -0
- package/docs-html/modules/Templates.Templates-1.html +5 -0
- package/docs-html/modules/Templates.Types.html +1 -0
- package/docs-html/modules/Templates.html +1 -0
- package/docs-html/modules/Users.Auth.html +31 -0
- package/docs-html/modules/Users.Billing.html +1 -0
- package/docs-html/modules/Users.Notifications.html +1 -0
- package/docs-html/modules/Users.Profiles.html +44 -0
- package/docs-html/modules/Users.Types.html +1 -0
- package/docs-html/modules/Users.html +1 -0
- package/docs-html/modules/Utils.DateTime.html +1 -0
- package/docs-html/modules/Utils.html +1 -0
- package/docs-html/modules/Validators.html +1 -0
- package/docs-html/modules/Whitelabel.html +1 -0
- package/docs-html/modules.html +11 -0
- package/jestconfig.json +11 -0
- package/package-lock.json +3421 -0
- package/package.json +6 -3
- package/src/Documents/Documents.ts +166 -0
- package/src/Documents/Stars.ts +5 -0
- package/src/Documents/Templates.ts +17 -0
- package/src/Documents/Types.ts +24 -0
- package/src/Documents/index.ts +4 -0
- package/src/HTTP/Transport.ts +95 -0
- package/src/HTTP/Types.ts +1 -0
- package/src/HTTP/index.ts +2 -0
- package/src/Organizations/ApiKeys.ts +85 -0
- package/src/Organizations/Groups.ts +65 -0
- package/src/Organizations/Invitations.ts +36 -0
- package/src/Organizations/Members.ts +26 -0
- package/src/Organizations/Organizations.ts +32 -0
- package/src/Organizations/Types.ts +63 -0
- package/src/Organizations/Webhooks.ts +11 -0
- package/src/Organizations/index.ts +16 -0
- package/src/Search/Content.ts +45 -0
- package/src/Search/Types.ts +83 -0
- package/src/Search/index.ts +2 -0
- package/src/Signatures.ts +29 -0
- package/src/Tags.ts +22 -0
- package/src/Templates/Documents.ts +58 -0
- package/src/Templates/Fields.ts +17 -0
- package/src/Templates/Pages.ts +22 -0
- package/src/Templates/Reminders.ts +22 -0
- package/src/Templates/Roles.ts +37 -0
- package/src/Templates/Stars.ts +12 -0
- package/src/Templates/Tags.ts +17 -0
- package/src/Templates/Templates.ts +42 -0
- package/src/Templates/Types.ts +201 -0
- package/src/Templates/index.ts +9 -0
- package/src/Users/Auth.ts +114 -0
- package/src/Users/Billing.ts +3 -0
- package/src/Users/Notifications.ts +6 -0
- package/src/Users/Profiles.ts +153 -0
- package/src/Users/Types.ts +156 -0
- package/src/Users/index.ts +5 -0
- package/src/Utils/DateTime.ts +43 -0
- package/src/Utils/index.ts +1 -0
- package/src/Validators.ts +16 -0
- package/src/Whitelabel.ts +11 -0
- package/src/__tests__/Organizations/Apikeys.spec.ts +84 -0
- package/src/__tests__/Users/Auth.spec.ts +89 -0
- package/src/__tests__/Users/Profiles.spec.ts +162 -0
- package/src/index.ts +23 -0
- package/tsconfig.json +20 -0
- package/tslint.json +3 -0
- package/Api/Auth.d.ts +0 -71
- package/Api/Auth.js +0 -24
- package/Api/Documents.d.ts +0 -124
- package/Api/Documents.js +0 -47
- package/Api/Endpoint.d.ts +0 -2
- package/Api/Endpoint.js +0 -9
- package/Api/Templates.d.ts +0 -33
- package/Api/Templates.js +0 -55
- package/Api/Types.d.ts +0 -182
- package/Api/index.d.ts +0 -2
- package/Api/index.js +0 -2
- package/AuthManager.d.ts +0 -14
- package/AuthManager.js +0 -53
- package/HTTP/Endpoint.d.ts +0 -4
- package/HTTP/Endpoint.js +0 -12
- package/HTTP/Transport.d.ts +0 -3
- package/HTTP/Transport.js +0 -12
- package/Organizations/Invitations.js +0 -22
- package/Organizations/Members.js +0 -16
- package/Organizations/Organizations.js +0 -13
- package/Organizations/Webhooks.js +0 -7
- package/Signatures.js +0 -7
- package/Tags.js +0 -4
- package/Templates/Fields.js +0 -10
- package/Templates/Pages.js +0 -13
- package/Templates/Reminders.js +0 -13
- package/Templates/Roles.js +0 -22
- package/Templates/Stars.js +0 -7
- package/Templates/Tags.js +0 -10
- package/Users/Notifications.d.ts +0 -1
- package/Users/Notifications.js +0 -40
- package/Users/Types.js +0 -1
- package/Validators.js +0 -5
- package/Whitelabel.js +0 -3
|
@@ -34,7 +34,11 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
34
34
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
|
-
import {
|
|
38
|
-
export var getNotifications = function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
39
|
-
return
|
|
40
|
-
|
|
37
|
+
import { getEndpoint } from '../HTTP/Transport';
|
|
38
|
+
export var getNotifications = function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
39
|
+
return __generator(this, function (_a) {
|
|
40
|
+
return [2 /*return*/, getEndpoint()
|
|
41
|
+
.get('/notifications')
|
|
42
|
+
.then(function (r) { return r.data; })];
|
|
43
|
+
});
|
|
44
|
+
}); };
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getEndpoint } from '../HTTP/Transport';
|
|
2
2
|
/**
|
|
3
3
|
* Get the user's available profiles. The current profile will be marked with `current: true`.
|
|
4
4
|
*
|
|
@@ -8,7 +8,11 @@ import { Endpoint } from '../HTTP/Transport';
|
|
|
8
8
|
* const profiles = await Profiles.getProfiles()
|
|
9
9
|
* ```
|
|
10
10
|
*/
|
|
11
|
-
export var getProfiles = function () {
|
|
11
|
+
export var getProfiles = function () {
|
|
12
|
+
return getEndpoint()
|
|
13
|
+
.get('/profiles')
|
|
14
|
+
.then(function (r) { return r.data; });
|
|
15
|
+
};
|
|
12
16
|
/**
|
|
13
17
|
* Get a list of system roles.
|
|
14
18
|
*
|
|
@@ -18,7 +22,11 @@ export var getProfiles = function () { return Endpoint.get('/profiles').then(fun
|
|
|
18
22
|
* const roles = await Profiles.getRoles();
|
|
19
23
|
* ```
|
|
20
24
|
*/
|
|
21
|
-
export var getRoles = function () {
|
|
25
|
+
export var getRoles = function () {
|
|
26
|
+
return getEndpoint()
|
|
27
|
+
.get('/roles')
|
|
28
|
+
.then(function (r) { return r.data; });
|
|
29
|
+
};
|
|
22
30
|
/**
|
|
23
31
|
* Get a list of system roles.
|
|
24
32
|
*
|
|
@@ -28,7 +36,11 @@ export var getRoles = function () { return Endpoint.get('/roles').then(function
|
|
|
28
36
|
* const permissions = await Profiles.getPermissions();
|
|
29
37
|
* ```
|
|
30
38
|
*/
|
|
31
|
-
export var getPermissions = function () {
|
|
39
|
+
export var getPermissions = function () {
|
|
40
|
+
return getEndpoint()
|
|
41
|
+
.get('/permissions')
|
|
42
|
+
.then(function (r) { return r.data; });
|
|
43
|
+
};
|
|
32
44
|
/**
|
|
33
45
|
* Create a profile. If the caller does not have a "current" profile set, the new profile will be made current.
|
|
34
46
|
*
|
|
@@ -39,7 +51,9 @@ export var getPermissions = function () { return Endpoint.get('/permissions').th
|
|
|
39
51
|
* ```
|
|
40
52
|
*/
|
|
41
53
|
export var createProfile = function (params) {
|
|
42
|
-
return
|
|
54
|
+
return getEndpoint()
|
|
55
|
+
.post('/profiles', params)
|
|
56
|
+
.then(function (r) { return r.data; });
|
|
43
57
|
};
|
|
44
58
|
/**
|
|
45
59
|
* Get a profile. The caller must have admin access to the given profile.
|
|
@@ -51,7 +65,11 @@ export var createProfile = function (params) {
|
|
|
51
65
|
* const profile = await Profiles.getProfile('PROFILEID');
|
|
52
66
|
* ```
|
|
53
67
|
*/
|
|
54
|
-
export var getProfile = function (profileId) {
|
|
68
|
+
export var getProfile = function (profileId) {
|
|
69
|
+
return getEndpoint()
|
|
70
|
+
.get("/profiles/" + profileId)
|
|
71
|
+
.then(function (r) { return r.data; });
|
|
72
|
+
};
|
|
55
73
|
/**
|
|
56
74
|
* Get a profile's permissions. The caller must have admin access to the given profile.
|
|
57
75
|
*
|
|
@@ -62,7 +80,9 @@ export var getProfile = function (profileId) { return Endpoint.get("/profiles/"
|
|
|
62
80
|
* ```
|
|
63
81
|
*/
|
|
64
82
|
export var getProfilePermissions = function (profileId) {
|
|
65
|
-
return
|
|
83
|
+
return getEndpoint()
|
|
84
|
+
.get("/profiles/" + profileId + "/permissions")
|
|
85
|
+
.then(function (r) { return r.data; });
|
|
66
86
|
};
|
|
67
87
|
/**
|
|
68
88
|
* Get a profile's groups.
|
|
@@ -74,7 +94,9 @@ export var getProfilePermissions = function (profileId) {
|
|
|
74
94
|
* ```
|
|
75
95
|
*/
|
|
76
96
|
export var getProfileGroups = function (profileId) {
|
|
77
|
-
return
|
|
97
|
+
return getEndpoint()
|
|
98
|
+
.get("/profiles/" + profileId + "/groups")
|
|
99
|
+
.then(function (r) { return r.data; });
|
|
78
100
|
};
|
|
79
101
|
/**
|
|
80
102
|
* Switch the caller's "current" profile. The current profile is used for permissions checking and profile_id field settings
|
|
@@ -87,7 +109,9 @@ export var getProfileGroups = function (profileId) {
|
|
|
87
109
|
* ```
|
|
88
110
|
*/
|
|
89
111
|
export var switchProfile = function (profileId) {
|
|
90
|
-
return
|
|
112
|
+
return getEndpoint()
|
|
113
|
+
.post("/profiles/" + profileId + "/switch")
|
|
114
|
+
.then(function (r) { return r.data; });
|
|
91
115
|
};
|
|
92
116
|
/**
|
|
93
117
|
* Update a profile. For future expansion, the profile ID to update is required, but currently this must also be the
|
|
@@ -100,7 +124,9 @@ export var switchProfile = function (profileId) {
|
|
|
100
124
|
* ```
|
|
101
125
|
*/
|
|
102
126
|
export var updateProfile = function (profileId, params) {
|
|
103
|
-
return
|
|
127
|
+
return getEndpoint()
|
|
128
|
+
.put("/profiles/" + profileId, params)
|
|
129
|
+
.then(function (r) { return r.data; });
|
|
104
130
|
};
|
|
105
131
|
/**
|
|
106
132
|
* Delete a profile. If the requested profile is the caller's curent profile, the next available profile will be selected.
|
|
@@ -111,4 +137,8 @@ export var updateProfile = function (profileId, params) {
|
|
|
111
137
|
* await Profiles.deleteProfile('PROFILEID');
|
|
112
138
|
* ```
|
|
113
139
|
*/
|
|
114
|
-
export var deleteProfile = function (profileId) {
|
|
140
|
+
export var deleteProfile = function (profileId) {
|
|
141
|
+
return getEndpoint()
|
|
142
|
+
.delete("/profiles/" + profileId)
|
|
143
|
+
.then(function (r) { return r.data; });
|
|
144
|
+
};
|
|
@@ -31,6 +31,19 @@ export interface IProfile {
|
|
|
31
31
|
/** The plans assigned to the profilel _NOTE: Only present in the "current" profile._ */
|
|
32
32
|
groups?: IGroup[];
|
|
33
33
|
}
|
|
34
|
+
export interface IActiveSession {
|
|
35
|
+
sub: string;
|
|
36
|
+
email: string;
|
|
37
|
+
email_verified: boolean;
|
|
38
|
+
iat: number;
|
|
39
|
+
exp: number;
|
|
40
|
+
permissions: IPermission[];
|
|
41
|
+
roles: IRole[];
|
|
42
|
+
profile: IProfile;
|
|
43
|
+
profile_id: string;
|
|
44
|
+
organization_id: string;
|
|
45
|
+
plans?: TPlan[];
|
|
46
|
+
}
|
|
34
47
|
export interface IRole {
|
|
35
48
|
/** Unique identifier for the role. */
|
|
36
49
|
id: string;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { getEndpoint } from './HTTP/Transport';
|
|
2
|
+
export var getValidators = function () {
|
|
3
|
+
return getEndpoint()
|
|
4
|
+
.get('/validators')
|
|
5
|
+
.then(function (r) { return r.data; });
|
|
6
|
+
};
|
|
7
|
+
export var getValidator = function (validatorName) {
|
|
8
|
+
return getEndpoint()
|
|
9
|
+
.get("/validators/" + validatorName)
|
|
10
|
+
.then(function (r) { return r.data; });
|
|
11
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { getEndpoint } from './HTTP/Transport';
|
|
2
|
+
export var createWhitelabel = function () {
|
|
3
|
+
return getEndpoint()
|
|
4
|
+
.post('/whitelabel')
|
|
5
|
+
.then(function (r) { return r.data; });
|
|
6
|
+
};
|
|
7
|
+
export var getWhitelabel = function () {
|
|
8
|
+
return getEndpoint()
|
|
9
|
+
.get('/whitelabel')
|
|
10
|
+
.then(function (r) { return r.data; });
|
|
11
|
+
};
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@verdocs/js-sdk",
|
|
3
|
+
"version": "1.0.12",
|
|
4
|
+
"private": false,
|
|
5
|
+
"homepage": "https://github.com/Verdocs/js-sdk",
|
|
6
|
+
"description": "Verdocs JS SDK",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"pdf",
|
|
9
|
+
"document",
|
|
10
|
+
"signing",
|
|
11
|
+
"Verdocs",
|
|
12
|
+
"embed"
|
|
13
|
+
],
|
|
14
|
+
"author": "Verdocs, LLC",
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"main": "index.js",
|
|
17
|
+
"types": "index.d.ts",
|
|
18
|
+
"files": [
|
|
19
|
+
"**/*"
|
|
20
|
+
],
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "git://github.com/Verdocs/js-sdk.git"
|
|
24
|
+
},
|
|
25
|
+
"bugs": {
|
|
26
|
+
"url": "https://github.com/Verdocs/js-sdk/issues"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "rm -rf dist/* && tsc && cp README.md package.json .npmignore dist",
|
|
30
|
+
"Xprepare": "npm run build",
|
|
31
|
+
"XprepublishOnly": "npm test && npm run lint",
|
|
32
|
+
"preversion": "npm run lint",
|
|
33
|
+
"version": "npm run format && git add -A src",
|
|
34
|
+
"postversion": "git push && git push --tags",
|
|
35
|
+
"test": "jest --config jestconfig.json",
|
|
36
|
+
"format": "prettier --write \"src/**/*.ts\"",
|
|
37
|
+
"lint": "tslint -p tsconfig.json",
|
|
38
|
+
"docs-md": "typedoc && git add --all docs",
|
|
39
|
+
"docs-html": "typedoc --plugin none --out docs-html",
|
|
40
|
+
"docs": "npm run docs-md && npm run docs-html && cp -aR docs-html/* ../partner-portal/site/static/js-sdk/",
|
|
41
|
+
"pub": "npm version patch && npm run build && npm run docs"
|
|
42
|
+
},
|
|
43
|
+
"publishConfig": {
|
|
44
|
+
"access": "public"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"axios": "^0.21.1"
|
|
48
|
+
},
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"typescript": "4.0.x || 4.1.x || 4.2.x || 4.3.x || 4.4.x"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@types/jest": "^27.0.1",
|
|
54
|
+
"jest": "^27.2.1",
|
|
55
|
+
"jest-mock-axios": "^4.4.0",
|
|
56
|
+
"prettier": "^2.4.1",
|
|
57
|
+
"ts-jest": "^27.0.3",
|
|
58
|
+
"tslint": "^6.1.3",
|
|
59
|
+
"tslint-config-prettier": "^1.18.0",
|
|
60
|
+
"typedoc": "^0.22.4",
|
|
61
|
+
"typedoc-plugin-markdown": "^3.11.0",
|
|
62
|
+
"typescript": "^4.3.5"
|
|
63
|
+
}
|
|
64
|
+
}
|
package/docs/.nojekyll
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
|
package/docs/README.md
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
@verdocs/js-sdk - v1.0.12 / [Exports](modules.md)
|
|
2
|
+
|
|
3
|
+
# Verdocs JS SDK
|
|
4
|
+
|
|
5
|
+
> Verdocs SDK for Javascript / Typescript
|
|
6
|
+
|
|
7
|
+
This SDK provides convenience wrappers for both Browser-based and NodeJS applications to call the Verdocs API, with strong typing and
|
|
8
|
+
documentation to help you get started quickly developing for the Verdocs platform.
|
|
9
|
+
|
|
10
|
+
## Getting Started
|
|
11
|
+
|
|
12
|
+
First add this module to your project:
|
|
13
|
+
|
|
14
|
+
npm install --save @verdocs/js-sdk
|
|
15
|
+
|
|
16
|
+
or:
|
|
17
|
+
|
|
18
|
+
yarn add @verdocs/js-sdk
|
|
19
|
+
|
|
20
|
+
This package is namespaced into packages that organize API calls into functional groups. A top-level `export *` is provided for simplicity,
|
|
21
|
+
but to enable Tree Shaking to do its job, it is recommended that you only import the package required for a given task. For example, to
|
|
22
|
+
perform a simple authentication request:
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import {Auth} from '@verdocs/js-sdk/Auth';
|
|
26
|
+
import {Transport} from '@verdocs/js-sdk/HTTP';
|
|
27
|
+
|
|
28
|
+
const {accessToken} = await Auth.authenticateUser({username: 'MY_USERNAME', password: 'MY_PASSWORD'});
|
|
29
|
+
Transport.setAuthToken(accessToken);
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Once you are authenticated, you can use the rest of the controls and embeds within an app. For instance, to provide a simple PDF
|
|
33
|
+
viewer for a document stored within Verdocs:
|
|
34
|
+
|
|
35
|
+
## Documentation
|
|
36
|
+
|
|
37
|
+
Verdocs functions are organized into high-level modules that represent the main objects within the platform:
|
|
38
|
+
|
|
39
|
+
- Documents - An individual document to be signed. Documents are created from templates.
|
|
40
|
+
- HTTP - General support functionality for Verdocs' REST endpoints. Typically not used directly.
|
|
41
|
+
- Organizations - An Organization is a container for user profiles, templates, documents, billing, and other related objects.
|
|
42
|
+
- Templates - A template for a document containing a PDF file, metadata for signature fields, and other information.
|
|
43
|
+
- Users - All operations related to authentication and user-related operations.
|
|
44
|
+
- Utils - General support functions used by the other modules and exported for convenience.
|
|
45
|
+
|
|
46
|
+
Please see the [API Docs](https://github.com/Verdocs/js-sdk/tree/main/docs) for details on the functions provided by each module.
|
|
47
|
+
|
|
48
|
+
## Contributing
|
|
49
|
+
|
|
50
|
+
To avoid the presence of the `dist/` distribution directory appearing in package imports, when this project is built, this `README.md`
|
|
51
|
+
and other support files are copied there. Be sure to run `npm version patch` from THIS directory, but the publish command from within
|
|
52
|
+
the `dist` folder.
|
|
53
|
+
|
|
54
|
+
## HTTP Transport
|
|
55
|
+
|
|
56
|
+
The underlying transport uses `axios`, a cross-environment (NodeJS vs. Browser) HTTP transport layer. When this SDK is included in a
|
|
57
|
+
project, a `Transport` singleton Axios Instance will be created to support the API calls to Verdocs servers. This endpoint's operation
|
|
58
|
+
may be configured by importing it. Please see the [Axios Documentation](https://github.com/axios/axios) for more information on the
|
|
59
|
+
options available. For example, to override the default API call timeout of 3s:
|
|
60
|
+
|
|
61
|
+
```typescript
|
|
62
|
+
import {Transport} from '@verdocs/js-sdk/Auth/HTTP';
|
|
63
|
+
|
|
64
|
+
Transport.setTimeout(5000);
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Contributing
|
|
68
|
+
|
|
69
|
+
This repository is actively maintained and supported by [Verdocs](https://verdocs.com/). We welcome community contributions and
|
|
70
|
+
suggestions! Please file a pull request with any change requests and we will review them as soon as possible.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
[@verdocs/js-sdk - v1.0.12](../README.md) / [Exports](../modules.md) / [Templates](../modules/Templates.md) / [Types](../modules/Templates.Types.md) / SortOptions
|
|
2
|
+
|
|
3
|
+
# Enumeration: SortOptions
|
|
4
|
+
|
|
5
|
+
[Templates](../modules/Templates.md).[Types](../modules/Templates.Types.md).SortOptions
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Enumeration members
|
|
10
|
+
|
|
11
|
+
- [COUNTER](Templates.Types.SortOptions.md#counter)
|
|
12
|
+
- [CREATED_AT](Templates.Types.SortOptions.md#created_at)
|
|
13
|
+
- [LAST_USED_AT](Templates.Types.SortOptions.md#last_used_at)
|
|
14
|
+
- [NAME](Templates.Types.SortOptions.md#name)
|
|
15
|
+
- [STAR_COUNTER](Templates.Types.SortOptions.md#star_counter)
|
|
16
|
+
- [UPDATED_AT](Templates.Types.SortOptions.md#updated_at)
|
|
17
|
+
|
|
18
|
+
## Enumeration members
|
|
19
|
+
|
|
20
|
+
### COUNTER
|
|
21
|
+
|
|
22
|
+
• **COUNTER** = `"counter"`
|
|
23
|
+
|
|
24
|
+
#### Defined in
|
|
25
|
+
|
|
26
|
+
[Templates/Types.ts:107](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Types.ts#L107)
|
|
27
|
+
|
|
28
|
+
___
|
|
29
|
+
|
|
30
|
+
### CREATED\_AT
|
|
31
|
+
|
|
32
|
+
• **CREATED\_AT** = `"created_at"`
|
|
33
|
+
|
|
34
|
+
#### Defined in
|
|
35
|
+
|
|
36
|
+
[Templates/Types.ts:103](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Types.ts#L103)
|
|
37
|
+
|
|
38
|
+
___
|
|
39
|
+
|
|
40
|
+
### LAST\_USED\_AT
|
|
41
|
+
|
|
42
|
+
• **LAST\_USED\_AT** = `"last_used_at"`
|
|
43
|
+
|
|
44
|
+
#### Defined in
|
|
45
|
+
|
|
46
|
+
[Templates/Types.ts:106](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Types.ts#L106)
|
|
47
|
+
|
|
48
|
+
___
|
|
49
|
+
|
|
50
|
+
### NAME
|
|
51
|
+
|
|
52
|
+
• **NAME** = `"name"`
|
|
53
|
+
|
|
54
|
+
#### Defined in
|
|
55
|
+
|
|
56
|
+
[Templates/Types.ts:105](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Types.ts#L105)
|
|
57
|
+
|
|
58
|
+
___
|
|
59
|
+
|
|
60
|
+
### STAR\_COUNTER
|
|
61
|
+
|
|
62
|
+
• **STAR\_COUNTER** = `"star_counter"`
|
|
63
|
+
|
|
64
|
+
#### Defined in
|
|
65
|
+
|
|
66
|
+
[Templates/Types.ts:108](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Types.ts#L108)
|
|
67
|
+
|
|
68
|
+
___
|
|
69
|
+
|
|
70
|
+
### UPDATED\_AT
|
|
71
|
+
|
|
72
|
+
• **UPDATED\_AT** = `"updated_at"`
|
|
73
|
+
|
|
74
|
+
#### Defined in
|
|
75
|
+
|
|
76
|
+
[Templates/Types.ts:104](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Types.ts#L104)
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
[@verdocs/js-sdk - v1.0.12](../README.md) / [Exports](../modules.md) / [Templates](../modules/Templates.md) / [Types](../modules/Templates.Types.md) / Template
|
|
2
|
+
|
|
3
|
+
# Enumeration: Template
|
|
4
|
+
|
|
5
|
+
[Templates](../modules/Templates.md).[Types](../modules/Templates.Types.md).Template
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Enumeration members
|
|
10
|
+
|
|
11
|
+
- [COUNTER](Templates.Types.Template.md#counter)
|
|
12
|
+
- [CREATED_AT](Templates.Types.Template.md#created_at)
|
|
13
|
+
- [DESCRIPTION](Templates.Types.Template.md#description)
|
|
14
|
+
- [ID](Templates.Types.Template.md#id)
|
|
15
|
+
- [IS_PERSONAL](Templates.Types.Template.md#is_personal)
|
|
16
|
+
- [IS_PUBLIC](Templates.Types.Template.md#is_public)
|
|
17
|
+
- [NAME](Templates.Types.Template.md#name)
|
|
18
|
+
- [ORGANIZATION_ID](Templates.Types.Template.md#organization_id)
|
|
19
|
+
- [PROFILE_ID](Templates.Types.Template.md#profile_id)
|
|
20
|
+
- [REMINDER_ID](Templates.Types.Template.md#reminder_id)
|
|
21
|
+
- [SENDER](Templates.Types.Template.md#sender)
|
|
22
|
+
- [TOKEN](Templates.Types.Template.md#token)
|
|
23
|
+
- [UPDATED_AT](Templates.Types.Template.md#updated_at)
|
|
24
|
+
|
|
25
|
+
## Enumeration members
|
|
26
|
+
|
|
27
|
+
### COUNTER
|
|
28
|
+
|
|
29
|
+
• **COUNTER** = `"counter"`
|
|
30
|
+
|
|
31
|
+
#### Defined in
|
|
32
|
+
|
|
33
|
+
[Templates/Types.ts:45](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Types.ts#L45)
|
|
34
|
+
|
|
35
|
+
___
|
|
36
|
+
|
|
37
|
+
### CREATED\_AT
|
|
38
|
+
|
|
39
|
+
• **CREATED\_AT** = `"created_at"`
|
|
40
|
+
|
|
41
|
+
#### Defined in
|
|
42
|
+
|
|
43
|
+
[Templates/Types.ts:46](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Types.ts#L46)
|
|
44
|
+
|
|
45
|
+
___
|
|
46
|
+
|
|
47
|
+
### DESCRIPTION
|
|
48
|
+
|
|
49
|
+
• **DESCRIPTION** = `"description"`
|
|
50
|
+
|
|
51
|
+
#### Defined in
|
|
52
|
+
|
|
53
|
+
[Templates/Types.ts:54](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Types.ts#L54)
|
|
54
|
+
|
|
55
|
+
___
|
|
56
|
+
|
|
57
|
+
### ID
|
|
58
|
+
|
|
59
|
+
• **ID** = `"id"`
|
|
60
|
+
|
|
61
|
+
#### Defined in
|
|
62
|
+
|
|
63
|
+
[Templates/Types.ts:42](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Types.ts#L42)
|
|
64
|
+
|
|
65
|
+
___
|
|
66
|
+
|
|
67
|
+
### IS\_PERSONAL
|
|
68
|
+
|
|
69
|
+
• **IS\_PERSONAL** = `"is_personal"`
|
|
70
|
+
|
|
71
|
+
#### Defined in
|
|
72
|
+
|
|
73
|
+
[Templates/Types.ts:51](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Types.ts#L51)
|
|
74
|
+
|
|
75
|
+
___
|
|
76
|
+
|
|
77
|
+
### IS\_PUBLIC
|
|
78
|
+
|
|
79
|
+
• **IS\_PUBLIC** = `"is_public"`
|
|
80
|
+
|
|
81
|
+
#### Defined in
|
|
82
|
+
|
|
83
|
+
[Templates/Types.ts:52](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Types.ts#L52)
|
|
84
|
+
|
|
85
|
+
___
|
|
86
|
+
|
|
87
|
+
### NAME
|
|
88
|
+
|
|
89
|
+
• **NAME** = `"name"`
|
|
90
|
+
|
|
91
|
+
#### Defined in
|
|
92
|
+
|
|
93
|
+
[Templates/Types.ts:44](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Types.ts#L44)
|
|
94
|
+
|
|
95
|
+
___
|
|
96
|
+
|
|
97
|
+
### ORGANIZATION\_ID
|
|
98
|
+
|
|
99
|
+
• **ORGANIZATION\_ID** = `"organization_id"`
|
|
100
|
+
|
|
101
|
+
#### Defined in
|
|
102
|
+
|
|
103
|
+
[Templates/Types.ts:50](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Types.ts#L50)
|
|
104
|
+
|
|
105
|
+
___
|
|
106
|
+
|
|
107
|
+
### PROFILE\_ID
|
|
108
|
+
|
|
109
|
+
• **PROFILE\_ID** = `"profile_id"`
|
|
110
|
+
|
|
111
|
+
#### Defined in
|
|
112
|
+
|
|
113
|
+
[Templates/Types.ts:43](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Types.ts#L43)
|
|
114
|
+
|
|
115
|
+
___
|
|
116
|
+
|
|
117
|
+
### REMINDER\_ID
|
|
118
|
+
|
|
119
|
+
• **REMINDER\_ID** = `"reminder_id"`
|
|
120
|
+
|
|
121
|
+
#### Defined in
|
|
122
|
+
|
|
123
|
+
[Templates/Types.ts:49](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Types.ts#L49)
|
|
124
|
+
|
|
125
|
+
___
|
|
126
|
+
|
|
127
|
+
### SENDER
|
|
128
|
+
|
|
129
|
+
• **SENDER** = `"sender"`
|
|
130
|
+
|
|
131
|
+
#### Defined in
|
|
132
|
+
|
|
133
|
+
[Templates/Types.ts:53](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Types.ts#L53)
|
|
134
|
+
|
|
135
|
+
___
|
|
136
|
+
|
|
137
|
+
### TOKEN
|
|
138
|
+
|
|
139
|
+
• **TOKEN** = `"token"`
|
|
140
|
+
|
|
141
|
+
#### Defined in
|
|
142
|
+
|
|
143
|
+
[Templates/Types.ts:48](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Types.ts#L48)
|
|
144
|
+
|
|
145
|
+
___
|
|
146
|
+
|
|
147
|
+
### UPDATED\_AT
|
|
148
|
+
|
|
149
|
+
• **UPDATED\_AT** = `"updated_at"`
|
|
150
|
+
|
|
151
|
+
#### Defined in
|
|
152
|
+
|
|
153
|
+
[Templates/Types.ts:47](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Types.ts#L47)
|