diff --git a/package-lock.json b/package-lock.json index ce6ad11..155eb36 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "method-node", - "version": "1.1.5", + "version": "1.1.7", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/package.json b/package.json index 6546a0a..5fe51de 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "method-node", - "version": "1.1.6", + "version": "1.1.7", "description": "Node.js library for the Method API", "main": "dist/index.ts", "module": "dist/index.mjs", diff --git a/src/resources/Entity/types.ts b/src/resources/Entity/types.ts index 1f08b83..156ca7c 100644 --- a/src/resources/Entity/types.ts +++ b/src/resources/Entity/types.ts @@ -166,6 +166,7 @@ export interface IEntityAttributesType { credit_health_total_accounts: ICreditHealthAttribute; credit_health_credit_age: ICreditHealthAttribute; credit_health_payment_history: ICreditHealthAttribute; + credit_health_open_accounts: ICreditHealthAttribute; } export interface IEntityAttributes { diff --git a/src/resources/Webhook/index.ts b/src/resources/Webhook/index.ts index 7d2647d..cdc5a43 100644 --- a/src/resources/Webhook/index.ts +++ b/src/resources/Webhook/index.ts @@ -60,6 +60,8 @@ export const WebhookTypes = { attribute_credit_health_credit_age_decreased: 'attribute.credit_health_credit_age.decreased', attribute_credit_health_payment_history_increased: 'attribute.credit_health_payment_history.increased', attribute_credit_health_payment_history_decreased: 'attribute.credit_health_payment_history.decreased', + attribute_credit_health_open_accounts_increased: 'attribute.credit_health_open_accounts.increased', + attribute_credit_health_open_accounts_decreased: 'attribute.credit_health_open_accounts.decreased', } as const; export type TWebhookTypes = typeof WebhookTypes[keyof typeof WebhookTypes];