@ultracart/bq-skill 0.1.2

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 (303) hide show
  1. package/LICENSE +191 -0
  2. package/README.md +952 -0
  3. package/dist/cli.d.ts +3 -0
  4. package/dist/cli.d.ts.map +1 -0
  5. package/dist/cli.js +42 -0
  6. package/dist/cli.js.map +1 -0
  7. package/dist/commands/alarm.d.ts +3 -0
  8. package/dist/commands/alarm.d.ts.map +1 -0
  9. package/dist/commands/alarm.js +146 -0
  10. package/dist/commands/alarm.js.map +1 -0
  11. package/dist/commands/config.d.ts +3 -0
  12. package/dist/commands/config.d.ts.map +1 -0
  13. package/dist/commands/config.js +749 -0
  14. package/dist/commands/config.js.map +1 -0
  15. package/dist/commands/deck.d.ts +3 -0
  16. package/dist/commands/deck.d.ts.map +1 -0
  17. package/dist/commands/deck.js +567 -0
  18. package/dist/commands/deck.js.map +1 -0
  19. package/dist/commands/dry-run.d.ts +3 -0
  20. package/dist/commands/dry-run.d.ts.map +1 -0
  21. package/dist/commands/dry-run.js +105 -0
  22. package/dist/commands/dry-run.js.map +1 -0
  23. package/dist/commands/history.d.ts +3 -0
  24. package/dist/commands/history.d.ts.map +1 -0
  25. package/dist/commands/history.js +127 -0
  26. package/dist/commands/history.js.map +1 -0
  27. package/dist/commands/init.d.ts +3 -0
  28. package/dist/commands/init.d.ts.map +1 -0
  29. package/dist/commands/init.js +302 -0
  30. package/dist/commands/init.js.map +1 -0
  31. package/dist/commands/install-skill.d.ts +3 -0
  32. package/dist/commands/install-skill.d.ts.map +1 -0
  33. package/dist/commands/install-skill.js +132 -0
  34. package/dist/commands/install-skill.js.map +1 -0
  35. package/dist/commands/list.d.ts +3 -0
  36. package/dist/commands/list.d.ts.map +1 -0
  37. package/dist/commands/list.js +89 -0
  38. package/dist/commands/list.js.map +1 -0
  39. package/dist/commands/query.d.ts +3 -0
  40. package/dist/commands/query.d.ts.map +1 -0
  41. package/dist/commands/query.js +152 -0
  42. package/dist/commands/query.js.map +1 -0
  43. package/dist/commands/render.d.ts +3 -0
  44. package/dist/commands/render.d.ts.map +1 -0
  45. package/dist/commands/render.js +107 -0
  46. package/dist/commands/render.js.map +1 -0
  47. package/dist/commands/run-all.d.ts +3 -0
  48. package/dist/commands/run-all.d.ts.map +1 -0
  49. package/dist/commands/run-all.js +285 -0
  50. package/dist/commands/run-all.js.map +1 -0
  51. package/dist/commands/run.d.ts +3 -0
  52. package/dist/commands/run.d.ts.map +1 -0
  53. package/dist/commands/run.js +321 -0
  54. package/dist/commands/run.js.map +1 -0
  55. package/dist/commands/schema.d.ts +3 -0
  56. package/dist/commands/schema.d.ts.map +1 -0
  57. package/dist/commands/schema.js +271 -0
  58. package/dist/commands/schema.js.map +1 -0
  59. package/dist/commands/validate.d.ts +3 -0
  60. package/dist/commands/validate.d.ts.map +1 -0
  61. package/dist/commands/validate.js +109 -0
  62. package/dist/commands/validate.js.map +1 -0
  63. package/dist/lib/alarm-notify.d.ts +16 -0
  64. package/dist/lib/alarm-notify.d.ts.map +1 -0
  65. package/dist/lib/alarm-notify.js +312 -0
  66. package/dist/lib/alarm-notify.js.map +1 -0
  67. package/dist/lib/alarm-state.d.ts +26 -0
  68. package/dist/lib/alarm-state.d.ts.map +1 -0
  69. package/dist/lib/alarm-state.js +118 -0
  70. package/dist/lib/alarm-state.js.map +1 -0
  71. package/dist/lib/alarm.d.ts +28 -0
  72. package/dist/lib/alarm.d.ts.map +1 -0
  73. package/dist/lib/alarm.js +215 -0
  74. package/dist/lib/alarm.js.map +1 -0
  75. package/dist/lib/analysis.d.ts +16 -0
  76. package/dist/lib/analysis.d.ts.map +1 -0
  77. package/dist/lib/analysis.js +134 -0
  78. package/dist/lib/analysis.js.map +1 -0
  79. package/dist/lib/bigquery.d.ts +55 -0
  80. package/dist/lib/bigquery.d.ts.map +1 -0
  81. package/dist/lib/bigquery.js +321 -0
  82. package/dist/lib/bigquery.js.map +1 -0
  83. package/dist/lib/config-writer.d.ts +3 -0
  84. package/dist/lib/config-writer.d.ts.map +1 -0
  85. package/dist/lib/config-writer.js +60 -0
  86. package/dist/lib/config-writer.js.map +1 -0
  87. package/dist/lib/config.d.ts +63 -0
  88. package/dist/lib/config.d.ts.map +1 -0
  89. package/dist/lib/config.js +151 -0
  90. package/dist/lib/config.js.map +1 -0
  91. package/dist/lib/dashboard.d.ts +3 -0
  92. package/dist/lib/dashboard.d.ts.map +1 -0
  93. package/dist/lib/dashboard.js +468 -0
  94. package/dist/lib/dashboard.js.map +1 -0
  95. package/dist/lib/deck.d.ts +58 -0
  96. package/dist/lib/deck.d.ts.map +1 -0
  97. package/dist/lib/deck.js +232 -0
  98. package/dist/lib/deck.js.map +1 -0
  99. package/dist/lib/deliver-email.d.ts +14 -0
  100. package/dist/lib/deliver-email.d.ts.map +1 -0
  101. package/dist/lib/deliver-email.js +360 -0
  102. package/dist/lib/deliver-email.js.map +1 -0
  103. package/dist/lib/deliver-slack.d.ts +6 -0
  104. package/dist/lib/deliver-slack.d.ts.map +1 -0
  105. package/dist/lib/deliver-slack.js +73 -0
  106. package/dist/lib/deliver-slack.js.map +1 -0
  107. package/dist/lib/deliver.d.ts +10 -0
  108. package/dist/lib/deliver.d.ts.map +1 -0
  109. package/dist/lib/deliver.js +95 -0
  110. package/dist/lib/deliver.js.map +1 -0
  111. package/dist/lib/llm/anthropic.d.ts +7 -0
  112. package/dist/lib/llm/anthropic.d.ts.map +1 -0
  113. package/dist/lib/llm/anthropic.js +69 -0
  114. package/dist/lib/llm/anthropic.js.map +1 -0
  115. package/dist/lib/llm/bedrock.d.ts +7 -0
  116. package/dist/lib/llm/bedrock.d.ts.map +1 -0
  117. package/dist/lib/llm/bedrock.js +67 -0
  118. package/dist/lib/llm/bedrock.js.map +1 -0
  119. package/dist/lib/llm/gemini.d.ts +7 -0
  120. package/dist/lib/llm/gemini.d.ts.map +1 -0
  121. package/dist/lib/llm/gemini.js +67 -0
  122. package/dist/lib/llm/gemini.js.map +1 -0
  123. package/dist/lib/llm/index.d.ts +5 -0
  124. package/dist/lib/llm/index.d.ts.map +1 -0
  125. package/dist/lib/llm/index.js +61 -0
  126. package/dist/lib/llm/index.js.map +1 -0
  127. package/dist/lib/llm/models.d.ts +5 -0
  128. package/dist/lib/llm/models.d.ts.map +1 -0
  129. package/dist/lib/llm/models.js +33 -0
  130. package/dist/lib/llm/models.js.map +1 -0
  131. package/dist/lib/llm/openai.d.ts +8 -0
  132. package/dist/lib/llm/openai.d.ts.map +1 -0
  133. package/dist/lib/llm/openai.js +48 -0
  134. package/dist/lib/llm/openai.js.map +1 -0
  135. package/dist/lib/llm/provider.d.ts +28 -0
  136. package/dist/lib/llm/provider.d.ts.map +1 -0
  137. package/dist/lib/llm/provider.js +3 -0
  138. package/dist/lib/llm/provider.js.map +1 -0
  139. package/dist/lib/manifest.d.ts +95 -0
  140. package/dist/lib/manifest.d.ts.map +1 -0
  141. package/dist/lib/manifest.js +105 -0
  142. package/dist/lib/manifest.js.map +1 -0
  143. package/dist/lib/params.d.ts +27 -0
  144. package/dist/lib/params.d.ts.map +1 -0
  145. package/dist/lib/params.js +192 -0
  146. package/dist/lib/params.js.map +1 -0
  147. package/dist/lib/pdf.d.ts +8 -0
  148. package/dist/lib/pdf.d.ts.map +1 -0
  149. package/dist/lib/pdf.js +86 -0
  150. package/dist/lib/pdf.js.map +1 -0
  151. package/dist/lib/renderer.d.ts +17 -0
  152. package/dist/lib/renderer.d.ts.map +1 -0
  153. package/dist/lib/renderer.js +166 -0
  154. package/dist/lib/renderer.js.map +1 -0
  155. package/dist/lib/schema-filter.d.ts +3 -0
  156. package/dist/lib/schema-filter.d.ts.map +1 -0
  157. package/dist/lib/schema-filter.js +49 -0
  158. package/dist/lib/schema-filter.js.map +1 -0
  159. package/dist/lib/template.d.ts +4 -0
  160. package/dist/lib/template.d.ts.map +1 -0
  161. package/dist/lib/template.js +37 -0
  162. package/dist/lib/template.js.map +1 -0
  163. package/dist/lib/validator.d.ts +8 -0
  164. package/dist/lib/validator.d.ts.map +1 -0
  165. package/dist/lib/validator.js +88 -0
  166. package/dist/lib/validator.js.map +1 -0
  167. package/package.json +59 -0
  168. package/schemas/deck.schema.json +122 -0
  169. package/schemas/report-manifest.schema.json +309 -0
  170. package/schemas/tables/README.md +45 -0
  171. package/schemas/tables/ultracart_dw/uc_affiliate_clicks.json +186 -0
  172. package/schemas/tables/ultracart_dw/uc_affiliate_commission_groups.json +317 -0
  173. package/schemas/tables/ultracart_dw/uc_affiliate_ledgers.json +404 -0
  174. package/schemas/tables/ultracart_dw/uc_affiliate_network_pixel_postback_logs.json +166 -0
  175. package/schemas/tables/ultracart_dw/uc_affiliate_network_pixels.json +106 -0
  176. package/schemas/tables/ultracart_dw/uc_affiliate_payments.json +204 -0
  177. package/schemas/tables/ultracart_dw/uc_affiliate_postback_logs.json +90 -0
  178. package/schemas/tables/ultracart_dw/uc_affiliates.json +425 -0
  179. package/schemas/tables/ultracart_dw/uc_auto_orders.json +13848 -0
  180. package/schemas/tables/ultracart_dw/uc_cart_abandons.json +3971 -0
  181. package/schemas/tables/ultracart_dw/uc_conversation_pbx_calls.json +374 -0
  182. package/schemas/tables/ultracart_dw/uc_conversations.json +374 -0
  183. package/schemas/tables/ultracart_dw/uc_coupons.json +1893 -0
  184. package/schemas/tables/ultracart_dw/uc_customers.json +11886 -0
  185. package/schemas/tables/ultracart_dw/uc_fraud_rules.json +239 -0
  186. package/schemas/tables/ultracart_dw/uc_gift_certificates.json +135 -0
  187. package/schemas/tables/ultracart_dw/uc_item_inventory_history.json +79 -0
  188. package/schemas/tables/ultracart_dw/uc_items.json +4437 -0
  189. package/schemas/tables/ultracart_dw/uc_orders.json +6629 -0
  190. package/schemas/tables/ultracart_dw/uc_rotating_transaction_gateway_history.json +271 -0
  191. package/schemas/tables/ultracart_dw/uc_rotating_transaction_gateways.json +416 -0
  192. package/schemas/tables/ultracart_dw/uc_shipping_methods.json +1372 -0
  193. package/schemas/tables/ultracart_dw/uc_storefront_customers.json +261 -0
  194. package/schemas/tables/ultracart_dw/uc_storefront_experiments.json +386 -0
  195. package/schemas/tables/ultracart_dw/uc_storefront_pages.json +513 -0
  196. package/schemas/tables/ultracart_dw/uc_storefront_upsell_offer_events.json +338 -0
  197. package/schemas/tables/ultracart_dw/uc_storefront_upsell_offers.json +431 -0
  198. package/schemas/tables/ultracart_dw/uc_storefront_upsell_paths.json +163 -0
  199. package/schemas/tables/ultracart_dw/uc_storefronts.json +62 -0
  200. package/schemas/tables/ultracart_dw/uc_surveys.json +238 -0
  201. package/schemas/tables/ultracart_dw/uc_workflow_tasks.json +377 -0
  202. package/schemas/tables/ultracart_dw/uc_zoho_desk_tickets.json +1184 -0
  203. package/schemas/tables/ultracart_dw_high/uc_affiliate_clicks.json +186 -0
  204. package/schemas/tables/ultracart_dw_high/uc_affiliate_commission_groups.json +317 -0
  205. package/schemas/tables/ultracart_dw_high/uc_affiliate_ledgers.json +404 -0
  206. package/schemas/tables/ultracart_dw_high/uc_affiliate_network_pixel_postback_logs.json +166 -0
  207. package/schemas/tables/ultracart_dw_high/uc_affiliate_network_pixels.json +106 -0
  208. package/schemas/tables/ultracart_dw_high/uc_affiliate_payments.json +204 -0
  209. package/schemas/tables/ultracart_dw_high/uc_affiliate_postback_logs.json +90 -0
  210. package/schemas/tables/ultracart_dw_high/uc_affiliates.json +425 -0
  211. package/schemas/tables/ultracart_dw_high/uc_auto_orders.json +14332 -0
  212. package/schemas/tables/ultracart_dw_high/uc_cart_abandons.json +4245 -0
  213. package/schemas/tables/ultracart_dw_high/uc_conversation_pbx_calls.json +415 -0
  214. package/schemas/tables/ultracart_dw_high/uc_conversations.json +415 -0
  215. package/schemas/tables/ultracart_dw_high/uc_coupons.json +1893 -0
  216. package/schemas/tables/ultracart_dw_high/uc_customers.json +12250 -0
  217. package/schemas/tables/ultracart_dw_high/uc_fraud_rules.json +239 -0
  218. package/schemas/tables/ultracart_dw_high/uc_gift_certificates.json +135 -0
  219. package/schemas/tables/ultracart_dw_high/uc_item_inventory_history.json +79 -0
  220. package/schemas/tables/ultracart_dw_high/uc_items.json +4437 -0
  221. package/schemas/tables/ultracart_dw_high/uc_orders.json +6871 -0
  222. package/schemas/tables/ultracart_dw_high/uc_rotating_transaction_gateway_history.json +271 -0
  223. package/schemas/tables/ultracart_dw_high/uc_rotating_transaction_gateways.json +416 -0
  224. package/schemas/tables/ultracart_dw_high/uc_shipping_methods.json +1372 -0
  225. package/schemas/tables/ultracart_dw_high/uc_storefront_customers.json +261 -0
  226. package/schemas/tables/ultracart_dw_high/uc_storefront_experiments.json +386 -0
  227. package/schemas/tables/ultracart_dw_high/uc_storefront_pages.json +513 -0
  228. package/schemas/tables/ultracart_dw_high/uc_storefront_upsell_offer_events.json +338 -0
  229. package/schemas/tables/ultracart_dw_high/uc_storefront_upsell_offers.json +431 -0
  230. package/schemas/tables/ultracart_dw_high/uc_storefront_upsell_paths.json +163 -0
  231. package/schemas/tables/ultracart_dw_high/uc_storefronts.json +62 -0
  232. package/schemas/tables/ultracart_dw_high/uc_surveys.json +269 -0
  233. package/schemas/tables/ultracart_dw_high/uc_workflow_tasks.json +377 -0
  234. package/schemas/tables/ultracart_dw_high/uc_zoho_desk_tickets.json +1330 -0
  235. package/schemas/tables/ultracart_dw_low/uc_affiliate_clicks.json +186 -0
  236. package/schemas/tables/ultracart_dw_low/uc_affiliate_commission_groups.json +317 -0
  237. package/schemas/tables/ultracart_dw_low/uc_affiliate_ledgers.json +404 -0
  238. package/schemas/tables/ultracart_dw_low/uc_affiliate_network_pixel_postback_logs.json +166 -0
  239. package/schemas/tables/ultracart_dw_low/uc_affiliate_network_pixels.json +106 -0
  240. package/schemas/tables/ultracart_dw_low/uc_affiliate_payments.json +204 -0
  241. package/schemas/tables/ultracart_dw_low/uc_affiliate_postback_logs.json +90 -0
  242. package/schemas/tables/ultracart_dw_low/uc_affiliates.json +425 -0
  243. package/schemas/tables/ultracart_dw_low/uc_auto_orders.json +13868 -0
  244. package/schemas/tables/ultracart_dw_low/uc_cart_abandons.json +3971 -0
  245. package/schemas/tables/ultracart_dw_low/uc_conversation_pbx_calls.json +374 -0
  246. package/schemas/tables/ultracart_dw_low/uc_conversations.json +374 -0
  247. package/schemas/tables/ultracart_dw_low/uc_coupons.json +1893 -0
  248. package/schemas/tables/ultracart_dw_low/uc_customers.json +11900 -0
  249. package/schemas/tables/ultracart_dw_low/uc_fraud_rules.json +239 -0
  250. package/schemas/tables/ultracart_dw_low/uc_gift_certificates.json +135 -0
  251. package/schemas/tables/ultracart_dw_low/uc_item_inventory_history.json +79 -0
  252. package/schemas/tables/ultracart_dw_low/uc_items.json +4437 -0
  253. package/schemas/tables/ultracart_dw_low/uc_orders.json +6639 -0
  254. package/schemas/tables/ultracart_dw_low/uc_rotating_transaction_gateway_history.json +271 -0
  255. package/schemas/tables/ultracart_dw_low/uc_rotating_transaction_gateways.json +416 -0
  256. package/schemas/tables/ultracart_dw_low/uc_shipping_methods.json +1372 -0
  257. package/schemas/tables/ultracart_dw_low/uc_storefront_customers.json +261 -0
  258. package/schemas/tables/ultracart_dw_low/uc_storefront_experiments.json +386 -0
  259. package/schemas/tables/ultracart_dw_low/uc_storefront_pages.json +513 -0
  260. package/schemas/tables/ultracart_dw_low/uc_storefront_upsell_offer_events.json +338 -0
  261. package/schemas/tables/ultracart_dw_low/uc_storefront_upsell_offers.json +431 -0
  262. package/schemas/tables/ultracart_dw_low/uc_storefront_upsell_paths.json +163 -0
  263. package/schemas/tables/ultracart_dw_low/uc_storefronts.json +62 -0
  264. package/schemas/tables/ultracart_dw_low/uc_surveys.json +238 -0
  265. package/schemas/tables/ultracart_dw_low/uc_workflow_tasks.json +377 -0
  266. package/schemas/tables/ultracart_dw_low/uc_zoho_desk_tickets.json +1184 -0
  267. package/schemas/tables/ultracart_dw_medium/uc_affiliate_clicks.json +186 -0
  268. package/schemas/tables/ultracart_dw_medium/uc_affiliate_commission_groups.json +317 -0
  269. package/schemas/tables/ultracart_dw_medium/uc_affiliate_ledgers.json +404 -0
  270. package/schemas/tables/ultracart_dw_medium/uc_affiliate_network_pixel_postback_logs.json +166 -0
  271. package/schemas/tables/ultracart_dw_medium/uc_affiliate_network_pixels.json +106 -0
  272. package/schemas/tables/ultracart_dw_medium/uc_affiliate_payments.json +204 -0
  273. package/schemas/tables/ultracart_dw_medium/uc_affiliate_postback_logs.json +90 -0
  274. package/schemas/tables/ultracart_dw_medium/uc_affiliates.json +425 -0
  275. package/schemas/tables/ultracart_dw_medium/uc_auto_orders.json +14320 -0
  276. package/schemas/tables/ultracart_dw_medium/uc_cart_abandons.json +4245 -0
  277. package/schemas/tables/ultracart_dw_medium/uc_conversation_pbx_calls.json +415 -0
  278. package/schemas/tables/ultracart_dw_medium/uc_conversations.json +415 -0
  279. package/schemas/tables/ultracart_dw_medium/uc_coupons.json +1893 -0
  280. package/schemas/tables/ultracart_dw_medium/uc_customers.json +12250 -0
  281. package/schemas/tables/ultracart_dw_medium/uc_fraud_rules.json +239 -0
  282. package/schemas/tables/ultracart_dw_medium/uc_gift_certificates.json +135 -0
  283. package/schemas/tables/ultracart_dw_medium/uc_item_inventory_history.json +79 -0
  284. package/schemas/tables/ultracart_dw_medium/uc_items.json +4437 -0
  285. package/schemas/tables/ultracart_dw_medium/uc_orders.json +6865 -0
  286. package/schemas/tables/ultracart_dw_medium/uc_rotating_transaction_gateway_history.json +271 -0
  287. package/schemas/tables/ultracart_dw_medium/uc_rotating_transaction_gateways.json +416 -0
  288. package/schemas/tables/ultracart_dw_medium/uc_shipping_methods.json +1372 -0
  289. package/schemas/tables/ultracart_dw_medium/uc_storefront_customers.json +261 -0
  290. package/schemas/tables/ultracart_dw_medium/uc_storefront_experiments.json +386 -0
  291. package/schemas/tables/ultracart_dw_medium/uc_storefront_pages.json +513 -0
  292. package/schemas/tables/ultracart_dw_medium/uc_storefront_upsell_offer_events.json +338 -0
  293. package/schemas/tables/ultracart_dw_medium/uc_storefront_upsell_offers.json +431 -0
  294. package/schemas/tables/ultracart_dw_medium/uc_storefront_upsell_paths.json +163 -0
  295. package/schemas/tables/ultracart_dw_medium/uc_storefronts.json +62 -0
  296. package/schemas/tables/ultracart_dw_medium/uc_surveys.json +269 -0
  297. package/schemas/tables/ultracart_dw_medium/uc_workflow_tasks.json +377 -0
  298. package/schemas/tables/ultracart_dw_medium/uc_zoho_desk_tickets.json +1330 -0
  299. package/schemas/tables/ultracart_dw_streaming/uc_analytics_session_streaming.json +2444 -0
  300. package/schemas/tables/ultracart_dw_streaming/uc_screen_recording_streaming.json +509 -0
  301. package/schemas/ultracart-bq-config.schema.json +140 -0
  302. package/skill/skill.md +1228 -0
  303. package/templates/render.html +73 -0
