@verma-consulting/common-library 0.1.29 → 0.1.31

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
@@ -190,6 +190,7 @@ interface IntegrationInterface {
190
190
  customerId?: string;
191
191
  teamId?: string;
192
192
  channelId?: string;
193
+ domain?: string;
193
194
  model?: string;
194
195
  active?: boolean;
195
196
  importBridge?: boolean;
@@ -232,7 +233,8 @@ interface ProductInterface {
232
233
  taxCode?: string;
233
234
  unitLabel?: string;
234
235
  url?: string;
235
- stripeId?: string;
236
+ stripeId?: string | null;
237
+ shopifyId?: string | null;
236
238
  inventoryId?: string;
237
239
  marketingFeatures?: MarketingFeatureInterface[];
238
240
  packageDimensions?: PackageDimensionsInterface;
@@ -665,7 +667,7 @@ interface AddressInterface {
665
667
  deletedAt?: Date;
666
668
  claimed?: boolean;
667
669
  label?: string;
668
- shippoId?: string;
670
+ shippoId?: string | null;
669
671
  isValid?: boolean;
670
672
  line1?: string;
671
673
  line2?: string;
@@ -744,6 +746,7 @@ interface ClientInterface {
744
746
  addressId?: string;
745
747
  poolId?: string | null;
746
748
  stripeId?: string | null;
749
+ shopifyId?: string | null;
747
750
  accountOwnerId?: string;
748
751
  accountOwner?: UserInterface;
749
752
  contents?: ContentInterface[];
@@ -999,6 +1002,7 @@ interface InventoryInterface {
999
1002
  currency?: string;
1000
1003
  amount?: number;
1001
1004
  quantity?: number;
1005
+ shopifyId?: string | null;
1002
1006
  organizationId?: string;
1003
1007
  createdById?: string;
1004
1008
  updatedById?: string;
@@ -1297,26 +1301,14 @@ interface ShippoAddressInterface {
1297
1301
  id?: string;
1298
1302
  name?: string;
1299
1303
  organization?: string;
1300
- line1?: string;
1301
- line2?: string;
1302
- city?: string;
1303
- state?: string;
1304
- postalCode?: string;
1305
- country?: string;
1306
- countryCode?: string;
1304
+ address_line_1?: string;
1305
+ address_line_2?: string;
1306
+ city_locality?: string;
1307
+ state_province?: string;
1308
+ postal_code?: string;
1309
+ country_code?: string;
1307
1310
  phone?: string;
1308
1311
  email?: string;
1309
- addressType?: string;
1310
- isResidential?: boolean;
1311
- longitude?: number | null;
1312
- latitude?: number | null;
1313
- validationResults?: any | null;
1314
- }
1315
- interface ShippoAddressResponseInterface {
1316
- success: boolean;
1317
- address?: ShippoAddressInterface;
1318
- isValid?: boolean;
1319
- error?: any;
1320
1312
  }
1321
1313
  interface ParcelInputInterface {
1322
1314
  length: number;
@@ -1715,15 +1707,16 @@ declare enum OrganizationFeatures {
1715
1707
  tasks = "tasks",
1716
1708
  products = "products",
1717
1709
  inventories = "inventories",
1718
- invoices = "invoices",
1719
- leads = "leads",
1720
- deals = "deals",
1721
1710
  contacts = "contacts",
1722
1711
  engagements = "engagements",
1723
1712
  campaigns = "campaigns",
1724
- subscriptions = "subscriptions",
1713
+ leads = "leads",
1714
+ deals = "deals",
1715
+ orders = "orders",
1716
+ invoices = "invoices",
1725
1717
  payments = "payments",
1726
1718
  paymentMethods = "paymentMethods",
1719
+ subscriptions = "subscriptions",
1727
1720
  refunds = "refunds",
1728
1721
  disputes = "disputes",
1729
1722
  dataPools = "dataPools",
@@ -1858,15 +1851,16 @@ declare enum ModelType {
1858
1851
  tasks = "tasks",
1859
1852
  products = "products",
1860
1853
  inventories = "inventories",
1861
- invoices = "invoices",
1862
1854
  leads = "leads",
1863
1855
  deals = "deals",
1856
+ orders = "orders",
1864
1857
  contacts = "contacts",
1865
1858
  engagements = "engagements",
1866
1859
  campaigns = "campaigns",
1867
- subscriptions = "subscriptions",
1860
+ invoices = "invoices",
1868
1861
  payments = "payments",
1869
1862
  paymentMethods = "paymentMethods",
1863
+ subscriptions = "subscriptions",
1870
1864
  refunds = "refunds",
1871
1865
  disputes = "disputes"
1872
1866
  }
@@ -2164,15 +2158,16 @@ declare const constants: {
2164
2158
  tasks: string;
2165
2159
  products: string;
2166
2160
  inventories: string;
2167
- invoices: string;
2168
2161
  contacts: string;
2169
2162
  engagements: string;
2170
2163
  campaigns: string;
2171
2164
  leads: string;
2172
2165
  deals: string;
2173
- subscriptions: string;
2166
+ orders: string;
2167
+ invoices: string;
2174
2168
  payments: string;
2175
2169
  paymentMethods: string;
2170
+ subscriptions: string;
2176
2171
  refunds: string;
2177
2172
  disputes: string;
2178
2173
  };
@@ -2181,15 +2176,16 @@ declare const constants: {
2181
2176
  tasks: string;
2182
2177
  products: string;
2183
2178
  inventories: string;
2184
- invoices: string;
2185
2179
  contacts: string;
2186
2180
  engagements: string;
2187
2181
  campaigns: string;
2188
2182
  leads: string;
2189
2183
  deals: string;
2190
- subscriptions: string;
2184
+ orders: string;
2185
+ invoices: string;
2191
2186
  payments: string;
2192
2187
  paymentMethods: string;
2188
+ subscriptions: string;
2193
2189
  refunds: string;
2194
2190
  disputes: string;
2195
2191
  content: string[];
@@ -3103,6 +3099,7 @@ declare const defaults: {
3103
3099
  country: string;
3104
3100
  countryCode: string;
3105
3101
  postalCode: string;
3102
+ addressType: string;
3106
3103
  latitude: number;
3107
3104
  longitude: number;
3108
3105
  };
@@ -3120,6 +3117,7 @@ declare const defaults: {
3120
3117
  clientEmail: string;
3121
3118
  customerId: string;
3122
3119
  channelId: string;
3120
+ domain: string;
3123
3121
  active: boolean;
3124
3122
  importBridge: boolean;
3125
3123
  exportBridge: boolean;
@@ -3653,4 +3651,4 @@ declare const defaultTypes: {
3653
3651
  };
3654
3652
  };
3655
3653
 
3656
- export { type ActivityInterface, type AddressInterface, type AmountDetailsInterface, type AnalyticsQueryInterface, AppMode, type AutomaticPaymentMethodsInterface, type AutomaticTaxInterface, type BatchShipmentInterface, type BillingDetailsInterface, CalculationType, type CampaignInterface, CampaignType, type CancellationDetailsInterface, type CardInterface, type CarrierAccountInterface, type CarrierAccountResponseInterface, type CarrierMappingInterface, CategoryType, ChartType, type ChatInterface, type ClientInterface, type CommentInterface, type ContactInterface, type ContentInterface, ContentType, type CurrentRateInterface, type CustomsItemInterface, 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, type LabelOptionsInterface, LandingPath, LandingView, type LeadInterface, LeadType, type ListInterface, type MarketingFeatureInterface, type ModelInterface, ModelType, type Notation, type NotificationInterface, type OperationInterface, type OrderAddressInterface, type OrderInterface, OrganizationFeatures, type OrganizationInterface, type OrganizationModelInterface, type PackageDimensionsInterface, type ParcelInputInterface, type PauseCollectionInterface, type PaymentInterface, type PaymentMethodInterface, type PermissionInterface, PermissionType, PlatformLanguage, type PoolInterface, type PriceInterface, type PriceRecurringInterface, Priority, type ProductInterface, type PromptInterface, type QueryFilterInterface, type RatesOptionsInterface, type RefundInterface, type RefundResponseInterface, type RegisterInterface, type ReportInterface, type SchemaInterface, type SentEmailInterface, type ServiceLevelsResponseInterface, type ShippingInterface, type ShippingRateInterface, type ShippingTransactionInterface, type ShippoAddressInterface, type ShippoAddressResponseInterface, type ShippoBatchResponseInterface, type ShippoCustomsDeclarationInputInterface, type ShippoCustomsResponseInterface, type ShippoParcelInterface, type ShippoParcelResponseInterface, type ShippoRatesResponseInterface, type ShippoTrackingResponseInterface, type ShippoTransactionResponseInterface, SourceType, type StatisticInterface, type StripeAccountInterface, type StripeCustomer, type StripePaymentIntent, type SubscriptionInterface, type TagInterface, type TaskInterface, type TokenInterface, type TrackingHistoryInterface, type TrackingInfoInterface, type UsageInterface, UsageType, type UserInterface, UserSettingType, type WaitlistInterface, accountType, action, addressType, 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 };
3654
+ export { type ActivityInterface, type AddressInterface, type AmountDetailsInterface, type AnalyticsQueryInterface, AppMode, type AutomaticPaymentMethodsInterface, type AutomaticTaxInterface, type BatchShipmentInterface, type BillingDetailsInterface, CalculationType, type CampaignInterface, CampaignType, type CancellationDetailsInterface, type CardInterface, type CarrierAccountInterface, type CarrierAccountResponseInterface, type CarrierMappingInterface, CategoryType, ChartType, type ChatInterface, type ClientInterface, type CommentInterface, type ContactInterface, type ContentInterface, ContentType, type CurrentRateInterface, type CustomsItemInterface, 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, type LabelOptionsInterface, LandingPath, LandingView, type LeadInterface, LeadType, type ListInterface, type MarketingFeatureInterface, type ModelInterface, ModelType, type Notation, type NotificationInterface, type OperationInterface, type OrderAddressInterface, type OrderInterface, OrganizationFeatures, type OrganizationInterface, type OrganizationModelInterface, type PackageDimensionsInterface, type ParcelInputInterface, type PauseCollectionInterface, type PaymentInterface, type PaymentMethodInterface, type PermissionInterface, PermissionType, PlatformLanguage, type PoolInterface, type PriceInterface, type PriceRecurringInterface, Priority, type ProductInterface, type PromptInterface, type QueryFilterInterface, type RatesOptionsInterface, type RefundInterface, type RefundResponseInterface, type RegisterInterface, type ReportInterface, type SchemaInterface, type SentEmailInterface, type ServiceLevelsResponseInterface, type ShippingInterface, type ShippingRateInterface, type ShippingTransactionInterface, type ShippoAddressInterface, type ShippoBatchResponseInterface, type ShippoCustomsDeclarationInputInterface, type ShippoCustomsResponseInterface, type ShippoParcelInterface, type ShippoParcelResponseInterface, type ShippoRatesResponseInterface, type ShippoTrackingResponseInterface, type ShippoTransactionResponseInterface, SourceType, type StatisticInterface, type StripeAccountInterface, type StripeCustomer, type StripePaymentIntent, type SubscriptionInterface, type TagInterface, type TaskInterface, type TokenInterface, type TrackingHistoryInterface, type TrackingInfoInterface, type UsageInterface, UsageType, type UserInterface, UserSettingType, type WaitlistInterface, accountType, action, addressType, 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
@@ -190,6 +190,7 @@ interface IntegrationInterface {
190
190
  customerId?: string;
191
191
  teamId?: string;
192
192
  channelId?: string;
193
+ domain?: string;
193
194
  model?: string;
194
195
  active?: boolean;
195
196
  importBridge?: boolean;
@@ -232,7 +233,8 @@ interface ProductInterface {
232
233
  taxCode?: string;
233
234
  unitLabel?: string;
234
235
  url?: string;
235
- stripeId?: string;
236
+ stripeId?: string | null;
237
+ shopifyId?: string | null;
236
238
  inventoryId?: string;
237
239
  marketingFeatures?: MarketingFeatureInterface[];
238
240
  packageDimensions?: PackageDimensionsInterface;
@@ -665,7 +667,7 @@ interface AddressInterface {
665
667
  deletedAt?: Date;
666
668
  claimed?: boolean;
667
669
  label?: string;
668
- shippoId?: string;
670
+ shippoId?: string | null;
669
671
  isValid?: boolean;
670
672
  line1?: string;
671
673
  line2?: string;
@@ -744,6 +746,7 @@ interface ClientInterface {
744
746
  addressId?: string;
745
747
  poolId?: string | null;
746
748
  stripeId?: string | null;
749
+ shopifyId?: string | null;
747
750
  accountOwnerId?: string;
748
751
  accountOwner?: UserInterface;
749
752
  contents?: ContentInterface[];
@@ -999,6 +1002,7 @@ interface InventoryInterface {
999
1002
  currency?: string;
1000
1003
  amount?: number;
1001
1004
  quantity?: number;
1005
+ shopifyId?: string | null;
1002
1006
  organizationId?: string;
1003
1007
  createdById?: string;
1004
1008
  updatedById?: string;
@@ -1297,26 +1301,14 @@ interface ShippoAddressInterface {
1297
1301
  id?: string;
1298
1302
  name?: string;
1299
1303
  organization?: string;
1300
- line1?: string;
1301
- line2?: string;
1302
- city?: string;
1303
- state?: string;
1304
- postalCode?: string;
1305
- country?: string;
1306
- countryCode?: string;
1304
+ address_line_1?: string;
1305
+ address_line_2?: string;
1306
+ city_locality?: string;
1307
+ state_province?: string;
1308
+ postal_code?: string;
1309
+ country_code?: string;
1307
1310
  phone?: string;
1308
1311
  email?: string;
1309
- addressType?: string;
1310
- isResidential?: boolean;
1311
- longitude?: number | null;
1312
- latitude?: number | null;
1313
- validationResults?: any | null;
1314
- }
1315
- interface ShippoAddressResponseInterface {
1316
- success: boolean;
1317
- address?: ShippoAddressInterface;
1318
- isValid?: boolean;
1319
- error?: any;
1320
1312
  }
1321
1313
  interface ParcelInputInterface {
1322
1314
  length: number;
@@ -1715,15 +1707,16 @@ declare enum OrganizationFeatures {
1715
1707
  tasks = "tasks",
1716
1708
  products = "products",
1717
1709
  inventories = "inventories",
1718
- invoices = "invoices",
1719
- leads = "leads",
1720
- deals = "deals",
1721
1710
  contacts = "contacts",
1722
1711
  engagements = "engagements",
1723
1712
  campaigns = "campaigns",
1724
- subscriptions = "subscriptions",
1713
+ leads = "leads",
1714
+ deals = "deals",
1715
+ orders = "orders",
1716
+ invoices = "invoices",
1725
1717
  payments = "payments",
1726
1718
  paymentMethods = "paymentMethods",
1719
+ subscriptions = "subscriptions",
1727
1720
  refunds = "refunds",
1728
1721
  disputes = "disputes",
1729
1722
  dataPools = "dataPools",
@@ -1858,15 +1851,16 @@ declare enum ModelType {
1858
1851
  tasks = "tasks",
1859
1852
  products = "products",
1860
1853
  inventories = "inventories",
1861
- invoices = "invoices",
1862
1854
  leads = "leads",
1863
1855
  deals = "deals",
1856
+ orders = "orders",
1864
1857
  contacts = "contacts",
1865
1858
  engagements = "engagements",
1866
1859
  campaigns = "campaigns",
1867
- subscriptions = "subscriptions",
1860
+ invoices = "invoices",
1868
1861
  payments = "payments",
1869
1862
  paymentMethods = "paymentMethods",
1863
+ subscriptions = "subscriptions",
1870
1864
  refunds = "refunds",
1871
1865
  disputes = "disputes"
1872
1866
  }
@@ -2164,15 +2158,16 @@ declare const constants: {
2164
2158
  tasks: string;
2165
2159
  products: string;
2166
2160
  inventories: string;
2167
- invoices: string;
2168
2161
  contacts: string;
2169
2162
  engagements: string;
2170
2163
  campaigns: string;
2171
2164
  leads: string;
2172
2165
  deals: string;
2173
- subscriptions: string;
2166
+ orders: string;
2167
+ invoices: string;
2174
2168
  payments: string;
2175
2169
  paymentMethods: string;
2170
+ subscriptions: string;
2176
2171
  refunds: string;
2177
2172
  disputes: string;
2178
2173
  };
@@ -2181,15 +2176,16 @@ declare const constants: {
2181
2176
  tasks: string;
2182
2177
  products: string;
2183
2178
  inventories: string;
2184
- invoices: string;
2185
2179
  contacts: string;
2186
2180
  engagements: string;
2187
2181
  campaigns: string;
2188
2182
  leads: string;
2189
2183
  deals: string;
2190
- subscriptions: string;
2184
+ orders: string;
2185
+ invoices: string;
2191
2186
  payments: string;
2192
2187
  paymentMethods: string;
2188
+ subscriptions: string;
2193
2189
  refunds: string;
2194
2190
  disputes: string;
2195
2191
  content: string[];
@@ -3103,6 +3099,7 @@ declare const defaults: {
3103
3099
  country: string;
3104
3100
  countryCode: string;
3105
3101
  postalCode: string;
3102
+ addressType: string;
3106
3103
  latitude: number;
3107
3104
  longitude: number;
3108
3105
  };
@@ -3120,6 +3117,7 @@ declare const defaults: {
3120
3117
  clientEmail: string;
3121
3118
  customerId: string;
3122
3119
  channelId: string;
3120
+ domain: string;
3123
3121
  active: boolean;
3124
3122
  importBridge: boolean;
3125
3123
  exportBridge: boolean;
@@ -3653,4 +3651,4 @@ declare const defaultTypes: {
3653
3651
  };
3654
3652
  };
3655
3653
 
3656
- export { type ActivityInterface, type AddressInterface, type AmountDetailsInterface, type AnalyticsQueryInterface, AppMode, type AutomaticPaymentMethodsInterface, type AutomaticTaxInterface, type BatchShipmentInterface, type BillingDetailsInterface, CalculationType, type CampaignInterface, CampaignType, type CancellationDetailsInterface, type CardInterface, type CarrierAccountInterface, type CarrierAccountResponseInterface, type CarrierMappingInterface, CategoryType, ChartType, type ChatInterface, type ClientInterface, type CommentInterface, type ContactInterface, type ContentInterface, ContentType, type CurrentRateInterface, type CustomsItemInterface, 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, type LabelOptionsInterface, LandingPath, LandingView, type LeadInterface, LeadType, type ListInterface, type MarketingFeatureInterface, type ModelInterface, ModelType, type Notation, type NotificationInterface, type OperationInterface, type OrderAddressInterface, type OrderInterface, OrganizationFeatures, type OrganizationInterface, type OrganizationModelInterface, type PackageDimensionsInterface, type ParcelInputInterface, type PauseCollectionInterface, type PaymentInterface, type PaymentMethodInterface, type PermissionInterface, PermissionType, PlatformLanguage, type PoolInterface, type PriceInterface, type PriceRecurringInterface, Priority, type ProductInterface, type PromptInterface, type QueryFilterInterface, type RatesOptionsInterface, type RefundInterface, type RefundResponseInterface, type RegisterInterface, type ReportInterface, type SchemaInterface, type SentEmailInterface, type ServiceLevelsResponseInterface, type ShippingInterface, type ShippingRateInterface, type ShippingTransactionInterface, type ShippoAddressInterface, type ShippoAddressResponseInterface, type ShippoBatchResponseInterface, type ShippoCustomsDeclarationInputInterface, type ShippoCustomsResponseInterface, type ShippoParcelInterface, type ShippoParcelResponseInterface, type ShippoRatesResponseInterface, type ShippoTrackingResponseInterface, type ShippoTransactionResponseInterface, SourceType, type StatisticInterface, type StripeAccountInterface, type StripeCustomer, type StripePaymentIntent, type SubscriptionInterface, type TagInterface, type TaskInterface, type TokenInterface, type TrackingHistoryInterface, type TrackingInfoInterface, type UsageInterface, UsageType, type UserInterface, UserSettingType, type WaitlistInterface, accountType, action, addressType, 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 };
3654
+ export { type ActivityInterface, type AddressInterface, type AmountDetailsInterface, type AnalyticsQueryInterface, AppMode, type AutomaticPaymentMethodsInterface, type AutomaticTaxInterface, type BatchShipmentInterface, type BillingDetailsInterface, CalculationType, type CampaignInterface, CampaignType, type CancellationDetailsInterface, type CardInterface, type CarrierAccountInterface, type CarrierAccountResponseInterface, type CarrierMappingInterface, CategoryType, ChartType, type ChatInterface, type ClientInterface, type CommentInterface, type ContactInterface, type ContentInterface, ContentType, type CurrentRateInterface, type CustomsItemInterface, 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, type LabelOptionsInterface, LandingPath, LandingView, type LeadInterface, LeadType, type ListInterface, type MarketingFeatureInterface, type ModelInterface, ModelType, type Notation, type NotificationInterface, type OperationInterface, type OrderAddressInterface, type OrderInterface, OrganizationFeatures, type OrganizationInterface, type OrganizationModelInterface, type PackageDimensionsInterface, type ParcelInputInterface, type PauseCollectionInterface, type PaymentInterface, type PaymentMethodInterface, type PermissionInterface, PermissionType, PlatformLanguage, type PoolInterface, type PriceInterface, type PriceRecurringInterface, Priority, type ProductInterface, type PromptInterface, type QueryFilterInterface, type RatesOptionsInterface, type RefundInterface, type RefundResponseInterface, type RegisterInterface, type ReportInterface, type SchemaInterface, type SentEmailInterface, type ServiceLevelsResponseInterface, type ShippingInterface, type ShippingRateInterface, type ShippingTransactionInterface, type ShippoAddressInterface, type ShippoBatchResponseInterface, type ShippoCustomsDeclarationInputInterface, type ShippoCustomsResponseInterface, type ShippoParcelInterface, type ShippoParcelResponseInterface, type ShippoRatesResponseInterface, type ShippoTrackingResponseInterface, type ShippoTransactionResponseInterface, SourceType, type StatisticInterface, type StripeAccountInterface, type StripeCustomer, type StripePaymentIntent, type SubscriptionInterface, type TagInterface, type TaskInterface, type TokenInterface, type TrackingHistoryInterface, type TrackingInfoInterface, type UsageInterface, UsageType, type UserInterface, UserSettingType, type WaitlistInterface, accountType, action, addressType, 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
@@ -439,15 +439,16 @@ var OrganizationFeatures = /* @__PURE__ */ ((OrganizationFeatures2) => {
439
439
  OrganizationFeatures2["tasks"] = "tasks";
440
440
  OrganizationFeatures2["products"] = "products";
441
441
  OrganizationFeatures2["inventories"] = "inventories";
442
- OrganizationFeatures2["invoices"] = "invoices";
443
- OrganizationFeatures2["leads"] = "leads";
444
- OrganizationFeatures2["deals"] = "deals";
445
442
  OrganizationFeatures2["contacts"] = "contacts";
446
443
  OrganizationFeatures2["engagements"] = "engagements";
447
444
  OrganizationFeatures2["campaigns"] = "campaigns";
448
- OrganizationFeatures2["subscriptions"] = "subscriptions";
445
+ OrganizationFeatures2["leads"] = "leads";
446
+ OrganizationFeatures2["deals"] = "deals";
447
+ OrganizationFeatures2["orders"] = "orders";
448
+ OrganizationFeatures2["invoices"] = "invoices";
449
449
  OrganizationFeatures2["payments"] = "payments";
450
450
  OrganizationFeatures2["paymentMethods"] = "paymentMethods";
451
+ OrganizationFeatures2["subscriptions"] = "subscriptions";
451
452
  OrganizationFeatures2["refunds"] = "refunds";
452
453
  OrganizationFeatures2["disputes"] = "disputes";
453
454
  OrganizationFeatures2["dataPools"] = "dataPools";
@@ -597,15 +598,16 @@ var ModelType = /* @__PURE__ */ ((ModelType2) => {
597
598
  ModelType2["tasks"] = "tasks";
598
599
  ModelType2["products"] = "products";
599
600
  ModelType2["inventories"] = "inventories";
600
- ModelType2["invoices"] = "invoices";
601
601
  ModelType2["leads"] = "leads";
602
602
  ModelType2["deals"] = "deals";
603
+ ModelType2["orders"] = "orders";
603
604
  ModelType2["contacts"] = "contacts";
604
605
  ModelType2["engagements"] = "engagements";
605
606
  ModelType2["campaigns"] = "campaigns";
606
- ModelType2["subscriptions"] = "subscriptions";
607
+ ModelType2["invoices"] = "invoices";
607
608
  ModelType2["payments"] = "payments";
608
609
  ModelType2["paymentMethods"] = "paymentMethods";
610
+ ModelType2["subscriptions"] = "subscriptions";
609
611
  ModelType2["refunds"] = "refunds";
610
612
  ModelType2["disputes"] = "disputes";
611
613
  return ModelType2;
@@ -947,15 +949,16 @@ var constants = {
947
949
  tasks: "cms",
948
950
  products: "cms",
949
951
  inventories: "cms",
950
- invoices: "cms",
951
952
  contacts: "crm",
952
953
  engagements: "crm",
953
954
  campaigns: "crm",
954
955
  leads: "crm",
955
956
  deals: "crm",
956
- subscriptions: "financials",
957
+ orders: "crm",
958
+ invoices: "financials",
957
959
  payments: "financials",
958
960
  paymentMethods: "financials",
961
+ subscriptions: "financials",
959
962
  refunds: "financials",
960
963
  disputes: "financials"
961
964
  },
@@ -964,23 +967,32 @@ var constants = {
964
967
  tasks: "content",
965
968
  products: "content",
966
969
  inventories: "content",
967
- invoices: "content",
968
970
  contacts: "relations",
969
971
  engagements: "relations",
970
972
  campaigns: "relations",
971
973
  leads: "relations",
972
974
  deals: "relations",
973
- subscriptions: "financials",
975
+ orders: "relations",
976
+ invoices: "financials",
974
977
  payments: "financials",
975
978
  paymentMethods: "financials",
979
+ subscriptions: "financials",
976
980
  refunds: "financials",
977
981
  disputes: "financials",
978
- content: ["clients", "tasks", "products", "inventories", "invoices"],
979
- relations: ["contacts", "engagements", "campaigns", "leads", "deals"],
982
+ content: ["clients", "tasks", "products", "inventories"],
983
+ relations: [
984
+ "contacts",
985
+ "engagements",
986
+ "campaigns",
987
+ "leads",
988
+ "deals",
989
+ "orders"
990
+ ],
980
991
  financials: [
981
- "subscriptions",
992
+ "invoices",
982
993
  "payments",
983
994
  "paymentMethods",
995
+ "subscriptions",
984
996
  "refunds",
985
997
  "disputes"
986
998
  ]
@@ -2479,6 +2491,7 @@ var defaults = {
2479
2491
  country: "",
2480
2492
  countryCode: "",
2481
2493
  postalCode: "",
2494
+ addressType: "",
2482
2495
  latitude: 37.7749,
2483
2496
  longitude: -122.4194
2484
2497
  },
@@ -2494,6 +2507,7 @@ var defaults = {
2494
2507
  clientEmail: "",
2495
2508
  customerId: "",
2496
2509
  channelId: "",
2510
+ domain: "",
2497
2511
  active: false,
2498
2512
  importBridge: false,
2499
2513
  exportBridge: false,