@verdocs/js-sdk 6.1.0 → 6.2.0-beta.1
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.d.mts +115 -231
- package/dist/index.d.ts +115 -231
- package/dist/index.js +138 -266
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +131 -244
- package/dist/index.mjs.map +1 -1
- package/dist/package.json +6 -6
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -421,6 +421,8 @@ interface IWebhookEvents {
|
|
|
421
421
|
template_updated: boolean;
|
|
422
422
|
template_deleted: boolean;
|
|
423
423
|
template_used: boolean;
|
|
424
|
+
recipient_submitted: boolean;
|
|
425
|
+
recipient_updated: boolean;
|
|
424
426
|
recipient_delegated: boolean;
|
|
425
427
|
kba_event: boolean;
|
|
426
428
|
entitlement_used: boolean;
|
|
@@ -993,7 +995,7 @@ type TEventDetail = "in_app" | "mail" | "signer" | "sms" | "reminder" | "prepare
|
|
|
993
995
|
// Modification events have a string description
|
|
994
996
|
type TEnvelopeUpdateResult = Omit<IEnvelope, "histories" | "recipients" | "certificate" | "document" | "fields" | "profile">;
|
|
995
997
|
type TFieldType = "signature" | "initial" | "checkbox" | "radio" | "textbox" | "timestamp" | "date" | "dropdown" | "textarea" | "attachment" | "payment";
|
|
996
|
-
type TWebhookEvent = "envelope_created" | "envelope_completed" | "envelope_canceled" | "envelope_updated" | "envelope_expired" | "template_created" | "template_updated" | "template_deleted" | "template_used" | "recipient_delegated" | "kba_event" | "entitlement_used";
|
|
998
|
+
type TWebhookEvent = "envelope_created" | "envelope_completed" | "envelope_canceled" | "envelope_updated" | "envelope_expired" | "template_created" | "template_updated" | "template_deleted" | "template_used" | "recipient_submitted" | "recipient_updated" | "recipient_delegated" | "kba_event" | "entitlement_used";
|
|
997
999
|
type TTemplateVisibility = "private" | "shared" | "public";
|
|
998
1000
|
type TEntitlement = "envelope" | "kba_auth" | "passcode_auth" | "sms_auth" | "kba_id_auth" | "id_auth" | "custom_disclaimer";
|
|
999
1001
|
/**
|
|
@@ -1383,38 +1385,12 @@ interface IInPersonLinkResponse {
|
|
|
1383
1385
|
*/
|
|
1384
1386
|
recipient: IRecipient;
|
|
1385
1387
|
}
|
|
1386
|
-
interface IUpdateRecipientSubmitParams {
|
|
1387
|
-
action: "submit";
|
|
1388
|
-
}
|
|
1389
|
-
interface IUpdateRecipientDeclineParams {
|
|
1390
|
-
action: "decline";
|
|
1391
|
-
}
|
|
1392
|
-
interface IUpdateRecipientClaimEnvelope {
|
|
1393
|
-
action: "owner_update";
|
|
1394
|
-
first_name: string;
|
|
1395
|
-
last_name: string;
|
|
1396
|
-
email: string;
|
|
1397
|
-
}
|
|
1398
1388
|
interface IUpdateRecipientStatus {
|
|
1399
1389
|
first_name?: string;
|
|
1400
1390
|
last_name?: string;
|
|
1401
1391
|
agreed?: boolean;
|
|
1402
1392
|
action?: "prepare" | "update";
|
|
1403
1393
|
}
|
|
1404
|
-
interface IUpdateRecipientAgreedParams {
|
|
1405
|
-
action: "update";
|
|
1406
|
-
agreed: boolean;
|
|
1407
|
-
disclosures?: string;
|
|
1408
|
-
}
|
|
1409
|
-
interface IUpdateRecipientNameParams {
|
|
1410
|
-
action: "update";
|
|
1411
|
-
first_name: string;
|
|
1412
|
-
last_name: string;
|
|
1413
|
-
}
|
|
1414
|
-
interface IUpdateRecipientPrepareParams {
|
|
1415
|
-
action: "prepare";
|
|
1416
|
-
recipients: IRecipient[];
|
|
1417
|
-
}
|
|
1418
1394
|
interface ICreateEnvelopeReminderRequest {
|
|
1419
1395
|
setup_time: number;
|
|
1420
1396
|
interval_time: number;
|
|
@@ -1689,11 +1665,11 @@ declare const getEnvelope: (endpoint: VerdocsEndpoint, envelopeId: string) => Pr
|
|
|
1689
1665
|
* @apiParam string(format: 'uuid') document_id The ID of the document to retrieve.
|
|
1690
1666
|
* @apiSuccess IEnvelopeDocument . The detailed metadata for the document requested
|
|
1691
1667
|
*/
|
|
1692
|
-
declare const getEnvelopeDocument: (endpoint: VerdocsEndpoint,
|
|
1668
|
+
declare const getEnvelopeDocument: (endpoint: VerdocsEndpoint, documentId: string) => Promise<IEnvelopeDocument>;
|
|
1693
1669
|
/**
|
|
1694
1670
|
* Download a document directly.
|
|
1695
1671
|
*/
|
|
1696
|
-
declare const
|
|
1672
|
+
declare const downloadEnvelopeDocument: (endpoint: VerdocsEndpoint, documentId: string) => Promise<any>;
|
|
1697
1673
|
/**
|
|
1698
1674
|
* Get an envelope document's metadata, or the document itself. If no "type" parameter is specified,
|
|
1699
1675
|
* the document metadata is returned. If "type" is set to "file", the document binary content is
|
|
@@ -1707,12 +1683,12 @@ declare const downloadDocument: (endpoint: VerdocsEndpoint, _envelopeId: string,
|
|
|
1707
1683
|
* @apiQuery string(enum:'file'|'download'|'preview') type? Download the file directly, generate a download link, or generate a preview link.
|
|
1708
1684
|
* @apiSuccess string . The generated link.
|
|
1709
1685
|
*/
|
|
1710
|
-
declare const
|
|
1686
|
+
declare const getEnvelopeDocumentDownloadLink: (endpoint: VerdocsEndpoint, documentId: string) => Promise<string>;
|
|
1711
1687
|
/**
|
|
1712
1688
|
* Get a pre-signed preview link for an Envelope Document. This link expires quickly, so it should
|
|
1713
1689
|
* be accessed immediately and never shared. Content-Disposition will be set to "inline".
|
|
1714
1690
|
*/
|
|
1715
|
-
declare const
|
|
1691
|
+
declare const getEnvelopeDocumentPreviewLink: (endpoint: VerdocsEndpoint, documentId: string) => Promise<string>;
|
|
1716
1692
|
/**
|
|
1717
1693
|
* Cancel an Envelope.
|
|
1718
1694
|
*
|
|
@@ -1730,7 +1706,7 @@ declare const cancelEnvelope: (endpoint: VerdocsEndpoint, envelopeId: string) =>
|
|
|
1730
1706
|
*
|
|
1731
1707
|
* @deprecated Use getDocumentPreviewLink/getDocumentDownloadLink/downloadDocument instead.
|
|
1732
1708
|
*/
|
|
1733
|
-
declare const getEnvelopeFile: (endpoint: VerdocsEndpoint,
|
|
1709
|
+
declare const getEnvelopeFile: (endpoint: VerdocsEndpoint, documentId: string) => Promise<any>;
|
|
1734
1710
|
/**
|
|
1735
1711
|
* Update an envelope. Currently, only reminder settings may be changed.
|
|
1736
1712
|
*
|
|
@@ -1745,66 +1721,25 @@ declare const updateEnvelope: (endpoint: VerdocsEndpoint, envelopeId: string, pa
|
|
|
1745
1721
|
* Update a Document field. Typically called during the signing process as a Recipient fills in fields.
|
|
1746
1722
|
*
|
|
1747
1723
|
* @group Envelopes
|
|
1748
|
-
* @api PUT /envelopes/:envelope_id/fields/:field_name Update Envelope Field
|
|
1724
|
+
* @api PUT /v2/envelopes/:envelope_id/fields/:field_name Update Envelope Field
|
|
1749
1725
|
* @apiParam string(format: 'uuid') envelope_id The ID of the envelope to retrieve.
|
|
1726
|
+
* @apiParam string role_name The role to submit. Be sure to URL-encode the value.
|
|
1750
1727
|
* @apiParam string field_name The name of the field to update. Be sure to URL-encode the value.
|
|
1751
|
-
* @
|
|
1752
|
-
* @
|
|
1728
|
+
* @apiParam string value The value to set. For signature/initial fields, the UUID of the signature/initial block. For attachment fields, a file uploaded in a FORM-POST field named "document". For checkbox/radio buttons, a boolean. For all other fields, a string.
|
|
1729
|
+
* @apiBody value . Value to set.
|
|
1730
|
+
* @apiSuccess IEnvelopeField . A copy of the newly-updated field.
|
|
1753
1731
|
*/
|
|
1754
|
-
declare const updateEnvelopeField: (endpoint: VerdocsEndpoint, envelopeId: string, fieldName: string, value: any) => Promise<
|
|
1732
|
+
declare const updateEnvelopeField: (endpoint: VerdocsEndpoint, envelopeId: string, roleName: string, fieldName: string, value: any) => Promise<IEnvelopeField>;
|
|
1755
1733
|
/**
|
|
1756
|
-
*
|
|
1757
|
-
* first to create a signature for a Recipient, then call `updateEnvelopeFieldSignature()` to
|
|
1758
|
-
* attach it to a field.
|
|
1759
|
-
*
|
|
1760
|
-
* @group Envelopes
|
|
1761
|
-
* @api PUT /envelopes/:envelope_id/fields/:field_name/signature/:signature_id Update Envelope
|
|
1762
|
-
* @apiParam string(format: 'uuid') envelope_id The ID of the envelope to update.
|
|
1763
|
-
* @apiParam string field_name The name of the field to update. Be sure to URL-encode the value.
|
|
1764
|
-
* @apiParam string(format: 'uuid') signature_id The ID of the signature to attach.
|
|
1765
|
-
* @apiSuccess IEnvelopeFieldSettings . A copy of the newly-updated field.
|
|
1734
|
+
* Upload an attachment to an attachment field.
|
|
1766
1735
|
*/
|
|
1767
|
-
declare const
|
|
1768
|
-
/**
|
|
1769
|
-
* Apply an initial to an initials field. Initial fields are ID-driven. Call `createInitial()`
|
|
1770
|
-
* first to create an initial block for a Recipient, then call `supdateEnvelopeFieldInitials()` to
|
|
1771
|
-
* attach it to a field.
|
|
1772
|
-
*
|
|
1773
|
-
* @group Envelopes
|
|
1774
|
-
* @api PUT /envelopes/:envelope_id/fields/:field_name/initial/:initial_id Update Envelope
|
|
1775
|
-
* @apiParam string(format: 'uuid') envelope_id The ID of the envelope to update.
|
|
1776
|
-
* @apiParam string field_name The name of the field to update. Be sure to URL-encode the value.
|
|
1777
|
-
* @apiParam string(format: 'uuid') initial_id The ID of the initial block to attach.
|
|
1778
|
-
* @apiSuccess IEnvelopeFieldSettings . A copy of the newly-updated field.
|
|
1779
|
-
*/
|
|
1780
|
-
declare const updateEnvelopeFieldInitials: (endpoint: VerdocsEndpoint, envelopeId: string, fieldName: string, initialId: string) => Promise<IEnvelopeFieldSettings>;
|
|
1781
|
-
/**
|
|
1782
|
-
* Upload an attachment to an attachment field
|
|
1783
|
-
*
|
|
1784
|
-
* @group Envelopes
|
|
1785
|
-
* @api PUT /envelopes/:envelope_id/fields/:field_name Upload or Delete Attachment
|
|
1786
|
-
* @apiParam string(format: 'uuid') envelope_id The ID of the envelope to update.
|
|
1787
|
-
* @apiParam string field_name The name of the field to update. Be sure to URL-encode the value.
|
|
1788
|
-
* @apiBody string document The file to attach. Must contain standard File object fields. If omitted, the attachment will be deleted instead.
|
|
1789
|
-
* @apiSuccess IEnvelopeFieldSettings . A copy of the newly-updated field.
|
|
1790
|
-
*/
|
|
1791
|
-
declare const uploadEnvelopeFieldAttachment: (endpoint: VerdocsEndpoint, envelopeId: string, fieldName: string, file: File, onUploadProgress?: (percent: number, loadedBytes: number, totalBytes: number) => void) => Promise<IEnvelopeFieldSettings>;
|
|
1736
|
+
declare const uploadEnvelopeFieldAttachment: (endpoint: VerdocsEndpoint, envelopeId: string, roleName: string, fieldName: string, file: File, onUploadProgress?: (percent: number, loadedBytes: number, totalBytes: number) => void) => Promise<IEnvelopeFieldSettings>;
|
|
1792
1737
|
/**
|
|
1793
1738
|
* Delete an attachment. Note that this is not a DELETE endpoint because the field itself is not
|
|
1794
1739
|
* being deleted. Instead, it is a similar operation to uploading a new attachment, but the
|
|
1795
1740
|
* omission of the attachment signals the server to delete the current entry.
|
|
1796
1741
|
*/
|
|
1797
|
-
declare const deleteEnvelopeFieldAttachment: (endpoint: VerdocsEndpoint, envelopeId: string, fieldName: string) => Promise<IEnvelopeFieldSettings>;
|
|
1798
|
-
/**
|
|
1799
|
-
* Get the attached file for an attachment field (if any).
|
|
1800
|
-
*
|
|
1801
|
-
* @group Envelopes
|
|
1802
|
-
* @api GET /envelopes/:envelope_id/fields/:field_name/document Download attachment in binary format
|
|
1803
|
-
* @apiParam string(format: 'uuid') envelope_id The ID of the envelope to retrieve.
|
|
1804
|
-
* @apiParam string field_name The name of the field from which to download the attachment.
|
|
1805
|
-
* @apiSuccess string . The file binary data.
|
|
1806
|
-
*/
|
|
1807
|
-
declare const getFieldAttachment: (endpoint: VerdocsEndpoint, envelopeId: string, fieldName: string) => Promise<any>;
|
|
1742
|
+
declare const deleteEnvelopeFieldAttachment: (endpoint: VerdocsEndpoint, envelopeId: string, roleName: string, fieldName: string) => Promise<IEnvelopeFieldSettings>;
|
|
1808
1743
|
/**
|
|
1809
1744
|
* Get a display URI for a given page in a file attached to an envelope document. These pages are rendered server-side
|
|
1810
1745
|
* into PNG resources suitable for display in IMG tags although they may be used elsewhere. Note that these are intended
|
|
@@ -1869,10 +1804,10 @@ declare const getEnvelopes: (endpoint: VerdocsEndpoint, params?: IListEnvelopesP
|
|
|
1869
1804
|
envelopes: IEnvelope[];
|
|
1870
1805
|
}>;
|
|
1871
1806
|
/**
|
|
1872
|
-
* Create an initials block. In a typical signing workflow, the user is asked at the beginning of the process to
|
|
1873
|
-
* an initials block to be used for all initials fields in the document. Thus, this is typically called
|
|
1874
|
-
* create and store an initials block. Thereafter, the ID of the initials block may be re-used for each
|
|
1875
|
-
* to be "stamped" by the user.
|
|
1807
|
+
* Create an initials block. In a typical signing workflow, the user is asked at the beginning of the process to
|
|
1808
|
+
* "adopt" an initials block to be used for all initials fields in the document. Thus, this is typically called
|
|
1809
|
+
* one time to create and store an initials block. Thereafter, the ID of the initials block may be re-used for each
|
|
1810
|
+
* initials field to be "stamped" by the user.
|
|
1876
1811
|
*
|
|
1877
1812
|
* Note: Both "guest" signers and authenticated users can create initials blocks. Guest signers
|
|
1878
1813
|
* typically only ever have one, tied to that session. But authenticated users can create more than
|
|
@@ -1978,45 +1913,37 @@ interface IKbaChallengeResponse {
|
|
|
1978
1913
|
*/
|
|
1979
1914
|
declare const submitKbaChallengeResponse: (endpoint: VerdocsEndpoint, envelope_id: string, role_name: string, responses: IKbaChallengeResponse[]) => Promise<IRecipientKbaStepNone | IRecipientKbaStepComplete | IRecipientKbaStepPin | IRecipientKbaStepIdentity | IRecipientKbaStepChallenge | IRecipientKbaStepFailed>;
|
|
1980
1915
|
/**
|
|
1981
|
-
*
|
|
1916
|
+
* Agree to electronic signing dislosures.
|
|
1982
1917
|
*
|
|
1983
1918
|
* @group Recipients
|
|
1984
|
-
* @api
|
|
1919
|
+
* @api POST /envelopes/:envelope_id/recipients/:role_name/agree Agree to e-Signing Disclosures
|
|
1985
1920
|
* @apiParam string(format:uuid) envelope_id The envelope to operate on.
|
|
1986
|
-
* @apiParam string role_name The role to
|
|
1987
|
-
* @apiBody string(enum:'submit'|'decline'|'owner_update'|'update'|'prepare') action The action to take. Adjusts the status, and may also perform other operations.
|
|
1988
|
-
* @apiBody string first_name? Ignored unless action is 'owner_update' or 'update'. The new owner's or recipient's first name.
|
|
1989
|
-
* @apiBody string last_name? Ignored unless action is 'owner_update' or 'update'. The new owner's or recipient's last name.
|
|
1990
|
-
* @apiBody string email? Ignored unless action is 'owner_update'. The new owner's email address.
|
|
1991
|
-
* @apiBody boolean agreed? Ignored unless action is 'update'. Set to true to accept the e-signing disclosures.
|
|
1992
|
-
* @apiBody array(items:IRecipient) recipients? Ignored unless action is 'prepare'. A list of recipients and their fields to set defaults for.
|
|
1921
|
+
* @apiParam string role_name The role to operate on.
|
|
1993
1922
|
* @apiSuccess IRecipient . The updated Recipient.
|
|
1994
1923
|
*/
|
|
1995
|
-
declare const updateRecipientStatus: (endpoint: VerdocsEndpoint, envelope_id: string, role_name: string, params: IUpdateRecipientSubmitParams | IUpdateRecipientClaimEnvelope | IUpdateRecipientAgreedParams | IUpdateRecipientNameParams | IUpdateRecipientDeclineParams | IUpdateRecipientPrepareParams) => Promise<IRecipient>;
|
|
1996
|
-
/**
|
|
1997
|
-
* Submit an envelope (signing is finished). Note that all fields must be valid/completed for this to succeed.
|
|
1998
|
-
*/
|
|
1999
|
-
declare const envelopeRecipientSubmit: (endpoint: VerdocsEndpoint, envelopeId: string, roleName: string) => Promise<IRecipient>;
|
|
2000
|
-
/**
|
|
2001
|
-
* Decline to complete an envelope (signing will not terminated).
|
|
2002
|
-
*/
|
|
2003
|
-
declare const envelopeRecipientDecline: (endpoint: VerdocsEndpoint, envelopeId: string, roleName: string) => Promise<IRecipient>;
|
|
2004
|
-
/**
|
|
2005
|
-
* Claim / change ownership of an envelope. This is a special-case operation only available in certain workflows.
|
|
2006
|
-
*/
|
|
2007
|
-
declare const envelopeRecipientChangeOwner: (endpoint: VerdocsEndpoint, envelope_id: string, role_name: string, email: string, first_name: string, last_name: string) => Promise<IRecipient>;
|
|
2008
|
-
/**
|
|
2009
|
-
* Agree to electronic signing disclosures.
|
|
2010
|
-
*/
|
|
2011
1924
|
declare const envelopeRecipientAgree: (endpoint: VerdocsEndpoint, envelopeId: string, roleName: string, disclosures?: string) => Promise<IRecipient>;
|
|
2012
1925
|
/**
|
|
2013
|
-
*
|
|
1926
|
+
* Decline electronic signing dislosures. Note that if any recipient declines, the entire envelope
|
|
1927
|
+
* becomes non-viable and later recipients may no longer act. The creator will receive a notification
|
|
1928
|
+
* when this occurs.
|
|
1929
|
+
*
|
|
1930
|
+
* @group Recipients
|
|
1931
|
+
* @api POST /envelopes/:envelope_id/recipients/:role_name/decline Decline e-Signing Disclosures
|
|
1932
|
+
* @apiParam string(format:uuid) envelope_id The envelope to operate on.
|
|
1933
|
+
* @apiParam string role_name The role to adjust.
|
|
1934
|
+
* @apiSuccess IRecipient . The updated Recipient.
|
|
2014
1935
|
*/
|
|
2015
|
-
declare const
|
|
1936
|
+
declare const envelopeRecipientDecline: (endpoint: VerdocsEndpoint, envelopeId: string, roleName: string) => Promise<IRecipient>;
|
|
2016
1937
|
/**
|
|
2017
|
-
*
|
|
1938
|
+
* Submit an envelope (signing is finished). Note that all fields must be valid/completed for this to succeed.
|
|
1939
|
+
*
|
|
1940
|
+
* @group Recipients
|
|
1941
|
+
* @api POST /envelopes/:envelope_id/recipients/:role_name/submit Submit envelope
|
|
1942
|
+
* @apiParam string(format:uuid) envelope_id The envelope to operate on.
|
|
1943
|
+
* @apiParam string role_name The role to submit.
|
|
1944
|
+
* @apiSuccess IRecipient . The updated Recipient.
|
|
2018
1945
|
*/
|
|
2019
|
-
declare const
|
|
1946
|
+
declare const envelopeRecipientSubmit: (endpoint: VerdocsEndpoint, envelopeId: string, roleName: string) => Promise<IRecipient>;
|
|
2020
1947
|
/**
|
|
2021
1948
|
* Begin a signing session for an Envelope. This path requires an invite code, and should generally
|
|
2022
1949
|
* be called with a NON-default Endpoint to avoid conflicting with any active user session the user
|
|
@@ -2206,10 +2133,10 @@ declare const userCanAct: (email: string, recipientsWithActions: IRecipient[]) =
|
|
|
2206
2133
|
declare const userCanSignNow: (profile: IProfile | null | undefined, envelope: IEnvelope) => boolean | undefined;
|
|
2207
2134
|
declare const getNextRecipient: (envelope: IEnvelope) => IRecipient;
|
|
2208
2135
|
/**
|
|
2209
|
-
* Create a signature block. In a typical signing workflow, the user is asked at the beginning of the process to
|
|
2210
|
-
* a signature block to be used for all signature fields in the document. Thus, this is typically called one
|
|
2211
|
-
* create and store a signature block. Thereafter, the ID of the signature block may be re-used for each
|
|
2212
|
-
* to be "stamped" by the user.
|
|
2136
|
+
* Create a signature block. In a typical signing workflow, the user is asked at the beginning of the process to
|
|
2137
|
+
* "adopt" a signature block to be used for all signature fields in the document. Thus, this is typically called one
|
|
2138
|
+
* time to create and store a signature block. Thereafter, the ID of the signature block may be re-used for each
|
|
2139
|
+
* signature field to be "stamped" by the user.
|
|
2213
2140
|
*
|
|
2214
2141
|
* Note: Both "guest" signers and authenticated users can create initials blocks. Guest signers
|
|
2215
2142
|
* typically only ever have one, tied to that session. But authenticated users can create more than
|
|
@@ -2221,33 +2148,6 @@ declare const getNextRecipient: (envelope: IEnvelope) => IRecipient;
|
|
|
2221
2148
|
* @apiSuccess ISignature . The newly-created signature block.
|
|
2222
2149
|
*/
|
|
2223
2150
|
declare const createSignature: (endpoint: VerdocsEndpoint, name: string, signature: Blob) => Promise<ISignature>;
|
|
2224
|
-
/**
|
|
2225
|
-
* Get the available signatures for a user.
|
|
2226
|
-
*
|
|
2227
|
-
* @group Signatures and Initials
|
|
2228
|
-
* @api GET /signatures Create Signature Block
|
|
2229
|
-
*
|
|
2230
|
-
* @apiSuccess array(items:ISignature) . A list of signatures previously stored for the user.
|
|
2231
|
-
*/
|
|
2232
|
-
declare const getSignatures: (endpoint: VerdocsEndpoint) => Promise<ISignature[]>;
|
|
2233
|
-
/**
|
|
2234
|
-
* Get a user's signature by ID.
|
|
2235
|
-
*
|
|
2236
|
-
* @group Signatures and Initials
|
|
2237
|
-
* @api GET /signatures/:id Delete Signature Block
|
|
2238
|
-
* @apiParam string(format: 'uuid') id The ID of the signature to delete.
|
|
2239
|
-
* @apiSuccess ISignature . The signature metadata requested.
|
|
2240
|
-
*/
|
|
2241
|
-
declare const getSignature: (endpoint: VerdocsEndpoint, signatureId: string) => Promise<any>;
|
|
2242
|
-
/**
|
|
2243
|
-
* Delete a user's signature.
|
|
2244
|
-
*
|
|
2245
|
-
* @group Signatures and Initials
|
|
2246
|
-
* @api DELETE /signatures/:id Delete Signature Block
|
|
2247
|
-
* @apiParam string(format: 'uuid') id The ID of the signature to delete.
|
|
2248
|
-
* @apiSuccess string . OK
|
|
2249
|
-
*/
|
|
2250
|
-
declare const deleteSignature: (endpoint: VerdocsEndpoint, signatureId: string) => Promise<any>;
|
|
2251
2151
|
interface ICreateApiKeyRequest {
|
|
2252
2152
|
name: string;
|
|
2253
2153
|
profile_id: string;
|
|
@@ -3354,58 +3254,6 @@ declare const updateTemplateRole: (endpoint: VerdocsEndpoint, template_id: strin
|
|
|
3354
3254
|
* @apiSuccess string . Success
|
|
3355
3255
|
*/
|
|
3356
3256
|
declare const deleteTemplateRole: (endpoint: VerdocsEndpoint, template_id: string, name: string) => Promise<any>;
|
|
3357
|
-
interface ITemplateTag {
|
|
3358
|
-
tag_name: string;
|
|
3359
|
-
template_id: string;
|
|
3360
|
-
}
|
|
3361
|
-
interface ITag {
|
|
3362
|
-
name: string;
|
|
3363
|
-
featured?: boolean;
|
|
3364
|
-
organization_id?: string;
|
|
3365
|
-
created_at?: string;
|
|
3366
|
-
}
|
|
3367
|
-
interface IStar {
|
|
3368
|
-
template_id: string;
|
|
3369
|
-
profile_id: string;
|
|
3370
|
-
}
|
|
3371
|
-
interface ITemplateSearchResult {
|
|
3372
|
-
page: number;
|
|
3373
|
-
row: number;
|
|
3374
|
-
total: number;
|
|
3375
|
-
result: ITemplate[];
|
|
3376
|
-
}
|
|
3377
|
-
/**
|
|
3378
|
-
* Get the template stars for a template.
|
|
3379
|
-
*/
|
|
3380
|
-
declare const getStars: (endpoint: VerdocsEndpoint, templateId: string) => Promise<IStar[]>;
|
|
3381
|
-
/**
|
|
3382
|
-
* Toggle the template star for a template.
|
|
3383
|
-
*/
|
|
3384
|
-
declare const toggleStar: (endpoint: VerdocsEndpoint, templateId: string) => Promise<ITemplate>;
|
|
3385
|
-
/**
|
|
3386
|
-
* Apply a tag to a template.
|
|
3387
|
-
*/
|
|
3388
|
-
declare const addTemplateTag: (endpoint: VerdocsEndpoint, templateId: string, params: ITag) => Promise<ITemplateTag>;
|
|
3389
|
-
/**
|
|
3390
|
-
* Get all tags for a template.
|
|
3391
|
-
*/
|
|
3392
|
-
declare const getTemplateTags: (endpoint: VerdocsEndpoint, templateId: string) => Promise<ITemplateTag[]>;
|
|
3393
|
-
/**
|
|
3394
|
-
* Remove a tag from a template.
|
|
3395
|
-
*/
|
|
3396
|
-
declare const deleteTemplateTag: (endpoint: VerdocsEndpoint, templateId: string, tagName: string) => Promise<any>;
|
|
3397
|
-
/**
|
|
3398
|
-
* Create an Organization-wide tag.
|
|
3399
|
-
*/
|
|
3400
|
-
declare const createTag: (endpoint: VerdocsEndpoint, name: string) => Promise<ITag>;
|
|
3401
|
-
/**
|
|
3402
|
-
* Get an Organization-wide tag.
|
|
3403
|
-
*/
|
|
3404
|
-
declare const getTag: (endpoint: VerdocsEndpoint, name: string) => Promise<ITag>;
|
|
3405
|
-
/**
|
|
3406
|
-
* Get all tags available for use by an Organization.
|
|
3407
|
-
*/
|
|
3408
|
-
declare const getAllTags: (endpoint: VerdocsEndpoint) => Promise<ITag[]>;
|
|
3409
3257
|
type ITemplateSortBy = "created_at" | "updated_at" | "name" | "last_used_at" | "counter" | "star_counter";
|
|
3410
3258
|
type TTemplateVisibilityFilter = "private_shared" | "private" | "shared" | "public";
|
|
3411
3259
|
interface IGetTemplatesParams {
|
|
@@ -3648,33 +3496,19 @@ declare const updateTemplate: (endpoint: VerdocsEndpoint, templateId: string, pa
|
|
|
3648
3496
|
*/
|
|
3649
3497
|
declare const deleteTemplate: (endpoint: VerdocsEndpoint, templateId: string) => Promise<string>;
|
|
3650
3498
|
/**
|
|
3651
|
-
*
|
|
3652
|
-
*
|
|
3653
|
-
* ```typescript
|
|
3654
|
-
* import {TemplateDocument} from '@verdocs/js-sdk/Templates';
|
|
3655
|
-
*
|
|
3656
|
-
* await TemplateDocument.geTemplateDocuments((VerdocsEndpoint.getDefault(), templateId);
|
|
3657
|
-
* ```
|
|
3658
|
-
*
|
|
3659
|
-
* @group Template Documents
|
|
3660
|
-
* @api GET /v2/templates/:template_id/documents List the documents assigned to a template
|
|
3661
|
-
* @apiSuccess array(items: ITemplateDocument) . Template documents
|
|
3662
|
-
*/
|
|
3663
|
-
declare const getTemplateDocuments: (endpoint: VerdocsEndpoint, templateId: string) => Promise<ITemplateDocument[]>;
|
|
3664
|
-
/**
|
|
3665
|
-
* Get a specific Document.
|
|
3499
|
+
* Toggle the template star for a template.
|
|
3666
3500
|
*
|
|
3667
3501
|
* ```typescript
|
|
3668
|
-
* import {
|
|
3502
|
+
* import {toggleTemplateStar} from '@verdocs/js-sdk/Templates';
|
|
3669
3503
|
*
|
|
3670
|
-
* await
|
|
3504
|
+
* await toggleTemplateStar((VerdocsEndpoint.getDefault(), '83da3d70-7857-4392-b876-c4592a304bc9');
|
|
3671
3505
|
* ```
|
|
3672
3506
|
*
|
|
3673
|
-
* @group
|
|
3674
|
-
* @api
|
|
3675
|
-
* @apiSuccess
|
|
3507
|
+
* @group Templates
|
|
3508
|
+
* @api POST /v2/templates/:template_id/star Star or unstar a template (toggle state)
|
|
3509
|
+
* @apiSuccess ITemplate . Success
|
|
3676
3510
|
*/
|
|
3677
|
-
declare const
|
|
3511
|
+
declare const toggleTemplateStar: (endpoint: VerdocsEndpoint, templateId: string) => Promise<ITemplate>;
|
|
3678
3512
|
/**
|
|
3679
3513
|
* Create a Document for a particular Template.
|
|
3680
3514
|
*
|
|
@@ -3689,7 +3523,7 @@ declare const getTemplateDocument: (endpoint: VerdocsEndpoint, templateId: strin
|
|
|
3689
3523
|
* @apiBody string(format:binary) file Document file to attach. The file name will automatically be used as the document name.
|
|
3690
3524
|
* @apiSuccess ITemplateDocument . Template document
|
|
3691
3525
|
*/
|
|
3692
|
-
declare const createTemplateDocument: (endpoint: VerdocsEndpoint,
|
|
3526
|
+
declare const createTemplateDocument: (endpoint: VerdocsEndpoint, file: File, onUploadProgress?: (percent: number, loadedBytes: number, totalBytes: number) => void) => Promise<ITemplateDocument>;
|
|
3693
3527
|
/**
|
|
3694
3528
|
* Delete a specific Document.
|
|
3695
3529
|
*
|
|
@@ -3703,7 +3537,40 @@ declare const createTemplateDocument: (endpoint: VerdocsEndpoint, templateId: st
|
|
|
3703
3537
|
* @api DELETE /v2/templates/:temlate_id/documents/:document_id Delete a template document
|
|
3704
3538
|
* @apiSuccess string . Success
|
|
3705
3539
|
*/
|
|
3706
|
-
declare const deleteTemplateDocument: (endpoint: VerdocsEndpoint, templateId: string, documentId: string) => Promise<
|
|
3540
|
+
declare const deleteTemplateDocument: (endpoint: VerdocsEndpoint, templateId: string, documentId: string) => Promise<ITemplate>;
|
|
3541
|
+
/**
|
|
3542
|
+
* Get all metadata for a template document. Note that when called by non-creators (e.g. Org Collaborators)
|
|
3543
|
+
* this will return only the **metadata** the caller is allowed to view.
|
|
3544
|
+
*
|
|
3545
|
+
* @group Template Documents
|
|
3546
|
+
* @api GET /v2/envelope-documents/:id Get envelope document
|
|
3547
|
+
* @apiParam string(format: 'uuid') document_id The ID of the document to retrieve.
|
|
3548
|
+
* @apiSuccess IEnvelopeDocument . The detailed metadata for the document requested
|
|
3549
|
+
*/
|
|
3550
|
+
declare const getTemplateDocument: (endpoint: VerdocsEndpoint, documentId: string) => Promise<ITemplateDocument>;
|
|
3551
|
+
/**
|
|
3552
|
+
* Download a document directly.
|
|
3553
|
+
*/
|
|
3554
|
+
declare const downloadTemplateDocument: (endpoint: VerdocsEndpoint, documentId: string) => Promise<any>;
|
|
3555
|
+
/**
|
|
3556
|
+
* Get an envelope document's metadata, or the document itself. If no "type" parameter is specified,
|
|
3557
|
+
* the document metadata is returned. If "type" is set to "file", the document binary content is
|
|
3558
|
+
* returned with Content-Type set to the MIME type of the file. If "type" is set to "download", a
|
|
3559
|
+
* string download link will be returned. If "type" is set to "preview" a string preview link will
|
|
3560
|
+
* be returned. This link expires quickly, so it should be accessed immediately and never shared.
|
|
3561
|
+
*
|
|
3562
|
+
* @group Template Documents
|
|
3563
|
+
* @api GET /v2/envelope-documents/:document_id Preview, Download, or Link to a Document
|
|
3564
|
+
* @apiParam string(format: 'uuid') document_id The ID of the document to retrieve.
|
|
3565
|
+
* @apiQuery string(enum:'file'|'download'|'preview') type? Download the file directly, generate a download link, or generate a preview link.
|
|
3566
|
+
* @apiSuccess string . The generated link.
|
|
3567
|
+
*/
|
|
3568
|
+
declare const getTemplateDocumentDownloadLink: (endpoint: VerdocsEndpoint, _envelopeId: string, documentId: string) => Promise<string>;
|
|
3569
|
+
/**
|
|
3570
|
+
* Get a pre-signed preview link for an Envelope Document. This link expires quickly, so it should
|
|
3571
|
+
* be accessed immediately and never shared. Content-Disposition will be set to "inline".
|
|
3572
|
+
*/
|
|
3573
|
+
declare const getTemplateDocumentPreviewLink: (endpoint: VerdocsEndpoint, _envelopeId: string, documentId: string) => Promise<string>;
|
|
3707
3574
|
/**
|
|
3708
3575
|
* Get (binary download) a file attached to a Template. It is important to use this method
|
|
3709
3576
|
* rather than a direct A HREF or similar link to set the authorization headers for the
|
|
@@ -3723,21 +3590,38 @@ declare const getTemplateDocumentThumbnail: (endpoint: VerdocsEndpoint, template
|
|
|
3723
3590
|
* original asset may be obtained by calling `getTemplateDocumentFile()` or similar.
|
|
3724
3591
|
*/
|
|
3725
3592
|
declare const getTemplateDocumentPageDisplayUri: (endpoint: VerdocsEndpoint, documentId: string, page: number, variant?: "original" | "tagged") => Promise<string>;
|
|
3593
|
+
interface ITemplateTag {
|
|
3594
|
+
tag_name: string;
|
|
3595
|
+
template_id: string;
|
|
3596
|
+
}
|
|
3597
|
+
interface ITag {
|
|
3598
|
+
name: string;
|
|
3599
|
+
featured?: boolean;
|
|
3600
|
+
organization_id?: string;
|
|
3601
|
+
created_at?: string;
|
|
3602
|
+
}
|
|
3603
|
+
interface IStar {
|
|
3604
|
+
template_id: string;
|
|
3605
|
+
profile_id: string;
|
|
3606
|
+
}
|
|
3607
|
+
interface ITemplateSearchResult {
|
|
3608
|
+
page: number;
|
|
3609
|
+
row: number;
|
|
3610
|
+
total: number;
|
|
3611
|
+
result: ITemplate[];
|
|
3612
|
+
}
|
|
3726
3613
|
interface IValidator {
|
|
3727
3614
|
name: string;
|
|
3728
3615
|
regex: string;
|
|
3729
3616
|
}
|
|
3617
|
+
declare const isValidInput: (value: string, validator: string) => boolean;
|
|
3730
3618
|
/**
|
|
3731
|
-
* Get
|
|
3732
|
-
*
|
|
3733
|
-
*
|
|
3734
|
-
*
|
|
3735
|
-
*
|
|
3736
|
-
* await Documents.getDocuments(templateID);
|
|
3737
|
-
* ```
|
|
3619
|
+
* Get a list of available validators for field inputs. Note that validators always check strings,
|
|
3620
|
+
* because that is all a user can enter in an HTML input field. Numeric-format validators should
|
|
3621
|
+
* perform any necessary conversions internally. Validators never throw - they just return a boolean.
|
|
3622
|
+
* indicating whether the value is valid.
|
|
3738
3623
|
*/
|
|
3739
|
-
declare const getValidators: (
|
|
3740
|
-
declare const getValidator: (endpoint: VerdocsEndpoint, validatorName: string) => Promise<IValidator>;
|
|
3624
|
+
declare const getValidators: () => string[];
|
|
3741
3625
|
declare const isValidEmail: (email: string | undefined) => boolean;
|
|
3742
3626
|
declare const isValidPhone: (phone: string | undefined) => boolean;
|
|
3743
3627
|
declare const isValidRoleName: (value: string, roles: IRole[]) => boolean;
|
|
@@ -3856,4 +3740,4 @@ declare const decodeJWTBody: (token: string) => any;
|
|
|
3856
3740
|
* the presence of the `document_id` field, which will only be present for signing sessions.
|
|
3857
3741
|
*/
|
|
3858
3742
|
declare const decodeAccessTokenBody: (token: string) => TSession;
|
|
3859
|
-
export { TRequestStatus, TTemplateSender, TTemplateAction, TRecipientAction, TEnvelopeStatus, TRecipientStatus, TRecipientType, TSortTemplateBy, TAccessKeyType, TApiKeyPermission, TDeprecatedHistoryEvent, THistoryEvent, TEventDetail, TEnvelopeUpdateResult, TFieldType, TWebhookEvent, TTemplateVisibility, TEntitlement, TRecipientAuthMethod, TRecipientAuthStep, TUsageType, FIELD_TYPES, DEFAULT_FIELD_WIDTHS, DEFAULT_FIELD_HEIGHTS, WEBHOOK_EVENTS, ALL_PERMISSIONS, IChannel, IDisabledChannel, INotification, IApiKey, IGroup, IGroupProfile, IOAuth2App, IEntitlement, IOrganization, IOrganizationInvitation, IPendingWebhook, IProfile, IUser, IWebhookEvents, IWebhook, IInPersonAccessKey, IInAppAccessKey, IEmailAccessKey, ISMSAccessKey, TAccessKey, IEnvelope, IEnvelopeDocument, IDropdownOption, IEnvelopeField, IEnvelopeFieldOptions, IEnvelopeFieldSettings, IEnvelopeHistory, IInitial, IKbaPINRequired, IKBAQuestion, IRecipient, IRole, ISignature, ITemplate, ITemplateDocument, ITemplateField, ITextFieldSetting, ITemplateFieldSetting, TOrganizationUsage, TEnvironment, TSessionChangedListener, VerdocsEndpointOptions, VerdocsEndpoint, createEnvelope, getEnvelope, getEnvelopeDocument,
|
|
3743
|
+
export { TRequestStatus, TTemplateSender, TTemplateAction, TRecipientAction, TEnvelopeStatus, TRecipientStatus, TRecipientType, TSortTemplateBy, TAccessKeyType, TApiKeyPermission, TDeprecatedHistoryEvent, THistoryEvent, TEventDetail, TEnvelopeUpdateResult, TFieldType, TWebhookEvent, TTemplateVisibility, TEntitlement, TRecipientAuthMethod, TRecipientAuthStep, TUsageType, FIELD_TYPES, DEFAULT_FIELD_WIDTHS, DEFAULT_FIELD_HEIGHTS, WEBHOOK_EVENTS, ALL_PERMISSIONS, IChannel, IDisabledChannel, INotification, IApiKey, IGroup, IGroupProfile, IOAuth2App, IEntitlement, IOrganization, IOrganizationInvitation, IPendingWebhook, IProfile, IUser, IWebhookEvents, IWebhook, IInPersonAccessKey, IInAppAccessKey, IEmailAccessKey, ISMSAccessKey, TAccessKey, IEnvelope, IEnvelopeDocument, IDropdownOption, IEnvelopeField, IEnvelopeFieldOptions, IEnvelopeFieldSettings, IEnvelopeHistory, IInitial, IKbaPINRequired, IKBAQuestion, IRecipient, IRole, ISignature, ITemplate, ITemplateDocument, ITemplateField, ITextFieldSetting, ITemplateFieldSetting, TOrganizationUsage, TEnvironment, TSessionChangedListener, VerdocsEndpointOptions, VerdocsEndpoint, createEnvelope, getEnvelope, getEnvelopeDocument, downloadEnvelopeDocument, getEnvelopeDocumentDownloadLink, getEnvelopeDocumentPreviewLink, cancelEnvelope, getEnvelopeFile, updateEnvelope, updateEnvelopeField, uploadEnvelopeFieldAttachment, deleteEnvelopeFieldAttachment, getEnvelopeDocumentPageDisplayUri, ITimeRange, IListEnvelopesParams, getEnvelopes, createInitials, IRecipientKbaStepNone, IRecipientKbaStepComplete, IRecipientKbaStepPin, IRecipientKbaStepIdentity, IRecipientKbaStepChallenge, IRecipientKbaStepFailed, TRecipientKbaStep, getKbaStep, submitKbaPin, IKbaIdentity, submitKbaIdentity, IKbaChallengeResponse, submitKbaChallengeResponse, envelopeRecipientAgree, envelopeRecipientDecline, envelopeRecipientSubmit, startSigningSession, getInPersonLink, verifySigner, delegateRecipient, updateRecipient, remindRecipient, resetRecipient, isEnvelopeOwner, isEnvelopeRecipient, canAccessEnvelope, userIsEnvelopeOwner, userIsEnvelopeRecipient, useCanAccessEnvelope, envelopeIsActive, envelopeIsComplete, userCanCancelEnvelope, userCanFinishEnvelope, recipientHasAction, getRecipientsWithActions, recipientCanAct, userCanAct, userCanSignNow, getNextRecipient, createSignature, IEnvelopesSearchResult, IDocumentSearchOptions, ICreateEnvelopeRecipientFromTemplate, ICreateEnvelopeRecipientDirectly, ISignerTokenResponse, IInPersonLinkResponse, IUpdateRecipientStatus, ICreateEnvelopeReminderRequest, IUpdateRecipientParams, ICreateEnvelopeDocumentFromData, ICreateEnvelopeDocumentFromUri, ICreateEnvelopeDocumentFromFile, ICreateEnvelopeFieldFromTemplate, ICreateEnvelopeFieldDirectly, ICreateEnvelopeFromTemplateRequest, ICreateEnvelopeDirectlyRequest, TCreateEnvelopeRequest, IAuthenticateRecipientViaPasscodeRequest, IAuthenticateRecipientViaEmailRequest, IAuthenticateRecipientViaSMSRequest, IKBAResponse, IAuthenticateRecipientViaKBARequest, TAuthenticateRecipientRequest, getApiKeys, createApiKey, rotateApiKey, updateApiKey, deleteApiKey, getOrganizationContacts, deleteOrganizationContact, createOrganizationContact, updateOrganizationContact, getGroups, getGroup, createGroup, updateGroup, deleteGroup, addGroupMember, deleteGroupMember, getOrganizationInvitations, createOrganizationInvitation, deleteOrganizationInvitation, updateOrganizationInvitation, resendOrganizationInvitation, getOrganizationInvitation, acceptOrganizationInvitation, declineOrganizationInvitation, getOrganizationMembers, deleteOrganizationMember, updateOrganizationMember, getOrganization, getOrganizationChildren, getOrganizationUsage, createOrganization, updateOrganization, deleteOrganization, updateOrganizationLogo, updateOrganizationThumbnail, getEntitlements, getActiveEntitlements, ICreateApiKeyRequest, IUpdateApiKeyRequest, ICreateInvitationRequest, IAcceptOrganizationInvitationRequest, ISetWebhookRequest, getWebhooks, setWebhooks, TTemplatePermissionCreatePublic, TTemplatePermissionCreateOrg, TTemplatePermissionCreatePersonal, TTemplatePermissionDelete, TTemplatePermissionVisibility, TTemplateMemberRead, TTemplateMemberWrite, TTemplateMemberDelete, TTemplateMemberVisibility, TTemplatePermission, TAccountPermissionOwnerAdd, TAccountPermissionOwnerRemove, TAccountPermissionAdminAdd, TAccountPermissionAdminRemove, TAccountPermissionMemberView, TAccountPermissionMemberAdd, TAccountPermissionMemberRemove, TAccountPermission, TOrgPermissionCreate, TOrgPermissionView, TOrgPermissionUpdate, TOrgPermissionDelete, TOrgPermissionTransfer, TOrgPermissionList, TOrgPermission, TEnvelopePermissionCreate, TEnvelopePermissionCancel, TEnvelopePermissionView, TEnvelopePermissionOrg, TEnvelopePermission, TPermission, TRole, RolePermissions, userHasPermissions, ISigningSession, IUserSession, IIdToken, TSessionType, TSession, TActiveSession, canPerformTemplateAction, hasRequiredPermissions, createField, updateField, deleteField, userIsTemplateCreator, userHasSharedTemplate, userCanCreatePersonalTemplate, userCanCreateOrgTemplate, userCanCreatePublicTemplate, userCanReadTemplate, userCanUpdateTemplate, userCanMakeTemplatePrivate, userCanMakeTemplateShared, userCanMakeTemplatePublic, userCanChangeOrgVisibility, userCanDeleteTemplate, userCanSendTemplate, userCanCreateTemplate, userCanBuildTemplate, getFieldsForRole, userCanPreviewTemplate, createTemplateRole, updateTemplateRole, deleteTemplateRole, ITemplateSortBy, TTemplateVisibilityFilter, IGetTemplatesParams, getTemplates, getTemplate, IDocumentFromUri, IDocumentFromData, ITemplateCreateParams, createTemplate, duplicateTemplate, ITemplateCreateFromSharepointParams, createTemplateFromSharepoint, updateTemplate, deleteTemplate, toggleTemplateStar, createTemplateDocument, deleteTemplateDocument, getTemplateDocument, downloadTemplateDocument, getTemplateDocumentDownloadLink, getTemplateDocumentPreviewLink, getTemplateDocumentFile, getTemplateDocumentThumbnail, getTemplateDocumentPageDisplayUri, ITemplateTag, ITag, IStar, ITemplateSearchResult, IValidator, isValidInput, getValidators, isValidEmail, isValidPhone, isValidRoleName, isValidTag, IROPCRequest, IClientCredentialsRequest, IRefreshTokenRequest, TAuthenticationRequest, authenticate, refreshToken, changePassword, resetPassword, resendVerification, verifyEmail, getMyUser, getNotifications, getProfiles, getCurrentProfile, switchProfile, updateProfile, deleteProfile, createProfile, updateProfilePhoto, ICreateProfileRequest, IUpdateProfileRequest, IAuthenticateResponse, IChangePasswordRequest, IChangePasswordResponse, IResetPasswordRequest, IResetPasswordResponse, IVerifyEmailRequest, getRGB, getRGBA, nameToRGBA, getRoleColor, formatShortTimeAgo, collapseEntitlements, getRTop, getRLeft, getRValue, blobToBase64, rescale, sortFields, fileToDataUrl, downloadBlob, Countries, getCountryByCode, isFrenchGuiana, isGuadeloupe, isMartinique, isMayotte, getPlusOneCountry, isCanada, isAmericanSamoa, isDominicanRepublic, isPuertoRico, getMatchingCountry, integerSequence, formatFullName, formatInitials, fullNameToInitials, capitalize, convertToE164, randomString, AtoB, decodeJWTBody, decodeAccessTokenBody, IFileWithData, ICountry };
|