Skip to content

Commit f7ef2a6

Browse files
authored
Merge pull request #129 from erincdustin/10.0.3
10.0.3
2 parents 8e077e2 + f370173 commit f7ef2a6

169 files changed

Lines changed: 1549 additions & 433 deletions

File tree

Some content is hidden

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

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ All notable changes to the ordercloud-javascript-sdk will be documented in this
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
# [10.0.3] - 2025-02-05
9+
- Bring SDK up to date with API [v1.0.378](https://ordercloud.io/release-notes/v1.0.378)
10+
811
# [10.0.2] - 2025-01-29
912
- Bring SDK up to date with API [v1.0.377](https://ordercloud.io/release-notes/v1.0.377)
1013

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/Resources.Addresses.html

Lines changed: 9 additions & 9 deletions
Large diffs are not rendered by default.

docs/classes/Resources.ApprovalRules.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ <h3 class="tsd-anchor-link"><span>Create</span><a href="#Create" aria-label="Per
7070
<li class="tsd-signature tsd-anchor-link" id="Create.Create-1">Create<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">TApprovalRule</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>buyerID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, approvalRule<span class="tsd-signature-symbol">: </span><a href="../interfaces/ApprovalRule.html" class="tsd-signature-type" data-tsd-kind="Interface">ApprovalRule</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span>, requestOptions<span class="tsd-signature-symbol">?: </span><a href="../interfaces/RequestOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">RequestOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/RequiredDeep.html" class="tsd-signature-type" data-tsd-kind="Type alias">RequiredDeep</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">TApprovalRule</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><a href="#Create.Create-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>
7171
<li class="tsd-description">
7272
<div class="tsd-comment tsd-typography"><p>Create a new approval rule. If ID is provided and an object with that ID already exists, a 409 (conflict) error is returned.
73-
Check out the <a href="https://ordercloud.io/api-reference/buyers/approval-rules/create%7Capi">docs</a> for more info</p>
73+
Check out the <a href="https://ordercloud.io/api-reference/buyer/approval-rules/create%7Capi">docs</a> for more info</p>
7474
</div>
7575
<section class="tsd-panel tsd-type-parameters">
7676
<h4>Type Parameters</h4>
@@ -99,7 +99,7 @@ <h3 class="tsd-anchor-link"><span>Delete</span><a href="#Delete" aria-label="Per
9999
<li class="tsd-signature tsd-anchor-link" id="Delete.Delete-1">Delete<span class="tsd-signature-symbol">(</span>buyerID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, approvalRuleID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, requestOptions<span class="tsd-signature-symbol">?: </span><a href="../interfaces/RequestOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">RequestOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#Delete.Delete-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>
100100
<li class="tsd-description">
101101
<div class="tsd-comment tsd-typography"><p>Delete an approval rule.
102-
Check out the <a href="https://ordercloud.io/api-reference/buyers/approval-rules/delete%7Capi">docs</a> for more info</p>
102+
Check out the <a href="https://ordercloud.io/api-reference/buyer/approval-rules/delete%7Capi">docs</a> for more info</p>
103103
</div>
104104
<div class="tsd-parameters">
105105
<h4 class="tsd-parameters-title">Parameters</h4>
@@ -123,7 +123,7 @@ <h3 class="tsd-anchor-link"><span>Get</span><a href="#Get" aria-label="Permalink
123123
<li class="tsd-signature tsd-anchor-link" id="Get.Get-1">Get<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">TApprovalRule</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>buyerID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, approvalRuleID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, requestOptions<span class="tsd-signature-symbol">?: </span><a href="../interfaces/RequestOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">RequestOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/RequiredDeep.html" class="tsd-signature-type" data-tsd-kind="Type alias">RequiredDeep</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">TApprovalRule</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><a href="#Get.Get-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>
124124
<li class="tsd-description">
125125
<div class="tsd-comment tsd-typography"><p>Get a single approval rule.
126-
Check out the <a href="https://ordercloud.io/api-reference/buyers/approval-rules/get%7Capi">docs</a> for more info</p>
126+
Check out the <a href="https://ordercloud.io/api-reference/buyer/approval-rules/get%7Capi">docs</a> for more info</p>
127127
</div>
128128
<section class="tsd-panel tsd-type-parameters">
129129
<h4>Type Parameters</h4>
@@ -152,7 +152,7 @@ <h3 class="tsd-anchor-link"><span>List</span><a href="#List" aria-label="Permali
152152
<li class="tsd-signature tsd-anchor-link" id="List.List-1">List<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">TApprovalRule</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>buyerID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, listOptions<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span><br/><span>    </span>filters<span class="tsd-signature-symbol">?: </span><a href="../types/Filters.html" class="tsd-signature-type" data-tsd-kind="Type alias">Filters</a><span class="tsd-signature-symbol">; </span><br/><span>    </span>page<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span>pageSize<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span>search<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span>searchOn<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">&quot;ID&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;Name&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;Description&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;RuleExpression&quot;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span>    </span>sortBy<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">&quot;ID&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;Name&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;RuleExpression&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;ApprovingGroupID&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;!ID&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;!Name&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;!ApprovingGroupID&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;!RuleExpression&quot;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span>, requestOptions<span class="tsd-signature-symbol">?: </span><a href="../interfaces/RequestOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">RequestOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/Resources.RequiredObjectDeep.html" class="tsd-signature-type" data-tsd-kind="Type alias">RequiredObjectDeep</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/ListPage.html" class="tsd-signature-type" data-tsd-kind="Interface">ListPage</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">TApprovalRule</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><a href="#List.List-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>
153153
<li class="tsd-description">
154154
<div class="tsd-comment tsd-typography"><p>Get a list of approval rules.
155-
Check out the <a href="https://ordercloud.io/api-reference/buyers/approval-rules/list%7Capi">docs</a> for more info</p>
155+
Check out the <a href="https://ordercloud.io/api-reference/buyer/approval-rules/list%7Capi">docs</a> for more info</p>
156156
</div>
157157
<section class="tsd-panel tsd-type-parameters">
158158
<h4>Type Parameters</h4>
@@ -204,7 +204,7 @@ <h3 class="tsd-anchor-link"><span>Patch</span><a href="#Patch" aria-label="Perma
204204
<li class="tsd-signature tsd-anchor-link" id="Patch.Patch-1">Patch<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">TApprovalRule</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>buyerID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, approvalRuleID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, approvalRule<span class="tsd-signature-symbol">: </span><a href="../types/Resources.PartialObjectDeep.html" class="tsd-signature-type" data-tsd-kind="Type alias">PartialObjectDeep</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/ApprovalRule.html" class="tsd-signature-type" data-tsd-kind="Interface">ApprovalRule</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span>, requestOptions<span class="tsd-signature-symbol">?: </span><a href="../interfaces/RequestOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">RequestOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/RequiredDeep.html" class="tsd-signature-type" data-tsd-kind="Type alias">RequiredDeep</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">TApprovalRule</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><a href="#Patch.Patch-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>
205205
<li class="tsd-description">
206206
<div class="tsd-comment tsd-typography"><p>Partially update an approval rule.
207-
Check out the <a href="https://ordercloud.io/api-reference/buyers/approval-rules/patch%7Capi">docs</a> for more info</p>
207+
Check out the <a href="https://ordercloud.io/api-reference/buyer/approval-rules/patch%7Capi">docs</a> for more info</p>
208208
</div>
209209
<section class="tsd-panel tsd-type-parameters">
210210
<h4>Type Parameters</h4>
@@ -235,7 +235,7 @@ <h3 class="tsd-anchor-link"><span>Save</span><a href="#Save" aria-label="Permali
235235
<li class="tsd-signature tsd-anchor-link" id="Save.Save-1">Save<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">TApprovalRule</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>buyerID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, approvalRuleID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, approvalRule<span class="tsd-signature-symbol">: </span><a href="../interfaces/ApprovalRule.html" class="tsd-signature-type" data-tsd-kind="Interface">ApprovalRule</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span>, requestOptions<span class="tsd-signature-symbol">?: </span><a href="../interfaces/RequestOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">RequestOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/RequiredDeep.html" class="tsd-signature-type" data-tsd-kind="Type alias">RequiredDeep</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">TApprovalRule</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><a href="#Save.Save-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>
236236
<li class="tsd-description">
237237
<div class="tsd-comment tsd-typography"><p>Create or update an approval rule. If an object with the same ID already exists, it will be overwritten.
238-
Check out the <a href="https://ordercloud.io/api-reference/buyers/approval-rules/save%7Capi">docs</a> for more info</p>
238+
Check out the <a href="https://ordercloud.io/api-reference/buyer/approval-rules/save%7Capi">docs</a> for more info</p>
239239
</div>
240240
<section class="tsd-panel tsd-type-parameters">
241241
<h4>Type Parameters</h4>

0 commit comments

Comments
 (0)