@adtrackify/at-tracking-event-types 4.6.8 → 4.8.0

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 (363) hide show
  1. package/README.md +12 -12
  2. package/dist/cjs/index.d.ts +1 -1
  3. package/dist/cjs/index.js +17 -17
  4. package/dist/cjs/package.json +3 -3
  5. package/dist/cjs/types/api/accounts/account-enums.d.ts +82 -82
  6. package/dist/cjs/types/api/accounts/account-enums.js +97 -97
  7. package/dist/cjs/types/api/accounts/account-types.d.ts +76 -76
  8. package/dist/cjs/types/api/accounts/account-types.js +2 -2
  9. package/dist/cjs/types/api/accounts/index.d.ts +3 -3
  10. package/dist/cjs/types/api/accounts/index.js +19 -19
  11. package/dist/cjs/types/api/accounts/user-account-types.d.ts +17 -17
  12. package/dist/cjs/types/api/accounts/user-account-types.js +2 -2
  13. package/dist/cjs/types/api/analytics/analytics-enums.d.ts +95 -95
  14. package/dist/cjs/types/api/analytics/analytics-enums.js +104 -104
  15. package/dist/cjs/types/api/analytics/event-tracking-types.d.ts +44 -44
  16. package/dist/cjs/types/api/analytics/event-tracking-types.js +3 -3
  17. package/dist/cjs/types/api/analytics/index.d.ts +3 -3
  18. package/dist/cjs/types/api/analytics/index.js +19 -19
  19. package/dist/cjs/types/api/analytics/query-types.d.ts +66 -66
  20. package/dist/cjs/types/api/analytics/query-types.js +2 -2
  21. package/dist/cjs/types/api/contact-acquisition/contact-acquisition.d.ts +106 -106
  22. package/dist/cjs/types/api/contact-acquisition/contact-acquisition.js +21 -21
  23. package/dist/cjs/types/api/contact-acquisition/email-verification.d.ts +30 -30
  24. package/dist/cjs/types/api/contact-acquisition/email-verification.js +11 -11
  25. package/dist/cjs/types/api/contact-acquisition/index.d.ts +6 -6
  26. package/dist/cjs/types/api/contact-acquisition/index.js +22 -22
  27. package/dist/cjs/types/api/contact-acquisition/purchased-contact.d.ts +35 -35
  28. package/dist/cjs/types/api/contact-acquisition/purchased-contact.js +8 -8
  29. package/dist/cjs/types/api/contact-acquisition/purchased-traits.d.ts +63 -63
  30. package/dist/cjs/types/api/contact-acquisition/purchased-traits.js +2 -2
  31. package/dist/cjs/types/api/contact-acquisition/third-party-contact.d.ts +44 -44
  32. package/dist/cjs/types/api/contact-acquisition/third-party-contact.js +2 -2
  33. package/dist/cjs/types/api/contact-acquisition/third-party-cookie-contact-acquisition.d.ts +6 -6
  34. package/dist/cjs/types/api/contact-acquisition/third-party-cookie-contact-acquisition.js +2 -2
  35. package/dist/cjs/types/api/dashboards/index.d.ts +1 -1
  36. package/dist/cjs/types/api/dashboards/index.js +17 -17
  37. package/dist/cjs/types/api/dashboards/widget.d.ts +127 -127
  38. package/dist/cjs/types/api/dashboards/widget.js +36 -36
  39. package/dist/cjs/types/api/destinations/destination-catalog.d.ts +30 -30
  40. package/dist/cjs/types/api/destinations/destination-catalog.js +2 -2
  41. package/dist/cjs/types/api/destinations/destination-enums.d.ts +42 -42
  42. package/dist/cjs/types/api/destinations/destination-enums.js +48 -48
  43. package/dist/cjs/types/api/destinations/destinations.d.ts +65 -65
  44. package/dist/cjs/types/api/destinations/destinations.js +2 -2
  45. package/dist/cjs/types/api/destinations/index.d.ts +6 -6
  46. package/dist/cjs/types/api/destinations/index.js +22 -22
  47. package/dist/cjs/types/api/destinations/third-party-contact-acquisition-configs.d.ts +9 -9
  48. package/dist/cjs/types/api/destinations/third-party-contact-acquisition-configs.js +2 -2
  49. package/dist/cjs/types/api/destinations/third-party-destination-configs.d.ts +185 -185
  50. package/dist/cjs/types/api/destinations/third-party-destination-configs.js +23 -23
  51. package/dist/cjs/types/api/destinations/third-party-integration-configs.d.ts +68 -67
  52. package/dist/cjs/types/api/destinations/third-party-integration-configs.js +11 -11
  53. package/dist/cjs/types/api/destinations/third-party-integration-configs.js.map +1 -1
  54. package/dist/cjs/types/api/emq/emq-enums.d.ts +56 -56
  55. package/dist/cjs/types/api/emq/emq-enums.js +66 -66
  56. package/dist/cjs/types/api/emq/emq-health.d.ts +24 -24
  57. package/dist/cjs/types/api/emq/emq-health.js +5 -5
  58. package/dist/cjs/types/api/emq/emq-types.d.ts +165 -166
  59. package/dist/cjs/types/api/emq/emq-types.js +7 -7
  60. package/dist/cjs/types/api/emq/emq-types.js.map +1 -1
  61. package/dist/cjs/types/api/emq/index.d.ts +3 -3
  62. package/dist/cjs/types/api/emq/index.js +19 -19
  63. package/dist/cjs/types/api/feature.d.ts +229 -229
  64. package/dist/cjs/types/api/feature.js +199 -199
  65. package/dist/cjs/types/api/health/health-enums.d.ts +7 -7
  66. package/dist/cjs/types/api/health/health-enums.js +11 -11
  67. package/dist/cjs/types/api/health/health-status.d.ts +14 -14
  68. package/dist/cjs/types/api/health/health-status.js +2 -2
  69. package/dist/cjs/types/api/health/index.d.ts +3 -3
  70. package/dist/cjs/types/api/health/index.js +19 -19
  71. package/dist/cjs/types/api/health/pixel-health.d.ts +19 -19
  72. package/dist/cjs/types/api/health/pixel-health.js +2 -2
  73. package/dist/cjs/types/api/index.d.ts +15 -15
  74. package/dist/cjs/types/api/index.js +31 -31
  75. package/dist/cjs/types/api/logging/index.d.ts +1 -1
  76. package/dist/cjs/types/api/logging/index.js +17 -17
  77. package/dist/cjs/types/api/logging/logging-types.d.ts +22 -22
  78. package/dist/cjs/types/api/logging/logging-types.js +2 -2
  79. package/dist/cjs/types/api/measures/definitions/channel-measure-definitions.d.ts +2 -2
  80. package/dist/cjs/types/api/measures/definitions/channel-measure-definitions.js +1677 -1677
  81. package/dist/cjs/types/api/measures/definitions/core-measure-definitions.d.ts +2 -2
  82. package/dist/cjs/types/api/measures/definitions/core-measure-definitions.js +446 -446
  83. package/dist/cjs/types/api/measures/definitions/emq-measure-definitions.d.ts +2 -2
  84. package/dist/cjs/types/api/measures/definitions/emq-measure-definitions.js +232 -232
  85. package/dist/cjs/types/api/measures/definitions/facebook-measure-definitions.d.ts +2 -2
  86. package/dist/cjs/types/api/measures/definitions/facebook-measure-definitions.js +1451 -1451
  87. package/dist/cjs/types/api/measures/definitions/google-measure-definitions.d.ts +2 -2
  88. package/dist/cjs/types/api/measures/definitions/google-measure-definitions.js +325 -325
  89. package/dist/cjs/types/api/measures/definitions/index.d.ts +13 -13
  90. package/dist/cjs/types/api/measures/definitions/index.js +29 -29
  91. package/dist/cjs/types/api/measures/definitions/measure-applicable-contexts.d.ts +9 -9
  92. package/dist/cjs/types/api/measures/definitions/measure-applicable-contexts.js +16 -16
  93. package/dist/cjs/types/api/measures/definitions/measure-categories.d.ts +19 -19
  94. package/dist/cjs/types/api/measures/definitions/measure-categories.js +23 -23
  95. package/dist/cjs/types/api/measures/definitions/measure-definitions.d.ts +40 -40
  96. package/dist/cjs/types/api/measures/definitions/measure-definitions.js +31 -31
  97. package/dist/cjs/types/api/measures/definitions/measure-value-type.d.ts +8 -8
  98. package/dist/cjs/types/api/measures/definitions/measure-value-type.js +12 -12
  99. package/dist/cjs/types/api/measures/definitions/shopify/shopify-measure-definitions.d.ts +2 -2
  100. package/dist/cjs/types/api/measures/definitions/shopify/shopify-measure-definitions.js +864 -864
  101. package/dist/cjs/types/api/measures/definitions/shopify/shopify-nc-measure-definitions.d.ts +2 -2
  102. package/dist/cjs/types/api/measures/definitions/shopify/shopify-nc-measure-definitions.js +450 -450
  103. package/dist/cjs/types/api/measures/definitions/shopify/shopify-rc-measure-definitions.d.ts +2 -2
  104. package/dist/cjs/types/api/measures/definitions/shopify/shopify-rc-measure-definitions.js +451 -451
  105. package/dist/cjs/types/api/measures/definitions/tracked-measure-definitions.d.ts +2 -2
  106. package/dist/cjs/types/api/measures/definitions/tracked-measure-definitions.js +509 -509
  107. package/dist/cjs/types/api/measures/index.d.ts +2 -2
  108. package/dist/cjs/types/api/measures/index.js +18 -18
  109. package/dist/cjs/types/api/measures/measures.d.ts +471 -471
  110. package/dist/cjs/types/api/measures/measures.js +475 -475
  111. package/dist/cjs/types/api/notifications/index.d.ts +3 -3
  112. package/dist/cjs/types/api/notifications/index.js +19 -19
  113. package/dist/cjs/types/api/notifications/notification-enums.d.ts +44 -44
  114. package/dist/cjs/types/api/notifications/notification-enums.js +52 -52
  115. package/dist/cjs/types/api/notifications/notification-history.d.ts +25 -25
  116. package/dist/cjs/types/api/notifications/notification-history.js +2 -2
  117. package/dist/cjs/types/api/notifications/notification-settings.d.ts +21 -21
  118. package/dist/cjs/types/api/notifications/notification-settings.js +125 -125
  119. package/dist/cjs/types/api/promotion-code.d.ts +35 -35
  120. package/dist/cjs/types/api/promotion-code.js +9 -9
  121. package/dist/cjs/types/api/service-events/index.d.ts +3 -3
  122. package/dist/cjs/types/api/service-events/index.js +19 -19
  123. package/dist/cjs/types/api/service-events/service-event-details.d.ts +114 -114
  124. package/dist/cjs/types/api/service-events/service-event-details.js +2 -2
  125. package/dist/cjs/types/api/service-events/service-event-enums.d.ts +33 -33
  126. package/dist/cjs/types/api/service-events/service-event-enums.js +39 -39
  127. package/dist/cjs/types/api/service-events/service-event-wrappers.d.ts +24 -24
  128. package/dist/cjs/types/api/service-events/service-event-wrappers.js +2 -2
  129. package/dist/cjs/types/api/shopify/index.d.ts +2 -2
  130. package/dist/cjs/types/api/shopify/index.js +18 -18
  131. package/dist/cjs/types/api/shopify/shopify-enums.d.ts +10 -10
  132. package/dist/cjs/types/api/shopify/shopify-enums.js +14 -14
  133. package/dist/cjs/types/api/shopify/shopify-types.d.ts +32 -32
  134. package/dist/cjs/types/api/shopify/shopify-types.js +2 -2
  135. package/dist/cjs/types/api/subscriptions/index.d.ts +2 -2
  136. package/dist/cjs/types/api/subscriptions/index.js +18 -18
  137. package/dist/cjs/types/api/subscriptions/subscription-enums.d.ts +38 -38
  138. package/dist/cjs/types/api/subscriptions/subscription-enums.js +48 -48
  139. package/dist/cjs/types/api/subscriptions/subscription-types.d.ts +155 -155
  140. package/dist/cjs/types/api/subscriptions/subscription-types.js +2 -2
  141. package/dist/cjs/types/common/address.d.ts +22 -22
  142. package/dist/cjs/types/common/address.js +8 -8
  143. package/dist/cjs/types/common/currency.d.ts +1 -1
  144. package/dist/cjs/types/common/currency.js +63 -63
  145. package/dist/cjs/types/common/index.d.ts +2 -2
  146. package/dist/cjs/types/common/index.js +18 -18
  147. package/dist/cjs/types/event/base/event-name-enum.d.ts +123 -123
  148. package/dist/cjs/types/event/base/event-name-enum.js +129 -129
  149. package/dist/cjs/types/event/base/event.d.ts +20 -20
  150. package/dist/cjs/types/event/base/event.js +10 -10
  151. package/dist/cjs/types/event/base/index.d.ts +2 -2
  152. package/dist/cjs/types/event/base/index.js +18 -18
  153. package/dist/cjs/types/event/context/event-context-identity.d.ts +32 -32
  154. package/dist/cjs/types/event/context/event-context-identity.js +2 -2
  155. package/dist/cjs/types/event/context/event-context.d.ts +201 -201
  156. package/dist/cjs/types/event/context/event-context.js +2 -2
  157. package/dist/cjs/types/event/context/index.d.ts +2 -2
  158. package/dist/cjs/types/event/context/index.js +18 -18
  159. package/dist/cjs/types/event/index.d.ts +6 -6
  160. package/dist/cjs/types/event/index.js +22 -22
  161. package/dist/cjs/types/event/log-event.d.ts +35 -35
  162. package/dist/cjs/types/event/log-event.js +22 -22
  163. package/dist/cjs/types/event/metric-event.d.ts +13 -13
  164. package/dist/cjs/types/event/metric-event.js +2 -2
  165. package/dist/cjs/types/event/saas-event-properties.d.ts +47 -47
  166. package/dist/cjs/types/event/saas-event-properties.js +10 -10
  167. package/dist/cjs/types/event/tracking-event.d.ts +69 -69
  168. package/dist/cjs/types/event/tracking-event.js +2 -2
  169. package/dist/cjs/types/event-bus-event.d.ts +25 -25
  170. package/dist/cjs/types/event-bus-event.js +2 -2
  171. package/dist/cjs/types/fingerprint/browser-attributes.d.ts +60 -60
  172. package/dist/cjs/types/fingerprint/browser-attributes.js +2 -2
  173. package/dist/cjs/types/fingerprint/index.d.ts +6 -6
  174. package/dist/cjs/types/fingerprint/index.js +18 -18
  175. package/dist/cjs/types/fingerprint/server-attributes.d.ts +50 -50
  176. package/dist/cjs/types/fingerprint/server-attributes.js +2 -2
  177. package/dist/cjs/types/index.d.ts +7 -7
  178. package/dist/cjs/types/index.js +23 -23
  179. package/dist/cjs/types/third-party-event-configuration-types.d.ts +10 -10
  180. package/dist/cjs/types/third-party-event-configuration-types.js +2 -2
  181. package/dist/cjs/types/tracking-event-ingest-message.d.ts +12 -12
  182. package/dist/cjs/types/tracking-event-ingest-message.js +2 -2
  183. package/dist/esm/index.d.ts +1 -1
  184. package/dist/esm/index.js +1 -1
  185. package/dist/esm/types/api/accounts/account-enums.d.ts +82 -82
  186. package/dist/esm/types/api/accounts/account-enums.js +94 -94
  187. package/dist/esm/types/api/accounts/account-types.d.ts +76 -76
  188. package/dist/esm/types/api/accounts/account-types.js +1 -1
  189. package/dist/esm/types/api/accounts/index.d.ts +3 -3
  190. package/dist/esm/types/api/accounts/index.js +3 -3
  191. package/dist/esm/types/api/accounts/user-account-types.d.ts +17 -17
  192. package/dist/esm/types/api/accounts/user-account-types.js +1 -1
  193. package/dist/esm/types/api/analytics/analytics-enums.d.ts +95 -95
  194. package/dist/esm/types/api/analytics/analytics-enums.js +101 -101
  195. package/dist/esm/types/api/analytics/event-tracking-types.d.ts +44 -44
  196. package/dist/esm/types/api/analytics/event-tracking-types.js +1 -1
  197. package/dist/esm/types/api/analytics/index.d.ts +3 -3
  198. package/dist/esm/types/api/analytics/index.js +3 -3
  199. package/dist/esm/types/api/analytics/query-types.d.ts +66 -66
  200. package/dist/esm/types/api/analytics/query-types.js +1 -1
  201. package/dist/esm/types/api/contact-acquisition/contact-acquisition.d.ts +106 -106
  202. package/dist/esm/types/api/contact-acquisition/contact-acquisition.js +18 -18
  203. package/dist/esm/types/api/contact-acquisition/email-verification.d.ts +30 -30
  204. package/dist/esm/types/api/contact-acquisition/email-verification.js +8 -8
  205. package/dist/esm/types/api/contact-acquisition/index.d.ts +6 -6
  206. package/dist/esm/types/api/contact-acquisition/index.js +6 -6
  207. package/dist/esm/types/api/contact-acquisition/purchased-contact.d.ts +35 -35
  208. package/dist/esm/types/api/contact-acquisition/purchased-contact.js +5 -5
  209. package/dist/esm/types/api/contact-acquisition/purchased-traits.d.ts +63 -63
  210. package/dist/esm/types/api/contact-acquisition/purchased-traits.js +1 -1
  211. package/dist/esm/types/api/contact-acquisition/third-party-contact.d.ts +44 -44
  212. package/dist/esm/types/api/contact-acquisition/third-party-contact.js +1 -1
  213. package/dist/esm/types/api/contact-acquisition/third-party-cookie-contact-acquisition.d.ts +6 -6
  214. package/dist/esm/types/api/contact-acquisition/third-party-cookie-contact-acquisition.js +1 -1
  215. package/dist/esm/types/api/dashboards/index.d.ts +1 -1
  216. package/dist/esm/types/api/dashboards/index.js +1 -1
  217. package/dist/esm/types/api/dashboards/widget.d.ts +127 -127
  218. package/dist/esm/types/api/dashboards/widget.js +33 -33
  219. package/dist/esm/types/api/destinations/destination-catalog.d.ts +30 -30
  220. package/dist/esm/types/api/destinations/destination-catalog.js +1 -1
  221. package/dist/esm/types/api/destinations/destination-enums.d.ts +42 -42
  222. package/dist/esm/types/api/destinations/destination-enums.js +45 -45
  223. package/dist/esm/types/api/destinations/destinations.d.ts +65 -65
  224. package/dist/esm/types/api/destinations/destinations.js +1 -1
  225. package/dist/esm/types/api/destinations/index.d.ts +6 -6
  226. package/dist/esm/types/api/destinations/index.js +6 -6
  227. package/dist/esm/types/api/destinations/third-party-contact-acquisition-configs.d.ts +9 -9
  228. package/dist/esm/types/api/destinations/third-party-contact-acquisition-configs.js +1 -1
  229. package/dist/esm/types/api/destinations/third-party-destination-configs.d.ts +185 -185
  230. package/dist/esm/types/api/destinations/third-party-destination-configs.js +20 -20
  231. package/dist/esm/types/api/destinations/third-party-integration-configs.d.ts +68 -67
  232. package/dist/esm/types/api/destinations/third-party-integration-configs.js +8 -8
  233. package/dist/esm/types/api/destinations/third-party-integration-configs.js.map +1 -1
  234. package/dist/esm/types/api/emq/emq-enums.d.ts +56 -56
  235. package/dist/esm/types/api/emq/emq-enums.js +63 -63
  236. package/dist/esm/types/api/emq/emq-health.d.ts +24 -24
  237. package/dist/esm/types/api/emq/emq-health.js +2 -2
  238. package/dist/esm/types/api/emq/emq-types.d.ts +165 -166
  239. package/dist/esm/types/api/emq/emq-types.js +4 -4
  240. package/dist/esm/types/api/emq/emq-types.js.map +1 -1
  241. package/dist/esm/types/api/emq/index.d.ts +3 -3
  242. package/dist/esm/types/api/emq/index.js +3 -3
  243. package/dist/esm/types/api/feature.d.ts +229 -229
  244. package/dist/esm/types/api/feature.js +196 -196
  245. package/dist/esm/types/api/health/health-enums.d.ts +7 -7
  246. package/dist/esm/types/api/health/health-enums.js +8 -8
  247. package/dist/esm/types/api/health/health-status.d.ts +14 -14
  248. package/dist/esm/types/api/health/health-status.js +1 -1
  249. package/dist/esm/types/api/health/index.d.ts +3 -3
  250. package/dist/esm/types/api/health/index.js +3 -3
  251. package/dist/esm/types/api/health/pixel-health.d.ts +19 -19
  252. package/dist/esm/types/api/health/pixel-health.js +1 -1
  253. package/dist/esm/types/api/index.d.ts +15 -15
  254. package/dist/esm/types/api/index.js +15 -15
  255. package/dist/esm/types/api/logging/index.d.ts +1 -1
  256. package/dist/esm/types/api/logging/index.js +1 -1
  257. package/dist/esm/types/api/logging/logging-types.d.ts +22 -22
  258. package/dist/esm/types/api/logging/logging-types.js +1 -1
  259. package/dist/esm/types/api/measures/definitions/channel-measure-definitions.d.ts +2 -2
  260. package/dist/esm/types/api/measures/definitions/channel-measure-definitions.js +1674 -1674
  261. package/dist/esm/types/api/measures/definitions/core-measure-definitions.d.ts +2 -2
  262. package/dist/esm/types/api/measures/definitions/core-measure-definitions.js +443 -443
  263. package/dist/esm/types/api/measures/definitions/emq-measure-definitions.d.ts +2 -2
  264. package/dist/esm/types/api/measures/definitions/emq-measure-definitions.js +229 -229
  265. package/dist/esm/types/api/measures/definitions/facebook-measure-definitions.d.ts +2 -2
  266. package/dist/esm/types/api/measures/definitions/facebook-measure-definitions.js +1448 -1448
  267. package/dist/esm/types/api/measures/definitions/google-measure-definitions.d.ts +2 -2
  268. package/dist/esm/types/api/measures/definitions/google-measure-definitions.js +322 -322
  269. package/dist/esm/types/api/measures/definitions/index.d.ts +13 -13
  270. package/dist/esm/types/api/measures/definitions/index.js +13 -13
  271. package/dist/esm/types/api/measures/definitions/measure-applicable-contexts.d.ts +9 -9
  272. package/dist/esm/types/api/measures/definitions/measure-applicable-contexts.js +13 -13
  273. package/dist/esm/types/api/measures/definitions/measure-categories.d.ts +19 -19
  274. package/dist/esm/types/api/measures/definitions/measure-categories.js +20 -20
  275. package/dist/esm/types/api/measures/definitions/measure-definitions.d.ts +40 -40
  276. package/dist/esm/types/api/measures/definitions/measure-definitions.js +28 -28
  277. package/dist/esm/types/api/measures/definitions/measure-value-type.d.ts +8 -8
  278. package/dist/esm/types/api/measures/definitions/measure-value-type.js +9 -9
  279. package/dist/esm/types/api/measures/definitions/shopify/shopify-measure-definitions.d.ts +2 -2
  280. package/dist/esm/types/api/measures/definitions/shopify/shopify-measure-definitions.js +861 -861
  281. package/dist/esm/types/api/measures/definitions/shopify/shopify-nc-measure-definitions.d.ts +2 -2
  282. package/dist/esm/types/api/measures/definitions/shopify/shopify-nc-measure-definitions.js +447 -447
  283. package/dist/esm/types/api/measures/definitions/shopify/shopify-rc-measure-definitions.d.ts +2 -2
  284. package/dist/esm/types/api/measures/definitions/shopify/shopify-rc-measure-definitions.js +448 -448
  285. package/dist/esm/types/api/measures/definitions/tracked-measure-definitions.d.ts +2 -2
  286. package/dist/esm/types/api/measures/definitions/tracked-measure-definitions.js +506 -506
  287. package/dist/esm/types/api/measures/index.d.ts +2 -2
  288. package/dist/esm/types/api/measures/index.js +2 -2
  289. package/dist/esm/types/api/measures/measures.d.ts +471 -471
  290. package/dist/esm/types/api/measures/measures.js +472 -472
  291. package/dist/esm/types/api/notifications/index.d.ts +3 -3
  292. package/dist/esm/types/api/notifications/index.js +3 -3
  293. package/dist/esm/types/api/notifications/notification-enums.d.ts +44 -44
  294. package/dist/esm/types/api/notifications/notification-enums.js +49 -49
  295. package/dist/esm/types/api/notifications/notification-history.d.ts +25 -25
  296. package/dist/esm/types/api/notifications/notification-history.js +1 -1
  297. package/dist/esm/types/api/notifications/notification-settings.d.ts +21 -21
  298. package/dist/esm/types/api/notifications/notification-settings.js +121 -121
  299. package/dist/esm/types/api/promotion-code.d.ts +35 -35
  300. package/dist/esm/types/api/promotion-code.js +6 -6
  301. package/dist/esm/types/api/service-events/index.d.ts +3 -3
  302. package/dist/esm/types/api/service-events/index.js +3 -3
  303. package/dist/esm/types/api/service-events/service-event-details.d.ts +114 -114
  304. package/dist/esm/types/api/service-events/service-event-details.js +1 -1
  305. package/dist/esm/types/api/service-events/service-event-enums.d.ts +33 -33
  306. package/dist/esm/types/api/service-events/service-event-enums.js +36 -36
  307. package/dist/esm/types/api/service-events/service-event-wrappers.d.ts +24 -24
  308. package/dist/esm/types/api/service-events/service-event-wrappers.js +1 -1
  309. package/dist/esm/types/api/shopify/index.d.ts +2 -2
  310. package/dist/esm/types/api/shopify/index.js +2 -2
  311. package/dist/esm/types/api/shopify/shopify-enums.d.ts +10 -10
  312. package/dist/esm/types/api/shopify/shopify-enums.js +11 -11
  313. package/dist/esm/types/api/shopify/shopify-types.d.ts +32 -32
  314. package/dist/esm/types/api/shopify/shopify-types.js +1 -1
  315. package/dist/esm/types/api/subscriptions/index.d.ts +2 -2
  316. package/dist/esm/types/api/subscriptions/index.js +2 -2
  317. package/dist/esm/types/api/subscriptions/subscription-enums.d.ts +38 -38
  318. package/dist/esm/types/api/subscriptions/subscription-enums.js +45 -45
  319. package/dist/esm/types/api/subscriptions/subscription-types.d.ts +155 -155
  320. package/dist/esm/types/api/subscriptions/subscription-types.js +1 -1
  321. package/dist/esm/types/common/address.d.ts +22 -22
  322. package/dist/esm/types/common/address.js +5 -5
  323. package/dist/esm/types/common/currency.d.ts +1 -1
  324. package/dist/esm/types/common/currency.js +60 -60
  325. package/dist/esm/types/common/index.d.ts +2 -2
  326. package/dist/esm/types/common/index.js +2 -2
  327. package/dist/esm/types/event/base/event-name-enum.d.ts +123 -123
  328. package/dist/esm/types/event/base/event-name-enum.js +126 -126
  329. package/dist/esm/types/event/base/event.d.ts +20 -20
  330. package/dist/esm/types/event/base/event.js +7 -7
  331. package/dist/esm/types/event/base/index.d.ts +2 -2
  332. package/dist/esm/types/event/base/index.js +2 -2
  333. package/dist/esm/types/event/context/event-context-identity.d.ts +32 -32
  334. package/dist/esm/types/event/context/event-context-identity.js +1 -1
  335. package/dist/esm/types/event/context/event-context.d.ts +201 -201
  336. package/dist/esm/types/event/context/event-context.js +1 -1
  337. package/dist/esm/types/event/context/index.d.ts +2 -2
  338. package/dist/esm/types/event/context/index.js +2 -2
  339. package/dist/esm/types/event/index.d.ts +6 -6
  340. package/dist/esm/types/event/index.js +6 -6
  341. package/dist/esm/types/event/log-event.d.ts +35 -35
  342. package/dist/esm/types/event/log-event.js +19 -19
  343. package/dist/esm/types/event/metric-event.d.ts +13 -13
  344. package/dist/esm/types/event/metric-event.js +1 -1
  345. package/dist/esm/types/event/saas-event-properties.d.ts +47 -47
  346. package/dist/esm/types/event/saas-event-properties.js +7 -7
  347. package/dist/esm/types/event/tracking-event.d.ts +69 -69
  348. package/dist/esm/types/event/tracking-event.js +1 -1
  349. package/dist/esm/types/event-bus-event.d.ts +25 -25
  350. package/dist/esm/types/event-bus-event.js +1 -1
  351. package/dist/esm/types/fingerprint/browser-attributes.d.ts +60 -60
  352. package/dist/esm/types/fingerprint/browser-attributes.js +1 -1
  353. package/dist/esm/types/fingerprint/index.d.ts +6 -6
  354. package/dist/esm/types/fingerprint/index.js +2 -2
  355. package/dist/esm/types/fingerprint/server-attributes.d.ts +50 -50
  356. package/dist/esm/types/fingerprint/server-attributes.js +1 -1
  357. package/dist/esm/types/index.d.ts +7 -7
  358. package/dist/esm/types/index.js +7 -7
  359. package/dist/esm/types/third-party-event-configuration-types.d.ts +10 -10
  360. package/dist/esm/types/third-party-event-configuration-types.js +1 -1
  361. package/dist/esm/types/tracking-event-ingest-message.d.ts +12 -12
  362. package/dist/esm/types/tracking-event-ingest-message.js +1 -1
  363. package/package.json +110 -110
