wupengfei
3 天以前 07e6a938f7993abf056dc4b106d4ad4fc6354bb5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
 
/** 创建或更新模板 POST /api/ElectronSign/CreateOrUpdateContractTemplate */
export async function createOrUpdateContractTemplate(
  body: API.CreateOrUpdateContractTemplateInput,
  options?: API.RequestConfig
) {
  return request<any>('/api/ElectronSign/CreateOrUpdateContractTemplate', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 创建或更新客户 POST /api/ElectronSign/CreateOrUpdateCustomer */
export async function createOrUpdateCustomer(
  body: API.CreateOrUpdateCustomerInput,
  options?: API.RequestConfig
) {
  return request<any>('/api/ElectronSign/CreateOrUpdateCustomer', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 删除模板 POST /api/ElectronSign/DeleteContractTemplate/${param0} */
export async function deleteContractTemplateId(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIdeleteContractTemplateIdParams,
  options?: API.RequestConfig
) {
  const { id: param0, ...queryParams } = params;
  return request<any>(`/api/ElectronSign/DeleteContractTemplate/${param0}`, {
    method: 'POST',
    params: { ...queryParams },
    ...(options || {}),
  });
}
 
/** 删除客户 POST /api/ElectronSign/DeleteCustomer/${param0} */
export async function deleteCustomerId(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIdeleteCustomerIdParams,
  options?: API.RequestConfig
) {
  const { id: param0, ...queryParams } = params;
  return request<any>(`/api/ElectronSign/DeleteCustomer/${param0}`, {
    method: 'POST',
    params: { ...queryParams },
    ...(options || {}),
  });
}
 
/** 获取合同信息 POST /api/ElectronSign/GetContractInfo */
export async function getContractInfo(body: API.GetContractInfoInput, options?: API.RequestConfig) {
  return request<API.GetContractInfoDto>('/api/ElectronSign/GetContractInfo', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 获取合同列表 POST /api/ElectronSign/GetContractList */
export async function getContractList(body: API.GetContractInput, options?: API.RequestConfig) {
  return request<API.GetContractDtoPageOutput>('/api/ElectronSign/GetContractList', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 获取合同模板列表 POST /api/ElectronSign/GetContractTemplateList */
export async function getContractTemplateList(
  body: API.GetContractTemplateInput,
  options?: API.RequestConfig
) {
  return request<API.GetContractTemplateDtoPageOutput>(
    '/api/ElectronSign/GetContractTemplateList',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
 
/** 获取账单列表 POST /api/ElectronSign/GetCostList */
export async function getCostList(body: API.GetCostInput, options?: API.RequestConfig) {
  return request<API.GetCostDtoPageOutput>('/api/ElectronSign/GetCostList', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 获取客户列表 POST /api/ElectronSign/GetCustomerList */
export async function getCustomerList(body: API.GetCustomerInput, options?: API.RequestConfig) {
  return request<API.GetCustomerDtoPageOutput>('/api/ElectronSign/GetCustomerList', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 获取用户信息 POST /api/ElectronSign/GetUserInfo */
export async function getUserInfo(body: API.GetUserInfoInput, options?: API.RequestConfig) {
  return request<API.GetUserInfoDto>('/api/ElectronSign/GetUserInfo', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 获取用户列表 POST /api/ElectronSign/GetUserList */
export async function getUserList(body: API.GetUserInput, options?: API.RequestConfig) {
  return request<API.GetUserDtoPageOutput>('/api/ElectronSign/GetUserList', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 企业实名 POST /api/ElectronSign/RealEnterprise */
export async function realEnterprise(body: API.RealEnterpriseInput, options?: API.RequestConfig) {
  return request<API.RealEnterpriseOutput>('/api/ElectronSign/RealEnterprise', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 个人实名 POST /api/ElectronSign/RealPersonal */
export async function realPersonal(body: API.RealPersonalInput, options?: API.RequestConfig) {
  return request<API.RealPersonalOutput>('/api/ElectronSign/RealPersonal', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 注册或更新用户信息 POST /api/ElectronSign/RegOrUpdateUser */
export async function regOrUpdateUser(body: API.RegOrUpdateUserInput, options?: API.RequestConfig) {
  return request<any>('/api/ElectronSign/RegOrUpdateUser', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 发起签约 POST /api/ElectronSign/SendContract */
export async function sendContract(body: API.SendContractInput, options?: API.RequestConfig) {
  return request<API.SendContractOutput>('/api/ElectronSign/SendContract', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 发送实名短信 POST /api/ElectronSign/SendRealSms */
export async function sendRealSms(body: API.SendRealSmsInput, options?: API.RequestConfig) {
  return request<any>('/api/ElectronSign/SendRealSms', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 测试客户回调通知 POST /api/ElectronSign/TestCustomerCallback */
export async function testCustomerCallback(
  body: API.SendCallbackInput,
  options?: API.RequestConfig
) {
  return request<any>('/api/ElectronSign/TestCustomerCallback', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 更新企业印章 POST /api/ElectronSign/UpdateEnterpriseSeal */
export async function updateEnterpriseSeal(
  body: API.UpdateEnterpriseSealInput,
  options?: API.RequestConfig
) {
  return request<any>('/api/ElectronSign/UpdateEnterpriseSeal', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}