@verma-consulting/common-library 0.1.24 → 0.1.25

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.
package/dist/index.d.mts CHANGED
@@ -433,26 +433,18 @@ interface PaymentMethodInterface {
433
433
  createdBy?: UserInterface;
434
434
  updatedBy?: UserInterface;
435
435
  }
436
- interface Address {
437
- line1?: number | null;
438
- line2?: string | null;
439
- city?: string | null;
440
- state?: string | null;
441
- country?: string | null;
442
- postalCode?: string | null;
443
- }
444
436
  interface BillingDetailsInterface {
445
437
  name?: string;
446
438
  email?: string;
447
439
  phone?: string;
448
- address?: Address;
440
+ address?: AddressInterface;
449
441
  }
450
442
  interface ShippingInterface {
451
443
  name?: string;
452
444
  carrier?: string;
453
445
  phone?: string;
454
446
  trackingNumber?: string;
455
- address?: Address;
447
+ address?: AddressInterface;
456
448
  }
457
449
  interface RefundInterface {
458
450
  id?: string;
@@ -672,13 +664,13 @@ interface AddressInterface {
672
664
  updatedAt?: Date;
673
665
  deletedAt?: Date;
674
666
  claimed?: boolean;
675
- streetNumber?: string;
676
- streetName?: string;
677
- countryCode?: string;
667
+ line1?: string;
668
+ line2?: string;
669
+ postalCode?: string;
678
670
  city?: string;
679
671
  state?: string;
680
672
  country?: string;
681
- postalCode?: string;
673
+ countryCode?: string;
682
674
  longitude?: number;
683
675
  latitude?: number;
684
676
  poolId?: string;
@@ -2896,8 +2888,8 @@ declare const defaults: {
2896
2888
  calculationValue: string;
2897
2889
  };
2898
2890
  address: {
2899
- streetNumber: string;
2900
- streetName: string;
2891
+ line1: string;
2892
+ line2: string;
2901
2893
  city: string;
2902
2894
  state: string;
2903
2895
  country: string;
@@ -3405,8 +3397,8 @@ declare const defaultTypes: {
3405
3397
  calculationValue: string;
3406
3398
  };
3407
3399
  address: {
3408
- streetNumber: string;
3409
- streetName: string;
3400
+ line1: string;
3401
+ line2: string;
3410
3402
  city: string;
3411
3403
  state: string;
3412
3404
  country: string;
@@ -3453,4 +3445,4 @@ declare const defaultTypes: {
3453
3445
  };
3454
3446
  };
3455
3447
 
3456
- export { type ActivityInterface, type Address, type AddressInterface, type AmountDetailsInterface, type AnalyticsQueryInterface, AppMode, type AutomaticPaymentMethodsInterface, type AutomaticTaxInterface, type BillingDetailsInterface, CalculationType, type CampaignInterface, CampaignType, type CancellationDetailsInterface, type CardInterface, CategoryType, ChartType, type ChatInterface, type ClientInterface, type CommentInterface, type ContactInterface, type ContentInterface, ContentType, type CurrentRateInterface, type DealInterface, DealType, DeviceNotification, type DisputeInterface, type EmailInterface, type EngagementInterface, type EvidenceDetailsInterface, type EvidenceInterface, FeatureType, type FileInterface, type FilterInterface, FilterType, FormFieldOrder, FormFieldType, FrequencyType, Gender, type GenericPayload, type IntegrationInterface, type InventoryInterface, type InvoiceInterface, LandingPath, LandingView, type LeadInterface, LeadType, type ListInterface, type MarketingFeatureInterface, type ModelInterface, ModelType, type Notation, type NotificationInterface, type OperationInterface, OrganizationFeatures, type OrganizationInterface, type OrganizationModelInterface, type PackageDimensionsInterface, type PauseCollectionInterface, type PaymentInterface, type PaymentMethodInterface, type PermissionInterface, PermissionType, PlatformLanguage, type PoolInterface, type PriceInterface, type PriceRecurringInterface, Priority, type ProductInterface, type PromptInterface, type QueryFilterInterface, type RefundInterface, type RegisterInterface, type ReportInterface, type SchemaInterface, type SentEmailInterface, type ShippingInterface, SourceType, type StatisticInterface, type StripeAccountInterface, type StripeCustomer, type StripePaymentIntent, type SubscriptionInterface, type TagInterface, type TaskInterface, type TokenInterface, type UsageInterface, UsageType, type UserInterface, UserSettingType, type WaitlistInterface, accountType, action, automaticTaxStatus, billingReason, billingScheme, camelCaseToWords, capitalizeSentence, captureMethod, chatType, clientType, collectionMethod, commentRole, constants, currency, customerType, defaultTypes, defaults, disputeReason, disputeStatus, formatPhoneNumber, getRandomArbitrary, grabAge, integrationType, isNumber, largeNumberLabel, missingPaymentMethod, normalizeKey, openInNewTab, operationType, organizationFilterType, paymentAllowRedirect, paymentCancellationReason, paymentFutureUsage, paymentMethodAllowReDisplay, paymentMethodType, paymentStatus, prettifyString, priceType, productType, refundFailureReason, refundPendingReason, refundReason, refundStatus, snakeToPretty, status, stripHtmlTags, subscriptionCancellationReason, taxBehavior, taxExempt, tiersMode, toCurrencyValue, userRole, userSource, userStatus, validEmail };
3448
+ export { type ActivityInterface, type AddressInterface, type AmountDetailsInterface, type AnalyticsQueryInterface, AppMode, type AutomaticPaymentMethodsInterface, type AutomaticTaxInterface, type BillingDetailsInterface, CalculationType, type CampaignInterface, CampaignType, type CancellationDetailsInterface, type CardInterface, CategoryType, ChartType, type ChatInterface, type ClientInterface, type CommentInterface, type ContactInterface, type ContentInterface, ContentType, type CurrentRateInterface, type DealInterface, DealType, DeviceNotification, type DisputeInterface, type EmailInterface, type EngagementInterface, type EvidenceDetailsInterface, type EvidenceInterface, FeatureType, type FileInterface, type FilterInterface, FilterType, FormFieldOrder, FormFieldType, FrequencyType, Gender, type GenericPayload, type IntegrationInterface, type InventoryInterface, type InvoiceInterface, LandingPath, LandingView, type LeadInterface, LeadType, type ListInterface, type MarketingFeatureInterface, type ModelInterface, ModelType, type Notation, type NotificationInterface, type OperationInterface, OrganizationFeatures, type OrganizationInterface, type OrganizationModelInterface, type PackageDimensionsInterface, type PauseCollectionInterface, type PaymentInterface, type PaymentMethodInterface, type PermissionInterface, PermissionType, PlatformLanguage, type PoolInterface, type PriceInterface, type PriceRecurringInterface, Priority, type ProductInterface, type PromptInterface, type QueryFilterInterface, type RefundInterface, type RegisterInterface, type ReportInterface, type SchemaInterface, type SentEmailInterface, type ShippingInterface, SourceType, type StatisticInterface, type StripeAccountInterface, type StripeCustomer, type StripePaymentIntent, type SubscriptionInterface, type TagInterface, type TaskInterface, type TokenInterface, type UsageInterface, UsageType, type UserInterface, UserSettingType, type WaitlistInterface, accountType, action, automaticTaxStatus, billingReason, billingScheme, camelCaseToWords, capitalizeSentence, captureMethod, chatType, clientType, collectionMethod, commentRole, constants, currency, customerType, defaultTypes, defaults, disputeReason, disputeStatus, formatPhoneNumber, getRandomArbitrary, grabAge, integrationType, isNumber, largeNumberLabel, missingPaymentMethod, normalizeKey, openInNewTab, operationType, organizationFilterType, paymentAllowRedirect, paymentCancellationReason, paymentFutureUsage, paymentMethodAllowReDisplay, paymentMethodType, paymentStatus, prettifyString, priceType, productType, refundFailureReason, refundPendingReason, refundReason, refundStatus, snakeToPretty, status, stripHtmlTags, subscriptionCancellationReason, taxBehavior, taxExempt, tiersMode, toCurrencyValue, userRole, userSource, userStatus, validEmail };
package/dist/index.d.ts CHANGED
@@ -433,26 +433,18 @@ interface PaymentMethodInterface {
433
433
  createdBy?: UserInterface;
434
434
  updatedBy?: UserInterface;
435
435
  }
436
- interface Address {
437
- line1?: number | null;
438
- line2?: string | null;
439
- city?: string | null;
440
- state?: string | null;
441
- country?: string | null;
442
- postalCode?: string | null;
443
- }
444
436
  interface BillingDetailsInterface {
445
437
  name?: string;
446
438
  email?: string;
447
439
  phone?: string;
448
- address?: Address;
440
+ address?: AddressInterface;
449
441
  }
450
442
  interface ShippingInterface {
451
443
  name?: string;
452
444
  carrier?: string;
453
445
  phone?: string;
454
446
  trackingNumber?: string;
455
- address?: Address;
447
+ address?: AddressInterface;
456
448
  }
457
449
  interface RefundInterface {
458
450
  id?: string;
@@ -672,13 +664,13 @@ interface AddressInterface {
672
664
  updatedAt?: Date;
673
665
  deletedAt?: Date;
674
666
  claimed?: boolean;
675
- streetNumber?: string;
676
- streetName?: string;
677
- countryCode?: string;
667
+ line1?: string;
668
+ line2?: string;
669
+ postalCode?: string;
678
670
  city?: string;
679
671
  state?: string;
680
672
  country?: string;
681
- postalCode?: string;
673
+ countryCode?: string;
682
674
  longitude?: number;
683
675
  latitude?: number;
684
676
  poolId?: string;
@@ -2896,8 +2888,8 @@ declare const defaults: {
2896
2888
  calculationValue: string;
2897
2889
  };
2898
2890
  address: {
2899
- streetNumber: string;
2900
- streetName: string;
2891
+ line1: string;
2892
+ line2: string;
2901
2893
  city: string;
2902
2894
  state: string;
2903
2895
  country: string;
@@ -3405,8 +3397,8 @@ declare const defaultTypes: {
3405
3397
  calculationValue: string;
3406
3398
  };
3407
3399
  address: {
3408
- streetNumber: string;
3409
- streetName: string;
3400
+ line1: string;
3401
+ line2: string;
3410
3402
  city: string;
3411
3403
  state: string;
3412
3404
  country: string;
@@ -3453,4 +3445,4 @@ declare const defaultTypes: {
3453
3445
  };
3454
3446
  };
3455
3447
 
3456
- export { type ActivityInterface, type Address, type AddressInterface, type AmountDetailsInterface, type AnalyticsQueryInterface, AppMode, type AutomaticPaymentMethodsInterface, type AutomaticTaxInterface, type BillingDetailsInterface, CalculationType, type CampaignInterface, CampaignType, type CancellationDetailsInterface, type CardInterface, CategoryType, ChartType, type ChatInterface, type ClientInterface, type CommentInterface, type ContactInterface, type ContentInterface, ContentType, type CurrentRateInterface, type DealInterface, DealType, DeviceNotification, type DisputeInterface, type EmailInterface, type EngagementInterface, type EvidenceDetailsInterface, type EvidenceInterface, FeatureType, type FileInterface, type FilterInterface, FilterType, FormFieldOrder, FormFieldType, FrequencyType, Gender, type GenericPayload, type IntegrationInterface, type InventoryInterface, type InvoiceInterface, LandingPath, LandingView, type LeadInterface, LeadType, type ListInterface, type MarketingFeatureInterface, type ModelInterface, ModelType, type Notation, type NotificationInterface, type OperationInterface, OrganizationFeatures, type OrganizationInterface, type OrganizationModelInterface, type PackageDimensionsInterface, type PauseCollectionInterface, type PaymentInterface, type PaymentMethodInterface, type PermissionInterface, PermissionType, PlatformLanguage, type PoolInterface, type PriceInterface, type PriceRecurringInterface, Priority, type ProductInterface, type PromptInterface, type QueryFilterInterface, type RefundInterface, type RegisterInterface, type ReportInterface, type SchemaInterface, type SentEmailInterface, type ShippingInterface, SourceType, type StatisticInterface, type StripeAccountInterface, type StripeCustomer, type StripePaymentIntent, type SubscriptionInterface, type TagInterface, type TaskInterface, type TokenInterface, type UsageInterface, UsageType, type UserInterface, UserSettingType, type WaitlistInterface, accountType, action, automaticTaxStatus, billingReason, billingScheme, camelCaseToWords, capitalizeSentence, captureMethod, chatType, clientType, collectionMethod, commentRole, constants, currency, customerType, defaultTypes, defaults, disputeReason, disputeStatus, formatPhoneNumber, getRandomArbitrary, grabAge, integrationType, isNumber, largeNumberLabel, missingPaymentMethod, normalizeKey, openInNewTab, operationType, organizationFilterType, paymentAllowRedirect, paymentCancellationReason, paymentFutureUsage, paymentMethodAllowReDisplay, paymentMethodType, paymentStatus, prettifyString, priceType, productType, refundFailureReason, refundPendingReason, refundReason, refundStatus, snakeToPretty, status, stripHtmlTags, subscriptionCancellationReason, taxBehavior, taxExempt, tiersMode, toCurrencyValue, userRole, userSource, userStatus, validEmail };
3448
+ export { type ActivityInterface, type AddressInterface, type AmountDetailsInterface, type AnalyticsQueryInterface, AppMode, type AutomaticPaymentMethodsInterface, type AutomaticTaxInterface, type BillingDetailsInterface, CalculationType, type CampaignInterface, CampaignType, type CancellationDetailsInterface, type CardInterface, CategoryType, ChartType, type ChatInterface, type ClientInterface, type CommentInterface, type ContactInterface, type ContentInterface, ContentType, type CurrentRateInterface, type DealInterface, DealType, DeviceNotification, type DisputeInterface, type EmailInterface, type EngagementInterface, type EvidenceDetailsInterface, type EvidenceInterface, FeatureType, type FileInterface, type FilterInterface, FilterType, FormFieldOrder, FormFieldType, FrequencyType, Gender, type GenericPayload, type IntegrationInterface, type InventoryInterface, type InvoiceInterface, LandingPath, LandingView, type LeadInterface, LeadType, type ListInterface, type MarketingFeatureInterface, type ModelInterface, ModelType, type Notation, type NotificationInterface, type OperationInterface, OrganizationFeatures, type OrganizationInterface, type OrganizationModelInterface, type PackageDimensionsInterface, type PauseCollectionInterface, type PaymentInterface, type PaymentMethodInterface, type PermissionInterface, PermissionType, PlatformLanguage, type PoolInterface, type PriceInterface, type PriceRecurringInterface, Priority, type ProductInterface, type PromptInterface, type QueryFilterInterface, type RefundInterface, type RegisterInterface, type ReportInterface, type SchemaInterface, type SentEmailInterface, type ShippingInterface, SourceType, type StatisticInterface, type StripeAccountInterface, type StripeCustomer, type StripePaymentIntent, type SubscriptionInterface, type TagInterface, type TaskInterface, type TokenInterface, type UsageInterface, UsageType, type UserInterface, UserSettingType, type WaitlistInterface, accountType, action, automaticTaxStatus, billingReason, billingScheme, camelCaseToWords, capitalizeSentence, captureMethod, chatType, clientType, collectionMethod, commentRole, constants, currency, customerType, defaultTypes, defaults, disputeReason, disputeStatus, formatPhoneNumber, getRandomArbitrary, grabAge, integrationType, isNumber, largeNumberLabel, missingPaymentMethod, normalizeKey, openInNewTab, operationType, organizationFilterType, paymentAllowRedirect, paymentCancellationReason, paymentFutureUsage, paymentMethodAllowReDisplay, paymentMethodType, paymentStatus, prettifyString, priceType, productType, refundFailureReason, refundPendingReason, refundReason, refundStatus, snakeToPretty, status, stripHtmlTags, subscriptionCancellationReason, taxBehavior, taxExempt, tiersMode, toCurrencyValue, userRole, userSource, userStatus, validEmail };
package/dist/index.js CHANGED
@@ -2463,8 +2463,8 @@ var defaults = {
2463
2463
  calculationValue: ""
2464
2464
  },
2465
2465
  address: {
2466
- streetNumber: "",
2467
- streetName: "",
2466
+ line1: "",
2467
+ line2: "",
2468
2468
  city: "",
2469
2469
  state: "",
2470
2470
  country: "",
@@ -2960,8 +2960,8 @@ var defaultTypes = {
2960
2960
  calculationValue: "String"
2961
2961
  },
2962
2962
  address: {
2963
- streetNumber: "String",
2964
- streetName: "String",
2963
+ line1: "String",
2964
+ line2: "String",
2965
2965
  city: "String",
2966
2966
  state: "String",
2967
2967
  country: "String",