@@ -1,448 +1,448 @@
1
- import { MEASURE } from '../../measures.js';
2
- import { MEASURE_CATEGORY } from '../measure-categories.js';
3
- import { MeasureValueType } from '../measure-value-type.js';
4
- import { CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS, STANDARD_APPLICABLE_CONTEXTS } from '../measure-applicable-contexts.js';
5
- export const SHOPIFY_NEW_CUSTOMER_MEASURES_MAP = {
6
- [MEASURE.SHOPIFY_NEW_CUSTOMER_ORDERS]: {
7
- title: 'New Customer Orders',
8
- description: 'The number of orders from new customers.',
9
- sumPrefix: '',
10
- sumSuffix: '',
11
- avgPrefix: '',
12
- avgSuffix: '',
13
- icon: 'shopify',
14
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_ORDERS,
15
- category: MEASURE_CATEGORY.SALES,
16
- valueType: MeasureValueType.NUMBER,
17
- decimalPlaces: 0,
18
- useCompactNotation: false,
19
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
20
- },
21
- [MEASURE.SHOPIFY_NEW_CUSTOMERS]: {
22
- title: 'New Customers',
23
- description: 'The number of new customers.',
24
- sumPrefix: '',
25
- sumSuffix: '',
26
- avgPrefix: '',
27
- avgSuffix: '',
28
- icon: 'shopify',
29
- measure: MEASURE.SHOPIFY_NEW_CUSTOMERS,
30
- category: MEASURE_CATEGORY.SALES,
31
- valueType: MeasureValueType.NUMBER,
32
- decimalPlaces: 0,
33
- useCompactNotation: false,
34
- applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
35
- },
36
- [MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_REVENUE]: {
37
- title: 'New Customer Revenue',
38
- description: 'The total revenue from new customers.',
39
- sumPrefix: '$',
40
- sumSuffix: '',
41
- avgPrefix: '$',
42
- avgSuffix: '',
43
- icon: 'shopify',
44
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_REVENUE,
45
- category: MEASURE_CATEGORY.SALES,
46
- valueType: MeasureValueType.CURRENCY,
47
- decimalPlaces: 2,
48
- useCompactNotation: true,
49
- applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
50
- aliases: [
51
- MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_AMOUNT,
52
- MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_SALES,
53
- MEASURE.SHOPIFY_NEW_CUSTOMER_REVENUE,
54
- ],
55
- },
56
- [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PERCENT]: {
57
- title: 'New Customer Gross Percent',
58
- description: 'The percentage of gross sales from new customers.',
59
- sumPrefix: '',
60
- sumSuffix: '%',
61
- avgPrefix: '',
62
- avgSuffix: '%',
63
- icon: 'shopify',
64
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PERCENT,
65
- category: MEASURE_CATEGORY.SALES,
66
- valueType: MeasureValueType.PERCENTAGE,
67
- decimalPlaces: 2,
68
- useCompactNotation: false,
69
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
70
- },
71
- [MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_AOV]: {
72
- title: 'New Customer Total Average Order Value',
73
- description: 'The average value of an order from new customers.',
74
- sumPrefix: '$',
75
- sumSuffix: '',
76
- avgPrefix: '$',
77
- avgSuffix: '',
78
- icon: 'shopify',
79
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_AOV,
80
- category: MEASURE_CATEGORY.SALES,
81
- valueType: MeasureValueType.CURRENCY,
82
- decimalPlaces: 2,
83
- useCompactNotation: true,
84
- applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
85
- },
86
- [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_AOV]: {
87
- title: 'New Customer Gross Average Order Value',
88
- description: 'The average value of an order from new customers.',
89
- sumPrefix: '$',
90
- sumSuffix: '',
91
- avgPrefix: '$',
92
- avgSuffix: '',
93
- icon: 'shopify',
94
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_AOV,
95
- category: MEASURE_CATEGORY.SALES,
96
- valueType: MeasureValueType.CURRENCY,
97
- decimalPlaces: 2,
98
- useCompactNotation: true,
99
- applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
100
- aliases: [MEASURE.SHOPIFY_NEW_CUSTOMER_AOV],
101
- },
102
- [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_AOV]: {
103
- title: 'New Customer Net Average Order Value',
104
- description: 'The average value of an order from new customers after refunds.',
105
- sumPrefix: '$',
106
- sumSuffix: '',
107
- avgPrefix: '$',
108
- avgSuffix: '',
109
- icon: 'shopify',
110
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_AOV,
111
- category: MEASURE_CATEGORY.SALES,
112
- valueType: MeasureValueType.CURRENCY,
113
- decimalPlaces: 2,
114
- useCompactNotation: true,
115
- applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
116
- },
117
- [MEASURE.SHOPIFY_NEW_CUSTOMER_RATE]: {
118
- title: 'New Customer Rate',
119
- description: 'The percentage of customers that are new customers.',
120
- sumPrefix: '',
121
- sumSuffix: '%',
122
- avgPrefix: '',
123
- avgSuffix: '%',
124
- icon: 'shopify',
125
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_RATE,
126
- category: MEASURE_CATEGORY.SALES,
127
- valueType: MeasureValueType.PERCENTAGE,
128
- decimalPlaces: 2,
129
- useCompactNotation: false,
130
- applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
131
- },
132
- [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_SALES]: {
133
- title: 'New Customer Gross Sales',
134
- description: 'The gross sales of new customers.',
135
- sumPrefix: '$',
136
- sumSuffix: '',
137
- avgPrefix: '$',
138
- avgSuffix: '',
139
- icon: 'shopify',
140
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_SALES,
141
- category: MEASURE_CATEGORY.SALES,
142
- valueType: MeasureValueType.CURRENCY,
143
- decimalPlaces: 2,
144
- useCompactNotation: true,
145
- applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
146
- },
147
- [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_SALES]: {
148
- title: 'New Customer Net Sales',
149
- description: 'The net sales of new customers.',
150
- sumPrefix: '$',
151
- sumSuffix: '',
152
- avgPrefix: '$',
153
- avgSuffix: '',
154
- icon: 'shopify',
155
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_SALES,
156
- category: MEASURE_CATEGORY.SALES,
157
- valueType: MeasureValueType.CURRENCY,
158
- decimalPlaces: 2,
159
- useCompactNotation: true,
160
- applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
161
- },
162
- [MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_AMOUNT]: {
163
- title: 'New Customer Discount Amount',
164
- description: 'The total amount of discounts applied to orders from new customers.',
165
- sumPrefix: '$',
166
- sumSuffix: '',
167
- avgPrefix: '$',
168
- avgSuffix: '',
169
- icon: 'shopify',
170
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_AMOUNT,
171
- category: MEASURE_CATEGORY.SALES,
172
- valueType: MeasureValueType.CURRENCY,
173
- decimalPlaces: 2,
174
- useCompactNotation: true,
175
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
176
- },
177
- [MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_GROSS_PERCENT]: {
178
- title: 'New Customer Discount Rate (% of Gross Sales)',
179
- description: 'The percentage of gross sales amount that was discounted for new customers.',
180
- sumPrefix: '',
181
- sumSuffix: '%',
182
- avgPrefix: '',
183
- avgSuffix: '%',
184
- icon: 'shopify',
185
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_GROSS_PERCENT,
186
- category: MEASURE_CATEGORY.SALES,
187
- valueType: MeasureValueType.PERCENTAGE,
188
- decimalPlaces: 2,
189
- useCompactNotation: false,
190
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
191
- },
192
- [MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_RATE]: {
193
- title: 'New Customer Discounted Order Rate',
194
- description: 'The percentage of total orders from new customers that were discounted.',
195
- sumPrefix: '',
196
- sumSuffix: '%',
197
- avgPrefix: '',
198
- avgSuffix: '%',
199
- icon: 'shopify',
200
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_RATE,
201
- category: MEASURE_CATEGORY.SALES,
202
- valueType: MeasureValueType.PERCENTAGE,
203
- decimalPlaces: 2,
204
- useCompactNotation: false,
205
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
206
- },
207
- [MEASURE.SHOPIFY_NEW_CUSTOMER_REFUND_PLUS_DISCOUNT_AMOUNT]: {
208
- title: 'New Customer Refund Plus Discount Amount',
209
- description: 'The amount of refunds plus discounts given to all new customers.',
210
- sumPrefix: '$',
211
- sumSuffix: '',
212
- avgPrefix: '$',
213
- avgSuffix: '',
214
- icon: 'shopify',
215
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_REFUND_PLUS_DISCOUNT_AMOUNT,
216
- category: MEASURE_CATEGORY.SALES,
217
- valueType: MeasureValueType.CURRENCY,
218
- decimalPlaces: 2,
219
- useCompactNotation: true,
220
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
221
- },
222
- [MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST]: {
223
- title: 'New Customer Order Total Product Cost',
224
- description: 'The total cost of the products in an order from new customers.',
225
- sumPrefix: '$',
226
- sumSuffix: '',
227
- avgPrefix: '$',
228
- avgSuffix: '',
229
- icon: 'shopify',
230
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST,
231
- category: MEASURE_CATEGORY.SALES,
232
- valueType: MeasureValueType.CURRENCY,
233
- decimalPlaces: 2,
234
- useCompactNotation: true,
235
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
236
- },
237
- [MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST_GROSS_PERCENT]: {
238
- title: 'New Customer Order Total Product Cost (% of Gross Sales)',
239
- description: 'The percentage of gross sales from new customers that represents the total product cost.',
240
- sumPrefix: '',
241
- sumSuffix: '%',
242
- avgPrefix: '',
243
- avgSuffix: '%',
244
- icon: 'shopify',
245
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST_GROSS_PERCENT,
246
- category: MEASURE_CATEGORY.SALES,
247
- valueType: MeasureValueType.PERCENTAGE,
248
- decimalPlaces: 2,
249
- useCompactNotation: false,
250
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
251
- },
252
- [MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST_NET_PERCENT]: {
253
- title: 'New Customer Order Total Product Cost (% of Net Sales)',
254
- description: 'The percentage of net sales from new customers that represents the total product cost.',
255
- sumPrefix: '',
256
- sumSuffix: '%',
257
- avgPrefix: '',
258
- avgSuffix: '%',
259
- icon: 'shopify',
260
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST_NET_PERCENT,
261
- category: MEASURE_CATEGORY.SALES,
262
- valueType: MeasureValueType.PERCENTAGE,
263
- decimalPlaces: 2,
264
- useCompactNotation: false,
265
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
266
- },
267
- [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN]: {
268
- title: 'New Customer Gross Product Margin',
269
- description: 'Shopify new customer gross margin (New Customer Gross Sales - New Customer Total Product Cost)',
270
- sumPrefix: '$',
271
- sumSuffix: '',
272
- avgPrefix: '$',
273
- avgSuffix: '',
274
- icon: 'shopify',
275
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN,
276
- category: MEASURE_CATEGORY.SALES,
277
- valueType: MeasureValueType.CURRENCY,
278
- decimalPlaces: 2,
279
- useCompactNotation: true,
280
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
281
- },
282
- [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN_GROSS_PERCENT]: {
283
- title: 'New Customer Gross Product Margin (% of Gross Sales)',
284
- description: 'The percentage of gross sales from new customers that represents the gross product margin.',
285
- sumPrefix: '',
286
- sumSuffix: '%',
287
- avgPrefix: '',
288
- avgSuffix: '%',
289
- icon: 'shopify',
290
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN_GROSS_PERCENT,
291
- category: MEASURE_CATEGORY.SALES,
292
- valueType: MeasureValueType.PERCENTAGE,
293
- decimalPlaces: 2,
294
- useCompactNotation: false,
295
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
296
- },
297
- [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN_NET_PERCENT]: {
298
- title: 'New Customer Gross Product Margin (% of Net Sales)',
299
- description: 'The percentage of net sales from new customers that represents the gross product margin.',
300
- sumPrefix: '',
301
- sumSuffix: '%',
302
- avgPrefix: '',
303
- avgSuffix: '%',
304
- icon: 'shopify',
305
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN_NET_PERCENT,
306
- category: MEASURE_CATEGORY.SALES,
307
- valueType: MeasureValueType.PERCENTAGE,
308
- decimalPlaces: 2,
309
- useCompactNotation: false,
310
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
311
- },
312
- [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN]: {
313
- title: 'New Customer Net Product Margin',
314
- description: 'Shopify new customer net margin (New Customer Net Sales - New Customer Total Product Cost)',
315
- sumPrefix: '$',
316
- sumSuffix: '',
317
- avgPrefix: '$',
318
- avgSuffix: '',
319
- icon: 'shopify',
320
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN,
321
- category: MEASURE_CATEGORY.SALES,
322
- valueType: MeasureValueType.CURRENCY,
323
- decimalPlaces: 2,
324
- useCompactNotation: true,
325
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
326
- },
327
- [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN_GROSS_PERCENT]: {
328
- title: 'New Customer Net Product Margin (% of Gross Sales)',
329
- description: 'The percentage of gross sales from new customers that represents the net product margin.',
330
- sumPrefix: '',
331
- sumSuffix: '%',
332
- avgPrefix: '',
333
- avgSuffix: '%',
334
- icon: 'shopify',
335
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN_GROSS_PERCENT,
336
- category: MEASURE_CATEGORY.SALES,
337
- valueType: MeasureValueType.PERCENTAGE,
338
- decimalPlaces: 2,
339
- useCompactNotation: false,
340
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
341
- },
342
- [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN_NET_PERCENT]: {
343
- title: 'New Customer Net Product Margin (% of Net Sales)',
344
- description: 'The percentage of net sales from new customers that represents the net product margin.',
345
- sumPrefix: '',
346
- sumSuffix: '%',
347
- avgPrefix: '',
348
- avgSuffix: '%',
349
- icon: 'shopify',
350
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN_NET_PERCENT,
351
- category: MEASURE_CATEGORY.SALES,
352
- valueType: MeasureValueType.PERCENTAGE,
353
- decimalPlaces: 2,
354
- useCompactNotation: false,
355
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
356
- },
357
- [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN]: {
358
- title: 'New Customer Gross Margin',
359
- description: 'Shopify new customer gross margin (New Customer Gross Sales - New Customer Total Product Cost - Ad Spend)',
360
- sumPrefix: '$',
361
- sumSuffix: '',
362
- avgPrefix: '$',
363
- avgSuffix: '',
364
- icon: 'shopify',
365
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN,
366
- category: MEASURE_CATEGORY.SALES,
367
- valueType: MeasureValueType.CURRENCY,
368
- decimalPlaces: 2,
369
- useCompactNotation: true,
370
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
371
- },
372
- [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN_GROSS_PERCENT]: {
373
- title: 'New Customer Gross Margin (% of Gross Sales)',
374
- description: 'The percentage of gross sales from new customers that represents the gross margin.',
375
- sumPrefix: '',
376
- sumSuffix: '%',
377
- avgPrefix: '',
378
- avgSuffix: '%',
379
- icon: 'shopify',
380
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN_GROSS_PERCENT,
381
- category: MEASURE_CATEGORY.SALES,
382
- valueType: MeasureValueType.PERCENTAGE,
383
- decimalPlaces: 2,
384
- useCompactNotation: false,
385
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
386
- },
387
- [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN_NET_PERCENT]: {
388
- title: 'New Customer Gross Margin (% of Net Sales)',
389
- description: 'The percentage of net sales from new customers that represents the gross margin.',
390
- sumPrefix: '',
391
- sumSuffix: '%',
392
- avgPrefix: '',
393
- avgSuffix: '%',
394
- icon: 'shopify',
395
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN_NET_PERCENT,
396
- category: MEASURE_CATEGORY.SALES,
397
- valueType: MeasureValueType.PERCENTAGE,
398
- decimalPlaces: 2,
399
- useCompactNotation: false,
400
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
401
- },
402
- [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN]: {
403
- title: 'New Customer Net Margin',
404
- description: 'Shopify new customer net margin (New Customer Net Sales - New Customer Total Product Cost - Ad Spend)',
405
- sumPrefix: '$',
406
- sumSuffix: '',
407
- avgPrefix: '$',
408
- avgSuffix: '',
409
- icon: 'shopify',
410
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN,
411
- category: MEASURE_CATEGORY.SALES,
412
- valueType: MeasureValueType.CURRENCY,
413
- decimalPlaces: 2,
414
- useCompactNotation: true,
415
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
416
- },
417
- [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN_GROSS_PERCENT]: {
418
- title: 'New Customer Net Margin (% of Gross Sales)',
419
- description: 'The percentage of gross sales from new customers that represents the net margin.',
420
- sumPrefix: '',
421
- sumSuffix: '%',
422
- avgPrefix: '',
423
- avgSuffix: '%',
424
- icon: 'shopify',
425
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN_GROSS_PERCENT,
426
- category: MEASURE_CATEGORY.SALES,
427
- valueType: MeasureValueType.PERCENTAGE,
428
- decimalPlaces: 2,
429
- useCompactNotation: false,
430
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
431
- },
432
- [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN_NET_PERCENT]: {
433
- title: 'New Customer Net Margin (% of Net Sales)',
434
- description: 'The percentage of net sales from new customers that represents the net margin.',
435
- sumPrefix: '',
436
- sumSuffix: '%',
437
- avgPrefix: '',
438
- avgSuffix: '%',
439
- icon: 'shopify',
440
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN_NET_PERCENT,
441
- category: MEASURE_CATEGORY.SALES,
442
- valueType: MeasureValueType.PERCENTAGE,
443
- decimalPlaces: 2,
444
- useCompactNotation: false,
445
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
446
- },
447
- };
1
+ import { MEASURE } from '../../measures.js';
2
+ import { MEASURE_CATEGORY } from '../measure-categories.js';
3
+ import { MeasureValueType } from '../measure-value-type.js';
4
+ import { CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS, STANDARD_APPLICABLE_CONTEXTS } from '../measure-applicable-contexts.js';
5
+ export const SHOPIFY_NEW_CUSTOMER_MEASURES_MAP = {
6
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_ORDERS]: {
7
+ title: 'New Customer Orders',
8
+ description: 'The number of orders from new customers.',
9
+ sumPrefix: '',
10
+ sumSuffix: '',
11
+ avgPrefix: '',
12
+ avgSuffix: '',
13
+ icon: 'shopify',
14
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_ORDERS,
15
+ category: MEASURE_CATEGORY.SALES,
16
+ valueType: MeasureValueType.NUMBER,
17
+ decimalPlaces: 0,
18
+ useCompactNotation: false,
19
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
20
+ },
21
+ [MEASURE.SHOPIFY_NEW_CUSTOMERS]: {
22
+ title: 'New Customers',
23
+ description: 'The number of new customers.',
24
+ sumPrefix: '',
25
+ sumSuffix: '',
26
+ avgPrefix: '',
27
+ avgSuffix: '',
28
+ icon: 'shopify',
29
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMERS,
30
+ category: MEASURE_CATEGORY.SALES,
31
+ valueType: MeasureValueType.NUMBER,
32
+ decimalPlaces: 0,
33
+ useCompactNotation: false,
34
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
35
+ },
36
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_REVENUE]: {
37
+ title: 'New Customer Revenue',
38
+ description: 'The total revenue from new customers.',
39
+ sumPrefix: '$',
40
+ sumSuffix: '',
41
+ avgPrefix: '$',
42
+ avgSuffix: '',
43
+ icon: 'shopify',
44
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_REVENUE,
45
+ category: MEASURE_CATEGORY.SALES,
46
+ valueType: MeasureValueType.CURRENCY,
47
+ decimalPlaces: 2,
48
+ useCompactNotation: true,
49
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
50
+ aliases: [
51
+ MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_AMOUNT,
52
+ MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_SALES,
53
+ MEASURE.SHOPIFY_NEW_CUSTOMER_REVENUE,
54
+ ],
55
+ },
56
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PERCENT]: {
57
+ title: 'New Customer Gross Percent',
58
+ description: 'The percentage of gross sales from new customers.',
59
+ sumPrefix: '',
60
+ sumSuffix: '%',
61
+ avgPrefix: '',
62
+ avgSuffix: '%',
63
+ icon: 'shopify',
64
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PERCENT,
65
+ category: MEASURE_CATEGORY.SALES,
66
+ valueType: MeasureValueType.PERCENTAGE,
67
+ decimalPlaces: 2,
68
+ useCompactNotation: false,
69
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
70
+ },
71
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_AOV]: {
72
+ title: 'New Customer Total Average Order Value',
73
+ description: 'The average value of an order from new customers.',
74
+ sumPrefix: '$',
75
+ sumSuffix: '',
76
+ avgPrefix: '$',
77
+ avgSuffix: '',
78
+ icon: 'shopify',
79
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_AOV,
80
+ category: MEASURE_CATEGORY.SALES,
81
+ valueType: MeasureValueType.CURRENCY,
82
+ decimalPlaces: 2,
83
+ useCompactNotation: true,
84
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
85
+ },
86
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_AOV]: {
87
+ title: 'New Customer Gross Average Order Value',
88
+ description: 'The average value of an order from new customers.',
89
+ sumPrefix: '$',
90
+ sumSuffix: '',
91
+ avgPrefix: '$',
92
+ avgSuffix: '',
93
+ icon: 'shopify',
94
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_AOV,
95
+ category: MEASURE_CATEGORY.SALES,
96
+ valueType: MeasureValueType.CURRENCY,
97
+ decimalPlaces: 2,
98
+ useCompactNotation: true,
99
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
100
+ aliases: [MEASURE.SHOPIFY_NEW_CUSTOMER_AOV],
101
+ },
102
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_AOV]: {
103
+ title: 'New Customer Net Average Order Value',
104
+ description: 'The average value of an order from new customers after refunds.',
105
+ sumPrefix: '$',
106
+ sumSuffix: '',
107
+ avgPrefix: '$',
108
+ avgSuffix: '',
109
+ icon: 'shopify',
110
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_AOV,
111
+ category: MEASURE_CATEGORY.SALES,
112
+ valueType: MeasureValueType.CURRENCY,
113
+ decimalPlaces: 2,
114
+ useCompactNotation: true,
115
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
116
+ },
117
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_RATE]: {
118
+ title: 'New Customer Rate',
119
+ description: 'The percentage of customers that are new customers.',
120
+ sumPrefix: '',
121
+ sumSuffix: '%',
122
+ avgPrefix: '',
123
+ avgSuffix: '%',
124
+ icon: 'shopify',
125
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_RATE,
126
+ category: MEASURE_CATEGORY.SALES,
127
+ valueType: MeasureValueType.PERCENTAGE,
128
+ decimalPlaces: 2,
129
+ useCompactNotation: false,
130
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
131
+ },
132
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_SALES]: {
133
+ title: 'New Customer Gross Sales',
134
+ description: 'The gross sales of new customers.',
135
+ sumPrefix: '$',
136
+ sumSuffix: '',
137
+ avgPrefix: '$',
138
+ avgSuffix: '',
139
+ icon: 'shopify',
140
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_SALES,
141
+ category: MEASURE_CATEGORY.SALES,
142
+ valueType: MeasureValueType.CURRENCY,
143
+ decimalPlaces: 2,
144
+ useCompactNotation: true,
145
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
146
+ },
147
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_SALES]: {
148
+ title: 'New Customer Net Sales',
149
+ description: 'The net sales of new customers.',
150
+ sumPrefix: '$',
151
+ sumSuffix: '',
152
+ avgPrefix: '$',
153
+ avgSuffix: '',
154
+ icon: 'shopify',
155
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_SALES,
156
+ category: MEASURE_CATEGORY.SALES,
157
+ valueType: MeasureValueType.CURRENCY,
158
+ decimalPlaces: 2,
159
+ useCompactNotation: true,
160
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
161
+ },
162
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_AMOUNT]: {
163
+ title: 'New Customer Discount Amount',
164
+ description: 'The total amount of discounts applied to orders from new customers.',
165
+ sumPrefix: '$',
166
+ sumSuffix: '',
167
+ avgPrefix: '$',
168
+ avgSuffix: '',
169
+ icon: 'shopify',
170
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_AMOUNT,
171
+ category: MEASURE_CATEGORY.SALES,
172
+ valueType: MeasureValueType.CURRENCY,
173
+ decimalPlaces: 2,
174
+ useCompactNotation: true,
175
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
176
+ },
177
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_GROSS_PERCENT]: {
178
+ title: 'New Customer Discount Rate (% of Gross Sales)',
179
+ description: 'The percentage of gross sales amount that was discounted for new customers.',
180
+ sumPrefix: '',
181
+ sumSuffix: '%',
182
+ avgPrefix: '',
183
+ avgSuffix: '%',
184
+ icon: 'shopify',
185
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_GROSS_PERCENT,
186
+ category: MEASURE_CATEGORY.SALES,
187
+ valueType: MeasureValueType.PERCENTAGE,
188
+ decimalPlaces: 2,
189
+ useCompactNotation: false,
190
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
191
+ },
192
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_RATE]: {
193
+ title: 'New Customer Discounted Order Rate',
194
+ description: 'The percentage of total orders from new customers that were discounted.',
195
+ sumPrefix: '',
196
+ sumSuffix: '%',
197
+ avgPrefix: '',
198
+ avgSuffix: '%',
199
+ icon: 'shopify',
200
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_RATE,
201
+ category: MEASURE_CATEGORY.SALES,
202
+ valueType: MeasureValueType.PERCENTAGE,
203
+ decimalPlaces: 2,
204
+ useCompactNotation: false,
205
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
206
+ },
207
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_REFUND_PLUS_DISCOUNT_AMOUNT]: {
208
+ title: 'New Customer Refund Plus Discount Amount',
209
+ description: 'The amount of refunds plus discounts given to all new customers.',
210
+ sumPrefix: '$',
211
+ sumSuffix: '',
212
+ avgPrefix: '$',
213
+ avgSuffix: '',
214
+ icon: 'shopify',
215
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_REFUND_PLUS_DISCOUNT_AMOUNT,
216
+ category: MEASURE_CATEGORY.SALES,
217
+ valueType: MeasureValueType.CURRENCY,
218
+ decimalPlaces: 2,
219
+ useCompactNotation: true,
220
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
221
+ },
222
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST]: {
223
+ title: 'New Customer Order Total Product Cost',
224
+ description: 'The total cost of the products in an order from new customers.',
225
+ sumPrefix: '$',
226
+ sumSuffix: '',
227
+ avgPrefix: '$',
228
+ avgSuffix: '',
229
+ icon: 'shopify',
230
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST,
231
+ category: MEASURE_CATEGORY.SALES,
232
+ valueType: MeasureValueType.CURRENCY,
233
+ decimalPlaces: 2,
234
+ useCompactNotation: true,
235
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
236
+ },
237
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST_GROSS_PERCENT]: {
238
+ title: 'New Customer Order Total Product Cost (% of Gross Sales)',
239
+ description: 'The percentage of gross sales from new customers that represents the total product cost.',
240
+ sumPrefix: '',
241
+ sumSuffix: '%',
242
+ avgPrefix: '',
243
+ avgSuffix: '%',
244
+ icon: 'shopify',
245
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST_GROSS_PERCENT,
246
+ category: MEASURE_CATEGORY.SALES,
247
+ valueType: MeasureValueType.PERCENTAGE,
248
+ decimalPlaces: 2,
249
+ useCompactNotation: false,
250
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
251
+ },
252
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST_NET_PERCENT]: {
253
+ title: 'New Customer Order Total Product Cost (% of Net Sales)',
254
+ description: 'The percentage of net sales from new customers that represents the total product cost.',
255
+ sumPrefix: '',
256
+ sumSuffix: '%',
257
+ avgPrefix: '',
258
+ avgSuffix: '%',
259
+ icon: 'shopify',
260
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST_NET_PERCENT,
261
+ category: MEASURE_CATEGORY.SALES,
262
+ valueType: MeasureValueType.PERCENTAGE,
263
+ decimalPlaces: 2,
264
+ useCompactNotation: false,
265
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
266
+ },
267
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN]: {
268
+ title: 'New Customer Gross Product Margin',
269
+ description: 'Shopify new customer gross margin (New Customer Gross Sales - New Customer Total Product Cost)',
270
+ sumPrefix: '$',
271
+ sumSuffix: '',
272
+ avgPrefix: '$',
273
+ avgSuffix: '',
274
+ icon: 'shopify',
275
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN,
276
+ category: MEASURE_CATEGORY.SALES,
277
+ valueType: MeasureValueType.CURRENCY,
278
+ decimalPlaces: 2,
279
+ useCompactNotation: true,
280
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
281
+ },
282
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN_GROSS_PERCENT]: {
283
+ title: 'New Customer Gross Product Margin (% of Gross Sales)',
284
+ description: 'The percentage of gross sales from new customers that represents the gross product margin.',
285
+ sumPrefix: '',
286
+ sumSuffix: '%',
287
+ avgPrefix: '',
288
+ avgSuffix: '%',
289
+ icon: 'shopify',
290
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN_GROSS_PERCENT,
291
+ category: MEASURE_CATEGORY.SALES,
292
+ valueType: MeasureValueType.PERCENTAGE,
293
+ decimalPlaces: 2,
294
+ useCompactNotation: false,
295
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
296
+ },
297
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN_NET_PERCENT]: {
298
+ title: 'New Customer Gross Product Margin (% of Net Sales)',
299
+ description: 'The percentage of net sales from new customers that represents the gross product margin.',
300
+ sumPrefix: '',
301
+ sumSuffix: '%',
302
+ avgPrefix: '',
303
+ avgSuffix: '%',
304
+ icon: 'shopify',
305
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN_NET_PERCENT,
306
+ category: MEASURE_CATEGORY.SALES,
307
+ valueType: MeasureValueType.PERCENTAGE,
308
+ decimalPlaces: 2,
309
+ useCompactNotation: false,
310
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
311
+ },
312
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN]: {
313
+ title: 'New Customer Net Product Margin',
314
+ description: 'Shopify new customer net margin (New Customer Net Sales - New Customer Total Product Cost)',
315
+ sumPrefix: '$',
316
+ sumSuffix: '',
317
+ avgPrefix: '$',
318
+ avgSuffix: '',
319
+ icon: 'shopify',
320
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN,
321
+ category: MEASURE_CATEGORY.SALES,
322
+ valueType: MeasureValueType.CURRENCY,
323
+ decimalPlaces: 2,
324
+ useCompactNotation: true,
325
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
326
+ },
327
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN_GROSS_PERCENT]: {
328
+ title: 'New Customer Net Product Margin (% of Gross Sales)',
329
+ description: 'The percentage of gross sales from new customers that represents the net product margin.',
330
+ sumPrefix: '',
331
+ sumSuffix: '%',
332
+ avgPrefix: '',
333
+ avgSuffix: '%',
334
+ icon: 'shopify',
335
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN_GROSS_PERCENT,
336
+ category: MEASURE_CATEGORY.SALES,
337
+ valueType: MeasureValueType.PERCENTAGE,
338
+ decimalPlaces: 2,
339
+ useCompactNotation: false,
340
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
341
+ },
342
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN_NET_PERCENT]: {
343
+ title: 'New Customer Net Product Margin (% of Net Sales)',
344
+ description: 'The percentage of net sales from new customers that represents the net product margin.',
345
+ sumPrefix: '',
346
+ sumSuffix: '%',
347
+ avgPrefix: '',
348
+ avgSuffix: '%',
349
+ icon: 'shopify',
350
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN_NET_PERCENT,
351
+ category: MEASURE_CATEGORY.SALES,
352
+ valueType: MeasureValueType.PERCENTAGE,
353
+ decimalPlaces: 2,
354
+ useCompactNotation: false,
355
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
356
+ },
357
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN]: {
358
+ title: 'New Customer Gross Margin',
359
+ description: 'Shopify new customer gross margin (New Customer Gross Sales - New Customer Total Product Cost - Ad Spend)',
360
+ sumPrefix: '$',
361
+ sumSuffix: '',
362
+ avgPrefix: '$',
363
+ avgSuffix: '',
364
+ icon: 'shopify',
365
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN,
366
+ category: MEASURE_CATEGORY.SALES,
367
+ valueType: MeasureValueType.CURRENCY,
368
+ decimalPlaces: 2,
369
+ useCompactNotation: true,
370
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
371
+ },
372
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN_GROSS_PERCENT]: {
373
+ title: 'New Customer Gross Margin (% of Gross Sales)',
374
+ description: 'The percentage of gross sales from new customers that represents the gross margin.',
375
+ sumPrefix: '',
376
+ sumSuffix: '%',
377
+ avgPrefix: '',
378
+ avgSuffix: '%',
379
+ icon: 'shopify',
380
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN_GROSS_PERCENT,
381
+ category: MEASURE_CATEGORY.SALES,
382
+ valueType: MeasureValueType.PERCENTAGE,
383
+ decimalPlaces: 2,
384
+ useCompactNotation: false,
385
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
386
+ },
387
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN_NET_PERCENT]: {
388
+ title: 'New Customer Gross Margin (% of Net Sales)',
389
+ description: 'The percentage of net sales from new customers that represents the gross margin.',
390
+ sumPrefix: '',
391
+ sumSuffix: '%',
392
+ avgPrefix: '',
393
+ avgSuffix: '%',
394
+ icon: 'shopify',
395
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN_NET_PERCENT,
396
+ category: MEASURE_CATEGORY.SALES,
397
+ valueType: MeasureValueType.PERCENTAGE,
398
+ decimalPlaces: 2,
399
+ useCompactNotation: false,
400
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
401
+ },
402
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN]: {
403
+ title: 'New Customer Net Margin',
404
+ description: 'Shopify new customer net margin (New Customer Net Sales - New Customer Total Product Cost - Ad Spend)',
405
+ sumPrefix: '$',
406
+ sumSuffix: '',
407
+ avgPrefix: '$',
408
+ avgSuffix: '',
409
+ icon: 'shopify',
410
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN,
411
+ category: MEASURE_CATEGORY.SALES,
412
+ valueType: MeasureValueType.CURRENCY,
413
+ decimalPlaces: 2,
414
+ useCompactNotation: true,
415
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
416
+ },
417
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN_GROSS_PERCENT]: {
418
+ title: 'New Customer Net Margin (% of Gross Sales)',
419
+ description: 'The percentage of gross sales from new customers that represents the net margin.',
420
+ sumPrefix: '',
421
+ sumSuffix: '%',
422
+ avgPrefix: '',
423
+ avgSuffix: '%',
424
+ icon: 'shopify',
425
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN_GROSS_PERCENT,
426
+ category: MEASURE_CATEGORY.SALES,
427
+ valueType: MeasureValueType.PERCENTAGE,
428
+ decimalPlaces: 2,
429
+ useCompactNotation: false,
430
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
431
+ },
432
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN_NET_PERCENT]: {
433
+ title: 'New Customer Net Margin (% of Net Sales)',
434
+ description: 'The percentage of net sales from new customers that represents the net margin.',
435
+ sumPrefix: '',
436
+ sumSuffix: '%',
437
+ avgPrefix: '',
438
+ avgSuffix: '%',
439
+ icon: 'shopify',
440
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN_NET_PERCENT,
441
+ category: MEASURE_CATEGORY.SALES,
442
+ valueType: MeasureValueType.PERCENTAGE,
443
+ decimalPlaces: 2,
444
+ useCompactNotation: false,
445
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
446
+ },
447
+ };
448
448
  //# sourceMappingURL=shopify-nc-measure-definitions.js.map