File tree Expand file tree Collapse file tree 1 file changed +26
-3
lines changed Expand file tree Collapse file tree 1 file changed +26
-3
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,6 @@ export interface PixelEventProperties {
32
32
*/
33
33
contents ?: object [ ] ;
34
34
35
- /** The currency for the `value` specified. */
36
- currency ?: string ;
37
-
38
35
/**
39
36
* Used with `InitiateCheckout` event.
40
37
* The number of items when checkout was initiated.
@@ -55,4 +52,30 @@ export interface PixelEventProperties {
55
52
56
53
/** The value of a user performing this event to the business. */
57
54
value ?: number ;
55
+
56
+ /**
57
+ * The currency for the `value` specified.
58
+ * @see {@link https://developers.facebook.com/docs/marketing-api/currencies }
59
+ */
60
+ currency ?:
61
+ 'AED' | 'ARS' | 'AUD' |
62
+ 'BDT' | 'BOB' | 'BRL' |
63
+ 'CAD' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CZK' |
64
+ 'DKK' | 'DZD' |
65
+ 'EGP' | 'EUR' |
66
+ 'GBP' | 'GTQ' |
67
+ 'HKD' | 'HNL' | 'HUF' |
68
+ 'IDR' | 'ILS' | 'INR' | 'ISK' |
69
+ 'JPY' |
70
+ 'KES' | 'KRW' |
71
+ 'MOP' | 'MXN' | 'MYR' |
72
+ 'NGN' | 'NIO' | 'NOK' | 'NZD' |
73
+ 'PEN' | 'PHP' | 'PKR' | 'PLN' | 'PYG' |
74
+ 'QAR' |
75
+ 'RON' | 'RUB' |
76
+ 'SAR' | 'SEK' | 'SGD' |
77
+ 'THB' | 'TRY' | 'TWD' |
78
+ 'USD' | 'UYU' |
79
+ 'VEF' | 'VND' |
80
+ 'ZAR' ;
58
81
}
You can’t perform that action at this time.
0 commit comments