@yunzhanghu/sdk-nodejs 1.0.15 → 1.0.16

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.
@@ -205,6 +205,7 @@ authentication
205
205
  dealer_id: config.dealer_id,
206
206
  broker_id: config.broker_id,
207
207
  user_images: [parse(file)],
208
+ image_urls: ['https://www.example.com/image01.png'],
208
209
  country: 'CHN',
209
210
  birthday: '20200101',
210
211
  gender: '男',
@@ -20,6 +20,7 @@ payment
20
20
  real_name: '张三',
21
21
  card_no: '6228888888888888888',
22
22
  id_card: '11010519491231002X',
23
+ phone_no: "188****8888",
23
24
  pay: '0.01',
24
25
  pay_remark: 'test',
25
26
  notify_url: 'https://www.example.com',
@@ -55,6 +56,7 @@ payment
55
56
  real_name: '张三',
56
57
  card_no: '188****8888',
57
58
  id_card: '11010519491231002X',
59
+ phone_no: "188****8888",
58
60
  pay: '0.01',
59
61
  check_name: 'Check',
60
62
  pay_remark: 'test',
@@ -91,6 +93,7 @@ payment
91
93
  real_name: '张三',
92
94
  openid: 'o4GgauInH_RCEdvrrNGrntXDuXXX',
93
95
  id_card: '11010519491231002X',
96
+ phone_no: "188****8888",
94
97
  pay: '0.3',
95
98
  wx_app_id: '',
96
99
  pay_remark: 'test',
@@ -312,6 +315,7 @@ payment
312
315
  real_name: '张三',
313
316
  card_no: '188****8888',
314
317
  id_card: '440524188001010014',
318
+ phone_no: "188****8888",
315
319
  pay: '0.01',
316
320
  pay_remark: '测试订单1',
317
321
  notify_url: 'https://www.example.com',
@@ -321,6 +325,7 @@ payment
321
325
  real_name: '李四',
322
326
  card_no: '188****8888',
323
327
  id_card: '11010519491231002X',
328
+ phone_no: "188****8888",
324
329
  pay: '0.01',
325
330
  pay_remark: '测试订单2',
326
331
  notify_url: 'https://www.example.com',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yunzhanghu/sdk-nodejs",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "云账户 SDK for Node.js",
5
5
  "main": "yzh/index.js",
6
6
  "scripts": {
@@ -102,6 +102,8 @@ interface UserExemptedInfoRequest {
102
102
  notify_url: string;
103
103
  /** 请求流水号 */
104
104
  ref: string;
105
+ /** 证件照片 URL 地址 */
106
+ image_urls: string[];
105
107
  }
106
108
 
107
109
  /** UserExemptedInfoResponse 上传非居民身份证验证名单信息返回 */
@@ -101,6 +101,8 @@ interface UserExemptedInfoRequest {
101
101
  notify_url: string;
102
102
  /** 请求流水号 */
103
103
  ref: string;
104
+ /** 证件照片 URL 地址 */
105
+ image_urls: string[];
104
106
  }
105
107
 
106
108
  /** UserExemptedInfoResponse 上传非居民身份证验证名单信息返回 */