@verma-consulting/common-library 0.1.29 → 0.1.30
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 +23 -27
- package/dist/index.d.ts +23 -27
- package/dist/index.js +14 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
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;
|
|
@@ -2164,15 +2156,16 @@ declare const constants: {
|
|
|
2164
2156
|
tasks: string;
|
|
2165
2157
|
products: string;
|
|
2166
2158
|
inventories: string;
|
|
2167
|
-
|
|
2159
|
+
campaigns: string;
|
|
2168
2160
|
contacts: string;
|
|
2169
2161
|
engagements: string;
|
|
2170
|
-
campaigns: string;
|
|
2171
2162
|
leads: string;
|
|
2172
2163
|
deals: string;
|
|
2173
|
-
|
|
2164
|
+
orders: string;
|
|
2165
|
+
invoices: string;
|
|
2174
2166
|
payments: string;
|
|
2175
2167
|
paymentMethods: string;
|
|
2168
|
+
subscriptions: string;
|
|
2176
2169
|
refunds: string;
|
|
2177
2170
|
disputes: string;
|
|
2178
2171
|
};
|
|
@@ -2181,15 +2174,16 @@ declare const constants: {
|
|
|
2181
2174
|
tasks: string;
|
|
2182
2175
|
products: string;
|
|
2183
2176
|
inventories: string;
|
|
2184
|
-
|
|
2177
|
+
campaigns: string;
|
|
2185
2178
|
contacts: string;
|
|
2186
2179
|
engagements: string;
|
|
2187
|
-
campaigns: string;
|
|
2188
2180
|
leads: string;
|
|
2189
2181
|
deals: string;
|
|
2190
|
-
|
|
2182
|
+
orders: string;
|
|
2183
|
+
invoices: string;
|
|
2191
2184
|
payments: string;
|
|
2192
2185
|
paymentMethods: string;
|
|
2186
|
+
subscriptions: string;
|
|
2193
2187
|
refunds: string;
|
|
2194
2188
|
disputes: string;
|
|
2195
2189
|
content: string[];
|
|
@@ -3103,6 +3097,7 @@ declare const defaults: {
|
|
|
3103
3097
|
country: string;
|
|
3104
3098
|
countryCode: string;
|
|
3105
3099
|
postalCode: string;
|
|
3100
|
+
addressType: string;
|
|
3106
3101
|
latitude: number;
|
|
3107
3102
|
longitude: number;
|
|
3108
3103
|
};
|
|
@@ -3120,6 +3115,7 @@ declare const defaults: {
|
|
|
3120
3115
|
clientEmail: string;
|
|
3121
3116
|
customerId: string;
|
|
3122
3117
|
channelId: string;
|
|
3118
|
+
domain: string;
|
|
3123
3119
|
active: boolean;
|
|
3124
3120
|
importBridge: boolean;
|
|
3125
3121
|
exportBridge: boolean;
|
|
@@ -3653,4 +3649,4 @@ declare const defaultTypes: {
|
|
|
3653
3649
|
};
|
|
3654
3650
|
};
|
|
3655
3651
|
|
|
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
|
|
3652
|
+
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
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
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;
|
|
@@ -2164,15 +2156,16 @@ declare const constants: {
|
|
|
2164
2156
|
tasks: string;
|
|
2165
2157
|
products: string;
|
|
2166
2158
|
inventories: string;
|
|
2167
|
-
|
|
2159
|
+
campaigns: string;
|
|
2168
2160
|
contacts: string;
|
|
2169
2161
|
engagements: string;
|
|
2170
|
-
campaigns: string;
|
|
2171
2162
|
leads: string;
|
|
2172
2163
|
deals: string;
|
|
2173
|
-
|
|
2164
|
+
orders: string;
|
|
2165
|
+
invoices: string;
|
|
2174
2166
|
payments: string;
|
|
2175
2167
|
paymentMethods: string;
|
|
2168
|
+
subscriptions: string;
|
|
2176
2169
|
refunds: string;
|
|
2177
2170
|
disputes: string;
|
|
2178
2171
|
};
|
|
@@ -2181,15 +2174,16 @@ declare const constants: {
|
|
|
2181
2174
|
tasks: string;
|
|
2182
2175
|
products: string;
|
|
2183
2176
|
inventories: string;
|
|
2184
|
-
|
|
2177
|
+
campaigns: string;
|
|
2185
2178
|
contacts: string;
|
|
2186
2179
|
engagements: string;
|
|
2187
|
-
campaigns: string;
|
|
2188
2180
|
leads: string;
|
|
2189
2181
|
deals: string;
|
|
2190
|
-
|
|
2182
|
+
orders: string;
|
|
2183
|
+
invoices: string;
|
|
2191
2184
|
payments: string;
|
|
2192
2185
|
paymentMethods: string;
|
|
2186
|
+
subscriptions: string;
|
|
2193
2187
|
refunds: string;
|
|
2194
2188
|
disputes: string;
|
|
2195
2189
|
content: string[];
|
|
@@ -3103,6 +3097,7 @@ declare const defaults: {
|
|
|
3103
3097
|
country: string;
|
|
3104
3098
|
countryCode: string;
|
|
3105
3099
|
postalCode: string;
|
|
3100
|
+
addressType: string;
|
|
3106
3101
|
latitude: number;
|
|
3107
3102
|
longitude: number;
|
|
3108
3103
|
};
|
|
@@ -3120,6 +3115,7 @@ declare const defaults: {
|
|
|
3120
3115
|
clientEmail: string;
|
|
3121
3116
|
customerId: string;
|
|
3122
3117
|
channelId: string;
|
|
3118
|
+
domain: string;
|
|
3123
3119
|
active: boolean;
|
|
3124
3120
|
importBridge: boolean;
|
|
3125
3121
|
exportBridge: boolean;
|
|
@@ -3653,4 +3649,4 @@ declare const defaultTypes: {
|
|
|
3653
3649
|
};
|
|
3654
3650
|
};
|
|
3655
3651
|
|
|
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
|
|
3652
|
+
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
|
@@ -947,15 +947,16 @@ var constants = {
|
|
|
947
947
|
tasks: "cms",
|
|
948
948
|
products: "cms",
|
|
949
949
|
inventories: "cms",
|
|
950
|
-
|
|
950
|
+
campaigns: "cms",
|
|
951
951
|
contacts: "crm",
|
|
952
952
|
engagements: "crm",
|
|
953
|
-
campaigns: "crm",
|
|
954
953
|
leads: "crm",
|
|
955
954
|
deals: "crm",
|
|
956
|
-
|
|
955
|
+
orders: "crm",
|
|
956
|
+
invoices: "financials",
|
|
957
957
|
payments: "financials",
|
|
958
958
|
paymentMethods: "financials",
|
|
959
|
+
subscriptions: "financials",
|
|
959
960
|
refunds: "financials",
|
|
960
961
|
disputes: "financials"
|
|
961
962
|
},
|
|
@@ -964,23 +965,25 @@ var constants = {
|
|
|
964
965
|
tasks: "content",
|
|
965
966
|
products: "content",
|
|
966
967
|
inventories: "content",
|
|
967
|
-
|
|
968
|
+
campaigns: "content",
|
|
968
969
|
contacts: "relations",
|
|
969
970
|
engagements: "relations",
|
|
970
|
-
campaigns: "relations",
|
|
971
971
|
leads: "relations",
|
|
972
972
|
deals: "relations",
|
|
973
|
-
|
|
973
|
+
orders: "relations",
|
|
974
|
+
invoices: "financials",
|
|
974
975
|
payments: "financials",
|
|
975
976
|
paymentMethods: "financials",
|
|
977
|
+
subscriptions: "financials",
|
|
976
978
|
refunds: "financials",
|
|
977
979
|
disputes: "financials",
|
|
978
|
-
content: ["clients", "tasks", "products", "inventories", "
|
|
979
|
-
relations: ["contacts", "engagements", "
|
|
980
|
+
content: ["clients", "tasks", "products", "inventories", "campaigns"],
|
|
981
|
+
relations: ["contacts", "engagements", "leads", "deals", "orders"],
|
|
980
982
|
financials: [
|
|
981
|
-
"
|
|
983
|
+
"invoices",
|
|
982
984
|
"payments",
|
|
983
985
|
"paymentMethods",
|
|
986
|
+
"subscriptions",
|
|
984
987
|
"refunds",
|
|
985
988
|
"disputes"
|
|
986
989
|
]
|
|
@@ -2479,6 +2482,7 @@ var defaults = {
|
|
|
2479
2482
|
country: "",
|
|
2480
2483
|
countryCode: "",
|
|
2481
2484
|
postalCode: "",
|
|
2485
|
+
addressType: "",
|
|
2482
2486
|
latitude: 37.7749,
|
|
2483
2487
|
longitude: -122.4194
|
|
2484
2488
|
},
|
|
@@ -2494,6 +2498,7 @@ var defaults = {
|
|
|
2494
2498
|
clientEmail: "",
|
|
2495
2499
|
customerId: "",
|
|
2496
2500
|
channelId: "",
|
|
2501
|
+
domain: "",
|
|
2497
2502
|
active: false,
|
|
2498
2503
|
importBridge: false,
|
|
2499
2504
|
exportBridge: false,
|