Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(analytics): update the typing for Item #7919

Merged
merged 1 commit into from
Jul 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 33 additions & 1 deletion packages/analytics/lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export namespace FirebaseAnalyticsTypes {
/**
* The Google [Place ID](https://developers.google.com/places/place-id) that corresponds to the associated item (String). Alternatively, you can supply your own custom Location ID.
*/
item_location_id?: string;
location_id?: string;
/**
* The Item variant.
*/
Expand All @@ -109,6 +109,38 @@ export namespace FirebaseAnalyticsTypes {
* See https://github.com/invertase/react-native-firebase/issues/4578#issuecomment-771703420 for more information
*/
price?: number;
/**
* The affiliation of the item.
*/
affiliation?: string;
/**
* The coupon associated with the item.
*/
coupon?: string;
/**
* The creative name associated with the item.
*/
creative_name?: string;
/**
* The creative slot associated with the item.
*/
creative_slot?: string;
/**
* The discount applied to the item.
*/
discount?: Currency;
/**
* The index of the item.
*/
index?: number;
/**
* The promotion ID associated with the item.
*/
promotion_id?: string;
/**
* The promotion name associated with the item.
*/
promotion_name?: string;
}

export interface AddPaymentInfoEventParameters {
Expand Down
Loading