@solvapay/core 1.7.0 → 1.7.1-preview-4dcf60c628500a6210ba69edbf7ae56ee47fbb3a

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.
@@ -41,6 +41,8 @@ export declare const TAX_ID_EXAMPLE_BY_COUNTRY: Record<SupportedBusinessCountry,
41
41
 
42
42
  export declare function deriveTaxIdType(country: SupportedBusinessCountry): TaxIdType
43
43
 
44
+ export declare function isTaxIdType(value: unknown): value is TaxIdType
45
+
44
46
  export declare function getTaxIdFieldLabel(country: SupportedBusinessCountry): string
45
47
 
46
48
  export declare function getTaxIdExample(country: SupportedBusinessCountry): string
@@ -20,6 +20,7 @@ type SupportedBusinessCountry = StripeTaxBuyerCountry;
20
20
  declare const BUSINESS_COUNTRY_DISPLAY_NAMES: Record<StripeTaxBuyerCountry, string>;
21
21
  declare const TAX_ID_TYPES: readonly ["ae_trn", "al_tin", "am_tin", "ao_tin", "au_abn", "aw_tin", "az_tin", "ba_tin", "bb_tin", "bd_bin", "bf_ifu", "bh_vat", "bj_ifu", "bs_tin", "by_tin", "ca_gst_hst", "cd_nif", "ch_vat", "cl_tin", "cm_niu", "co_nit", "cr_tin", "cv_nif", "ec_ruc", "eg_tin", "et_tin", "eu_vat", "gb_vat", "ge_vat", "gn_nif", "hk_br", "id_npwp", "in_gst", "is_vat", "jp_trn", "ke_pin", "kg_tin", "kh_tin", "kr_brn", "kz_bin", "la_tin", "li_vat", "lk_vat", "ma_vat", "md_vat", "me_pib", "mk_vat", "mr_nif", "mx_rfc", "my_sst", "ng_tin", "no_vat", "np_pan", "nz_gst", "om_vat", "pe_ruc", "ph_tin", "rs_pib", "ru_inn", "sa_vat", "sg_gst", "sn_ninea", "sr_fin", "th_vat", "tj_tin", "tr_tin", "tw_vat", "tz_vat", "ua_vat", "ug_tin", "us_ein", "uy_ruc", "uz_vat", "vn_tin", "za_vat", "zm_tin", "zw_tin"];
22
22
  type TaxIdType = (typeof TAX_ID_TYPES)[number];
