@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.
- package/LICENSE +191 -0
- package/README.md +952 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +42 -0
- package/dist/cli.js.map +1 -0
- package/dist/commands/alarm.d.ts +3 -0
- package/dist/commands/alarm.d.ts.map +1 -0
- package/dist/commands/alarm.js +146 -0
- package/dist/commands/alarm.js.map +1 -0
- package/dist/commands/config.d.ts +3 -0
- package/dist/commands/config.d.ts.map +1 -0
- package/dist/commands/config.js +749 -0
- package/dist/commands/config.js.map +1 -0
- package/dist/commands/deck.d.ts +3 -0
- package/dist/commands/deck.d.ts.map +1 -0
- package/dist/commands/deck.js +567 -0
- package/dist/commands/deck.js.map +1 -0
- package/dist/commands/dry-run.d.ts +3 -0
- package/dist/commands/dry-run.d.ts.map +1 -0
- package/dist/commands/dry-run.js +105 -0
- package/dist/commands/dry-run.js.map +1 -0
- package/dist/commands/history.d.ts +3 -0
- package/dist/commands/history.d.ts.map +1 -0
- package/dist/commands/history.js +127 -0
- package/dist/commands/history.js.map +1 -0
- package/dist/commands/init.d.ts +3 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +302 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/install-skill.d.ts +3 -0
- package/dist/commands/install-skill.d.ts.map +1 -0
- package/dist/commands/install-skill.js +132 -0
- package/dist/commands/install-skill.js.map +1 -0
- package/dist/commands/list.d.ts +3 -0
- package/dist/commands/list.d.ts.map +1 -0
- package/dist/commands/list.js +89 -0
- package/dist/commands/list.js.map +1 -0
- package/dist/commands/query.d.ts +3 -0
- package/dist/commands/query.d.ts.map +1 -0
- package/dist/commands/query.js +152 -0
- package/dist/commands/query.js.map +1 -0
- package/dist/commands/render.d.ts +3 -0
- package/dist/commands/render.d.ts.map +1 -0
- package/dist/commands/render.js +107 -0
- package/dist/commands/render.js.map +1 -0
- package/dist/commands/run-all.d.ts +3 -0
- package/dist/commands/run-all.d.ts.map +1 -0
- package/dist/commands/run-all.js +285 -0
- package/dist/commands/run-all.js.map +1 -0
- package/dist/commands/run.d.ts +3 -0
- package/dist/commands/run.d.ts.map +1 -0
- package/dist/commands/run.js +321 -0
- package/dist/commands/run.js.map +1 -0
- package/dist/commands/schema.d.ts +3 -0
- package/dist/commands/schema.d.ts.map +1 -0
- package/dist/commands/schema.js +271 -0
- package/dist/commands/schema.js.map +1 -0
- package/dist/commands/validate.d.ts +3 -0
- package/dist/commands/validate.d.ts.map +1 -0
- package/dist/commands/validate.js +109 -0
- package/dist/commands/validate.js.map +1 -0
- package/dist/lib/alarm-notify.d.ts +16 -0
- package/dist/lib/alarm-notify.d.ts.map +1 -0
- package/dist/lib/alarm-notify.js +312 -0
- package/dist/lib/alarm-notify.js.map +1 -0
- package/dist/lib/alarm-state.d.ts +26 -0
- package/dist/lib/alarm-state.d.ts.map +1 -0
- package/dist/lib/alarm-state.js +118 -0
- package/dist/lib/alarm-state.js.map +1 -0
- package/dist/lib/alarm.d.ts +28 -0
- package/dist/lib/alarm.d.ts.map +1 -0
- package/dist/lib/alarm.js +215 -0
- package/dist/lib/alarm.js.map +1 -0
- package/dist/lib/analysis.d.ts +16 -0
- package/dist/lib/analysis.d.ts.map +1 -0
- package/dist/lib/analysis.js +134 -0
- package/dist/lib/analysis.js.map +1 -0
- package/dist/lib/bigquery.d.ts +55 -0
- package/dist/lib/bigquery.d.ts.map +1 -0
- package/dist/lib/bigquery.js +321 -0
- package/dist/lib/bigquery.js.map +1 -0
- package/dist/lib/config-writer.d.ts +3 -0
- package/dist/lib/config-writer.d.ts.map +1 -0
- package/dist/lib/config-writer.js +60 -0
- package/dist/lib/config-writer.js.map +1 -0
- package/dist/lib/config.d.ts +63 -0
- package/dist/lib/config.d.ts.map +1 -0
- package/dist/lib/config.js +151 -0
- package/dist/lib/config.js.map +1 -0
- package/dist/lib/dashboard.d.ts +3 -0
- package/dist/lib/dashboard.d.ts.map +1 -0
- package/dist/lib/dashboard.js +468 -0
- package/dist/lib/dashboard.js.map +1 -0
- package/dist/lib/deck.d.ts +58 -0
- package/dist/lib/deck.d.ts.map +1 -0
- package/dist/lib/deck.js +232 -0
- package/dist/lib/deck.js.map +1 -0
- package/dist/lib/deliver-email.d.ts +14 -0
- package/dist/lib/deliver-email.d.ts.map +1 -0
- package/dist/lib/deliver-email.js +360 -0
- package/dist/lib/deliver-email.js.map +1 -0
- package/dist/lib/deliver-slack.d.ts +6 -0
- package/dist/lib/deliver-slack.d.ts.map +1 -0
- package/dist/lib/deliver-slack.js +73 -0
- package/dist/lib/deliver-slack.js.map +1 -0
- package/dist/lib/deliver.d.ts +10 -0
- package/dist/lib/deliver.d.ts.map +1 -0
- package/dist/lib/deliver.js +95 -0
- package/dist/lib/deliver.js.map +1 -0
- package/dist/lib/llm/anthropic.d.ts +7 -0
- package/dist/lib/llm/anthropic.d.ts.map +1 -0
- package/dist/lib/llm/anthropic.js +69 -0
- package/dist/lib/llm/anthropic.js.map +1 -0
- package/dist/lib/llm/bedrock.d.ts +7 -0
- package/dist/lib/llm/bedrock.d.ts.map +1 -0
- package/dist/lib/llm/bedrock.js +67 -0
- package/dist/lib/llm/bedrock.js.map +1 -0
- package/dist/lib/llm/gemini.d.ts +7 -0
- package/dist/lib/llm/gemini.d.ts.map +1 -0
- package/dist/lib/llm/gemini.js +67 -0
- package/dist/lib/llm/gemini.js.map +1 -0
- package/dist/lib/llm/index.d.ts +5 -0
- package/dist/lib/llm/index.d.ts.map +1 -0
- package/dist/lib/llm/index.js +61 -0
- package/dist/lib/llm/index.js.map +1 -0
- package/dist/lib/llm/models.d.ts +5 -0
- package/dist/lib/llm/models.d.ts.map +1 -0
- package/dist/lib/llm/models.js +33 -0
- package/dist/lib/llm/models.js.map +1 -0
- package/dist/lib/llm/openai.d.ts +8 -0
- package/dist/lib/llm/openai.d.ts.map +1 -0
- package/dist/lib/llm/openai.js +48 -0
- package/dist/lib/llm/openai.js.map +1 -0
- package/dist/lib/llm/provider.d.ts +28 -0
- package/dist/lib/llm/provider.d.ts.map +1 -0
- package/dist/lib/llm/provider.js +3 -0
- package/dist/lib/llm/provider.js.map +1 -0
- package/dist/lib/manifest.d.ts +95 -0
- package/dist/lib/manifest.d.ts.map +1 -0
- package/dist/lib/manifest.js +105 -0
- package/dist/lib/manifest.js.map +1 -0
- package/dist/lib/params.d.ts +27 -0
- package/dist/lib/params.d.ts.map +1 -0
- package/dist/lib/params.js +192 -0
- package/dist/lib/params.js.map +1 -0
- package/dist/lib/pdf.d.ts +8 -0
- package/dist/lib/pdf.d.ts.map +1 -0
- package/dist/lib/pdf.js +86 -0
- package/dist/lib/pdf.js.map +1 -0
- package/dist/lib/renderer.d.ts +17 -0
- package/dist/lib/renderer.d.ts.map +1 -0
- package/dist/lib/renderer.js +166 -0
- package/dist/lib/renderer.js.map +1 -0
- package/dist/lib/schema-filter.d.ts +3 -0
- package/dist/lib/schema-filter.d.ts.map +1 -0
- package/dist/lib/schema-filter.js +49 -0
- package/dist/lib/schema-filter.js.map +1 -0
- package/dist/lib/template.d.ts +4 -0
- package/dist/lib/template.d.ts.map +1 -0
- package/dist/lib/template.js +37 -0
- package/dist/lib/template.js.map +1 -0
- package/dist/lib/validator.d.ts +8 -0
- package/dist/lib/validator.d.ts.map +1 -0
- package/dist/lib/validator.js +88 -0
- package/dist/lib/validator.js.map +1 -0
- package/package.json +59 -0
- package/schemas/deck.schema.json +122 -0
- package/schemas/report-manifest.schema.json +309 -0
- package/schemas/tables/README.md +45 -0
- package/schemas/tables/ultracart_dw/uc_affiliate_clicks.json +186 -0
- package/schemas/tables/ultracart_dw/uc_affiliate_commission_groups.json +317 -0
- package/schemas/tables/ultracart_dw/uc_affiliate_ledgers.json +404 -0
- package/schemas/tables/ultracart_dw/uc_affiliate_network_pixel_postback_logs.json +166 -0
- package/schemas/tables/ultracart_dw/uc_affiliate_network_pixels.json +106 -0
- package/schemas/tables/ultracart_dw/uc_affiliate_payments.json +204 -0
- package/schemas/tables/ultracart_dw/uc_affiliate_postback_logs.json +90 -0
- package/schemas/tables/ultracart_dw/uc_affiliates.json +425 -0
- package/schemas/tables/ultracart_dw/uc_auto_orders.json +13848 -0
- package/schemas/tables/ultracart_dw/uc_cart_abandons.json +3971 -0
- package/schemas/tables/ultracart_dw/uc_conversation_pbx_calls.json +374 -0
- package/schemas/tables/ultracart_dw/uc_conversations.json +374 -0
- package/schemas/tables/ultracart_dw/uc_coupons.json +1893 -0
- package/schemas/tables/ultracart_dw/uc_customers.json +11886 -0
- package/schemas/tables/ultracart_dw/uc_fraud_rules.json +239 -0
- package/schemas/tables/ultracart_dw/uc_gift_certificates.json +135 -0
- package/schemas/tables/ultracart_dw/uc_item_inventory_history.json +79 -0
- package/schemas/tables/ultracart_dw/uc_items.json +4437 -0
- package/schemas/tables/ultracart_dw/uc_orders.json +6629 -0
- package/schemas/tables/ultracart_dw/uc_rotating_transaction_gateway_history.json +271 -0
- package/schemas/tables/ultracart_dw/uc_rotating_transaction_gateways.json +416 -0
- package/schemas/tables/ultracart_dw/uc_shipping_methods.json +1372 -0
- package/schemas/tables/ultracart_dw/uc_storefront_customers.json +261 -0
- package/schemas/tables/ultracart_dw/uc_storefront_experiments.json +386 -0
- package/schemas/tables/ultracart_dw/uc_storefront_pages.json +513 -0
- package/schemas/tables/ultracart_dw/uc_storefront_upsell_offer_events.json +338 -0
- package/schemas/tables/ultracart_dw/uc_storefront_upsell_offers.json +431 -0
- package/schemas/tables/ultracart_dw/uc_storefront_upsell_paths.json +163 -0
- package/schemas/tables/ultracart_dw/uc_storefronts.json +62 -0
- package/schemas/tables/ultracart_dw/uc_surveys.json +238 -0
- package/schemas/tables/ultracart_dw/uc_workflow_tasks.json +377 -0
- package/schemas/tables/ultracart_dw/uc_zoho_desk_tickets.json +1184 -0
- package/schemas/tables/ultracart_dw_high/uc_affiliate_clicks.json +186 -0
- package/schemas/tables/ultracart_dw_high/uc_affiliate_commission_groups.json +317 -0
- package/schemas/tables/ultracart_dw_high/uc_affiliate_ledgers.json +404 -0
- package/schemas/tables/ultracart_dw_high/uc_affiliate_network_pixel_postback_logs.json +166 -0
- package/schemas/tables/ultracart_dw_high/uc_affiliate_network_pixels.json +106 -0
- package/schemas/tables/ultracart_dw_high/uc_affiliate_payments.json +204 -0
- package/schemas/tables/ultracart_dw_high/uc_affiliate_postback_logs.json +90 -0
- package/schemas/tables/ultracart_dw_high/uc_affiliates.json +425 -0
- package/schemas/tables/ultracart_dw_high/uc_auto_orders.json +14332 -0
- package/schemas/tables/ultracart_dw_high/uc_cart_abandons.json +4245 -0
- package/schemas/tables/ultracart_dw_high/uc_conversation_pbx_calls.json +415 -0
- package/schemas/tables/ultracart_dw_high/uc_conversations.json +415 -0
- package/schemas/tables/ultracart_dw_high/uc_coupons.json +1893 -0
- package/schemas/tables/ultracart_dw_high/uc_customers.json +12250 -0
- package/schemas/tables/ultracart_dw_high/uc_fraud_rules.json +239 -0
- package/schemas/tables/ultracart_dw_high/uc_gift_certificates.json +135 -0
- package/schemas/tables/ultracart_dw_high/uc_item_inventory_history.json +79 -0
- package/schemas/tables/ultracart_dw_high/uc_items.json +4437 -0
- package/schemas/tables/ultracart_dw_high/uc_orders.json +6871 -0
- package/schemas/tables/ultracart_dw_high/uc_rotating_transaction_gateway_history.json +271 -0
- package/schemas/tables/ultracart_dw_high/uc_rotating_transaction_gateways.json +416 -0
- package/schemas/tables/ultracart_dw_high/uc_shipping_methods.json +1372 -0
- package/schemas/tables/ultracart_dw_high/uc_storefront_customers.json +261 -0
- package/schemas/tables/ultracart_dw_high/uc_storefront_experiments.json +386 -0
- package/schemas/tables/ultracart_dw_high/uc_storefront_pages.json +513 -0
- package/schemas/tables/ultracart_dw_high/uc_storefront_upsell_offer_events.json +338 -0
- package/schemas/tables/ultracart_dw_high/uc_storefront_upsell_offers.json +431 -0
- package/schemas/tables/ultracart_dw_high/uc_storefront_upsell_paths.json +163 -0
- package/schemas/tables/ultracart_dw_high/uc_storefronts.json +62 -0
- package/schemas/tables/ultracart_dw_high/uc_surveys.json +269 -0
- package/schemas/tables/ultracart_dw_high/uc_workflow_tasks.json +377 -0
- package/schemas/tables/ultracart_dw_high/uc_zoho_desk_tickets.json +1330 -0
- package/schemas/tables/ultracart_dw_low/uc_affiliate_clicks.json +186 -0
- package/schemas/tables/ultracart_dw_low/uc_affiliate_commission_groups.json +317 -0
- package/schemas/tables/ultracart_dw_low/uc_affiliate_ledgers.json +404 -0
- package/schemas/tables/ultracart_dw_low/uc_affiliate_network_pixel_postback_logs.json +166 -0
- package/schemas/tables/ultracart_dw_low/uc_affiliate_network_pixels.json +106 -0
- package/schemas/tables/ultracart_dw_low/uc_affiliate_payments.json +204 -0
- package/schemas/tables/ultracart_dw_low/uc_affiliate_postback_logs.json +90 -0
- package/schemas/tables/ultracart_dw_low/uc_affiliates.json +425 -0
- package/schemas/tables/ultracart_dw_low/uc_auto_orders.json +13868 -0
- package/schemas/tables/ultracart_dw_low/uc_cart_abandons.json +3971 -0
- package/schemas/tables/ultracart_dw_low/uc_conversation_pbx_calls.json +374 -0
- package/schemas/tables/ultracart_dw_low/uc_conversations.json +374 -0
- package/schemas/tables/ultracart_dw_low/uc_coupons.json +1893 -0
- package/schemas/tables/ultracart_dw_low/uc_customers.json +11900 -0
- package/schemas/tables/ultracart_dw_low/uc_fraud_rules.json +239 -0
- package/schemas/tables/ultracart_dw_low/uc_gift_certificates.json +135 -0
- package/schemas/tables/ultracart_dw_low/uc_item_inventory_history.json +79 -0
- package/schemas/tables/ultracart_dw_low/uc_items.json +4437 -0
- package/schemas/tables/ultracart_dw_low/uc_orders.json +6639 -0
- package/schemas/tables/ultracart_dw_low/uc_rotating_transaction_gateway_history.json +271 -0
- package/schemas/tables/ultracart_dw_low/uc_rotating_transaction_gateways.json +416 -0
- package/schemas/tables/ultracart_dw_low/uc_shipping_methods.json +1372 -0
- package/schemas/tables/ultracart_dw_low/uc_storefront_customers.json +261 -0
- package/schemas/tables/ultracart_dw_low/uc_storefront_experiments.json +386 -0
- package/schemas/tables/ultracart_dw_low/uc_storefront_pages.json +513 -0
- package/schemas/tables/ultracart_dw_low/uc_storefront_upsell_offer_events.json +338 -0
- package/schemas/tables/ultracart_dw_low/uc_storefront_upsell_offers.json +431 -0
- package/schemas/tables/ultracart_dw_low/uc_storefront_upsell_paths.json +163 -0
- package/schemas/tables/ultracart_dw_low/uc_storefronts.json +62 -0
- package/schemas/tables/ultracart_dw_low/uc_surveys.json +238 -0
- package/schemas/tables/ultracart_dw_low/uc_workflow_tasks.json +377 -0
- package/schemas/tables/ultracart_dw_low/uc_zoho_desk_tickets.json +1184 -0
- package/schemas/tables/ultracart_dw_medium/uc_affiliate_clicks.json +186 -0
- package/schemas/tables/ultracart_dw_medium/uc_affiliate_commission_groups.json +317 -0
- package/schemas/tables/ultracart_dw_medium/uc_affiliate_ledgers.json +404 -0
- package/schemas/tables/ultracart_dw_medium/uc_affiliate_network_pixel_postback_logs.json +166 -0
- package/schemas/tables/ultracart_dw_medium/uc_affiliate_network_pixels.json +106 -0
- package/schemas/tables/ultracart_dw_medium/uc_affiliate_payments.json +204 -0
- package/schemas/tables/ultracart_dw_medium/uc_affiliate_postback_logs.json +90 -0
- package/schemas/tables/ultracart_dw_medium/uc_affiliates.json +425 -0
- package/schemas/tables/ultracart_dw_medium/uc_auto_orders.json +14320 -0
- package/schemas/tables/ultracart_dw_medium/uc_cart_abandons.json +4245 -0
- package/schemas/tables/ultracart_dw_medium/uc_conversation_pbx_calls.json +415 -0
- package/schemas/tables/ultracart_dw_medium/uc_conversations.json +415 -0
- package/schemas/tables/ultracart_dw_medium/uc_coupons.json +1893 -0
- package/schemas/tables/ultracart_dw_medium/uc_customers.json +12250 -0
- package/schemas/tables/ultracart_dw_medium/uc_fraud_rules.json +239 -0
- package/schemas/tables/ultracart_dw_medium/uc_gift_certificates.json +135 -0
- package/schemas/tables/ultracart_dw_medium/uc_item_inventory_history.json +79 -0
- package/schemas/tables/ultracart_dw_medium/uc_items.json +4437 -0
- package/schemas/tables/ultracart_dw_medium/uc_orders.json +6865 -0
- package/schemas/tables/ultracart_dw_medium/uc_rotating_transaction_gateway_history.json +271 -0
- package/schemas/tables/ultracart_dw_medium/uc_rotating_transaction_gateways.json +416 -0
- package/schemas/tables/ultracart_dw_medium/uc_shipping_methods.json +1372 -0
- package/schemas/tables/ultracart_dw_medium/uc_storefront_customers.json +261 -0
- package/schemas/tables/ultracart_dw_medium/uc_storefront_experiments.json +386 -0
- package/schemas/tables/ultracart_dw_medium/uc_storefront_pages.json +513 -0
- package/schemas/tables/ultracart_dw_medium/uc_storefront_upsell_offer_events.json +338 -0
- package/schemas/tables/ultracart_dw_medium/uc_storefront_upsell_offers.json +431 -0
- package/schemas/tables/ultracart_dw_medium/uc_storefront_upsell_paths.json +163 -0
- package/schemas/tables/ultracart_dw_medium/uc_storefronts.json +62 -0
- package/schemas/tables/ultracart_dw_medium/uc_surveys.json +269 -0
- package/schemas/tables/ultracart_dw_medium/uc_workflow_tasks.json +377 -0
- package/schemas/tables/ultracart_dw_medium/uc_zoho_desk_tickets.json +1330 -0
- package/schemas/tables/ultracart_dw_streaming/uc_analytics_session_streaming.json +2444 -0
- package/schemas/tables/ultracart_dw_streaming/uc_screen_recording_streaming.json +509 -0
- package/schemas/ultracart-bq-config.schema.json +140 -0
- package/skill/skill.md +1228 -0
- package/templates/render.html +73 -0
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"mode": "NULLABLE",
|
|
4
|
+
"name": "partition_date",
|
|
5
|
+
"type": "DATE"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"mode": "NULLABLE",
|
|
9
|
+
"name": "affiliate_payment_oid",
|
|
10
|
+
"description": "Unique object identifier associated with this payment",
|
|
11
|
+
"type": "INTEGER"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"mode": "NULLABLE",
|
|
15
|
+
"name": "affiliate_oid",
|
|
16
|
+
"description": "Affiliate id that this payment is associated with",
|
|
17
|
+
"type": "INTEGER"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"mode": "NULLABLE",
|
|
21
|
+
"name": "check_number",
|
|
22
|
+
"description": "Check number of the payment",
|
|
23
|
+
"type": "STRING"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"mode": "NULLABLE",
|
|
27
|
+
"name": "payment_dts",
|
|
28
|
+
"description": "Date of the payment",
|
|
29
|
+
"type": "DATETIME"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"mode": "NULLABLE",
|
|
33
|
+
"name": "payment_amount",
|
|
34
|
+
"description": "Amount of the payment",
|
|
35
|
+
"type": "NUMERIC"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"mode": "NULLABLE",
|
|
39
|
+
"name": "comment",
|
|
40
|
+
"description": "Comment",
|
|
41
|
+
"type": "STRING"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"mode": "NULLABLE",
|
|
45
|
+
"name": "first_name",
|
|
46
|
+
"description": "First name of the affiliate",
|
|
47
|
+
"type": "STRING"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"mode": "NULLABLE",
|
|
51
|
+
"name": "last_name",
|
|
52
|
+
"description": "Last name of the affiliate",
|
|
53
|
+
"type": "STRING"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"mode": "NULLABLE",
|
|
57
|
+
"name": "email",
|
|
58
|
+
"description": "Email of the affiliate",
|
|
59
|
+
"type": "STRING"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"mode": "NULLABLE",
|
|
63
|
+
"name": "email_hash",
|
|
64
|
+
"description": "Email Hash SHA-256 Base64",
|
|
65
|
+
"type": "STRING"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"mode": "NULLABLE",
|
|
69
|
+
"name": "first_name_hash",
|
|
70
|
+
"description": "First name Hash SHA-256 Base64",
|
|
71
|
+
"type": "STRING"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"mode": "NULLABLE",
|
|
75
|
+
"name": "last_name_hash",
|
|
76
|
+
"description": "Last name Hash SHA-256 Base64",
|
|
77
|
+
"type": "STRING"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"mode": "REPEATED",
|
|
81
|
+
"name": "payment_ledgers",
|
|
82
|
+
"description": "The ledgers that make up this payment",
|
|
83
|
+
"type": "RECORD",
|
|
84
|
+
"fields": [
|
|
85
|
+
{
|
|
86
|
+
"mode": "NULLABLE",
|
|
87
|
+
"name": "amount",
|
|
88
|
+
"description": "The amount paid on the ledger entry associated with this payment",
|
|
89
|
+
"type": "NUMERIC"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "ledger",
|
|
93
|
+
"description": "Ledger record that was paid",
|
|
94
|
+
"type": "RECORD",
|
|
95
|
+
"fields": [
|
|
96
|
+
{
|
|
97
|
+
"mode": "NULLABLE",
|
|
98
|
+
"name": "affiliate_ledger_oid",
|
|
99
|
+
"description": "Affiliate ledger object ID associated with this ledger",
|
|
100
|
+
"type": "INTEGER"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"mode": "NULLABLE",
|
|
104
|
+
"name": "transaction_dts",
|
|
105
|
+
"description": "Date/time that the transaction was made",
|
|
106
|
+
"type": "DATETIME"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"mode": "NULLABLE",
|
|
110
|
+
"name": "transaction_memo",
|
|
111
|
+
"description": "Memo explaining the transaction",
|
|
112
|
+
"type": "STRING"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"mode": "NULLABLE",
|
|
116
|
+
"name": "affiliate_oid",
|
|
117
|
+
"description": "Affiliate object ID associated with this transaction",
|
|
118
|
+
"type": "INTEGER"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"mode": "NULLABLE",
|
|
122
|
+
"name": "transaction_amount",
|
|
123
|
+
"description": "Transaction amount",
|
|
124
|
+
"type": "NUMERIC"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"mode": "NULLABLE",
|
|
128
|
+
"name": "sub_id",
|
|
129
|
+
"description": "Sub ID associated with transaction (from the click)",
|
|
130
|
+
"type": "STRING"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"mode": "NULLABLE",
|
|
134
|
+
"name": "order_id",
|
|
135
|
+
"description": "Order ID associated with this transaction",
|
|
136
|
+
"type": "STRING"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"allowed_values": [
|
|
140
|
+
"Pending",
|
|
141
|
+
"Posted",
|
|
142
|
+
"Approved",
|
|
143
|
+
"Paid",
|
|
144
|
+
"Rejected",
|
|
145
|
+
"Partially Paid"
|
|
146
|
+
],
|
|
147
|
+
"mode": "NULLABLE",
|
|
148
|
+
"name": "transaction_state",
|
|
149
|
+
"description": "Transaction state",
|
|
150
|
+
"type": "STRING"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"mode": "NULLABLE",
|
|
154
|
+
"name": "transaction_amount_paid",
|
|
155
|
+
"description": "Amount of the transaction that has been paid out.",
|
|
156
|
+
"type": "NUMERIC"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"mode": "NULLABLE",
|
|
160
|
+
"name": "assigned_by_user",
|
|
161
|
+
"description": "User that assigned the transaction if it was done manually",
|
|
162
|
+
"type": "STRING"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"mode": "NULLABLE",
|
|
166
|
+
"name": "original_transaction_dts",
|
|
167
|
+
"description": "Date/time of the original transaction for reversals",
|
|
168
|
+
"type": "DATETIME"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"mode": "NULLABLE",
|
|
172
|
+
"name": "item_id",
|
|
173
|
+
"description": "Item ID associated with this transaction",
|
|
174
|
+
"type": "STRING"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"mode": "NULLABLE",
|
|
178
|
+
"name": "tier_number",
|
|
179
|
+
"description": "Tier number that this transaction earned",
|
|
180
|
+
"type": "INTEGER"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"mode": "NULLABLE",
|
|
184
|
+
"name": "transaction_percentage",
|
|
185
|
+
"description": "Percentage associated with this transaction",
|
|
186
|
+
"type": "NUMERIC"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"mode": "NULLABLE",
|
|
190
|
+
"name": "affiliate_link_oid",
|
|
191
|
+
"description": "Unique object identifier for the link that this click is associated with",
|
|
192
|
+
"type": "INTEGER"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"mode": "NULLABLE",
|
|
196
|
+
"name": "affiliate_click_oid",
|
|
197
|
+
"description": "Unique object identifier for the click associated with this ledger entry",
|
|
198
|
+
"type": "INTEGER"
|
|
199
|
+
}
|
|
200
|
+
]
|
|
201
|
+
}
|
|
202
|
+
]
|
|
203
|
+
}
|
|
204
|
+
]
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"mode": "NULLABLE",
|
|
4
|
+
"name": "partition_date",
|
|
5
|
+
"type": "DATE"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"mode": "NULLABLE",
|
|
9
|
+
"name": "affiliate_postback_log_uuid",
|
|
10
|
+
"description": "Unique postback log record id",
|
|
11
|
+
"type": "STRING"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"mode": "NULLABLE",
|
|
15
|
+
"name": "affiliate_oid",
|
|
16
|
+
"description": "Unique object identifier for this Affiliate",
|
|
17
|
+
"type": "INTEGER"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"mode": "NULLABLE",
|
|
21
|
+
"name": "merchant_id",
|
|
22
|
+
"description": "Merchant ID",
|
|
23
|
+
"type": "STRING"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"mode": "REPEATED",
|
|
27
|
+
"name": "ledger_oids",
|
|
28
|
+
"description": "Ledger oids associated with this postback",
|
|
29
|
+
"type": "RECORD",
|
|
30
|
+
"fields": [{
|
|
31
|
+
"mode": "NULLABLE",
|
|
32
|
+
"name": "value",
|
|
33
|
+
"type": "INTEGER"
|
|
34
|
+
}]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"mode": "NULLABLE",
|
|
38
|
+
"name": "sub_id",
|
|
39
|
+
"description": "Sub ID specified by the affiliate",
|
|
40
|
+
"type": "STRING"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"mode": "NULLABLE",
|
|
44
|
+
"name": "order_id",
|
|
45
|
+
"description": "Order ID of the conversion",
|
|
46
|
+
"type": "STRING"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"mode": "NULLABLE",
|
|
50
|
+
"name": "commission",
|
|
51
|
+
"description": "The amount of the commission earned",
|
|
52
|
+
"type": "NUMERIC"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"mode": "NULLABLE",
|
|
56
|
+
"name": "postback_dts",
|
|
57
|
+
"description": "Date/time of the postback",
|
|
58
|
+
"type": "DATETIME"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"mode": "NULLABLE",
|
|
62
|
+
"name": "config_url",
|
|
63
|
+
"description": "The configured URL at the time with tokens that are replaced.",
|
|
64
|
+
"type": "STRING"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"mode": "NULLABLE",
|
|
68
|
+
"name": "url",
|
|
69
|
+
"description": "The full URL communicated with",
|
|
70
|
+
"type": "STRING"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"mode": "NULLABLE",
|
|
74
|
+
"name": "status_code",
|
|
75
|
+
"description": "The status code received from the server. 200 = OK",
|
|
76
|
+
"type": "INTEGER"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"mode": "NULLABLE",
|
|
80
|
+
"name": "response",
|
|
81
|
+
"description": "The response from the server (2K max stored)",
|
|
82
|
+
"type": "STRING"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"mode": "NULLABLE",
|
|
86
|
+
"name": "landing_page_query_string",
|
|
87
|
+
"description": "The landing page query string where parameters can be extracted from for the postback",
|
|
88
|
+
"type": "STRING"
|
|
89
|
+
}
|
|
90
|
+
]
|