shopoflex-types 1.0.70 → 1.0.71
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/common.d.ts +2 -13
- package/dist/common.js +0 -15
- package/package.json +1 -1
package/dist/common.d.ts
CHANGED
|
@@ -496,20 +496,9 @@ export interface NotificationType {
|
|
|
496
496
|
updatedAt?: Date;
|
|
497
497
|
}
|
|
498
498
|
export interface PaymentMethod {
|
|
499
|
-
type: 'cash' | 'card' | 'knet' | 'bank_transfer' | 'wallet' | 'external_link' | 'crypto' | '
|
|
500
|
-
}
|
|
501
|
-
export declare enum PaymentMethodType {
|
|
502
|
-
CASH = "cash",
|
|
503
|
-
CARD = "card",
|
|
504
|
-
KNET = "knet",
|
|
505
|
-
BANK_TRANSFER = "bank_transfer",
|
|
506
|
-
WALLET = "wallet",
|
|
507
|
-
EXTERNAL_LINK = "external_link",
|
|
508
|
-
CRYPTO = "crypto",
|
|
509
|
-
WISH = "wish",
|
|
510
|
-
PAYPAL = "paypal",
|
|
511
|
-
GIFT_CARD = "gift_card"
|
|
499
|
+
type: 'cash' | 'card' | 'knet' | 'bank_transfer' | 'wallet' | 'external_link' | 'crypto' | 'whish' | 'paypal' | 'gift_card';
|
|
512
500
|
}
|
|
501
|
+
export type PaymentMethodType = PaymentMethod['type'];
|
|
513
502
|
export interface SelectionsState {
|
|
514
503
|
address?: Address;
|
|
515
504
|
branch?: IBranch;
|
package/dist/common.js
CHANGED
|
@@ -1,17 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PaymentMethodType = void 0;
|
|
4
|
-
// Basic enum for ecommerce
|
|
5
|
-
var PaymentMethodType;
|
|
6
|
-
(function (PaymentMethodType) {
|
|
7
|
-
PaymentMethodType["CASH"] = "cash";
|
|
8
|
-
PaymentMethodType["CARD"] = "card";
|
|
9
|
-
PaymentMethodType["KNET"] = "knet";
|
|
10
|
-
PaymentMethodType["BANK_TRANSFER"] = "bank_transfer";
|
|
11
|
-
PaymentMethodType["WALLET"] = "wallet";
|
|
12
|
-
PaymentMethodType["EXTERNAL_LINK"] = "external_link";
|
|
13
|
-
PaymentMethodType["CRYPTO"] = "crypto";
|
|
14
|
-
PaymentMethodType["WISH"] = "wish";
|
|
15
|
-
PaymentMethodType["PAYPAL"] = "paypal";
|
|
16
|
-
PaymentMethodType["GIFT_CARD"] = "gift_card";
|
|
17
|
-
})(PaymentMethodType || (exports.PaymentMethodType = PaymentMethodType = {}));
|