Skip to content

Commit 821bea1

Browse files
committed
fix(wiza): correct company enrichment credits shape in output docs
Company enrichment returns api_credits { total, company_credits }, not the email/phone/scrape breakdown used by individual reveals. Description-only fix verified against docs.wiza.co.
1 parent f24ade2 commit 821bea1

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

apps/sim/blocks/blocks/wiza.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ export const WizaBlock: BlockConfig<WizaResponse> = {
563563
credits: {
564564
type: 'json',
565565
description:
566-
'Credits deducted (company_enrichment, get_individual_reveal): { api_credits: { total, email_credits, phone_credits, scrape_credits } }',
566+
'Credits deducted company_enrichment: { api_credits: { total, company_credits } }; get_individual_reveal: { api_credits: { total, email_credits, phone_credits, scrape_credits } }',
567567
},
568568
email_credits: {
569569
type: 'json',

apps/sim/tools/wiza/company_enrichment.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,7 @@ export const wizaCompanyEnrichmentTool: ToolConfig<
139139
company_country: { type: 'string', description: 'Country', optional: true },
140140
credits: {
141141
type: 'json',
142-
description:
143-
'Credits deducted for this enrichment (api_credits: { total, email_credits, phone_credits, scrape_credits })',
142+
description: 'Credits deducted for this enrichment (api_credits: { total, company_credits })',
144143
optional: true,
145144
},
146145
},

0 commit comments

Comments
 (0)