@signaliz/sdk 1.0.66 → 1.0.67

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.
@@ -1639,6 +1639,8 @@ function normalizeFindEmailResult(data) {
1639
1639
  creditsCharged: data.credits_charged ?? billingMetadata?.credits_charged,
1640
1640
  estimatedExternalCostUsd: data.estimated_external_cost_usd ?? billingMetadata?.estimated_external_cost_usd,
1641
1641
  billingMetadata,
1642
+ billingReplayed: data.billing_replayed,
1643
+ idempotencyReplayed: data.idempotency_replayed,
1642
1644
  historicalBillingMetadata: data.historical_billing_metadata,
1643
1645
  resultReturnedFrom: data.result_returned_from ?? billingMetadata?.result_returned_from,
1644
1646
  cacheHit: typeof data.cache_hit === "boolean" ? data.cache_hit : billingMetadata?.cache_hit,
@@ -1704,6 +1706,7 @@ function normalizeVerifyEmailResult(email, data) {
1704
1706
  verificationSource: data.verification_source,
1705
1707
  verificationObservedAt: typeof data.verification_observed_at === "string" ? data.verification_observed_at : void 0,
1706
1708
  billingReplayed: data.billing_replayed,
1709
+ idempotencyReplayed: data.idempotency_replayed,
1707
1710
  creditsUsed: data.credits_used,
1708
1711
  billingMetadata: data.billing_metadata,
1709
1712
  historicalBillingMetadata: data.historical_billing_metadata,
package/dist/index.d.mts CHANGED
@@ -184,7 +184,11 @@ interface FindEmailResult {
184
184
  creditsCharged?: number;
185
185
  estimatedExternalCostUsd?: number;
186
186
  billingMetadata?: Record<string, unknown>;
187
- /** Original provider-work billing receipt when this request only recovered a completed run. */
187
+ /** True when this response reuses the first request's billing receipt without charging again. */
188
+ billingReplayed?: boolean;
189
+ /** True when the public result came from a completed response-idempotency reservation. */
190
+ idempotencyReplayed?: boolean;
191
+ /** Original provider-work receipt when this response recovered a completed run or idempotency reservation. */
188
192
  historicalBillingMetadata?: Record<string, unknown>;
189
193
  resultReturnedFrom?: string;
190
194
  cacheHit?: boolean;
@@ -248,9 +252,11 @@ interface VerifyEmailResult {
248
252
  /** ISO timestamp when the provider observed the winning verdict. */
249
253
  verificationObservedAt?: string;
250
254
  billingReplayed?: boolean;
255
+ /** True when the public result came from a completed response-idempotency reservation. */
256
+ idempotencyReplayed?: boolean;
251
257
  creditsUsed?: number;
252
258
  billingMetadata?: Record<string, unknown>;
253
- /** Original provider-work billing receipt when this request only recovered a completed run. */
259
+ /** Original provider-work receipt when this response recovered a completed run or idempotency reservation. */
254
260
  historicalBillingMetadata?: Record<string, unknown>;
255
261
  resultReturnedFrom?: string;
256
262
  cacheHit?: boolean;
package/dist/index.d.ts CHANGED
@@ -184,7 +184,11 @@ interface FindEmailResult {
184
184
  creditsCharged?: number;
185
185
  estimatedExternalCostUsd?: number;
186
186
  billingMetadata?: Record<string, unknown>;
187
- /** Original provider-work billing receipt when this request only recovered a completed run. */
187
+ /** True when this response reuses the first request's billing receipt without charging again. */
188
+ billingReplayed?: boolean;
189
+ /** True when the public result came from a completed response-idempotency reservation. */
190
+ idempotencyReplayed?: boolean;
191
+ /** Original provider-work receipt when this response recovered a completed run or idempotency reservation. */
188
192
  historicalBillingMetadata?: Record<string, unknown>;
189
193
  resultReturnedFrom?: string;
190
194
  cacheHit?: boolean;
@@ -248,9 +252,11 @@ interface VerifyEmailResult {
248
252
  /** ISO timestamp when the provider observed the winning verdict. */
249
253
  verificationObservedAt?: string;
250
254
  billingReplayed?: boolean;
255
+ /** True when the public result came from a completed response-idempotency reservation. */
256
+ idempotencyReplayed?: boolean;
251
257
  creditsUsed?: number;
252
258
  billingMetadata?: Record<string, unknown>;
253
- /** Original provider-work billing receipt when this request only recovered a completed run. */
259
+ /** Original provider-work receipt when this response recovered a completed run or idempotency reservation. */
254
260
  historicalBillingMetadata?: Record<string, unknown>;
255
261
  resultReturnedFrom?: string;
256
262
  cacheHit?: boolean;
package/dist/index.js CHANGED
@@ -1666,6 +1666,8 @@ function normalizeFindEmailResult(data) {
1666
1666
  creditsCharged: data.credits_charged ?? billingMetadata?.credits_charged,
1667
1667
  estimatedExternalCostUsd: data.estimated_external_cost_usd ?? billingMetadata?.estimated_external_cost_usd,
1668
1668
  billingMetadata,
1669
+ billingReplayed: data.billing_replayed,
1670
+ idempotencyReplayed: data.idempotency_replayed,
1669
1671
  historicalBillingMetadata: data.historical_billing_metadata,
1670
1672
  resultReturnedFrom: data.result_returned_from ?? billingMetadata?.result_returned_from,
1671
1673
  cacheHit: typeof data.cache_hit === "boolean" ? data.cache_hit : billingMetadata?.cache_hit,
@@ -1731,6 +1733,7 @@ function normalizeVerifyEmailResult(email, data) {
1731
1733
  verificationSource: data.verification_source,
1732
1734
  verificationObservedAt: typeof data.verification_observed_at === "string" ? data.verification_observed_at : void 0,
1733
1735
  billingReplayed: data.billing_replayed,
1736
+ idempotencyReplayed: data.idempotency_replayed,
1734
1737
  creditsUsed: data.credits_used,
1735
1738
  billingMetadata: data.billing_metadata,
1736
1739
  historicalBillingMetadata: data.historical_billing_metadata,
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Signaliz,
3
3
  SignalizError
4
- } from "./chunk-ZXSNNBID.mjs";
4
+ } from "./chunk-4BUM5AVV.mjs";
5
5
  export {
6
6
  Signaliz,
7
7
  SignalizError
@@ -1670,6 +1670,8 @@ function normalizeFindEmailResult(data) {
1670
1670
  creditsCharged: data.credits_charged ?? billingMetadata?.credits_charged,
1671
1671
  estimatedExternalCostUsd: data.estimated_external_cost_usd ?? billingMetadata?.estimated_external_cost_usd,
1672
1672
  billingMetadata,
1673
+ billingReplayed: data.billing_replayed,
1674
+ idempotencyReplayed: data.idempotency_replayed,
1673
1675
  historicalBillingMetadata: data.historical_billing_metadata,
1674
1676
  resultReturnedFrom: data.result_returned_from ?? billingMetadata?.result_returned_from,
1675
1677
  cacheHit: typeof data.cache_hit === "boolean" ? data.cache_hit : billingMetadata?.cache_hit,
@@ -1735,6 +1737,7 @@ function normalizeVerifyEmailResult(email, data) {
1735
1737
  verificationSource: data.verification_source,
1736
1738
  verificationObservedAt: typeof data.verification_observed_at === "string" ? data.verification_observed_at : void 0,
1737
1739
  billingReplayed: data.billing_replayed,
1740
+ idempotencyReplayed: data.idempotency_replayed,
1738
1741
  creditsUsed: data.credits_used,
1739
1742
  billingMetadata: data.billing_metadata,
1740
1743
  historicalBillingMetadata: data.historical_billing_metadata,
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  Signaliz
4
- } from "./chunk-ZXSNNBID.mjs";
4
+ } from "./chunk-4BUM5AVV.mjs";
5
5
 
6
6
  // src/mcp-config.ts
7
7
  import * as fs from "fs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signaliz/sdk",
3
- "version": "1.0.66",
3
+ "version": "1.0.67",
4
4
  "description": "Signaliz SDK for Signals Everything, Find Email, Verify Email, Company Signal Enrichment, and Signal to Copy AI.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",