@yunzhanghu/sdk-nodejs 1.0.2 → 1.0.4
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/.editorconfig +8 -0
- package/.eslintrc.js +16 -0
- package/.prettierrc.js +3 -0
- package/README.md +23 -6
- package/example/apiUserSign.js +66 -12
- package/example/authentication.js +136 -25
- package/example/bizlicXjjH5.js +33 -7
- package/example/bizlicXjjH5Api.js +50 -10
- package/example/conf/config.js +2 -0
- package/example/dataService.js +105 -8
- package/example/h5UserSign.js +65 -10
- package/example/invoice.js +111 -14
- package/example/notify.js +0 -1
- package/example/payment.js +208 -26
- package/example/tax.js +31 -3
- package/example/uploadusersign.js +66 -0
- package/package.json +50 -45
- package/src/common/client.ts +364 -355
- package/src/common/exception/yzhSDKHttpException.ts +29 -26
- package/src/common/http/index.ts +62 -53
- package/src/common/utils/index.ts +16 -14
- package/src/index.ts +1 -1
- package/src/services/apiusersign/index.ts +107 -105
- package/src/services/authentication/index.ts +162 -196
- package/src/services/bizlicxjjh5/index.ts +77 -107
- package/src/services/bizlicxjjh5api/index.ts +108 -156
- package/src/services/dataservice/index.ts +246 -268
- package/src/services/h5usersign/index.ts +93 -105
- package/src/services/index.ts +11 -10
- package/src/services/invoice/index.ts +184 -244
- package/src/services/payment/index.ts +501 -435
- package/src/services/tax/index.ts +53 -51
- package/src/services/uploadusersign/index.ts +88 -0
- package/src/typings.d.ts +1 -1
- package/tdsformat.js +22 -0
- package/tsconfig.json +2 -1
- package/yzh/common/client.d.ts +3 -0
- package/yzh/common/client.js +9 -3
- package/yzh/common/http/index.d.ts +1 -0
- package/yzh/common/http/index.js +18 -8
- package/yzh/common/utils/index.d.ts +1 -0
- package/yzh/common/utils/index.js +1 -0
- package/yzh/services/apiusersign/index.d.ts +34 -7
- package/yzh/services/apiusersign/index.js +9 -8
- package/yzh/services/authentication/index.d.ts +57 -19
- package/yzh/services/authentication/index.js +12 -11
- package/yzh/services/bizlicxjjh5/index.d.ts +16 -4
- package/yzh/services/bizlicxjjh5/index.js +6 -5
- package/yzh/services/bizlicxjjh5api/index.d.ts +22 -5
- package/yzh/services/bizlicxjjh5api/index.js +7 -6
- package/yzh/services/dataservice/index.d.ts +52 -11
- package/yzh/services/dataservice/index.js +23 -10
- package/yzh/services/h5usersign/index.d.ts +28 -6
- package/yzh/services/h5usersign/index.js +8 -7
- package/yzh/services/index.d.ts +3 -2
- package/yzh/services/index.js +7 -5
- package/yzh/services/invoice/index.d.ts +51 -12
- package/yzh/services/invoice/index.js +11 -10
- package/yzh/services/payment/index.d.ts +194 -18
- package/yzh/services/payment/index.js +28 -13
- package/yzh/services/tax/index.d.ts +17 -4
- package/yzh/services/tax/index.js +6 -5
- package/yzh/services/uploadusersign/index.d.ts +78 -0
- package/yzh/services/uploadusersign/index.js +19 -0
- package/.eslintrc.json +0 -19
- package/prettier.config.js +0 -32
|
@@ -1,321 +1,261 @@
|
|
|
1
|
-
import YZHclient from
|
|
1
|
+
import YZHclient from '../../common/client';
|
|
2
2
|
|
|
3
3
|
/** GetInvoiceStatRequest 查询平台企业已开具和待开具发票金额请求 */
|
|
4
4
|
interface GetInvoiceStatRequest {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
/** 综合服务主体 ID */
|
|
6
|
+
broker_id: string;
|
|
7
|
+
/** 平台企业 ID */
|
|
8
|
+
dealer_id: string;
|
|
9
|
+
/** 查询年份 */
|
|
10
|
+
year: number;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
/** GetInvoiceStatResponse 查询平台企业已开具和待开具发票金额返回 */
|
|
14
14
|
interface GetInvoiceStatResponse {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
15
|
+
/** 平台企业 ID */
|
|
16
|
+
dealer_id: string;
|
|
17
|
+
/** 综合服务主体 ID */
|
|
18
|
+
broker_id: string;
|
|
19
|
+
/** 已开发票金额 */
|
|
20
|
+
invoiced: string;
|
|
21
|
+
/** 开票中发票金额 */
|
|
22
|
+
invoicing: string;
|
|
23
|
+
/** 待开发票金额 */
|
|
24
|
+
not_invoiced: string;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/** GetInvoiceAmountRequest 查询可开具发票额度和发票开具信息请求 */
|
|
28
28
|
interface GetInvoiceAmountRequest {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
/** 综合服务主体 ID */
|
|
30
|
+
broker_id: string;
|
|
31
|
+
/** 平台企业 ID */
|
|
32
|
+
dealer_id: string;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/** GetInvoiceAmountResponse 查询可开具发票额度和发票开具信息返回 */
|
|
36
36
|
interface GetInvoiceAmountResponse {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
37
|
+
/** 可开票额度 */
|
|
38
|
+
amount: string;
|
|
39
|
+
/** 系统支持的开户行及账号 */
|
|
40
|
+
bank_name_account: BankNameAccount[];
|
|
41
|
+
/** 系统支持的货物或应税劳务、服务名称 */
|
|
42
|
+
goods_services_name: GoodsServicesName[];
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/** ApplyInvoiceRequest 发票开具申请请求 */
|
|
46
46
|
interface ApplyInvoiceRequest {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
47
|
+
/** 发票申请编号 */
|
|
48
|
+
invoice_apply_id: string;
|
|
49
|
+
/** 综合服务主体 ID */
|
|
50
|
+
broker_id: string;
|
|
51
|
+
/** 平台企业 ID */
|
|
52
|
+
dealer_id: string;
|
|
53
|
+
/** 申请开票金额 */
|
|
54
|
+
amount: string;
|
|
55
|
+
/** 发票类型 */
|
|
56
|
+
invoice_type: string;
|
|
57
|
+
/** 开户行及账号 */
|
|
58
|
+
bank_name_account: string;
|
|
59
|
+
/** 货物或应税劳务、服务名称 */
|
|
60
|
+
goods_services_name: string;
|
|
61
|
+
/** 发票备注 */
|
|
62
|
+
remark: string;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
/** ApplyInvoiceResponse 发票开具申请返回 */
|
|
66
66
|
interface ApplyInvoiceResponse {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
67
|
+
/** 发票申请单 ID */
|
|
68
|
+
application_id: string;
|
|
69
|
+
/** 发票张数 */
|
|
70
|
+
count: string;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/** GetInvoiceStatusRequest 查询发票开具申请状态请求 */
|
|
74
74
|
interface GetInvoiceStatusRequest {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
75
|
+
/** 发票申请编号 */
|
|
76
|
+
invoice_apply_id: string;
|
|
77
|
+
/** 发票申请单 ID */
|
|
78
|
+
application_id: string;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/** GetInvoiceStatusResponse 查询发票开具申请状态返回 */
|
|
82
82
|
interface GetInvoiceStatusResponse {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
83
|
+
/** 申请结果 */
|
|
84
|
+
status: string;
|
|
85
|
+
/** 发票张数 */
|
|
86
|
+
count: string;
|
|
87
|
+
/** 价税合计 */
|
|
88
|
+
price_tax_amount: string;
|
|
89
|
+
/** 不含税金额 */
|
|
90
|
+
price_amount: string;
|
|
91
|
+
/** 税额 */
|
|
92
|
+
tax_amount: string;
|
|
93
|
+
/** 发票类型 */
|
|
94
|
+
invoice_type: string;
|
|
95
|
+
/** 购方名称 */
|
|
96
|
+
customer_name: string;
|
|
97
|
+
/** 纳税人识别号 */
|
|
98
|
+
customer_tax_num: string;
|
|
99
|
+
/** 购方地址、电话 */
|
|
100
|
+
customer_address_tel: string;
|
|
101
|
+
/** 开户行及账号 */
|
|
102
|
+
bank_name_account: string;
|
|
103
|
+
/** 货物或应税劳务、服务名称 */
|
|
104
|
+
goods_services_name: string;
|
|
105
|
+
/** 发票备注 */
|
|
106
|
+
remark: string;
|
|
107
|
+
/** 邮寄类型 */
|
|
108
|
+
post_type: string;
|
|
109
|
+
/** 快递单号 */
|
|
110
|
+
waybill_number: string[];
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
/** GetInvoiceInformationRequest 查询发票信息请求 */
|
|
114
114
|
interface GetInvoiceInformationRequest {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
115
|
+
/** 发票申请编号 */
|
|
116
|
+
invoice_apply_id: string;
|
|
117
|
+
/** 发票申请单 ID */
|
|
118
|
+
application_id: string;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
/** GetInvoiceInformationResponse 查询发票信息返回 */
|
|
122
122
|
interface GetInvoiceInformationResponse {
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
/** 发票信息 */
|
|
124
|
+
information: InformationDataInfo[];
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
/** InformationDataInfo 查询发票信息返回 */
|
|
128
128
|
interface InformationDataInfo {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
129
|
+
/** 货物或应税劳务、服务名称 */
|
|
130
|
+
goods_services_name: string;
|
|
131
|
+
/** 发票号码 */
|
|
132
|
+
invoice_num: string;
|
|
133
|
+
/** 发票代码 */
|
|
134
|
+
invoice_code: string;
|
|
135
|
+
/** 不含税金额 */
|
|
136
|
+
price_amount: string;
|
|
137
|
+
/** 税额 */
|
|
138
|
+
tax_amount: string;
|
|
139
|
+
/** 税率 */
|
|
140
|
+
tax_rate: string;
|
|
141
|
+
/** 价税合计 */
|
|
142
|
+
price_tax_amount: string;
|
|
143
|
+
/** 开票日期 */
|
|
144
|
+
invoiced_date: string;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
/** BankNameAccount 系统支持的开户行及账号 */
|
|
148
148
|
interface BankNameAccount {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
149
|
+
/** 开户行及账号 */
|
|
150
|
+
item: string;
|
|
151
|
+
/** 是否为默认值 */
|
|
152
|
+
default: boolean;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
/** GoodsServicesName 系统支持的货物或应税劳务、服务名称 */
|
|
156
156
|
interface GoodsServicesName {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
157
|
+
/** 货物或应税劳务、服务名称 */
|
|
158
|
+
item: string;
|
|
159
|
+
/** 是否为默认值 */
|
|
160
|
+
default: boolean;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
/** GetInvoiceFileRequest 下载 PDF 版发票请求 */
|
|
164
164
|
interface GetInvoiceFileRequest {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
165
|
+
/** 发票申请编号 */
|
|
166
|
+
invoice_apply_id: string;
|
|
167
|
+
/** 发票申请单 ID */
|
|
168
|
+
application_id: string;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
/** GetInvoiceFileResponse 下载 PDF 版发票返回 */
|
|
172
172
|
interface GetInvoiceFileResponse {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
173
|
+
/** 下载地址 */
|
|
174
|
+
url: string;
|
|
175
|
+
/** 文件名称 */
|
|
176
|
+
name: string;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
/** SendReminderEmailRequest 发送发票扫描件压缩包下载链接邮件请求 */
|
|
180
180
|
interface SendReminderEmailRequest {
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
181
|
+
/** 发票申请编号 */
|
|
182
|
+
invoice_apply_id: string;
|
|
183
|
+
/** 发票申请单 ID */
|
|
184
|
+
application_id: string;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
/** SendReminderEmailResponse 发送发票扫描件压缩包下载链接邮件返回 */
|
|
188
188
|
interface SendReminderEmailResponse {}
|
|
189
189
|
|
|
190
|
-
/** NotifyInvoiceDoneRequest 发票开具完成通知 */
|
|
191
|
-
interface NotifyInvoiceDoneRequest {
|
|
192
|
-
/** 发票申请单 ID */
|
|
193
|
-
application_id: string
|
|
194
|
-
/** 发票申请编号 */
|
|
195
|
-
invoice_apply_id: string
|
|
196
|
-
/** 申请结果 */
|
|
197
|
-
status: string
|
|
198
|
-
/** 发票张数 */
|
|
199
|
-
count: number
|
|
200
|
-
/** 价税合计 */
|
|
201
|
-
price_tax_amount: string
|
|
202
|
-
/** 不含税金额 */
|
|
203
|
-
price_amount: string
|
|
204
|
-
/** 税额 */
|
|
205
|
-
tax_amount: string
|
|
206
|
-
/** 发票类型 */
|
|
207
|
-
invoice_type: string
|
|
208
|
-
/** 购方名称 */
|
|
209
|
-
customer_name: string
|
|
210
|
-
/** 纳税人识别号 */
|
|
211
|
-
customer_tax_num: string
|
|
212
|
-
/** 购方地址、电话 */
|
|
213
|
-
customer_address_tel: string
|
|
214
|
-
/** 开户行及账号 */
|
|
215
|
-
bank_name_account: string
|
|
216
|
-
/** 货物或应税劳务、服务名称 */
|
|
217
|
-
goods_services_name: string
|
|
218
|
-
/** 发票备注 */
|
|
219
|
-
remark: string
|
|
220
|
-
/** 邮寄类型 */
|
|
221
|
-
post_type: string
|
|
222
|
-
/** 快递单号 */
|
|
223
|
-
waybill_number: string[]
|
|
224
|
-
/** 驳回原因 */
|
|
225
|
-
reject_reason: string
|
|
226
|
-
}
|
|
227
|
-
|
|
228
190
|
export class InvoiceClient extends YZHclient {
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
191
|
+
// eslint-disable-next-line no-useless-constructor
|
|
192
|
+
constructor(conf: {
|
|
193
|
+
dealer_id: string;
|
|
194
|
+
broker_id: string;
|
|
195
|
+
app_key: string;
|
|
196
|
+
des3_key: string;
|
|
197
|
+
private_key: string;
|
|
198
|
+
yzh_public_key: string;
|
|
199
|
+
sign_type: 'rsa' | 'sha256';
|
|
200
|
+
base_url?: string;
|
|
201
|
+
timeout?: number;
|
|
202
|
+
}) {
|
|
203
|
+
super(conf);
|
|
204
|
+
}
|
|
241
205
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
206
|
+
// GetInvoiceStat 查询平台企业已开具和待开具发票金额
|
|
207
|
+
async GetInvoiceStat(
|
|
208
|
+
req: GetInvoiceStatRequest,
|
|
209
|
+
cb?: (error: null | string, rep: GetInvoiceStatResponse) => void
|
|
210
|
+
): Promise<GetInvoiceStatResponse> {
|
|
211
|
+
return this.request('get', '/api/payment/v1/invoice-stat', req, { encryption: false }, cb);
|
|
212
|
+
}
|
|
249
213
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
214
|
+
// GetInvoiceAmount 查询可开具发票额度和发票开具信息
|
|
215
|
+
async GetInvoiceAmount(
|
|
216
|
+
req: GetInvoiceAmountRequest,
|
|
217
|
+
cb?: (error: null | string, rep: GetInvoiceAmountResponse) => void
|
|
218
|
+
): Promise<GetInvoiceAmountResponse> {
|
|
219
|
+
return this.request('post', '/api/invoice/v2/invoice-amount', req, { encryption: false }, cb);
|
|
220
|
+
}
|
|
257
221
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
222
|
+
// ApplyInvoice 发票开具申请
|
|
223
|
+
async ApplyInvoice(
|
|
224
|
+
req: ApplyInvoiceRequest,
|
|
225
|
+
cb?: (error: null | string, rep: ApplyInvoiceResponse) => void
|
|
226
|
+
): Promise<ApplyInvoiceResponse> {
|
|
227
|
+
return this.request('post', '/api/invoice/v2/apply', req, { encryption: false }, cb);
|
|
228
|
+
}
|
|
265
229
|
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
"/api/invoice/v2/invoice/invoice-status",
|
|
274
|
-
req,
|
|
275
|
-
{ encryption: false },
|
|
276
|
-
cb
|
|
277
|
-
)
|
|
278
|
-
}
|
|
230
|
+
// GetInvoiceStatus 查询发票开具申请状态
|
|
231
|
+
async GetInvoiceStatus(
|
|
232
|
+
req: GetInvoiceStatusRequest,
|
|
233
|
+
cb?: (error: null | string, rep: GetInvoiceStatusResponse) => void
|
|
234
|
+
): Promise<GetInvoiceStatusResponse> {
|
|
235
|
+
return this.request('post', '/api/invoice/v2/invoice/invoice-status', req, { encryption: false }, cb);
|
|
236
|
+
}
|
|
279
237
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
"/api/invoice/v2/invoice-face-information",
|
|
288
|
-
req,
|
|
289
|
-
{ encryption: false },
|
|
290
|
-
cb
|
|
291
|
-
)
|
|
292
|
-
}
|
|
238
|
+
// GetInvoiceInformation 查询发票信息
|
|
239
|
+
async GetInvoiceInformation(
|
|
240
|
+
req: GetInvoiceInformationRequest,
|
|
241
|
+
cb?: (error: null | string, rep: GetInvoiceInformationResponse) => void
|
|
242
|
+
): Promise<GetInvoiceInformationResponse> {
|
|
243
|
+
return this.request('post', '/api/invoice/v2/invoice-face-information', req, { encryption: false }, cb);
|
|
244
|
+
}
|
|
293
245
|
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
"/api/invoice/v2/invoice/invoice-pdf",
|
|
302
|
-
req,
|
|
303
|
-
{ encryption: false },
|
|
304
|
-
cb
|
|
305
|
-
)
|
|
306
|
-
}
|
|
246
|
+
// GetInvoiceFile 下载 PDF 版发票
|
|
247
|
+
async GetInvoiceFile(
|
|
248
|
+
req: GetInvoiceFileRequest,
|
|
249
|
+
cb?: (error: null | string, rep: GetInvoiceFileResponse) => void
|
|
250
|
+
): Promise<GetInvoiceFileResponse> {
|
|
251
|
+
return this.request('post', '/api/invoice/v2/invoice/invoice-pdf', req, { encryption: false }, cb);
|
|
252
|
+
}
|
|
307
253
|
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
"/api/invoice/v2/invoice/reminder/email",
|
|
316
|
-
req,
|
|
317
|
-
{ encryption: false },
|
|
318
|
-
cb
|
|
319
|
-
)
|
|
320
|
-
}
|
|
254
|
+
// SendReminderEmail 发送发票扫描件压缩包下载链接邮件
|
|
255
|
+
async SendReminderEmail(
|
|
256
|
+
req: SendReminderEmailRequest,
|
|
257
|
+
cb?: (error: null | string, rep: SendReminderEmailResponse) => void
|
|
258
|
+
): Promise<SendReminderEmailResponse> {
|
|
259
|
+
return this.request('post', '/api/invoice/v2/invoice/reminder/email', req, { encryption: false }, cb);
|
|
260
|
+
}
|
|
321
261
|
}
|