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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (397) 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/destination-enums.d.ts +42 -0
  29. package/dist/cjs/types/api/destinations/destination-enums.js +49 -0
  30. package/dist/cjs/types/api/destinations/destination-enums.js.map +1 -0
  31. package/dist/cjs/types/api/destinations/destinations.d.ts +68 -125
  32. package/dist/cjs/types/api/destinations/destinations.js +9 -56
  33. package/dist/cjs/types/api/destinations/destinations.js.map +1 -1
  34. package/dist/cjs/types/api/destinations/emq-health.d.ts +1 -16
  35. package/dist/cjs/types/api/destinations/emq-health.js +5 -2
  36. package/dist/cjs/types/api/destinations/emq-health.js.map +1 -1
  37. package/dist/cjs/types/api/destinations/index.d.ts +7 -6
  38. package/dist/cjs/types/api/destinations/index.js +23 -22
  39. package/dist/cjs/types/api/destinations/index.js.map +1 -1
  40. package/dist/cjs/types/api/destinations/third-party-contact-acquisition-configs.d.ts +9 -9
  41. package/dist/cjs/types/api/destinations/third-party-contact-acquisition-configs.js +2 -2
  42. package/dist/cjs/types/api/destinations/third-party-destination-configs.d.ts +185 -185
  43. package/dist/cjs/types/api/destinations/third-party-destination-configs.js +23 -23
  44. package/dist/cjs/types/api/destinations/third-party-integration-configs.d.ts +67 -67
  45. package/dist/cjs/types/api/destinations/third-party-integration-configs.js +11 -11
  46. package/dist/cjs/types/api/emq/emq-enums.d.ts +51 -0
  47. package/dist/cjs/types/api/emq/emq-enums.js +61 -0
  48. package/dist/cjs/types/api/emq/emq-enums.js.map +1 -0
  49. package/dist/cjs/types/api/emq/emq-health.d.ts +24 -0
  50. package/dist/cjs/types/api/emq/emq-health.js +6 -0
  51. package/dist/cjs/types/api/emq/emq-health.js.map +1 -0
  52. package/dist/cjs/types/api/emq/emq-types.d.ts +154 -160
  53. package/dist/cjs/types/api/emq/emq-types.js +13 -49
  54. package/dist/cjs/types/api/emq/emq-types.js.map +1 -1
  55. package/dist/cjs/types/api/emq/index.d.ts +3 -1
  56. package/dist/cjs/types/api/emq/index.js +19 -17
  57. package/dist/cjs/types/api/emq/index.js.map +1 -1
  58. package/dist/cjs/types/api/event-last-seen.d.ts +6 -6
  59. package/dist/cjs/types/api/event-last-seen.js +2 -2
  60. package/dist/cjs/types/api/event-status.d.ts +18 -18
  61. package/dist/cjs/types/api/event-status.js +9 -9
  62. package/dist/cjs/types/api/events/alert-events.d.ts +135 -175
  63. package/dist/cjs/types/api/events/alert-events.js +52 -53
  64. package/dist/cjs/types/api/events/alert-events.js.map +1 -1
  65. package/dist/cjs/types/api/events/index.d.ts +1 -1
  66. package/dist/cjs/types/api/events/index.js +17 -17
  67. package/dist/cjs/types/api/feature.d.ts +229 -229
  68. package/dist/cjs/types/api/feature.js +199 -199
  69. package/dist/cjs/types/api/health/health-enums.d.ts +7 -0
  70. package/dist/cjs/types/api/health/health-enums.js +12 -0
  71. package/dist/cjs/types/api/health/health-enums.js.map +1 -0
  72. package/dist/cjs/types/api/health/health-status.d.ts +14 -0
  73. package/dist/cjs/types/api/{pixel-setup-health.js → health/health-status.js} +3 -3
  74. package/dist/cjs/types/api/health/health-status.js.map +1 -0
  75. package/dist/cjs/types/api/health/index.d.ts +3 -0
  76. package/dist/cjs/types/api/health/index.js +20 -0
  77. package/dist/cjs/types/api/health/index.js.map +1 -0
  78. package/dist/cjs/types/api/{pixel-setup-health.d.ts → health/pixel-health.d.ts} +19 -19
  79. package/dist/cjs/types/api/health/pixel-health.js +3 -0
  80. package/dist/cjs/types/api/health/pixel-health.js.map +1 -0
  81. package/dist/cjs/types/api/index.d.ts +22 -25
  82. package/dist/cjs/types/api/index.js +38 -41
  83. package/dist/cjs/types/api/index.js.map +1 -1
  84. package/dist/cjs/types/api/log-events.d.ts +22 -22
  85. package/dist/cjs/types/api/log-events.js +2 -2
  86. package/dist/cjs/types/api/measures/definitions/channel-measure-definitions.d.ts +2 -2
  87. package/dist/cjs/types/api/measures/definitions/channel-measure-definitions.js +1677 -1677
  88. package/dist/cjs/types/api/measures/definitions/core-measure-definitions.d.ts +2 -2
  89. package/dist/cjs/types/api/measures/definitions/core-measure-definitions.js +446 -446
  90. package/dist/cjs/types/api/measures/definitions/emq-measure-definitions.d.ts +2 -2
  91. package/dist/cjs/types/api/measures/definitions/emq-measure-definitions.js +204 -204
  92. package/dist/cjs/types/api/measures/definitions/facebook-measure-definitions.d.ts +2 -2
  93. package/dist/cjs/types/api/measures/definitions/facebook-measure-definitions.js +1451 -1451
  94. package/dist/cjs/types/api/measures/definitions/google-measure-definitions.d.ts +2 -2
  95. package/dist/cjs/types/api/measures/definitions/google-measure-definitions.js +325 -325
  96. package/dist/cjs/types/api/measures/definitions/index.d.ts +13 -13
  97. package/dist/cjs/types/api/measures/definitions/index.js +29 -29
  98. package/dist/cjs/types/api/measures/definitions/measure-applicable-contexts.d.ts +9 -9
  99. package/dist/cjs/types/api/measures/definitions/measure-applicable-contexts.js +22 -22
  100. package/dist/cjs/types/api/measures/definitions/measure-categories.d.ts +19 -19
  101. package/dist/cjs/types/api/measures/definitions/measure-categories.js +23 -23
  102. package/dist/cjs/types/api/measures/definitions/measure-definitions.d.ts +40 -40
  103. package/dist/cjs/types/api/measures/definitions/measure-definitions.js +31 -31
  104. package/dist/cjs/types/api/measures/definitions/measure-value-type.d.ts +8 -8
  105. package/dist/cjs/types/api/measures/definitions/measure-value-type.js +12 -12
  106. package/dist/cjs/types/api/measures/definitions/shopify/shopify-measure-definitions.d.ts +2 -2
  107. package/dist/cjs/types/api/measures/definitions/shopify/shopify-measure-definitions.js +864 -864
  108. package/dist/cjs/types/api/measures/definitions/shopify/shopify-nc-measure-definitions.d.ts +2 -2
  109. package/dist/cjs/types/api/measures/definitions/shopify/shopify-nc-measure-definitions.js +446 -446
  110. package/dist/cjs/types/api/measures/definitions/shopify/shopify-rc-measure-definitions.d.ts +2 -2
  111. package/dist/cjs/types/api/measures/definitions/shopify/shopify-rc-measure-definitions.js +447 -447
  112. package/dist/cjs/types/api/measures/definitions/tracked-measure-definitions.d.ts +2 -2
  113. package/dist/cjs/types/api/measures/definitions/tracked-measure-definitions.js +509 -509
  114. package/dist/cjs/types/api/measures/index.d.ts +2 -2
  115. package/dist/cjs/types/api/measures/index.js +18 -18
  116. package/dist/cjs/types/api/measures/measures.d.ts +469 -469
  117. package/dist/cjs/types/api/measures/measures.js +473 -473
  118. package/dist/cjs/types/api/notifications/index.d.ts +3 -0
  119. package/dist/cjs/types/api/notifications/index.js +20 -0
  120. package/dist/cjs/types/api/notifications/index.js.map +1 -0
  121. package/dist/cjs/types/api/notifications/notification-enums.d.ts +32 -0
  122. package/dist/cjs/types/api/notifications/notification-enums.js +40 -0
  123. package/dist/cjs/types/api/notifications/notification-enums.js.map +1 -0
  124. package/dist/cjs/types/api/notifications/notification-history.d.ts +25 -0
  125. package/dist/cjs/types/api/notifications/notification-history.js +3 -0
  126. package/dist/cjs/types/api/notifications/notification-history.js.map +1 -0
  127. package/dist/cjs/types/api/notifications/notification-settings.d.ts +17 -0
  128. package/dist/cjs/types/api/notifications/notification-settings.js +104 -0
  129. package/dist/cjs/types/api/notifications/notification-settings.js.map +1 -0
  130. package/dist/cjs/types/api/promotion-code.d.ts +35 -35
  131. package/dist/cjs/types/api/promotion-code.js +9 -9
  132. package/dist/cjs/types/api/query.d.ts +153 -153
  133. package/dist/cjs/types/api/query.js +96 -96
  134. package/dist/cjs/types/api/service-events/index.d.ts +3 -0
  135. package/dist/cjs/types/api/service-events/index.js +20 -0
  136. package/dist/cjs/types/api/service-events/index.js.map +1 -0
  137. package/dist/cjs/types/api/service-events/service-event-details.d.ts +60 -0
  138. package/dist/cjs/types/api/service-events/service-event-details.js +3 -0
  139. package/dist/cjs/types/api/service-events/service-event-details.js.map +1 -0
  140. package/dist/cjs/types/api/service-events/service-event-enums.d.ts +20 -0
  141. package/dist/cjs/types/api/service-events/service-event-enums.js +27 -0
  142. package/dist/cjs/types/api/service-events/service-event-enums.js.map +1 -0
  143. package/dist/cjs/types/api/service-events/service-event-wrappers.d.ts +16 -0
  144. package/dist/cjs/types/api/service-events/service-event-wrappers.js +3 -0
  145. package/dist/cjs/types/api/service-events/service-event-wrappers.js.map +1 -0
  146. package/dist/cjs/types/api/shopify-app-install.d.ts +41 -41
  147. package/dist/cjs/types/api/shopify-app-install.js +14 -14
  148. package/dist/cjs/types/api/subscription.d.ts +192 -192
  149. package/dist/cjs/types/api/subscription.js +48 -48
  150. package/dist/cjs/types/api/tracking-events.d.ts +15 -15
  151. package/dist/cjs/types/api/tracking-events.js +2 -2
  152. package/dist/cjs/types/api/user-account.d.ts +32 -39
  153. package/dist/cjs/types/api/user-account.js +16 -16
  154. package/dist/cjs/types/api/user.d.ts +13 -13
  155. package/dist/cjs/types/api/user.js +2 -2
  156. package/dist/cjs/types/common/address.d.ts +22 -22
  157. package/dist/cjs/types/common/address.js +8 -8
  158. package/dist/cjs/types/common/currency.d.ts +1 -1
  159. package/dist/cjs/types/common/currency.js +63 -63
  160. package/dist/cjs/types/common/index.d.ts +2 -2
  161. package/dist/cjs/types/common/index.js +18 -18
  162. package/dist/cjs/types/event/base/event-name-enum.d.ts +123 -123
  163. package/dist/cjs/types/event/base/event-name-enum.js +129 -129
  164. package/dist/cjs/types/event/base/event.d.ts +20 -20
  165. package/dist/cjs/types/event/base/event.js +10 -10
  166. package/dist/cjs/types/event/base/index.d.ts +2 -2
  167. package/dist/cjs/types/event/base/index.js +18 -18
  168. package/dist/cjs/types/event/context/event-context-identity.d.ts +32 -32
  169. package/dist/cjs/types/event/context/event-context-identity.js +2 -2
  170. package/dist/cjs/types/event/context/event-context.d.ts +201 -201
  171. package/dist/cjs/types/event/context/event-context.js +2 -2
  172. package/dist/cjs/types/event/context/index.d.ts +2 -2
  173. package/dist/cjs/types/event/context/index.js +18 -18
  174. package/dist/cjs/types/event/index.d.ts +6 -6
  175. package/dist/cjs/types/event/index.js +22 -22
  176. package/dist/cjs/types/event/log-event.d.ts +35 -35
  177. package/dist/cjs/types/event/log-event.js +22 -22
  178. package/dist/cjs/types/event/metric-event.d.ts +13 -13
  179. package/dist/cjs/types/event/metric-event.js +2 -2
  180. package/dist/cjs/types/event/saas-event-properties.d.ts +47 -47
  181. package/dist/cjs/types/event/saas-event-properties.js +10 -10
  182. package/dist/cjs/types/event/tracking-event.d.ts +69 -69
  183. package/dist/cjs/types/event/tracking-event.js +2 -2
  184. package/dist/cjs/types/event-bus-event.d.ts +25 -25
  185. package/dist/cjs/types/event-bus-event.js +2 -2
  186. package/dist/cjs/types/fingerprint/browser-attributes.d.ts +60 -60
  187. package/dist/cjs/types/fingerprint/browser-attributes.js +2 -2
  188. package/dist/cjs/types/fingerprint/index.d.ts +6 -6
  189. package/dist/cjs/types/fingerprint/index.js +18 -18
  190. package/dist/cjs/types/fingerprint/server-attributes.d.ts +50 -50
  191. package/dist/cjs/types/fingerprint/server-attributes.js +2 -2
  192. package/dist/cjs/types/index.d.ts +7 -7
  193. package/dist/cjs/types/index.js +23 -23
  194. package/dist/cjs/types/third-party-event-configuration-types.d.ts +10 -10
  195. package/dist/cjs/types/third-party-event-configuration-types.js +2 -2
  196. package/dist/cjs/types/tracking-event-ingest-message.d.ts +12 -12
  197. package/dist/cjs/types/tracking-event-ingest-message.js +2 -2
  198. package/dist/esm/index.d.ts +1 -1
  199. package/dist/esm/index.js +1 -1
  200. package/dist/esm/types/api/account.d.ts +133 -133
  201. package/dist/esm/types/api/account.js +81 -81
  202. package/dist/esm/types/api/contact-acquisition/contact-acquisition.d.ts +106 -106
  203. package/dist/esm/types/api/contact-acquisition/contact-acquisition.js +18 -18
  204. package/dist/esm/types/api/contact-acquisition/email-verification.d.ts +30 -30
  205. package/dist/esm/types/api/contact-acquisition/email-verification.js +8 -8
  206. package/dist/esm/types/api/contact-acquisition/index.d.ts +6 -6
  207. package/dist/esm/types/api/contact-acquisition/index.js +6 -6
  208. package/dist/esm/types/api/contact-acquisition/purchased-contact.d.ts +35 -35
  209. package/dist/esm/types/api/contact-acquisition/purchased-contact.js +5 -5
  210. package/dist/esm/types/api/contact-acquisition/purchased-traits.d.ts +63 -63
  211. package/dist/esm/types/api/contact-acquisition/purchased-traits.js +1 -1
  212. package/dist/esm/types/api/contact-acquisition/third-party-contact.d.ts +44 -44
  213. package/dist/esm/types/api/contact-acquisition/third-party-contact.js +1 -1
  214. package/dist/esm/types/api/contact-acquisition/third-party-cookie-contact-acquisition.d.ts +6 -6
  215. package/dist/esm/types/api/contact-acquisition/third-party-cookie-contact-acquisition.js +1 -1
  216. package/dist/esm/types/api/dashboards/index.d.ts +1 -1
  217. package/dist/esm/types/api/dashboards/index.js +1 -1
  218. package/dist/esm/types/api/dashboards/widget.d.ts +126 -126
  219. package/dist/esm/types/api/dashboards/widget.js +33 -33
  220. package/dist/esm/types/api/destination-tracked-events.d.ts +11 -11
  221. package/dist/esm/types/api/destination-tracked-events.js +1 -1
  222. package/dist/esm/types/api/destinations/destination-catalog.d.ts +30 -30
  223. package/dist/esm/types/api/destinations/destination-catalog.js +1 -1
  224. package/dist/esm/types/api/destinations/destination-enums.d.ts +42 -0
  225. package/dist/esm/types/api/destinations/destination-enums.js +46 -0
  226. package/dist/esm/types/api/destinations/destination-enums.js.map +1 -0
  227. package/dist/esm/types/api/destinations/destinations.d.ts +68 -125
  228. package/dist/esm/types/api/destinations/destinations.js +2 -53
  229. package/dist/esm/types/api/destinations/destinations.js.map +1 -1
  230. package/dist/esm/types/api/destinations/emq-health.d.ts +1 -16
  231. package/dist/esm/types/api/destinations/emq-health.js +1 -1
  232. package/dist/esm/types/api/destinations/emq-health.js.map +1 -1
  233. package/dist/esm/types/api/destinations/index.d.ts +7 -6
  234. package/dist/esm/types/api/destinations/index.js +7 -6
  235. package/dist/esm/types/api/destinations/index.js.map +1 -1
  236. package/dist/esm/types/api/destinations/third-party-contact-acquisition-configs.d.ts +9 -9
  237. package/dist/esm/types/api/destinations/third-party-contact-acquisition-configs.js +1 -1
  238. package/dist/esm/types/api/destinations/third-party-destination-configs.d.ts +185 -185
  239. package/dist/esm/types/api/destinations/third-party-destination-configs.js +20 -20
  240. package/dist/esm/types/api/destinations/third-party-integration-configs.d.ts +67 -67
  241. package/dist/esm/types/api/destinations/third-party-integration-configs.js +8 -8
  242. package/dist/esm/types/api/emq/emq-enums.d.ts +51 -0
  243. package/dist/esm/types/api/emq/emq-enums.js +58 -0
  244. package/dist/esm/types/api/emq/emq-enums.js.map +1 -0
  245. package/dist/esm/types/api/emq/emq-health.d.ts +24 -0
  246. package/dist/esm/types/api/emq/emq-health.js +3 -0
  247. package/dist/esm/types/api/emq/emq-health.js.map +1 -0
  248. package/dist/esm/types/api/emq/emq-types.d.ts +154 -160
  249. package/dist/esm/types/api/emq/emq-types.js +5 -46
  250. package/dist/esm/types/api/emq/emq-types.js.map +1 -1
  251. package/dist/esm/types/api/emq/index.d.ts +3 -1
  252. package/dist/esm/types/api/emq/index.js +3 -1
  253. package/dist/esm/types/api/emq/index.js.map +1 -1
  254. package/dist/esm/types/api/event-last-seen.d.ts +6 -6
  255. package/dist/esm/types/api/event-last-seen.js +1 -1
  256. package/dist/esm/types/api/event-status.d.ts +18 -18
  257. package/dist/esm/types/api/event-status.js +6 -6
  258. package/dist/esm/types/api/events/alert-events.d.ts +135 -175
  259. package/dist/esm/types/api/events/alert-events.js +48 -50
  260. package/dist/esm/types/api/events/alert-events.js.map +1 -1
  261. package/dist/esm/types/api/events/index.d.ts +1 -1
  262. package/dist/esm/types/api/events/index.js +1 -1
  263. package/dist/esm/types/api/feature.d.ts +229 -229
  264. package/dist/esm/types/api/feature.js +196 -196
  265. package/dist/esm/types/api/health/health-enums.d.ts +7 -0
  266. package/dist/esm/types/api/health/health-enums.js +9 -0
  267. package/dist/esm/types/api/health/health-enums.js.map +1 -0
  268. package/dist/esm/types/api/health/health-status.d.ts +14 -0
  269. package/dist/esm/types/api/health/health-status.js +2 -0
  270. package/dist/esm/types/api/health/health-status.js.map +1 -0
  271. package/dist/esm/types/api/health/index.d.ts +3 -0
  272. package/dist/esm/types/api/health/index.js +4 -0
  273. package/dist/esm/types/api/health/index.js.map +1 -0
  274. package/dist/esm/types/api/{pixel-setup-health.d.ts → health/pixel-health.d.ts} +19 -19
  275. package/dist/esm/types/api/health/pixel-health.js +2 -0
  276. package/dist/esm/types/api/health/pixel-health.js.map +1 -0
  277. package/dist/esm/types/api/index.d.ts +22 -25
  278. package/dist/esm/types/api/index.js +22 -25
  279. package/dist/esm/types/api/index.js.map +1 -1
  280. package/dist/esm/types/api/log-events.d.ts +22 -22
  281. package/dist/esm/types/api/log-events.js +1 -1
  282. package/dist/esm/types/api/measures/definitions/channel-measure-definitions.d.ts +2 -2
  283. package/dist/esm/types/api/measures/definitions/channel-measure-definitions.js +1674 -1674
  284. package/dist/esm/types/api/measures/definitions/core-measure-definitions.d.ts +2 -2
  285. package/dist/esm/types/api/measures/definitions/core-measure-definitions.js +443 -443
  286. package/dist/esm/types/api/measures/definitions/emq-measure-definitions.d.ts +2 -2
  287. package/dist/esm/types/api/measures/definitions/emq-measure-definitions.js +201 -201
  288. package/dist/esm/types/api/measures/definitions/facebook-measure-definitions.d.ts +2 -2
  289. package/dist/esm/types/api/measures/definitions/facebook-measure-definitions.js +1448 -1448
  290. package/dist/esm/types/api/measures/definitions/google-measure-definitions.d.ts +2 -2
  291. package/dist/esm/types/api/measures/definitions/google-measure-definitions.js +322 -322
  292. package/dist/esm/types/api/measures/definitions/index.d.ts +13 -13
  293. package/dist/esm/types/api/measures/definitions/index.js +13 -13
  294. package/dist/esm/types/api/measures/definitions/measure-applicable-contexts.d.ts +9 -9
  295. package/dist/esm/types/api/measures/definitions/measure-applicable-contexts.js +19 -19
  296. package/dist/esm/types/api/measures/definitions/measure-categories.d.ts +19 -19
  297. package/dist/esm/types/api/measures/definitions/measure-categories.js +20 -20
  298. package/dist/esm/types/api/measures/definitions/measure-definitions.d.ts +40 -40
  299. package/dist/esm/types/api/measures/definitions/measure-definitions.js +28 -28
  300. package/dist/esm/types/api/measures/definitions/measure-value-type.d.ts +8 -8
  301. package/dist/esm/types/api/measures/definitions/measure-value-type.js +9 -9
  302. package/dist/esm/types/api/measures/definitions/shopify/shopify-measure-definitions.d.ts +2 -2
  303. package/dist/esm/types/api/measures/definitions/shopify/shopify-measure-definitions.js +861 -861
  304. package/dist/esm/types/api/measures/definitions/shopify/shopify-nc-measure-definitions.d.ts +2 -2
  305. package/dist/esm/types/api/measures/definitions/shopify/shopify-nc-measure-definitions.js +443 -443
  306. package/dist/esm/types/api/measures/definitions/shopify/shopify-rc-measure-definitions.d.ts +2 -2
  307. package/dist/esm/types/api/measures/definitions/shopify/shopify-rc-measure-definitions.js +444 -444
  308. package/dist/esm/types/api/measures/definitions/tracked-measure-definitions.d.ts +2 -2
  309. package/dist/esm/types/api/measures/definitions/tracked-measure-definitions.js +506 -506
  310. package/dist/esm/types/api/measures/index.d.ts +2 -2
  311. package/dist/esm/types/api/measures/index.js +2 -2
  312. package/dist/esm/types/api/measures/measures.d.ts +469 -469
  313. package/dist/esm/types/api/measures/measures.js +470 -470
  314. package/dist/esm/types/api/notifications/index.d.ts +3 -0
  315. package/dist/esm/types/api/notifications/index.js +4 -0
  316. package/dist/esm/types/api/notifications/index.js.map +1 -0
  317. package/dist/esm/types/api/notifications/notification-enums.d.ts +32 -0
  318. package/dist/esm/types/api/notifications/notification-enums.js +37 -0
  319. package/dist/esm/types/api/notifications/notification-enums.js.map +1 -0
  320. package/dist/esm/types/api/notifications/notification-history.d.ts +25 -0
  321. package/dist/esm/types/api/notifications/notification-history.js +2 -0
  322. package/dist/esm/types/api/notifications/notification-history.js.map +1 -0
  323. package/dist/esm/types/api/notifications/notification-settings.d.ts +17 -0
  324. package/dist/esm/types/api/notifications/notification-settings.js +100 -0
  325. package/dist/esm/types/api/notifications/notification-settings.js.map +1 -0
  326. package/dist/esm/types/api/promotion-code.d.ts +35 -35
  327. package/dist/esm/types/api/promotion-code.js +6 -6
  328. package/dist/esm/types/api/query.d.ts +153 -153
  329. package/dist/esm/types/api/query.js +93 -93
  330. package/dist/esm/types/api/service-events/index.d.ts +3 -0
  331. package/dist/esm/types/api/service-events/index.js +4 -0
  332. package/dist/esm/types/api/service-events/index.js.map +1 -0
  333. package/dist/esm/types/api/service-events/service-event-details.d.ts +60 -0
  334. package/dist/esm/types/api/service-events/service-event-details.js +2 -0
  335. package/dist/esm/types/api/service-events/service-event-details.js.map +1 -0
  336. package/dist/esm/types/api/service-events/service-event-enums.d.ts +20 -0
  337. package/dist/esm/types/api/service-events/service-event-enums.js +24 -0
  338. package/dist/esm/types/api/service-events/service-event-enums.js.map +1 -0
  339. package/dist/esm/types/api/service-events/service-event-wrappers.d.ts +16 -0
  340. package/dist/esm/types/api/service-events/service-event-wrappers.js +2 -0
  341. package/dist/esm/types/api/service-events/service-event-wrappers.js.map +1 -0
  342. package/dist/esm/types/api/shopify-app-install.d.ts +41 -41
  343. package/dist/esm/types/api/shopify-app-install.js +11 -11
  344. package/dist/esm/types/api/subscription.d.ts +192 -192
  345. package/dist/esm/types/api/subscription.js +45 -45
  346. package/dist/esm/types/api/tracking-events.d.ts +15 -15
  347. package/dist/esm/types/api/tracking-events.js +1 -1
  348. package/dist/esm/types/api/user-account.d.ts +32 -39
  349. package/dist/esm/types/api/user-account.js +13 -13
  350. package/dist/esm/types/api/user.d.ts +13 -13
  351. package/dist/esm/types/api/user.js +1 -1
  352. package/dist/esm/types/common/address.d.ts +22 -22
  353. package/dist/esm/types/common/address.js +5 -5
  354. package/dist/esm/types/common/currency.d.ts +1 -1
  355. package/dist/esm/types/common/currency.js +60 -60
  356. package/dist/esm/types/common/index.d.ts +2 -2
  357. package/dist/esm/types/common/index.js +2 -2
  358. package/dist/esm/types/event/base/event-name-enum.d.ts +123 -123
  359. package/dist/esm/types/event/base/event-name-enum.js +126 -126
  360. package/dist/esm/types/event/base/event.d.ts +20 -20
  361. package/dist/esm/types/event/base/event.js +7 -7
  362. package/dist/esm/types/event/base/index.d.ts +2 -2
  363. package/dist/esm/types/event/base/index.js +2 -2
  364. package/dist/esm/types/event/context/event-context-identity.d.ts +32 -32
  365. package/dist/esm/types/event/context/event-context-identity.js +1 -1
  366. package/dist/esm/types/event/context/event-context.d.ts +201 -201
  367. package/dist/esm/types/event/context/event-context.js +1 -1
  368. package/dist/esm/types/event/context/index.d.ts +2 -2
  369. package/dist/esm/types/event/context/index.js +2 -2
  370. package/dist/esm/types/event/index.d.ts +6 -6
  371. package/dist/esm/types/event/index.js +6 -6
  372. package/dist/esm/types/event/log-event.d.ts +35 -35
  373. package/dist/esm/types/event/log-event.js +19 -19
  374. package/dist/esm/types/event/metric-event.d.ts +13 -13
  375. package/dist/esm/types/event/metric-event.js +1 -1
  376. package/dist/esm/types/event/saas-event-properties.d.ts +47 -47
  377. package/dist/esm/types/event/saas-event-properties.js +7 -7
  378. package/dist/esm/types/event/tracking-event.d.ts +69 -69
  379. package/dist/esm/types/event/tracking-event.js +1 -1
  380. package/dist/esm/types/event-bus-event.d.ts +25 -25
  381. package/dist/esm/types/event-bus-event.js +1 -1
  382. package/dist/esm/types/fingerprint/browser-attributes.d.ts +60 -60
  383. package/dist/esm/types/fingerprint/browser-attributes.js +1 -1
  384. package/dist/esm/types/fingerprint/index.d.ts +6 -6
  385. package/dist/esm/types/fingerprint/index.js +2 -2
  386. package/dist/esm/types/fingerprint/server-attributes.d.ts +50 -50
  387. package/dist/esm/types/fingerprint/server-attributes.js +1 -1
  388. package/dist/esm/types/index.d.ts +7 -7
  389. package/dist/esm/types/index.js +7 -7
  390. package/dist/esm/types/third-party-event-configuration-types.d.ts +10 -10
  391. package/dist/esm/types/third-party-event-configuration-types.js +1 -1
  392. package/dist/esm/types/tracking-event-ingest-message.d.ts +12 -12
  393. package/dist/esm/types/tracking-event-ingest-message.js +1 -1
  394. package/package.json +108 -108
  395. package/dist/cjs/types/api/pixel-setup-health.js.map +0 -1
  396. package/dist/esm/types/api/pixel-setup-health.js +0 -2
  397. package/dist/esm/types/api/pixel-setup-health.js.map +0 -1
@@ -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