@final-commerce/common 1.1.4-beta.4 → 2.0.2

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.
@@ -321,21 +321,12 @@ declare enum ReceiptSendChannel {
321
321
  EMAIL = "email",
322
322
  TEXT = "text"
323
323
  }
324
- declare enum ReceiptType {
325
- ORDER = "order",
326
- REFUND = "refund"
327
- }
328
324
  declare enum StripeStatus {
329
325
  ACTIVE = "active",
330
326
  INACTIVE = "inactive",
331
327
  PAYMENT_METHOD_REQUIRED = "payment_method_required",
332
328
  PAYMENT_METHOD_ADDED = "payment_method_added"
333
329
  }
334
- declare enum InvoiceStatus {
335
- PAID = "paid",
336
- PENDING = "pending",
337
- EXPIRED = "expired"
338
- }
339
330
 
340
331
  declare enum ProductType {
341
332
  SIMPLE = "simple",
@@ -595,4 +586,4 @@ interface FragmentParam {
595
586
  options?: string[];
596
587
  }
597
588
 
598
- export { type OrderRefund as $, type AvailableTransition as A, type ConfigValidationWarning as B, CurrencyCode as C, type DisplayStateRule as D, type CrossAxisRequires as E, type FulfillmentStateDefinition as F, type CrossAxisTrigger as G, CustomTableAvailability as H, CustomerPlatform as I, ExtensionCategory as J, FULFILLMENT_STATES as K, FeesCustomBillingStatus as L, type FulfillmentTransitionPath as M, InventoryBaseActionEnum as N, type OrderContext as O, PricingRegionEnum as P, type InventoryBaseActionType as Q, InventorySpecificActionType as R, type StatePair as S, type TransitionConditionSet as T, InvoiceStatus as U, LibraryItemType as V, MenuProject as W, NonRevenueItemType as X, type OrderLineItem as Y, type OrderPaymentMethod as Z, OrderPlatform as _, type PaymentStateDefinition as a, OwnerType as a0, PATH_MODES as a1, PAYMENT_STATES as a2, type PathMode as a3, PaymentMethod as a4, type PaymentTransitionPath as a5, Platform as a6, PreviewImageMode as a7, PricingLevel as a8, PricingPlanEnum as a9, ProductStatus as aa, ProductType as ab, PublicationAvailability as ac, type PublicationConfig as ad, PublicationStatus as ae, ReceiptSendChannel as af, ReceiptType as ag, ResidualPaymentMethod as ah, ResidualStatus as ai, type SplitPaymentPayment as aj, type StateDefinition as ak, StationStatus as al, StripeStatus as am, TimePeriod as an, TopMetericsSort as ao, type TransitionPath as ap, UserTypes as aq, isConditionOperator as ar, isFulfillmentState as as, isPaymentState as at, type FinancialInvariant as b, type CrossAxisRule as c, type StoredStateConfig as d, type StateConfig as e, type ConfigValidationResult as f, type DisplayStateResult as g, type Condition as h, type FailedCondition as i, type OrderLikeForContext as j, type SplitPayment as k, type TransitionRequest as l, type TransitionResult as m, type OrderStateWritable as n, type PaymentState as o, type FulfillmentState as p, type OrderLikeForLegacyInference as q, type StateConfigFragment as r, type FragmentParam as s, type ConfigValidationError as t, type TransitionBlockedBy as u, AttributeType as v, CONDITION_OPERATORS as w, CompanyType as x, type ConditionGroup as y, type ConditionOperator as z };
589
+ export { OwnerType as $, type AvailableTransition as A, type ConfigValidationWarning as B, CurrencyCode as C, type DisplayStateRule as D, type CrossAxisRequires as E, type FulfillmentStateDefinition as F, type CrossAxisTrigger as G, CustomTableAvailability as H, CustomerPlatform as I, ExtensionCategory as J, FULFILLMENT_STATES as K, FeesCustomBillingStatus as L, type FulfillmentTransitionPath as M, InventoryBaseActionEnum as N, type OrderContext as O, PricingRegionEnum as P, type InventoryBaseActionType as Q, InventorySpecificActionType as R, type StatePair as S, type TransitionConditionSet as T, LibraryItemType as U, MenuProject as V, NonRevenueItemType as W, type OrderLineItem as X, type OrderPaymentMethod as Y, OrderPlatform as Z, type OrderRefund as _, type PaymentStateDefinition as a, PATH_MODES as a0, PAYMENT_STATES as a1, type PathMode as a2, PaymentMethod as a3, type PaymentTransitionPath as a4, Platform as a5, PreviewImageMode as a6, PricingLevel as a7, PricingPlanEnum as a8, ProductStatus as a9, ProductType as aa, PublicationAvailability as ab, type PublicationConfig as ac, PublicationStatus as ad, ReceiptSendChannel as ae, ResidualPaymentMethod as af, ResidualStatus as ag, type SplitPaymentPayment as ah, type StateDefinition as ai, StationStatus as aj, StripeStatus as ak, TimePeriod as al, TopMetericsSort as am, type TransitionPath as an, UserTypes as ao, isConditionOperator as ap, isFulfillmentState as aq, isPaymentState as ar, type FinancialInvariant as b, type CrossAxisRule as c, type StoredStateConfig as d, type StateConfig as e, type ConfigValidationResult as f, type DisplayStateResult as g, type Condition as h, type FailedCondition as i, type OrderLikeForContext as j, type SplitPayment as k, type TransitionRequest as l, type TransitionResult as m, type OrderStateWritable as n, type PaymentState as o, type FulfillmentState as p, type OrderLikeForLegacyInference as q, type StateConfigFragment as r, type FragmentParam as s, type ConfigValidationError as t, type TransitionBlockedBy as u, AttributeType as v, CONDITION_OPERATORS as w, CompanyType as x, type ConditionGroup as y, type ConditionOperator as z };
@@ -321,21 +321,12 @@ declare enum ReceiptSendChannel {
321
321
  EMAIL = "email",
322
322
  TEXT = "text"
323
323
  }
324
- declare enum ReceiptType {
325
- ORDER = "order",
326
- REFUND = "refund"
327
- }
328
324
  declare enum StripeStatus {
329
325
  ACTIVE = "active",
330
326
  INACTIVE = "inactive",
331
327
  PAYMENT_METHOD_REQUIRED = "payment_method_required",
332
328
  PAYMENT_METHOD_ADDED = "payment_method_added"
333
329
  }
334
- declare enum InvoiceStatus {
335
- PAID = "paid",
336
- PENDING = "pending",
337
- EXPIRED = "expired"
338
- }
339
330
 
340
331
  declare enum ProductType {
341
332
  SIMPLE = "simple",
@@ -595,4 +586,4 @@ interface FragmentParam {
595
586
  options?: string[];
596
587
  }
597
588
 
598
- export { type OrderRefund as $, type AvailableTransition as A, type ConfigValidationWarning as B, CurrencyCode as C, type DisplayStateRule as D, type CrossAxisRequires as E, type FulfillmentStateDefinition as F, type CrossAxisTrigger as G, CustomTableAvailability as H, CustomerPlatform as I, ExtensionCategory as J, FULFILLMENT_STATES as K, FeesCustomBillingStatus as L, type FulfillmentTransitionPath as M, InventoryBaseActionEnum as N, type OrderContext as O, PricingRegionEnum as P, type InventoryBaseActionType as Q, InventorySpecificActionType as R, type StatePair as S, type TransitionConditionSet as T, InvoiceStatus as U, LibraryItemType as V, MenuProject as W, NonRevenueItemType as X, type OrderLineItem as Y, type OrderPaymentMethod as Z, OrderPlatform as _, type PaymentStateDefinition as a, OwnerType as a0, PATH_MODES as a1, PAYMENT_STATES as a2, type PathMode as a3, PaymentMethod as a4, type PaymentTransitionPath as a5, Platform as a6, PreviewImageMode as a7, PricingLevel as a8, PricingPlanEnum as a9, ProductStatus as aa, ProductType as ab, PublicationAvailability as ac, type PublicationConfig as ad, PublicationStatus as ae, ReceiptSendChannel as af, ReceiptType as ag, ResidualPaymentMethod as ah, ResidualStatus as ai, type SplitPaymentPayment as aj, type StateDefinition as ak, StationStatus as al, StripeStatus as am, TimePeriod as an, TopMetericsSort as ao, type TransitionPath as ap, UserTypes as aq, isConditionOperator as ar, isFulfillmentState as as, isPaymentState as at, type FinancialInvariant as b, type CrossAxisRule as c, type StoredStateConfig as d, type StateConfig as e, type ConfigValidationResult as f, type DisplayStateResult as g, type Condition as h, type FailedCondition as i, type OrderLikeForContext as j, type SplitPayment as k, type TransitionRequest as l, type TransitionResult as m, type OrderStateWritable as n, type PaymentState as o, type FulfillmentState as p, type OrderLikeForLegacyInference as q, type StateConfigFragment as r, type FragmentParam as s, type ConfigValidationError as t, type TransitionBlockedBy as u, AttributeType as v, CONDITION_OPERATORS as w, CompanyType as x, type ConditionGroup as y, type ConditionOperator as z };
589
+ export { OwnerType as $, type AvailableTransition as A, type ConfigValidationWarning as B, CurrencyCode as C, type DisplayStateRule as D, type CrossAxisRequires as E, type FulfillmentStateDefinition as F, type CrossAxisTrigger as G, CustomTableAvailability as H, CustomerPlatform as I, ExtensionCategory as J, FULFILLMENT_STATES as K, FeesCustomBillingStatus as L, type FulfillmentTransitionPath as M, InventoryBaseActionEnum as N, type OrderContext as O, PricingRegionEnum as P, type InventoryBaseActionType as Q, InventorySpecificActionType as R, type StatePair as S, type TransitionConditionSet as T, LibraryItemType as U, MenuProject as V, NonRevenueItemType as W, type OrderLineItem as X, type OrderPaymentMethod as Y, OrderPlatform as Z, type OrderRefund as _, type PaymentStateDefinition as a, PATH_MODES as a0, PAYMENT_STATES as a1, type PathMode as a2, PaymentMethod as a3, type PaymentTransitionPath as a4, Platform as a5, PreviewImageMode as a6, PricingLevel as a7, PricingPlanEnum as a8, ProductStatus as a9, ProductType as aa, PublicationAvailability as ab, type PublicationConfig as ac, PublicationStatus as ad, ReceiptSendChannel as ae, ResidualPaymentMethod as af, ResidualStatus as ag, type SplitPaymentPayment as ah, type StateDefinition as ai, StationStatus as aj, StripeStatus as ak, TimePeriod as al, TopMetericsSort as am, type TransitionPath as an, UserTypes as ao, isConditionOperator as ap, isFulfillmentState as aq, isPaymentState as ar, type FinancialInvariant as b, type CrossAxisRule as c, type StoredStateConfig as d, type StateConfig as e, type ConfigValidationResult as f, type DisplayStateResult as g, type Condition as h, type FailedCondition as i, type OrderLikeForContext as j, type SplitPayment as k, type TransitionRequest as l, type TransitionResult as m, type OrderStateWritable as n, type PaymentState as o, type FulfillmentState as p, type OrderLikeForLegacyInference as q, type StateConfigFragment as r, type FragmentParam as s, type ConfigValidationError as t, type TransitionBlockedBy as u, AttributeType as v, CONDITION_OPERATORS as w, CompanyType as x, type ConditionGroup as y, type ConditionOperator as z };
@@ -1,4 +1,4 @@
1
- import { R as InventorySpecificActionType, H as CustomTableAvailability, v as AttributeType, a0 as OwnerType, X as NonRevenueItemType, C as CurrencyCode, a6 as Platform, aa as ProductStatus, a5 as PaymentTransitionPath, M as FulfillmentTransitionPath, a3 as PathMode, c as CrossAxisRule, T as TransitionConditionSet, S as StatePair, D as DisplayStateRule, u as TransitionBlockedBy, al as StationStatus, aq as UserTypes, o as PaymentState, p as FulfillmentState, ab as ProductType } from '../interfaces-6GnQyqYd.mjs';
1
+ import { R as InventorySpecificActionType, H as CustomTableAvailability, v as AttributeType, $ as OwnerType, W as NonRevenueItemType, C as CurrencyCode, a5 as Platform, a9 as ProductStatus, a4 as PaymentTransitionPath, M as FulfillmentTransitionPath, a2 as PathMode, c as CrossAxisRule, T as TransitionConditionSet, S as StatePair, D as DisplayStateRule, u as TransitionBlockedBy, aj as StationStatus, ao as UserTypes, o as PaymentState, p as FulfillmentState, aa as ProductType } from '../interfaces-DIX_ROSP.mjs';
2
2
 
3
3
  type Enrich<TBase, TEnrichment> = Omit<TBase, keyof TEnrichment> & TEnrichment;
4
4
 
@@ -1,4 +1,4 @@
1
- import { R as InventorySpecificActionType, H as CustomTableAvailability, v as AttributeType, a0 as OwnerType, X as NonRevenueItemType, C as CurrencyCode, a6 as Platform, aa as ProductStatus, a5 as PaymentTransitionPath, M as FulfillmentTransitionPath, a3 as PathMode, c as CrossAxisRule, T as TransitionConditionSet, S as StatePair, D as DisplayStateRule, u as TransitionBlockedBy, al as StationStatus, aq as UserTypes, o as PaymentState, p as FulfillmentState, ab as ProductType } from '../interfaces-6GnQyqYd.js';
1
+ import { R as InventorySpecificActionType, H as CustomTableAvailability, v as AttributeType, $ as OwnerType, W as NonRevenueItemType, C as CurrencyCode, a5 as Platform, a9 as ProductStatus, a4 as PaymentTransitionPath, M as FulfillmentTransitionPath, a2 as PathMode, c as CrossAxisRule, T as TransitionConditionSet, S as StatePair, D as DisplayStateRule, u as TransitionBlockedBy, aj as StationStatus, ao as UserTypes, o as PaymentState, p as FulfillmentState, aa as ProductType } from '../interfaces-DIX_ROSP.js';
2
2
 
3
3
  type Enrich<TBase, TEnrichment> = Omit<TBase, keyof TEnrichment> & TEnrichment;
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@final-commerce/common",
3
- "version": "1.1.4-beta.4",
3
+ "version": "2.0.2",
4
4
  "description": "Shared utilities, types, constants, and engineering governance configs for the Final Commerce platform.",
5
5
  "homepage": "https://github.com/Final-Commerce/common#readme",
6
6
  "bugs": {
@@ -12,6 +12,7 @@
12
12
  },
13
13
  "author": "Final-Commerce",
14
14
  "publishConfig": {
15
+ "registry": "https://us-npm.pkg.dev/final-preproduction/npm/",
15
16
  "access": "public"
16
17
  },
17
18
  "engines": {
@@ -155,6 +156,5 @@
155
156
  "eslint-plugin-react-refresh": {
156
157
  "optional": true
157
158
  }
158
- },
159
- "prettier": "@final-commerce/common/prettier"
159
+ }
160
160
  }