@verdocs/js-sdk 4.1.5 → 4.1.7

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/dist/index.mjs CHANGED
@@ -1383,6 +1383,35 @@ const createInitials = (endpoint, name, initials) => {
1383
1383
  .then((r) => r.data);
1384
1384
  };
1385
1385
 
1386
+ /**
1387
+ * Get the current KBA status. Note that this may only be called by the recipient and requires a
1388
+ * valid signing session to proceed. Although the Recipient object itself contains indications of
1389
+ * whether KBA is required, it will not contain the current status of the process. If
1390
+ * `recipient.kba_method` is set (not null), and `recipient.kba_completed` is false, this endpoint
1391
+ * should be called to determine the next KBA step required.
1392
+ */
1393
+ const getKbaStatus = (endpoint, envelopeId, roleName) => endpoint.api //
1394
+ .get(`/v2/kba/${envelopeId}/${encodeURIComponent(roleName)}`)
1395
+ .then((r) => r.data);
1396
+ /**
1397
+ * Submit a response to a KBA PIN challenge.
1398
+ */
1399
+ const submitKbaPin = (endpoint, envelopeId, roleName, pin) => endpoint.api //
1400
+ .post(`/v2/kba/pin`, { envelopeId, roleName, pin })
1401
+ .then((r) => r.data);
1402
+ /**
1403
+ * Submit an identity response to a KBA challenge.
1404
+ */
1405
+ const submitKbaIdentity = (endpoint, envelopeId, roleName, identity) => endpoint.api //
1406
+ .post(`/v2/kba/identity`, { envelopeId, roleName, identity })
1407
+ .then((r) => r.data);
1408
+ /**
1409
+ * Submit an identity response to a KBA challenge.
1410
+ */
1411
+ const submitKbaChallengeResponse = (endpoint, envelopeId, roleName, response) => endpoint.api //
1412
+ .post(`/v2/kba/response`, { envelopeId, roleName, response })
1413
+ .then((r) => r.data);
1414
+
1386
1415
  /**
1387
1416
  * Update a recipient's status block
1388
1417
  */
@@ -1768,6 +1797,52 @@ const deleteOrganization = (endpoint, organizationId) => endpoint.api //
1768
1797
  const updateOrganization = (endpoint, organizationId, params) => endpoint.api //
1769
1798
  .patch(`/v2/organizations/${organizationId}`, params)
1770
1799
  .then((r) => r.data);
1800
+ /**
1801
+ * Update the organization's logo. This can only be called by an admin or owner of the organization.
1802
+ *
1803
+ * ```typescript
1804
+ * import {uploadOrganizationLogo} from '@verdocs/js-sdk';
1805
+ *
1806
+ * await uploadOrganizationLogo((VerdocsEndpoint.getDefault(), file);
1807
+ * ```
1808
+ */
1809
+ const uploadOrganizationLogo = (endpoint, file, onUploadProgress) => {
1810
+ const formData = new FormData();
1811
+ formData.append('document', file, file.name);
1812
+ return endpoint.api //
1813
+ .post(`/v2/organizations/logo`, formData, {
1814
+ timeout: 120000,
1815
+ onUploadProgress: (event) => {
1816
+ const total = event.total || 1;
1817
+ const loaded = event.loaded || 0;
1818
+ onUploadProgress?.(Math.floor((loaded * 100) / (total || 1)), loaded, total || 1);
1819
+ },
1820
+ })
1821
+ .then((r) => r.data);
1822
+ };
1823
+ /**
1824
+ * Update the organization's thumbnail. This can only be called by an admin or owner of the organization.
1825
+ *
1826
+ * ```typescript
1827
+ * import {uploadOrganizationThumbnail} from '@verdocs/js-sdk';
1828
+ *
1829
+ * await uploadOrganizationThumbnail((VerdocsEndpoint.getDefault(), file);
1830
+ * ```
1831
+ */
1832
+ const uploadOrganizationThumbnail = (endpoint, file, onUploadProgress) => {
1833
+ const formData = new FormData();
1834
+ formData.append('document', file, file.name);
1835
+ return endpoint.api //
1836
+ .post(`/v2/organizations/thumbnail`, formData, {
1837
+ timeout: 120000,
1838
+ onUploadProgress: (event) => {
1839
+ const total = event.total || 1;
1840
+ const loaded = event.loaded || 0;
1841
+ onUploadProgress?.(Math.floor((loaded * 100) / (total || 1)), loaded, total || 1);
1842
+ },
1843
+ })
1844
+ .then((r) => r.data);
1845
+ };
1771
1846
 
