@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,271 @@
1
+ [
2
+ {
3
+ "mode": "NULLABLE",
4
+ "name": "partition_date",
5
+ "type": "DATE"
6
+ },
7
+ {
8
+ "mode": "NULLABLE",
9
+ "name": "rotating_transaction_gateway_history_oid",
10
+ "type": "INTEGER"
11
+ },
12
+ {
13
+ "mode": "NULLABLE",
14
+ "name": "rotating_transaction_gateway_code",
15
+ "type": "STRING"
16
+ },
17
+ {
18
+ "mode": "NULLABLE",
19
+ "name": "transaction_type",
20
+ "type": "STRING"
21
+ },
22
+ {
23
+ "mode": "NULLABLE",
24
+ "name": "merchant_id",
25
+ "type": "STRING"
26
+ },
27
+ {
28
+ "mode": "NULLABLE",
29
+ "name": "transaction_date",
30
+ "description": "Date/time of the transaction",
31
+ "type": "DATETIME"
32
+ },
33
+ {
34
+ "mode": "NULLABLE",
35
+ "name": "custom_field1",
36
+ "type": "STRING"
37
+ },
38
+ {
39
+ "mode": "NULLABLE",
40
+ "name": "custom_field2",
41
+ "type": "STRING"
42
+ },
43
+ {
44
+ "mode": "NULLABLE",
45
+ "name": "custom_field3",
46
+ "type": "STRING"
47
+ },
48
+ {
49
+ "mode": "NULLABLE",
50
+ "name": "custom_field4",
51
+ "type": "STRING"
52
+ },
53
+ {
54
+ "mode": "NULLABLE",
55
+ "name": "custom_field5",
56
+ "type": "STRING"
57
+ },
58
+ {
59
+ "mode": "NULLABLE",
60
+ "name": "custom_field6",
61
+ "type": "STRING"
62
+ },
63
+ {
64
+ "mode": "NULLABLE",
65
+ "name": "custom_field7",
66
+ "type": "STRING"
67
+ },
68
+ {
69
+ "mode": "NULLABLE",
70
+ "name": "card_type",
71
+ "type": "STRING"
72
+ },
73
+ {
74
+ "mode": "NULLABLE",
75
+ "name": "first_name",
76
+ "type": "STRING"
77
+ },
78
+ {
79
+ "mode": "NULLABLE",
80
+ "name": "last_name",
81
+ "type": "STRING"
82
+ },
83
+ {
84
+ "mode": "NULLABLE",
85
+ "name": "card_last4",
86
+ "type": "STRING"
87
+ },
88
+ {
89
+ "mode": "NULLABLE",
90
+ "name": "card_bin",
91
+ "type": "STRING"
92
+ },
93
+ {
94
+ "mode": "NULLABLE",
95
+ "name": "country_code",
96
+ "type": "STRING"
97
+ },
98
+ {
99
+ "mode": "NULLABLE",
100
+ "name": "address_line1",
101
+ "type": "STRING"
102
+ },
103
+ {
104
+ "mode": "NULLABLE",
105
+ "name": "postal_code",
106
+ "type": "STRING"
107
+ },
108
+ {
109
+ "mode": "NULLABLE",
110
+ "name": "success",
111
+ "type": "BOOLEAN"
112
+ },
113
+ {
114
+ "mode": "NULLABLE",
115
+ "name": "cvv2_present",
116
+ "type": "BOOLEAN"
117
+ },
118
+ {
119
+ "mode": "NULLABLE",
120
+ "name": "order_id",
121
+ "type": "STRING"
122
+ },
123
+ {
124
+ "mode": "NULLABLE",
125
+ "name": "first_item_id",
126
+ "type": "STRING"
127
+ },
128
+ {
129
+ "mode": "NULLABLE",
130
+ "name": "auto_order_original_order_id",
131
+ "type": "STRING"
132
+ },
133
+ {
134
+ "mode": "NULLABLE",
135
+ "name": "auto_order_original_item_id",
136
+ "type": "STRING"
137
+ },
138
+ {
139
+ "mode": "NULLABLE",
140
+ "name": "auto_order_rebill_count",
141
+ "type": "INTEGER"
142
+ },
143
+ {
144
+ "mode": "NULLABLE",
145
+ "name": "auto_order_attempt",
146
+ "type": "INTEGER"
147
+ },
148
+ {
149
+ "mode": "NULLABLE",
150
+ "name": "affiliate_oid",
151
+ "type": "INTEGER"
152
+ },
153
+ {
154
+ "mode": "NULLABLE",
155
+ "name": "affiliate_sub_id",
156
+ "type": "STRING"
157
+ },
158
+ {
159
+ "mode": "NULLABLE",
160
+ "name": "transaction_amount",
161
+ "type": "NUMERIC"
162
+ },
163
+ {
164
+ "mode": "NULLABLE",
165
+ "name": "auto_order_cancel",
166
+ "type": "BOOLEAN"
167
+ },
168
+ {
169
+ "mode": "NULLABLE",
170
+ "name": "card_bin_type",
171
+ "type": "STRING"
172
+ },
173
+ {
174
+ "mode": "NULLABLE",
175
+ "name": "cart_id",
176
+ "type": "STRING"
177
+ },
178
+ {
179
+ "mode": "REPEATED",
180
+ "name": "extended_details",
181
+ "type": "RECORD",
182
+ "fields": [
183
+ {
184
+ "mode": "NULLABLE",
185
+ "name": "name",
186
+ "type": "STRING"
187
+ },
188
+ {
189
+ "mode": "NULLABLE",
190
+ "name": "value",
191
+ "type": "STRING"
192
+ }
193
+ ]
194
+ },
195
+ {
196
+ "name": "three_ds",
197
+ "type": "RECORD",
198
+ "fields": [
199
+ {
200
+ "mode": "NULLABLE",
201
+ "name": "authentication_type",
202
+ "type": "STRING"
203
+ },
204
+ {
205
+ "mode": "NULLABLE",
206
+ "name": "authentication_value",
207
+ "type": "STRING"
208
+ },
209
+ {
210
+ "mode": "NULLABLE",
211
+ "name": "eci",
212
+ "type": "STRING"
213
+ },
214
+ {
215
+ "mode": "NULLABLE",
216
+ "name": "status",
217
+ "type": "STRING"
218
+ },
219
+ {
220
+ "mode": "NULLABLE",
221
+ "name": "protocol_version",
222
+ "type": "STRING"
223
+ },
224
+ {
225
+ "mode": "NULLABLE",
226
+ "name": "ds_trans_id",
227
+ "type": "STRING"
228
+ },
229
+ {
230
+ "mode": "NULLABLE",
231
+ "name": "acs_trans_id",
232
+ "type": "STRING"
233
+ },
234
+ {
235
+ "mode": "NULLABLE",
236
+ "name": "card_token",
237
+ "type": "STRING"
238
+ },
239
+ {
240
+ "mode": "NULLABLE",
241
+ "name": "sca_indicator",
242
+ "type": "BOOLEAN"
243
+ }
244
+ ]
245
+ },
246
+ {
247
+ "mode": "NULLABLE",
248
+ "name": "first_name_hash",
249
+ "type": "STRING"
250
+ },
251
+ {
252
+ "mode": "NULLABLE",
253
+ "name": "last_name_hash",
254
+ "type": "STRING"
255
+ },
256
+ {
257
+ "mode": "NULLABLE",
258
+ "name": "address_line1_hash",
259
+ "type": "STRING"
260
+ },
261
+ {
262
+ "mode": "NULLABLE",
263
+ "name": "returned_dual_vaulted_card",
264
+ "type": "BOOLEAN"
265
+ },
266
+ {
267
+ "mode": "NULLABLE",
268
+ "name": "used_dual_vaulted_card",
269
+ "type": "BOOLEAN"
270
+ }
271
+ ]
@@ -0,0 +1,416 @@
1
+ [
2
+ {
3
+ "mode": "NULLABLE",
4
+ "name": "partition_oid",
5
+ "type": "INTEGER"
6
+ },
7
+ {
8
+ "mode": "NULLABLE",
9
+ "name": "merchant_id",
10
+ "description": "Merchant ID that this RTG belongs to",
11
+ "type": "STRING"
12
+ },
13
+ {
14
+ "mode": "NULLABLE",
15
+ "name": "rotating_transaction_gateway_oid",
16
+ "description": "Internal identifier used to store and retrieve this gateway information",
17
+ "type": "INTEGER"
18
+ },
19
+ {
20
+ "mode": "NULLABLE",
21
+ "name": "code",
22
+ "description": "A human friendly short code used to recognize and differentiate this rotating gateway with other rotating gateways",
23
+ "type": "STRING"
24
+ },
25
+ {
26
+ "mode": "NULLABLE",
27
+ "name": "traffic_percentage",
28
+ "description": "Required field between 0 and 1 that dictates the percentage of traffic that should flow through this gateway",
29
+ "type": "NUMERIC"
30
+ },
31
+ {
32
+ "allowed_values": [
33
+ "active",
34
+ "inactive",
35
+ "standby"
36
+ ],
37
+ "mode": "NULLABLE",
38
+ "name": "status",
39
+ "description": "A field used to take a gateway offline without removing/deleting the configuration. Inactive marks the gateway as completely unusable. Standby takes the gateway offline and will not be used unless all other active gateways fail.",
40
+ "type": "STRING"
41
+ },
42
+ {
43
+ "mode": "NULLABLE",
44
+ "name": "deactivate_after_failures",
45
+ "description": "If non-zero, this gateway will be deactivated after reaching this amount of consecutive failures.",
46
+ "type": "INTEGER"
47
+ },
48
+ {
49
+ "mode": "NULLABLE",
50
+ "name": "charge_appears_on_statement_as",
51
+ "description": "Optional field providing an alternate Charge Appears As value for this rotating gateway",
52
+ "type": "STRING"
53
+ },
54
+ {
55
+ "mode": "NULLABLE",
56
+ "name": "cascade_code",
57
+ "description": "Optional field specifying a different rotating gateway to use if this gateway fails to process the transaction.",
58
+ "type": "STRING"
59
+ },
60
+ {
61
+ "mode": "NULLABLE",
62
+ "name": "maximum_monthly",
63
+ "description": "The maximum monthly dollar amount this gateway may process.",
64
+ "type": "NUMERIC"
65
+ },
66
+ {
67
+ "mode": "NULLABLE",
68
+ "name": "current_monthly",
69
+ "description": "The current monthly dollar amount this gateway has processed. Providing this will allow UltraCart to track the monthly amount going forward.",
70
+ "type": "NUMERIC"
71
+ },
72
+ {
73
+ "mode": "NULLABLE",
74
+ "name": "next_monthly_reset",
75
+ "description": "The date and time when this gateway monthly limit will reset",
76
+ "type": "DATETIME"
77
+ },
78
+ {
79
+ "mode": "NULLABLE",
80
+ "name": "maximum_daily",
81
+ "description": "The maximum daily dollar amount this gateway may process",
82
+ "type": "NUMERIC"
83
+ },
84
+ {
85
+ "mode": "NULLABLE",
86
+ "name": "current_daily",
87
+ "description": "The current daily dollar amount this gateway has processed. Providing this will allow UltraCart to track the monthly amount going forward.",
88
+ "type": "NUMERIC"
89
+ },
90
+ {
91
+ "mode": "NULLABLE",
92
+ "name": "next_daily_reset",
93
+ "description": "The date and time when this gateway daily limit will reset",
94
+ "type": "DATETIME"
95
+ },
96
+ {
97
+ "mode": "NULLABLE",
98
+ "name": "maximum_daily_auto_order",
99
+ "description": "The maximum daily dollar amount of auto orders (recurring) this gateway may process",
100
+ "type": "NUMERIC"
101
+ },
102
+ {
103
+ "mode": "NULLABLE",
104
+ "name": "current_daily_auto_order",
105
+ "description": "The current daily dollar amount of auto orders (recurring) this gateway has processed. Providing this will allow UltraCart to track the monthly amount going forward.",
106
+ "type": "NUMERIC"
107
+ },
108
+ {
109
+ "mode": "NULLABLE",
110
+ "name": "cascade_daily_auto_order_code",
111
+ "description": "The code for the next rotating gateway that should be used when this gateway reaches a daily limit",
112
+ "type": "STRING"
113
+ },
114
+ {
115
+ "mode": "NULLABLE",
116
+ "name": "next_daily_auto_order_reset",
117
+ "description": "The date and time when this gateway daily limit for auto orders will reset",
118
+ "type": "DATETIME"
119
+ },
120
+ {
121
+ "mode": "NULLABLE",
122
+ "name": "start_date",
123
+ "description": "Optional field to specify an absolute date when this gateway should begin accepting transactions",
124
+ "type": "DATETIME"
125
+ },
126
+ {
127
+ "mode": "NULLABLE",
128
+ "name": "end_date",
129
+ "description": "Optional field to specify an absolute date when this gateway should stop accepting transactions",
130
+ "type": "DATETIME"
131
+ },
132
+ {
133
+ "mode": "NULLABLE",
134
+ "name": "order_total",
135
+ "description": "This optional field is combined with order_total_comparison to determine if an order should be processed thorugh this gateway.",
136
+ "type": "NUMERIC"
137
+ },
138
+ {
139
+ "allowed_values": [
140
+ "<",
141
+ "<=",
142
+ "=",
143
+ ">",
144
+ ">="
145
+ ],
146
+ "mode": "NULLABLE",
147
+ "name": "order_total_comparison",
148
+ "description": "The math operator used to determine if the order total is allowed to process through this gateway.",
149
+ "type": "STRING"
150
+ },
151
+ {
152
+ "mode": "NULLABLE",
153
+ "name": "customer_service_email",
154
+ "description": "The customer service email address for this gateway",
155
+ "type": "STRING"
156
+ },
157
+ {
158
+ "mode": "NULLABLE",
159
+ "name": "customer_service_phone",
160
+ "description": "The customer service phone number for this gateway",
161
+ "type": "STRING"
162
+ },
163
+ {
164
+ "mode": "NULLABLE",
165
+ "name": "trial_daily_limit",
166
+ "description": "If specified, limits the total daily dollar amount of trial orders",
167
+ "type": "INTEGER"
168
+ },
169
+ {
170
+ "mode": "NULLABLE",
171
+ "name": "trial_daily_amount",
172
+ "description": "If specified, limits the total daily count of trial orders",
173
+ "type": "INTEGER"
174
+ },
175
+ {
176
+ "mode": "NULLABLE",
177
+ "name": "trial_monthly_amount",
178
+ "description": "If specified, limits the total month dollar amount of trial orders",
179
+ "type": "INTEGER"
180
+ },
181
+ {
182
+ "mode": "NULLABLE",
183
+ "name": "trial_monthly_limit",
184
+ "description": "If specified, limits the total month count of trial orders",
185
+ "type": "INTEGER"
186
+ },
187
+ {
188
+ "mode": "NULLABLE",
189
+ "name": "reserves_released_through",
190
+ "description": "An optional date specifying the date up to which your gateway has released all reserve funds. This aids in profitability reporting.",
191
+ "type": "DATETIME"
192
+ },
193
+ {
194
+ "mode": "NULLABLE",
195
+ "name": "reserve_percentage",
196
+ "description": "The percentage of an order which your gateway is holding in reserve. This aids in profitability reporting.",
197
+ "type": "NUMERIC"
198
+ },
199
+ {
200
+ "mode": "NULLABLE",
201
+ "name": "reserve_days",
202
+ "description": "The number of days that your gateway holds any reserves. This aids in profitability reporting.",
203
+ "type": "INTEGER"
204
+ },
205
+ {
206
+ "mode": "NULLABLE",
207
+ "name": "reserve_refunded",
208
+ "description": "If true, reserves are refunded when an order is refunded. This aids in profitability reporting.",
209
+ "type": "BOOLEAN"
210
+ },
211
+ {
212
+ "mode": "NULLABLE",
213
+ "name": "base_currency_code",
214
+ "description": "The base currency code for your gateway. For example, USD.",
215
+ "type": "STRING"
216
+ },
217
+ {
218
+ "mode": "REPEATED",
219
+ "name": "additional_native_currency_codes",
220
+ "description": "An array of all currencies known to the UltraCart system and a boolean indicating whether this gateway supports that currency.",
221
+ "type": "RECORD",
222
+ "fields": [
223
+ {
224
+ "mode": "NULLABLE",
225
+ "name": "selected",
226
+ "description": "true if this rotating gateway supports this currency",
227
+ "type": "BOOLEAN"
228
+ },
229
+ {
230
+ "mode": "NULLABLE",
231
+ "name": "currency_code",
232
+ "description": "Standard three letter currency code, for example USD",
233
+ "type": "STRING"
234
+ },
235
+ {
236
+ "mode": "NULLABLE",
237
+ "name": "description",
238
+ "description": "Human friendly description of currency",
239
+ "type": "STRING"
240
+ }
241
+ ]
242
+ },
243
+ {
244
+ "mode": "NULLABLE",
245
+ "name": "auto_order_cancel_unless_response_name",
246
+ "description": "Advanced feature for canceling an auto order unless the transaction gateway response contains a field with this name. If specified, this field must exist and the value must equal a value in the auto_order_cancel_unless_response_values array",
247
+ "type": "STRING"
248
+ },
249
+ {
250
+ "mode": "REPEATED",
251
+ "name": "auto_order_cancel_unless_response_values",
252
+ "description": "Advanced feature for canceling an auto order unless the transaction gateway response contains a field with the name specified in auto_order_cancel_unless_response_name. If specified, this field must exist and the value must equal a value in this array. If nothing matches, the auto order is canceled.",
253
+ "type": "RECORD",
254
+ "fields": [{
255
+ "mode": "NULLABLE",
256
+ "name": "value",
257
+ "type": "STRING"
258
+ }]
259
+ },
260
+ {
261
+ "mode": "NULLABLE",
262
+ "name": "prevent_cascade_if_response_name",
263
+ "description": "Advanced feature for preventing cascading if the transaction gateway response is a hard decline. To prevent a cascade (additional attempt to other payment processors configured in your rotating gateway), this field must exist in the gateway response and the value must equal a value in the prevent_cascade_if_response_values array",
264
+ "type": "STRING"
265
+ },
266
+ {
267
+ "mode": "REPEATED",
268
+ "name": "prevent_cascade_if_response_values",
269
+ "description": "Advanced feature for preventing cascading if the transaction gateway response is a hard decline. To prevent a cascade (additional attempt to other payment processors configured in your rotating gateway), this name of the field in the gateway response must match prevent_cascade_if_response_name and the value must equal a value here",
270
+ "type": "RECORD",
271
+ "fields": [{
272
+ "mode": "NULLABLE",
273
+ "name": "value",
274
+ "type": "STRING"
275
+ }]
276
+ },
277
+ {
278
+ "mode": "NULLABLE",
279
+ "name": "rebill_auto_orders_against_this_rtg_code",
280
+ "description": "If specified auto orders (rebills) are routed to this rotating gateway. This may be needed because rebills lack a credit card cvv.",
281
+ "type": "STRING"
282
+ },
283
+ {
284
+ "mode": "NULLABLE",
285
+ "name": "require_cvv2",
286
+ "description": "If true, this rotating gateway will require customer to provide the CVV2 number",
287
+ "type": "BOOLEAN"
288
+ },
289
+ {
290
+ "mode": "REPEATED",
291
+ "name": "day_of_week_restrictions",
292
+ "description": "Array containing all seven days of the week and any optional restrictions for one or more days",
293
+ "type": "RECORD",
294
+ "fields": [
295
+ {
296
+ "mode": "NULLABLE",
297
+ "name": "day_of_week",
298
+ "description": "1=Sun,2=Mon,3=Tue,4=Wed,5=Thu,6=Fri,7=Sat",
299
+ "type": "INTEGER"
300
+ },
301
+ {
302
+ "mode": "NULLABLE",
303
+ "name": "abbreviation",
304
+ "description": "Human readable day of week abbreviation",
305
+ "type": "STRING"
306
+ },
307
+ {
308
+ "mode": "NULLABLE",
309
+ "name": "selected",
310
+ "description": "True if this rotating gateway is allowed to operate on this day of week. If no days are selected, all days are allowed.",
311
+ "type": "BOOLEAN"
312
+ }
313
+ ]
314
+ },
315
+ {
316
+ "mode": "REPEATED",
317
+ "name": "day_of_month_restrictions",
318
+ "description": "Array containing all 31 (possible) days and any optional restrictions for one or more days.",
319
+ "type": "RECORD",
320
+ "fields": [
321
+ {
322
+ "mode": "NULLABLE",
323
+ "name": "day_of_month",
324
+ "description": "The day of the month. 1 equals the first day of the month, 31 is the last possible value.",
325
+ "type": "INTEGER"
326
+ },
327
+ {
328
+ "mode": "NULLABLE",
329
+ "name": "selected",
330
+ "description": "True if this rotating gateway is allowed to operate on this day of month. If no days are selected, all days are allowed.",
331
+ "type": "BOOLEAN"
332
+ }
333
+ ]
334
+ },
335
+ {
336
+ "mode": "REPEATED",
337
+ "name": "theme_restrictions",
338
+ "description": "Optional restrictions by theme/storefront",
339
+ "type": "RECORD",
340
+ "fields": [
341
+ {
342
+ "mode": "NULLABLE",
343
+ "name": "theme_code",
344
+ "description": "Human friendly short code for this theme",
345
+ "type": "STRING"
346
+ },
347
+ {
348
+ "allowed_values": [
349
+ "invalid",
350
+ "valid",
351
+ "validOnly"
352
+ ],
353
+ "mode": "NULLABLE",
354
+ "name": "restriction",
355
+ "description": "Any restriction for this theme",
356
+ "type": "STRING"
357
+ },
358
+ {
359
+ "mode": "NULLABLE",
360
+ "name": "storefront_host_name",
361
+ "description": "The server name for this theme. This will not be populated for legacy (ancient) themes",
362
+ "type": "STRING"
363
+ }
364
+ ]
365
+ },
366
+ {
367
+ "mode": "REPEATED",
368
+ "name": "currency_code_restrictions",
369
+ "description": "Optional restrictions by currency code",
370
+ "type": "RECORD",
371
+ "fields": [
372
+ {
373
+ "mode": "NULLABLE",
374
+ "name": "currency_code",
375
+ "description": "Currency code",
376
+ "type": "STRING"
377
+ },
378
+ {
379
+ "allowed_values": [
380
+ "invalid",
381
+ "valid",
382
+ "validOnly"
383
+ ],
384
+ "mode": "NULLABLE",
385
+ "name": "restriction",
386
+ "description": "Any restriction for this currency code",
387
+ "type": "STRING"
388
+ }
389
+ ]
390
+ },
391
+ {
392
+ "mode": "NULLABLE",
393
+ "name": "maximum_international_percentage",
394
+ "type": "NUMERIC"
395
+ },
396
+ {
397
+ "mode": "NULLABLE",
398
+ "name": "cumulative_domestic_revenue",
399
+ "type": "NUMERIC"
400
+ },
401
+ {
402
+ "mode": "NULLABLE",
403
+ "name": "cumulative_international_revenue",
404
+ "type": "NUMERIC"
405
+ },
406
+ {
407
+ "mode": "NULLABLE",
408
+ "name": "preferred_for_auto_orders",
409
+ "type": "BOOLEAN"
410
+ },
411
+ {
412
+ "mode": "NULLABLE",
413
+ "name": "batch_cutoff_time",
414
+ "type": "STRING"
415
+ }
416
+ ]