Skip to content

Commit 4083989

Browse files
committed
feat(client): update to allow skipping user-agent headers
1 parent 0967f76 commit 4083989

File tree

120 files changed

+204
-195
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+204
-195
lines changed

docs/assets/search.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/classes/ApiError.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h4>Hierarchy</h4>
2222
<ul class="tsd-hierarchy">
2323
<li><span class="target">ApiError</span></li></ul></li></ul></section><aside class="tsd-sources">
2424
<ul>
25-
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/3a8dd13/src/gen/core/ApiError.ts#L7">src/gen/core/ApiError.ts:7</a></li></ul></aside>
25+
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/0967f76/src/gen/core/ApiError.ts#L7">src/gen/core/ApiError.ts:7</a></li></ul></aside>
2626
<section class="tsd-panel-group tsd-index-group">
2727
<section class="tsd-panel tsd-index-panel">
2828
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -68,14 +68,14 @@ <h5>message: <span class="tsd-signature-type">string</span></h5></li></ul></div>
6868
<h4 class="tsd-returns-title">Returns <a href="ApiError.html" class="tsd-signature-type" data-tsd-kind="Class">ApiError</a></h4><aside class="tsd-sources">
6969
<p>Overrides Error.constructor</p>
7070
<ul>
71-
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/3a8dd13/src/gen/core/ApiError.ts#L14">src/gen/core/ApiError.ts:14</a></li></ul></aside></li></ul></section></section>
71+
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/0967f76/src/gen/core/ApiError.ts#L14">src/gen/core/ApiError.ts:14</a></li></ul></aside></li></ul></section></section>
7272
<section class="tsd-panel-group tsd-member-group">
7373
<h2>Properties</h2>
7474
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="body" class="tsd-anchor"></a>
7575
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>body</span><a href="#body" 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>
7676
<div class="tsd-signature">body<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
7777
<ul>
78-
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/3a8dd13/src/gen/core/ApiError.ts#L11">src/gen/core/ApiError.ts:11</a></li></ul></aside></section>
78+
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/0967f76/src/gen/core/ApiError.ts#L11">src/gen/core/ApiError.ts:11</a></li></ul></aside></section>
7979
<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>
8080
<h3 class="tsd-anchor-link"><span>message</span><a href="#message" 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>
8181
<div class="tsd-signature">message<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
@@ -92,7 +92,7 @@ <h3 class="tsd-anchor-link"><span>name</span><a href="#name" aria-label="Permali
9292
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>request</span><a href="#request" 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>
9393
<div class="tsd-signature">request<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ApiRequestOptions</span></div><aside class="tsd-sources">
9494
<ul>
95-
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/3a8dd13/src/gen/core/ApiError.ts#L12">src/gen/core/ApiError.ts:12</a></li></ul></aside></section>
95+
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/0967f76/src/gen/core/ApiError.ts#L12">src/gen/core/ApiError.ts:12</a></li></ul></aside></section>
9696
<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>
9797
<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>
9898
<div class="tsd-signature">stack<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
@@ -104,17 +104,17 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
104104
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>status</span><a href="#status" 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>
105105
<div class="tsd-signature">status<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
106106
<ul>
107-
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/3a8dd13/src/gen/core/ApiError.ts#L9">src/gen/core/ApiError.ts:9</a></li></ul></aside></section>
107+
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/0967f76/src/gen/core/ApiError.ts#L9">src/gen/core/ApiError.ts:9</a></li></ul></aside></section>
108108
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="statusText" class="tsd-anchor"></a>
109109
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>status<wbr/>Text</span><a href="#statusText" 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>
110110
<div class="tsd-signature">status<wbr/>Text<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
111111
<ul>
112-
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/3a8dd13/src/gen/core/ApiError.ts#L10">src/gen/core/ApiError.ts:10</a></li></ul></aside></section>
112+
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/0967f76/src/gen/core/ApiError.ts#L10">src/gen/core/ApiError.ts:10</a></li></ul></aside></section>
113113
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="url" class="tsd-anchor"></a>
114114
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>url</span><a href="#url" 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>
115115
<div class="tsd-signature">url<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
116116
<ul>
117-
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/3a8dd13/src/gen/core/ApiError.ts#L8">src/gen/core/ApiError.ts:8</a></li></ul></aside></section>
117+
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/0967f76/src/gen/core/ApiError.ts#L8">src/gen/core/ApiError.ts:8</a></li></ul></aside></section>
118118
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="prepareStackTrace" class="tsd-anchor"></a>
119119
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagOptional">Optional</code> <span>prepare<wbr/>Stack<wbr/>Trace</span><a href="#prepareStackTrace" 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>
120120
<div class="tsd-signature">prepare<wbr/>Stack<wbr/>Trace<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><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"> =&gt; </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span></div>

