Skip to content

Commit 1235e9d

Browse files
authored
Merge pull request #69 from erincdustin/OCP-418
Docs Regen to API v1.0.235
2 parents 77b7d6a + e4aaab8 commit 1235e9d

8 files changed

Lines changed: 24 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +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-
8+
## [4.6.8] - 2022-05-02
9+
### Fixed
10+
- Docs now up to date with API v1.0.235 and previous changes to DecodedToken.role
911
## [4.6.7] - 2022-04-27
1012
### Fixed
1113
- DecodedToken.role was not properly typed. It is now (ApiRole[] | ApiRole | undefined)

docs/assets/js/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/integrationevents.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ <h4 class="tsd-parameters-title">Parameters</h4>
163163
<li>
164164
<h5>integrationEvent: <a href="../interfaces/integrationevent.html" class="tsd-signature-type">IntegrationEvent</a></h5>
165165
<div class="tsd-comment tsd-typography">
166-
<p>Required fields: ElevatedRoles, CustomImplementationUrl, Name, HashKey</p>
166+
<p>Required fields: CustomImplementationUrl, Name, HashKey</p>
167167
</div>
168168
</li>
169169
<li>
@@ -479,7 +479,7 @@ <h5>integrationEventID: <span class="tsd-signature-type">string</span></h5>
479479
<li>
480480
<h5>integrationEvent: <a href="../interfaces/integrationevent.html" class="tsd-signature-type">IntegrationEvent</a></h5>
481481
<div class="tsd-comment tsd-typography">
482-
<p>Required fields: ElevatedRoles, CustomImplementationUrl, Name, HashKey</p>
482+
<p>Required fields: CustomImplementationUrl, Name, HashKey</p>
483483
</div>
484484
</li>
485485
<li>

docs/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/interfaces/decodedtoken.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> orderid</h3>
145145
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
146146
<a name="role" class="tsd-anchor"></a>
147147
<h3>role</h3>
148-
<div class="tsd-signature tsd-kind-icon">role<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Array</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">SecurityProfile[&quot;Roles&quot;]</span><span class="tsd-signature-symbol">&gt;</span></div>
148+
<div class="tsd-signature tsd-kind-icon">role<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Array</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">SecurityProfile[&quot;Roles&quot;]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SecurityProfile[&quot;Roles&quot;]</span></div>
149149
<aside class="tsd-sources">
150150
</aside>
151151
<div class="tsd-comment tsd-typography">

docs/interfaces/integrationevent.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ <h3>Custom<wbr>Implementation<wbr>Url</h3>
8080
</section>
8181
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
8282
<a name="elevatedroles" class="tsd-anchor"></a>
83-
<h3>Elevated<wbr>Roles</h3>
83+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> Elevated<wbr>Roles</h3>
8484
<div class="tsd-signature tsd-kind-icon">Elevated<wbr>Roles<span class="tsd-signature-symbol">:</span> <a href="../index.html#apirole" class="tsd-signature-type">ApiRole</a><span class="tsd-signature-symbol">[]</span></div>
8585
<aside class="tsd-sources">
8686
</aside>

docs/interfaces/orderworksheet.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ <h4>TShipFromAddressXp</h4>
7070
<li>
7171
<h4>TLineItemsXp</h4>
7272
</li>
73+
<li>
74+
<h4>TOrderPromotionsXp</h4>
75+
</li>
7376
<li>
7477
<h4>TShipEstimatesXp</h4>
7578
</li>
@@ -101,6 +104,7 @@ <h3>Properties</h3>
101104
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="orderworksheet.html#order" class="tsd-kind-icon">Order</a></li>
102105
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="orderworksheet.html#orderapprovedresponse" class="tsd-kind-icon">Order<wbr>Approved<wbr>Response</a></li>
103106
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="orderworksheet.html#ordercalculateresponse" class="tsd-kind-icon">Order<wbr>Calculate<wbr>Response</a></li>
107+
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="orderworksheet.html#orderpromotions" class="tsd-kind-icon">Order<wbr>Promotions</a></li>
104108
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="orderworksheet.html#ordersubmitforapprovalresponse" class="tsd-kind-icon">Order<wbr>Submit<wbr>For<wbr>Approval<wbr>Response</a></li>
105109
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="orderworksheet.html#ordersubmitresponse" class="tsd-kind-icon">Order<wbr>Submit<wbr>Response</a></li>
106110
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="orderworksheet.html#shipestimateresponse" class="tsd-kind-icon">Ship<wbr>Estimate<wbr>Response</a></li>
@@ -139,6 +143,13 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> Order<wbr>Calculate<w
139143
<aside class="tsd-sources">
140144
</aside>
141145
</section>
146+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
147+
<a name="orderpromotions" class="tsd-anchor"></a>
148+
<h3><span class="tsd-flag ts-flagOptional">Optional</span> Order<wbr>Promotions</h3>
149+
<div class="tsd-signature tsd-kind-icon">Order<wbr>Promotions<span class="tsd-signature-symbol">:</span> <a href="orderpromotion.html" class="tsd-signature-type">OrderPromotion</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">TOrderPromotionsXp</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span></div>
150+
<aside class="tsd-sources">
151+
</aside>
152+
</section>
142153
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
143154
<a name="ordersubmitforapprovalresponse" class="tsd-anchor"></a>
144155
<h3><span class="tsd-flag ts-flagOptional">Optional</span> Order<wbr>Submit<wbr>For<wbr>Approval<wbr>Response</h3>
@@ -186,6 +197,9 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> Ship<wbr>Estimate<wbr
186197
<li class=" tsd-kind-property tsd-parent-kind-interface">
187198
<a href="orderworksheet.html#ordercalculateresponse" class="tsd-kind-icon">Order<wbr>Calculate<wbr>Response</a>
188199
</li>
200+
<li class=" tsd-kind-property tsd-parent-kind-interface">
201+
<a href="orderworksheet.html#orderpromotions" class="tsd-kind-icon">Order<wbr>Promotions</a>
202+
</li>
189203
<li class=" tsd-kind-property tsd-parent-kind-interface">
190204
<a href="orderworksheet.html#ordersubmitforapprovalresponse" class="tsd-kind-icon">Order<wbr>Submit<wbr>For<wbr>Approval<wbr>Response</a>
191205
</li>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "ordercloud-javascript-sdk",
33
"description": "The offical Javascript SDK for the Ordercloud ecommerce API",
44
"author": "Four51 OrderCloud",
5-
"version": "4.6.7",
5+
"version": "4.6.8",
66
"main": "dist/index.js",
77
"umd:main": "dist/index.umd.js",
88
"module": "dist/index.esm.js",

0 commit comments

Comments
 (0)