@@ -0,0 +1,261 @@
1
+ [
2
+ {
3
+ "mode": "NULLABLE",
4
+ "name": "partition_oid",
5
+ "type": "INTEGER"
6
+ },
7
+ {
8
+ "mode": "NULLABLE",
9
+ "name": "merchant_id",
10
+ "type": "STRING"
11
+ },
12
+ {
13
+ "mode": "NULLABLE",
14
+ "name": "email",
15
+ "type": "STRING"
16
+ },
17
+ {
18
+ "mode": "NULLABLE",
19
+ "name": "email_hash",
20
+ "type": "STRING"
21
+ },
22
+ {
23
+ "mode": "NULLABLE",
24
+ "name": "esp_customer_uuid",
25
+ "type": "STRING"
26
+ },
27
+ {
28
+ "mode": "REPEATED",
29
+ "name": "emails",
30
+ "type": "RECORD",
31
+ "fields": [
32
+ {
33
+ "mode": "NULLABLE",
34
+ "name": "sent_dts",
35
+ "description": "Email sent date/time",
36
+ "type": "DATETIME"
37
+ },
38
+ {
39
+ "mode": "NULLABLE",
40
+ "name": "opened_dts",
41
+ "description": "Email opened date/time",
42
+ "type": "DATETIME"
43
+ },
44
+ {
45
+ "mode": "NULLABLE",
46
+ "name": "clicked_dts",
47
+ "description": "Email clicked date/time",
48
+ "type": "DATETIME"
49
+ },
50
+ {
51
+ "mode": "NULLABLE",
52
+ "name": "flow_name",
53
+ "type": "STRING"
54
+ },
55
+ {
56
+ "mode": "NULLABLE",
57
+ "name": "campaign_name",
58
+ "type": "STRING"
59
+ },
60
+ {
61
+ "mode": "NULLABLE",
62
+ "name": "commseq_uuid",
63
+ "type": "STRING"
64
+ },
65
+ {
66
+ "mode": "NULLABLE",
67
+ "name": "email_uuid",
68
+ "type": "STRING"
69
+ },
70
+ {
71
+ "mode": "NULLABLE",
72
+ "name": "subject",
73
+ "type": "STRING"
74
+ },
75
+ {
76
+ "mode": "NULLABLE",
77
+ "name": "opened",
78
+ "type": "BOOLEAN"
79
+ },
80
+ {
81
+ "mode": "NULLABLE",
82
+ "name": "clicked",
83
+ "type": "BOOLEAN"
84
+ },
85
+ {
86
+ "mode": "NULLABLE",
87
+ "name": "converted",
88
+ "type": "BOOLEAN"
89
+ },
90
+ {
91
+ "mode": "NULLABLE",
92
+ "name": "spam_complaint",
93
+ "type": "BOOLEAN"
94
+ },
95
+ {
96
+ "mode": "NULLABLE",
97
+ "name": "spam_complaint_dts",
98
+ "description": "Spam complaint date/time",
99
+ "type": "DATETIME"
100
+ },
101
+ {
102
+ "mode": "NULLABLE",
103
+ "name": "order_id",
104
+ "type": "STRING"
105
+ },
106
+ {
107
+ "mode": "NULLABLE",
108
+ "name": "transport",
109
+ "type": "STRING"
110
+ }
111
+ ]
112
+ },
113
+ {
114
+ "mode": "NULLABLE",
115
+ "name": "global_unsubscribed",
116
+ "type": "BOOLEAN"
117
+ },
118
+ {
119
+ "mode": "NULLABLE",
120
+ "name": "consecutive_emails_unopened",
121
+ "type": "INTEGER"
122
+ },
123
+ {
124
+ "mode": "NULLABLE",
125
+ "name": "consecutive_emails_unclicked",
126
+ "type": "INTEGER"
127
+ },
128
+ {
129
+ "mode": "REPEATED",
130
+ "name": "lists",
131
+ "type": "RECORD",
132
+ "fields": [
133
+ {
134
+ "mode": "NULLABLE",
135
+ "name": "list_name",
136
+ "type": "STRING"
137
+ },
138
+ {
139
+ "mode": "NULLABLE",
140
+ "name": "list_uuid",
141
+ "type": "STRING"
142
+ },
143
+ {
144
+ "mode": "NULLABLE",
145
+ "name": "add_dts",
146
+ "description": "List add date/time",
147
+ "type": "DATETIME"
148
+ }
149
+ ]
150
+ },
151
+ {
152
+ "mode": "REPEATED",
153
+ "name": "segments",
154
+ "type": "RECORD",
155
+ "fields": [
156
+ {
157
+ "mode": "NULLABLE",
158
+ "name": "segment_name",
159
+ "type": "STRING"
160
+ },
161
+ {
162
+ "mode": "NULLABLE",
163
+ "name": "segment_uuid",
164
+ "type": "STRING"
165
+ },
166
+ {
167
+ "mode": "NULLABLE",
168
+ "name": "add_dts",
169
+ "description": "Segment add date/time",
170
+ "type": "DATETIME"
171
+ }
172
+ ]
173
+ },
174
+ {
175
+ "mode": "REPEATED",
176
+ "name": "sessions",
177
+ "type": "RECORD",
178
+ "fields": [
179
+ {
180
+ "mode": "NULLABLE",
181
+ "name": "start_dts",
182
+ "description": "Session start date/time",
183
+ "type": "DATETIME"
184
+ },
185
+ {
186
+ "mode": "NULLABLE",
187
+ "name": "end_dts",
188
+ "description": "Session end date/time",
189
+ "type": "DATETIME"
190
+ },
191
+ {
192
+ "mode": "REPEATED",
193
+ "name": "page_views",
194
+ "type": "RECORD",
195
+ "fields": [
196
+ {
197
+ "mode": "NULLABLE",
198
+ "name": "url",
199
+ "type": "STRING"
200
+ },
201
+ {
202
+ "mode": "NULLABLE",
203
+ "name": "start_dts",
204
+ "description": "Page view start date/time",
205
+ "type": "DATETIME"
206
+ },
207
+ {
208
+ "mode": "NULLABLE",
209
+ "name": "bounce",
210
+ "type": "BOOLEAN"
211
+ },
212
+ {
213
+ "mode": "NULLABLE",
214
+ "name": "time_on_page_second",
215
+ "type": "NUMERIC"
216
+ }
217
+ ]
218
+ },
219
+ {
220
+ "mode": "NULLABLE",
221
+ "name": "order_id",
222
+ "type": "STRING"
223
+ },
224
+ {
225
+ "mode": "NULLABLE",
226
+ "name": "screen_recording_uuid",
227
+ "type": "STRING"
228
+ },
229
+ {
230
+ "mode": "NULLABLE",
231
+ "name": "utm_source",
232
+ "type": "STRING"
233
+ },
234
+ {
235
+ "mode": "NULLABLE",
236
+ "name": "utm_medium",
237
+ "type": "STRING"
238
+ },
239
+ {
240
+ "mode": "NULLABLE",
241
+ "name": "utm_campaign",
242
+ "type": "STRING"
243
+ },
244
+ {
245
+ "mode": "NULLABLE",
246
+ "name": "utm_term",
247
+ "type": "STRING"
248
+ },
249
+ {
250
+ "mode": "NULLABLE",
251
+ "name": "utm_content",
252
+ "type": "STRING"
253
+ },
254
+ {
255
+ "mode": "NULLABLE",
256
+ "name": "utm_id",
257
+ "type": "STRING"
258
+ }
259
+ ]
260
+ }
261
+ ]
@@ -0,0 +1,386 @@
1
+ [
2
+ {
3
+ "mode": "NULLABLE",
4
+ "name": "partition_oid",
5
+ "type": "INTEGER"
6
+ },
7
+ {
8
+ "mode": "NULLABLE",
9
+ "name": "storefront_experiment_oid",
10
+ "description": "Storefront Experiment Oid",
11
+ "type": "INTEGER"
12
+ },
13
+ {
14
+ "mode": "NULLABLE",
15
+ "name": "storefront_oid",
16
+ "description": "Storefront oid",
17
+ "type": "INTEGER"
18
+ },
19
+ {
20
+ "mode": "NULLABLE",
21
+ "name": "name",
22
+ "description": "Experiment name",
23
+ "type": "STRING"
24
+ },
25
+ {
26
+ "mode": "NULLABLE",
27
+ "name": "id",
28
+ "description": "Experiment id",
29
+ "type": "STRING"
30
+ },
31
+ {
32
+ "mode": "NULLABLE",
33
+ "name": "duration_days",
34
+ "description": "Duration in days",
35
+ "type": "INTEGER"
36
+ },
37
+ {
38
+ "mode": "NULLABLE",
39
+ "name": "objective",
40
+ "description": "Objective that is being optimized",
41
+ "type": "STRING"
42
+ },
43
+ {
44
+ "mode": "NULLABLE",
45
+ "name": "objective_parameter",
46
+ "description": "Objective parameter (such as event name) that is being optimized",
47
+ "type": "STRING"
48
+ },
49
+ {
50
+ "mode": "NULLABLE",
51
+ "name": "optimization_type",
52
+ "description": "Type of optimization",
53
+ "type": "STRING"
54
+ },
55
+ {
56
+ "mode": "NULLABLE",
57
+ "name": "equal_weighting",
58
+ "description": "Whether or not traffic is equally weighted or shifts over time during the experiment",
59
+ "type": "BOOLEAN"
60
+ },
61
+ {
62
+ "mode": "NULLABLE",
63
+ "name": "notes",
64
+ "description": "Notes about the experiment",
65
+ "type": "STRING"
66
+ },
67
+ {
68
+ "mode": "NULLABLE",
69
+ "name": "start_dts",
70
+ "description": "Start date/time",
71
+ "type": "DATETIME"
72
+ },
73
+ {
74
+ "mode": "NULLABLE",
75
+ "name": "end_dts",
76
+ "description": "End date/time",
77
+ "type": "DATETIME"
78
+ },
79
+ {
80
+ "allowed_values": [
81
+ "Running",
82
+ "Ended",
83
+ "Deleted"
84
+ ],
85
+ "mode": "NULLABLE",
86
+ "name": "status",
87
+ "description": "Status of the experiment",
88
+ "type": "STRING"
89
+ },
90
+ {
91
+ "mode": "REPEATED",
92
+ "name": "variations",
93
+ "description": "Variations being tested in the experiment",
94
+ "type": "RECORD",
95
+ "fields": [
96
+ {
97
+ "mode": "NULLABLE",
98
+ "name": "variation_number",
99
+ "description": "Variation number",
100
+ "type": "INTEGER"
101
+ },
102
+ {
103
+ "mode": "NULLABLE",
104
+ "name": "variation_name",
105
+ "description": "Name of the variation",
106
+ "type": "STRING"
107
+ },
108
+ {
109
+ "mode": "NULLABLE",
110
+ "name": "url",
111
+ "description": "Url of the variation if this experiment is a url experiment.",
112
+ "type": "STRING"
113
+ },
114
+ {
115
+ "mode": "NULLABLE",
116
+ "name": "traffic_percentage",
117
+ "description": "Percentage of the traffic this variation is currently receiving",
118
+ "type": "NUMERIC"
119
+ },
120
+ {
121
+ "mode": "NULLABLE",
122
+ "name": "original_traffic_percentage",
123
+ "description": "Percentage of the traffic the variation originally started out with",
124
+ "type": "NUMERIC"
125
+ },
126
+ {
127
+ "mode": "NULLABLE",
128
+ "name": "winner",
129
+ "description": "True if this variation has been declared the winner",
130
+ "type": "BOOLEAN"
131
+ },
132
+ {
133
+ "mode": "NULLABLE",
134
+ "name": "session_count",
135
+ "description": "Total sessions for this variation",
136
+ "type": "INTEGER"
137
+ },
138
+ {
139
+ "mode": "NULLABLE",
140
+ "name": "add_to_cart_count",
141
+ "description": "Total add to cart count for this variation",
142
+ "type": "INTEGER"
143
+ },
144
+ {
145
+ "mode": "NULLABLE",
146
+ "name": "order_count",
147
+ "description": "Total order count for this variation",
148
+ "type": "INTEGER"
149
+ },
150
+ {
151
+ "mode": "NULLABLE",
152
+ "name": "initiate_checkout_count",
153
+ "description": "Total initiate checkout count for this variation",
154
+ "type": "INTEGER"
155
+ },
156
+ {
157
+ "mode": "NULLABLE",
158
+ "name": "bounce_count",
159
+ "description": "Total bounce count for this variation",
160
+ "type": "INTEGER"
161
+ },
162
+ {
163
+ "mode": "NULLABLE",
164
+ "name": "event_count",
165
+ "description": "Total event ocunt for this variation",
166
+ "type": "INTEGER"
167
+ },
168
+ {
169
+ "mode": "NULLABLE",
170
+ "name": "page_view_count",
171
+ "description": "Total page view count for this variation",
172
+ "type": "INTEGER"
173
+ },
174
+ {
175
+ "mode": "NULLABLE",
176
+ "name": "duration_seconds_sum",
177
+ "description": "Total number of seconds spent on the site for this variation",
178
+ "type": "INTEGER"
179
+ },
180
+ {
181
+ "mode": "NULLABLE",
182
+ "name": "revenue",
183
+ "description": "Total revenue for this variation",
184
+ "type": "NUMERIC"
185
+ },
186
+ {
187
+ "mode": "NULLABLE",
188
+ "name": "conversion_rate",
189
+ "description": "Conversion rate for this variation",
190
+ "type": "NUMERIC"
191
+ },
192
+ {
193
+ "mode": "NULLABLE",
194
+ "name": "average_duration_seconds",
195
+ "description": "Average duration seconds per session for this variation",
196
+ "type": "INTEGER"
197
+ },
198
+ {
199
+ "mode": "NULLABLE",
200
+ "name": "average_order_value",
201
+ "description": "Average order value for this variation",
202
+ "type": "NUMERIC"
203
+ },
204
+ {
205
+ "mode": "NULLABLE",
206
+ "name": "average_objective_per_session",
207
+ "description": "Average objective value per session for this variation",
208
+ "type": "NUMERIC"
209
+ },
210
+ {
211
+ "mode": "NULLABLE",
212
+ "name": "order_item_count",
213
+ "description": "Total order item count for this variation",
214
+ "type": "INTEGER"
215
+ },
216
+ {
217
+ "mode": "REPEATED",
218
+ "name": "daily_statistics",
219
+ "description": "Array of daily statistics for this variation",
220
+ "type": "RECORD",
221
+ "fields": [
222
+ {
223
+ "mode": "NULLABLE",
224
+ "name": "stat_dts",
225
+ "description": "Date/time that the statistic was created",
226
+ "type": "DATETIME"
227
+ },
228
+ {
229
+ "mode": "NULLABLE",
230
+ "name": "session_count",
231
+ "description": "Total sessions for this variation",
232
+ "type": "INTEGER"
233
+ },
234
+ {
235
+ "mode": "NULLABLE",
236
+ "name": "revenue",
237
+ "description": "Total revenue for this variation",
238
+ "type": "NUMERIC"
239
+ },
240
+ {
241
+ "mode": "NULLABLE",
242
+ "name": "order_count",
243
+ "description": "Total order count for this variation",
244
+ "type": "INTEGER"
245
+ },
246
+ {
247
+ "mode": "NULLABLE",
248
+ "name": "add_to_cart_count",
249
+ "description": "Total add to cart count for this variation",
250
+ "type": "INTEGER"
251
+ },
252
+ {
253
+ "mode": "NULLABLE",
254
+ "name": "initiate_checkout_count",
255
+ "description": "Total initiate checkout count for this variation",
256
+ "type": "INTEGER"
257
+ },
258
+ {
259
+ "mode": "NULLABLE",
260
+ "name": "bounce_count",
261
+ "description": "Total bounce count for this variation",
262
+ "type": "INTEGER"
263
+ },
264
+ {
265
+ "mode": "NULLABLE",
266
+ "name": "page_view_count",
267
+ "description": "Total page view count for this variation",
268
+ "type": "INTEGER"
269
+ },
270
+ {
271
+ "mode": "NULLABLE",
272
+ "name": "duration_seconds_sum",
273
+ "description": "Total number of seconds spent on the site for this variation",
274
+ "type": "INTEGER"
275
+ },
276
+ {
277
+ "mode": "NULLABLE",
278
+ "name": "event_count",
279
+ "description": "Total event count for this variation",
280
+ "type": "INTEGER"
281
+ },
282
+ {
283
+ "mode": "NULLABLE",
284
+ "name": "order_item_count",
285
+ "description": "Total order item count for this variation",
286
+ "type": "INTEGER"
287
+ },
288
+ {
289
+ "mode": "NULLABLE",
290
+ "name": "sms_opt_in_count",
291
+ "description": "Total SMS opt in count for this variation",
292
+ "type": "INTEGER"
293
+ },
294
+ {
295
+ "mode": "REPEATED",
296
+ "name": "order_ids",
297
+ "description": "Order ID thats converted on this variation",
298
+ "type": "RECORD",
299
+ "fields": [{
300
+ "mode": "NULLABLE",
301
+ "name": "value",
302
+ "type": "STRING"
303
+ }]
304
+ }
305
+ ]
306
+ },
307
+ {
308
+ "mode": "NULLABLE",
309
+ "name": "paused",
310
+ "description": "True if traffic should be paused to this variation",
311
+ "type": "BOOLEAN"
312
+ },
313
+ {
314
+ "mode": "NULLABLE",
315
+ "name": "sms_opt_ins",
316
+ "description": "SMS Opt Ins for this variation",
317
+ "type": "INTEGER"
318
+ }
319
+ ]
320
+ },
321
+ {
322
+ "mode": "NULLABLE",
323
+ "name": "session_count",
324
+ "description": "Total number of sessions in the experiment",
325
+ "type": "INTEGER"
326
+ },
327
+ {
328
+ "mode": "NULLABLE",
329
+ "name": "uri",
330
+ "description": "URI the experiment was started on",
331
+ "type": "STRING"
332
+ },
333
+ {
334
+ "mode": "NULLABLE",
335
+ "name": "container_id",
336
+ "description": "Contained ID where the experiment element was located",
337
+ "type": "STRING"
338
+ },
339
+ {
340
+ "mode": "NULLABLE",
341
+ "name": "experiment_type",
342
+ "description": "The type of experiment",
343
+ "type": "STRING"
344
+ },
345
+ {
346
+ "allowed_values": [
347
+ "headline",
348
+ "text",
349
+ "textblock"
350
+ ],
351
+ "mode": "NULLABLE",
352
+ "name": "openai_element_type",
353
+ "description": "The type of OpenAI element being experimented on",
354
+ "type": "STRING"
355
+ },
356
+ {
357
+ "mode": "NULLABLE",
358
+ "name": "openai_total_iterations",
359
+ "description": "The total number of iterations to perform on the experiment",
360
+ "type": "INTEGER"
361
+ },
362
+ {
363
+ "mode": "NULLABLE",
364
+ "name": "openai_current_iteration",
365
+ "description": "The current iteration of the OpenAI related experiment",
366
+ "type": "INTEGER"
367
+ },
368
+ {
369
+ "mode": "NULLABLE",
370
+ "name": "openai_model",
371
+ "description": "The type of OpenAI model used",
372
+ "type": "STRING"
373
+ },
374
+ {
375
+ "mode": "NULLABLE",
376
+ "name": "p_value",
377
+ "description": "Statistics p-value for the experiment",
378
+ "type": "NUMERIC"
379
+ },
380
+ {
381
+ "mode": "NULLABLE",
382
+ "name": "p95_sessions_needed",
383
+ "description": "Estimated sessions needed to achieve P95",
384
+ "type": "INTEGER"
385
+ }
386
+ ]