23
+ declare function isTaxIdType(value: unknown): value is TaxIdType;
23
24
  /**
24
25
  * Calculation-affecting Stripe tax ID type per buyer country.
25
26
  * When a country has several types, the one that affects tax calculation wins
@@ -376,4 +377,4 @@ declare function resolveSellerIdentityDisplay(input: {
376
377
  companyNumber?: string | null;
377
378
  }): SellerIdentityDisplay;
378
379
 
379
- export { getTaxIdHelperText as A, BUSINESS_COUNTRY_DISPLAY_NAMES as B, COUNTRY_TO_TAX_ID_TYPE as C, isCustomerAddressComplete as D, type EuMemberCountry as E, isPostalCodeRequired as F, isStateRequired as G, resolveBuyerCountry as H, resolveSellerIdentityDisplay as I, resolveTaxBehavior as J, validateBusinessDetails as K, POSTAL_CODE_REQUIRED_COUNTRIES as P, SELLER_TAX_IDENTIFIER_DISPLAY_LABEL_BY_TYPE as S, TAX_BEHAVIORS as T, type ValidateBusinessDetailsResult as V, BUSINESS_COUNTRY_OPTIONS as a, type BusinessCountryOption as b, type BusinessDetails as c, type BusinessDetailsInput as d, BusinessDetailsSchema as e, type BusinessDetailsValidationError as f, type BusinessDetailsValidationIssue as g, STATE_REQUIRED_COUNTRIES as h, SUPPORTED_BUSINESS_COUNTRIES as i, type SellerIdentityDisplay as j, type SellerIdentityRow as k, type SupportedBusinessCountry as l, TAX_EXCLUSIVE_CURRENCIES as m, TAX_ID_EXAMPLE_BY_COUNTRY as n, TAX_ID_TYPES as o, type TaxBehavior as p, type TaxBreakdown as q, type TaxIdType as r, deriveTaxIdType as s, getCustomerAddressFieldErrors as t, getPostalCodeFieldLabel as u, getPostalCodePlaceholder as v, getSellerTaxIdentifierDisplayLabel as w, getStateFieldLabel as x, getTaxIdExample as y, getTaxIdFieldLabel as z };
380
+ export { getTaxIdHelperText as A, BUSINESS_COUNTRY_DISPLAY_NAMES as B, COUNTRY_TO_TAX_ID_TYPE as C, isCustomerAddressComplete as D, type EuMemberCountry as E, isPostalCodeRequired as F, isStateRequired as G, isTaxIdType as H, resolveBuyerCountry as I, resolveSellerIdentityDisplay as J, resolveTaxBehavior as K, validateBusinessDetails as L, POSTAL_CODE_REQUIRED_COUNTRIES as P, SELLER_TAX_IDENTIFIER_DISPLAY_LABEL_BY_TYPE as S, TAX_BEHAVIORS as T, type ValidateBusinessDetailsResult as V, BUSINESS_COUNTRY_OPTIONS as a, type BusinessCountryOption as b, type BusinessDetails as c, type BusinessDetailsInput as d, BusinessDetailsSchema as e, type BusinessDetailsValidationError as f, type BusinessDetailsValidationIssue as g, STATE_REQUIRED_COUNTRIES as h, SUPPORTED_BUSINESS_COUNTRIES as i, type SellerIdentityDisplay as j, type SellerIdentityRow as k, type SupportedBusinessCountry as l, TAX_EXCLUSIVE_CURRENCIES as m, TAX_ID_EXAMPLE_BY_COUNTRY as n, TAX_ID_TYPES as o, type TaxBehavior as p, type TaxBreakdown as q, type TaxIdType as r, deriveTaxIdType as s, getCustomerAddressFieldErrors as t, getPostalCodeFieldLabel as u, getPostalCodePlaceholder as v, getSellerTaxIdentifierDisplayLabel as w, getStateFieldLabel as x, getTaxIdExample as y, getTaxIdFieldLabel as z };
@@ -20,6 +20,7 @@ type SupportedBusinessCountry = StripeTaxBuyerCountry;
20
20
  declare const BUSINESS_COUNTRY_DISPLAY_NAMES: Record<StripeTaxBuyerCountry, string>;
21
21
  declare const TAX_ID_TYPES: readonly ["ae_trn", "al_tin", "am_tin", "ao_tin", "au_abn", "aw_tin", "az_tin", "ba_tin", "bb_tin", "bd_bin", "bf_ifu", "bh_vat", "bj_ifu", "bs_tin", "by_tin", "ca_gst_hst", "cd_nif", "ch_vat", "cl_tin", "cm_niu", "co_nit", "cr_tin", "cv_nif", "ec_ruc", "eg_tin", "et_tin", "eu_vat", "gb_vat", "ge_vat", "gn_nif", "hk_br", "id_npwp", "in_gst", "is_vat", "jp_trn", "ke_pin", "kg_tin", "kh_tin", "kr_brn", "kz_bin", "la_tin", "li_vat", "lk_vat", "ma_vat", "md_vat", "me_pib", "mk_vat", "mr_nif", "mx_rfc", "my_sst", "ng_tin", "no_vat", "np_pan", "nz_gst", "om_vat", "pe_ruc", "ph_tin", "rs_pib", "ru_inn", "sa_vat", "sg_gst", "sn_ninea", "sr_fin", "th_vat", "tj_tin", "tr_tin", "tw_vat", "tz_vat", "ua_vat", "ug_tin", "us_ein", "uy_ruc", "uz_vat", "vn_tin", "za_vat", "zm_tin", "zw_tin"];
22
22
  type TaxIdType = (typeof TAX_ID_TYPES)[number];
23
+ declare function isTaxIdType(value: unknown): value is TaxIdType;
23
24
  /**
24
25
  * Calculation-affecting Stripe tax ID type per buyer country.
25
26
  * When a country has several types, the one that affects tax calculation wins
@@ -376,4 +377,4 @@ declare function resolveSellerIdentityDisplay(input: {
376
377
  companyNumber?: string | null;
377
378
  }): SellerIdentityDisplay;
378
379
 
379
- export { getTaxIdHelperText as A, BUSINESS_COUNTRY_DISPLAY_NAMES as B, COUNTRY_TO_TAX_ID_TYPE as C, isCustomerAddressComplete as D, type EuMemberCountry as E, isPostalCodeRequired as F, isStateRequired as G, resolveBuyerCountry as H, resolveSellerIdentityDisplay as I, resolveTaxBehavior as J, validateBusinessDetails as K, POSTAL_CODE_REQUIRED_COUNTRIES as P, SELLER_TAX_IDENTIFIER_DISPLAY_LABEL_BY_TYPE as S, TAX_BEHAVIORS as T, type ValidateBusinessDetailsResult as V, BUSINESS_COUNTRY_OPTIONS as a, type BusinessCountryOption as b, type BusinessDetails as c, type BusinessDetailsInput as d, BusinessDetailsSchema as e, type BusinessDetailsValidationError as f, type BusinessDetailsValidationIssue as g, STATE_REQUIRED_COUNTRIES as h, SUPPORTED_BUSINESS_COUNTRIES as i, type SellerIdentityDisplay as j, type SellerIdentityRow as k, type SupportedBusinessCountry as l, TAX_EXCLUSIVE_CURRENCIES as m, TAX_ID_EXAMPLE_BY_COUNTRY as n, TAX_ID_TYPES as o, type TaxBehavior as p, type TaxBreakdown as q, type TaxIdType as r, deriveTaxIdType as s, getCustomerAddressFieldErrors as t, getPostalCodeFieldLabel as u, getPostalCodePlaceholder as v, getSellerTaxIdentifierDisplayLabel as w, getStateFieldLabel as x, getTaxIdExample as y, getTaxIdFieldLabel as z };
380
+ export { getTaxIdHelperText as A, BUSINESS_COUNTRY_DISPLAY_NAMES as B, COUNTRY_TO_TAX_ID_TYPE as C, isCustomerAddressComplete as D, type EuMemberCountry as E, isPostalCodeRequired as F, isStateRequired as G, isTaxIdType as H, resolveBuyerCountry as I, resolveSellerIdentityDisplay as J, resolveTaxBehavior as K, validateBusinessDetails as L, POSTAL_CODE_REQUIRED_COUNTRIES as P, SELLER_TAX_IDENTIFIER_DISPLAY_LABEL_BY_TYPE as S, TAX_BEHAVIORS as T, type ValidateBusinessDetailsResult as V, BUSINESS_COUNTRY_OPTIONS as a, type BusinessCountryOption as b, type BusinessDetails as c, type BusinessDetailsInput as d, BusinessDetailsSchema as e, type BusinessDetailsValidationError as f, type BusinessDetailsValidationIssue as g, STATE_REQUIRED_COUNTRIES as h, SUPPORTED_BUSINESS_COUNTRIES as i, type SellerIdentityDisplay as j, type SellerIdentityRow as k, type SupportedBusinessCountry as l, TAX_EXCLUSIVE_CURRENCIES as m, TAX_ID_EXAMPLE_BY_COUNTRY as n, TAX_ID_TYPES as o, type TaxBehavior as p, type TaxBreakdown as q, type TaxIdType as r, deriveTaxIdType as s, getCustomerAddressFieldErrors as t, getPostalCodeFieldLabel as u, getPostalCodePlaceholder as v, getSellerTaxIdentifierDisplayLabel as w, getStateFieldLabel as x, getTaxIdExample as y, getTaxIdFieldLabel as z };
@@ -43,6 +43,7 @@ __export(business_details_public_exports, {
43
43
  isCustomerAddressComplete: () => isCustomerAddressComplete,
44
44
  isPostalCodeRequired: () => isPostalCodeRequired,
45
45
  isStateRequired: () => isStateRequired,
46
+ isTaxIdType: () => isTaxIdType,
46
47
  resolveBuyerCountry: () => resolveBuyerCountry,
47
48
  resolveSellerIdentityDisplay: () => resolveSellerIdentityDisplay,
48
49
  resolveTaxBehavior: () => resolveTaxBehavior,
@@ -276,6 +277,9 @@ var TAX_ID_TYPES = [
276
277
  "zw_tin"
277
278
  ];
278
279
  var TAX_ID_TYPE_SET = new Set(TAX_ID_TYPES);
280
+ function isTaxIdType(value) {
281
+ return typeof value === "string" && TAX_ID_TYPE_SET.has(value);
282
+ }
279
283
  var COUNTRY_TO_TAX_ID_TYPE = {
280
284
  AE: "ae_trn",
281
285
  AL: "al_tin",
@@ -896,6 +900,7 @@ function resolveSellerIdentityDisplay(input) {
896
900
  isCustomerAddressComplete,
897
901
  isPostalCodeRequired,
898
902
  isStateRequired,
903
+ isTaxIdType,
899
904
  resolveBuyerCountry,
900
905
  resolveSellerIdentityDisplay,
901
906
  resolveTaxBehavior,
@@ -1,2 +1,2 @@
1
- export { B as BUSINESS_COUNTRY_DISPLAY_NAMES, a as BUSINESS_COUNTRY_OPTIONS, b as BusinessCountryOption, c as BusinessDetails, d as BusinessDetailsInput, f as BusinessDetailsValidationError, g as BusinessDetailsValidationIssue, C as COUNTRY_TO_TAX_ID_TYPE, E as EuMemberCountry, P as POSTAL_CODE_REQUIRED_COUNTRIES, S as SELLER_TAX_IDENTIFIER_DISPLAY_LABEL_BY_TYPE, h as STATE_REQUIRED_COUNTRIES, i as SUPPORTED_BUSINESS_COUNTRIES, j as SellerIdentityDisplay, k as SellerIdentityRow, l as SupportedBusinessCountry, T as TAX_BEHAVIORS, m as TAX_EXCLUSIVE_CURRENCIES, n as TAX_ID_EXAMPLE_BY_COUNTRY, o as TAX_ID_TYPES, p as TaxBehavior, q as TaxBreakdown, r as TaxIdType, V as ValidateBusinessDetailsResult, s as deriveTaxIdType, t as getCustomerAddressFieldErrors, u as getPostalCodeFieldLabel, v as getPostalCodePlaceholder, w as getSellerTaxIdentifierDisplayLabel, x as getStateFieldLabel, y as getTaxIdExample, z as getTaxIdFieldLabel, A as getTaxIdHelperText, D as isCustomerAddressComplete, F as isPostalCodeRequired, G as isStateRequired, H as resolveBuyerCountry, I as resolveSellerIdentityDisplay, J as resolveTaxBehavior, K as validateBusinessDetails } from './business-details-public-DSBkp-BK.cjs';
1
+ export { B as BUSINESS_COUNTRY_DISPLAY_NAMES, a as BUSINESS_COUNTRY_OPTIONS, b as BusinessCountryOption, c as BusinessDetails, d as BusinessDetailsInput, f as BusinessDetailsValidationError, g as BusinessDetailsValidationIssue, C as COUNTRY_TO_TAX_ID_TYPE, E as EuMemberCountry, P as POSTAL_CODE_REQUIRED_COUNTRIES, S as SELLER_TAX_IDENTIFIER_DISPLAY_LABEL_BY_TYPE, h as STATE_REQUIRED_COUNTRIES, i as SUPPORTED_BUSINESS_COUNTRIES, j as SellerIdentityDisplay, k as SellerIdentityRow, l as SupportedBusinessCountry, T as TAX_BEHAVIORS, m as TAX_EXCLUSIVE_CURRENCIES, n as TAX_ID_EXAMPLE_BY_COUNTRY, o as TAX_ID_TYPES, p as TaxBehavior, q as TaxBreakdown, r as TaxIdType, V as ValidateBusinessDetailsResult, s as deriveTaxIdType, t as getCustomerAddressFieldErrors, u as getPostalCodeFieldLabel, v as getPostalCodePlaceholder, w as getSellerTaxIdentifierDisplayLabel, x as getStateFieldLabel, y as getTaxIdExample, z as getTaxIdFieldLabel, A as getTaxIdHelperText, D as isCustomerAddressComplete, F as isPostalCodeRequired, G as isStateRequired, H as isTaxIdType, I as resolveBuyerCountry, J as resolveSellerIdentityDisplay, K as resolveTaxBehavior, L as validateBusinessDetails } from './business-details-public-C6PxXA2-.cjs';
2
2
  import 'zod';
@@ -41,6 +41,8 @@ export declare const TAX_ID_EXAMPLE_BY_COUNTRY: Record<SupportedBusinessCountry,
41
41
 
42
42
  export declare function deriveTaxIdType(country: SupportedBusinessCountry): TaxIdType
43
43
 
44
+ export declare function isTaxIdType(value: unknown): value is TaxIdType
45
+
44
46
  export declare function getTaxIdFieldLabel(country: SupportedBusinessCountry): string
45
47
 
46
48
  export declare function getTaxIdExample(country: SupportedBusinessCountry): string
@@ -22,11 +22,12 @@ import {
22
22
  isCustomerAddressComplete,
23
23
  isPostalCodeRequired,
24
24
  isStateRequired,
25
+ isTaxIdType,
25
26
  resolveBuyerCountry,
26
27
  resolveSellerIdentityDisplay,
27
28
  resolveTaxBehavior,
28
29
  validateBusinessDetails
29
- } from "./chunk-M5X43XFK.js";
30
+ } from "./chunk-R37B3KI6.js";
30
31
  export {
31
32
  BUSINESS_COUNTRY_DISPLAY_NAMES,
32
33
  BUSINESS_COUNTRY_OPTIONS,
@@ -51,6 +52,7 @@ export {
51
52
  isCustomerAddressComplete,
52
53
  isPostalCodeRequired,
53
54
  isStateRequired,
55
+ isTaxIdType,
54
56
  resolveBuyerCountry,
55
57
  resolveSellerIdentityDisplay,
56
58
  resolveTaxBehavior,
@@ -221,6 +221,9 @@ var TAX_ID_TYPES = [
221
221
  "zw_tin"
222
222
  ];
223
223
  var TAX_ID_TYPE_SET = new Set(TAX_ID_TYPES);
224
+ function isTaxIdType(value) {
225
+ return typeof value === "string" && TAX_ID_TYPE_SET.has(value);
226
+ }
224
227
  var COUNTRY_TO_TAX_ID_TYPE = {
225
228
  AE: "ae_trn",
226
229
  AL: "al_tin",
@@ -822,6 +825,7 @@ export {
822
825
  SUPPORTED_BUSINESS_COUNTRIES,
823
826
  BUSINESS_COUNTRY_DISPLAY_NAMES,
824
827
  TAX_ID_TYPES,
828
+ isTaxIdType,
825
829
  COUNTRY_TO_TAX_ID_TYPE,
826
830
  deriveTaxIdType,
827
831
  TAX_ID_EXAMPLE_BY_COUNTRY,
package/dist/index.cjs CHANGED
@@ -57,6 +57,7 @@ __export(index_exports, {
57
57
  isCustomerAddressComplete: () => isCustomerAddressComplete,
58
58
  isPostalCodeRequired: () => isPostalCodeRequired,
59
59
  isStateRequired: () => isStateRequired,
60
+ isTaxIdType: () => isTaxIdType,
60
61
  isZeroDecimalCurrency: () => isZeroDecimalCurrency,
61
62
  meterName: () => meterName,
62
63
  minorUnitsPerMajor: () => minorUnitsPerMajor,
@@ -529,6 +530,9 @@ var TAX_ID_TYPES = [
529
530
  "zw_tin"
530
531
  ];
531
532
  var TAX_ID_TYPE_SET = new Set(TAX_ID_TYPES);
533
+ function isTaxIdType(value) {
534
+ return typeof value === "string" && TAX_ID_TYPE_SET.has(value);
535
+ }
532
536
  var COUNTRY_TO_TAX_ID_TYPE = {
533
537
  AE: "ae_trn",
534
538
  AL: "al_tin",
@@ -1251,6 +1255,7 @@ var version = "0.1.0";
1251
1255
  isCustomerAddressComplete,
1252
1256
  isPostalCodeRequired,
1253
1257
  isStateRequired,
1258
+ isTaxIdType,
1254
1259
  isZeroDecimalCurrency,
1255
1260
  meterName,
1256
1261
  minorUnitsPerMajor,
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export { B as BUSINESS_COUNTRY_DISPLAY_NAMES, a as BUSINESS_COUNTRY_OPTIONS, b as BusinessCountryOption, c as BusinessDetails, d as BusinessDetailsInput, e as BusinessDetailsSchema, f as BusinessDetailsValidationError, g as BusinessDetailsValidationIssue, C as COUNTRY_TO_TAX_ID_TYPE, E as EuMemberCountry, P as POSTAL_CODE_REQUIRED_COUNTRIES, S as SELLER_TAX_IDENTIFIER_DISPLAY_LABEL_BY_TYPE, h as STATE_REQUIRED_COUNTRIES, i as SUPPORTED_BUSINESS_COUNTRIES, j as SellerIdentityDisplay, k as SellerIdentityRow, l as SupportedBusinessCountry, T as TAX_BEHAVIORS, m as TAX_EXCLUSIVE_CURRENCIES, n as TAX_ID_EXAMPLE_BY_COUNTRY, o as TAX_ID_TYPES, p as TaxBehavior, q as TaxBreakdown, r as TaxIdType, V as ValidateBusinessDetailsResult, s as deriveTaxIdType, t as getCustomerAddressFieldErrors, u as getPostalCodeFieldLabel, v as getPostalCodePlaceholder, w as getSellerTaxIdentifierDisplayLabel, x as getStateFieldLabel, y as getTaxIdExample, z as getTaxIdFieldLabel, A as getTaxIdHelperText, D as isCustomerAddressComplete, F as isPostalCodeRequired, G as isStateRequired, H as resolveBuyerCountry, I as resolveSellerIdentityDisplay, J as resolveTaxBehavior, K as validateBusinessDetails } from './business-details-public-DSBkp-BK.cjs';
2
+ export { B as BUSINESS_COUNTRY_DISPLAY_NAMES, a as BUSINESS_COUNTRY_OPTIONS, b as BusinessCountryOption, c as BusinessDetails, d as BusinessDetailsInput, e as BusinessDetailsSchema, f as BusinessDetailsValidationError, g as BusinessDetailsValidationIssue, C as COUNTRY_TO_TAX_ID_TYPE, E as EuMemberCountry, P as POSTAL_CODE_REQUIRED_COUNTRIES, S as SELLER_TAX_IDENTIFIER_DISPLAY_LABEL_BY_TYPE, h as STATE_REQUIRED_COUNTRIES, i as SUPPORTED_BUSINESS_COUNTRIES, j as SellerIdentityDisplay, k as SellerIdentityRow, l as SupportedBusinessCountry, T as TAX_BEHAVIORS, m as TAX_EXCLUSIVE_CURRENCIES, n as TAX_ID_EXAMPLE_BY_COUNTRY, o as TAX_ID_TYPES, p as TaxBehavior, q as TaxBreakdown, r as TaxIdType, V as ValidateBusinessDetailsResult, s as deriveTaxIdType, t as getCustomerAddressFieldErrors, u as getPostalCodeFieldLabel, v as getPostalCodePlaceholder, w as getSellerTaxIdentifierDisplayLabel, x as getStateFieldLabel, y as getTaxIdExample, z as getTaxIdFieldLabel, A as getTaxIdHelperText, D as isCustomerAddressComplete, F as isPostalCodeRequired, G as isStateRequired, H as isTaxIdType, I as resolveBuyerCountry, J as resolveSellerIdentityDisplay, K as resolveTaxBehavior, L as validateBusinessDetails } from './business-details-public-C6PxXA2-.cjs';
3
3
 
4
4
  /**
5
5
  * Shared credit → fiat conversion for MCP bootstrap narration and React
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export { B as BUSINESS_COUNTRY_DISPLAY_NAMES, a as BUSINESS_COUNTRY_OPTIONS, b as BusinessCountryOption, c as BusinessDetails, d as BusinessDetailsInput, e as BusinessDetailsSchema, f as BusinessDetailsValidationError, g as BusinessDetailsValidationIssue, C as COUNTRY_TO_TAX_ID_TYPE, E as EuMemberCountry, P as POSTAL_CODE_REQUIRED_COUNTRIES, S as SELLER_TAX_IDENTIFIER_DISPLAY_LABEL_BY_TYPE, h as STATE_REQUIRED_COUNTRIES, i as SUPPORTED_BUSINESS_COUNTRIES, j as SellerIdentityDisplay, k as SellerIdentityRow, l as SupportedBusinessCountry, T as TAX_BEHAVIORS, m as TAX_EXCLUSIVE_CURRENCIES, n as TAX_ID_EXAMPLE_BY_COUNTRY, o as TAX_ID_TYPES, p as TaxBehavior, q as TaxBreakdown, r as TaxIdType, V as ValidateBusinessDetailsResult, s as deriveTaxIdType, t as getCustomerAddressFieldErrors, u as getPostalCodeFieldLabel, v as getPostalCodePlaceholder, w as getSellerTaxIdentifierDisplayLabel, x as getStateFieldLabel, y as getTaxIdExample, z as getTaxIdFieldLabel, A as getTaxIdHelperText, D as isCustomerAddressComplete, F as isPostalCodeRequired, G as isStateRequired, H as resolveBuyerCountry, I as resolveSellerIdentityDisplay, J as resolveTaxBehavior, K as validateBusinessDetails } from './business-details-public-DSBkp-BK.js';
2
+ export { B as BUSINESS_COUNTRY_DISPLAY_NAMES, a as BUSINESS_COUNTRY_OPTIONS, b as BusinessCountryOption, c as BusinessDetails, d as BusinessDetailsInput, e as BusinessDetailsSchema, f as BusinessDetailsValidationError, g as BusinessDetailsValidationIssue, C as COUNTRY_TO_TAX_ID_TYPE, E as EuMemberCountry, P as POSTAL_CODE_REQUIRED_COUNTRIES, S as SELLER_TAX_IDENTIFIER_DISPLAY_LABEL_BY_TYPE, h as STATE_REQUIRED_COUNTRIES, i as SUPPORTED_BUSINESS_COUNTRIES, j as SellerIdentityDisplay, k as SellerIdentityRow, l as SupportedBusinessCountry, T as TAX_BEHAVIORS, m as TAX_EXCLUSIVE_CURRENCIES, n as TAX_ID_EXAMPLE_BY_COUNTRY, o as TAX_ID_TYPES, p as TaxBehavior, q as TaxBreakdown, r as TaxIdType, V as ValidateBusinessDetailsResult, s as deriveTaxIdType, t as getCustomerAddressFieldErrors, u as getPostalCodeFieldLabel, v as getPostalCodePlaceholder, w as getSellerTaxIdentifierDisplayLabel, x as getStateFieldLabel, y as getTaxIdExample, z as getTaxIdFieldLabel, A as getTaxIdHelperText, D as isCustomerAddressComplete, F as isPostalCodeRequired, G as isStateRequired, H as isTaxIdType, I as resolveBuyerCountry, J as resolveSellerIdentityDisplay, K as resolveTaxBehavior, L as validateBusinessDetails } from './business-details-public-C6PxXA2-.js';
3
3
 
4
4
  /**
5
5
  * Shared credit → fiat conversion for MCP bootstrap narration and React
package/dist/index.js CHANGED
@@ -23,11 +23,12 @@ import {
23
23
  isCustomerAddressComplete,
24
24
  isPostalCodeRequired,
25
25
  isStateRequired,
26
+ isTaxIdType,
26
27
  resolveBuyerCountry,
27
28
  resolveSellerIdentityDisplay,
28
29
  resolveTaxBehavior,
29
30
  validateBusinessDetails
30
- } from "./chunk-M5X43XFK.js";
31
+ } from "./chunk-R37B3KI6.js";
31
32
 
32
33
  // src/index.ts
33
34
  import { z } from "zod";
@@ -384,6 +385,7 @@ export {
384
385
  isCustomerAddressComplete,
385
386
  isPostalCodeRequired,
386
387
  isStateRequired,
388
+ isTaxIdType,
387
389
  isZeroDecimalCurrency,
388
390
  meterName,
389
391
  minorUnitsPerMajor,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solvapay/core",
3
- "version": "1.7.0",
3
+ "version": "1.7.1-preview-4dcf60c628500a6210ba69edbf7ae56ee47fbb3a",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",