@pisell/pisellos 0.0.427 → 0.0.428

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.
@@ -7,6 +7,8 @@ export declare const formatWalletPassList2PreparePayments: (list?: any[]) => {
7
7
  voucher_id: any;
8
8
  amount: number;
9
9
  tag: any;
10
+ wallet_pass_use_value: any;
11
+ wallet_pass_usage_unit: any;
10
12
  }[];
11
13
  /**
12
14
  * 对用户识别码列表进行排序
@@ -15,7 +15,9 @@ export var formatWalletPassList2PreparePayments = function formatWalletPassList2
15
15
  return {
16
16
  voucher_id: item.id || 0,
17
17
  amount: Number(item.edit_current_amount || getAvailableMaxAmount(item)) || 0,
18
- tag: item.tag || ''
18
+ tag: item.tag || '',
19
+ wallet_pass_use_value: item.recommended_usage_par_value,
20
+ wallet_pass_usage_unit: item.recommended_usage_unit
19
21
  };
20
22
  });
21
23
  };
@@ -62,6 +62,8 @@ export declare class WalletPassPaymentImpl implements WalletPassPayment {
62
62
  voucher_id: number;
63
63
  amount: number;
64
64
  tag: string;
65
+ wallet_pass_use_value: any;
66
+ wallet_pass_usage_unit: any;
65
67
  }[];
66
68
  getUserIdentificationCodeListAsync(params: UserIdentificationCodeParams): Promise<UserIdentificationCodeItem[]>;
67
69
  /**
@@ -7,6 +7,8 @@ export declare const formatWalletPassList2PreparePayments: (list?: any[]) => {
7
7
  voucher_id: any;
8
8
  amount: number;
9
9
  tag: any;
10
+ wallet_pass_use_value: any;
11
+ wallet_pass_usage_unit: any;
10
12
  }[];
11
13
  /**
12
14
  * 对用户识别码列表进行排序
@@ -35,7 +35,9 @@ var formatWalletPassList2PreparePayments = (list) => {
35
35
  return {
36
36
  voucher_id: item.id || 0,
37
37
  amount: Number(item.edit_current_amount || getAvailableMaxAmount(item)) || 0,
38
- tag: item.tag || ""
38
+ tag: item.tag || "",
39
+ wallet_pass_use_value: item.recommended_usage_par_value,
40
+ wallet_pass_usage_unit: item.recommended_usage_unit
39
41
  };
40
42
  });
41
43
  };
@@ -62,6 +62,8 @@ export declare class WalletPassPaymentImpl implements WalletPassPayment {
62
62
  voucher_id: number;
63
63
  amount: number;
64
64
  tag: string;
65
+ wallet_pass_use_value: any;
66
+ wallet_pass_usage_unit: any;
65
67
  }[];
66
68
  getUserIdentificationCodeListAsync(params: UserIdentificationCodeParams): Promise<UserIdentificationCodeItem[]>;
67
69
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "0.0.427",
4
+ "version": "0.0.428",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",