Skip to content

Commit

Permalink
Merge pull request #73 from permitio/maya/per-9280-users-bulk-request
Browse files Browse the repository at this point in the history
Maya/per 9280 users bulk request
  • Loading branch information
maya-barak authored Mar 6, 2024
2 parents c642bff + 3ef868d commit 377d7c3
Show file tree
Hide file tree
Showing 132 changed files with 2,620 additions and 1,020 deletions.
2 changes: 1 addition & 1 deletion docs/assets/search.js

Large diffs are not rendered by default.

100 changes: 50 additions & 50 deletions docs/classes/ApiClient.html

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions docs/classes/ApiContext.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">ApiContext</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/28855a0/src/api/context.ts#L103">src/api/context.ts:103</a></li></ul></aside>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/35478e3/src/api/context.ts#L103">src/api/context.ts:103</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand Down Expand Up @@ -77,7 +77,7 @@ <h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <a href="ApiContext.html" class="tsd-signature-type tsd-kind-class">ApiContext</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/28855a0/src/api/context.ts#L116">src/api/context.ts:116</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/35478e3/src/api/context.ts#L116">src/api/context.ts:116</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member"><a id="contextLevel" class="tsd-anchor"></a>
Expand All @@ -90,7 +90,7 @@ <h3 class="tsd-anchor-link"><span>context<wbr/>Level</span><a href="#contextLeve
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">ApiContextLevel</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/28855a0/src/api/context.ts#L167">src/api/context.ts:167</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/35478e3/src/api/context.ts#L167">src/api/context.ts:167</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="environment" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>environment</span><a href="#environment" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
Expand All @@ -101,7 +101,7 @@ <h3 class="tsd-anchor-link"><span>environment</span><a href="#environment" aria-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/28855a0/src/api/context.ts#L188">src/api/context.ts:188</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/35478e3/src/api/context.ts#L188">src/api/context.ts:188</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="environmentContext" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>environment<wbr/>Context</span><a href="#environmentContext" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
Expand All @@ -120,7 +120,7 @@ <h5><span class="tsd-kind-property">proj<wbr/>Id</span><span class="tsd-signatur
<h4>Throws</h4><p><a href="PermitContextError.html" class="tsd-kind-class">PermitContextError</a> If the API context is not set to environment level or the project or environment is null.</p>
</div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/28855a0/src/api/context.ts#L262">src/api/context.ts:262</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/35478e3/src/api/context.ts#L262">src/api/context.ts:262</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="level" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>level</span><a href="#level" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
Expand All @@ -133,7 +133,7 @@ <h4 class="tsd-returns-title">Returns <a href="../enums/ApiKeyLevel.html" class=
<h4>Deprecated</h4><p>replaced with permit.config.apiContext.permittedAccessLevel</p>
</div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/28855a0/src/api/context.ts#L160">src/api/context.ts:160</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/35478e3/src/api/context.ts#L160">src/api/context.ts:160</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="organization" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>organization</span><a href="#organization" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
Expand All @@ -144,7 +144,7 @@ <h3 class="tsd-anchor-link"><span>organization</span><a href="#organization" ari
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/28855a0/src/api/context.ts#L174">src/api/context.ts:174</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/35478e3/src/api/context.ts#L174">src/api/context.ts:174</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="permittedAccessLevel" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>permitted<wbr/>Access<wbr/>Level</span><a href="#permittedAccessLevel" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
Expand All @@ -155,7 +155,7 @@ <h3 class="tsd-anchor-link"><span>permitted<wbr/>Access<wbr/>Level</span><a href
<h4 class="tsd-returns-title">Returns <a href="../enums/ApiKeyLevel.html" class="tsd-signature-type tsd-kind-enum">ApiKeyLevel</a></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/28855a0/src/api/context.ts#L152">src/api/context.ts:152</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/35478e3/src/api/context.ts#L152">src/api/context.ts:152</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="project" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>project</span><a href="#project" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
Expand All @@ -166,7 +166,7 @@ <h3 class="tsd-anchor-link"><span>project</span><a href="#project" aria-label="P
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/28855a0/src/api/context.ts#L181">src/api/context.ts:181</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/35478e3/src/api/context.ts#L181">src/api/context.ts:181</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="_saveApiKeyAccessibleScope" class="tsd-anchor"></a>
Expand All @@ -188,7 +188,7 @@ <h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/28855a0/src/api/context.ts#L131">src/api/context.ts:131</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/35478e3/src/api/context.ts#L131">src/api/context.ts:131</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="setEnvironmentLevelContext" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Environment<wbr/>Level<wbr/>Context</span><a href="#setEnvironmentLevelContext" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
Expand Down Expand Up @@ -217,7 +217,7 @@ <h5><span class="tsd-kind-parameter">environment</span>: <span class="tsd-signat
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/28855a0/src/api/context.ts#L249">src/api/context.ts:249</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/35478e3/src/api/context.ts#L249">src/api/context.ts:249</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="setOrganizationLevelContext" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Organization<wbr/>Level<wbr/>Context</span><a href="#setOrganizationLevelContext" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
Expand All @@ -236,7 +236,7 @@ <h5><span class="tsd-kind-parameter">org</span>: <span class="tsd-signature-type
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/28855a0/src/api/context.ts#L222">src/api/context.ts:222</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/35478e3/src/api/context.ts#L222">src/api/context.ts:222</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="setProjectLevelContext" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Project<wbr/>Level<wbr/>Context</span><a href="#setProjectLevelContext" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
Expand All @@ -260,7 +260,7 @@ <h5><span class="tsd-kind-parameter">project</span>: <span class="tsd-signature-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/28855a0/src/api/context.ts#L235">src/api/context.ts:235</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/35478e3/src/api/context.ts#L235">src/api/context.ts:235</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
14 changes: 7 additions & 7 deletions docs/classes/ConditionSetRulesApi.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h4>Implements</h4>
<ul class="tsd-hierarchy">
<li><a href="../interfaces/IConditionSetRulesApi.html" class="tsd-signature-type tsd-kind-interface">IConditionSetRulesApi</a></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/28855a0/src/api/condition-set-rules.ts#L68">src/api/condition-set-rules.ts:68</a></li></ul></aside>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/35478e3/src/api/condition-set-rules.ts#L68">src/api/condition-set-rules.ts:68</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand Down Expand Up @@ -74,7 +74,7 @@ <h4 class="tsd-returns-title">Returns <a href="ConditionSetRulesApi.html" class=
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides BasePermitApi.constructor</p>
<ul>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/28855a0/src/api/condition-set-rules.ts#L76">src/api/condition-set-rules.ts:76</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/35478e3/src/api/condition-set-rules.ts#L76">src/api/condition-set-rules.ts:76</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="create" class="tsd-anchor"></a>
Expand All @@ -101,7 +101,7 @@ <h4>Throws</h4><p><a href="PermitContextError.html" class="tsd-kind-class">Permi
</div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/IConditionSetRulesApi.html">IConditionSetRulesApi</a>.<a href="../interfaces/IConditionSetRulesApi.html#create">create</a></p>
<ul>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/28855a0/src/api/condition-set-rules.ts#L121">src/api/condition-set-rules.ts:121</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/35478e3/src/api/condition-set-rules.ts#L121">src/api/condition-set-rules.ts:121</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="delete" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>delete</span><a href="#delete" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
Expand All @@ -126,7 +126,7 @@ <h4>Throws</h4><p><a href="PermitContextError.html" class="tsd-kind-class">Permi
</div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/IConditionSetRulesApi.html">IConditionSetRulesApi</a>.<a href="../interfaces/IConditionSetRulesApi.html#delete">delete</a></p>
<ul>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/28855a0/src/api/condition-set-rules.ts#L144">src/api/condition-set-rules.ts:144</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/35478e3/src/api/condition-set-rules.ts#L144">src/api/condition-set-rules.ts:144</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="ensureAccessLevel" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>ensure<wbr/>Access<wbr/>Level</span><a href="#ensureAccessLevel" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
Expand All @@ -149,7 +149,7 @@ <h4>Throws</h4><p>PermitContextError If the currently set API key access level d
</div><aside class="tsd-sources">
<p>Inherited from BasePermitApi.ensureAccessLevel</p>
<ul>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/28855a0/src/api/base.ts#L116">src/api/base.ts:116</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/35478e3/src/api/base.ts#L116">src/api/base.ts:116</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="ensureContext" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>ensure<wbr/>Context</span><a href="#ensureContext" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
Expand All @@ -171,7 +171,7 @@ <h4>Throws</h4><p>PermitContextError If the currently set API context level does
</div><aside class="tsd-sources">
<p>Inherited from BasePermitApi.ensureContext</p>
<ul>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/28855a0/src/api/base.ts#L143">src/api/base.ts:143</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/35478e3/src/api/base.ts#L143">src/api/base.ts:143</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="list" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>list</span><a href="#list" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
Expand All @@ -198,7 +198,7 @@ <h4>Throws</h4><p><a href="PermitContextError.html" class="tsd-kind-class">Permi
</div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/IConditionSetRulesApi.html">IConditionSetRulesApi</a>.<a href="../interfaces/IConditionSetRulesApi.html#list">list</a></p>
<ul>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/28855a0/src/api/condition-set-rules.ts#L93">src/api/condition-set-rules.ts:93</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/permitio/permit-node/blob/35478e3/src/api/condition-set-rules.ts#L93">src/api/condition-set-rules.ts:93</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
Loading

0 comments on commit 377d7c3

Please sign in to comment.