@coveo/push-api-client 2.4.16 → 2.4.26
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/docs/assets/highlight.css +49 -0
- package/dist/docs/assets/main.js +3 -3
- package/dist/docs/assets/search.js +1 -1
- package/dist/docs/assets/style.css +6 -82
- package/dist/docs/classes/AnySecurityIdentityBuilder.html +16 -12
- package/dist/docs/classes/CatalogSource.html +68 -56
- package/dist/docs/classes/DocumentBuilder.html +140 -113
- package/dist/docs/classes/FieldAnalyser.html +60 -51
- package/dist/docs/classes/GroupSecurityIdentityBuilder.html +12 -8
- package/dist/docs/classes/PushSource.html +97 -77
- package/dist/docs/classes/UserSecurityIdentityBuilder.html +12 -8
- package/dist/docs/classes/VirtualGroupSecurityIdentityBuilder.html +12 -8
- package/dist/docs/classes/errors.FieldTypeInconsistencyError.html +14 -11
- package/dist/docs/classes/errors.InvalidDocument.html +14 -11
- package/dist/docs/classes/errors.InvalidPermanentId.html +14 -11
- package/dist/docs/classes/errors.NotAFileError.html +14 -11
- package/dist/docs/classes/errors.NotAJsonFileError.html +14 -11
- package/dist/docs/classes/errors.PrivilegeError.html +15 -12
- package/dist/docs/classes/errors.UnsupportedAttribute.html +14 -11
- package/dist/docs/classes/errors.UnsupportedFieldError.html +24 -20
- package/dist/docs/enums/PlatformEnvironment.html +8 -6
- package/dist/docs/enums/Region.html +4 -2
- package/dist/docs/enums/SourceVisibility.html +4 -2
- package/dist/docs/functions/parseAndGetDocumentBuilderFromJSONDocument.html +5 -4
- package/dist/docs/index.html +50 -3
- package/dist/docs/interfaces/BatchUpdateDocuments.html +6 -4
- package/dist/docs/interfaces/Document.html +17 -15
- package/dist/docs/interfaces/SecurityIdentity.html +7 -5
- package/dist/docs/interfaces/SecurityIdentityBuilder.html +8 -5
- package/dist/docs/interfaces/UploadBatchCallbackData.html +7 -5
- package/dist/docs/modules/errors.html +4 -2
- package/dist/docs/modules.html +1 -1
- package/dist/docs/types/BatchUpdateDocumentsFromFiles.html +2 -2
- package/dist/docs/types/CompressionType.html +2 -2
- package/dist/docs/types/FailedUploadCallback.html +3 -4
- package/dist/docs/types/Metadata.html +2 -2
- package/dist/docs/types/MetadataValue.html +2 -2
- package/dist/docs/types/PlatformUrlOptions.html +2 -2
- package/dist/docs/types/SecurityIdentityType.html +2 -2
- package/dist/docs/types/SuccessfulUploadCallback.html +3 -4
- package/dist/docs/types/Transformer.html +3 -4
- package/dist/docs/variables/BuiltInTransformers.html +2 -2
- package/dist/docs/variables/Source.html +2 -2
- package/dist/source/catalog.stream.spec.js +13 -0
- package/dist/source/catalog.stream.spec.js.map +1 -1
- package/dist/source/documentUploader.js +3 -2
- package/dist/source/documentUploader.js.map +1 -1
- package/package.json +13 -13
@@ -1,4 +1,4 @@
|
|
1
|
-
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>UserSecurityIdentityBuilder | @coveo/push-api-client</title><meta name="description" content="Documentation for @coveo/push-api-client"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>UserSecurityIdentityBuilder | @coveo/push-api-client</title><meta name="description" content="Documentation for @coveo/push-api-client"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
2
2
|
<div class="tsd-toolbar-contents container">
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
@@ -25,7 +25,9 @@
|
|
25
25
|
<section class="tsd-panel">
|
26
26
|
<h4>Implements</h4>
|
27
27
|
<ul class="tsd-hierarchy">
|
28
|
-
<li><a href="../interfaces/SecurityIdentityBuilder.html" class="tsd-signature-type" data-tsd-kind="Interface">SecurityIdentityBuilder</a></li></ul></section>
|
28
|
+
<li><a href="../interfaces/SecurityIdentityBuilder.html" class="tsd-signature-type" data-tsd-kind="Interface">SecurityIdentityBuilder</a></li></ul></section><aside class="tsd-sources">
|
29
|
+
<ul>
|
30
|
+
<li>Defined in <a href="https://github.com/coveo/push-api-client.js/blob/6755192/src/securityIdentityBuilder.ts#L54">src/securityIdentityBuilder.ts:54</a></li></ul></aside>
|
29
31
|
<section class="tsd-panel-group tsd-index-group">
|
30
32
|
<section class="tsd-panel tsd-index-panel">
|
31
33
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
@@ -44,8 +46,7 @@
|
|
44
46
|
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a>
|
45
47
|
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
46
48
|
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
47
|
-
<li class="tsd-signature" id="constructor.new_UserSecurityIdentityBuilder">new <wbr/>User<wbr/>Security<wbr/>Identity<wbr/>Builder<span class="tsd-signature-symbol">(</span>user<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span>, securityProvider<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="UserSecurityIdentityBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">UserSecurityIdentityBuilder</a></li
|
48
|
-
<ul class="tsd-descriptions">
|
49
|
+
<li class="tsd-signature tsd-anchor-link" id="constructor.new_UserSecurityIdentityBuilder">new <wbr/>User<wbr/>Security<wbr/>Identity<wbr/>Builder<span class="tsd-signature-symbol">(</span>user<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span>, securityProvider<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="UserSecurityIdentityBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">UserSecurityIdentityBuilder</a><a href="#constructor.new_UserSecurityIdentityBuilder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
49
50
|
<li class="tsd-description">
|
50
51
|
<div class="tsd-comment tsd-typography"><p>Pass either a single user, or an array of user to create multiple identities.</p>
|
51
52
|
</div>
|
@@ -56,20 +57,23 @@
|
|
56
57
|
<h5>user: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li>
|
57
58
|
<li>
|
58
59
|
<h5>securityProvider: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = 'Email Security Provider'</span></h5></li></ul></div>
|
59
|
-
<h4 class="tsd-returns-title">Returns <a href="UserSecurityIdentityBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">UserSecurityIdentityBuilder</a></h4
|
60
|
+
<h4 class="tsd-returns-title">Returns <a href="UserSecurityIdentityBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">UserSecurityIdentityBuilder</a></h4><aside class="tsd-sources">
|
61
|
+
<ul>
|
62
|
+
<li>Defined in <a href="https://github.com/coveo/push-api-client.js/blob/6755192/src/securityIdentityBuilder.ts#L60">src/securityIdentityBuilder.ts:60</a></li></ul></aside></li></ul></section></section>
|
60
63
|
<section class="tsd-panel-group tsd-member-group">
|
61
64
|
<h2>Methods</h2>
|
62
65
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="build" class="tsd-anchor"></a>
|
63
66
|
<h3 class="tsd-anchor-link"><span>build</span><a href="#build" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
64
67
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
65
|
-
<li class="tsd-signature" id="build.build-1">build<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/SecurityIdentity.html" class="tsd-signature-type" data-tsd-kind="Interface">SecurityIdentity</a><span class="tsd-signature-symbol"> | </span><a href="../interfaces/SecurityIdentity.html" class="tsd-signature-type" data-tsd-kind="Interface">SecurityIdentity</a><span class="tsd-signature-symbol">[]</span></li
|
66
|
-
<ul class="tsd-descriptions">
|
68
|
+
<li class="tsd-signature tsd-anchor-link" id="build.build-1">build<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/SecurityIdentity.html" class="tsd-signature-type" data-tsd-kind="Interface">SecurityIdentity</a><span class="tsd-signature-symbol"> | </span><a href="../interfaces/SecurityIdentity.html" class="tsd-signature-type" data-tsd-kind="Interface">SecurityIdentity</a><span class="tsd-signature-symbol">[]</span><a href="#build.build-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
67
69
|
<li class="tsd-description">
|
68
70
|
<div class="tsd-comment tsd-typography"><p>Build and return the security identity or identities.</p>
|
69
71
|
|
70
72
|
<h3>Returns</h3></div>
|
71
73
|
<h4 class="tsd-returns-title">Returns <a href="../interfaces/SecurityIdentity.html" class="tsd-signature-type" data-tsd-kind="Interface">SecurityIdentity</a><span class="tsd-signature-symbol"> | </span><a href="../interfaces/SecurityIdentity.html" class="tsd-signature-type" data-tsd-kind="Interface">SecurityIdentity</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
72
|
-
<p>Implementation of <a href="../interfaces/SecurityIdentityBuilder.html">SecurityIdentityBuilder</a>.<a href="../interfaces/SecurityIdentityBuilder.html#build">build</a></p
|
74
|
+
<p>Implementation of <a href="../interfaces/SecurityIdentityBuilder.html">SecurityIdentityBuilder</a>.<a href="../interfaces/SecurityIdentityBuilder.html#build">build</a></p>
|
75
|
+
<ul>
|
76
|
+
<li>Defined in <a href="https://github.com/coveo/push-api-client.js/blob/6755192/src/securityIdentityBuilder.ts#L69">src/securityIdentityBuilder.ts:69</a></li></ul></aside></li></ul></section></section></div>
|
73
77
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
74
78
|
<div class="tsd-navigation settings">
|
75
79
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>VirtualGroupSecurityIdentityBuilder | @coveo/push-api-client</title><meta name="description" content="Documentation for @coveo/push-api-client"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>VirtualGroupSecurityIdentityBuilder | @coveo/push-api-client</title><meta name="description" content="Documentation for @coveo/push-api-client"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
2
2
|
<div class="tsd-toolbar-contents container">
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
@@ -25,7 +25,9 @@
|
|
25
25
|
<section class="tsd-panel">
|
26
26
|
<h4>Implements</h4>
|
27
27
|
<ul class="tsd-hierarchy">
|
28
|
-
<li><a href="../interfaces/SecurityIdentityBuilder.html" class="tsd-signature-type" data-tsd-kind="Interface">SecurityIdentityBuilder</a></li></ul></section>
|
28
|
+
<li><a href="../interfaces/SecurityIdentityBuilder.html" class="tsd-signature-type" data-tsd-kind="Interface">SecurityIdentityBuilder</a></li></ul></section><aside class="tsd-sources">
|
29
|
+
<ul>
|
30
|
+
<li>Defined in <a href="https://github.com/coveo/push-api-client.js/blob/6755192/src/securityIdentityBuilder.ts#L129">src/securityIdentityBuilder.ts:129</a></li></ul></aside>
|
29
31
|
<section class="tsd-panel-group tsd-index-group">
|
30
32
|
<section class="tsd-panel tsd-index-panel">
|
31
33
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
@@ -44,8 +46,7 @@
|
|
44
46
|
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a>
|
45
47
|
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
46
48
|
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
47
|
-
<li class="tsd-signature" id="constructor.new_VirtualGroupSecurityIdentityBuilder">new <wbr/>Virtual<wbr/>Group<wbr/>Security<wbr/>Identity<wbr/>Builder<span class="tsd-signature-symbol">(</span>virtualGroup<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span>, securityProvider<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="VirtualGroupSecurityIdentityBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">VirtualGroupSecurityIdentityBuilder</a></li
|
48
|
-
<ul class="tsd-descriptions">
|
49
|
+
<li class="tsd-signature tsd-anchor-link" id="constructor.new_VirtualGroupSecurityIdentityBuilder">new <wbr/>Virtual<wbr/>Group<wbr/>Security<wbr/>Identity<wbr/>Builder<span class="tsd-signature-symbol">(</span>virtualGroup<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span>, securityProvider<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="VirtualGroupSecurityIdentityBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">VirtualGroupSecurityIdentityBuilder</a><a href="#constructor.new_VirtualGroupSecurityIdentityBuilder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
49
50
|
<li class="tsd-description">
|
50
51
|
<div class="tsd-comment tsd-typography"><p>Pass either a single <code>virtualGroup</code>, or an array of <code>virtualGroup</code> to create multiple identities.</p>
|
51
52
|
</div>
|
@@ -56,20 +57,23 @@
|
|
56
57
|
<h5>virtualGroup: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li>
|
57
58
|
<li>
|
58
59
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> securityProvider: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
59
|
-
<h4 class="tsd-returns-title">Returns <a href="VirtualGroupSecurityIdentityBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">VirtualGroupSecurityIdentityBuilder</a></h4
|
60
|
+
<h4 class="tsd-returns-title">Returns <a href="VirtualGroupSecurityIdentityBuilder.html" class="tsd-signature-type" data-tsd-kind="Class">VirtualGroupSecurityIdentityBuilder</a></h4><aside class="tsd-sources">
|
61
|
+
<ul>
|
62
|
+
<li>Defined in <a href="https://github.com/coveo/push-api-client.js/blob/6755192/src/securityIdentityBuilder.ts#L137">src/securityIdentityBuilder.ts:137</a></li></ul></aside></li></ul></section></section>
|
60
63
|
<section class="tsd-panel-group tsd-member-group">
|
61
64
|
<h2>Methods</h2>
|
62
65
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="build" class="tsd-anchor"></a>
|
63
66
|
<h3 class="tsd-anchor-link"><span>build</span><a href="#build" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
64
67
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
65
|
-
<li class="tsd-signature" id="build.build-1">build<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/SecurityIdentity.html" class="tsd-signature-type" data-tsd-kind="Interface">SecurityIdentity</a><span class="tsd-signature-symbol"> | </span><a href="../interfaces/SecurityIdentity.html" class="tsd-signature-type" data-tsd-kind="Interface">SecurityIdentity</a><span class="tsd-signature-symbol">[]</span></li
|
66
|
-
<ul class="tsd-descriptions">
|
68
|
+
<li class="tsd-signature tsd-anchor-link" id="build.build-1">build<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/SecurityIdentity.html" class="tsd-signature-type" data-tsd-kind="Interface">SecurityIdentity</a><span class="tsd-signature-symbol"> | </span><a href="../interfaces/SecurityIdentity.html" class="tsd-signature-type" data-tsd-kind="Interface">SecurityIdentity</a><span class="tsd-signature-symbol">[]</span><a href="#build.build-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
67
69
|
<li class="tsd-description">
|
68
70
|
<div class="tsd-comment tsd-typography"><p>Build and return the security identity or identities.</p>
|
69
71
|
|
70
72
|
<h3>Returns</h3></div>
|
71
73
|
<h4 class="tsd-returns-title">Returns <a href="../interfaces/SecurityIdentity.html" class="tsd-signature-type" data-tsd-kind="Interface">SecurityIdentity</a><span class="tsd-signature-symbol"> | </span><a href="../interfaces/SecurityIdentity.html" class="tsd-signature-type" data-tsd-kind="Interface">SecurityIdentity</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
72
|
-
<p>Implementation of <a href="../interfaces/SecurityIdentityBuilder.html">SecurityIdentityBuilder</a>.<a href="../interfaces/SecurityIdentityBuilder.html#build">build</a></p
|
74
|
+
<p>Implementation of <a href="../interfaces/SecurityIdentityBuilder.html">SecurityIdentityBuilder</a>.<a href="../interfaces/SecurityIdentityBuilder.html#build">build</a></p>
|
75
|
+
<ul>
|
76
|
+
<li>Defined in <a href="https://github.com/coveo/push-api-client.js/blob/6755192/src/securityIdentityBuilder.ts#L146">src/securityIdentityBuilder.ts:146</a></li></ul></aside></li></ul></section></section></div>
|
73
77
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
74
78
|
<div class="tsd-navigation settings">
|
75
79
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>FieldTypeInconsistencyError | @coveo/push-api-client</title><meta name="description" content="Documentation for @coveo/push-api-client"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>FieldTypeInconsistencyError | @coveo/push-api-client</title><meta name="description" content="Documentation for @coveo/push-api-client"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
2
2
|
<div class="tsd-toolbar-contents container">
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
@@ -19,7 +19,9 @@
|
|
19
19
|
<ul class="tsd-hierarchy">
|
20
20
|
<li><span class="tsd-signature-type">PushApiClientBaseError</span>
|
21
21
|
<ul class="tsd-hierarchy">
|
22
|
-
<li><span class="target">FieldTypeInconsistencyError</span></li></ul></li></ul></section>
|
22
|
+
<li><span class="target">FieldTypeInconsistencyError</span></li></ul></li></ul></section><aside class="tsd-sources">
|
23
|
+
<ul>
|
24
|
+
<li>Defined in <a href="https://github.com/coveo/push-api-client.js/blob/6755192/src/errors/fieldErrors.ts#L5">src/errors/fieldErrors.ts:5</a></li></ul></aside>
|
23
25
|
<section class="tsd-panel-group tsd-index-group">
|
24
26
|
<section class="tsd-panel tsd-index-panel">
|
25
27
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
@@ -46,8 +48,7 @@
|
|
46
48
|
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a>
|
47
49
|
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
48
50
|
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
49
|
-
<li class="tsd-signature" id="constructor.new_FieldTypeInconsistencyError">new <wbr/>Field<wbr/>Type<wbr/>Inconsistency<wbr/>Error<span class="tsd-signature-symbol">(</span>inconsitencies<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Inconsistencies</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="errors.FieldTypeInconsistencyError.html" class="tsd-signature-type" data-tsd-kind="Class">FieldTypeInconsistencyError</a></li
|
50
|
-
<ul class="tsd-descriptions">
|
51
|
+
<li class="tsd-signature tsd-anchor-link" id="constructor.new_FieldTypeInconsistencyError">new <wbr/>Field<wbr/>Type<wbr/>Inconsistency<wbr/>Error<span class="tsd-signature-symbol">(</span>inconsitencies<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Inconsistencies</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="errors.FieldTypeInconsistencyError.html" class="tsd-signature-type" data-tsd-kind="Class">FieldTypeInconsistencyError</a><a href="#constructor.new_FieldTypeInconsistencyError" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
51
52
|
<li class="tsd-description">
|
52
53
|
<div class="tsd-parameters">
|
53
54
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
@@ -55,7 +56,9 @@
|
|
55
56
|
<li>
|
56
57
|
<h5>inconsitencies: <span class="tsd-signature-type">Inconsistencies</span></h5></li></ul></div>
|
57
58
|
<h4 class="tsd-returns-title">Returns <a href="errors.FieldTypeInconsistencyError.html" class="tsd-signature-type" data-tsd-kind="Class">FieldTypeInconsistencyError</a></h4><aside class="tsd-sources">
|
58
|
-
<p>Overrides PushApiClientBaseError.constructor</p
|
59
|
+
<p>Overrides PushApiClientBaseError.constructor</p>
|
60
|
+
<ul>
|
61
|
+
<li>Defined in <a href="https://github.com/coveo/push-api-client.js/blob/6755192/src/errors/fieldErrors.ts#L7">src/errors/fieldErrors.ts:7</a></li></ul></aside></li></ul></section></section>
|
59
62
|
<section class="tsd-panel-group tsd-member-group">
|
60
63
|
<h2>Properties</h2>
|
61
64
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="message" class="tsd-anchor"></a>
|
@@ -69,7 +72,7 @@
|
|
69
72
|
<div class="tsd-signature">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = 'Field Type Inconsistency Error'</span></div><aside class="tsd-sources">
|
70
73
|
<p>Overrides PushApiClientBaseError.name</p>
|
71
74
|
<ul>
|
72
|
-
<li>Defined in <a href="https://github.com/coveo/push-api-client.js/blob/
|
75
|
+
<li>Defined in <a href="https://github.com/coveo/push-api-client.js/blob/6755192/src/errors/fieldErrors.ts#L6">src/errors/fieldErrors.ts:6</a></li></ul></aside></section>
|
73
76
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="stack" class="tsd-anchor"></a>
|
74
77
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>stack</span><a href="#stack" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
75
78
|
<div class="tsd-signature">stack<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
@@ -84,8 +87,7 @@
|
|
84
87
|
<ul class="tsd-parameters">
|
85
88
|
<li class="tsd-parameter-signature">
|
86
89
|
<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-class">
|
87
|
-
<li class="tsd-signature" id="__type.__type-1"><span class="tsd-signature-symbol">(</span>err<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span>, stackTraces<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CallSite</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li
|
88
|
-
<ul class="tsd-descriptions">
|
90
|
+
<li class="tsd-signature" id="__type.__type-1"><span class="tsd-signature-symbol">(</span>err<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span>, stackTraces<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CallSite</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
|
89
91
|
<li class="tsd-description">
|
90
92
|
<div class="tsd-comment tsd-typography"><p>Optional override for formatting stack traces</p>
|
91
93
|
|
@@ -113,8 +115,7 @@
|
|
113
115
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="captureStackTrace" class="tsd-anchor"></a>
|
114
116
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>capture<wbr/>Stack<wbr/>Trace</span><a href="#captureStackTrace" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
115
117
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
|
116
|
-
<li class="tsd-signature" id="captureStackTrace.captureStackTrace-1">capture<wbr/>Stack<wbr/>Trace<span class="tsd-signature-symbol">(</span>targetObject<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">object</span>, constructorOpt<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li
|
117
|
-
<ul class="tsd-descriptions">
|
118
|
+
<li class="tsd-signature tsd-anchor-link" id="captureStackTrace.captureStackTrace-1">capture<wbr/>Stack<wbr/>Trace<span class="tsd-signature-symbol">(</span>targetObject<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">object</span>, constructorOpt<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#captureStackTrace.captureStackTrace-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
118
119
|
<li class="tsd-description">
|
119
120
|
<div class="tsd-comment tsd-typography"><p>Create .stack property on a target object</p>
|
120
121
|
</div>
|
@@ -126,7 +127,9 @@
|
|
126
127
|
<li>
|
127
128
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> constructorOpt: <span class="tsd-signature-type">Function</span></h5></li></ul></div>
|
128
129
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
129
|
-
<p>Inherited from PushApiClientBaseError.captureStackTrace</p
|
130
|
+
<p>Inherited from PushApiClientBaseError.captureStackTrace</p>
|
131
|
+
<ul>
|
132
|
+
<li>Defined in node_modules/@types/node/globals.d.ts:4</li></ul></aside></li></ul></section></section></div>
|
130
133
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
131
134
|
<div class="tsd-navigation settings">
|
132
135
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>InvalidDocument | @coveo/push-api-client</title><meta name="description" content="Documentation for @coveo/push-api-client"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>InvalidDocument | @coveo/push-api-client</title><meta name="description" content="Documentation for @coveo/push-api-client"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
2
2
|
<div class="tsd-toolbar-contents container">
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
@@ -19,7 +19,9 @@
|
|
19
19
|
<ul class="tsd-hierarchy">
|
20
20
|
<li><span class="tsd-signature-type">PushApiClientBaseError</span>
|
21
21
|
<ul class="tsd-hierarchy">
|
22
|
-
<li><span class="target">InvalidDocument</span></li></ul></li></ul></section>
|
22
|
+
<li><span class="target">InvalidDocument</span></li></ul></li></ul></section><aside class="tsd-sources">
|
23
|
+
<ul>
|
24
|
+
<li>Defined in <a href="https://github.com/coveo/push-api-client.js/blob/6755192/src/errors/validatorErrors.ts#L17">src/errors/validatorErrors.ts:17</a></li></ul></aside>
|
23
25
|
<section class="tsd-panel-group tsd-index-group">
|
24
26
|
<section class="tsd-panel tsd-index-panel">
|
25
27
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
@@ -46,8 +48,7 @@
|
|
46
48
|
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a>
|
47
49
|
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
48
50
|
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
49
|
-
<li class="tsd-signature" id="constructor.new_InvalidDocument">new <wbr/>Invalid<wbr/>Document<span class="tsd-signature-symbol">(</span>p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PathLike</span>, explanation<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="errors.InvalidDocument.html" class="tsd-signature-type" data-tsd-kind="Class">InvalidDocument</a></li
|
50
|
-
<ul class="tsd-descriptions">
|
51
|
+
<li class="tsd-signature tsd-anchor-link" id="constructor.new_InvalidDocument">new <wbr/>Invalid<wbr/>Document<span class="tsd-signature-symbol">(</span>p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PathLike</span>, explanation<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="errors.InvalidDocument.html" class="tsd-signature-type" data-tsd-kind="Class">InvalidDocument</a><a href="#constructor.new_InvalidDocument" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
51
52
|
<li class="tsd-description">
|
52
53
|
<div class="tsd-parameters">
|
53
54
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
@@ -57,7 +58,9 @@
|
|
57
58
|
<li>
|
58
59
|
<h5>explanation: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
59
60
|
<h4 class="tsd-returns-title">Returns <a href="errors.InvalidDocument.html" class="tsd-signature-type" data-tsd-kind="Class">InvalidDocument</a></h4><aside class="tsd-sources">
|
60
|
-
<p>Overrides PushApiClientBaseError.constructor</p
|
61
|
+
<p>Overrides PushApiClientBaseError.constructor</p>
|
62
|
+
<ul>
|
63
|
+
<li>Defined in <a href="https://github.com/coveo/push-api-client.js/blob/6755192/src/errors/validatorErrors.ts#L19">src/errors/validatorErrors.ts:19</a></li></ul></aside></li></ul></section></section>
|
61
64
|
<section class="tsd-panel-group tsd-member-group">
|
62
65
|
<h2>Properties</h2>
|
63
66
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="message" class="tsd-anchor"></a>
|
@@ -71,7 +74,7 @@
|
|
71
74
|
<div class="tsd-signature">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = 'Invalid JSON Document Error'</span></div><aside class="tsd-sources">
|
72
75
|
<p>Overrides PushApiClientBaseError.name</p>
|
73
76
|
<ul>
|
74
|
-
<li>Defined in <a href="https://github.com/coveo/push-api-client.js/blob/
|
77
|
+
<li>Defined in <a href="https://github.com/coveo/push-api-client.js/blob/6755192/src/errors/validatorErrors.ts#L18">src/errors/validatorErrors.ts:18</a></li></ul></aside></section>
|
75
78
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="stack" class="tsd-anchor"></a>
|
76
79
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>stack</span><a href="#stack" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
77
80
|
<div class="tsd-signature">stack<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
@@ -86,8 +89,7 @@
|
|
86
89
|
<ul class="tsd-parameters">
|
87
90
|
<li class="tsd-parameter-signature">
|
88
91
|
<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-class">
|
89
|
-
<li class="tsd-signature" id="__type.__type-1"><span class="tsd-signature-symbol">(</span>err<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span>, stackTraces<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CallSite</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li
|
90
|
-
<ul class="tsd-descriptions">
|
92
|
+
<li class="tsd-signature" id="__type.__type-1"><span class="tsd-signature-symbol">(</span>err<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span>, stackTraces<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CallSite</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
|
91
93
|
<li class="tsd-description">
|
92
94
|
<div class="tsd-comment tsd-typography"><p>Optional override for formatting stack traces</p>
|
93
95
|
|
@@ -115,8 +117,7 @@
|
|
115
117
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="captureStackTrace" class="tsd-anchor"></a>
|
116
118
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>capture<wbr/>Stack<wbr/>Trace</span><a href="#captureStackTrace" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
117
119
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
|
118
|
-
<li class="tsd-signature" id="captureStackTrace.captureStackTrace-1">capture<wbr/>Stack<wbr/>Trace<span class="tsd-signature-symbol">(</span>targetObject<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">object</span>, constructorOpt<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li
|
119
|
-
<ul class="tsd-descriptions">
|
120
|
+
<li class="tsd-signature tsd-anchor-link" id="captureStackTrace.captureStackTrace-1">capture<wbr/>Stack<wbr/>Trace<span class="tsd-signature-symbol">(</span>targetObject<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">object</span>, constructorOpt<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#captureStackTrace.captureStackTrace-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
120
121
|
<li class="tsd-description">
|
121
122
|
<div class="tsd-comment tsd-typography"><p>Create .stack property on a target object</p>
|
122
123
|
</div>
|
@@ -128,7 +129,9 @@
|
|
128
129
|
<li>
|
129
130
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> constructorOpt: <span class="tsd-signature-type">Function</span></h5></li></ul></div>
|
130
131
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
131
|
-
<p>Inherited from PushApiClientBaseError.captureStackTrace</p
|
132
|
+
<p>Inherited from PushApiClientBaseError.captureStackTrace</p>
|
133
|
+
<ul>
|
134
|
+
<li>Defined in node_modules/@types/node/globals.d.ts:4</li></ul></aside></li></ul></section></section></div>
|
132
135
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
133
136
|
<div class="tsd-navigation settings">
|
134
137
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>InvalidPermanentId | @coveo/push-api-client</title><meta name="description" content="Documentation for @coveo/push-api-client"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>InvalidPermanentId | @coveo/push-api-client</title><meta name="description" content="Documentation for @coveo/push-api-client"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
2
2
|
<div class="tsd-toolbar-contents container">
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
@@ -19,7 +19,9 @@
|
|
19
19
|
<ul class="tsd-hierarchy">
|
20
20
|
<li><span class="tsd-signature-type">PushApiClientBaseError</span>
|
21
21
|
<ul class="tsd-hierarchy">
|
22
|
-
<li><span class="target">InvalidPermanentId</span></li></ul></li></ul></section>
|
22
|
+
<li><span class="target">InvalidPermanentId</span></li></ul></li></ul></section><aside class="tsd-sources">
|
23
|
+
<ul>
|
24
|
+
<li>Defined in <a href="https://github.com/coveo/push-api-client.js/blob/6755192/src/errors/fieldErrors.ts#L27">src/errors/fieldErrors.ts:27</a></li></ul></aside>
|
23
25
|
<section class="tsd-panel-group tsd-index-group">
|
24
26
|
<section class="tsd-panel tsd-index-panel">
|
25
27
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
@@ -46,8 +48,7 @@
|
|
46
48
|
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a>
|
47
49
|
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
48
50
|
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
49
|
-
<li class="tsd-signature" id="constructor.new_InvalidPermanentId">new <wbr/>Invalid<wbr/>Permanent<wbr/>Id<span class="tsd-signature-symbol">(</span>field<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">FieldModel</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="errors.InvalidPermanentId.html" class="tsd-signature-type" data-tsd-kind="Class">InvalidPermanentId</a></li
|
50
|
-
<ul class="tsd-descriptions">
|
51
|
+
<li class="tsd-signature tsd-anchor-link" id="constructor.new_InvalidPermanentId">new <wbr/>Invalid<wbr/>Permanent<wbr/>Id<span class="tsd-signature-symbol">(</span>field<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">FieldModel</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="errors.InvalidPermanentId.html" class="tsd-signature-type" data-tsd-kind="Class">InvalidPermanentId</a><a href="#constructor.new_InvalidPermanentId" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
51
52
|
<li class="tsd-description">
|
52
53
|
<div class="tsd-parameters">
|
53
54
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
@@ -55,7 +56,9 @@
|
|
55
56
|
<li>
|
56
57
|
<h5>field: <span class="tsd-signature-type">FieldModel</span></h5></li></ul></div>
|
57
58
|
<h4 class="tsd-returns-title">Returns <a href="errors.InvalidPermanentId.html" class="tsd-signature-type" data-tsd-kind="Class">InvalidPermanentId</a></h4><aside class="tsd-sources">
|
58
|
-
<p>Overrides PushApiClientBaseError.constructor</p
|
59
|
+
<p>Overrides PushApiClientBaseError.constructor</p>
|
60
|
+
<ul>
|
61
|
+
<li>Defined in <a href="https://github.com/coveo/push-api-client.js/blob/6755192/src/errors/fieldErrors.ts#L29">src/errors/fieldErrors.ts:29</a></li></ul></aside></li></ul></section></section>
|
59
62
|
<section class="tsd-panel-group tsd-member-group">
|
60
63
|
<h2>Properties</h2>
|
61
64
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="message" class="tsd-anchor"></a>
|
@@ -69,7 +72,7 @@
|
|
69
72
|
<div class="tsd-signature">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = 'Invalid permanentId field Error'</span></div><aside class="tsd-sources">
|
70
73
|
<p>Overrides PushApiClientBaseError.name</p>
|
71
74
|
<ul>
|
72
|
-
<li>Defined in <a href="https://github.com/coveo/push-api-client.js/blob/
|
75
|
+
<li>Defined in <a href="https://github.com/coveo/push-api-client.js/blob/6755192/src/errors/fieldErrors.ts#L28">src/errors/fieldErrors.ts:28</a></li></ul></aside></section>
|
73
76
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="stack" class="tsd-anchor"></a>
|
74
77
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>stack</span><a href="#stack" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
75
78
|
<div class="tsd-signature">stack<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
@@ -84,8 +87,7 @@
|
|
84
87
|
<ul class="tsd-parameters">
|
85
88
|
<li class="tsd-parameter-signature">
|
86
89
|
<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-class">
|
87
|
-
<li class="tsd-signature" id="__type.__type-1"><span class="tsd-signature-symbol">(</span>err<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span>, stackTraces<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CallSite</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li
|
88
|
-
<ul class="tsd-descriptions">
|
90
|
+
<li class="tsd-signature" id="__type.__type-1"><span class="tsd-signature-symbol">(</span>err<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span>, stackTraces<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CallSite</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
|
89
91
|
<li class="tsd-description">
|
90
92
|
<div class="tsd-comment tsd-typography"><p>Optional override for formatting stack traces</p>
|
91
93
|
|
@@ -113,8 +115,7 @@
|
|
113
115
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="captureStackTrace" class="tsd-anchor"></a>
|
114
116
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>capture<wbr/>Stack<wbr/>Trace</span><a href="#captureStackTrace" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
115
117
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
|
116
|
-
<li class="tsd-signature" id="captureStackTrace.captureStackTrace-1">capture<wbr/>Stack<wbr/>Trace<span class="tsd-signature-symbol">(</span>targetObject<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">object</span>, constructorOpt<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li
|
117
|
-
<ul class="tsd-descriptions">
|
118
|
+
<li class="tsd-signature tsd-anchor-link" id="captureStackTrace.captureStackTrace-1">capture<wbr/>Stack<wbr/>Trace<span class="tsd-signature-symbol">(</span>targetObject<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">object</span>, constructorOpt<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#captureStackTrace.captureStackTrace-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
118
119
|
<li class="tsd-description">
|
119
120
|
<div class="tsd-comment tsd-typography"><p>Create .stack property on a target object</p>
|
120
121
|
</div>
|
@@ -126,7 +127,9 @@
|
|
126
127
|
<li>
|
127
128
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> constructorOpt: <span class="tsd-signature-type">Function</span></h5></li></ul></div>
|
128
129
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
129
|
-
<p>Inherited from PushApiClientBaseError.captureStackTrace</p
|
130
|
+
<p>Inherited from PushApiClientBaseError.captureStackTrace</p>
|
131
|
+
<ul>
|
132
|
+
<li>Defined in node_modules/@types/node/globals.d.ts:4</li></ul></aside></li></ul></section></section></div>
|
130
133
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
131
134
|
<div class="tsd-navigation settings">
|
132
135
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>NotAFileError | @coveo/push-api-client</title><meta name="description" content="Documentation for @coveo/push-api-client"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>NotAFileError | @coveo/push-api-client</title><meta name="description" content="Documentation for @coveo/push-api-client"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
2
2
|
<div class="tsd-toolbar-contents container">
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
@@ -19,7 +19,9 @@
|
|
19
19
|
<ul class="tsd-hierarchy">
|
20
20
|
<li><span class="tsd-signature-type">PushApiClientBaseError</span>
|
21
21
|
<ul class="tsd-hierarchy">
|
22
|
-
<li><span class="target">NotAFileError</span></li></ul></li></ul></section>
|
22
|
+
<li><span class="target">NotAFileError</span></li></ul></li></ul></section><aside class="tsd-sources">
|
23
|
+
<ul>
|
24
|
+
<li>Defined in <a href="https://github.com/coveo/push-api-client.js/blob/6755192/src/errors/validatorErrors.ts#L4">src/errors/validatorErrors.ts:4</a></li></ul></aside>
|
23
25
|
<section class="tsd-panel-group tsd-index-group">
|
24
26
|
<section class="tsd-panel tsd-index-panel">
|
25
27
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
@@ -46,8 +48,7 @@
|
|
46
48
|
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a>
|
47
49
|
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
48
50
|
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
49
|
-
<li class="tsd-signature" id="constructor.new_NotAFileError">new <wbr/>NotAFile<wbr/>Error<span class="tsd-signature-symbol">(</span>p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PathLike</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="errors.NotAFileError.html" class="tsd-signature-type" data-tsd-kind="Class">NotAFileError</a></li
|
50
|
-
<ul class="tsd-descriptions">
|
51
|
+
<li class="tsd-signature tsd-anchor-link" id="constructor.new_NotAFileError">new <wbr/>NotAFile<wbr/>Error<span class="tsd-signature-symbol">(</span>p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PathLike</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="errors.NotAFileError.html" class="tsd-signature-type" data-tsd-kind="Class">NotAFileError</a><a href="#constructor.new_NotAFileError" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
51
52
|
<li class="tsd-description">
|
52
53
|
<div class="tsd-parameters">
|
53
54
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
@@ -55,7 +56,9 @@
|
|
55
56
|
<li>
|
56
57
|
<h5>p: <span class="tsd-signature-type">PathLike</span></h5></li></ul></div>
|
57
58
|
<h4 class="tsd-returns-title">Returns <a href="errors.NotAFileError.html" class="tsd-signature-type" data-tsd-kind="Class">NotAFileError</a></h4><aside class="tsd-sources">
|
58
|
-
<p>Overrides PushApiClientBaseError.constructor</p
|
59
|
+
<p>Overrides PushApiClientBaseError.constructor</p>
|
60
|
+
<ul>
|
61
|
+
<li>Defined in <a href="https://github.com/coveo/push-api-client.js/blob/6755192/src/errors/validatorErrors.ts#L6">src/errors/validatorErrors.ts:6</a></li></ul></aside></li></ul></section></section>
|
59
62
|
<section class="tsd-panel-group tsd-member-group">
|
60
63
|
<h2>Properties</h2>
|
61
64
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="message" class="tsd-anchor"></a>
|
@@ -69,7 +72,7 @@
|
|
69
72
|
<div class="tsd-signature">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = 'Not A File Error'</span></div><aside class="tsd-sources">
|
70
73
|
<p>Overrides PushApiClientBaseError.name</p>
|
71
74
|
<ul>
|
72
|
-
<li>Defined in <a href="https://github.com/coveo/push-api-client.js/blob/
|
75
|
+
<li>Defined in <a href="https://github.com/coveo/push-api-client.js/blob/6755192/src/errors/validatorErrors.ts#L5">src/errors/validatorErrors.ts:5</a></li></ul></aside></section>
|
73
76
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="stack" class="tsd-anchor"></a>
|
74
77
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>stack</span><a href="#stack" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
75
78
|
<div class="tsd-signature">stack<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
@@ -84,8 +87,7 @@
|
|
84
87
|
<ul class="tsd-parameters">
|
85
88
|
<li class="tsd-parameter-signature">
|
86
89
|
<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-class">
|
87
|
-
<li class="tsd-signature" id="__type.__type-1"><span class="tsd-signature-symbol">(</span>err<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span>, stackTraces<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CallSite</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li
|
88
|
-
<ul class="tsd-descriptions">
|
90
|
+
<li class="tsd-signature" id="__type.__type-1"><span class="tsd-signature-symbol">(</span>err<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span>, stackTraces<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CallSite</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
|
89
91
|
<li class="tsd-description">
|
90
92
|
<div class="tsd-comment tsd-typography"><p>Optional override for formatting stack traces</p>
|
91
93
|
|
@@ -113,8 +115,7 @@
|
|
113
115
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="captureStackTrace" class="tsd-anchor"></a>
|
114
116
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>capture<wbr/>Stack<wbr/>Trace</span><a href="#captureStackTrace" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
115
117
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
|
116
|
-
<li class="tsd-signature" id="captureStackTrace.captureStackTrace-1">capture<wbr/>Stack<wbr/>Trace<span class="tsd-signature-symbol">(</span>targetObject<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">object</span>, constructorOpt<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li
|
117
|
-
<ul class="tsd-descriptions">
|
118
|
+
<li class="tsd-signature tsd-anchor-link" id="captureStackTrace.captureStackTrace-1">capture<wbr/>Stack<wbr/>Trace<span class="tsd-signature-symbol">(</span>targetObject<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">object</span>, constructorOpt<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#captureStackTrace.captureStackTrace-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
118
119
|
<li class="tsd-description">
|
119
120
|
<div class="tsd-comment tsd-typography"><p>Create .stack property on a target object</p>
|
120
121
|
</div>
|
@@ -126,7 +127,9 @@
|
|
126
127
|
<li>
|
127
128
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> constructorOpt: <span class="tsd-signature-type">Function</span></h5></li></ul></div>
|
128
129
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
129
|
-
<p>Inherited from PushApiClientBaseError.captureStackTrace</p
|
130
|
+
<p>Inherited from PushApiClientBaseError.captureStackTrace</p>
|
131
|
+
<ul>
|
132
|
+
<li>Defined in node_modules/@types/node/globals.d.ts:4</li></ul></aside></li></ul></section></section></div>
|
130
133
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
131
134
|
<div class="tsd-navigation settings">
|
132
135
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|