@final-commerce/common 2.0.11-beta.1 → 2.0.11

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.
@@ -437,6 +437,12 @@ declare enum ProductStatus {
437
437
  DRAFT = "draft"
438
438
  }
439
439
 
440
+ declare enum PaymentProcessor {
441
+ STRIPE = "stripe",
442
+ ADYEN = "adyen",
443
+ EXTERNAL = "external"
444
+ }
445
+
440
446
  interface RefundLineItem {
441
447
  taxes?: OrderTax[];
442
448
  discount?: RefundDiscount;
@@ -1331,12 +1337,14 @@ interface RefundedTipPayment {
1331
1337
  tipTo: string;
1332
1338
  tendered?: number;
1333
1339
  }
1340
+
1334
1341
  interface PaymentMethod {
1335
1342
  transactionId: string;
1336
1343
  paymentType: string;
1337
1344
  amount: number;
1338
1345
  timestamp: string;
1339
1346
  processor: string;
1347
+ provider?: PaymentProcessor;
1340
1348
  saleId?: string;
1341
1349
  change?: number | null;
1342
1350
  tip?: TipPayment | null;
@@ -437,6 +437,12 @@ declare enum ProductStatus {
437
437
  DRAFT = "draft"
438
438
  }
439
439
 
440
+ declare enum PaymentProcessor {
441
+ STRIPE = "stripe",
442
+ ADYEN = "adyen",
443
+ EXTERNAL = "external"
444
+ }
445
+
440
446
  interface RefundLineItem {
441
447
  taxes?: OrderTax[];
442
448
  discount?: RefundDiscount;
@@ -1331,12 +1337,14 @@ interface RefundedTipPayment {
1331
1337
  tipTo: string;
1332
1338
  tendered?: number;
1333
1339
  }
1340
+
1334
1341
  interface PaymentMethod {
1335
1342
  transactionId: string;
1336
1343
  paymentType: string;
1337
1344
  amount: number;
1338
1345
  timestamp: string;
1339
1346
  processor: string;
1347
+ provider?: PaymentProcessor;
1340
1348
  saleId?: string;
1341
1349
  change?: number | null;
1342
1350
  tip?: TipPayment | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@final-commerce/common",
3
- "version": "2.0.11-beta.1",
3
+ "version": "2.0.11",
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": {