Skip to content

Commit 47a544e

Browse files
authored
Merge pull request #113 from erincdustin/6.1.0
6.1.0
2 parents 2991578 + a1c7806 commit 47a544e

109 files changed

Lines changed: 281 additions & 44 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: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ 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+
# [6.1.0] - 2024-08-09
9+
- Bring SDK up to date with API [v1.0.354](https://ordercloud.io/release-notes/v1.0.354)
10+
- Fixes an incorrect return type on CreatePaymentTransaction
11+
812
# [6.0.8] - 2024-06-20
913
- Bring SDK up to date with API [v1.0.349](https://ordercloud.io/release-notes/v1.0.349)
1014
- Resolves error thrown when running in NextJS Middleware or Edge API routes

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.Cart.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
239239
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="CreatePaymentTransaction" class="tsd-anchor"></a>
240240
<h3 class="tsd-anchor-link"><span>Create<wbr/>Payment<wbr/>Transaction</span><a href="#CreatePaymentTransaction" 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>
241241
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
242-
<li class="tsd-signature tsd-anchor-link" id="CreatePaymentTransaction.CreatePaymentTransaction-1">Create<wbr/>Payment<wbr/>Transaction<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">TPaymentTransaction</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>paymentID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, paymentTransaction<span class="tsd-signature-symbol">: </span><a href="../interfaces/PaymentTransaction.html" class="tsd-signature-type" data-tsd-kind="Interface">PaymentTransaction</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">TPaymentTransaction</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><a href="#CreatePaymentTransaction.CreatePaymentTransaction-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>
242+
<li class="tsd-signature tsd-anchor-link" id="CreatePaymentTransaction.CreatePaymentTransaction-1">Create<wbr/>Payment<wbr/>Transaction<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">TPayment</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>paymentID<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, paymentTransaction<span class="tsd-signature-symbol">: </span><a href="../interfaces/PaymentTransaction.html" class="tsd-signature-type" data-tsd-kind="Interface">PaymentTransaction</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">TPayment</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><a href="#CreatePaymentTransaction.CreatePaymentTransaction-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>
243243
<li class="tsd-description">
244244
<div class="tsd-comment tsd-typography"><p>Create a new cart payment transaction.
245245
Check out the <a href="https://ordercloud.io/api-reference/orders-and-fulfillment/cart/create-payment-transaction%7Capi">docs</a> for more info</p>
@@ -248,7 +248,7 @@ <h3 class="tsd-anchor-link"><span>Create<wbr/>Payment<wbr/>Transaction</span><a
248248
<h4>Type Parameters</h4>
249249
<ul class="tsd-type-parameters">
250250
<li>
251-
<h4>TPaymentTransaction<span class="tsd-signature-symbol"> extends </span><a href="../interfaces/PaymentTransaction.html" class="tsd-signature-type" data-tsd-kind="Interface">PaymentTransaction</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">TPaymentTransaction</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
251+
<h4>TPayment<span class="tsd-signature-symbol"> extends </span><a href="../interfaces/Payment.html" class="tsd-signature-type" data-tsd-kind="Interface">Payment</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">TPayment</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
252252
<div class="tsd-parameters">
253253
<h4 class="tsd-parameters-title">Parameters</h4>
254254
<ul class="tsd-parameter-list">
@@ -262,7 +262,7 @@ <h5>paymentTransaction: <a href="../interfaces/PaymentTransaction.html" class="t
262262
</div></li>
263263
<li>
264264
<h5>requestOptions: <a href="../interfaces/RequestOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">RequestOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
265-
<h4 class="tsd-returns-title">Returns <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">TPaymentTransaction</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
265+
<h4 class="tsd-returns-title">Returns <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">TPayment</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
266266
<ul>
267267
<li>Defined in <a href="https://github.com/ordercloud-api/ordercloud-javascript-sdk/blob/master/src/api/Cart.ts#L618">api/Cart.ts:618</a></li></ul></aside></li></ul></section>
268268
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="Delete" class="tsd-anchor"></a>

docs/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ <h3 class="tsd-index-heading">Interfaces</h3>
5353
<a href="interfaces/CategoryAssignment.html" class="tsd-index-link tsd-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Category<wbr/>Assignment</span></a>
5454
<a href="interfaces/CategoryBundleAssignment.html" class="tsd-index-link tsd-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Category<wbr/>Bundle<wbr/>Assignment</span></a>
5555
<a href="interfaces/CategoryProductAssignment.html" class="tsd-index-link tsd-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Category<wbr/>Product<wbr/>Assignment</span></a>
56+
<a href="interfaces/ContentHubConfig.html" class="tsd-index-link tsd-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Content<wbr/>Hub<wbr/>Config</span></a>
5657
<a href="interfaces/CookieOptions.html" class="tsd-index-link tsd-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Cookie<wbr/>Options</span></a>
5758
<a href="interfaces/CosmosDbConfig.html" class="tsd-index-link tsd-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Cosmos<wbr/>Db<wbr/>Config</span></a>
5859
<a href="interfaces/CostCenter.html" class="tsd-index-link tsd-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Cost<wbr/>Center</span></a>

0 commit comments

Comments
 (0)