@use-stall/types 0.9.1 → 0.9.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.
- package/package.json +1 -1
- package/src/device.d.ts +2 -3
- package/src/payments.d.ts +1 -1
package/package.json
CHANGED
package/src/device.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { InstalledExtensionType } from "./extensions";
|
|
2
2
|
import type { UnifiedFulfillmentMethods } from "./fulfillment";
|
|
3
|
-
import type { UnifiedMethodsType } from "./payments";
|
|
3
|
+
import type { UnifiedMethodsType, UnifiedPaymentMethodType } from "./payments";
|
|
4
4
|
|
|
5
5
|
export interface DeviceType {
|
|
6
6
|
id: string;
|
|
@@ -24,11 +24,10 @@ export interface DeviceType {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
export interface DevicePaymentMethod {
|
|
27
|
+
method: UnifiedPaymentMethodType;
|
|
27
28
|
provider: string;
|
|
28
29
|
external_id: string;
|
|
29
30
|
name: string;
|
|
30
|
-
type: UnifiedMethodsType;
|
|
31
|
-
supported_currencies: string[];
|
|
32
31
|
}
|
|
33
32
|
|
|
34
33
|
export interface DeviceFulfillmentMethod {
|
package/src/payments.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export interface UnifiedPaymentProviderType {
|
|
|
28
28
|
|
|
29
29
|
export interface UnifiedPaymentMethodType {
|
|
30
30
|
id: string;
|
|
31
|
-
title: string;
|
|
31
|
+
title: string; // Ecocash, Smile & Pay, Link
|
|
32
32
|
type: UnifiedMethodsType;
|
|
33
33
|
offline_support: boolean;
|
|
34
34
|
instant_clear: boolean; // whether the payment is cleared instantly like cash or custom
|