docs/classes/BaseHttpRequest.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h4>Hierarchy</h4>
2020
<ul class="tsd-hierarchy">
2121
<li><span class="target">BaseHttpRequest</span></li></ul></section><aside class="tsd-sources">
2222
<ul>
23-
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/3a8dd13/src/gen/core/BaseHttpRequest.ts#L8">src/gen/core/BaseHttpRequest.ts:8</a></li></ul></aside>
23+
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/0967f76/src/gen/core/BaseHttpRequest.ts#L8">src/gen/core/BaseHttpRequest.ts:8</a></li></ul></aside>
2424
<section class="tsd-panel-group tsd-index-group">
2525
<section class="tsd-panel tsd-index-panel">
2626
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -52,14 +52,14 @@ <h4 class="tsd-parameters-title">Parameters</h4>
5252
<h5>config: <a href="../types/OpenAPIConfig.html" class="tsd-signature-type" data-tsd-kind="Type alias">OpenAPIConfig</a></h5></li></ul></div>
5353
<h4 class="tsd-returns-title">Returns <a href="BaseHttpRequest.html" class="tsd-signature-type" data-tsd-kind="Class">BaseHttpRequest</a></h4><aside class="tsd-sources">
5454
<ul>
55-
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/3a8dd13/src/gen/core/BaseHttpRequest.ts#L10">src/gen/core/BaseHttpRequest.ts:10</a></li></ul></aside></li></ul></section></section>
55+
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/0967f76/src/gen/core/BaseHttpRequest.ts#L10">src/gen/core/BaseHttpRequest.ts:10</a></li></ul></aside></li></ul></section></section>
5656
<section class="tsd-panel-group tsd-member-group">
5757
<h2>Properties</h2>
5858
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="config" class="tsd-anchor"></a>
5959
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>config</span><a href="#config" 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>
6060
<div class="tsd-signature">config<span class="tsd-signature-symbol">:</span> <a href="../types/OpenAPIConfig.html" class="tsd-signature-type" data-tsd-kind="Type alias">OpenAPIConfig</a></div><aside class="tsd-sources">
6161
<ul>
62-
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/3a8dd13/src/gen/core/BaseHttpRequest.ts#L10">src/gen/core/BaseHttpRequest.ts:10</a></li></ul></aside></section></section>
62+
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/0967f76/src/gen/core/BaseHttpRequest.ts#L10">src/gen/core/BaseHttpRequest.ts:10</a></li></ul></aside></section></section>
6363
<section class="tsd-panel-group tsd-member-group">
6464
<h2>Methods</h2>
6565
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="request" class="tsd-anchor"></a>
@@ -79,7 +79,7 @@ <h4 class="tsd-parameters-title">Parameters</h4>
7979
<h5>options: <span class="tsd-signature-type">ApiRequestOptions</span></h5></li></ul></div>
8080
<h4 class="tsd-returns-title">Returns <a href="CancelablePromise.html" class="tsd-signature-type" data-tsd-kind="Class">CancelablePromise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
8181
<ul>
82-
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/3a8dd13/src/gen/core/BaseHttpRequest.ts#L12">src/gen/core/BaseHttpRequest.ts:12</a></li></ul></aside></li></ul></section></section></div>
82+
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/0967f76/src/gen/core/BaseHttpRequest.ts#L12">src/gen/core/BaseHttpRequest.ts:12</a></li></ul></aside></li></ul></section></section></div>
8383
<div class="col-sidebar">
8484
<div class="page-menu">
8585
<div class="tsd-navigation settings">

docs/classes/CancelError.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h4>Hierarchy</h4>
2222
<ul class="tsd-hierarchy">
2323
<li><span class="target">CancelError</span></li></ul></li></ul></section><aside class="tsd-sources">
2424
<ul>
25-
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/3a8dd13/src/gen/core/CancelablePromise.ts#L4">src/gen/core/CancelablePromise.ts:4</a></li></ul></aside>
25+
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/0967f76/src/gen/core/CancelablePromise.ts#L4">src/gen/core/CancelablePromise.ts:4</a></li></ul></aside>
2626
<section class="tsd-panel-group tsd-index-group">
2727
<section class="tsd-panel tsd-index-panel">
2828
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -63,7 +63,7 @@ <h5>message: <span class="tsd-signature-type">string</span></h5></li></ul></div>
6363
<h4 class="tsd-returns-title">Returns <a href="CancelError.html" class="tsd-signature-type" data-tsd-kind="Class">CancelError</a></h4><aside class="tsd-sources">
6464
<p>Overrides Error.constructor</p>
6565
<ul>
66-
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/3a8dd13/src/gen/core/CancelablePromise.ts#L6">src/gen/core/CancelablePromise.ts:6</a></li></ul></aside></li></ul></section></section>
66+
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/0967f76/src/gen/core/CancelablePromise.ts#L6">src/gen/core/CancelablePromise.ts:6</a></li></ul></aside></li></ul></section></section>
6767
<section class="tsd-panel-group tsd-member-group">
6868
<h2>Properties</h2>
6969
<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>
@@ -125,7 +125,7 @@ <h3 class="tsd-anchor-link"><span>is<wbr/>Cancelled</span><a href="#isCancelled"
125125
<li class="tsd-description">
126126
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
127127
<ul>
128-
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/3a8dd13/src/gen/core/CancelablePromise.ts#L11">src/gen/core/CancelablePromise.ts:11</a></li></ul></aside></li></ul></section></section>
128+
<li>Defined in <a href="https://github.com/Docmaps-Project/crossref-openapi-client-ts/blob/0967f76/src/gen/core/CancelablePromise.ts#L11">src/gen/core/CancelablePromise.ts:11</a></li></ul></aside></li></ul></section></section>
129129
<section class="tsd-panel-group tsd-member-group">
130130
<h2>Methods</h2>
131131
<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>

0 commit comments

Comments
 (0)