@marmot-systems/common 2.0.58 → 2.0.59

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
@@ -559,6 +559,7 @@ type DriverCustomerSnapshot = {
559
559
  type InvoiceFilter = "all" | "unpaid";
560
560
  type PaymentFilter = "all" | "none";
561
561
  type CustomerFilter = "all" | "select";
562
+ type AppLanguage = "es" | "en";
562
563
  type DriverSettingSnapshot = {
563
564
  driver_setting_id: number;
564
565
  invoice_filter: InvoiceFilter;
@@ -568,6 +569,7 @@ type DriverSettingSnapshot = {
568
569
  created_at: string;
569
570
  updated_at: string;
570
571
  customer_filter: CustomerFilter;
572
+ app_language: AppLanguage;
571
573
  };
572
574
 
573
575
  type ServerSyncLogIds = {
@@ -608,4 +610,4 @@ type AuditEventsSnapshot = {
608
610
  company_id: number;
609
611
  };
610
612
 
611
- export { type AnyInvoiceOut, AnyInvoiceSchema, type AuditEventsSnapshot, CREDIT_TYPE, CompanyFormSchema, 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, LoginFormSchema, 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 };
613
+ export { type AnyInvoiceOut, AnyInvoiceSchema, type AppLanguage, type AuditEventsSnapshot, CREDIT_TYPE, CompanyFormSchema, 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, LoginFormSchema, 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
@@ -559,6 +559,7 @@ type DriverCustomerSnapshot = {
559
559
  type InvoiceFilter = "all" | "unpaid";
560
560
  type PaymentFilter = "all" | "none";
561
561
  type CustomerFilter = "all" | "select";
562
+ type AppLanguage = "es" | "en";
562
563
  type DriverSettingSnapshot = {
563
564
  driver_setting_id: number;
564
565
  invoice_filter: InvoiceFilter;
@@ -568,6 +569,7 @@ type DriverSettingSnapshot = {
568
569
  created_at: string;
569
570
  updated_at: string;
570
571
  customer_filter: CustomerFilter;
572
+ app_language: AppLanguage;
571
573
  };
572
574
 
573
575
  type ServerSyncLogIds = {
@@ -608,4 +610,4 @@ type AuditEventsSnapshot = {
608
610
  company_id: number;
609
611
  };
610
612
 
611
- export { type AnyInvoiceOut, AnyInvoiceSchema, type AuditEventsSnapshot, CREDIT_TYPE, CompanyFormSchema, 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, LoginFormSchema, 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 };
613
+ export { type AnyInvoiceOut, AnyInvoiceSchema, type AppLanguage, type AuditEventsSnapshot, CREDIT_TYPE, CompanyFormSchema, 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, LoginFormSchema, 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.58",
3
+ "version": "2.0.59",
4
4
  "description": "Schemas and utils shared across Marmot apps",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",