Skip to content

Commit

Permalink
Generated Latest Changes for v2021-02-25
Browse files Browse the repository at this point in the history
  • Loading branch information
Recurly Integrations committed May 23, 2024
1 parent 654de9c commit 9ad5c16
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 2 deletions.
16 changes: 16 additions & 0 deletions lib/recurly.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,10 @@ export declare class Account {
* The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value.
*/
customFields?: CustomField[] | null;
/**
* The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
*/
entityUseCode?: string | null;

}

Expand Down Expand Up @@ -3885,6 +3889,10 @@ export interface AccountCreate {
* The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value.
*/
customFields?: CustomField[] | null;
/**
* The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
*/
entityUseCode?: string | null;

}

Expand Down Expand Up @@ -4230,6 +4238,10 @@ export interface AccountUpdate {
* The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value.
*/
customFields?: CustomField[] | null;
/**
* The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
*/
entityUseCode?: string | null;

}

Expand Down Expand Up @@ -6164,6 +6176,10 @@ export interface AccountPurchase {
* The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value.
*/
customFields?: CustomField[] | null;
/**
* The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
*/
entityUseCode?: string | null;

}

Expand Down
2 changes: 2 additions & 0 deletions lib/recurly/resources/Account.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const Resource = require('../Resource')
* @prop {Date} deletedAt - If present, when the account was last marked inactive.
* @prop {string} dunningCampaignId - Unique ID to identify a dunning campaign. Used to specify if a non-default dunning campaign should be assigned to this account. For sites without multiple dunning campaigns enabled, the default dunning campaign will always be used.
* @prop {string} email - The email address used for communicating with this customer. The customer will also use this email address to log into your hosted account management pages. This value does not need to be unique.
* @prop {string} entityUseCode - The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
* @prop {string} exemptionCertificate - The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account.
* @prop {Array.<ExternalAccount>} externalAccounts - The external accounts belonging to this account
* @prop {string} firstName
Expand Down Expand Up @@ -62,6 +63,7 @@ class Account extends Resource {
deletedAt: Date,
dunningCampaignId: String,
email: String,
entityUseCode: String,
exemptionCertificate: String,
externalAccounts: ['ExternalAccount'],
firstName: String,
Expand Down
10 changes: 10 additions & 0 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17474,6 +17474,11 @@ components:
"$ref": "#/components/schemas/BillingInfoCreate"
custom_fields:
"$ref": "#/components/schemas/CustomFields"
entity_use_code:
type: string
description: The Avalara AvaTax value that can be passed to identify the
customer type for tax purposes. The range of values can be A - R (more
info at Avalara). Value is case-sensitive.
AccountResponse:
type: object
properties:
Expand Down Expand Up @@ -17575,6 +17580,11 @@ components:
"$ref": "#/components/schemas/BillingInfo"
custom_fields:
"$ref": "#/components/schemas/CustomFields"
entity_use_code:
type: string
description: The Avalara AvaTax value that can be passed to identify the
customer type for tax purposes. The range of values can be A - R (more
info at Avalara). Value is case-sensitive.
AccountNote:
type: object
required:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9ad5c16

Please sign in to comment.