@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,404 @@
1
+ [
2
+ {
3
+ "mode": "NULLABLE",
4
+ "name": "partition_date",
5
+ "type": "DATE"
6
+ },
7
+ {
8
+ "mode": "NULLABLE",
9
+ "name": "affiliate_ledger_oid",
10
+ "description": "Affiliate ledger object ID associated with this ledger",
11
+ "type": "INTEGER"
12
+ },
13
+ {
14
+ "mode": "NULLABLE",
15
+ "name": "transaction_dts",
16
+ "description": "Date/time that the transaction was made",
17
+ "type": "DATETIME"
18
+ },
19
+ {
20
+ "mode": "NULLABLE",
21
+ "name": "transaction_memo",
22
+ "description": "Memo explaining the transaction",
23
+ "type": "STRING"
24
+ },
25
+ {
26
+ "mode": "NULLABLE",
27
+ "name": "affiliate_oid",
28
+ "description": "Affiliate object ID associated with this transaction",
29
+ "type": "INTEGER"
30
+ },
31
+ {
32
+ "mode": "NULLABLE",
33
+ "name": "transaction_amount",
34
+ "description": "Transaction amount",
35
+ "type": "NUMERIC"
36
+ },
37
+ {
38
+ "mode": "NULLABLE",
39
+ "name": "sub_id",
40
+ "description": "Sub ID associated with transaction (from the click)",
41
+ "type": "STRING"
42
+ },
43
+ {
44
+ "mode": "NULLABLE",
45
+ "name": "order_id",
46
+ "description": "Order ID associated with this transaction",
47
+ "type": "STRING"
48
+ },
49
+ {
50
+ "allowed_values": [
51
+ "Pending",
52
+ "Posted",
53
+ "Approved",
54
+ "Paid",
55
+ "Rejected",
56
+ "Partially Paid"
57
+ ],
58
+ "mode": "NULLABLE",
59
+ "name": "transaction_state",
60
+ "description": "Transaction state",
61
+ "type": "STRING"
62
+ },
63
+ {
64
+ "mode": "NULLABLE",
65
+ "name": "transaction_amount_paid",
66
+ "description": "Amount of the transaction that has been paid out.",
67
+ "type": "NUMERIC"
68
+ },
69
+ {
70
+ "mode": "NULLABLE",
71
+ "name": "assigned_by_user",
72
+ "description": "User that assigned the transaction if it was done manually",
73
+ "type": "STRING"
74
+ },
75
+ {
76
+ "mode": "NULLABLE",
77
+ "name": "original_transaction_dts",
78
+ "description": "Date/time of the original transaction for reversals",
79
+ "type": "DATETIME"
80
+ },
81
+ {
82
+ "mode": "NULLABLE",
83
+ "name": "item_id",
84
+ "description": "Item ID associated with this transaction",
85
+ "type": "STRING"
86
+ },
87
+ {
88
+ "mode": "NULLABLE",
89
+ "name": "tier_number",
90
+ "description": "Tier number that this transaction earned",
91
+ "type": "INTEGER"
92
+ },
93
+ {
94
+ "mode": "NULLABLE",
95
+ "name": "transaction_percentage",
96
+ "description": "Percentage associated with this transaction",
97
+ "type": "NUMERIC"
98
+ },
99
+ {
100
+ "mode": "NULLABLE",
101
+ "name": "affiliate_link_oid",
102
+ "description": "Unique object identifier for the link that this click is associated with",
103
+ "type": "INTEGER"
104
+ },
105
+ {
106
+ "name": "link",
107
+ "description": "Link object associated with this click",
108
+ "type": "RECORD",
109
+ "fields": [
110
+ {
111
+ "mode": "NULLABLE",
112
+ "name": "affiliate_link_oid",
113
+ "description": "Unique object identifier associated with this link",
114
+ "type": "INTEGER"
115
+ },
116
+ {
117
+ "mode": "NULLABLE",
118
+ "name": "affiliate_oid",
119
+ "description": "Affiliate object ID associated with this link",
120
+ "type": "INTEGER"
121
+ },
122
+ {
123
+ "mode": "NULLABLE",
124
+ "name": "creative_oid",
125
+ "description": "Creative (image or text) associated with this link",
126
+ "type": "INTEGER"
127
+ },
128
+ {
129
+ "mode": "NULLABLE",
130
+ "name": "custom_html",
131
+ "description": "Custom HTML associated with this link",
132
+ "type": "STRING"
133
+ },
134
+ {
135
+ "allowed_values": [
136
+ "Pending",
137
+ "Approved",
138
+ "Rejected"
139
+ ],
140
+ "mode": "NULLABLE",
141
+ "name": "custom_html_approval_status",
142
+ "description": "Approved status of the custom html",
143
+ "type": "STRING"
144
+ },
145
+ {
146
+ "mode": "NULLABLE",
147
+ "name": "invisible_link_url_prefix",
148
+ "description": "Invisible link URL prefix",
149
+ "type": "STRING"
150
+ },
151
+ {
152
+ "allowed_values": [
153
+ "Pending",
154
+ "Approved",
155
+ "Rejected"
156
+ ],
157
+ "mode": "NULLABLE",
158
+ "name": "invisible_link_approval_status",
159
+ "description": "Invisible link approval status",
160
+ "type": "STRING"
161
+ },
162
+ {
163
+ "mode": "NULLABLE",
164
+ "name": "deleted",
165
+ "description": "True if the link has been deleted",
166
+ "type": "BOOLEAN"
167
+ },
168
+ {
169
+ "mode": "NULLABLE",
170
+ "name": "name",
171
+ "description": "Name of the link",
172
+ "type": "STRING"
173
+ },
174
+ {
175
+ "allowed_values": [
176
+ "image",
177
+ "text",
178
+ "invisible",
179
+ "direct"
180
+ ],
181
+ "mode": "NULLABLE",
182
+ "name": "type",
183
+ "description": "Type of link",
184
+ "type": "STRING"
185
+ },
186
+ {
187
+ "mode": "NULLABLE",
188
+ "name": "custom_landing_url",
189
+ "description": "Custom landing page URL if configured",
190
+ "type": "STRING"
191
+ },
192
+ {
193
+ "mode": "NULLABLE",
194
+ "name": "code",
195
+ "description": "Code associated with the link",
196
+ "type": "STRING"
197
+ },
198
+ {
199
+ "mode": "NULLABLE",
200
+ "name": "affiliate_program_item_oid",
201
+ "description": "The affiliate program item this managed link is associated with",
202
+ "type": "INTEGER"
203
+ },
204
+ {
205
+ "mode": "NULLABLE",
206
+ "name": "affiliate_managed_link_oid",
207
+ "description": "Managed link OID that this link object was generated from",
208
+ "type": "INTEGER"
209
+ }
210
+ ]
211
+ },
212
+ {
213
+ "mode": "NULLABLE",
214
+ "name": "affiliate_click_oid",
215
+ "description": "Unique object identifier for the click associated with this ledger entry",
216
+ "type": "INTEGER"
217
+ },
218
+ {
219
+ "name": "click",
220
+ "description": "Click object associated with this ledger entry",
221
+ "type": "RECORD",
222
+ "fields": [
223
+ {
224
+ "mode": "NULLABLE",
225
+ "name": "affiliate_click_oid",
226
+ "description": "Unique object identifier for this click",
227
+ "type": "INTEGER"
228
+ },
229
+ {
230
+ "mode": "NULLABLE",
231
+ "name": "affiliate_oid",
232
+ "description": "Affiliate object ID associated with this click",
233
+ "type": "INTEGER"
234
+ },
235
+ {
236
+ "mode": "NULLABLE",
237
+ "name": "click_dts",
238
+ "description": "Date/time that the click was made",
239
+ "type": "DATETIME"
240
+ },
241
+ {
242
+ "mode": "NULLABLE",
243
+ "name": "ip_address",
244
+ "description": "IP address that generated the click",
245
+ "type": "STRING"
246
+ },
247
+ {
248
+ "mode": "NULLABLE",
249
+ "name": "referrer",
250
+ "description": "URL that referred the click (Browser Header Referer)",
251
+ "type": "STRING"
252
+ },
253
+ {
254
+ "mode": "NULLABLE",
255
+ "name": "sub_id",
256
+ "description": "Sub ID value passed on the click",
257
+ "type": "STRING"
258
+ },
259
+ {
260
+ "mode": "NULLABLE",
261
+ "name": "affiliate_link_oid",
262
+ "description": "Unique object identifier for for the link that this click is associated with",
263
+ "type": "INTEGER"
264
+ },
265
+ {
266
+ "name": "link",
267
+ "description": "Link object associated with this click",
268
+ "type": "RECORD",
269
+ "fields": [
270
+ {
271
+ "mode": "NULLABLE",
272
+ "name": "affiliate_link_oid",
273
+ "description": "Unique object identifier associated with this link",
274
+ "type": "INTEGER"
275
+ },
276
+ {
277
+ "mode": "NULLABLE",
278
+ "name": "affiliate_oid",
279
+ "description": "Affiliate object ID associated with this link",
280
+ "type": "INTEGER"
281
+ },
282
+ {
283
+ "mode": "NULLABLE",
284
+ "name": "creative_oid",
285
+ "description": "Creative (image or text) associated with this link",
286
+ "type": "INTEGER"
287
+ },
288
+ {
289
+ "mode": "NULLABLE",
290
+ "name": "custom_html",
291
+ "description": "Custom HTML associated with this link",
292
+ "type": "STRING"
293
+ },
294
+ {
295
+ "allowed_values": [
296
+ "Pending",
297
+ "Approved",
298
+ "Rejected"
299
+ ],
300
+ "mode": "NULLABLE",
301
+ "name": "custom_html_approval_status",
302
+ "description": "Approved status of the custom html",
303
+ "type": "STRING"
304
+ },
305
+ {
306
+ "mode": "NULLABLE",
307
+ "name": "invisible_link_url_prefix",
308
+ "description": "Invisible link URL prefix",
309
+ "type": "STRING"
310
+ },
311
+ {
312
+ "allowed_values": [
313
+ "Pending",
314
+ "Approved",
315
+ "Rejected"
316
+ ],
317
+ "mode": "NULLABLE",
318
+ "name": "invisible_link_approval_status",
319
+ "description": "Invisible link approval status",
320
+ "type": "STRING"
321
+ },
322
+ {
323
+ "mode": "NULLABLE",
324
+ "name": "deleted",
325
+ "description": "True if the link has been deleted",
326
+ "type": "BOOLEAN"
327
+ },
328
+ {
329
+ "mode": "NULLABLE",
330
+ "name": "name",
331
+ "description": "Name of the link",
332
+ "type": "STRING"
333
+ },
334
+ {
335
+ "allowed_values": [
336
+ "image",
337
+ "text",
338
+ "invisible",
339
+ "direct"
340
+ ],
341
+ "mode": "NULLABLE",
342
+ "name": "type",
343
+ "description": "Type of link",
344
+ "type": "STRING"
345
+ },
346
+ {
347
+ "mode": "NULLABLE",
348
+ "name": "custom_landing_url",
349
+ "description": "Custom landing page URL if configured",
350
+ "type": "STRING"
351
+ },
352
+ {
353
+ "mode": "NULLABLE",
354
+ "name": "code",
355
+ "description": "Code associated with the link",
356
+ "type": "STRING"
357
+ },
358
+ {
359
+ "mode": "NULLABLE",
360
+ "name": "affiliate_program_item_oid",
361
+ "description": "The affiliate program item this managed link is associated with",
362
+ "type": "INTEGER"
363
+ },
364
+ {
365
+ "mode": "NULLABLE",
366
+ "name": "affiliate_managed_link_oid",
367
+ "description": "Managed link OID that this link object was generated from",
368
+ "type": "INTEGER"
369
+ }
370
+ ]
371
+ },
372
+ {
373
+ "mode": "NULLABLE",
374
+ "name": "referrer_query_string",
375
+ "description": "Query string that was on the referrer URL.",
376
+ "type": "STRING"
377
+ },
378
+ {
379
+ "mode": "NULLABLE",
380
+ "name": "landing_page",
381
+ "description": "URL of the landing page the customer was sent to.",
382
+ "type": "STRING"
383
+ },
384
+ {
385
+ "mode": "NULLABLE",
386
+ "name": "landing_page_query_string",
387
+ "description": "Query string on the landing page URL the customer was sent to.",
388
+ "type": "STRING"
389
+ },
390
+ {
391
+ "mode": "NULLABLE",
392
+ "name": "ucacid",
393
+ "description": "UC Analytics Identifier",
394
+ "type": "STRING"
395
+ },
396
+ {
397
+ "mode": "NULLABLE",
398
+ "name": "screen_recording_uuid",
399
+ "description": "Screen recording UUID",
400
+ "type": "STRING"
401
+ }
402
+ ]
403
+ }
404
+ ]
@@ -0,0 +1,166 @@
1
+ [
2
+ {
3
+ "mode": "NULLABLE",
4
+ "name": "partition_date",
5
+ "type": "DATE"
6
+ },
7
+ {
8
+ "mode": "NULLABLE",
9
+ "name": "affiliate_network_pixel_postback_log_uuid",
10
+ "description": "Unique postback log record id",
11
+ "type": "STRING"
12
+ },
13
+ {
14
+ "mode": "NULLABLE",
15
+ "name": "affiliate_network_pixel_oid",
16
+ "description": "Unique object identifier for this Affiliate Network Pixel",
17
+ "type": "INTEGER"
18
+ },
19
+ {
20
+ "mode": "NULLABLE",
21
+ "name": "merchant_id",
22
+ "description": "Merchant ID",
23
+ "type": "STRING"
24
+ },
25
+ {
26
+ "mode": "NULLABLE",
27
+ "name": "storefront_oid",
28
+ "description": "StoreFront object id",
29
+ "type": "INTEGER"
30
+ },
31
+ {
32
+ "mode": "NULLABLE",
33
+ "name": "order_id",
34
+ "description": "Order ID",
35
+ "type": "STRING"
36
+ },
37
+ {
38
+ "mode": "NULLABLE",
39
+ "name": "postback_dts",
40
+ "description": "Date/time of the postback",
41
+ "type": "DATETIME"
42
+ },
43
+ {
44
+ "mode": "NULLABLE",
45
+ "name": "url",
46
+ "description": "The full URL communicated with",
47
+ "type": "STRING"
48
+ },
49
+ {
50
+ "mode": "NULLABLE",
51
+ "name": "status_code",
52
+ "description": "The status code received from the server. 200 = OK",
53
+ "type": "INTEGER"
54
+ },
55
+ {
56
+ "mode": "NULLABLE",
57
+ "name": "response",
58
+ "description": "The response from the server (2K max stored)",
59
+ "type": "STRING"
60
+ },
61
+ {
62
+ "name": "network",
63
+ "type": "RECORD",
64
+ "fields": [
65
+ {
66
+ "mode": "NULLABLE",
67
+ "name": "affiliate_network_pixel_oid",
68
+ "description": "Unique object identifier for this Affiliate Network Pixel",
69
+ "type": "INTEGER"
70
+ },
71
+ {
72
+ "mode": "NULLABLE",
73
+ "name": "merchant_id",
74
+ "description": "Merchant ID",
75
+ "type": "STRING"
76
+ },
77
+ {
78
+ "mode": "NULLABLE",
79
+ "name": "storefront_oid",
80
+ "description": "StoreFront object id",
81
+ "type": "INTEGER"
82
+ },
83
+ {
84
+ "mode": "NULLABLE",
85
+ "name": "network_name",
86
+ "type": "STRING"
87
+ },
88
+ {
89
+ "mode": "NULLABLE",
90
+ "name": "parameter_name",
91
+ "type": "STRING"
92
+ },
93
+ {
94
+ "mode": "NULLABLE",
95
+ "name": "parameter_value",
96
+ "type": "STRING"
97
+ },
98
+ {
99
+ "allowed_values": [
100
+ "Custom",
101
+ "Commission Junction",
102
+ "Server-to-Server"
103
+ ],
104
+ "mode": "NULLABLE",
105
+ "name": "conversion_type",
106
+ "description": "Type of conversion to perform.",
107
+ "type": "STRING"
108
+ },
109
+ {
110
+ "mode": "NULLABLE",
111
+ "name": "conversion_pixel",
112
+ "type": "STRING"
113
+ },
114
+ {
115
+ "mode": "NULLABLE",
116
+ "name": "fire_percentage",
117
+ "type": "NUMERIC"
118
+ },
119
+ {
120
+ "mode": "NULLABLE",
121
+ "name": "record_name_in_custom_field",
122
+ "type": "INTEGER"
123
+ },
124
+ {
125
+ "mode": "NULLABLE",
126
+ "name": "record_fire_in_custom_field",
127
+ "type": "INTEGER"
128
+ },
129
+ {
130
+ "mode": "NULLABLE",
131
+ "name": "cookie_lifetime_days",
132
+ "type": "INTEGER"
133
+ },
134
+ {
135
+ "mode": "NULLABLE",
136
+ "name": "stomp_other_cookies",
137
+ "type": "BOOLEAN"
138
+ },
139
+ {
140
+ "mode": "NULLABLE",
141
+ "name": "no_fire_skip_internal_affiliate_system",
142
+ "type": "BOOLEAN"
143
+ },
144
+ {
145
+ "mode": "NULLABLE",
146
+ "name": "no_fire_assign_to_internal_affiliate_oid",
147
+ "type": "INTEGER"
148
+ },
149
+ {
150
+ "mode": "NULLABLE",
151
+ "name": "assign_to_internal_affiliate_oid",
152
+ "type": "INTEGER"
153
+ },
154
+ {
155
+ "mode": "NULLABLE",
156
+ "name": "commission_fixed",
157
+ "type": "NUMERIC"
158
+ },
159
+ {
160
+ "mode": "NULLABLE",
161
+ "name": "remove_empty_pixel_parameters",
162
+ "type": "BOOLEAN"
163
+ }
164
+ ]
165
+ }
166
+ ]
@@ -0,0 +1,106 @@
1
+ [
2
+ {
3
+ "mode": "NULLABLE",
4
+ "name": "partition_oid",
5
+ "type": "INTEGER"
6
+ },
7
+ {
8
+ "mode": "NULLABLE",
9
+ "name": "affiliate_network_pixel_oid",
10
+ "description": "Unique object identifier for this Affiliate Network Pixel",
11
+ "type": "INTEGER"
12
+ },
13
+ {
14
+ "mode": "NULLABLE",
15
+ "name": "merchant_id",
16
+ "description": "Merchant ID",
17
+ "type": "STRING"
18
+ },
19
+ {
20
+ "mode": "NULLABLE",
21
+ "name": "storefront_oid",
22
+ "description": "StoreFront object id",
23
+ "type": "INTEGER"
24
+ },
25
+ {
26
+ "mode": "NULLABLE",
27
+ "name": "network_name",
28
+ "type": "STRING"
29
+ },
30
+ {
31
+ "mode": "NULLABLE",
32
+ "name": "parameter_name",
33
+ "type": "STRING"
34
+ },
35
+ {
36
+ "mode": "NULLABLE",
37
+ "name": "parameter_value",
38
+ "type": "STRING"
39
+ },
40
+ {
41
+ "allowed_values": [
42
+ "Custom",
43
+ "Commission Junction",
44
+ "Server-to-Server"
45
+ ],
46
+ "mode": "NULLABLE",
47
+ "name": "conversion_type",
48
+ "description": "Type of conversion to perform.",
49
+ "type": "STRING"
50
+ },
51
+ {
52
+ "mode": "NULLABLE",
53
+ "name": "conversion_pixel",
54
+ "type": "STRING"
55
+ },
56
+ {
57
+ "mode": "NULLABLE",
58
+ "name": "fire_percentage",
59
+ "type": "NUMERIC"
60
+ },
61
+ {
62
+ "mode": "NULLABLE",
63
+ "name": "record_name_in_custom_field",
64
+ "type": "INTEGER"
65
+ },
66
+ {
67
+ "mode": "NULLABLE",
68
+ "name": "record_fire_in_custom_field",
69
+ "type": "INTEGER"
70
+ },
71
+ {
72
+ "mode": "NULLABLE",
73
+ "name": "cookie_lifetime_days",
74
+ "type": "INTEGER"
75
+ },
76
+ {
77
+ "mode": "NULLABLE",
78
+ "name": "stomp_other_cookies",
79
+ "type": "BOOLEAN"
80
+ },
81
+ {
82
+ "mode": "NULLABLE",
83
+ "name": "no_fire_skip_internal_affiliate_system",
84
+ "type": "BOOLEAN"
85
+ },
86
+ {
87
+ "mode": "NULLABLE",
88
+ "name": "no_fire_assign_to_internal_affiliate_oid",
89
+ "type": "INTEGER"
90
+ },
91
+ {
92
+ "mode": "NULLABLE",
93
+ "name": "assign_to_internal_affiliate_oid",
94
+ "type": "INTEGER"
95
+ },
96
+ {
97
+ "mode": "NULLABLE",
98
+ "name": "commission_fixed",
99
+ "type": "NUMERIC"
100
+ },
101
+ {
102
+ "mode": "NULLABLE",
103
+ "name": "remove_empty_pixel_parameters",
104
+ "type": "BOOLEAN"
105
+ }
106
+ ]