@parra/parra-js-sdk 0.2.76 → 0.2.78

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 +14 -1
  2. package/package.json +1 -1
@@ -187,6 +187,7 @@ export interface TenantCollectionResponse {
187
187
  data: Array<Tenant>;
188
188
  }
189
189
  export interface TenantMetrics {
190
+ team_member_invitation_count: number;
190
191
  team_member_count: number;
191
192
  child_tenant_count: number;
192
193
  }
@@ -357,6 +358,7 @@ export interface ImageQuestionOption {
357
358
  title?: string | null;
358
359
  value: string;
359
360
  id: string;
361
+ image_asset_url: string;
360
362
  }
361
363
  export interface ImageQuestionBody {
362
364
  options: Array<ImageQuestionOption>;
@@ -429,7 +431,7 @@ export interface QuestionMetrics {
429
431
  type: QuestionType;
430
432
  data: QuestionMetricsData;
431
433
  }
432
- export declare type QuestionMetricsData = ChoiceQuestionMetricsBody;
434
+ export declare type QuestionMetricsData = ChoiceQuestionMetricsBody | InageQuestionMetricsBody;
433
435
  export interface ChoiceQuestionMetricsBody {
434
436
  options: Array<ChoiceQuestionMetricsOption>;
435
437
  }
@@ -440,6 +442,17 @@ export interface ChoiceQuestionMetricsOption {
440
442
  id: string;
441
443
  answer_count: number;
442
444
  }
445
+ export interface InageQuestionMetricsBody {
446
+ options: Array<ImageQuestionMetricsOption>;
447
+ }
448
+ export interface ImageQuestionMetricsOption {
449
+ image_asset_id: string;
450
+ title?: string | null;
451
+ value: string;
452
+ id: string;
453
+ image_asset_url: string;
454
+ answer_count: number;
455
+ }
443
456
  export interface NotificationRecipient {
444
457
  user_id?: string | null;
445
458
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.2.76",
3
+ "version": "0.2.78",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",