@progress/sitefinity-webservices-sdk 1.1.6 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/docs/assets/search.js +1 -1
- package/dist/docs/classes/QueryBuilder.QueryBuilder.html +4 -2
- package/dist/docs/classes/Sitefinity.Sitefinity.html +2 -2
- package/dist/docs/interfaces/Sitefinity.SDKOptions.html +6 -6
- package/dist/docs/interfaces/Sitefinity.Token.html +3 -3
- package/dist/docs/interfaces/Sitefinity.TypeOptions.html +25 -9
- package/dist/sitefinity-webservices-sdk.js +40 -35
- package/dist/sitefinity-webservices-sdk.js.map +1 -1
- package/dist/sitefinity-webservices-sdk.min.js +1 -1
- package/dist/src/Sitefinity.d.ts +9 -0
- package/package.json +2 -2
- package/src/QueryBuilder.ts +3 -3
- package/src/Requests/BatchRequest.ts +1 -1
- package/src/Requests/RequestBase.ts +1 -1
- package/src/Requests/request.spec.ts +16 -5
- package/src/Sitefinity.spec.ts +32 -0
- package/src/Sitefinity.ts +12 -1
|
@@ -125,13 +125,15 @@
|
|
|
125
125
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="checkType" class="tsd-anchor"></a>
|
|
126
126
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>check<wbr/>Type</span><a href="#checkType" 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>
|
|
127
127
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
|
128
|
-
<li class="tsd-signature tsd-anchor-link" id="checkType.checkType-1">check<wbr/>Type<span class="tsd-signature-symbol">(</span>constant<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#checkType.checkType-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>
|
|
128
|
+
<li class="tsd-signature tsd-anchor-link" id="checkType.checkType-1">check<wbr/>Type<span class="tsd-signature-symbol">(</span>constant<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, treatAsString<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#checkType.checkType-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>
|
|
129
129
|
<li class="tsd-description">
|
|
130
130
|
<div class="tsd-parameters">
|
|
131
131
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
132
132
|
<ul class="tsd-parameter-list">
|
|
133
133
|
<li>
|
|
134
|
-
<h5>constant: <span class="tsd-signature-type">any</span></h5></li
|
|
134
|
+
<h5>constant: <span class="tsd-signature-type">any</span></h5></li>
|
|
135
|
+
<li>
|
|
136
|
+
<h5>treatAsString: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5></li></ul></div>
|
|
135
137
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
136
138
|
<ul>
|
|
137
139
|
<li>Defined in QueryBuilder.ts:151</li></ul></aside></li></ul></section>
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="../interfaces/Sitefinity.TypeOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">TypeOptions</a></h5></li></ul></div>
|
|
104
104
|
<h4 class="tsd-returns-title">Returns <a href="Requests_BatchRequest.BatchRequest.html" class="tsd-signature-type" data-tsd-kind="Class">BatchRequest</a></h4><aside class="tsd-sources">
|
|
105
105
|
<ul>
|
|
106
|
-
<li>Defined in Sitefinity.ts:
|
|
106
|
+
<li>Defined in Sitefinity.ts:38</li></ul></aside></li></ul></section>
|
|
107
107
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="data" class="tsd-anchor"></a>
|
|
108
108
|
<h3 class="tsd-anchor-link"><span>data</span><a href="#data" 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>
|
|
109
109
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
<h5>token: <a href="../interfaces/Sitefinity.Token.html" class="tsd-signature-type" data-tsd-kind="Interface">Token</a></h5></li></ul></div>
|
|
132
132
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
133
133
|
<ul>
|
|
134
|
-
<li>Defined in Sitefinity.ts:
|
|
134
|
+
<li>Defined in Sitefinity.ts:62</li></ul></aside></li></ul></section></section></div>
|
|
135
135
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
136
136
|
<div class="tsd-navigation settings">
|
|
137
137
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<ul class="tsd-hierarchy">
|
|
27
27
|
<li><span class="target">SDKOptions</span></li></ul></li></ul></section><aside class="tsd-sources">
|
|
28
28
|
<ul>
|
|
29
|
-
<li>Defined in Sitefinity.ts:
|
|
29
|
+
<li>Defined in Sitefinity.ts:82</li></ul></aside>
|
|
30
30
|
<section class="tsd-panel-group tsd-index-group">
|
|
31
31
|
<section class="tsd-panel tsd-index-panel">
|
|
32
32
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -49,24 +49,24 @@
|
|
|
49
49
|
</div><aside class="tsd-sources">
|
|
50
50
|
<p>Inherited from OptionsBase.baseUrl</p>
|
|
51
51
|
<ul>
|
|
52
|
-
<li>Defined in Sitefinity.ts:
|
|
52
|
+
<li>Defined in Sitefinity.ts:71</li></ul></aside></section>
|
|
53
53
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="enableUnlimitedChoices" class="tsd-anchor"></a>
|
|
54
54
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>enable<wbr/>Unlimited<wbr/>Choices</span><a href="#enableUnlimitedChoices" 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>
|
|
55
55
|
<div class="tsd-signature">enable<wbr/>Unlimited<wbr/>Choices<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources">
|
|
56
56
|
<ul>
|
|
57
|
-
<li>Defined in Sitefinity.ts:
|
|
57
|
+
<li>Defined in Sitefinity.ts:88</li></ul></aside></section>
|
|
58
58
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="handlers" class="tsd-anchor"></a>
|
|
59
59
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>handlers</span><a href="#handlers" 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>
|
|
60
60
|
<div class="tsd-signature">handlers<span class="tsd-signature-symbol">?:</span> <a href="Requests_ExecutableRequest.ResponseHandlers.html" class="tsd-signature-type" data-tsd-kind="Interface">ResponseHandlers</a></div>
|
|
61
61
|
<div class="tsd-comment tsd-typography"><p>The global handlers for request execution</p>
|
|
62
62
|
</div><aside class="tsd-sources">
|
|
63
63
|
<ul>
|
|
64
|
-
<li>Defined in Sitefinity.ts:
|
|
64
|
+
<li>Defined in Sitefinity.ts:86</li></ul></aside></section>
|
|
65
65
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="integrationMode" class="tsd-anchor"></a>
|
|
66
66
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>integration<wbr/>Mode</span><a href="#integrationMode" 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>
|
|
67
67
|
<div class="tsd-signature">integration<wbr/>Mode<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources">
|
|
68
68
|
<ul>
|
|
69
|
-
<li>Defined in Sitefinity.ts:
|
|
69
|
+
<li>Defined in Sitefinity.ts:89</li></ul></aside></section>
|
|
70
70
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a id="siteId" class="tsd-anchor"></a>
|
|
71
71
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>site<wbr/>Id</span><a href="#siteId" 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>
|
|
72
72
|
<div class="tsd-signature">site<wbr/>Id<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
</div><aside class="tsd-sources">
|
|
75
75
|
<p>Inherited from OptionsBase.siteId</p>
|
|
76
76
|
<ul>
|
|
77
|
-
<li>Defined in Sitefinity.ts:
|
|
77
|
+
<li>Defined in Sitefinity.ts:76</li></ul></aside></section></section></div>
|
|
78
78
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
79
79
|
<div class="tsd-navigation settings">
|
|
80
80
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
<ul class="tsd-hierarchy">
|
|
22
22
|
<li><span class="target">Token</span></li></ul></section><aside class="tsd-sources">
|
|
23
23
|
<ul>
|
|
24
|
-
<li>Defined in Sitefinity.ts:
|
|
24
|
+
<li>Defined in Sitefinity.ts:122</li></ul></aside>
|
|
25
25
|
<section class="tsd-panel-group tsd-index-group">
|
|
26
26
|
<section class="tsd-panel tsd-index-panel">
|
|
27
27
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
<h3 class="tsd-anchor-link"><span>type</span><a href="#type" 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>
|
|
39
39
|
<div class="tsd-signature">type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
40
40
|
<ul>
|
|
41
|
-
<li>Defined in Sitefinity.ts:
|
|
41
|
+
<li>Defined in Sitefinity.ts:123</li></ul></aside></section>
|
|
42
42
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="value" class="tsd-anchor"></a>
|
|
43
43
|
<h3 class="tsd-anchor-link"><span>value</span><a href="#value" 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>
|
|
44
44
|
<div class="tsd-signature">value<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
45
45
|
<ul>
|
|
46
|
-
<li>Defined in Sitefinity.ts:
|
|
46
|
+
<li>Defined in Sitefinity.ts:124</li></ul></aside></section></section></div>
|
|
47
47
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
48
48
|
<div class="tsd-navigation settings">
|
|
49
49
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<ul class="tsd-hierarchy">
|
|
27
27
|
<li><span class="target">TypeOptions</span></li></ul></li></ul></section><aside class="tsd-sources">
|
|
28
28
|
<ul>
|
|
29
|
-
<li>Defined in Sitefinity.ts:
|
|
29
|
+
<li>Defined in Sitefinity.ts:95</li></ul></aside>
|
|
30
30
|
<section class="tsd-panel-group tsd-index-group">
|
|
31
31
|
<section class="tsd-panel tsd-index-panel">
|
|
32
32
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -34,7 +34,8 @@
|
|
|
34
34
|
<div class="tsd-accordion-details">
|
|
35
35
|
<section class="tsd-index-section">
|
|
36
36
|
<h3 class="tsd-index-heading">Properties</h3>
|
|
37
|
-
<div class="tsd-index-list"><a href="Sitefinity.TypeOptions.html#
|
|
37
|
+
<div class="tsd-index-list"><a href="Sitefinity.TypeOptions.html#additionalHeaders" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>additional<wbr/>Headers?</span></a>
|
|
38
|
+
<a href="Sitefinity.TypeOptions.html#additionalQueryParams" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>additional<wbr/>Query<wbr/>Params?</span></a>
|
|
38
39
|
<a href="Sitefinity.TypeOptions.html#baseUrl" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>base<wbr/>Url?</span></a>
|
|
39
40
|
<a href="Sitefinity.TypeOptions.html#culture" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>culture?</span></a>
|
|
40
41
|
<a href="Sitefinity.TypeOptions.html#entitySet" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>entity<wbr/>Set?</span></a>
|
|
@@ -43,16 +44,30 @@
|
|
|
43
44
|
</div></section></div></details></section></section>
|
|
44
45
|
<section class="tsd-panel-group tsd-member-group">
|
|
45
46
|
<h2>Properties</h2>
|
|
47
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="additionalHeaders" class="tsd-anchor"></a>
|
|
48
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>additional<wbr/>Headers</span><a href="#additionalHeaders" 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>
|
|
49
|
+
<div class="tsd-signature">additional<wbr/>Headers<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>[key: <span class="tsd-signature-type">string</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div>
|
|
50
|
+
<div class="tsd-comment tsd-typography"><p>Headers to be added to the request.</p>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="tsd-type-declaration">
|
|
53
|
+
<h4>Type declaration</h4>
|
|
54
|
+
<ul class="tsd-parameters">
|
|
55
|
+
<li class="tsd-parameter-index-signature">
|
|
56
|
+
<h5><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">string</span></h5></li></ul></div><aside class="tsd-sources">
|
|
57
|
+
<ul>
|
|
58
|
+
<li>Defined in Sitefinity.ts:119</li></ul></aside></section>
|
|
46
59
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="additionalQueryParams" class="tsd-anchor"></a>
|
|
47
|
-
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>additional<wbr/>Query<wbr/>Params</span><a href="#additionalQueryParams" 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"><
|
|
60
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>additional<wbr/>Query<wbr/>Params</span><a href="#additionalQueryParams" 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>
|
|
48
61
|
<div class="tsd-signature">additional<wbr/>Query<wbr/>Params<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>[key: <span class="tsd-signature-type">string</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div>
|
|
62
|
+
<div class="tsd-comment tsd-typography"><p>Query params to be added to the request url.</p>
|
|
63
|
+
</div>
|
|
49
64
|
<div class="tsd-type-declaration">
|
|
50
65
|
<h4>Type declaration</h4>
|
|
51
66
|
<ul class="tsd-parameters">
|
|
52
67
|
<li class="tsd-parameter-index-signature">
|
|
53
68
|
<h5><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">string</span></h5></li></ul></div><aside class="tsd-sources">
|
|
54
69
|
<ul>
|
|
55
|
-
<li>Defined in Sitefinity.ts:
|
|
70
|
+
<li>Defined in Sitefinity.ts:114</li></ul></aside></section>
|
|
56
71
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a id="baseUrl" class="tsd-anchor"></a>
|
|
57
72
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>base<wbr/>Url</span><a href="#baseUrl" 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>
|
|
58
73
|
<div class="tsd-signature">base<wbr/>Url<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
@@ -60,28 +75,28 @@
|
|
|
60
75
|
</div><aside class="tsd-sources">
|
|
61
76
|
<p>Inherited from OptionsBase.baseUrl</p>
|
|
62
77
|
<ul>
|
|
63
|
-
<li>Defined in Sitefinity.ts:
|
|
78
|
+
<li>Defined in Sitefinity.ts:71</li></ul></aside></section>
|
|
64
79
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="culture" class="tsd-anchor"></a>
|
|
65
80
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>culture</span><a href="#culture" 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>
|
|
66
81
|
<div class="tsd-signature">culture<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
67
82
|
<div class="tsd-comment tsd-typography"><p>The name of the culture. If empty the default culture for the site will be used.</p>
|
|
68
83
|
</div><aside class="tsd-sources">
|
|
69
84
|
<ul>
|
|
70
|
-
<li>Defined in Sitefinity.ts:
|
|
85
|
+
<li>Defined in Sitefinity.ts:109</li></ul></aside></section>
|
|
71
86
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="entitySet" class="tsd-anchor"></a>
|
|
72
87
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>entity<wbr/>Set</span><a href="#entitySet" 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>
|
|
73
88
|
<div class="tsd-signature">entity<wbr/>Set<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
74
89
|
<div class="tsd-comment tsd-typography"><p>The URL name of the type.</p>
|
|
75
90
|
</div><aside class="tsd-sources">
|
|
76
91
|
<ul>
|
|
77
|
-
<li>Defined in Sitefinity.ts:
|
|
92
|
+
<li>Defined in Sitefinity.ts:99</li></ul></aside></section>
|
|
78
93
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="provider" class="tsd-anchor"></a>
|
|
79
94
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>provider</span><a href="#provider" 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>
|
|
80
95
|
<div class="tsd-signature">provider<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
81
96
|
<div class="tsd-comment tsd-typography"><p>The name of the provider. If empty the default provider for the site will be used.</p>
|
|
82
97
|
</div><aside class="tsd-sources">
|
|
83
98
|
<ul>
|
|
84
|
-
<li>Defined in Sitefinity.ts:
|
|
99
|
+
<li>Defined in Sitefinity.ts:104</li></ul></aside></section>
|
|
85
100
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a id="siteId" class="tsd-anchor"></a>
|
|
86
101
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>site<wbr/>Id</span><a href="#siteId" 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>
|
|
87
102
|
<div class="tsd-signature">site<wbr/>Id<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
@@ -89,7 +104,7 @@
|
|
|
89
104
|
</div><aside class="tsd-sources">
|
|
90
105
|
<p>Inherited from OptionsBase.siteId</p>
|
|
91
106
|
<ul>
|
|
92
|
-
<li>Defined in Sitefinity.ts:
|
|
107
|
+
<li>Defined in Sitefinity.ts:76</li></ul></aside></section></section></div>
|
|
93
108
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
94
109
|
<div class="tsd-navigation settings">
|
|
95
110
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -133,6 +148,7 @@
|
|
|
133
148
|
<ul>
|
|
134
149
|
<li class="current tsd-kind-interface tsd-parent-kind-module"><a href="Sitefinity.TypeOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Type<wbr/>Options</span></a>
|
|
135
150
|
<ul>
|
|
151
|
+
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="Sitefinity.TypeOptions.html#additionalHeaders" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>additional<wbr/>Headers?</a></li>
|
|
136
152
|
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="Sitefinity.TypeOptions.html#additionalQueryParams" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>additional<wbr/>Query<wbr/>Params?</a></li>
|
|
137
153
|
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a href="Sitefinity.TypeOptions.html#baseUrl" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>base<wbr/>Url?</a></li>
|
|
138
154
|
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="Sitefinity.TypeOptions.html#culture" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>culture?</a></li>
|
|
@@ -823,7 +823,7 @@ var QueryBuilder = /** @class */ (function () {
|
|
|
823
823
|
case constants_1.EXPRESSION_TYPE.startsWith:
|
|
824
824
|
case constants_1.EXPRESSION_TYPE.endsWith: {
|
|
825
825
|
var expressionParameter = this.applyCaseSensitiveSettings(expression, expression.getParameter());
|
|
826
|
-
var expressionConstant = this.checkType(expression.getConstant());
|
|
826
|
+
var expressionConstant = this.checkType(expression.getConstant(), true);
|
|
827
827
|
var expressionValue = this.applyCaseSensitiveSettings(expression, expressionConstant);
|
|
828
828
|
result = "".concat(type.toLowerCase(), "(").concat(expressionParameter, ", ").concat(expressionValue, ")");
|
|
829
829
|
break;
|
|
@@ -841,8 +841,9 @@ var QueryBuilder = /** @class */ (function () {
|
|
|
841
841
|
}
|
|
842
842
|
return "tolower(".concat(value, ")");
|
|
843
843
|
};
|
|
844
|
-
QueryBuilder.prototype.checkType = function (constant) {
|
|
845
|
-
if (
|
|
844
|
+
QueryBuilder.prototype.checkType = function (constant, treatAsString) {
|
|
845
|
+
if (treatAsString === void 0) { treatAsString = false; }
|
|
846
|
+
if (this.isGuid(constant) && !treatAsString)
|
|
846
847
|
return constant;
|
|
847
848
|
if (constant == null)
|
|
848
849
|
return null;
|
|
@@ -1177,8 +1178,9 @@ var BatchRequest = /** @class */ (function (_super) {
|
|
|
1177
1178
|
return constants_1.HTTP_METHODS.post;
|
|
1178
1179
|
};
|
|
1179
1180
|
BatchRequest.prototype.getHeaders = function () {
|
|
1181
|
+
var _a;
|
|
1182
|
+
var headers = (_a = this.urlOptions.additionalHeaders) !== null && _a !== void 0 ? _a : {};
|
|
1180
1183
|
var contentType = "multipart/mixed; boundary=" + this.boundary;
|
|
1181
|
-
var headers = {};
|
|
1182
1184
|
headers[constants_1.HEADER_NAMES.contentType] = contentType;
|
|
1183
1185
|
return headers;
|
|
1184
1186
|
};
|
|
@@ -1905,7 +1907,8 @@ var RequestBase = /** @class */ (function () {
|
|
|
1905
1907
|
return null;
|
|
1906
1908
|
};
|
|
1907
1909
|
RequestBase.prototype.getHeaders = function () {
|
|
1908
|
-
var
|
|
1910
|
+
var _a;
|
|
1911
|
+
var headers = (_a = this.urlOptions.additionalHeaders) !== null && _a !== void 0 ? _a : {};
|
|
1909
1912
|
headers[constants_1.HEADER_NAMES.contentType] = constants_1.CONTENT_TYPES.json;
|
|
1910
1913
|
return headers;
|
|
1911
1914
|
};
|
|
@@ -2093,6 +2096,7 @@ var Sitefinity = /** @class */ (function () {
|
|
|
2093
2096
|
culture: options.culture,
|
|
2094
2097
|
siteId: options.siteId || this.siteId,
|
|
2095
2098
|
additionalQueryParams: options.additionalQueryParams,
|
|
2099
|
+
additionalHeaders: options.additionalHeaders,
|
|
2096
2100
|
entitySet: options.entitySet
|
|
2097
2101
|
};
|
|
2098
2102
|
return new Data_1.Data(urlOptions, this.factory);
|
|
@@ -2109,7 +2113,8 @@ var Sitefinity = /** @class */ (function () {
|
|
|
2109
2113
|
provider: options.provider,
|
|
2110
2114
|
culture: options.culture,
|
|
2111
2115
|
siteId: options.siteId || this.siteId,
|
|
2112
|
-
additionalQueryParams: options.additionalQueryParams
|
|
2116
|
+
additionalQueryParams: options.additionalQueryParams,
|
|
2117
|
+
additionalHeaders: options.additionalHeaders
|
|
2113
2118
|
}
|
|
2114
2119
|
});
|
|
2115
2120
|
return batch;
|
|
@@ -2707,35 +2712,35 @@ exports.utils = utils;
|
|
|
2707
2712
|
|
|
2708
2713
|
__webpack_require__.r(__webpack_exports__);
|
|
2709
2714
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2710
|
-
/* harmony export */
|
|
2711
|
-
/* harmony export */
|
|
2712
|
-
/* harmony export */
|
|
2713
|
-
/* harmony export */
|
|
2714
|
-
/* harmony export */
|
|
2715
|
-
/* harmony export */
|
|
2716
|
-
/* harmony export */
|
|
2717
|
-
/* harmony export */
|
|
2718
|
-
/* harmony export */
|
|
2719
|
-
/* harmony export */
|
|
2720
|
-
/* harmony export */
|
|
2721
|
-
/* harmony export */
|
|
2722
|
-
/* harmony export */
|
|
2723
|
-
/* harmony export */
|
|
2724
|
-
/* harmony export */
|
|
2725
|
-
/* harmony export */
|
|
2726
|
-
/* harmony export */
|
|
2727
|
-
/* harmony export */
|
|
2728
|
-
/* harmony export */
|
|
2729
|
-
/* harmony export */
|
|
2730
|
-
/* harmony export */
|
|
2731
|
-
/* harmony export */
|
|
2732
|
-
/* harmony export */
|
|
2733
|
-
/* harmony export */
|
|
2734
|
-
/* harmony export */
|
|
2735
|
-
/* harmony export */
|
|
2736
|
-
/* harmony export */
|
|
2737
|
-
/* harmony export */
|
|
2738
|
-
/* harmony export */
|
|
2715
|
+
/* harmony export */ __assign: () => (/* binding */ __assign),
|
|
2716
|
+
/* harmony export */ __asyncDelegator: () => (/* binding */ __asyncDelegator),
|
|
2717
|
+
/* harmony export */ __asyncGenerator: () => (/* binding */ __asyncGenerator),
|
|
2718
|
+
/* harmony export */ __asyncValues: () => (/* binding */ __asyncValues),
|
|
2719
|
+
/* harmony export */ __await: () => (/* binding */ __await),
|
|
2720
|
+
/* harmony export */ __awaiter: () => (/* binding */ __awaiter),
|
|
2721
|
+
/* harmony export */ __classPrivateFieldGet: () => (/* binding */ __classPrivateFieldGet),
|
|
2722
|
+
/* harmony export */ __classPrivateFieldIn: () => (/* binding */ __classPrivateFieldIn),
|
|
2723
|
+
/* harmony export */ __classPrivateFieldSet: () => (/* binding */ __classPrivateFieldSet),
|
|
2724
|
+
/* harmony export */ __createBinding: () => (/* binding */ __createBinding),
|
|
2725
|
+
/* harmony export */ __decorate: () => (/* binding */ __decorate),
|
|
2726
|
+
/* harmony export */ __esDecorate: () => (/* binding */ __esDecorate),
|
|
2727
|
+
/* harmony export */ __exportStar: () => (/* binding */ __exportStar),
|
|
2728
|
+
/* harmony export */ __extends: () => (/* binding */ __extends),
|
|
2729
|
+
/* harmony export */ __generator: () => (/* binding */ __generator),
|
|
2730
|
+
/* harmony export */ __importDefault: () => (/* binding */ __importDefault),
|
|
2731
|
+
/* harmony export */ __importStar: () => (/* binding */ __importStar),
|
|
2732
|
+
/* harmony export */ __makeTemplateObject: () => (/* binding */ __makeTemplateObject),
|
|
2733
|
+
/* harmony export */ __metadata: () => (/* binding */ __metadata),
|
|
2734
|
+
/* harmony export */ __param: () => (/* binding */ __param),
|
|
2735
|
+
/* harmony export */ __propKey: () => (/* binding */ __propKey),
|
|
2736
|
+
/* harmony export */ __read: () => (/* binding */ __read),
|
|
2737
|
+
/* harmony export */ __rest: () => (/* binding */ __rest),
|
|
2738
|
+
/* harmony export */ __runInitializers: () => (/* binding */ __runInitializers),
|
|
2739
|
+
/* harmony export */ __setFunctionName: () => (/* binding */ __setFunctionName),
|
|
2740
|
+
/* harmony export */ __spread: () => (/* binding */ __spread),
|
|
2741
|
+
/* harmony export */ __spreadArray: () => (/* binding */ __spreadArray),
|
|
2742
|
+
/* harmony export */ __spreadArrays: () => (/* binding */ __spreadArrays),
|
|
2743
|
+
/* harmony export */ __values: () => (/* binding */ __values)
|
|
2739
2744
|
/* harmony export */ });
|
|
2740
2745
|
/******************************************************************************
|
|
2741
2746
|
Copyright (c) Microsoft Corporation.
|