@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
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
[@verdocs/js-sdk - v1.0.12](../README.md) / [Exports](../modules.md) / [Templates](../modules/Templates.md) / [Types](../modules/Templates.Types.md) / ITimePeriod
|
|
2
|
+
|
|
3
|
+
# Interface: ITimePeriod
|
|
4
|
+
|
|
5
|
+
[Templates](../modules/Templates.md).[Types](../modules/Templates.Types.md).ITimePeriod
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [end_time](Templates.Types.ITimePeriod.md#end_time)
|
|
12
|
+
- [start_time](Templates.Types.ITimePeriod.md#start_time)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### end\_time
|
|
17
|
+
|
|
18
|
+
• **end\_time**: `string`
|
|
19
|
+
|
|
20
|
+
#### Defined in
|
|
21
|
+
|
|
22
|
+
[Templates/Types.ts:99](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Types.ts#L99)
|
|
23
|
+
|
|
24
|
+
___
|
|
25
|
+
|
|
26
|
+
### start\_time
|
|
27
|
+
|
|
28
|
+
• **start\_time**: `string`
|
|
29
|
+
|
|
30
|
+
#### Defined in
|
|
31
|
+
|
|
32
|
+
[Templates/Types.ts:98](https://github.com/Verdocs/js-sdk/blob/main/src/Templates/Types.ts#L98)
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
[@verdocs/js-sdk - v1.0.12](../README.md) / [Exports](../modules.md) / [Users](../modules/Users.md) / [Types](../modules/Users.Types.md) / IActiveSession
|
|
2
|
+
|
|
3
|
+
# Interface: IActiveSession
|
|
4
|
+
|
|
5
|
+
[Users](../modules/Users.md).[Types](../modules/Users.Types.md).IActiveSession
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [email](Users.Types.IActiveSession.md#email)
|
|
12
|
+
- [email_verified](Users.Types.IActiveSession.md#email_verified)
|
|
13
|
+
- [exp](Users.Types.IActiveSession.md#exp)
|
|
14
|
+
- [iat](Users.Types.IActiveSession.md#iat)
|
|
15
|
+
- [organization_id](Users.Types.IActiveSession.md#organization_id)
|
|
16
|
+
- [permissions](Users.Types.IActiveSession.md#permissions)
|
|
17
|
+
- [plans](Users.Types.IActiveSession.md#plans)
|
|
18
|
+
- [profile](Users.Types.IActiveSession.md#profile)
|
|
19
|
+
- [profile_id](Users.Types.IActiveSession.md#profile_id)
|
|
20
|
+
- [roles](Users.Types.IActiveSession.md#roles)
|
|
21
|
+
- [sub](Users.Types.IActiveSession.md#sub)
|
|
22
|
+
|
|
23
|
+
## Properties
|
|
24
|
+
|
|
25
|
+
### email
|
|
26
|
+
|
|
27
|
+
• **email**: `string`
|
|
28
|
+
|
|
29
|
+
#### Defined in
|
|
30
|
+
|
|
31
|
+
[Users/Types.ts:65](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L65)
|
|
32
|
+
|
|
33
|
+
___
|
|
34
|
+
|
|
35
|
+
### email\_verified
|
|
36
|
+
|
|
37
|
+
• **email\_verified**: `boolean`
|
|
38
|
+
|
|
39
|
+
#### Defined in
|
|
40
|
+
|
|
41
|
+
[Users/Types.ts:66](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L66)
|
|
42
|
+
|
|
43
|
+
___
|
|
44
|
+
|
|
45
|
+
### exp
|
|
46
|
+
|
|
47
|
+
• **exp**: `number`
|
|
48
|
+
|
|
49
|
+
#### Defined in
|
|
50
|
+
|
|
51
|
+
[Users/Types.ts:68](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L68)
|
|
52
|
+
|
|
53
|
+
___
|
|
54
|
+
|
|
55
|
+
### iat
|
|
56
|
+
|
|
57
|
+
• **iat**: `number`
|
|
58
|
+
|
|
59
|
+
#### Defined in
|
|
60
|
+
|
|
61
|
+
[Users/Types.ts:67](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L67)
|
|
62
|
+
|
|
63
|
+
___
|
|
64
|
+
|
|
65
|
+
### organization\_id
|
|
66
|
+
|
|
67
|
+
• **organization\_id**: `string`
|
|
68
|
+
|
|
69
|
+
#### Defined in
|
|
70
|
+
|
|
71
|
+
[Users/Types.ts:73](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L73)
|
|
72
|
+
|
|
73
|
+
___
|
|
74
|
+
|
|
75
|
+
### permissions
|
|
76
|
+
|
|
77
|
+
• **permissions**: [`IPermission`](Users.Types.IPermission.md)[]
|
|
78
|
+
|
|
79
|
+
#### Defined in
|
|
80
|
+
|
|
81
|
+
[Users/Types.ts:69](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L69)
|
|
82
|
+
|
|
83
|
+
___
|
|
84
|
+
|
|
85
|
+
### plans
|
|
86
|
+
|
|
87
|
+
• `Optional` **plans**: [`TPlan`](../modules/Users.Types.md#tplan)[]
|
|
88
|
+
|
|
89
|
+
#### Defined in
|
|
90
|
+
|
|
91
|
+
[Users/Types.ts:74](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L74)
|
|
92
|
+
|
|
93
|
+
___
|
|
94
|
+
|
|
95
|
+
### profile
|
|
96
|
+
|
|
97
|
+
• **profile**: [`IProfile`](Users.Types.IProfile.md)
|
|
98
|
+
|
|
99
|
+
#### Defined in
|
|
100
|
+
|
|
101
|
+
[Users/Types.ts:71](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L71)
|
|
102
|
+
|
|
103
|
+
___
|
|
104
|
+
|
|
105
|
+
### profile\_id
|
|
106
|
+
|
|
107
|
+
• **profile\_id**: `string`
|
|
108
|
+
|
|
109
|
+
#### Defined in
|
|
110
|
+
|
|
111
|
+
[Users/Types.ts:72](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L72)
|
|
112
|
+
|
|
113
|
+
___
|
|
114
|
+
|
|
115
|
+
### roles
|
|
116
|
+
|
|
117
|
+
• **roles**: [`IRole`](Users.Types.IRole.md)[]
|
|
118
|
+
|
|
119
|
+
#### Defined in
|
|
120
|
+
|
|
121
|
+
[Users/Types.ts:70](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L70)
|
|
122
|
+
|
|
123
|
+
___
|
|
124
|
+
|
|
125
|
+
### sub
|
|
126
|
+
|
|
127
|
+
• **sub**: `string`
|
|
128
|
+
|
|
129
|
+
#### Defined in
|
|
130
|
+
|
|
131
|
+
[Users/Types.ts:64](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L64)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
[@verdocs/js-sdk - v1.0.12](../README.md) / [Exports](../modules.md) / [Users](../modules/Users.md) / [Types](../modules/Users.Types.md) / IAuthenticateAppRequest
|
|
2
|
+
|
|
3
|
+
# Interface: IAuthenticateAppRequest
|
|
4
|
+
|
|
5
|
+
[Users](../modules/Users.md).[Types](../modules/Users.Types.md).IAuthenticateAppRequest
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [client_id](Users.Types.IAuthenticateAppRequest.md#client_id)
|
|
12
|
+
- [client_secret](Users.Types.IAuthenticateAppRequest.md#client_secret)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### client\_id
|
|
17
|
+
|
|
18
|
+
• **client\_id**: `string`
|
|
19
|
+
|
|
20
|
+
#### Defined in
|
|
21
|
+
|
|
22
|
+
[Users/Types.ts:117](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L117)
|
|
23
|
+
|
|
24
|
+
___
|
|
25
|
+
|
|
26
|
+
### client\_secret
|
|
27
|
+
|
|
28
|
+
• **client\_secret**: `string`
|
|
29
|
+
|
|
30
|
+
#### Defined in
|
|
31
|
+
|
|
32
|
+
[Users/Types.ts:118](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L118)
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
[@verdocs/js-sdk - v1.0.12](../README.md) / [Exports](../modules.md) / [Users](../modules/Users.md) / [Types](../modules/Users.Types.md) / IAuthenticateResponse
|
|
2
|
+
|
|
3
|
+
# Interface: IAuthenticateResponse
|
|
4
|
+
|
|
5
|
+
[Users](../modules/Users.md).[Types](../modules/Users.Types.md).IAuthenticateResponse
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [accessToken](Users.Types.IAuthenticateResponse.md#accesstoken)
|
|
12
|
+
- [idToken](Users.Types.IAuthenticateResponse.md#idtoken)
|
|
13
|
+
- [refreshToken](Users.Types.IAuthenticateResponse.md#refreshtoken)
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
### accessToken
|
|
18
|
+
|
|
19
|
+
• **accessToken**: `string`
|
|
20
|
+
|
|
21
|
+
#### Defined in
|
|
22
|
+
|
|
23
|
+
[Users/Types.ts:123](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L123)
|
|
24
|
+
|
|
25
|
+
___
|
|
26
|
+
|
|
27
|
+
### idToken
|
|
28
|
+
|
|
29
|
+
• **idToken**: `string`
|
|
30
|
+
|
|
31
|
+
#### Defined in
|
|
32
|
+
|
|
33
|
+
[Users/Types.ts:122](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L122)
|
|
34
|
+
|
|
35
|
+
___
|
|
36
|
+
|
|
37
|
+
### refreshToken
|
|
38
|
+
|
|
39
|
+
• **refreshToken**: `string`
|
|
40
|
+
|
|
41
|
+
#### Defined in
|
|
42
|
+
|
|
43
|
+
[Users/Types.ts:124](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L124)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
[@verdocs/js-sdk - v1.0.12](../README.md) / [Exports](../modules.md) / [Users](../modules/Users.md) / [Types](../modules/Users.Types.md) / IAuthenticateUserRequest
|
|
2
|
+
|
|
3
|
+
# Interface: IAuthenticateUserRequest
|
|
4
|
+
|
|
5
|
+
[Users](../modules/Users.md).[Types](../modules/Users.Types.md).IAuthenticateUserRequest
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [password](Users.Types.IAuthenticateUserRequest.md#password)
|
|
12
|
+
- [username](Users.Types.IAuthenticateUserRequest.md#username)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### password
|
|
17
|
+
|
|
18
|
+
• **password**: `string`
|
|
19
|
+
|
|
20
|
+
#### Defined in
|
|
21
|
+
|
|
22
|
+
[Users/Types.ts:113](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L113)
|
|
23
|
+
|
|
24
|
+
___
|
|
25
|
+
|
|
26
|
+
### username
|
|
27
|
+
|
|
28
|
+
• **username**: `string`
|
|
29
|
+
|
|
30
|
+
#### Defined in
|
|
31
|
+
|
|
32
|
+
[Users/Types.ts:112](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L112)
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
[@verdocs/js-sdk - v1.0.12](../README.md) / [Exports](../modules.md) / [Users](../modules/Users.md) / [Types](../modules/Users.Types.md) / ICreateProfileRequest
|
|
2
|
+
|
|
3
|
+
# Interface: ICreateProfileRequest
|
|
4
|
+
|
|
5
|
+
[Users](../modules/Users.md).[Types](../modules/Users.Types.md).ICreateProfileRequest
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [email](Users.Types.ICreateProfileRequest.md#email)
|
|
12
|
+
- [first_name](Users.Types.ICreateProfileRequest.md#first_name)
|
|
13
|
+
- [last_name](Users.Types.ICreateProfileRequest.md#last_name)
|
|
14
|
+
- [phone](Users.Types.ICreateProfileRequest.md#phone)
|
|
15
|
+
|
|
16
|
+
## Properties
|
|
17
|
+
|
|
18
|
+
### email
|
|
19
|
+
|
|
20
|
+
• **email**: `string`
|
|
21
|
+
|
|
22
|
+
#### Defined in
|
|
23
|
+
|
|
24
|
+
[Users/Types.ts:94](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L94)
|
|
25
|
+
|
|
26
|
+
___
|
|
27
|
+
|
|
28
|
+
### first\_name
|
|
29
|
+
|
|
30
|
+
• **first\_name**: `string`
|
|
31
|
+
|
|
32
|
+
#### Defined in
|
|
33
|
+
|
|
34
|
+
[Users/Types.ts:92](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L92)
|
|
35
|
+
|
|
36
|
+
___
|
|
37
|
+
|
|
38
|
+
### last\_name
|
|
39
|
+
|
|
40
|
+
• **last\_name**: `string`
|
|
41
|
+
|
|
42
|
+
#### Defined in
|
|
43
|
+
|
|
44
|
+
[Users/Types.ts:93](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L93)
|
|
45
|
+
|
|
46
|
+
___
|
|
47
|
+
|
|
48
|
+
### phone
|
|
49
|
+
|
|
50
|
+
• `Optional` **phone**: `string`
|
|
51
|
+
|
|
52
|
+
#### Defined in
|
|
53
|
+
|
|
54
|
+
[Users/Types.ts:95](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L95)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
[@verdocs/js-sdk - v1.0.12](../README.md) / [Exports](../modules.md) / [Users](../modules/Users.md) / [Types](../modules/Users.Types.md) / IPermission
|
|
2
|
+
|
|
3
|
+
# Interface: IPermission
|
|
4
|
+
|
|
5
|
+
[Users](../modules/Users.md).[Types](../modules/Users.Types.md).IPermission
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [id](Users.Types.IPermission.md#id)
|
|
12
|
+
- [name](Users.Types.IPermission.md#name)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### id
|
|
17
|
+
|
|
18
|
+
• **id**: `string`
|
|
19
|
+
|
|
20
|
+
Unique identifier for the permission.
|
|
21
|
+
|
|
22
|
+
#### Defined in
|
|
23
|
+
|
|
24
|
+
[Users/Types.ts:86](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L86)
|
|
25
|
+
|
|
26
|
+
___
|
|
27
|
+
|
|
28
|
+
### name
|
|
29
|
+
|
|
30
|
+
• **name**: `string`
|
|
31
|
+
|
|
32
|
+
Display name for the permission.
|
|
33
|
+
|
|
34
|
+
#### Defined in
|
|
35
|
+
|
|
36
|
+
[Users/Types.ts:88](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L88)
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
[@verdocs/js-sdk - v1.0.12](../README.md) / [Exports](../modules.md) / [Users](../modules/Users.md) / [Types](../modules/Users.Types.md) / IProfile
|
|
2
|
+
|
|
3
|
+
# Interface: IProfile
|
|
4
|
+
|
|
5
|
+
[Users](../modules/Users.md).[Types](../modules/Users.Types.md).IProfile
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [current](Users.Types.IProfile.md#current)
|
|
12
|
+
- [email](Users.Types.IProfile.md#email)
|
|
13
|
+
- [first_name](Users.Types.IProfile.md#first_name)
|
|
14
|
+
- [groups](Users.Types.IProfile.md#groups)
|
|
15
|
+
- [id](Users.Types.IProfile.md#id)
|
|
16
|
+
- [last_name](Users.Types.IProfile.md#last_name)
|
|
17
|
+
- [organization](Users.Types.IProfile.md#organization)
|
|
18
|
+
- [organization_id](Users.Types.IProfile.md#organization_id)
|
|
19
|
+
- [permissions](Users.Types.IProfile.md#permissions)
|
|
20
|
+
- [phone](Users.Types.IProfile.md#phone)
|
|
21
|
+
- [plans](Users.Types.IProfile.md#plans)
|
|
22
|
+
- [roles](Users.Types.IProfile.md#roles)
|
|
23
|
+
- [user_id](Users.Types.IProfile.md#user_id)
|
|
24
|
+
|
|
25
|
+
## Properties
|
|
26
|
+
|
|
27
|
+
### current
|
|
28
|
+
|
|
29
|
+
• **current**: `boolean`
|
|
30
|
+
|
|
31
|
+
If true, this is the caller's "currently selected" profile. All operations will performed "as" this profile.
|
|
32
|
+
|
|
33
|
+
#### Defined in
|
|
34
|
+
|
|
35
|
+
[Users/Types.ts:50](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L50)
|
|
36
|
+
|
|
37
|
+
___
|
|
38
|
+
|
|
39
|
+
### email
|
|
40
|
+
|
|
41
|
+
• **email**: `string`
|
|
42
|
+
|
|
43
|
+
#### Defined in
|
|
44
|
+
|
|
45
|
+
[Users/Types.ts:47](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L47)
|
|
46
|
+
|
|
47
|
+
___
|
|
48
|
+
|
|
49
|
+
### first\_name
|
|
50
|
+
|
|
51
|
+
• **first\_name**: `string`
|
|
52
|
+
|
|
53
|
+
#### Defined in
|
|
54
|
+
|
|
55
|
+
[Users/Types.ts:45](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L45)
|
|
56
|
+
|
|
57
|
+
___
|
|
58
|
+
|
|
59
|
+
### groups
|
|
60
|
+
|
|
61
|
+
• `Optional` **groups**: [`IGroup`](Organizations.Types.IGroup.md)[]
|
|
62
|
+
|
|
63
|
+
The plans assigned to the profilel _NOTE: Only present in the "current" profile._
|
|
64
|
+
|
|
65
|
+
#### Defined in
|
|
66
|
+
|
|
67
|
+
[Users/Types.ts:60](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L60)
|
|
68
|
+
|
|
69
|
+
___
|
|
70
|
+
|
|
71
|
+
### id
|
|
72
|
+
|
|
73
|
+
• **id**: `string`
|
|
74
|
+
|
|
75
|
+
The unique ID of the profile
|
|
76
|
+
|
|
77
|
+
#### Defined in
|
|
78
|
+
|
|
79
|
+
[Users/Types.ts:36](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L36)
|
|
80
|
+
|
|
81
|
+
___
|
|
82
|
+
|
|
83
|
+
### last\_name
|
|
84
|
+
|
|
85
|
+
• **last\_name**: `string`
|
|
86
|
+
|
|
87
|
+
#### Defined in
|
|
88
|
+
|
|
89
|
+
[Users/Types.ts:46](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L46)
|
|
90
|
+
|
|
91
|
+
___
|
|
92
|
+
|
|
93
|
+
### organization
|
|
94
|
+
|
|
95
|
+
• **organization**: [`IOrganization`](Organizations.Types.IOrganization.md)
|
|
96
|
+
|
|
97
|
+
The organization
|
|
98
|
+
|
|
99
|
+
#### Defined in
|
|
100
|
+
|
|
101
|
+
[Users/Types.ts:52](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L52)
|
|
102
|
+
|
|
103
|
+
___
|
|
104
|
+
|
|
105
|
+
### organization\_id
|
|
106
|
+
|
|
107
|
+
• **organization\_id**: `string`
|
|
108
|
+
|
|
109
|
+
The profile's organization ID, or a global "Realster" organization that all personal profiles are members of.
|
|
110
|
+
|
|
111
|
+
#### Defined in
|
|
112
|
+
|
|
113
|
+
[Users/Types.ts:44](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L44)
|
|
114
|
+
|
|
115
|
+
___
|
|
116
|
+
|
|
117
|
+
### permissions
|
|
118
|
+
|
|
119
|
+
• `Optional` **permissions**: [`TPermission`](../modules/Users.Types.md#tpermission)[]
|
|
120
|
+
|
|
121
|
+
The permissions assigned to the profilel _NOTE: Only present in the "current" profile._
|
|
122
|
+
|
|
123
|
+
#### Defined in
|
|
124
|
+
|
|
125
|
+
[Users/Types.ts:54](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L54)
|
|
126
|
+
|
|
127
|
+
___
|
|
128
|
+
|
|
129
|
+
### phone
|
|
130
|
+
|
|
131
|
+
• **phone**: ``null`` \| `string`
|
|
132
|
+
|
|
133
|
+
#### Defined in
|
|
134
|
+
|
|
135
|
+
[Users/Types.ts:48](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L48)
|
|
136
|
+
|
|
137
|
+
___
|
|
138
|
+
|
|
139
|
+
### plans
|
|
140
|
+
|
|
141
|
+
• `Optional` **plans**: [`TPlan`](../modules/Users.Types.md#tplan)[]
|
|
142
|
+
|
|
143
|
+
The plans assigned to the profilel _NOTE: Only present in the "current" profile._
|
|
144
|
+
|
|
145
|
+
#### Defined in
|
|
146
|
+
|
|
147
|
+
[Users/Types.ts:58](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L58)
|
|
148
|
+
|
|
149
|
+
___
|
|
150
|
+
|
|
151
|
+
### roles
|
|
152
|
+
|
|
153
|
+
• `Optional` **roles**: [`TRole`](../modules/Users.Types.md#trole)[]
|
|
154
|
+
|
|
155
|
+
The roles assigned to the profilel _NOTE: Only present in the "current" profile._
|
|
156
|
+
|
|
157
|
+
#### Defined in
|
|
158
|
+
|
|
159
|
+
[Users/Types.ts:56](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L56)
|
|
160
|
+
|
|
161
|
+
___
|
|
162
|
+
|
|
163
|
+
### user\_id
|
|
164
|
+
|
|
165
|
+
• **user\_id**: `string`
|
|
166
|
+
|
|
167
|
+
The Verdocs back-end currently uses Auth0 for authentication. This value is a unique ID assigned by Auth0 to the
|
|
168
|
+
user. This is typically used to identify multiple profiles owned by a single user, but its implementation may
|
|
169
|
+
change in the future and developers should not develop code based on this field at this time.
|
|
170
|
+
|
|
171
|
+
#### Defined in
|
|
172
|
+
|
|
173
|
+
[Users/Types.ts:42](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L42)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
[@verdocs/js-sdk - v1.0.12](../README.md) / [Exports](../modules.md) / [Users](../modules/Users.md) / [Types](../modules/Users.Types.md) / IRole
|
|
2
|
+
|
|
3
|
+
# Interface: IRole
|
|
4
|
+
|
|
5
|
+
[Users](../modules/Users.md).[Types](../modules/Users.Types.md).IRole
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [id](Users.Types.IRole.md#id)
|
|
12
|
+
- [name](Users.Types.IRole.md#name)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### id
|
|
17
|
+
|
|
18
|
+
• **id**: `string`
|
|
19
|
+
|
|
20
|
+
Unique identifier for the role.
|
|
21
|
+
|
|
22
|
+
#### Defined in
|
|
23
|
+
|
|
24
|
+
[Users/Types.ts:79](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L79)
|
|
25
|
+
|
|
26
|
+
___
|
|
27
|
+
|
|
28
|
+
### name
|
|
29
|
+
|
|
30
|
+
• **name**: `string`
|
|
31
|
+
|
|
32
|
+
Display name for the role.
|
|
33
|
+
|
|
34
|
+
#### Defined in
|
|
35
|
+
|
|
36
|
+
[Users/Types.ts:81](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L81)
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
[@verdocs/js-sdk - v1.0.12](../README.md) / [Exports](../modules.md) / [Users](../modules/Users.md) / [Types](../modules/Users.Types.md) / ISwitchProfileResponse
|
|
2
|
+
|
|
3
|
+
# Interface: ISwitchProfileResponse
|
|
4
|
+
|
|
5
|
+
[Users](../modules/Users.md).[Types](../modules/Users.Types.md).ISwitchProfileResponse
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [accessToken](Users.Types.ISwitchProfileResponse.md#accesstoken)
|
|
12
|
+
- [idToken](Users.Types.ISwitchProfileResponse.md#idtoken)
|
|
13
|
+
- [profile](Users.Types.ISwitchProfileResponse.md#profile)
|
|
14
|
+
- [refreshToken](Users.Types.ISwitchProfileResponse.md#refreshtoken)
|
|
15
|
+
|
|
16
|
+
## Properties
|
|
17
|
+
|
|
18
|
+
### accessToken
|
|
19
|
+
|
|
20
|
+
• **accessToken**: `string`
|
|
21
|
+
|
|
22
|
+
#### Defined in
|
|
23
|
+
|
|
24
|
+
[Users/Types.ts:101](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L101)
|
|
25
|
+
|
|
26
|
+
___
|
|
27
|
+
|
|
28
|
+
### idToken
|
|
29
|
+
|
|
30
|
+
• **idToken**: `string`
|
|
31
|
+
|
|
32
|
+
#### Defined in
|
|
33
|
+
|
|
34
|
+
[Users/Types.ts:100](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L100)
|
|
35
|
+
|
|
36
|
+
___
|
|
37
|
+
|
|
38
|
+
### profile
|
|
39
|
+
|
|
40
|
+
• **profile**: [`IProfile`](Users.Types.IProfile.md)
|
|
41
|
+
|
|
42
|
+
#### Defined in
|
|
43
|
+
|
|
44
|
+
[Users/Types.ts:99](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L99)
|
|
45
|
+
|
|
46
|
+
___
|
|
47
|
+
|
|
48
|
+
### refreshToken
|
|
49
|
+
|
|
50
|
+
• **refreshToken**: `string`
|
|
51
|
+
|
|
52
|
+
#### Defined in
|
|
53
|
+
|
|
54
|
+
[Users/Types.ts:102](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L102)
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
[@verdocs/js-sdk - v1.0.12](../README.md) / [Exports](../modules.md) / [Users](../modules/Users.md) / [Types](../modules/Users.Types.md) / IUpdateProfileRequest
|
|
2
|
+
|
|
3
|
+
# Interface: IUpdateProfileRequest
|
|
4
|
+
|
|
5
|
+
[Users](../modules/Users.md).[Types](../modules/Users.Types.md).IUpdateProfileRequest
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [first_name](Users.Types.IUpdateProfileRequest.md#first_name)
|
|
12
|
+
- [last_name](Users.Types.IUpdateProfileRequest.md#last_name)
|
|
13
|
+
- [phone](Users.Types.IUpdateProfileRequest.md#phone)
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
### first\_name
|
|
18
|
+
|
|
19
|
+
• `Optional` **first\_name**: `string`
|
|
20
|
+
|
|
21
|
+
#### Defined in
|
|
22
|
+
|
|
23
|
+
[Users/Types.ts:106](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L106)
|
|
24
|
+
|
|
25
|
+
___
|
|
26
|
+
|
|
27
|
+
### last\_name
|
|
28
|
+
|
|
29
|
+
• `Optional` **last\_name**: `string`
|
|
30
|
+
|
|
31
|
+
#### Defined in
|
|
32
|
+
|
|
33
|
+
[Users/Types.ts:107](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L107)
|
|
34
|
+
|
|
35
|
+
___
|
|
36
|
+
|
|
37
|
+
### phone
|
|
38
|
+
|
|
39
|
+
• `Optional` **phone**: `string`
|
|
40
|
+
|
|
41
|
+
#### Defined in
|
|
42
|
+
|
|
43
|
+
[Users/Types.ts:108](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L108)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@verdocs/js-sdk - v1.0.12](../README.md) / [Exports](../modules.md) / [Users](../modules/Users.md) / [Types](../modules/Users.Types.md) / TokenValidationRequest
|
|
2
|
+
|
|
3
|
+
# Interface: TokenValidationRequest
|
|
4
|
+
|
|
5
|
+
[Users](../modules/Users.md).[Types](../modules/Users.Types.md).TokenValidationRequest
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Properties
|
|
10
|
+
|
|
11
|
+
- [token](Users.Types.TokenValidationRequest.md#token)
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### token
|
|
16
|
+
|
|
17
|
+
• **token**: `string`
|
|
18
|
+
|
|
19
|
+
#### Defined in
|
|
20
|
+
|
|
21
|
+
[Users/Types.ts:128](https://github.com/Verdocs/js-sdk/blob/main/src/Users/Types.ts#L128)
|