Skip to content

Commit 39d0196

Browse files
committed
⏩ regen to API 1.0.436
1 parent c124d2b commit 39d0196

13 files changed

Lines changed: 33 additions & 27 deletions

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ Simply set the options you need to override and the SDK will merge it with the d
206206
import { Configuration } from 'ordercloud-javascript-sdk';
207207

208208
Configuration.Set({
209+
// This URL can be found on your dashboard or in the upper right hand context menu of your OrderCloud application in Sitecore Portal.
209210
baseApiUrl: 'https://sandboxapi.ordercloud.io',
210211
timeoutInMilliseconds: 20 * 1000
211212
})

codegen/templates/Configuration.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { SdkConfiguration } from './models'
22

33
class Configuration {
44
private defaultConfig: SdkConfiguration = {
5+
// This URL can be found on your dashboard or in the upper right hand context menu of your OrderCloud application in Sitecore Portal.
56
baseApiUrl: 'https://api.ordercloud.io',
67
apiVersion: 'v1',
78
timeoutInMilliseconds: 60 * 1000, // 60 seconds by default

codegen/templates/models/SdkConfiguration.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export interface SdkConfiguration {
44
/**
55
* The apiurl that will be used to talk to the ordercloud API.
66
* It may be useful to change this to interact with different environments
7+
* This URL can be found on your dashboard or in the upper right hand context menu of your OrderCloud application in Sitecore Portal.
78
*
89
* Defaults to: https://api.ordercloud.io
910
*/

docs/classes/Resources.Configuration.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ <h2>Properties</h2>
4343
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</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"><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>
4444
<div class="tsd-signature">config<span class="tsd-signature-symbol">:</span> <a href="../interfaces/SdkConfiguration.html" class="tsd-signature-type" data-tsd-kind="Interface">SdkConfiguration</a><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
4545
<ul>
46-
<li>Defined in Configuration.ts:17</li></ul></aside></section>
46+
<li>Defined in Configuration.ts:18</li></ul></aside></section>
4747
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="defaultConfig" class="tsd-anchor"></a>
4848
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>default<wbr/>Config</span><a href="#defaultConfig" 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>
4949
<div class="tsd-signature">default<wbr/>Config<span class="tsd-signature-symbol">:</span> <a href="../interfaces/SdkConfiguration.html" class="tsd-signature-type" data-tsd-kind="Interface">SdkConfiguration</a><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
@@ -58,7 +58,7 @@ <h3 class="tsd-anchor-link"><span>Get</span><a href="#Get" aria-label="Permalink
5858
<li class="tsd-description">
5959
<h4 class="tsd-returns-title">Returns <a href="../interfaces/SdkConfiguration.html" class="tsd-signature-type" data-tsd-kind="Interface">SdkConfiguration</a></h4><aside class="tsd-sources">
6060
<ul>
61-
<li>Defined in Configuration.ts:37</li></ul></aside></li></ul></section>
61+
<li>Defined in Configuration.ts:38</li></ul></aside></li></ul></section>
6262
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="Set" class="tsd-anchor"></a>
6363
<h3 class="tsd-anchor-link"><span>Set</span><a href="#Set" 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>
6464
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -71,7 +71,7 @@ <h4 class="tsd-parameters-title">Parameters</h4>
7171
<h5>config: <a href="../interfaces/SdkConfiguration.html" class="tsd-signature-type" data-tsd-kind="Interface">SdkConfiguration</a></h5></li></ul></div>
7272
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
7373
<ul>
74-
<li>Defined in Configuration.ts:28</li></ul></aside></li></ul></section></section></div>
74+
<li>Defined in Configuration.ts:29</li></ul></aside></li></ul></section></section></div>
7575
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
7676
<div class="tsd-navigation settings">
7777
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">

docs/classes/Resources.Me.html

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

docs/classes/Resources.Subscriptions.html

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

docs/interfaces/CookieOptions.html

Lines changed: 6 additions & 6 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">CookieOptions</span></li></ul></section><aside class="tsd-sources">
2222
<ul>
23-
<li>Defined in <a href="https://github.com/ordercloud-api/ordercloud-javascript-sdk/blob/master/src/models/SdkConfiguration.ts#L42">models/SdkConfiguration.ts:42</a></li></ul></aside>
23+
<li>Defined in <a href="https://github.com/ordercloud-api/ordercloud-javascript-sdk/blob/master/src/models/SdkConfiguration.ts#L43">models/SdkConfiguration.ts:43</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">
@@ -42,38 +42,38 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
4242
<div class="tsd-comment tsd-typography"><p>The cookie will be available only for this domain and its sub-domains</p>
4343
</div><aside class="tsd-sources">
4444
<ul>
45-
<li>Defined in <a href="https://github.com/ordercloud-api/ordercloud-javascript-sdk/blob/master/src/models/SdkConfiguration.ts#L46">models/SdkConfiguration.ts:46</a></li></ul></aside></section>
45+
<li>Defined in <a href="https://github.com/ordercloud-api/ordercloud-javascript-sdk/blob/master/src/models/SdkConfiguration.ts#L47">models/SdkConfiguration.ts:47</a></li></ul></aside></section>
4646
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="path" class="tsd-anchor"></a>
4747
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>path</span><a href="#path" 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>
4848
<div class="tsd-signature">path<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
4949
<div class="tsd-comment tsd-typography"><p>defines which paths on the domain the cookie will be accessible on
5050
defaults to &#39;/&#39; which means it is available on all paths in the domain</p>
5151
</div><aside class="tsd-sources">
5252
<ul>
53-
<li>Defined in <a href="https://github.com/ordercloud-api/ordercloud-javascript-sdk/blob/master/src/models/SdkConfiguration.ts#L69">models/SdkConfiguration.ts:69</a></li></ul></aside></section>
53+
<li>Defined in <a href="https://github.com/ordercloud-api/ordercloud-javascript-sdk/blob/master/src/models/SdkConfiguration.ts#L70">models/SdkConfiguration.ts:70</a></li></ul></aside></section>
5454
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="prefix" class="tsd-anchor"></a>
5555
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>prefix</span><a href="#prefix" 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>
5656
<div class="tsd-signature">prefix<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
5757
<div class="tsd-comment tsd-typography"><p>prefix for all cookies set by ordercloud</p>
5858
</div><aside class="tsd-sources">
5959
<ul>
60-
<li>Defined in <a href="https://github.com/ordercloud-api/ordercloud-javascript-sdk/blob/master/src/models/SdkConfiguration.ts#L63">models/SdkConfiguration.ts:63</a></li></ul></aside></section>
60+
<li>Defined in <a href="https://github.com/ordercloud-api/ordercloud-javascript-sdk/blob/master/src/models/SdkConfiguration.ts#L64">models/SdkConfiguration.ts:64</a></li></ul></aside></section>
6161
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="samesite" class="tsd-anchor"></a>
6262
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>samesite</span><a href="#samesite" 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>
6363
<div class="tsd-signature">samesite<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">&quot;none&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;strict&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;lax&quot;</span></div>
6464
<div class="tsd-comment tsd-typography"><p>Defines protocol for how cookies should be sent
6565
in first or third party contexts <a href="https://adzerk.com/blog/chrome-samesite/">https://adzerk.com/blog/chrome-samesite/</a></p>
6666
</div><aside class="tsd-sources">
6767
<ul>
68-
<li>Defined in <a href="https://github.com/ordercloud-api/ordercloud-javascript-sdk/blob/master/src/models/SdkConfiguration.ts#L58">models/SdkConfiguration.ts:58</a></li></ul></aside></section>
68+
<li>Defined in <a href="https://github.com/ordercloud-api/ordercloud-javascript-sdk/blob/master/src/models/SdkConfiguration.ts#L59">models/SdkConfiguration.ts:59</a></li></ul></aside></section>
6969
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="secure" class="tsd-anchor"></a>
7070
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>secure</span><a href="#secure" 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>
7171
<div class="tsd-signature">secure<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div>
7272
<div class="tsd-comment tsd-typography"><p>If true, then the cookie will only be available through a
7373
secured connection (generally https)</p>
7474
</div><aside class="tsd-sources">
7575
<ul>
76-
<li>Defined in <a href="https://github.com/ordercloud-api/ordercloud-javascript-sdk/blob/master/src/models/SdkConfiguration.ts#L52">models/SdkConfiguration.ts:52</a></li></ul></aside></section></section></div>
76+
<li>Defined in <a href="https://github.com/ordercloud-api/ordercloud-javascript-sdk/blob/master/src/models/SdkConfiguration.ts#L53">models/SdkConfiguration.ts:53</a></li></ul></aside></section></section></div>
7777
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
7878
<div class="tsd-navigation settings">
7979
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">

0 commit comments

Comments
 (0)