@parra/parra-js-sdk 0.3.326 → 0.3.328

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.
Files changed (2) hide show
  1. package/dist/ParraAPI.d.ts +15 -3
  2. package/package.json +1 -1
@@ -268,7 +268,7 @@ export interface Domain {
268
268
  url: string;
269
269
  data?: DomainData | null;
270
270
  }
271
- export interface Entitlement {
271
+ export interface TenantEntitlement {
272
272
  }
273
273
  export interface CreateTenantRequestBody {
274
274
  name: string;
@@ -289,7 +289,7 @@ export interface TenantAppInfoStub {
289
289
  issuer: string;
290
290
  domains: Array<Domain> | null;
291
291
  urls: Array<string> | null;
292
- entitlements: Array<Entitlement> | null;
292
+ entitlements: Array<TenantEntitlement> | null;
293
293
  hide_branding: boolean;
294
294
  }
295
295
  export interface PasswordRule {
@@ -663,6 +663,18 @@ export interface CreateEntitlementRequestBody {
663
663
  key: string;
664
664
  description?: string | null;
665
665
  }
666
+ export interface Entitlement {
667
+ id: string;
668
+ created_at: string;
669
+ updated_at: string;
670
+ deleted_at?: string | null;
671
+ tenant_id: string;
672
+ title: string;
673
+ key: string;
674
+ description?: string | null;
675
+ disabled: boolean;
676
+ is_free: boolean;
677
+ }
666
678
  export interface UpdateProductRequestBody {
667
679
  title: string;
668
680
  key: string;
@@ -2894,7 +2906,7 @@ export interface Tenant {
2894
2906
  issuer: string;
2895
2907
  domains: Array<Domain> | null;
2896
2908
  urls: Array<string> | null;
2897
- entitlements: Array<Entitlement> | null;
2909
+ entitlements: Array<TenantEntitlement> | null;
2898
2910
  hide_branding: boolean;
2899
2911
  onboarding?: TenantOnboarding | null;
2900
2912
  metrics?: TenantMetrics | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.326",
3
+ "version": "0.3.328",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",