@adtrackify/at-tracking-event-types 3.5.24 → 3.5.25

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