@parra/parra-js-sdk 0.3.106 → 0.3.108

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 +11 -2
  2. package/package.json +1 -1
@@ -35,7 +35,7 @@ export interface UserResponse {
35
35
  email_verified?: boolean;
36
36
  locale?: string | null;
37
37
  type: string;
38
- role?: string;
38
+ role?: string | null;
39
39
  role_other_description?: string | null;
40
40
  avatar?: ImageAssetStub;
41
41
  }
@@ -1415,9 +1415,14 @@ export interface UpdateApplicationRequestBody {
1415
1415
  description?: string | null;
1416
1416
  icon?: ImageAssetStub | null;
1417
1417
  }
1418
+ export interface TenantOnboarding {
1419
+ skipped?: boolean | null;
1420
+ goal?: string | null;
1421
+ }
1418
1422
  export interface Entitlement {
1419
1423
  }
1420
1424
  export interface TenantMetrics {
1425
+ application_count: number;
1421
1426
  child_tenant_count: number;
1422
1427
  question_count: number;
1423
1428
  answer_count: number;
@@ -1438,6 +1443,7 @@ export interface Tenant {
1438
1443
  name: string;
1439
1444
  is_test: boolean;
1440
1445
  parent_tenant_id?: string | null;
1446
+ onboarding?: TenantOnboarding | null;
1441
1447
  logo?: ImageAssetStub | null;
1442
1448
  entitlements?: Array<Entitlement> | null;
1443
1449
  metrics?: TenantMetrics | null;
@@ -1683,6 +1689,9 @@ export interface TenantUserCollectionResponse {
1683
1689
  }
1684
1690
  export interface UpdateTenantRequestBody {
1685
1691
  name?: string;
1692
+ onboarding_skipped?: boolean;
1693
+ onboarding_goal?: string | null;
1694
+ application_onboarding_skipped?: boolean;
1686
1695
  logo?: ImageAssetStub | null;
1687
1696
  }
1688
1697
  export interface CreateTenantForUserRequestBody {
@@ -1693,7 +1702,7 @@ export interface UpdateUserRequestBody {
1693
1702
  first_name: string;
1694
1703
  last_name: string;
1695
1704
  name: string;
1696
- role?: string;
1705
+ role?: string | null;
1697
1706
  role_other_description?: string | null;
1698
1707
  }
1699
1708
  export interface CreateIdentityRequestBody {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.106",
3
+ "version": "0.3.108",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",