Skip to content

Commit

Permalink
Update yml, regen docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fivetran-avinash committed Apr 26, 2023
1 parent 2ec9a14 commit b5283df
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/catalog.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/manifest.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/run_results.json

Large diffs are not rendered by default.

16 changes: 15 additions & 1 deletion models/src_zuora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,14 @@ sources:
description: Date when the customer's tax exemption certificate expires.
- name: tax_exempt_status
description: Status of the account's tax exemption.
- name: total_debit_memo_balance
description: Total balance of the account's debit memos.
- name: total_invoice_balance
description: Total balance of the account's invoices.
- name: unapplied_balance
description: Total of unapplied payments not applied to invoices or debit memos.
- name: unapplied_credit_memo_amount
description: Total of credit memos created that has been created, but not used to settle or offset an invoice balance or a debit memo balance.
- name: updated_date
description: "{{ doc('updated_date') }} the account."
- name: updated_by_id
Expand Down Expand Up @@ -310,12 +316,18 @@ sources:
description: The id of the parent account, if the invoice is associated with a parent-child account relationship.
- name: payment_amount
description: The amount of payments applied to the invoice.
- name: payment_term
description: The name of the payment term associated with the invoice.
- name: posted_by
description: The user id of the person who moved the invoice to Posted status.
- name: posted_date
description: The date when the invoice was posted.
- name: refund_amount
description: Specifies the amount of a refund that was applied against an earlier payment on the invoice.
- name: sold_to_contact_id
description: "{{ doc('sold_to_contact_id') }}"
- name: source
description: The source of the invoice.
- name: source_id
description: The identifier of the value in the source field.
- name: source_type
Expand Down Expand Up @@ -807,7 +819,7 @@ sources:
description: The unique identifier of the amendment that the rate plan belongs to.
- name: bill_to_contact_id
description: The unique identifier of the contact that the rate plan is billed to.
- name: created by_id
- name: created_by_id
description: The unique identifier of the user who created the rate plan.
- name: created_date
description: The date and time when the rate plan was created.
Expand Down Expand Up @@ -950,6 +962,8 @@ sources:
description: The specific billing period associated with the rate plan charge.
- name: specific_end_date
description: The specific end date associated with the rate plan charge.
- name: specific_list_price_base
description: The list price base for the rate plan charge.
- name: subscription_id
description: The id of the subscription associated with the rate plan charge.
- name: tcv
Expand Down
19 changes: 17 additions & 2 deletions models/stg_zuora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,20 @@ models:
description: Date when the customer's tax exemption certificate expires.
- name: tax_exempt_status
description: Status of the account's tax exemption.
- name: total_debit_memo_balance
description: Total balance of the account's debit memos.
- name: total_invoice_balance
description: Total balance of the account's invoices.
- name: unapplied_balance
description: Total of unapplied payments not applied to invoices or debit memos.
- name: unapplied_credit_memo_amount
description: Total of credit memos created that has been created, but not used to settle or offset an invoice balance or a debit memo balance.
- name: updated_date
description: "{{ doc('updated_date') }} the account."
- name: updated_by_id
description: "{{ doc('updated_by_id') }} the account."
- name: vatid
description: EU Value Added Tax ID.
- name: is_most_recent_record
description: "{{ doc('is_most_recent_record') }} the account."

Expand Down Expand Up @@ -138,6 +143,7 @@ models:
description: "{{ doc('contact_table') }}"
columns:
- name: contact_id
description: "{{ doc('id') }} contact table."
tests:
- unique
- not_null
Expand Down Expand Up @@ -175,6 +181,8 @@ models:
description: The contact's business phone number.
- name: is_most_recent_record
description: "{{ doc('is_most_recent_record') }} the contact."
- name: is_most_recent_account_contact
description: Is this the most recent account for the contact?

- name: stg_zuora__credit_balance_adjustment
description: "{{ doc('credit_balance_adjustment_table') }}"
Expand Down Expand Up @@ -311,12 +319,18 @@ models:
description: The id of the parent account, if the invoice is associated with a parent-child account relationship.
- name: payment_amount
description: The amount of payments applied to the invoice.
- name: payment_term
description: The name of the payment term associated with the invoice.
- name: posted_by
description: The user ID of the person who moved the invoice to Posted status.
- name: posted_date
description: The date when the invoice was posted.
- name: refund_amount
description: Specifies the amount of a refund that was applied against an earlier payment on the invoice.
- name: sold_to_contact_id
description: "{{ doc('sold_to_contact_id') }}"
- name: source
description: The source of the invoice.
- name: source_id
description: The identifier of the value in the source field.
- name: source_type
Expand Down Expand Up @@ -492,7 +506,6 @@ models:
description: The id of the user who last updated the invoice payment.
- name: updated_date
description: The date and time when the invoice payment was last updated.
- name: updated_date
- name: is_most_recent_record
description: "{{ doc('is_most_recent_record') }} the invoice payment."

Expand Down Expand Up @@ -826,7 +839,7 @@ models:
description: The unique identifier of the amendment that the rate plan belongs to.
- name: bill_to_contact_id
description: The unique identifier of the contact that the rate plan is billed to.
- name: created by_id
- name: created_by_id
description: The unique identifier of the user who created the rate plan.
- name: created_date
description: The date and time when the rate plan was created.
Expand Down Expand Up @@ -971,6 +984,8 @@ models:
description: The specific billing period associated with the rate plan charge.
- name: specific_end_date
description: The specific end date associated with the rate plan charge.
- name: specific_list_base_price
description: The list price base for the rate plan charge.
- name: subscription_id
description: The id of the subscription associated with the rate plan charge.
- name: tcv
Expand Down
1 change: 0 additions & 1 deletion models/stg_zuora__invoice_payment.sql
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ final as (

select
id as invoice_payment_id,
_fivetran_synced,
account_id,
account_receivable_accounting_code_id,
accounting_period_id,
Expand Down
3 changes: 1 addition & 2 deletions models/stg_zuora__refund_invoice_payment.sql
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ fields as (
final as (

select
id as refund_invoice_payment_id,
_fivetran_synced,
id as refund_invoice_payment_id,
created_by_id,
created_date,
refund_amount,
Expand Down

0 comments on commit b5283df

Please sign in to comment.