1772
1847
  /**
1773
1848
  * Webhooks are callback triggers from Verdocs to your servers that notify your applications
@@ -2493,11 +2568,10 @@ const authenticate = (endpoint, params) => endpoint.api //
2493
2568
  * If called before the session expires, this will refresh the caller's session and tokens.
2494
2569
  *
2495
2570
  * ```typescript
2496
- * import {Auth} from '@verdocs/js-sdk/Auth';
2497
- * import {Transport} from '@verdocs/js-sdk/HTTP';
2571
+ * import {Auth, VerdocsEndpoint} from '@verdocs/js-sdk';
2498
2572
  *
2499
2573
  * const {accessToken} = await Auth.refreshTokens();
2500
- * Transport.setAuthToken(accessToken);
2574
+ * VerdocsEndpoint.setAuthToken(accessToken);
2501
2575
  * ```
2502
2576
  */
2503
2577
  const refreshToken = (endpoint, refreshToken) => authenticate(endpoint, { grant_type: 'refresh_token', refresh_token: refreshToken });
@@ -2505,7 +2579,7 @@ const refreshToken = (endpoint, refreshToken) => authenticate(endpoint, { grant_
2505
2579
  * Update the caller's password when the old password is known (typically for logged-in users).
2506
2580
  *
2507
2581
  * ```typescript
2508
- * import {changePassword} from '@verdocs/js-sdk/Auth';
2582
+ * import {changePassword} from '@verdocs/js-sdk';
2509
2583
  *
2510
2584
  * const {status, message} = await changePassword({ email, oldPassword, newPassword });
2511
2585
  * if (status !== 'OK') {
@@ -2520,7 +2594,7 @@ const changePassword = (endpoint, params) => endpoint.api //
2520
2594
  * Request a password reset, when the old password is not known (typically in login forms).
2521
2595
  *
2522
2596
  * ```typescript
2523
- * import {resetPassword} from '@verdocs/js-sdk/Auth';
2597
+ * import {resetPassword} from '@verdocs/js-sdk';
2524
2598
  *
2525
2599
  * const {success} = await resetPassword({ email });
2526
2600
  * if (status !== 'OK') {
@@ -2539,9 +2613,25 @@ const resetPassword = (endpoint, params) => endpoint.api //
2539
2613
  * "anonymous" mode while verification is being performed.
2540
2614
  *
2541
2615
  * ```typescript
2542
- * import {Auth} from '@verdocs/js-sdk/Auth';
2616
+ * import {resendVerification} from '@verdocs/js-sdk';
2543
2617
  *
2544
- * const result = await Auth.resendVerification();
2618
+ * const result = await resendVerification();
2619
+ * ```
2620
+ */
2621
+ const verifyEmail = (endpoint, email, code) => endpoint.api //
2622
+ .post('/v2/users/verify-email', { email, code })
2623
+ .then((r) => r.data);
2624
+ /**
2625
+ * Resend the email verification request. Note that to prevent certain forms of abuse, the email address is not
2626
+ * a parameter here. Instead, the caller must be authenticated as the (unverified) user. To simplify this process,
2627
+ * the access token to be used may be passed directly as a parameter here. This avoids the need to set it as the
2628
+ * active token on an endpoint, which may be inconvenient in workflows where it is preferable to keep the user in
2629
+ * "anonymous" mode while verification is being performed.
2630
+ *
2631
+ * ```typescript
2632
+ * import {resendVerification} from '@verdocs/js-sdk';
2633
+ *
2634
+ * const result = await resendVerification();
2545
2635
  * ```
2546
2636
  */
2547
2637
  const resendVerification = (endpoint, accessToken) => endpoint.api //
@@ -2556,9 +2646,9 @@ const getNotifications = async (endpoint) => endpoint.api //
2556
2646
  * Get the user's available profiles. The current profile will be marked with `current: true`.
2557
2647
  *
2558
2648
  * ```typescript
2559
- * import {Profiles} from '@verdocs/js-sdk/Users';
2649
+ * import {getProfiles} from '@verdocs/js-sdk';
2560
2650
  *
2561
- * const profiles = await Profiles.getProfiles()
2651
+ * const profiles = await getProfiles();
2562
2652
  * ```
2563
2653
  */
2564
2654
  const getProfiles = (endpoint) => endpoint.api //
@@ -2568,95 +2658,116 @@ const getProfiles = (endpoint) => endpoint.api //
2568
2658
  * Get the user's available profiles. The current profile will be marked with `current: true`.
2569
2659
  *
2570
2660
  * ```typescript
2571
- * import {Profiles} from '@verdocs/js-sdk/Users';
2661
+ * import {getCurrentProfile} from '@verdocs/js-sdk';
2572
2662
  *
2573
- * const profiles = await Profiles.getCurrentProfile()
2663
+ * const profiles = await getCurrentProfile();
2574
2664
  * ```
2575
2665
  */
2576
2666
  const getCurrentProfile = (endpoint) => endpoint.api //
2577
2667
  .get('/v2/profiles')
2578
2668
  .then((r) => (r.data || []).find((profile) => profile.current));
2579
- /**
2580
- * Create a profile. If the caller does not have a "current" profile set, the new profile will be made current.
2581
- *
2582
- * ```typescript
2583
- * import {Profiles} from '@verdocs/js-sdk/Users';
2584
- *
2585
- * const newProfile = await Profiles.createProfile({ first_name: 'FIRST', last_name: 'LAST', email: 'EMAIL' });
2586
- * ```
2587
- */
2588
- const createProfile = (endpoint, params) => endpoint.api //
2589
- .post('/v2/profiles', params)
2590
- .then((r) => r.data);
2591
2669
  /**
2592
2670
  * Get a profile. The caller must have admin access to the given profile.
2593
2671
  * TODO: Add a "public" profile endpoint for public pages
2594
2672
  *
2595
2673
  * ```typescript
2596
- * import {Profiles} from '@verdocs/js-sdk/Users';
2674
+ * import {getProfile} from '@verdocs/js-sdk';
2597
2675
  *
2598
- * const profile = await Profiles.getProfile('PROFILEID');
2676
+ * const profile = await getProfile('PROFILEID');
2599
2677
  * ```
2600
2678
  */
2601
2679
  const getProfile = (endpoint, profileId) => endpoint.api //
2602
2680
  .get(`/v2/profiles/${profileId}`)
2603
2681
  .then((r) => r.data);
2604
2682
  /**
2605
- * Switch the caller's "current" profile. The current profile is used for permissions checking and profile_id field settings
2606
- * for most operations in Verdocs. It is important to select the appropropriate profile before calling other API functions.
2683
+ * Switch the caller's "current" profile. The current profile is used for permissions checking
2684
+ * and profile_id field settings for most operations in Verdocs. It is important to select the
2685
+ * appropropriate profile before calling other API functions.
2607
2686
  *
2608
2687
  * ```typescript
2609
- * import {Profiles} from '@verdocs/js-sdk/Users';
2688
+ * import {switchProfile} from '@verdocs/js-sdk';
2610
2689
  *
2611
- * const newProfile = await Profiles.switchProfile('PROFILEID');
2690
+ * const newProfile = await switchProfile('PROFILEID');
2612
2691
  * ```
2613
2692
  */
2614
2693
  const switchProfile = (endpoint, profileId) => endpoint.api //
2615
2694
  .post(`/v2/profiles/${profileId}/switch`)
2616
2695
  .then((r) => r.data);
2617
2696
  /**
2618
- * Update a profile. For future expansion, the profile ID to update is required, but currently this must also be the
2619
- * "current" profile for the caller.
2697
+ * Update a profile. For future expansion, the profile ID to update is required, but currently
2698
+ * this must also be the "current" profile for the caller.
2620
2699
  *
2621
2700
  * ```typescript
2622
- * import {Profiles} from '@verdocs/js-sdk/Users';
2701
+ * import {updateProfile} from '@verdocs/js-sdk/Users';
2623
2702
  *
2624
- * const newProfile = await Profiles.updateProfile('PROFILEID');
2703
+ * const newProfile = await updateProfile('PROFILEID');
2625
2704
  * ```
2626
2705
  */
2627
2706
  const updateProfile = (endpoint, profileId, params) => endpoint.api //
2628
2707
  .patch(`/v2/profiles/${profileId}`, params)
2629
2708
  .then((r) => r.data);
2630
2709
  /**
2631
- * Delete a profile. If the requested profile is the caller's curent profile, the next available profile will be selected.
2710
+ * Delete a profile. If the requested profile is the caller's curent profile, the next
2711
+ * available profile will be selected.
2632
2712
  *
2633
2713
  * ```typescript
2634
- * import {Profiles} from '@verdocs/js-sdk/Users';
2714
+ * import {deleteProfile} from '@verdocs/js-sdk';
2635
2715
  *
2636
- * await Profiles.deleteProfile('PROFILEID');
2716
+ * await deleteProfile('PROFILEID');
2637
2717
  * ```
2638
2718
  */
2639
2719
  const deleteProfile = (endpoint, profileId) => endpoint.api //
2640
2720
  .delete(`/v2/profiles/${profileId}`)
2641
2721
  .then((r) => r.data);
2642
2722
  /**
2643
- * Create a user account and parent organization. This endpoint is for creating a new organization. Users joining an
2644
- * existing organization should be invited, and follow their invitation links/instructions to create their accounts.
2723
+ * Create a new user account. Note that there are two registration paths for creation:
2724
+ * - Get invited to an organization, by an admin or owner of that org.
2725
+ * - Created a new organization. The caller will become the first owner of the new org.
2726
+ *
2727
+ * This endpoint is for the second path, so an organization name is required. It is NOT
2728
+ * required to be unique because it is very common for businesses to have the same names,
2729
+ * without conflicting (e.g. "Delta" could be Delta Faucet or Delta Airlines).
2730
+ *
2731
+ * The new profile will automatically be set as the user's "current" profile, and new
2732
+ * session tokens will be returned to the caller. However, the caller's email may not yet
2733
+ * be verified. In that case, the caller will not yet be able to call other endpoints in
2734
+ * the Verdocs API. The caller will need to check their email for a verification code,
2735
+ * which should be submitted via the `verifyEmail` endpoint.
2645
2736
  *
2646
2737
  * ```typescript
2647
- * import {Profiles} from '@verdocs/js-sdk/Users';
2738
+ * import {createProfile} from '@verdocs/js-sdk';
2648
2739
  *
2649
- * const newAccount = await Profiles.createBusinessAccount({
2650
- * orgName: 'ORG', email: 'a@b.com', password: '12345678', firstName: 'FIRST', lastName: 'LAST'
2740
+ * const newSession = await createProfile({
2741
+ * orgName: 'NEW ORG', email: 'a@b.com', password: '12345678', firstName: 'FIRST', lastName: 'LAST'
2651
2742
  * });
2652
2743
  * ```
2653
2744
  */
2654
- const createAccount = (endpoint, params) => endpoint.api //
2655
- .post('/user/business', params)
2656
- .then((r) => r.data);
2657
- const recordSignupSurvey = (endpoint, params) => endpoint.api //
2658
- .post('/user/signup', params)
2745
+ const createProfile = (endpoint, params) => endpoint.api //
2746
+ .post('/v2/profiles', params)
2659
2747
  .then((r) => r.data);
2748
+ /**
2749
+ * Update the caller's profile photo. This can only be called for the user's "current" profile.
2750
+ *
2751
+ * ```typescript
2752
+ * import {uploadProfilePhoto} from '@verdocs/js-sdk';
2753
+ *
2754
+ * await uploadProfilePhoto((VerdocsEndpoint.getDefault(), file);
2755
+ * ```
2756
+ */
2757
+ const uploadProfilePhoto = (endpoint, file, onUploadProgress) => {
2758
+ const formData = new FormData();
2759
+ formData.append('document', file, file.name);
2760
+ return endpoint.api //
2761
+ .post(`/v2/profiles/picture`, formData, {
2762
+ timeout: 120000,
2763
+ onUploadProgress: (event) => {
2764
+ const total = event.total || 1;
2765
+ const loaded = event.loaded || 0;
2766
+ onUploadProgress?.(Math.floor((loaded * 100) / (total || 1)), loaded, total || 1);
2767
+ },
2768
+ })
2769
+ .then((r) => r.data);
2770
+ };
2660
2771
 
2661
- export { AtoB, Countries, VerdocsEndpoint, acceptOrganizationInvitation, addGroupMember, addTemplateTag, authenticate, blobToBase64, canPerformTemplateAction, cancelEnvelope, capitalize, changePassword, convertToE164, createAccount, createApiKey, createEnvelope, createEnvelopeReminder, createField, createGroup, createInitials, createOrganization, createOrganizationInvitation, createProfile, createSignature, createTag, createTemplate, createTemplateDocument, createTemplateFromSharepoint, createTemplateReminder, createTemplateRole, createTemplatev2, declineOrganizationInvitation, decodeAccessTokenBody, decodeJWTBody, deleteApiKey, deleteEnvelopeFieldAttachment, deleteEnvelopeReminder, deleteField, deleteGroupMember, deleteOrganization, deleteOrganizationInvitation, deleteOrganizationMember, deleteProfile, deleteSignature, deleteTemplate, deleteTemplateDocument, deleteTemplateReminder, deleteTemplateRole, deleteTemplateTag, downloadBlob, envelopeIsActive, envelopeIsComplete, envelopeRecipientAgree, envelopeRecipientChangeOwner, envelopeRecipientDecline, envelopeRecipientPrepare, envelopeRecipientSubmit, envelopeRecipientUpdateName, fileToDataUrl, formatFullName, formatInitials, formatShortTimeAgo, fullNameToInitials, getAllTags, getApiKeys, getCountryByCode, getCurrentProfile, getDocumentDownloadLink, getDocumentPreviewLink, getEnvelope, getEnvelopeDocument, getEnvelopeDocumentPageDisplayUri, getEnvelopeFile, getEnvelopeRecipients, getEnvelopeReminder, getEnvelopesByTemplateId, getEnvelopesSummary, getFieldAttachment, getFieldsForRole, getGroup, getGroups, getInPersonLink, getMatchingCountry, getNextRecipient, getNotifications, getOrganization, getOrganizationInvitation, getOrganizationInvitations, getOrganizationMembers, getOrganizations, getPlusOneCountry, getProfile, getProfiles, getRGB, getRGBA, getRLeft, getRTop, getRValue, getRecipientsWithActions, getRoleColor, getSignature, getSignatures, getSignerToken, getSigningSession, getStars, getTag, getTemplate, getTemplateDocument, getTemplateDocumentFile, getTemplateDocumentPageDisplayUri, getTemplateDocumentThumbnail, getTemplateDocuments, getTemplateOwnerInfo, getTemplateReminder, getTemplateRole, getTemplateRoleFields, getTemplateRoles, getTemplateTags, getTemplates, getTemplatesSummary, getValidator, getValidators, getWebhooks, hasRequiredPermissions, integerSequence, isAmericanSamoa, isCanada, isDominicanRepublic, isFrenchGuiana, isGuadeloupe, isMartinique, isMayotte, isPuertoRico, isValidEmail, isValidPhone, isValidRoleName, isValidTag, listEnvelopes, listTemplates, nameToRGBA, recipientCanAct, recipientHasAction, recordSignupSurvey, refreshToken, rescale, resendInvitation, resendOrganizationInvitation, resendVerification, resetPassword, rotateApiKey, searchEnvelopes, searchTemplates, sendDelegate, setWebhooks, switchProfile, throttledGetEnvelope, throttledGetTemplate, timePeriod, toggleStar, updateApiKey, updateEnvelopeField, updateEnvelopeFieldInitials, updateEnvelopeFieldSignature, updateEnvelopeReminder, updateField, updateGroup, updateOrganization, updateOrganizationInvitation, updateOrganizationMember, updateProfile, updateRecipient, updateTemplate, updateTemplateReminder, updateTemplateRole, uploadEnvelopeFieldAttachment, userCanAct, userCanBuildTemplate, userCanCancelEnvelope, userCanChangeOrgVisibility, userCanCreateOrgTemplate, userCanCreatePersonalTemplate, userCanCreatePublicTemplate, userCanCreateTemplate, userCanDeleteTemplate, userCanFinishEnvelope, userCanMakeTemplatePrivate, userCanMakeTemplatePublic, userCanMakeTemplateShared, userCanPreviewTemplate, userCanReadTemplate, userCanSendTemplate, userCanSignNow, userCanUpdateTemplate, userHasPermissions, userHasSharedTemplate, userIsEnvelopeOwner, userIsEnvelopeRecipient, userIsTemplateCreator };
2772
+ export { AtoB, Countries, VerdocsEndpoint, acceptOrganizationInvitation, addGroupMember, addTemplateTag, authenticate, blobToBase64, canPerformTemplateAction, cancelEnvelope, capitalize, changePassword, convertToE164, createApiKey, createEnvelope, createEnvelopeReminder, createField, createGroup, createInitials, createOrganization, createOrganizationInvitation, createProfile, createSignature, createTag, createTemplate, createTemplateDocument, createTemplateFromSharepoint, createTemplateReminder, createTemplateRole, createTemplatev2, declineOrganizationInvitation, decodeAccessTokenBody, decodeJWTBody, deleteApiKey, deleteEnvelopeFieldAttachment, deleteEnvelopeReminder, deleteField, deleteGroupMember, deleteOrganization, deleteOrganizationInvitation, deleteOrganizationMember, deleteProfile, deleteSignature, deleteTemplate, deleteTemplateDocument, deleteTemplateReminder, deleteTemplateRole, deleteTemplateTag, downloadBlob, envelopeIsActive, envelopeIsComplete, envelopeRecipientAgree, envelopeRecipientChangeOwner, envelopeRecipientDecline, envelopeRecipientPrepare, envelopeRecipientSubmit, envelopeRecipientUpdateName, fileToDataUrl, formatFullName, formatInitials, formatShortTimeAgo, fullNameToInitials, getAllTags, getApiKeys, getCountryByCode, getCurrentProfile, getDocumentDownloadLink, getDocumentPreviewLink, getEnvelope, getEnvelopeDocument, getEnvelopeDocumentPageDisplayUri, getEnvelopeFile, getEnvelopeRecipients, getEnvelopeReminder, getEnvelopesByTemplateId, getEnvelopesSummary, getFieldAttachment, getFieldsForRole, getGroup, getGroups, getInPersonLink, getKbaStatus, getMatchingCountry, getNextRecipient, getNotifications, getOrganization, getOrganizationInvitation, getOrganizationInvitations, getOrganizationMembers, getOrganizations, getPlusOneCountry, getProfile, getProfiles, getRGB, getRGBA, getRLeft, getRTop, getRValue, getRecipientsWithActions, getRoleColor, getSignature, getSignatures, getSignerToken, getSigningSession, getStars, getTag, getTemplate, getTemplateDocument, getTemplateDocumentFile, getTemplateDocumentPageDisplayUri, getTemplateDocumentThumbnail, getTemplateDocuments, getTemplateOwnerInfo, getTemplateReminder, getTemplateRole, getTemplateRoleFields, getTemplateRoles, getTemplateTags, getTemplates, getTemplatesSummary, getValidator, getValidators, getWebhooks, hasRequiredPermissions, integerSequence, isAmericanSamoa, isCanada, isDominicanRepublic, isFrenchGuiana, isGuadeloupe, isMartinique, isMayotte, isPuertoRico, isValidEmail, isValidPhone, isValidRoleName, isValidTag, listEnvelopes, listTemplates, nameToRGBA, recipientCanAct, recipientHasAction, refreshToken, rescale, resendInvitation, resendOrganizationInvitation, resendVerification, resetPassword, rotateApiKey, searchEnvelopes, searchTemplates, sendDelegate, setWebhooks, submitKbaChallengeResponse, submitKbaIdentity, submitKbaPin, switchProfile, throttledGetEnvelope, throttledGetTemplate, timePeriod, toggleStar, updateApiKey, updateEnvelopeField, updateEnvelopeFieldInitials, updateEnvelopeFieldSignature, updateEnvelopeReminder, updateField, updateGroup, updateOrganization, updateOrganizationInvitation, updateOrganizationMember, updateProfile, updateRecipient, updateTemplate, updateTemplateReminder, updateTemplateRole, uploadEnvelopeFieldAttachment, uploadOrganizationLogo, uploadOrganizationThumbnail, uploadProfilePhoto, userCanAct, userCanBuildTemplate, userCanCancelEnvelope, userCanChangeOrgVisibility, userCanCreateOrgTemplate, userCanCreatePersonalTemplate, userCanCreatePublicTemplate, userCanCreateTemplate, userCanDeleteTemplate, userCanFinishEnvelope, userCanMakeTemplatePrivate, userCanMakeTemplatePublic, userCanMakeTemplateShared, userCanPreviewTemplate, userCanReadTemplate, userCanSendTemplate, userCanSignNow, userCanUpdateTemplate, userHasPermissions, userHasSharedTemplate, userIsEnvelopeOwner, userIsEnvelopeRecipient, userIsTemplateCreator, verifyEmail };
2662
2773
  //# sourceMappingURL=index.mjs.map