@adtrackify/at-tracking-event-types 4.6.1 → 4.6.3

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 (369) 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 +22 -22
  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/analytics-enums.js.map +1 -1
  16. package/dist/cjs/types/api/analytics/event-tracking-types.d.ts +44 -44
  17. package/dist/cjs/types/api/analytics/event-tracking-types.js +3 -3
  18. package/dist/cjs/types/api/analytics/index.d.ts +3 -3
  19. package/dist/cjs/types/api/analytics/index.js +19 -19
  20. package/dist/cjs/types/api/analytics/query-types.d.ts +66 -66
  21. package/dist/cjs/types/api/analytics/query-types.js +2 -2
  22. package/dist/cjs/types/api/contact-acquisition/contact-acquisition.d.ts +106 -106
  23. package/dist/cjs/types/api/contact-acquisition/contact-acquisition.js +21 -21
  24. package/dist/cjs/types/api/contact-acquisition/email-verification.d.ts +30 -30
  25. package/dist/cjs/types/api/contact-acquisition/email-verification.js +11 -11
  26. package/dist/cjs/types/api/contact-acquisition/index.d.ts +6 -6
  27. package/dist/cjs/types/api/contact-acquisition/index.js +22 -22
  28. package/dist/cjs/types/api/contact-acquisition/purchased-contact.d.ts +35 -35
  29. package/dist/cjs/types/api/contact-acquisition/purchased-contact.js +8 -8
  30. package/dist/cjs/types/api/contact-acquisition/purchased-traits.d.ts +63 -63
  31. package/dist/cjs/types/api/contact-acquisition/purchased-traits.js +2 -2
  32. package/dist/cjs/types/api/contact-acquisition/third-party-contact.d.ts +44 -44
  33. package/dist/cjs/types/api/contact-acquisition/third-party-contact.js +2 -2
  34. package/dist/cjs/types/api/contact-acquisition/third-party-cookie-contact-acquisition.d.ts +6 -6
  35. package/dist/cjs/types/api/contact-acquisition/third-party-cookie-contact-acquisition.js +2 -2
  36. package/dist/cjs/types/api/dashboards/index.d.ts +1 -1
  37. package/dist/cjs/types/api/dashboards/index.js +17 -17
  38. package/dist/cjs/types/api/dashboards/widget.d.ts +127 -127
  39. package/dist/cjs/types/api/dashboards/widget.js +36 -36
  40. package/dist/cjs/types/api/destinations/destination-catalog.d.ts +30 -30
  41. package/dist/cjs/types/api/destinations/destination-catalog.js +2 -2
  42. package/dist/cjs/types/api/destinations/destination-enums.d.ts +42 -42
  43. package/dist/cjs/types/api/destinations/destination-enums.js +48 -48
  44. package/dist/cjs/types/api/destinations/destinations.d.ts +65 -65
  45. package/dist/cjs/types/api/destinations/destinations.js +2 -2
  46. package/dist/cjs/types/api/destinations/index.d.ts +6 -6
  47. package/dist/cjs/types/api/destinations/index.js +22 -22
  48. package/dist/cjs/types/api/destinations/third-party-contact-acquisition-configs.d.ts +9 -9
  49. package/dist/cjs/types/api/destinations/third-party-contact-acquisition-configs.js +2 -2
  50. package/dist/cjs/types/api/destinations/third-party-destination-configs.d.ts +185 -185
  51. package/dist/cjs/types/api/destinations/third-party-destination-configs.js +23 -23
  52. package/dist/cjs/types/api/destinations/third-party-integration-configs.d.ts +67 -67
  53. package/dist/cjs/types/api/destinations/third-party-integration-configs.js +11 -11
  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 +156 -156
  59. package/dist/cjs/types/api/emq/emq-types.js +7 -7
  60. package/dist/cjs/types/api/emq/index.d.ts +3 -3
  61. package/dist/cjs/types/api/emq/index.js +19 -19
  62. package/dist/cjs/types/api/feature.d.ts +229 -229
  63. package/dist/cjs/types/api/feature.js +199 -199
  64. package/dist/cjs/types/api/health/health-enums.d.ts +7 -7
  65. package/dist/cjs/types/api/health/health-enums.js +11 -11
  66. package/dist/cjs/types/api/health/health-status.d.ts +14 -14
  67. package/dist/cjs/types/api/health/health-status.js +2 -2
  68. package/dist/cjs/types/api/health/index.d.ts +3 -3
  69. package/dist/cjs/types/api/health/index.js +19 -19
  70. package/dist/cjs/types/api/health/pixel-health.d.ts +19 -19
  71. package/dist/cjs/types/api/health/pixel-health.js +2 -2
  72. package/dist/cjs/types/api/index.d.ts +15 -15
  73. package/dist/cjs/types/api/index.js +31 -31
  74. package/dist/cjs/types/api/logging/index.d.ts +1 -1
  75. package/dist/cjs/types/api/logging/index.js +17 -17
  76. package/dist/cjs/types/api/logging/logging-types.d.ts +22 -22
  77. package/dist/cjs/types/api/logging/logging-types.js +2 -2
  78. package/dist/cjs/types/api/measures/definitions/channel-measure-definitions.d.ts +2 -2
  79. package/dist/cjs/types/api/measures/definitions/channel-measure-definitions.js +1677 -1677
  80. package/dist/cjs/types/api/measures/definitions/core-measure-definitions.d.ts +2 -2
  81. package/dist/cjs/types/api/measures/definitions/core-measure-definitions.js +446 -446
  82. package/dist/cjs/types/api/measures/definitions/emq-measure-definitions.d.ts +2 -2
  83. package/dist/cjs/types/api/measures/definitions/emq-measure-definitions.js +232 -232
  84. package/dist/cjs/types/api/measures/definitions/emq-measure-definitions.js.map +1 -1
  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/measures/measures.js.map +1 -1
  112. package/dist/cjs/types/api/notifications/index.d.ts +3 -3
  113. package/dist/cjs/types/api/notifications/index.js +19 -19
  114. package/dist/cjs/types/api/notifications/notification-enums.d.ts +46 -46
  115. package/dist/cjs/types/api/notifications/notification-enums.js +54 -54
  116. package/dist/cjs/types/api/notifications/notification-enums.js.map +1 -1
  117. package/dist/cjs/types/api/notifications/notification-history.d.ts +25 -25
  118. package/dist/cjs/types/api/notifications/notification-history.js +2 -2
  119. package/dist/cjs/types/api/notifications/notification-settings.d.ts +17 -17
  120. package/dist/cjs/types/api/notifications/notification-settings.js +103 -103
  121. package/dist/cjs/types/api/promotion-code.d.ts +35 -35
  122. package/dist/cjs/types/api/promotion-code.js +9 -9
  123. package/dist/cjs/types/api/service-events/index.d.ts +3 -3
  124. package/dist/cjs/types/api/service-events/index.js +19 -19
  125. package/dist/cjs/types/api/service-events/service-event-details.d.ts +60 -127
  126. package/dist/cjs/types/api/service-events/service-event-details.js +2 -2
  127. package/dist/cjs/types/api/service-events/service-event-enums.d.ts +26 -33
  128. package/dist/cjs/types/api/service-events/service-event-enums.js +32 -39
  129. package/dist/cjs/types/api/service-events/service-event-enums.js.map +1 -1
  130. package/dist/cjs/types/api/service-events/service-event-wrappers.d.ts +16 -25
  131. package/dist/cjs/types/api/service-events/service-event-wrappers.js +2 -2
  132. package/dist/cjs/types/api/shopify/index.d.ts +2 -2
  133. package/dist/cjs/types/api/shopify/index.js +18 -18
  134. package/dist/cjs/types/api/shopify/shopify-enums.d.ts +10 -10
  135. package/dist/cjs/types/api/shopify/shopify-enums.js +14 -14
  136. package/dist/cjs/types/api/shopify/shopify-types.d.ts +32 -32
  137. package/dist/cjs/types/api/shopify/shopify-types.js +2 -2
  138. package/dist/cjs/types/api/subscriptions/index.d.ts +2 -2
  139. package/dist/cjs/types/api/subscriptions/index.js +18 -18
  140. package/dist/cjs/types/api/subscriptions/subscription-enums.d.ts +38 -38
  141. package/dist/cjs/types/api/subscriptions/subscription-enums.js +48 -48
  142. package/dist/cjs/types/api/subscriptions/subscription-types.d.ts +155 -155
  143. package/dist/cjs/types/api/subscriptions/subscription-types.js +2 -2
  144. package/dist/cjs/types/common/address.d.ts +22 -22
  145. package/dist/cjs/types/common/address.js +8 -8
  146. package/dist/cjs/types/common/currency.d.ts +1 -1
  147. package/dist/cjs/types/common/currency.js +63 -63
  148. package/dist/cjs/types/common/index.d.ts +2 -2
  149. package/dist/cjs/types/common/index.js +18 -18
  150. package/dist/cjs/types/event/base/event-name-enum.d.ts +123 -123
  151. package/dist/cjs/types/event/base/event-name-enum.js +129 -129
  152. package/dist/cjs/types/event/base/event.d.ts +20 -20
  153. package/dist/cjs/types/event/base/event.js +10 -10
  154. package/dist/cjs/types/event/base/index.d.ts +2 -2
  155. package/dist/cjs/types/event/base/index.js +18 -18
  156. package/dist/cjs/types/event/context/event-context-identity.d.ts +32 -32
  157. package/dist/cjs/types/event/context/event-context-identity.js +2 -2
  158. package/dist/cjs/types/event/context/event-context.d.ts +201 -201
  159. package/dist/cjs/types/event/context/event-context.js +2 -2
  160. package/dist/cjs/types/event/context/index.d.ts +2 -2
  161. package/dist/cjs/types/event/context/index.js +18 -18
  162. package/dist/cjs/types/event/index.d.ts +6 -6
  163. package/dist/cjs/types/event/index.js +22 -22
  164. package/dist/cjs/types/event/log-event.d.ts +35 -35
  165. package/dist/cjs/types/event/log-event.js +22 -22
  166. package/dist/cjs/types/event/metric-event.d.ts +13 -13
  167. package/dist/cjs/types/event/metric-event.js +2 -2
  168. package/dist/cjs/types/event/saas-event-properties.d.ts +47 -47
  169. package/dist/cjs/types/event/saas-event-properties.js +10 -10
  170. package/dist/cjs/types/event/tracking-event.d.ts +69 -69
  171. package/dist/cjs/types/event/tracking-event.js +2 -2
  172. package/dist/cjs/types/event-bus-event.d.ts +25 -25
  173. package/dist/cjs/types/event-bus-event.js +2 -2
  174. package/dist/cjs/types/fingerprint/browser-attributes.d.ts +60 -60
  175. package/dist/cjs/types/fingerprint/browser-attributes.js +2 -2
  176. package/dist/cjs/types/fingerprint/index.d.ts +6 -6
  177. package/dist/cjs/types/fingerprint/index.js +18 -18
  178. package/dist/cjs/types/fingerprint/server-attributes.d.ts +50 -50
  179. package/dist/cjs/types/fingerprint/server-attributes.js +2 -2
  180. package/dist/cjs/types/index.d.ts +7 -7
  181. package/dist/cjs/types/index.js +23 -23
  182. package/dist/cjs/types/third-party-event-configuration-types.d.ts +10 -10
  183. package/dist/cjs/types/third-party-event-configuration-types.js +2 -2
  184. package/dist/cjs/types/tracking-event-ingest-message.d.ts +12 -12
  185. package/dist/cjs/types/tracking-event-ingest-message.js +2 -2
  186. package/dist/esm/index.d.ts +1 -1
  187. package/dist/esm/index.js +1 -1
  188. package/dist/esm/types/api/accounts/account-enums.d.ts +82 -82
  189. package/dist/esm/types/api/accounts/account-enums.js +94 -94
  190. package/dist/esm/types/api/accounts/account-types.d.ts +76 -76
  191. package/dist/esm/types/api/accounts/account-types.js +1 -1
  192. package/dist/esm/types/api/accounts/index.d.ts +3 -3
  193. package/dist/esm/types/api/accounts/index.js +3 -3
  194. package/dist/esm/types/api/accounts/user-account-types.d.ts +22 -22
  195. package/dist/esm/types/api/accounts/user-account-types.js +1 -1
  196. package/dist/esm/types/api/analytics/analytics-enums.d.ts +95 -95
  197. package/dist/esm/types/api/analytics/analytics-enums.js +101 -101
  198. package/dist/esm/types/api/analytics/analytics-enums.js.map +1 -1
  199. package/dist/esm/types/api/analytics/event-tracking-types.d.ts +44 -44
  200. package/dist/esm/types/api/analytics/event-tracking-types.js +1 -1
  201. package/dist/esm/types/api/analytics/index.d.ts +3 -3
  202. package/dist/esm/types/api/analytics/index.js +3 -3
  203. package/dist/esm/types/api/analytics/query-types.d.ts +66 -66
  204. package/dist/esm/types/api/analytics/query-types.js +1 -1
  205. package/dist/esm/types/api/contact-acquisition/contact-acquisition.d.ts +106 -106
  206. package/dist/esm/types/api/contact-acquisition/contact-acquisition.js +18 -18
  207. package/dist/esm/types/api/contact-acquisition/email-verification.d.ts +30 -30
  208. package/dist/esm/types/api/contact-acquisition/email-verification.js +8 -8
  209. package/dist/esm/types/api/contact-acquisition/index.d.ts +6 -6
  210. package/dist/esm/types/api/contact-acquisition/index.js +6 -6
  211. package/dist/esm/types/api/contact-acquisition/purchased-contact.d.ts +35 -35
  212. package/dist/esm/types/api/contact-acquisition/purchased-contact.js +5 -5
  213. package/dist/esm/types/api/contact-acquisition/purchased-traits.d.ts +63 -63
  214. package/dist/esm/types/api/contact-acquisition/purchased-traits.js +1 -1
  215. package/dist/esm/types/api/contact-acquisition/third-party-contact.d.ts +44 -44
  216. package/dist/esm/types/api/contact-acquisition/third-party-contact.js +1 -1
  217. package/dist/esm/types/api/contact-acquisition/third-party-cookie-contact-acquisition.d.ts +6 -6
  218. package/dist/esm/types/api/contact-acquisition/third-party-cookie-contact-acquisition.js +1 -1
  219. package/dist/esm/types/api/dashboards/index.d.ts +1 -1
  220. package/dist/esm/types/api/dashboards/index.js +1 -1
  221. package/dist/esm/types/api/dashboards/widget.d.ts +127 -127
  222. package/dist/esm/types/api/dashboards/widget.js +33 -33
  223. package/dist/esm/types/api/destinations/destination-catalog.d.ts +30 -30
  224. package/dist/esm/types/api/destinations/destination-catalog.js +1 -1
  225. package/dist/esm/types/api/destinations/destination-enums.d.ts +42 -42
  226. package/dist/esm/types/api/destinations/destination-enums.js +45 -45
  227. package/dist/esm/types/api/destinations/destinations.d.ts +65 -65
  228. package/dist/esm/types/api/destinations/destinations.js +1 -1
  229. package/dist/esm/types/api/destinations/index.d.ts +6 -6
  230. package/dist/esm/types/api/destinations/index.js +6 -6
  231. package/dist/esm/types/api/destinations/third-party-contact-acquisition-configs.d.ts +9 -9
  232. package/dist/esm/types/api/destinations/third-party-contact-acquisition-configs.js +1 -1
  233. package/dist/esm/types/api/destinations/third-party-destination-configs.d.ts +185 -185
  234. package/dist/esm/types/api/destinations/third-party-destination-configs.js +20 -20
  235. package/dist/esm/types/api/destinations/third-party-integration-configs.d.ts +67 -67
  236. package/dist/esm/types/api/destinations/third-party-integration-configs.js +8 -8
  237. package/dist/esm/types/api/emq/emq-enums.d.ts +56 -56
  238. package/dist/esm/types/api/emq/emq-enums.js +63 -63
  239. package/dist/esm/types/api/emq/emq-health.d.ts +24 -24
  240. package/dist/esm/types/api/emq/emq-health.js +2 -2
  241. package/dist/esm/types/api/emq/emq-types.d.ts +156 -156
  242. package/dist/esm/types/api/emq/emq-types.js +4 -4
  243. package/dist/esm/types/api/emq/index.d.ts +3 -3
  244. package/dist/esm/types/api/emq/index.js +3 -3
  245. package/dist/esm/types/api/feature.d.ts +229 -229
  246. package/dist/esm/types/api/feature.js +196 -196
  247. package/dist/esm/types/api/health/health-enums.d.ts +7 -7
  248. package/dist/esm/types/api/health/health-enums.js +8 -8
  249. package/dist/esm/types/api/health/health-status.d.ts +14 -14
  250. package/dist/esm/types/api/health/health-status.js +1 -1
  251. package/dist/esm/types/api/health/index.d.ts +3 -3
  252. package/dist/esm/types/api/health/index.js +3 -3
  253. package/dist/esm/types/api/health/pixel-health.d.ts +19 -19
  254. package/dist/esm/types/api/health/pixel-health.js +1 -1
  255. package/dist/esm/types/api/index.d.ts +15 -15
  256. package/dist/esm/types/api/index.js +15 -15
  257. package/dist/esm/types/api/logging/index.d.ts +1 -1
  258. package/dist/esm/types/api/logging/index.js +1 -1
  259. package/dist/esm/types/api/logging/logging-types.d.ts +22 -22
  260. package/dist/esm/types/api/logging/logging-types.js +1 -1
  261. package/dist/esm/types/api/measures/definitions/channel-measure-definitions.d.ts +2 -2
  262. package/dist/esm/types/api/measures/definitions/channel-measure-definitions.js +1674 -1674
  263. package/dist/esm/types/api/measures/definitions/core-measure-definitions.d.ts +2 -2
  264. package/dist/esm/types/api/measures/definitions/core-measure-definitions.js +443 -443
  265. package/dist/esm/types/api/measures/definitions/emq-measure-definitions.d.ts +2 -2
  266. package/dist/esm/types/api/measures/definitions/emq-measure-definitions.js +229 -229
  267. package/dist/esm/types/api/measures/definitions/emq-measure-definitions.js.map +1 -1
  268. package/dist/esm/types/api/measures/definitions/facebook-measure-definitions.d.ts +2 -2
  269. package/dist/esm/types/api/measures/definitions/facebook-measure-definitions.js +1448 -1448
  270. package/dist/esm/types/api/measures/definitions/google-measure-definitions.d.ts +2 -2
  271. package/dist/esm/types/api/measures/definitions/google-measure-definitions.js +322 -322
  272. package/dist/esm/types/api/measures/definitions/index.d.ts +13 -13
  273. package/dist/esm/types/api/measures/definitions/index.js +13 -13
  274. package/dist/esm/types/api/measures/definitions/measure-applicable-contexts.d.ts +9 -9
  275. package/dist/esm/types/api/measures/definitions/measure-applicable-contexts.js +13 -13
  276. package/dist/esm/types/api/measures/definitions/measure-categories.d.ts +19 -19
  277. package/dist/esm/types/api/measures/definitions/measure-categories.js +20 -20
  278. package/dist/esm/types/api/measures/definitions/measure-definitions.d.ts +40 -40
  279. package/dist/esm/types/api/measures/definitions/measure-definitions.js +28 -28
  280. package/dist/esm/types/api/measures/definitions/measure-value-type.d.ts +8 -8
  281. package/dist/esm/types/api/measures/definitions/measure-value-type.js +9 -9
  282. package/dist/esm/types/api/measures/definitions/shopify/shopify-measure-definitions.d.ts +2 -2
  283. package/dist/esm/types/api/measures/definitions/shopify/shopify-measure-definitions.js +861 -861
  284. package/dist/esm/types/api/measures/definitions/shopify/shopify-nc-measure-definitions.d.ts +2 -2
  285. package/dist/esm/types/api/measures/definitions/shopify/shopify-nc-measure-definitions.js +447 -447
  286. package/dist/esm/types/api/measures/definitions/shopify/shopify-rc-measure-definitions.d.ts +2 -2
  287. package/dist/esm/types/api/measures/definitions/shopify/shopify-rc-measure-definitions.js +448 -448
  288. package/dist/esm/types/api/measures/definitions/tracked-measure-definitions.d.ts +2 -2
  289. package/dist/esm/types/api/measures/definitions/tracked-measure-definitions.js +506 -506
  290. package/dist/esm/types/api/measures/index.d.ts +2 -2
  291. package/dist/esm/types/api/measures/index.js +2 -2
  292. package/dist/esm/types/api/measures/measures.d.ts +471 -471
  293. package/dist/esm/types/api/measures/measures.js +472 -472
  294. package/dist/esm/types/api/measures/measures.js.map +1 -1
  295. package/dist/esm/types/api/notifications/index.d.ts +3 -3
  296. package/dist/esm/types/api/notifications/index.js +3 -3
  297. package/dist/esm/types/api/notifications/notification-enums.d.ts +46 -46
  298. package/dist/esm/types/api/notifications/notification-enums.js +51 -51
  299. package/dist/esm/types/api/notifications/notification-enums.js.map +1 -1
  300. package/dist/esm/types/api/notifications/notification-history.d.ts +25 -25
  301. package/dist/esm/types/api/notifications/notification-history.js +1 -1
  302. package/dist/esm/types/api/notifications/notification-settings.d.ts +17 -17
  303. package/dist/esm/types/api/notifications/notification-settings.js +99 -99
  304. package/dist/esm/types/api/promotion-code.d.ts +35 -35
  305. package/dist/esm/types/api/promotion-code.js +6 -6
  306. package/dist/esm/types/api/service-events/index.d.ts +3 -3
  307. package/dist/esm/types/api/service-events/index.js +3 -3
  308. package/dist/esm/types/api/service-events/service-event-details.d.ts +60 -127
  309. package/dist/esm/types/api/service-events/service-event-details.js +1 -1
  310. package/dist/esm/types/api/service-events/service-event-enums.d.ts +26 -33
  311. package/dist/esm/types/api/service-events/service-event-enums.js +29 -36
  312. package/dist/esm/types/api/service-events/service-event-enums.js.map +1 -1
  313. package/dist/esm/types/api/service-events/service-event-wrappers.d.ts +16 -25
  314. package/dist/esm/types/api/service-events/service-event-wrappers.js +1 -1
  315. package/dist/esm/types/api/shopify/index.d.ts +2 -2
  316. package/dist/esm/types/api/shopify/index.js +2 -2
  317. package/dist/esm/types/api/shopify/shopify-enums.d.ts +10 -10
  318. package/dist/esm/types/api/shopify/shopify-enums.js +11 -11
  319. package/dist/esm/types/api/shopify/shopify-types.d.ts +32 -32
  320. package/dist/esm/types/api/shopify/shopify-types.js +1 -1
  321. package/dist/esm/types/api/subscriptions/index.d.ts +2 -2
  322. package/dist/esm/types/api/subscriptions/index.js +2 -2
  323. package/dist/esm/types/api/subscriptions/subscription-enums.d.ts +38 -38
  324. package/dist/esm/types/api/subscriptions/subscription-enums.js +45 -45
  325. package/dist/esm/types/api/subscriptions/subscription-types.d.ts +155 -155
  326. package/dist/esm/types/api/subscriptions/subscription-types.js +1 -1
  327. package/dist/esm/types/common/address.d.ts +22 -22
  328. package/dist/esm/types/common/address.js +5 -5
  329. package/dist/esm/types/common/currency.d.ts +1 -1
  330. package/dist/esm/types/common/currency.js +60 -60
  331. package/dist/esm/types/common/index.d.ts +2 -2
  332. package/dist/esm/types/common/index.js +2 -2
  333. package/dist/esm/types/event/base/event-name-enum.d.ts +123 -123
  334. package/dist/esm/types/event/base/event-name-enum.js +126 -126
  335. package/dist/esm/types/event/base/event.d.ts +20 -20
  336. package/dist/esm/types/event/base/event.js +7 -7
  337. package/dist/esm/types/event/base/index.d.ts +2 -2
  338. package/dist/esm/types/event/base/index.js +2 -2
  339. package/dist/esm/types/event/context/event-context-identity.d.ts +32 -32
  340. package/dist/esm/types/event/context/event-context-identity.js +1 -1
  341. package/dist/esm/types/event/context/event-context.d.ts +201 -201
  342. package/dist/esm/types/event/context/event-context.js +1 -1
  343. package/dist/esm/types/event/context/index.d.ts +2 -2
  344. package/dist/esm/types/event/context/index.js +2 -2
  345. package/dist/esm/types/event/index.d.ts +6 -6
  346. package/dist/esm/types/event/index.js +6 -6
  347. package/dist/esm/types/event/log-event.d.ts +35 -35
  348. package/dist/esm/types/event/log-event.js +19 -19
  349. package/dist/esm/types/event/metric-event.d.ts +13 -13
  350. package/dist/esm/types/event/metric-event.js +1 -1
  351. package/dist/esm/types/event/saas-event-properties.d.ts +47 -47
  352. package/dist/esm/types/event/saas-event-properties.js +7 -7
  353. package/dist/esm/types/event/tracking-event.d.ts +69 -69
  354. package/dist/esm/types/event/tracking-event.js +1 -1
  355. package/dist/esm/types/event-bus-event.d.ts +25 -25
  356. package/dist/esm/types/event-bus-event.js +1 -1
  357. package/dist/esm/types/fingerprint/browser-attributes.d.ts +60 -60
  358. package/dist/esm/types/fingerprint/browser-attributes.js +1 -1
  359. package/dist/esm/types/fingerprint/index.d.ts +6 -6
  360. package/dist/esm/types/fingerprint/index.js +2 -2
  361. package/dist/esm/types/fingerprint/server-attributes.d.ts +50 -50
  362. package/dist/esm/types/fingerprint/server-attributes.js +1 -1
  363. package/dist/esm/types/index.d.ts +7 -7
  364. package/dist/esm/types/index.js +7 -7
  365. package/dist/esm/types/third-party-event-configuration-types.d.ts +10 -10
  366. package/dist/esm/types/third-party-event-configuration-types.js +1 -1
  367. package/dist/esm/types/tracking-event-ingest-message.d.ts +12 -12
  368. package/dist/esm/types/tracking-event-ingest-message.js +1 -1
  369. package/package.json +108 -108
@@ -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