@verma-consulting/common-library 0.1.61 → 0.1.62

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
@@ -87,7 +87,7 @@ interface UserInterface {
87
87
  engagementsCreated?: EngagementInterface[];
88
88
  dealsCreated?: DealInterface[];
89
89
  leadsCreated?: LeadInterface[];
90
- filtersCreated?: FilterInterface[];
90
+ presetsCreated?: PresetInterface[];
91
91
  statisticsCreated?: StatisticInterface[];
92
92
  schemasCreated?: SchemaInterface[];
93
93
  poolsCreated?: PoolInterface[];
@@ -1021,7 +1021,7 @@ interface EngagementInterface {
1021
1021
  createdBy?: UserInterface;
1022
1022
  updatedBy?: UserInterface;
1023
1023
  }
1024
- interface FilterInterface {
1024
+ interface PresetInterface {
1025
1025
  id?: string;
1026
1026
  createdAt?: Date;
1027
1027
  updatedAt?: Date;
@@ -1343,7 +1343,7 @@ interface StripePaymentIntent {
1343
1343
  amount?: number;
1344
1344
  currency?: string;
1345
1345
  }
1346
- interface QueryFilterInterface {
1346
+ interface QueryPresetInterface {
1347
1347
  search?: string;
1348
1348
  order?: string;
1349
1349
  orderBy?: string;
@@ -1967,7 +1967,7 @@ declare enum CategoryType {
1967
1967
  relations = "relations",
1968
1968
  financials = "financials"
1969
1969
  }
1970
- declare enum FilterType {
1970
+ declare enum PresetType {
1971
1971
  defaultView = "defaultView",
1972
1972
  defaultSort = "defaultSort",
1973
1973
  defaultOrder = "defaultOrder",
@@ -3853,4 +3853,4 @@ declare const defaultTypes: {
3853
3853
  };
3854
3854
  };
3855
3855
 
3856
- 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, formatRelativeTime, 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 };
3856
+ 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, 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 PresetInterface, PresetType, type PriceInterface, type PriceRecurringInterface, Priority, type ProductInterface, type PromptInterface, type QueryPresetInterface, 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, formatRelativeTime, 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
@@ -87,7 +87,7 @@ interface UserInterface {
87
87
  engagementsCreated?: EngagementInterface[];
88
88
  dealsCreated?: DealInterface[];
89
89
  leadsCreated?: LeadInterface[];
90
- filtersCreated?: FilterInterface[];
90
+ presetsCreated?: PresetInterface[];
91
91
  statisticsCreated?: StatisticInterface[];
92
92
  schemasCreated?: SchemaInterface[];
93
93
  poolsCreated?: PoolInterface[];
@@ -1021,7 +1021,7 @@ interface EngagementInterface {
1021
1021
  createdBy?: UserInterface;
1022
1022
  updatedBy?: UserInterface;
1023
1023
  }
1024
- interface FilterInterface {
1024
+ interface PresetInterface {
1025
1025
  id?: string;
1026
1026
  createdAt?: Date;
1027
1027
  updatedAt?: Date;
@@ -1343,7 +1343,7 @@ interface StripePaymentIntent {
1343
1343
  amount?: number;
1344
1344
  currency?: string;
1345
1345
  }
1346
- interface QueryFilterInterface {
1346
+ interface QueryPresetInterface {
1347
1347
  search?: string;
1348
1348
  order?: string;
1349
1349
  orderBy?: string;
@@ -1967,7 +1967,7 @@ declare enum CategoryType {
1967
1967
  relations = "relations",
1968
1968
  financials = "financials"
1969
1969
  }
1970
- declare enum FilterType {
1970
+ declare enum PresetType {
1971
1971
  defaultView = "defaultView",
1972
1972
  defaultSort = "defaultSort",
1973
1973
  defaultOrder = "defaultOrder",
@@ -3853,4 +3853,4 @@ declare const defaultTypes: {
3853
3853
  };
3854
3854
  };
3855
3855
 
3856
- 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, formatRelativeTime, 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 };
3856
+ 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, 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 PresetInterface, PresetType, type PriceInterface, type PriceRecurringInterface, Priority, type ProductInterface, type PromptInterface, type QueryPresetInterface, 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, formatRelativeTime, 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
@@ -29,7 +29,6 @@ __export(index_exports, {
29
29
  DealType: () => DealType,
30
30
  DeviceNotification: () => DeviceNotification,
31
31
  FeatureType: () => FeatureType,
32
- FilterType: () => FilterType,
33
32
  FormFieldOrder: () => FormFieldOrder,
34
33
  FormFieldType: () => FormFieldType,
35
34
  FrequencyType: () => FrequencyType,
@@ -41,6 +40,7 @@ __export(index_exports, {
41
40
  OrganizationFeatures: () => OrganizationFeatures,
42
41
  PermissionType: () => PermissionType,
43
42
  PlatformLanguage: () => PlatformLanguage,
43
+ PresetType: () => PresetType,
44
44
  Priority: () => Priority,
45
45
  SourceType: () => SourceType,
46
46
  UsageType: () => UsageType,
@@ -705,18 +705,18 @@ var CategoryType = /* @__PURE__ */ ((CategoryType2) => {
705
705
  CategoryType2["financials"] = "financials";
706
706
  return CategoryType2;
707
707
  })(CategoryType || {});
708
- var FilterType = /* @__PURE__ */ ((FilterType2) => {
709
- FilterType2["defaultView"] = "defaultView";
710
- FilterType2["defaultSort"] = "defaultSort";
711
- FilterType2["defaultOrder"] = "defaultOrder";
712
- FilterType2["statisticSort"] = "statisticSort";
713
- FilterType2["statisticsOrder"] = "statisticsOrder";
714
- FilterType2["defaultRowsPerPage"] = "defaultRowsPerPage";
715
- FilterType2["statisticRowsPerPage"] = "statisticRowsPerPage";
716
- FilterType2["tableHeaders"] = "tableHeaders";
717
- FilterType2["kanbanStatusField"] = "kanbanStatusField";
718
- return FilterType2;
719
- })(FilterType || {});
708
+ var PresetType = /* @__PURE__ */ ((PresetType2) => {
709
+ PresetType2["defaultView"] = "defaultView";
710
+ PresetType2["defaultSort"] = "defaultSort";
711
+ PresetType2["defaultOrder"] = "defaultOrder";
712
+ PresetType2["statisticSort"] = "statisticSort";
713
+ PresetType2["statisticsOrder"] = "statisticsOrder";
714
+ PresetType2["defaultRowsPerPage"] = "defaultRowsPerPage";
715
+ PresetType2["statisticRowsPerPage"] = "statisticRowsPerPage";
716
+ PresetType2["tableHeaders"] = "tableHeaders";
717
+ PresetType2["kanbanStatusField"] = "kanbanStatusField";
718
+ return PresetType2;
719
+ })(PresetType || {});
720
720
  var organizationFilterType = /* @__PURE__ */ ((organizationFilterType2) => {
721
721
  organizationFilterType2["reports"] = "reports";
722
722
  organizationFilterType2["lists"] = "lists";
@@ -3166,7 +3166,7 @@ var defaultTypes = {
3166
3166
  duplicateChargeDocumentation: "String",
3167
3167
  duplicateChargeExplanation: "String",
3168
3168
  duplicateChargeId: "String",
3169
- productdescription: "Paragraph",
3169
+ productdescription: "String",
3170
3170
  receipt: "String",
3171
3171
  refundPolicy: "String",
3172
3172
  refundPolicyDisclosure: "String",
@@ -3264,7 +3264,7 @@ var defaultTypes = {
3264
3264
  integrations: {
3265
3265
  name: "String",
3266
3266
  title: "String",
3267
- description: "Paragraph",
3267
+ description: "String",
3268
3268
  category: "String",
3269
3269
  type: "String",
3270
3270
  key: "String",
@@ -3280,12 +3280,12 @@ var defaultTypes = {
3280
3280
  },
3281
3281
  operations: {
3282
3282
  label: "String",
3283
- description: "Paragraph",
3283
+ description: "String",
3284
3284
  star: "Boolean"
3285
3285
  },
3286
3286
  prompts: {
3287
3287
  label: "String",
3288
- description: "Paragraph",
3288
+ description: "String",
3289
3289
  active: "Boolean"
3290
3290
  }
3291
3291
  };
@@ -3301,7 +3301,6 @@ var defaultTypes_default = defaultTypes;
3301
3301
  DealType,
3302
3302
  DeviceNotification,
3303
3303
  FeatureType,
3304
- FilterType,
3305
3304
  FormFieldOrder,
3306
3305
  FormFieldType,
3307
3306
  FrequencyType,
@@ -3313,6 +3312,7 @@ var defaultTypes_default = defaultTypes;
3313
3312
  OrganizationFeatures,
3314
3313
  PermissionType,
3315
3314
  PlatformLanguage,
3315
+ PresetType,
3316
3316
  Priority,
3317
3317
  SourceType,
3318
3318
  UsageType,