@marmot-systems/common 2.0.62 → 2.0.64

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
@@ -206,6 +206,7 @@ type ProductSnapshot = {
206
206
  product_upc: string | null;
207
207
  product_gtin_14: string | null;
208
208
  product_status: status;
209
+ country_tax_rule_id: number | null;
209
210
  };
210
211
 
211
212
  type WarehouseSnapshot = {
@@ -512,6 +513,7 @@ type InvoiceItemSnapshot = {
512
513
  invoice_type: InvoiceType;
513
514
  invoice_item_status: InvoiceItemStatus;
514
515
  line_number: number;
516
+ country_tax_rule_id: number | null;
515
517
  };
516
518
 
517
519
  declare const CreditApplicationSchema: z.ZodObject<{
@@ -610,7 +612,7 @@ declare function ymdFromLocalDate(dt: Date): string;
610
612
  type RHFError = string | FieldError | Merge<FieldError, FieldErrorsImpl<any>> | undefined;
611
613
  declare const getErrorMessage: (err: RHFError) => string | undefined;
612
614
 
613
- type EntityType = "companies" | "users" | "customers" | "vendors" | "products" | "invoices" | "credit_applications" | "warehouses" | "inventory_locations" | "payments" | "driver_settings" | "driver_customers";
615
+ type EntityType = "country_tax_rules" | "companies" | "users" | "customers" | "vendors" | "products" | "invoices" | "credit_applications" | "warehouses" | "inventory_locations" | "payments" | "driver_settings" | "driver_customers";
614
616
  type EntityAction = "create" | "update" | "void";
615
617
  type AuditEventsSnapshot = {
616
618
  audit_id: UUID;
package/dist/index.d.ts CHANGED
@@ -206,6 +206,7 @@ type ProductSnapshot = {
206
206
  product_upc: string | null;
207
207
  product_gtin_14: string | null;
208
208
  product_status: status;
209
+ country_tax_rule_id: number | null;
209
210
  };
210
211
 
211
212
  type WarehouseSnapshot = {
@@ -512,6 +513,7 @@ type InvoiceItemSnapshot = {
512
513
  invoice_type: InvoiceType;
513
514
  invoice_item_status: InvoiceItemStatus;
514
515
  line_number: number;
516
+ country_tax_rule_id: number | null;
515
517
  };
516
518
 
517
519
  declare const CreditApplicationSchema: z.ZodObject<{
@@ -610,7 +612,7 @@ declare function ymdFromLocalDate(dt: Date): string;
610
612
  type RHFError = string | FieldError | Merge<FieldError, FieldErrorsImpl<any>> | undefined;
611
613
  declare const getErrorMessage: (err: RHFError) => string | undefined;
612
614
 
613
- type EntityType = "companies" | "users" | "customers" | "vendors" | "products" | "invoices" | "credit_applications" | "warehouses" | "inventory_locations" | "payments" | "driver_settings" | "driver_customers";
615
+ type EntityType = "country_tax_rules" | "companies" | "users" | "customers" | "vendors" | "products" | "invoices" | "credit_applications" | "warehouses" | "inventory_locations" | "payments" | "driver_settings" | "driver_customers";
614
616
  type EntityAction = "create" | "update" | "void";
615
617
  type AuditEventsSnapshot = {
616
618
  audit_id: UUID;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marmot-systems/common",
3
- "version": "2.0.62",
3
+ "version": "2.0.64",
4
4
  "description": "Schemas and utils shared across Marmot apps",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",