@marmot-systems/common 2.0.50 → 2.0.51

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.cts CHANGED
@@ -543,6 +543,7 @@ type DriverCustomerSnapshot = {
543
543
 
544
544
  type InvoiceFilter = "all" | "unpaid";
545
545
  type PaymentFilter = "all" | "none";
546
+ type CustomerFilter = "all" | "select";
546
547
  type DriverSettingSnapshot = {
547
548
  driver_setting_id: number;
548
549
  invoice_filter: InvoiceFilter;
@@ -551,6 +552,7 @@ type DriverSettingSnapshot = {
551
552
  company_id: number;
552
553
  created_at: string;
553
554
  updated_at: string;
555
+ customer_filter: CustomerFilter;
554
556
  };
555
557
 
556
558
  type ServerSyncLogIds = {
@@ -591,4 +593,4 @@ type AuditEventsSnapshot = {
591
593
  company_id: number;
592
594
  };
593
595
 
594
- export { type AnyInvoiceOut, AnyInvoiceSchema, type AuditEventsSnapshot, CREDIT_TYPE, type CompanySnapshot, type CreatedLocation, CreditApplicationSchema, type CreditApplicationSnapshot, type CreditApplicationStatus, type CreditInvoice, CreditInvoiceSchema, type CreditType, CustomerFormSchema, type CustomerSnapshot, type DriverCustomerSnapshot, type DriverSettingSnapshot, type EntityAction, type EntityType, INVOICE_STATUS, INVOICE_TYPE, ISO_COUNTRY_CODES, type InventoryBalanceSnapshot, type InventoryLocationSnapshot, type InventorySystem, type InvoiceFilter, type InvoiceItemSnapshot, type InvoiceItemStatus, type InvoiceSnapshot, type InvoiceSnapshotMobile, type InvoiceStatus, type InvoiceType, type IsoCountryCode, type IsoCurrencyCode, type MappedCustomers, type MappedVendors, PAYMENT_METHOD, type PaymentFilter, PaymentFormSchema, type PaymentMethod, type PaymentSnapshot, type PaymentStatus, ProductFormSchema, type ProductSnapshot, type ProductType, type PurchaseInvoice, PurchaseInvoiceSchema, RegisterFormSchema, type SalesInvoice, SalesInvoiceSchema, type ServerSyncIds, type ServerSyncLogIds, USER_ROLES, type UUID, type UserRole, type UsersSnapshot, type WarehouseSnapshot, type WeightUnit, addDaysLocalYmd, countryToCurrency, currencyToLocale, exceedsTwoDecimals, formatMoneyCurrency, formatYmdLong, getCurrencyFromCountry, getErrorMessage, handleZodCurrency, localDateFromYmd, normalizeSpaces, removeAllWhitespace, removeDashesAndPlusSign, roundWithPrecision, todayLocalYmd, transformEmptyStringToUndefined, ymdFromLocalDate };
596
+ export { type AnyInvoiceOut, AnyInvoiceSchema, type AuditEventsSnapshot, CREDIT_TYPE, type CompanySnapshot, type CreatedLocation, CreditApplicationSchema, type CreditApplicationSnapshot, type CreditApplicationStatus, type CreditInvoice, CreditInvoiceSchema, type CreditType, type CustomerFilter, CustomerFormSchema, type CustomerSnapshot, type DriverCustomerSnapshot, type DriverSettingSnapshot, type EntityAction, type EntityType, INVOICE_STATUS, INVOICE_TYPE, ISO_COUNTRY_CODES, type InventoryBalanceSnapshot, type InventoryLocationSnapshot, type InventorySystem, type InvoiceFilter, type InvoiceItemSnapshot, type InvoiceItemStatus, type InvoiceSnapshot, type InvoiceSnapshotMobile, type InvoiceStatus, type InvoiceType, type IsoCountryCode, type IsoCurrencyCode, type MappedCustomers, type MappedVendors, PAYMENT_METHOD, type PaymentFilter, PaymentFormSchema, type PaymentMethod, type PaymentSnapshot, type PaymentStatus, ProductFormSchema, type ProductSnapshot, type ProductType, type PurchaseInvoice, PurchaseInvoiceSchema, RegisterFormSchema, type SalesInvoice, SalesInvoiceSchema, type ServerSyncIds, type ServerSyncLogIds, USER_ROLES, type UUID, type UserRole, type UsersSnapshot, type WarehouseSnapshot, type WeightUnit, addDaysLocalYmd, countryToCurrency, currencyToLocale, exceedsTwoDecimals, formatMoneyCurrency, formatYmdLong, getCurrencyFromCountry, getErrorMessage, handleZodCurrency, localDateFromYmd, normalizeSpaces, removeAllWhitespace, removeDashesAndPlusSign, roundWithPrecision, todayLocalYmd, transformEmptyStringToUndefined, ymdFromLocalDate };
package/dist/index.d.ts CHANGED
@@ -543,6 +543,7 @@ type DriverCustomerSnapshot = {
543
543
 
544
544
  type InvoiceFilter = "all" | "unpaid";
545
545
  type PaymentFilter = "all" | "none";
546
+ type CustomerFilter = "all" | "select";
546
547
  type DriverSettingSnapshot = {
547
548
  driver_setting_id: number;
548
549
  invoice_filter: InvoiceFilter;
@@ -551,6 +552,7 @@ type DriverSettingSnapshot = {
551
552
  company_id: number;
552
553
  created_at: string;
553
554
  updated_at: string;
555
+ customer_filter: CustomerFilter;
554
556
  };
555
557
 
556
558
  type ServerSyncLogIds = {
@@ -591,4 +593,4 @@ type AuditEventsSnapshot = {
591
593
  company_id: number;
592
594
  };
593
595
 
594
- export { type AnyInvoiceOut, AnyInvoiceSchema, type AuditEventsSnapshot, CREDIT_TYPE, type CompanySnapshot, type CreatedLocation, CreditApplicationSchema, type CreditApplicationSnapshot, type CreditApplicationStatus, type CreditInvoice, CreditInvoiceSchema, type CreditType, CustomerFormSchema, type CustomerSnapshot, type DriverCustomerSnapshot, type DriverSettingSnapshot, type EntityAction, type EntityType, INVOICE_STATUS, INVOICE_TYPE, ISO_COUNTRY_CODES, type InventoryBalanceSnapshot, type InventoryLocationSnapshot, type InventorySystem, type InvoiceFilter, type InvoiceItemSnapshot, type InvoiceItemStatus, type InvoiceSnapshot, type InvoiceSnapshotMobile, type InvoiceStatus, type InvoiceType, type IsoCountryCode, type IsoCurrencyCode, type MappedCustomers, type MappedVendors, PAYMENT_METHOD, type PaymentFilter, PaymentFormSchema, type PaymentMethod, type PaymentSnapshot, type PaymentStatus, ProductFormSchema, type ProductSnapshot, type ProductType, type PurchaseInvoice, PurchaseInvoiceSchema, RegisterFormSchema, type SalesInvoice, SalesInvoiceSchema, type ServerSyncIds, type ServerSyncLogIds, USER_ROLES, type UUID, type UserRole, type UsersSnapshot, type WarehouseSnapshot, type WeightUnit, addDaysLocalYmd, countryToCurrency, currencyToLocale, exceedsTwoDecimals, formatMoneyCurrency, formatYmdLong, getCurrencyFromCountry, getErrorMessage, handleZodCurrency, localDateFromYmd, normalizeSpaces, removeAllWhitespace, removeDashesAndPlusSign, roundWithPrecision, todayLocalYmd, transformEmptyStringToUndefined, ymdFromLocalDate };
596
+ export { type AnyInvoiceOut, AnyInvoiceSchema, type AuditEventsSnapshot, CREDIT_TYPE, type CompanySnapshot, type CreatedLocation, CreditApplicationSchema, type CreditApplicationSnapshot, type CreditApplicationStatus, type CreditInvoice, CreditInvoiceSchema, type CreditType, type CustomerFilter, CustomerFormSchema, type CustomerSnapshot, type DriverCustomerSnapshot, type DriverSettingSnapshot, type EntityAction, type EntityType, INVOICE_STATUS, INVOICE_TYPE, ISO_COUNTRY_CODES, type InventoryBalanceSnapshot, type InventoryLocationSnapshot, type InventorySystem, type InvoiceFilter, type InvoiceItemSnapshot, type InvoiceItemStatus, type InvoiceSnapshot, type InvoiceSnapshotMobile, type InvoiceStatus, type InvoiceType, type IsoCountryCode, type IsoCurrencyCode, type MappedCustomers, type MappedVendors, PAYMENT_METHOD, type PaymentFilter, PaymentFormSchema, type PaymentMethod, type PaymentSnapshot, type PaymentStatus, ProductFormSchema, type ProductSnapshot, type ProductType, type PurchaseInvoice, PurchaseInvoiceSchema, RegisterFormSchema, type SalesInvoice, SalesInvoiceSchema, type ServerSyncIds, type ServerSyncLogIds, USER_ROLES, type UUID, type UserRole, type UsersSnapshot, type WarehouseSnapshot, type WeightUnit, addDaysLocalYmd, countryToCurrency, currencyToLocale, exceedsTwoDecimals, formatMoneyCurrency, formatYmdLong, getCurrencyFromCountry, getErrorMessage, handleZodCurrency, localDateFromYmd, normalizeSpaces, removeAllWhitespace, removeDashesAndPlusSign, roundWithPrecision, todayLocalYmd, transformEmptyStringToUndefined, ymdFromLocalDate };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marmot-systems/common",
3
- "version": "2.0.50",
3
+ "version": "2.0.51",
4
4
  "description": "Schemas and utils shared across Marmot apps",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",