@antchain/insurance_saas 1.7.10 → 1.8.13
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/dist/client.d.ts +380 -0
- package/dist/client.js +596 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +904 -1
package/src/client.ts
CHANGED
|
@@ -77,6 +77,142 @@ export class Config extends $tea.Model {
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
+
// 文件结构
|
|
81
|
+
export class FileNode extends $tea.Model {
|
|
82
|
+
// 可访问的文件链接
|
|
83
|
+
url: string;
|
|
84
|
+
// 文件名
|
|
85
|
+
name: string;
|
|
86
|
+
static names(): { [key: string]: string } {
|
|
87
|
+
return {
|
|
88
|
+
url: 'url',
|
|
89
|
+
name: 'name',
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
static types(): { [key: string]: any } {
|
|
94
|
+
return {
|
|
95
|
+
url: 'string',
|
|
96
|
+
name: 'string',
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
constructor(map?: { [key: string]: any }) {
|
|
101
|
+
super(map);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// 被保人
|
|
106
|
+
export class Insured extends $tea.Model {
|
|
107
|
+
// 被保人名称
|
|
108
|
+
insuredName: string;
|
|
109
|
+
// 被保人证件类型
|
|
110
|
+
insuredCardType: string;
|
|
111
|
+
// 被保人证件号码
|
|
112
|
+
insuredCardCode: string;
|
|
113
|
+
// 被保人联系方式
|
|
114
|
+
insuredContactInfo?: string;
|
|
115
|
+
static names(): { [key: string]: string } {
|
|
116
|
+
return {
|
|
117
|
+
insuredName: 'insured_name',
|
|
118
|
+
insuredCardType: 'insured_card_type',
|
|
119
|
+
insuredCardCode: 'insured_card_code',
|
|
120
|
+
insuredContactInfo: 'insured_contact_info',
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
static types(): { [key: string]: any } {
|
|
125
|
+
return {
|
|
126
|
+
insuredName: 'string',
|
|
127
|
+
insuredCardType: 'string',
|
|
128
|
+
insuredCardCode: 'string',
|
|
129
|
+
insuredContactInfo: 'string',
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
constructor(map?: { [key: string]: any }) {
|
|
134
|
+
super(map);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
// 投保人
|
|
139
|
+
export class Applicant extends $tea.Model {
|
|
140
|
+
// 投保人名称
|
|
141
|
+
applicantName: string;
|
|
142
|
+
// 投保人证件类型
|
|
143
|
+
applicantCardType: string;
|
|
144
|
+
// 投保人证件号码
|
|
145
|
+
applicantCardCode: string;
|
|
146
|
+
// 投保人联系方式
|
|
147
|
+
applicantContactInfo?: string;
|
|
148
|
+
static names(): { [key: string]: string } {
|
|
149
|
+
return {
|
|
150
|
+
applicantName: 'applicant_name',
|
|
151
|
+
applicantCardType: 'applicant_card_type',
|
|
152
|
+
applicantCardCode: 'applicant_card_code',
|
|
153
|
+
applicantContactInfo: 'applicant_contact_info',
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
static types(): { [key: string]: any } {
|
|
158
|
+
return {
|
|
159
|
+
applicantName: 'string',
|
|
160
|
+
applicantCardType: 'string',
|
|
161
|
+
applicantCardCode: 'string',
|
|
162
|
+
applicantContactInfo: 'string',
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
constructor(map?: { [key: string]: any }) {
|
|
167
|
+
super(map);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
// 委托险种信息
|
|
172
|
+
export class EntrustGuaranteeProduct extends $tea.Model {
|
|
173
|
+
// 保障失效时间
|
|
174
|
+
guaranteeExpiryDate: number;
|
|
175
|
+
// 保障生效时间
|
|
176
|
+
guaranteeEffectiveDate: number;
|
|
177
|
+
// 保险等待期结束时间
|
|
178
|
+
waitingPeriodDeadLine?: number;
|
|
179
|
+
// 保单号
|
|
180
|
+
policyNo?: string;
|
|
181
|
+
// 平台定义产品码值
|
|
182
|
+
guaranteeProductCode?: string;
|
|
183
|
+
// 保险公司的产品code
|
|
184
|
+
insuranceProductCode?: string;
|
|
185
|
+
// 保险公司的产品描述
|
|
186
|
+
insuranceProductName?: string;
|
|
187
|
+
static names(): { [key: string]: string } {
|
|
188
|
+
return {
|
|
189
|
+
guaranteeExpiryDate: 'guarantee_expiry_date',
|
|
190
|
+
guaranteeEffectiveDate: 'guarantee_effective_date',
|
|
191
|
+
waitingPeriodDeadLine: 'waiting_period_dead_line',
|
|
192
|
+
policyNo: 'policy_no',
|
|
193
|
+
guaranteeProductCode: 'guarantee_product_code',
|
|
194
|
+
insuranceProductCode: 'insurance_product_code',
|
|
195
|
+
insuranceProductName: 'insurance_product_name',
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
static types(): { [key: string]: any } {
|
|
200
|
+
return {
|
|
201
|
+
guaranteeExpiryDate: 'number',
|
|
202
|
+
guaranteeEffectiveDate: 'number',
|
|
203
|
+
waitingPeriodDeadLine: 'number',
|
|
204
|
+
policyNo: 'string',
|
|
205
|
+
guaranteeProductCode: 'string',
|
|
206
|
+
insuranceProductCode: 'string',
|
|
207
|
+
insuranceProductName: 'string',
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
constructor(map?: { [key: string]: any }) {
|
|
212
|
+
super(map);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
80
216
|
export class QueryInquiryRequest extends $tea.Model {
|
|
81
217
|
// OAuth模式下的授权token
|
|
82
218
|
authToken?: string;
|
|
@@ -1563,6 +1699,659 @@ export class QueryInsureResultResponse extends $tea.Model {
|
|
|
1563
1699
|
}
|
|
1564
1700
|
}
|
|
1565
1701
|
|
|
1702
|
+
export class ApplyInsureTestRequest extends $tea.Model {
|
|
1703
|
+
// OAuth模式下的授权token
|
|
1704
|
+
authToken?: string;
|
|
1705
|
+
// insurance_application_no
|
|
1706
|
+
insuranceApplicationNo: string;
|
|
1707
|
+
// insurance_company_no
|
|
1708
|
+
insuranceCompanyNo: string;
|
|
1709
|
+
// trustworthy_value_insurance_type_code
|
|
1710
|
+
trustworthyValueInsuranceTypeCode: string;
|
|
1711
|
+
// insurance_project_code
|
|
1712
|
+
insuranceProjectCode: string;
|
|
1713
|
+
// insurance_options_code
|
|
1714
|
+
insuranceOptionsCode: string;
|
|
1715
|
+
// applicant
|
|
1716
|
+
applicant: string;
|
|
1717
|
+
// insured_list
|
|
1718
|
+
insuredList?: string;
|
|
1719
|
+
// beneficiary_list
|
|
1720
|
+
beneficiaryList?: string;
|
|
1721
|
+
// insurance_period_start
|
|
1722
|
+
insurancePeriodStart: string;
|
|
1723
|
+
// insurance_period_end
|
|
1724
|
+
insurancePeriodEnd?: string;
|
|
1725
|
+
// applied_insurance_amount
|
|
1726
|
+
appliedInsuranceAmount: string;
|
|
1727
|
+
// insurance_period
|
|
1728
|
+
insurancePeriod?: string;
|
|
1729
|
+
// insured_object_list
|
|
1730
|
+
insuredObjectList?: string;
|
|
1731
|
+
static names(): { [key: string]: string } {
|
|
1732
|
+
return {
|
|
1733
|
+
authToken: 'auth_token',
|
|
1734
|
+
insuranceApplicationNo: 'insurance_application_no',
|
|
1735
|
+
insuranceCompanyNo: 'insurance_company_no',
|
|
1736
|
+
trustworthyValueInsuranceTypeCode: 'trustworthy_value_insurance_type_code',
|
|
1737
|
+
insuranceProjectCode: 'insurance_project_code',
|
|
1738
|
+
insuranceOptionsCode: 'insurance_options_code',
|
|
1739
|
+
applicant: 'applicant',
|
|
1740
|
+
insuredList: 'insured_list',
|
|
1741
|
+
beneficiaryList: 'beneficiary_list',
|
|
1742
|
+
insurancePeriodStart: 'insurance_period_start',
|
|
1743
|
+
insurancePeriodEnd: 'insurance_period_end',
|
|
1744
|
+
appliedInsuranceAmount: 'applied_insurance_amount',
|
|
1745
|
+
insurancePeriod: 'insurance_period',
|
|
1746
|
+
insuredObjectList: 'insured_object_list',
|
|
1747
|
+
};
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
static types(): { [key: string]: any } {
|
|
1751
|
+
return {
|
|
1752
|
+
authToken: 'string',
|
|
1753
|
+
insuranceApplicationNo: 'string',
|
|
1754
|
+
insuranceCompanyNo: 'string',
|
|
1755
|
+
trustworthyValueInsuranceTypeCode: 'string',
|
|
1756
|
+
insuranceProjectCode: 'string',
|
|
1757
|
+
insuranceOptionsCode: 'string',
|
|
1758
|
+
applicant: 'string',
|
|
1759
|
+
insuredList: 'string',
|
|
1760
|
+
beneficiaryList: 'string',
|
|
1761
|
+
insurancePeriodStart: 'string',
|
|
1762
|
+
insurancePeriodEnd: 'string',
|
|
1763
|
+
appliedInsuranceAmount: 'string',
|
|
1764
|
+
insurancePeriod: 'string',
|
|
1765
|
+
insuredObjectList: 'string',
|
|
1766
|
+
};
|
|
1767
|
+
}
|
|
1768
|
+
|
|
1769
|
+
constructor(map?: { [key: string]: any }) {
|
|
1770
|
+
super(map);
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
export class ApplyInsureTestResponse extends $tea.Model {
|
|
1775
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
1776
|
+
reqMsgId?: string;
|
|
1777
|
+
// 结果码,一般OK表示调用成功
|
|
1778
|
+
resultCode?: string;
|
|
1779
|
+
// 异常信息的文本描述
|
|
1780
|
+
resultMsg?: string;
|
|
1781
|
+
// biz_result
|
|
1782
|
+
bizResult?: string;
|
|
1783
|
+
static names(): { [key: string]: string } {
|
|
1784
|
+
return {
|
|
1785
|
+
reqMsgId: 'req_msg_id',
|
|
1786
|
+
resultCode: 'result_code',
|
|
1787
|
+
resultMsg: 'result_msg',
|
|
1788
|
+
bizResult: 'biz_result',
|
|
1789
|
+
};
|
|
1790
|
+
}
|
|
1791
|
+
|
|
1792
|
+
static types(): { [key: string]: any } {
|
|
1793
|
+
return {
|
|
1794
|
+
reqMsgId: 'string',
|
|
1795
|
+
resultCode: 'string',
|
|
1796
|
+
resultMsg: 'string',
|
|
1797
|
+
bizResult: 'string',
|
|
1798
|
+
};
|
|
1799
|
+
}
|
|
1800
|
+
|
|
1801
|
+
constructor(map?: { [key: string]: any }) {
|
|
1802
|
+
super(map);
|
|
1803
|
+
}
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
export class SubmitInvestigateCaseRequest extends $tea.Model {
|
|
1807
|
+
// OAuth模式下的授权token
|
|
1808
|
+
authToken?: string;
|
|
1809
|
+
// 报案号 - 外部唯一ID
|
|
1810
|
+
reportNo: string;
|
|
1811
|
+
// 外部单据号
|
|
1812
|
+
outCaseNo: string;
|
|
1813
|
+
// 案件号
|
|
1814
|
+
policyNo?: string;
|
|
1815
|
+
// 委托的保司ID
|
|
1816
|
+
entrustInsuranceCompanyId: string;
|
|
1817
|
+
// 要求完成时间,时间戳
|
|
1818
|
+
investEndTime: number;
|
|
1819
|
+
// 委托联系人
|
|
1820
|
+
entrustName: string;
|
|
1821
|
+
// 委托联系人电话
|
|
1822
|
+
entrustTel: string;
|
|
1823
|
+
// 委托时间,时间戳
|
|
1824
|
+
entrustTime: number;
|
|
1825
|
+
// 出险人电话号码
|
|
1826
|
+
accidentTel: string;
|
|
1827
|
+
// 出险人姓名
|
|
1828
|
+
accidentName: string;
|
|
1829
|
+
// 出险人证件号
|
|
1830
|
+
accidentCardNo: string;
|
|
1831
|
+
// 出险人证件类型,10-身份证/11-户口本/13-军官证/17-港澳通行证/18-台湾通行证/51-护照/99-其他
|
|
1832
|
+
accidentCardType: string;
|
|
1833
|
+
// 出险经过
|
|
1834
|
+
accidentDesc: string;
|
|
1835
|
+
// 出险人地址中文名
|
|
1836
|
+
accidentAddressInfo: string;
|
|
1837
|
+
// 出险人详细住址
|
|
1838
|
+
accidentAddressDetail: string;
|
|
1839
|
+
// 出险日期,时间戳
|
|
1840
|
+
accidentTime: number;
|
|
1841
|
+
// 报案人电话号码
|
|
1842
|
+
reporterTel: string;
|
|
1843
|
+
// 报案人姓名
|
|
1844
|
+
reporterName: string;
|
|
1845
|
+
// 报案人证件号
|
|
1846
|
+
reporterCardNo: string;
|
|
1847
|
+
// 报案人证件类型,10-身份证/11-户口本/13-军官证/17-港澳通行证/18-台湾通行证/51-护照/99-其他
|
|
1848
|
+
reporterCardType: string;
|
|
1849
|
+
// 报案人与出险人的关系
|
|
1850
|
+
// 1本人,2配偶,3父母,4子女,5其他
|
|
1851
|
+
reporterRelationToAccident: string;
|
|
1852
|
+
// 报案时间,时间戳
|
|
1853
|
+
reportTime?: number;
|
|
1854
|
+
// 事故发生地址中文名,格式:省-市-区,如浙江省-杭州市-西湖区
|
|
1855
|
+
eventAddressInfo: string;
|
|
1856
|
+
// 事故发生详细地点
|
|
1857
|
+
eventAddressDetail: string;
|
|
1858
|
+
// 确诊医院
|
|
1859
|
+
confirmHospital: string;
|
|
1860
|
+
// 确诊医院地址信息,格式:省-市-区,如浙江省-杭州市-西湖区
|
|
1861
|
+
confirmHospitalAddressInfo: string;
|
|
1862
|
+
// 确诊疾病名称
|
|
1863
|
+
confirmIllnessName: string;
|
|
1864
|
+
// 产品大类 重疾或者医疗险
|
|
1865
|
+
productType: string;
|
|
1866
|
+
// 文件列表
|
|
1867
|
+
fileList: FileNode[];
|
|
1868
|
+
// 委托险种集合信息
|
|
1869
|
+
entrustGuaranteeProductList: EntrustGuaranteeProduct[];
|
|
1870
|
+
static names(): { [key: string]: string } {
|
|
1871
|
+
return {
|
|
1872
|
+
authToken: 'auth_token',
|
|
1873
|
+
reportNo: 'report_no',
|
|
1874
|
+
outCaseNo: 'out_case_no',
|
|
1875
|
+
policyNo: 'policy_no',
|
|
1876
|
+
entrustInsuranceCompanyId: 'entrust_insurance_company_id',
|
|
1877
|
+
investEndTime: 'invest_end_time',
|
|
1878
|
+
entrustName: 'entrust_name',
|
|
1879
|
+
entrustTel: 'entrust_tel',
|
|
1880
|
+
entrustTime: 'entrust_time',
|
|
1881
|
+
accidentTel: 'accident_tel',
|
|
1882
|
+
accidentName: 'accident_name',
|
|
1883
|
+
accidentCardNo: 'accident_card_no',
|
|
1884
|
+
accidentCardType: 'accident_card_type',
|
|
1885
|
+
accidentDesc: 'accident_desc',
|
|
1886
|
+
accidentAddressInfo: 'accident_address_info',
|
|
1887
|
+
accidentAddressDetail: 'accident_address_detail',
|
|
1888
|
+
accidentTime: 'accident_time',
|
|
1889
|
+
reporterTel: 'reporter_tel',
|
|
1890
|
+
reporterName: 'reporter_name',
|
|
1891
|
+
reporterCardNo: 'reporter_card_no',
|
|
1892
|
+
reporterCardType: 'reporter_card_type',
|
|
1893
|
+
reporterRelationToAccident: 'reporter_relation_to_accident',
|
|
1894
|
+
reportTime: 'report_time',
|
|
1895
|
+
eventAddressInfo: 'event_address_info',
|
|
1896
|
+
eventAddressDetail: 'event_address_detail',
|
|
1897
|
+
confirmHospital: 'confirm_hospital',
|
|
1898
|
+
confirmHospitalAddressInfo: 'confirm_hospital_address_info',
|
|
1899
|
+
confirmIllnessName: 'confirm_illness_name',
|
|
1900
|
+
productType: 'product_type',
|
|
1901
|
+
fileList: 'file_list',
|
|
1902
|
+
entrustGuaranteeProductList: 'entrust_guarantee_product_list',
|
|
1903
|
+
};
|
|
1904
|
+
}
|
|
1905
|
+
|
|
1906
|
+
static types(): { [key: string]: any } {
|
|
1907
|
+
return {
|
|
1908
|
+
authToken: 'string',
|
|
1909
|
+
reportNo: 'string',
|
|
1910
|
+
outCaseNo: 'string',
|
|
1911
|
+
policyNo: 'string',
|
|
1912
|
+
entrustInsuranceCompanyId: 'string',
|
|
1913
|
+
investEndTime: 'number',
|
|
1914
|
+
entrustName: 'string',
|
|
1915
|
+
entrustTel: 'string',
|
|
1916
|
+
entrustTime: 'number',
|
|
1917
|
+
accidentTel: 'string',
|
|
1918
|
+
accidentName: 'string',
|
|
1919
|
+
accidentCardNo: 'string',
|
|
1920
|
+
accidentCardType: 'string',
|
|
1921
|
+
accidentDesc: 'string',
|
|
1922
|
+
accidentAddressInfo: 'string',
|
|
1923
|
+
accidentAddressDetail: 'string',
|
|
1924
|
+
accidentTime: 'number',
|
|
1925
|
+
reporterTel: 'string',
|
|
1926
|
+
reporterName: 'string',
|
|
1927
|
+
reporterCardNo: 'string',
|
|
1928
|
+
reporterCardType: 'string',
|
|
1929
|
+
reporterRelationToAccident: 'string',
|
|
1930
|
+
reportTime: 'number',
|
|
1931
|
+
eventAddressInfo: 'string',
|
|
1932
|
+
eventAddressDetail: 'string',
|
|
1933
|
+
confirmHospital: 'string',
|
|
1934
|
+
confirmHospitalAddressInfo: 'string',
|
|
1935
|
+
confirmIllnessName: 'string',
|
|
1936
|
+
productType: 'string',
|
|
1937
|
+
fileList: { 'type': 'array', 'itemType': FileNode },
|
|
1938
|
+
entrustGuaranteeProductList: { 'type': 'array', 'itemType': EntrustGuaranteeProduct },
|
|
1939
|
+
};
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1942
|
+
constructor(map?: { [key: string]: any }) {
|
|
1943
|
+
super(map);
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
|
|
1947
|
+
export class SubmitInvestigateCaseResponse extends $tea.Model {
|
|
1948
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
1949
|
+
reqMsgId?: string;
|
|
1950
|
+
// 结果码,一般OK表示调用成功
|
|
1951
|
+
resultCode?: string;
|
|
1952
|
+
// 异常信息的文本描述
|
|
1953
|
+
resultMsg?: string;
|
|
1954
|
+
static names(): { [key: string]: string } {
|
|
1955
|
+
return {
|
|
1956
|
+
reqMsgId: 'req_msg_id',
|
|
1957
|
+
resultCode: 'result_code',
|
|
1958
|
+
resultMsg: 'result_msg',
|
|
1959
|
+
};
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1962
|
+
static types(): { [key: string]: any } {
|
|
1963
|
+
return {
|
|
1964
|
+
reqMsgId: 'string',
|
|
1965
|
+
resultCode: 'string',
|
|
1966
|
+
resultMsg: 'string',
|
|
1967
|
+
};
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1970
|
+
constructor(map?: { [key: string]: any }) {
|
|
1971
|
+
super(map);
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
export class QueryReverseCommissionRequest extends $tea.Model {
|
|
1976
|
+
// OAuth模式下的授权token
|
|
1977
|
+
authToken?: string;
|
|
1978
|
+
// 案件号-外部唯一
|
|
1979
|
+
outCaseNo: string;
|
|
1980
|
+
// 委托的保司ID
|
|
1981
|
+
entrustInsuranceCompanyId: string;
|
|
1982
|
+
static names(): { [key: string]: string } {
|
|
1983
|
+
return {
|
|
1984
|
+
authToken: 'auth_token',
|
|
1985
|
+
outCaseNo: 'out_case_no',
|
|
1986
|
+
entrustInsuranceCompanyId: 'entrust_insurance_company_id',
|
|
1987
|
+
};
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
static types(): { [key: string]: any } {
|
|
1991
|
+
return {
|
|
1992
|
+
authToken: 'string',
|
|
1993
|
+
outCaseNo: 'string',
|
|
1994
|
+
entrustInsuranceCompanyId: 'string',
|
|
1995
|
+
};
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
constructor(map?: { [key: string]: any }) {
|
|
1999
|
+
super(map);
|
|
2000
|
+
}
|
|
2001
|
+
}
|
|
2002
|
+
|
|
2003
|
+
export class QueryReverseCommissionResponse extends $tea.Model {
|
|
2004
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
2005
|
+
reqMsgId?: string;
|
|
2006
|
+
// 结果码,一般OK表示调用成功
|
|
2007
|
+
resultCode?: string;
|
|
2008
|
+
// 异常信息的文本描述
|
|
2009
|
+
resultMsg?: string;
|
|
2010
|
+
// 回销结果
|
|
2011
|
+
bizResult?: string;
|
|
2012
|
+
static names(): { [key: string]: string } {
|
|
2013
|
+
return {
|
|
2014
|
+
reqMsgId: 'req_msg_id',
|
|
2015
|
+
resultCode: 'result_code',
|
|
2016
|
+
resultMsg: 'result_msg',
|
|
2017
|
+
bizResult: 'biz_result',
|
|
2018
|
+
};
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
static types(): { [key: string]: any } {
|
|
2022
|
+
return {
|
|
2023
|
+
reqMsgId: 'string',
|
|
2024
|
+
resultCode: 'string',
|
|
2025
|
+
resultMsg: 'string',
|
|
2026
|
+
bizResult: 'string',
|
|
2027
|
+
};
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
constructor(map?: { [key: string]: any }) {
|
|
2031
|
+
super(map);
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2034
|
+
|
|
2035
|
+
export class GetEmbedcardUrlRequest extends $tea.Model {
|
|
2036
|
+
// OAuth模式下的授权token
|
|
2037
|
+
authToken?: string;
|
|
2038
|
+
// 险种编码
|
|
2039
|
+
insuranceTypeCode: string;
|
|
2040
|
+
// 保司编码
|
|
2041
|
+
insuranceCompanyNo: string;
|
|
2042
|
+
// 嵌入式产品编码
|
|
2043
|
+
embedProductCode: string;
|
|
2044
|
+
// 是否需要询价
|
|
2045
|
+
isNeedInquiry: boolean;
|
|
2046
|
+
// 交易流水号,调用方生成的唯一编码,格式为 yyyyMMdd_身份标识_其他编码,系统会根据该流水号做防重、幂等判断逻辑。 yyyyMMdd请传递当前时间。 身份标识可自定义。 其他编码建议为随机值。 当极端场景中,系统会返回错误码为2222,客户端应该保持该流水号不变,并使用原来的请求再次发送请求,系统会根据幂等逻辑返回处理结果;
|
|
2047
|
+
tradeNo: string;
|
|
2048
|
+
// 方案名称
|
|
2049
|
+
schemeName: string;
|
|
2050
|
+
// 投保人
|
|
2051
|
+
applicant: Applicant;
|
|
2052
|
+
// 被保人
|
|
2053
|
+
insured: Insured;
|
|
2054
|
+
// 投保标的
|
|
2055
|
+
subjectInfo: string;
|
|
2056
|
+
static names(): { [key: string]: string } {
|
|
2057
|
+
return {
|
|
2058
|
+
authToken: 'auth_token',
|
|
2059
|
+
insuranceTypeCode: 'insurance_type_code',
|
|
2060
|
+
insuranceCompanyNo: 'insurance_company_no',
|
|
2061
|
+
embedProductCode: 'embed_product_code',
|
|
2062
|
+
isNeedInquiry: 'is_need_inquiry',
|
|
2063
|
+
tradeNo: 'trade_no',
|
|
2064
|
+
schemeName: 'scheme_name',
|
|
2065
|
+
applicant: 'applicant',
|
|
2066
|
+
insured: 'insured',
|
|
2067
|
+
subjectInfo: 'subject_info',
|
|
2068
|
+
};
|
|
2069
|
+
}
|
|
2070
|
+
|
|
2071
|
+
static types(): { [key: string]: any } {
|
|
2072
|
+
return {
|
|
2073
|
+
authToken: 'string',
|
|
2074
|
+
insuranceTypeCode: 'string',
|
|
2075
|
+
insuranceCompanyNo: 'string',
|
|
2076
|
+
embedProductCode: 'string',
|
|
2077
|
+
isNeedInquiry: 'boolean',
|
|
2078
|
+
tradeNo: 'string',
|
|
2079
|
+
schemeName: 'string',
|
|
2080
|
+
applicant: Applicant,
|
|
2081
|
+
insured: Insured,
|
|
2082
|
+
subjectInfo: 'string',
|
|
2083
|
+
};
|
|
2084
|
+
}
|
|
2085
|
+
|
|
2086
|
+
constructor(map?: { [key: string]: any }) {
|
|
2087
|
+
super(map);
|
|
2088
|
+
}
|
|
2089
|
+
}
|
|
2090
|
+
|
|
2091
|
+
export class GetEmbedcardUrlResponse extends $tea.Model {
|
|
2092
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
2093
|
+
reqMsgId?: string;
|
|
2094
|
+
// 结果码,一般OK表示调用成功
|
|
2095
|
+
resultCode?: string;
|
|
2096
|
+
// 异常信息的文本描述
|
|
2097
|
+
resultMsg?: string;
|
|
2098
|
+
// 交易流水号
|
|
2099
|
+
tradeNo?: string;
|
|
2100
|
+
// 险种编码
|
|
2101
|
+
insuranceTypeCode?: string;
|
|
2102
|
+
// 保司编码
|
|
2103
|
+
insuranceCompanyNo?: string;
|
|
2104
|
+
// 嵌入式产品编码
|
|
2105
|
+
embedProductCode?: string;
|
|
2106
|
+
// 嵌入式产品URL地址
|
|
2107
|
+
embedProductUrl?: string;
|
|
2108
|
+
// 方案名称
|
|
2109
|
+
schemeName?: string;
|
|
2110
|
+
// 保费
|
|
2111
|
+
premium?: string;
|
|
2112
|
+
// 询价编码
|
|
2113
|
+
inquiryNo?: string;
|
|
2114
|
+
static names(): { [key: string]: string } {
|
|
2115
|
+
return {
|
|
2116
|
+
reqMsgId: 'req_msg_id',
|
|
2117
|
+
resultCode: 'result_code',
|
|
2118
|
+
resultMsg: 'result_msg',
|
|
2119
|
+
tradeNo: 'trade_no',
|
|
2120
|
+
insuranceTypeCode: 'insurance_type_code',
|
|
2121
|
+
insuranceCompanyNo: 'insurance_company_no',
|
|
2122
|
+
embedProductCode: 'embed_product_code',
|
|
2123
|
+
embedProductUrl: 'embed_product_url',
|
|
2124
|
+
schemeName: 'scheme_name',
|
|
2125
|
+
premium: 'premium',
|
|
2126
|
+
inquiryNo: 'inquiry_no',
|
|
2127
|
+
};
|
|
2128
|
+
}
|
|
2129
|
+
|
|
2130
|
+
static types(): { [key: string]: any } {
|
|
2131
|
+
return {
|
|
2132
|
+
reqMsgId: 'string',
|
|
2133
|
+
resultCode: 'string',
|
|
2134
|
+
resultMsg: 'string',
|
|
2135
|
+
tradeNo: 'string',
|
|
2136
|
+
insuranceTypeCode: 'string',
|
|
2137
|
+
insuranceCompanyNo: 'string',
|
|
2138
|
+
embedProductCode: 'string',
|
|
2139
|
+
embedProductUrl: 'string',
|
|
2140
|
+
schemeName: 'string',
|
|
2141
|
+
premium: 'string',
|
|
2142
|
+
inquiryNo: 'string',
|
|
2143
|
+
};
|
|
2144
|
+
}
|
|
2145
|
+
|
|
2146
|
+
constructor(map?: { [key: string]: any }) {
|
|
2147
|
+
super(map);
|
|
2148
|
+
}
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2151
|
+
export class IssueEmbedcardPaysucRequest extends $tea.Model {
|
|
2152
|
+
// OAuth模式下的授权token
|
|
2153
|
+
authToken?: string;
|
|
2154
|
+
// 险种编码
|
|
2155
|
+
insuranceTypeCode: string;
|
|
2156
|
+
// 保司编码
|
|
2157
|
+
insuranceCompanyNo: string;
|
|
2158
|
+
// 嵌入式产品编码
|
|
2159
|
+
embedProductCode: string;
|
|
2160
|
+
// 交易流水号
|
|
2161
|
+
tradeNo: string;
|
|
2162
|
+
// 方案名称
|
|
2163
|
+
schemeName: string;
|
|
2164
|
+
// 保费,保留2位小数
|
|
2165
|
+
premium: string;
|
|
2166
|
+
// 保费支付渠道,01-支付宝、02-微信支付、03-银行卡支付、04-平台账户余额支付
|
|
2167
|
+
premiumPaymentChannel: string;
|
|
2168
|
+
// 保费支付流水号
|
|
2169
|
+
premiumPaymentNo: string;
|
|
2170
|
+
// 保费支付金额,保留2位小数
|
|
2171
|
+
premiumPaymentAmount: string;
|
|
2172
|
+
// 保费支付时间
|
|
2173
|
+
premiumPaymentTime: string;
|
|
2174
|
+
// 询价编码
|
|
2175
|
+
inquiryNo: string;
|
|
2176
|
+
static names(): { [key: string]: string } {
|
|
2177
|
+
return {
|
|
2178
|
+
authToken: 'auth_token',
|
|
2179
|
+
insuranceTypeCode: 'insurance_type_code',
|
|
2180
|
+
insuranceCompanyNo: 'insurance_company_no',
|
|
2181
|
+
embedProductCode: 'embed_product_code',
|
|
2182
|
+
tradeNo: 'trade_no',
|
|
2183
|
+
schemeName: 'scheme_name',
|
|
2184
|
+
premium: 'premium',
|
|
2185
|
+
premiumPaymentChannel: 'premium_payment_channel',
|
|
2186
|
+
premiumPaymentNo: 'premium_payment_no',
|
|
2187
|
+
premiumPaymentAmount: 'premium_payment_amount',
|
|
2188
|
+
premiumPaymentTime: 'premium_payment_time',
|
|
2189
|
+
inquiryNo: 'inquiry_no',
|
|
2190
|
+
};
|
|
2191
|
+
}
|
|
2192
|
+
|
|
2193
|
+
static types(): { [key: string]: any } {
|
|
2194
|
+
return {
|
|
2195
|
+
authToken: 'string',
|
|
2196
|
+
insuranceTypeCode: 'string',
|
|
2197
|
+
insuranceCompanyNo: 'string',
|
|
2198
|
+
embedProductCode: 'string',
|
|
2199
|
+
tradeNo: 'string',
|
|
2200
|
+
schemeName: 'string',
|
|
2201
|
+
premium: 'string',
|
|
2202
|
+
premiumPaymentChannel: 'string',
|
|
2203
|
+
premiumPaymentNo: 'string',
|
|
2204
|
+
premiumPaymentAmount: 'string',
|
|
2205
|
+
premiumPaymentTime: 'string',
|
|
2206
|
+
inquiryNo: 'string',
|
|
2207
|
+
};
|
|
2208
|
+
}
|
|
2209
|
+
|
|
2210
|
+
constructor(map?: { [key: string]: any }) {
|
|
2211
|
+
super(map);
|
|
2212
|
+
}
|
|
2213
|
+
}
|
|
2214
|
+
|
|
2215
|
+
export class IssueEmbedcardPaysucResponse extends $tea.Model {
|
|
2216
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
2217
|
+
reqMsgId?: string;
|
|
2218
|
+
// 结果码,一般OK表示调用成功
|
|
2219
|
+
resultCode?: string;
|
|
2220
|
+
// 异常信息的文本描述
|
|
2221
|
+
resultMsg?: string;
|
|
2222
|
+
// 交易流水号
|
|
2223
|
+
tradeNo?: string;
|
|
2224
|
+
// 险种编码
|
|
2225
|
+
insuranceTypeCode?: string;
|
|
2226
|
+
// 保司编码
|
|
2227
|
+
insuranceCompanyNo?: string;
|
|
2228
|
+
// 嵌入式产品编码
|
|
2229
|
+
embedProductCode?: string;
|
|
2230
|
+
// 方案名称
|
|
2231
|
+
schemeName?: string;
|
|
2232
|
+
// 保险起期
|
|
2233
|
+
insureStart?: string;
|
|
2234
|
+
// 保险止期
|
|
2235
|
+
insureEnd?: string;
|
|
2236
|
+
// 保费,保留2位小数
|
|
2237
|
+
premium?: string;
|
|
2238
|
+
// 保额,保留2位小数
|
|
2239
|
+
amount?: string;
|
|
2240
|
+
// 询价编码
|
|
2241
|
+
inquiryNo?: string;
|
|
2242
|
+
// 保险凭证号
|
|
2243
|
+
voucherNo?: string;
|
|
2244
|
+
static names(): { [key: string]: string } {
|
|
2245
|
+
return {
|
|
2246
|
+
reqMsgId: 'req_msg_id',
|
|
2247
|
+
resultCode: 'result_code',
|
|
2248
|
+
resultMsg: 'result_msg',
|
|
2249
|
+
tradeNo: 'trade_no',
|
|
2250
|
+
insuranceTypeCode: 'insurance_type_code',
|
|
2251
|
+
insuranceCompanyNo: 'insurance_company_no',
|
|
2252
|
+
embedProductCode: 'embed_product_code',
|
|
2253
|
+
schemeName: 'scheme_name',
|
|
2254
|
+
insureStart: 'insure_start',
|
|
2255
|
+
insureEnd: 'insure_end',
|
|
2256
|
+
premium: 'premium',
|
|
2257
|
+
amount: 'amount',
|
|
2258
|
+
inquiryNo: 'inquiry_no',
|
|
2259
|
+
voucherNo: 'voucher_no',
|
|
2260
|
+
};
|
|
2261
|
+
}
|
|
2262
|
+
|
|
2263
|
+
static types(): { [key: string]: any } {
|
|
2264
|
+
return {
|
|
2265
|
+
reqMsgId: 'string',
|
|
2266
|
+
resultCode: 'string',
|
|
2267
|
+
resultMsg: 'string',
|
|
2268
|
+
tradeNo: 'string',
|
|
2269
|
+
insuranceTypeCode: 'string',
|
|
2270
|
+
insuranceCompanyNo: 'string',
|
|
2271
|
+
embedProductCode: 'string',
|
|
2272
|
+
schemeName: 'string',
|
|
2273
|
+
insureStart: 'string',
|
|
2274
|
+
insureEnd: 'string',
|
|
2275
|
+
premium: 'string',
|
|
2276
|
+
amount: 'string',
|
|
2277
|
+
inquiryNo: 'string',
|
|
2278
|
+
voucherNo: 'string',
|
|
2279
|
+
};
|
|
2280
|
+
}
|
|
2281
|
+
|
|
2282
|
+
constructor(map?: { [key: string]: any }) {
|
|
2283
|
+
super(map);
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2286
|
+
|
|
2287
|
+
export class GetEmbedomeautoinsuranceUrlRequest extends $tea.Model {
|
|
2288
|
+
// OAuth模式下的授权token
|
|
2289
|
+
authToken?: string;
|
|
2290
|
+
// 调用方生成的唯一编码,参考格式: yyyyMMdd_xxxxx,已接口请求的当前日期开头;
|
|
2291
|
+
requestNo: string;
|
|
2292
|
+
// 产品编码
|
|
2293
|
+
productCode: string;
|
|
2294
|
+
// 业务参数,json格式
|
|
2295
|
+
bizInfo: string;
|
|
2296
|
+
static names(): { [key: string]: string } {
|
|
2297
|
+
return {
|
|
2298
|
+
authToken: 'auth_token',
|
|
2299
|
+
requestNo: 'request_no',
|
|
2300
|
+
productCode: 'product_code',
|
|
2301
|
+
bizInfo: 'biz_info',
|
|
2302
|
+
};
|
|
2303
|
+
}
|
|
2304
|
+
|
|
2305
|
+
static types(): { [key: string]: any } {
|
|
2306
|
+
return {
|
|
2307
|
+
authToken: 'string',
|
|
2308
|
+
requestNo: 'string',
|
|
2309
|
+
productCode: 'string',
|
|
2310
|
+
bizInfo: 'string',
|
|
2311
|
+
};
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2314
|
+
constructor(map?: { [key: string]: any }) {
|
|
2315
|
+
super(map);
|
|
2316
|
+
}
|
|
2317
|
+
}
|
|
2318
|
+
|
|
2319
|
+
export class GetEmbedomeautoinsuranceUrlResponse extends $tea.Model {
|
|
2320
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
2321
|
+
reqMsgId?: string;
|
|
2322
|
+
// 结果码,一般OK表示调用成功
|
|
2323
|
+
resultCode?: string;
|
|
2324
|
+
// 异常信息的文本描述
|
|
2325
|
+
resultMsg?: string;
|
|
2326
|
+
// url链接
|
|
2327
|
+
url?: string;
|
|
2328
|
+
// 请求流水号
|
|
2329
|
+
requestNo?: string;
|
|
2330
|
+
static names(): { [key: string]: string } {
|
|
2331
|
+
return {
|
|
2332
|
+
reqMsgId: 'req_msg_id',
|
|
2333
|
+
resultCode: 'result_code',
|
|
2334
|
+
resultMsg: 'result_msg',
|
|
2335
|
+
url: 'url',
|
|
2336
|
+
requestNo: 'request_no',
|
|
2337
|
+
};
|
|
2338
|
+
}
|
|
2339
|
+
|
|
2340
|
+
static types(): { [key: string]: any } {
|
|
2341
|
+
return {
|
|
2342
|
+
reqMsgId: 'string',
|
|
2343
|
+
resultCode: 'string',
|
|
2344
|
+
resultMsg: 'string',
|
|
2345
|
+
url: 'string',
|
|
2346
|
+
requestNo: 'string',
|
|
2347
|
+
};
|
|
2348
|
+
}
|
|
2349
|
+
|
|
2350
|
+
constructor(map?: { [key: string]: any }) {
|
|
2351
|
+
super(map);
|
|
2352
|
+
}
|
|
2353
|
+
}
|
|
2354
|
+
|
|
1566
2355
|
|
|
1567
2356
|
export default class Client {
|
|
1568
2357
|
_endpoint: string;
|
|
@@ -1676,7 +2465,7 @@ export default class Client {
|
|
|
1676
2465
|
req_msg_id: AntchainUtil.getNonce(),
|
|
1677
2466
|
access_key: this._accessKeyId,
|
|
1678
2467
|
base_sdk_version: "TeaSDK-2.0",
|
|
1679
|
-
sdk_version: "1.
|
|
2468
|
+
sdk_version: "1.8.13",
|
|
1680
2469
|
_prod_code: "INSURANCE_SAAS",
|
|
1681
2470
|
_prod_channel: "undefined",
|
|
1682
2471
|
};
|
|
@@ -2066,4 +2855,118 @@ export default class Client {
|
|
|
2066
2855
|
return $tea.cast<QueryInsureResultResponse>(await this.doRequest("1.0", "antcloud.insurance.insure.result.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInsureResultResponse({}));
|
|
2067
2856
|
}
|
|
2068
2857
|
|
|
2858
|
+
/**
|
|
2859
|
+
* Description: 投保测试接口
|
|
2860
|
+
* Summary: 投保测试接口
|
|
2861
|
+
*/
|
|
2862
|
+
async applyInsureTest(request: ApplyInsureTestRequest): Promise<ApplyInsureTestResponse> {
|
|
2863
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
2864
|
+
let headers : {[key: string ]: string} = { };
|
|
2865
|
+
return await this.applyInsureTestEx(request, headers, runtime);
|
|
2866
|
+
}
|
|
2867
|
+
|
|
2868
|
+
/**
|
|
2869
|
+
* Description: 投保测试接口
|
|
2870
|
+
* Summary: 投保测试接口
|
|
2871
|
+
*/
|
|
2872
|
+
async applyInsureTestEx(request: ApplyInsureTestRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApplyInsureTestResponse> {
|
|
2873
|
+
Util.validateModel(request);
|
|
2874
|
+
return $tea.cast<ApplyInsureTestResponse>(await this.doRequest("1.0", "antcloud.insurance.insure.test.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyInsureTestResponse({}));
|
|
2875
|
+
}
|
|
2876
|
+
|
|
2877
|
+
/**
|
|
2878
|
+
* Description: 本接口用于调查报案数据的提交
|
|
2879
|
+
* Summary: 调查报案提交接口
|
|
2880
|
+
*/
|
|
2881
|
+
async submitInvestigateCase(request: SubmitInvestigateCaseRequest): Promise<SubmitInvestigateCaseResponse> {
|
|
2882
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
2883
|
+
let headers : {[key: string ]: string} = { };
|
|
2884
|
+
return await this.submitInvestigateCaseEx(request, headers, runtime);
|
|
2885
|
+
}
|
|
2886
|
+
|
|
2887
|
+
/**
|
|
2888
|
+
* Description: 本接口用于调查报案数据的提交
|
|
2889
|
+
* Summary: 调查报案提交接口
|
|
2890
|
+
*/
|
|
2891
|
+
async submitInvestigateCaseEx(request: SubmitInvestigateCaseRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SubmitInvestigateCaseResponse> {
|
|
2892
|
+
Util.validateModel(request);
|
|
2893
|
+
return $tea.cast<SubmitInvestigateCaseResponse>(await this.doRequest("1.0", "antcloud.insurance.investigate.case.submit", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SubmitInvestigateCaseResponse({}));
|
|
2894
|
+
}
|
|
2895
|
+
|
|
2896
|
+
/**
|
|
2897
|
+
* Description: 回销结果查询接口
|
|
2898
|
+
* Summary: 回销结果查询接口
|
|
2899
|
+
*/
|
|
2900
|
+
async queryReverseCommission(request: QueryReverseCommissionRequest): Promise<QueryReverseCommissionResponse> {
|
|
2901
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
2902
|
+
let headers : {[key: string ]: string} = { };
|
|
2903
|
+
return await this.queryReverseCommissionEx(request, headers, runtime);
|
|
2904
|
+
}
|
|
2905
|
+
|
|
2906
|
+
/**
|
|
2907
|
+
* Description: 回销结果查询接口
|
|
2908
|
+
* Summary: 回销结果查询接口
|
|
2909
|
+
*/
|
|
2910
|
+
async queryReverseCommissionEx(request: QueryReverseCommissionRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryReverseCommissionResponse> {
|
|
2911
|
+
Util.validateModel(request);
|
|
2912
|
+
return $tea.cast<QueryReverseCommissionResponse>(await this.doRequest("1.0", "antcloud.insurance.reverse.commission.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryReverseCommissionResponse({}));
|
|
2913
|
+
}
|
|
2914
|
+
|
|
2915
|
+
/**
|
|
2916
|
+
* Description: 嵌入式保险服务卡片url链接获取
|
|
2917
|
+
* Summary: 嵌入式保险服务卡片url链接获取
|
|
2918
|
+
*/
|
|
2919
|
+
async getEmbedcardUrl(request: GetEmbedcardUrlRequest): Promise<GetEmbedcardUrlResponse> {
|
|
2920
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
2921
|
+
let headers : {[key: string ]: string} = { };
|
|
2922
|
+
return await this.getEmbedcardUrlEx(request, headers, runtime);
|
|
2923
|
+
}
|
|
2924
|
+
|
|
2925
|
+
/**
|
|
2926
|
+
* Description: 嵌入式保险服务卡片url链接获取
|
|
2927
|
+
* Summary: 嵌入式保险服务卡片url链接获取
|
|
2928
|
+
*/
|
|
2929
|
+
async getEmbedcardUrlEx(request: GetEmbedcardUrlRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetEmbedcardUrlResponse> {
|
|
2930
|
+
Util.validateModel(request);
|
|
2931
|
+
return $tea.cast<GetEmbedcardUrlResponse>(await this.doRequest("1.0", "antcloud.insurance.embedcard.url.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetEmbedcardUrlResponse({}));
|
|
2932
|
+
}
|
|
2933
|
+
|
|
2934
|
+
/**
|
|
2935
|
+
* Description: 嵌入式保险服务打款成功出单接口
|
|
2936
|
+
* Summary: 嵌入式保险服务打款成功出单接口
|
|
2937
|
+
*/
|
|
2938
|
+
async issueEmbedcardPaysuc(request: IssueEmbedcardPaysucRequest): Promise<IssueEmbedcardPaysucResponse> {
|
|
2939
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
2940
|
+
let headers : {[key: string ]: string} = { };
|
|
2941
|
+
return await this.issueEmbedcardPaysucEx(request, headers, runtime);
|
|
2942
|
+
}
|
|
2943
|
+
|
|
2944
|
+
/**
|
|
2945
|
+
* Description: 嵌入式保险服务打款成功出单接口
|
|
2946
|
+
* Summary: 嵌入式保险服务打款成功出单接口
|
|
2947
|
+
*/
|
|
2948
|
+
async issueEmbedcardPaysucEx(request: IssueEmbedcardPaysucRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<IssueEmbedcardPaysucResponse> {
|
|
2949
|
+
Util.validateModel(request);
|
|
2950
|
+
return $tea.cast<IssueEmbedcardPaysucResponse>(await this.doRequest("1.0", "antcloud.insurance.embedcard.paysuc.issue", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new IssueEmbedcardPaysucResponse({}));
|
|
2951
|
+
}
|
|
2952
|
+
|
|
2953
|
+
/**
|
|
2954
|
+
* Description: 嵌入式主机厂车险url链接获取
|
|
2955
|
+
* Summary: 嵌入式主机厂车险url链接获取
|
|
2956
|
+
*/
|
|
2957
|
+
async getEmbedomeautoinsuranceUrl(request: GetEmbedomeautoinsuranceUrlRequest): Promise<GetEmbedomeautoinsuranceUrlResponse> {
|
|
2958
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
2959
|
+
let headers : {[key: string ]: string} = { };
|
|
2960
|
+
return await this.getEmbedomeautoinsuranceUrlEx(request, headers, runtime);
|
|
2961
|
+
}
|
|
2962
|
+
|
|
2963
|
+
/**
|
|
2964
|
+
* Description: 嵌入式主机厂车险url链接获取
|
|
2965
|
+
* Summary: 嵌入式主机厂车险url链接获取
|
|
2966
|
+
*/
|
|
2967
|
+
async getEmbedomeautoinsuranceUrlEx(request: GetEmbedomeautoinsuranceUrlRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetEmbedomeautoinsuranceUrlResponse> {
|
|
2968
|
+
Util.validateModel(request);
|
|
2969
|
+
return $tea.cast<GetEmbedomeautoinsuranceUrlResponse>(await this.doRequest("1.0", "antcloud.insurance.embedomeautoinsurance.url.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetEmbedomeautoinsuranceUrlResponse({}));
|
|
2970
|
+
}
|
|
2971
|
+
|
|
2069
2972
|
}
|