@verma-consulting/common-library 0.1.42 → 0.1.44
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 +13 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +22 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2032,6 +2032,9 @@ declare enum FrequencyType {
|
|
|
2032
2032
|
Annually = "Annually"
|
|
2033
2033
|
}
|
|
2034
2034
|
declare enum action {
|
|
2035
|
+
lookup = "lookup"
|
|
2036
|
+
}
|
|
2037
|
+
declare enum trigger {
|
|
2035
2038
|
create = "create",
|
|
2036
2039
|
update = "update",
|
|
2037
2040
|
delete = "delete",
|
|
@@ -2092,6 +2095,15 @@ declare enum integrationType {
|
|
|
2092
2095
|
shippo = "shippo",
|
|
2093
2096
|
shopify = "shopify"
|
|
2094
2097
|
}
|
|
2098
|
+
declare enum integrationCategory {
|
|
2099
|
+
Logistic = "Logistic",
|
|
2100
|
+
Commerce = "Commerce",
|
|
2101
|
+
AI = "AI",
|
|
2102
|
+
Finances = "Finances",
|
|
2103
|
+
OrganizationWorkspaces = "Organization Workspaces",
|
|
2104
|
+
MessagingPlatforms = "Messaging Platforms",
|
|
2105
|
+
Miscellaneous = "Miscellaneous"
|
|
2106
|
+
}
|
|
2095
2107
|
declare enum currency {
|
|
2096
2108
|
usd = "usd",
|
|
2097
2109
|
aed = "aed",
|
|
@@ -3773,4 +3785,4 @@ declare const defaultTypes: {
|
|
|
3773
3785
|
};
|
|
3774
3786
|
};
|
|
3775
3787
|
|
|
3776
|
-
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, financialStatus, formatPhoneNumber, fulfillmentStatus, getRandomArbitrary, girth, grabAge, integrationType, isNumber, largeNumberLabel, missingPaymentMethod, normalizeKey, openInNewTab, operationType, organizationFilterType, packageType, paymentAllowRedirect, paymentCancellationReason, paymentFutureUsage, paymentMethodAllowReDisplay, paymentMethodType, paymentStatus, prettifyString, priceType, productType, refundFailureReason, refundPendingReason, refundReason, refundStatus, shippingProvider, shippingServiceLevel, snakeToPretty, status, stripHtmlTags, subscriptionCancellationReason, taxBehavior, taxExempt, tiersMode, toCurrencyValue, unit, userRole, userSource, userStatus, validEmail, weightUnit };
|
|
3788
|
+
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, financialStatus, formatPhoneNumber, fulfillmentStatus, getRandomArbitrary, girth, grabAge, integrationCategory, integrationType, isNumber, largeNumberLabel, missingPaymentMethod, normalizeKey, openInNewTab, operationType, organizationFilterType, packageType, paymentAllowRedirect, paymentCancellationReason, paymentFutureUsage, paymentMethodAllowReDisplay, paymentMethodType, paymentStatus, prettifyString, priceType, productType, refundFailureReason, refundPendingReason, refundReason, refundStatus, shippingProvider, shippingServiceLevel, snakeToPretty, status, stripHtmlTags, subscriptionCancellationReason, taxBehavior, taxExempt, tiersMode, toCurrencyValue, trigger, unit, userRole, userSource, userStatus, validEmail, weightUnit };
|
package/dist/index.d.ts
CHANGED
|
@@ -2032,6 +2032,9 @@ declare enum FrequencyType {
|
|
|
2032
2032
|
Annually = "Annually"
|
|
2033
2033
|
}
|
|
2034
2034
|
declare enum action {
|
|
2035
|
+
lookup = "lookup"
|
|
2036
|
+
}
|
|
2037
|
+
declare enum trigger {
|
|
2035
2038
|
create = "create",
|
|
2036
2039
|
update = "update",
|
|
2037
2040
|
delete = "delete",
|
|
@@ -2092,6 +2095,15 @@ declare enum integrationType {
|
|
|
2092
2095
|
shippo = "shippo",
|
|
2093
2096
|
shopify = "shopify"
|
|
2094
2097
|
}
|
|
2098
|
+
declare enum integrationCategory {
|
|
2099
|
+
Logistic = "Logistic",
|
|
2100
|
+
Commerce = "Commerce",
|
|
2101
|
+
AI = "AI",
|
|
2102
|
+
Finances = "Finances",
|
|
2103
|
+
OrganizationWorkspaces = "Organization Workspaces",
|
|
2104
|
+
MessagingPlatforms = "Messaging Platforms",
|
|
2105
|
+
Miscellaneous = "Miscellaneous"
|
|
2106
|
+
}
|
|
2095
2107
|
declare enum currency {
|
|
2096
2108
|
usd = "usd",
|
|
2097
2109
|
aed = "aed",
|
|
@@ -3773,4 +3785,4 @@ declare const defaultTypes: {
|
|
|
3773
3785
|
};
|
|
3774
3786
|
};
|
|
3775
3787
|
|
|
3776
|
-
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, financialStatus, formatPhoneNumber, fulfillmentStatus, getRandomArbitrary, girth, grabAge, integrationType, isNumber, largeNumberLabel, missingPaymentMethod, normalizeKey, openInNewTab, operationType, organizationFilterType, packageType, paymentAllowRedirect, paymentCancellationReason, paymentFutureUsage, paymentMethodAllowReDisplay, paymentMethodType, paymentStatus, prettifyString, priceType, productType, refundFailureReason, refundPendingReason, refundReason, refundStatus, shippingProvider, shippingServiceLevel, snakeToPretty, status, stripHtmlTags, subscriptionCancellationReason, taxBehavior, taxExempt, tiersMode, toCurrencyValue, unit, userRole, userSource, userStatus, validEmail, weightUnit };
|
|
3788
|
+
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, financialStatus, formatPhoneNumber, fulfillmentStatus, getRandomArbitrary, girth, grabAge, integrationCategory, integrationType, isNumber, largeNumberLabel, missingPaymentMethod, normalizeKey, openInNewTab, operationType, organizationFilterType, packageType, paymentAllowRedirect, paymentCancellationReason, paymentFutureUsage, paymentMethodAllowReDisplay, paymentMethodType, paymentStatus, prettifyString, priceType, productType, refundFailureReason, refundPendingReason, refundReason, refundStatus, shippingProvider, shippingServiceLevel, snakeToPretty, status, stripHtmlTags, subscriptionCancellationReason, taxBehavior, taxExempt, tiersMode, toCurrencyValue, trigger, unit, userRole, userSource, userStatus, validEmail, weightUnit };
|
package/dist/index.js
CHANGED
|
@@ -71,6 +71,7 @@ __export(index_exports, {
|
|
|
71
71
|
getRandomArbitrary: () => getRandomArbitrary,
|
|
72
72
|
girth: () => girth,
|
|
73
73
|
grabAge: () => grabAge,
|
|
74
|
+
integrationCategory: () => integrationCategory,
|
|
74
75
|
integrationType: () => integrationType,
|
|
75
76
|
isNumber: () => isNumber,
|
|
76
77
|
largeNumberLabel: () => largeNumberLabel,
|
|
@@ -103,6 +104,7 @@ __export(index_exports, {
|
|
|
103
104
|
taxExempt: () => taxExempt,
|
|
104
105
|
tiersMode: () => tiersMode,
|
|
105
106
|
toCurrencyValue: () => toCurrencyValue,
|
|
107
|
+
trigger: () => trigger,
|
|
106
108
|
unit: () => unit,
|
|
107
109
|
userRole: () => userRole,
|
|
108
110
|
userSource: () => userSource,
|
|
@@ -763,12 +765,16 @@ var FrequencyType = /* @__PURE__ */ ((FrequencyType2) => {
|
|
|
763
765
|
return FrequencyType2;
|
|
764
766
|
})(FrequencyType || {});
|
|
765
767
|
var action = /* @__PURE__ */ ((action2) => {
|
|
766
|
-
action2["
|
|
767
|
-
action2["update"] = "update";
|
|
768
|
-
action2["delete"] = "delete";
|
|
769
|
-
action2["undo"] = "undo";
|
|
768
|
+
action2["lookup"] = "lookup";
|
|
770
769
|
return action2;
|
|
771
770
|
})(action || {});
|
|
771
|
+
var trigger = /* @__PURE__ */ ((trigger2) => {
|
|
772
|
+
trigger2["create"] = "create";
|
|
773
|
+
trigger2["update"] = "update";
|
|
774
|
+
trigger2["delete"] = "delete";
|
|
775
|
+
trigger2["undo"] = "undo";
|
|
776
|
+
return trigger2;
|
|
777
|
+
})(trigger || {});
|
|
772
778
|
var ChartType = /* @__PURE__ */ ((ChartType2) => {
|
|
773
779
|
ChartType2["line"] = "line";
|
|
774
780
|
ChartType2["bar"] = "bar";
|
|
@@ -833,6 +839,16 @@ var integrationType = /* @__PURE__ */ ((integrationType2) => {
|
|
|
833
839
|
integrationType2["shopify"] = "shopify";
|
|
834
840
|
return integrationType2;
|
|
835
841
|
})(integrationType || {});
|
|
842
|
+
var integrationCategory = /* @__PURE__ */ ((integrationCategory2) => {
|
|
843
|
+
integrationCategory2["Logistic"] = "Logistic";
|
|
844
|
+
integrationCategory2["Commerce"] = "Commerce";
|
|
845
|
+
integrationCategory2["AI"] = "AI";
|
|
846
|
+
integrationCategory2["Finances"] = "Finances";
|
|
847
|
+
integrationCategory2["OrganizationWorkspaces"] = "Organization Workspaces";
|
|
848
|
+
integrationCategory2["MessagingPlatforms"] = "Messaging Platforms";
|
|
849
|
+
integrationCategory2["Miscellaneous"] = "Miscellaneous";
|
|
850
|
+
return integrationCategory2;
|
|
851
|
+
})(integrationCategory || {});
|
|
836
852
|
var currency = /* @__PURE__ */ ((currency2) => {
|
|
837
853
|
currency2["usd"] = "usd";
|
|
838
854
|
currency2["aed"] = "aed";
|
|
@@ -3184,6 +3200,7 @@ var defaultTypes_default = defaultTypes;
|
|
|
3184
3200
|
getRandomArbitrary,
|
|
3185
3201
|
girth,
|
|
3186
3202
|
grabAge,
|
|
3203
|
+
integrationCategory,
|
|
3187
3204
|
integrationType,
|
|
3188
3205
|
isNumber,
|
|
3189
3206
|
largeNumberLabel,
|
|
@@ -3216,6 +3233,7 @@ var defaultTypes_default = defaultTypes;
|
|
|
3216
3233
|
taxExempt,
|
|
3217
3234
|
tiersMode,
|
|
3218
3235
|
toCurrencyValue,
|
|
3236
|
+
trigger,
|
|
3219
3237
|
unit,
|
|
3220
3238
|
userRole,
|
|
3221
3239
|
userSource,
|