@parra/parra-js-sdk 0.2.16 → 0.2.20

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.
@@ -128,6 +128,7 @@ export interface Question {
128
128
  active?: boolean;
129
129
  expires_at?: string | null;
130
130
  answer_quota?: number | null;
131
+ answer_count?: number;
131
132
  answer?: Answer;
132
133
  }
133
134
  export interface QuestionCollectionResponse {
@@ -252,7 +253,7 @@ declare class ParraAPI {
252
253
  });
253
254
  getTenantById: (tenant_id: string) => Promise<Tenant>;
254
255
  createTenantForUserById: (user_id: string, body?: CreateTenantRequestBody | undefined) => Promise<Tenant>;
255
- getTenantsForUserById: (user_id: string) => Promise<TenantCollectionResponse>;
256
+ getTenantsForUserById: (user_id: string) => Promise<TenantListResponse>;
256
257
  getTenantByUserIdAndTenantId: (user_id: string, tenant_id: string) => Promise<Tenant>;
257
258
  createApiKeyForTenantById: (tenant_id: string, body?: CreateApiKeyRequestBody | undefined) => Promise<ApiKeyWithSecretResponse>;
258
259
  getApiKeysForTenantById: (tenant_id: string) => Promise<ApiKeyCollectionResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.2.16",
3
+ "version": "0.2.20",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -22,7 +22,7 @@
22
22
  "typescript": "^3.9.7"
23
23
  },
24
24
  "dependencies": {
25
- "@parra/http-client": "0.0.5",
25
+ "@parra/http-client": "0.0.6",
26
26
  "isomorphic-fetch": "^3.0.0"
27
27
  }
28
28
  }