react-covideo-embed 1.0.52 → 1.0.54

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.
@@ -1,26 +1,8 @@
1
- export interface CDKAttributes {
2
- user_id: number;
3
- user_role: string[];
4
- enterprise_id: string;
5
- company_id: number;
6
- company_name: string;
7
- store_id: string;
8
- store_name: string;
9
- customer_id?: number;
10
- is_internal_user?: boolean;
11
- }
12
- export interface VideoAttributes {
13
- video_id: number;
14
- video_type?: string;
15
- video_customer_name?: boolean;
16
- video_length?: number;
17
- video_title?: string;
18
- }
19
1
  export interface VehicleAttributes {
20
2
  vehicle?: string;
21
3
  price?: number;
22
- VIN?: string;
23
- stockNumber?: string;
4
+ vin?: string;
5
+ stock_number?: string;
24
6
  condition?: string;
25
7
  engine?: string;
26
8
  make?: string;
@@ -28,7 +10,7 @@ export interface VehicleAttributes {
28
10
  trim?: string;
29
11
  year?: number;
30
12
  mileage?: number;
31
- ext_Color?: string;
32
- int_Color?: string;
13
+ exterior_color?: string;
14
+ interior_color?: string;
33
15
  transmission?: string;
34
16
  }
@@ -14,8 +14,8 @@ export declare function trackInsertVideoMessage({ video, landingPage, callToActi
14
14
  eventName: 'Insert Video Message' | 'Copy Video Message';
15
15
  vin: string;
16
16
  userData: UserData;
17
- }): void;
18
- export declare function trackVideoInteraction(video: VideoListItem, videoAction: 'Send & Share' | 'Copy Video URL' | 'Voice Recorder', userData: UserData): void;
17
+ }): Promise<void>;
18
+ export declare function trackVideoInteraction(video: VideoListItem, videoAction: 'Insert' | 'Copy Video URL' | 'Voice Recorder', userData: UserData): Promise<void>;
19
19
  export declare function trackPageView({ pageUrl, userData, }: {
20
20
  pageUrl: string;
21
21
  userData: UserData;
@@ -24,6 +24,6 @@ export declare function trackSaveVideo({ userData, creationType, video, mergeIds
24
24
  userData: UserData;
25
25
  video?: VideoListItem | CreateVideoResponse;
26
26
  mergeIds?: number[];
27
- creationType: string;
27
+ creationType: 'Merged' | 'Recorded' | 'Uploaded' | 'Voiceover';
28
28
  payload?: Record<string, any>;
29
- }): void;
29
+ }): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-covideo-embed",
3
- "version": "1.0.52",
3
+ "version": "1.0.54",
4
4
  "private": false,
5
5
  "description": "Covideo platform as an embeddable React component.",
6
6
  "main": "./build/index.js",