@alicloud/cams20200606 5.2.0 → 5.3.0

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.
Files changed (828) hide show
  1. package/dist/client.d.ts +729 -390
  2. package/dist/client.js +881 -390
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddAddressRecoverSuspendRequest.d.ts +27 -0
  5. package/dist/models/AddAddressRecoverSuspendRequest.js.map +1 -1
  6. package/dist/models/AddAddressRecoverSuspendResponseBody.d.ts +28 -0
  7. package/dist/models/AddAddressRecoverSuspendResponseBody.js.map +1 -1
  8. package/dist/models/AddAddressRecoverSuspendShrinkRequest.d.ts +10 -0
  9. package/dist/models/AddAddressRecoverSuspendShrinkRequest.js.map +1 -1
  10. package/dist/models/AddChatGroupInviteLinkRequest.d.ts +6 -6
  11. package/dist/models/AddChatGroupInviteLinkResponseBody.d.ts +2 -4
  12. package/dist/models/AddChatGroupInviteLinkResponseBody.js.map +1 -1
  13. package/dist/models/AddChatappPhoneNumberRequest.d.ts +3 -4
  14. package/dist/models/AddChatappPhoneNumberRequest.js.map +1 -1
  15. package/dist/models/AddChatappPhoneNumberResponseBody.d.ts +6 -8
  16. package/dist/models/AddChatappPhoneNumberResponseBody.js.map +1 -1
  17. package/dist/models/AddContactsRequest.d.ts +35 -0
  18. package/dist/models/AddContactsRequest.js.map +1 -1
  19. package/dist/models/AddContactsResponseBody.d.ts +24 -0
  20. package/dist/models/AddContactsResponseBody.js.map +1 -1
  21. package/dist/models/AddContactsShrinkRequest.d.ts +35 -0
  22. package/dist/models/AddContactsShrinkRequest.js.map +1 -1
  23. package/dist/models/AddGroupRequest.d.ts +34 -0
  24. package/dist/models/AddGroupRequest.js.map +1 -1
  25. package/dist/models/AddGroupResponseBody.d.ts +29 -1
  26. package/dist/models/AddGroupResponseBody.js.map +1 -1
  27. package/dist/models/AddGroupShrinkRequest.d.ts +34 -0
  28. package/dist/models/AddGroupShrinkRequest.js.map +1 -1
  29. package/dist/models/AddMarketingFlowResponseBody.d.ts +4 -0
  30. package/dist/models/AddMarketingFlowResponseBody.js.map +1 -1
  31. package/dist/models/ArchiveChatappTemplateRequest.d.ts +86 -0
  32. package/dist/models/ArchiveChatappTemplateRequest.js +88 -0
  33. package/dist/models/ArchiveChatappTemplateRequest.js.map +1 -0
  34. package/dist/models/ArchiveChatappTemplateResponse.d.ts +19 -0
  35. package/dist/models/ArchiveChatappTemplateResponse.js +69 -0
  36. package/dist/models/ArchiveChatappTemplateResponse.js.map +1 -0
  37. package/dist/models/ArchiveChatappTemplateResponseBody.d.ts +114 -0
  38. package/dist/models/ArchiveChatappTemplateResponseBody.js +96 -0
  39. package/dist/models/ArchiveChatappTemplateResponseBody.js.map +1 -0
  40. package/dist/models/ArchiveChatappTemplateShrinkRequest.d.ts +54 -0
  41. package/dist/models/ArchiveChatappTemplateShrinkRequest.js +64 -0
  42. package/dist/models/ArchiveChatappTemplateShrinkRequest.js.map +1 -0
  43. package/dist/models/BindDmAccountRequest.d.ts +10 -0
  44. package/dist/models/BindDmAccountRequest.js.map +1 -1
  45. package/dist/models/BindDmAccountResponseBody.d.ts +28 -0
  46. package/dist/models/BindDmAccountResponseBody.js.map +1 -1
  47. package/dist/models/BindDmAccountShrinkRequest.d.ts +6 -0
  48. package/dist/models/BindDmAccountShrinkRequest.js.map +1 -1
  49. package/dist/models/BindInstagramPageRequest.d.ts +7 -0
  50. package/dist/models/BindInstagramPageRequest.js.map +1 -1
  51. package/dist/models/BindInstagramPageResponseBody.d.ts +37 -0
  52. package/dist/models/BindInstagramPageResponseBody.js.map +1 -1
  53. package/dist/models/BindMessengerPageResponseBody.d.ts +4 -0
  54. package/dist/models/BindMessengerPageResponseBody.js.map +1 -1
  55. package/dist/models/ChangeResourceGroupRequest.d.ts +10 -0
  56. package/dist/models/ChangeResourceGroupRequest.js.map +1 -1
  57. package/dist/models/ChangeResourceGroupResponseBody.d.ts +4 -0
  58. package/dist/models/ChangeResourceGroupResponseBody.js.map +1 -1
  59. package/dist/models/ChatappBindWabaRequest.d.ts +1 -1
  60. package/dist/models/ChatappBindWabaResponseBody.d.ts +6 -8
  61. package/dist/models/ChatappBindWabaResponseBody.js.map +1 -1
  62. package/dist/models/ChatappMigrationRegisterRequest.d.ts +2 -2
  63. package/dist/models/ChatappMigrationRegisterResponseBody.d.ts +4 -4
  64. package/dist/models/ChatappMigrationVerifiedRequest.d.ts +1 -1
  65. package/dist/models/ChatappMigrationVerifiedResponseBody.d.ts +4 -4
  66. package/dist/models/ChatappPhoneNumberDeregisterRequest.d.ts +6 -2
  67. package/dist/models/ChatappPhoneNumberDeregisterRequest.js.map +1 -1
  68. package/dist/models/ChatappPhoneNumberDeregisterResponseBody.d.ts +2 -2
  69. package/dist/models/ChatappPhoneNumberRegisterRequest.d.ts +1 -1
  70. package/dist/models/ChatappPhoneNumberRegisterResponseBody.d.ts +6 -8
  71. package/dist/models/ChatappPhoneNumberRegisterResponseBody.js.map +1 -1
  72. package/dist/models/ChatappSyncPhoneNumberRequest.d.ts +1 -1
  73. package/dist/models/ChatappSyncPhoneNumberResponseBody.d.ts +24 -60
  74. package/dist/models/ChatappSyncPhoneNumberResponseBody.js.map +1 -1
  75. package/dist/models/ChatappVerifyAndRegisterRequest.d.ts +1 -1
  76. package/dist/models/ChatappVerifyAndRegisterResponseBody.d.ts +5 -7
  77. package/dist/models/ChatappVerifyAndRegisterResponseBody.js.map +1 -1
  78. package/dist/models/CheckDirectSendMessageSampleRequest.d.ts +4 -6
  79. package/dist/models/CheckDirectSendMessageSampleRequest.js.map +1 -1
  80. package/dist/models/CheckDirectSendMessageSampleResponseBody.d.ts +14 -14
  81. package/dist/models/CheckDirectSendMessageSampleShrinkRequest.d.ts +4 -6
  82. package/dist/models/CheckDirectSendMessageSampleShrinkRequest.js.map +1 -1
  83. package/dist/models/CopyTemplateRequest.d.ts +11 -1
  84. package/dist/models/CopyTemplateRequest.js.map +1 -1
  85. package/dist/models/CopyTemplateResponseBody.d.ts +34 -0
  86. package/dist/models/CopyTemplateResponseBody.js.map +1 -1
  87. package/dist/models/CreateChatFlowByImportRequest.d.ts +33 -4
  88. package/dist/models/CreateChatFlowByImportRequest.js.map +1 -1
  89. package/dist/models/CreateChatFlowByImportResponseBody.d.ts +31 -4
  90. package/dist/models/CreateChatFlowByImportResponseBody.js.map +1 -1
  91. package/dist/models/CreateChatFlowByImportShrinkRequest.d.ts +33 -4
  92. package/dist/models/CreateChatFlowByImportShrinkRequest.js.map +1 -1
  93. package/dist/models/CreateChatFlowLogSettingRequest.d.ts +4 -1
  94. package/dist/models/CreateChatFlowLogSettingRequest.js.map +1 -1
  95. package/dist/models/CreateChatFlowLogSettingResponseBody.d.ts +30 -3
  96. package/dist/models/CreateChatFlowLogSettingResponseBody.js.map +1 -1
  97. package/dist/models/CreateChatFlowRequest.d.ts +33 -4
  98. package/dist/models/CreateChatFlowRequest.js.map +1 -1
  99. package/dist/models/CreateChatFlowResponseBody.d.ts +34 -3
  100. package/dist/models/CreateChatFlowResponseBody.js.map +1 -1
  101. package/dist/models/CreateChatFlowShrinkRequest.d.ts +33 -4
  102. package/dist/models/CreateChatFlowShrinkRequest.js.map +1 -1
  103. package/dist/models/CreateFlowRequest.d.ts +12 -2
  104. package/dist/models/CreateFlowRequest.js.map +1 -1
  105. package/dist/models/CreateFlowResponseBody.d.ts +10 -3
  106. package/dist/models/CreateFlowResponseBody.js.map +1 -1
  107. package/dist/models/CreateFlowShrinkRequest.d.ts +12 -2
  108. package/dist/models/CreateFlowShrinkRequest.js.map +1 -1
  109. package/dist/models/CreateFlowVersionRequest.d.ts +23 -4
  110. package/dist/models/CreateFlowVersionRequest.js.map +1 -1
  111. package/dist/models/CreateFlowVersionResponseBody.d.ts +31 -4
  112. package/dist/models/CreateFlowVersionResponseBody.js.map +1 -1
  113. package/dist/models/CreateFlowVersionShrinkRequest.d.ts +23 -4
  114. package/dist/models/CreateFlowVersionShrinkRequest.js.map +1 -1
  115. package/dist/models/CreatePhoneMessageQrdlRequest.d.ts +22 -4
  116. package/dist/models/CreatePhoneMessageQrdlRequest.js.map +1 -1
  117. package/dist/models/CreatePhoneMessageQrdlResponseBody.d.ts +9 -2
  118. package/dist/models/CreatePhoneMessageQrdlResponseBody.js.map +1 -1
  119. package/dist/models/CreateWhatsappConversionApiRequest.d.ts +2 -2
  120. package/dist/models/CreateWhatsappConversionApiResponseBody.d.ts +5 -1
  121. package/dist/models/CreateWhatsappConversionApiResponseBody.js.map +1 -1
  122. package/dist/models/CreateWhatsappConversionApiShrinkRequest.d.ts +2 -2
  123. package/dist/models/DeleteChatFlowRequest.d.ts +15 -2
  124. package/dist/models/DeleteChatFlowRequest.js.map +1 -1
  125. package/dist/models/DeleteChatFlowResponseBody.d.ts +31 -4
  126. package/dist/models/DeleteChatFlowResponseBody.js.map +1 -1
  127. package/dist/models/DeleteChatFlowShrinkRequest.d.ts +15 -2
  128. package/dist/models/DeleteChatFlowShrinkRequest.js.map +1 -1
  129. package/dist/models/DeleteChatGroupInviteLinkRequest.d.ts +6 -6
  130. package/dist/models/DeleteChatGroupInviteLinkResponseBody.d.ts +4 -6
  131. package/dist/models/DeleteChatGroupInviteLinkResponseBody.js.map +1 -1
  132. package/dist/models/DeleteChatGroupRequest.d.ts +3 -5
  133. package/dist/models/DeleteChatGroupRequest.js.map +1 -1
  134. package/dist/models/DeleteChatGroupResponseBody.d.ts +3 -5
  135. package/dist/models/DeleteChatGroupResponseBody.js.map +1 -1
  136. package/dist/models/DeleteContactsByIdsRequest.d.ts +2 -0
  137. package/dist/models/DeleteContactsByIdsRequest.js.map +1 -1
  138. package/dist/models/DeleteContactsByIdsResponseBody.d.ts +28 -0
  139. package/dist/models/DeleteContactsByIdsResponseBody.js.map +1 -1
  140. package/dist/models/DeleteContactsRequest.d.ts +4 -4
  141. package/dist/models/DeleteContactsResponseBody.d.ts +7 -3
  142. package/dist/models/DeleteContactsResponseBody.js.map +1 -1
  143. package/dist/models/DeleteContactsShrinkRequest.d.ts +4 -4
  144. package/dist/models/DeleteFlowRequest.d.ts +7 -2
  145. package/dist/models/DeleteFlowRequest.js.map +1 -1
  146. package/dist/models/DeleteFlowResponseBody.d.ts +9 -2
  147. package/dist/models/DeleteFlowResponseBody.js.map +1 -1
  148. package/dist/models/DeleteFlowVersionRequest.d.ts +19 -3
  149. package/dist/models/DeleteFlowVersionRequest.js.map +1 -1
  150. package/dist/models/DeleteFlowVersionResponseBody.d.ts +34 -4
  151. package/dist/models/DeleteFlowVersionResponseBody.js.map +1 -1
  152. package/dist/models/DeleteFlowVersionShrinkRequest.d.ts +19 -3
  153. package/dist/models/DeleteFlowVersionShrinkRequest.js.map +1 -1
  154. package/dist/models/DeleteGroupByIdRequest.d.ts +1 -1
  155. package/dist/models/DeleteGroupByIdResponseBody.d.ts +6 -2
  156. package/dist/models/DeleteGroupByIdResponseBody.js.map +1 -1
  157. package/dist/models/DeleteInstagramPageResponseBody.d.ts +5 -1
  158. package/dist/models/DeleteInstagramPageResponseBody.js.map +1 -1
  159. package/dist/models/DeleteMarketingFlowRequest.d.ts +8 -2
  160. package/dist/models/DeleteMarketingFlowRequest.js.map +1 -1
  161. package/dist/models/DeleteMarketingFlowResponseBody.d.ts +34 -4
  162. package/dist/models/DeleteMarketingFlowResponseBody.js.map +1 -1
  163. package/dist/models/DeleteMessengerPageRequest.d.ts +1 -1
  164. package/dist/models/DeleteMessengerPageResponseBody.d.ts +4 -0
  165. package/dist/models/DeleteMessengerPageResponseBody.js.map +1 -1
  166. package/dist/models/DeletePhoneMessageQrdlRequest.d.ts +10 -3
  167. package/dist/models/DeletePhoneMessageQrdlRequest.js.map +1 -1
  168. package/dist/models/DeletePhoneMessageQrdlResponseBody.d.ts +7 -0
  169. package/dist/models/DeletePhoneMessageQrdlResponseBody.js.map +1 -1
  170. package/dist/models/DeleteWhatsappUserNameRequest.d.ts +36 -0
  171. package/dist/models/DeleteWhatsappUserNameRequest.js +60 -0
  172. package/dist/models/DeleteWhatsappUserNameRequest.js.map +1 -0
  173. package/dist/models/DeleteWhatsappUserNameResponse.d.ts +19 -0
  174. package/dist/models/DeleteWhatsappUserNameResponse.js +69 -0
  175. package/dist/models/DeleteWhatsappUserNameResponse.js.map +1 -0
  176. package/dist/models/DeleteWhatsappUserNameResponseBody.d.ts +69 -0
  177. package/dist/models/DeleteWhatsappUserNameResponseBody.js +68 -0
  178. package/dist/models/DeleteWhatsappUserNameResponseBody.js.map +1 -0
  179. package/dist/models/DeprecateFlowResponseBody.d.ts +4 -0
  180. package/dist/models/DeprecateFlowResponseBody.js.map +1 -1
  181. package/dist/models/EnableWhatsappRoimetricRequest.d.ts +2 -2
  182. package/dist/models/EnableWhatsappRoimetricResponseBody.d.ts +4 -4
  183. package/dist/models/FlowBindPhoneRequest.d.ts +34 -5
  184. package/dist/models/FlowBindPhoneRequest.js.map +1 -1
  185. package/dist/models/FlowBindPhoneResponseBody.d.ts +33 -3
  186. package/dist/models/FlowBindPhoneResponseBody.js.map +1 -1
  187. package/dist/models/FlowBindPhoneShrinkRequest.d.ts +34 -5
  188. package/dist/models/FlowBindPhoneShrinkRequest.js.map +1 -1
  189. package/dist/models/FlowRebindPhoneRequest.d.ts +32 -5
  190. package/dist/models/FlowRebindPhoneRequest.js.map +1 -1
  191. package/dist/models/FlowRebindPhoneResponseBody.d.ts +34 -4
  192. package/dist/models/FlowRebindPhoneResponseBody.js.map +1 -1
  193. package/dist/models/FlowRebindPhoneShrinkRequest.d.ts +32 -5
  194. package/dist/models/FlowRebindPhoneShrinkRequest.js.map +1 -1
  195. package/dist/models/FlowUnbindPhoneRequest.d.ts +25 -3
  196. package/dist/models/FlowUnbindPhoneRequest.js.map +1 -1
  197. package/dist/models/FlowUnbindPhoneResponseBody.d.ts +30 -3
  198. package/dist/models/FlowUnbindPhoneResponseBody.js.map +1 -1
  199. package/dist/models/FlowUnbindPhoneShrinkRequest.d.ts +25 -3
  200. package/dist/models/FlowUnbindPhoneShrinkRequest.js.map +1 -1
  201. package/dist/models/GeneratePresignedUrlRequest.d.ts +3 -1
  202. package/dist/models/GeneratePresignedUrlRequest.js.map +1 -1
  203. package/dist/models/GeneratePresignedUrlResponseBody.d.ts +38 -5
  204. package/dist/models/GeneratePresignedUrlResponseBody.js.map +1 -1
  205. package/dist/models/GetAuditRequestByTypeUnAuditRequest.d.ts +2 -2
  206. package/dist/models/GetAuditRequestByTypeUnAuditResponseBody.d.ts +44 -40
  207. package/dist/models/GetAuditRequestByTypeUnAuditResponseBody.js.map +1 -1
  208. package/dist/models/GetChatFlowMetricRequest.d.ts +51 -6
  209. package/dist/models/GetChatFlowMetricRequest.js.map +1 -1
  210. package/dist/models/GetChatFlowMetricResponseBody.d.ts +34 -3
  211. package/dist/models/GetChatFlowMetricResponseBody.js.map +1 -1
  212. package/dist/models/GetChatFlowMetricShrinkRequest.d.ts +51 -6
  213. package/dist/models/GetChatFlowMetricShrinkRequest.js.map +1 -1
  214. package/dist/models/GetChatFlowTemplateRequest.d.ts +6 -1
  215. package/dist/models/GetChatFlowTemplateRequest.js.map +1 -1
  216. package/dist/models/GetChatFlowTemplateResponseBody.d.ts +47 -0
  217. package/dist/models/GetChatFlowTemplateResponseBody.js.map +1 -1
  218. package/dist/models/GetChatappOpenStatusResponseBody.d.ts +32 -0
  219. package/dist/models/GetChatappOpenStatusResponseBody.js.map +1 -1
  220. package/dist/models/GetChatappPhoneNumberMetricRequest.d.ts +8 -10
  221. package/dist/models/GetChatappPhoneNumberMetricRequest.js.map +1 -1
  222. package/dist/models/GetChatappPhoneNumberMetricResponseBody.d.ts +7 -7
  223. package/dist/models/GetChatappPhoneNumberSettingRequest.d.ts +5 -0
  224. package/dist/models/GetChatappPhoneNumberSettingRequest.js.map +1 -1
  225. package/dist/models/GetChatappPhoneNumberSettingResponseBody.d.ts +38 -3
  226. package/dist/models/GetChatappPhoneNumberSettingResponseBody.js.map +1 -1
  227. package/dist/models/GetChatappTemplateDetailRequest.d.ts +8 -10
  228. package/dist/models/GetChatappTemplateDetailRequest.js.map +1 -1
  229. package/dist/models/GetChatappTemplateDetailResponseBody.d.ts +117 -111
  230. package/dist/models/GetChatappTemplateDetailResponseBody.js.map +1 -1
  231. package/dist/models/GetChatappTemplateMetricRequest.d.ts +10 -13
  232. package/dist/models/GetChatappTemplateMetricRequest.js.map +1 -1
  233. package/dist/models/GetChatappTemplateMetricResponseBody.d.ts +8 -11
  234. package/dist/models/GetChatappTemplateMetricResponseBody.js.map +1 -1
  235. package/dist/models/GetCustomerSiteResponseBody.d.ts +27 -4
  236. package/dist/models/GetCustomerSiteResponseBody.js.map +1 -1
  237. package/dist/models/GetDownloadExcelListRequest.d.ts +1 -1
  238. package/dist/models/GetDownloadExcelListResponseBody.d.ts +8 -4
  239. package/dist/models/GetDownloadExcelListResponseBody.js.map +1 -1
  240. package/dist/models/GetDownloadExcelListShrinkRequest.d.ts +1 -1
  241. package/dist/models/GetFbInstagramPagesRequest.d.ts +1 -1
  242. package/dist/models/GetFbInstagramPagesResponseBody.d.ts +5 -1
  243. package/dist/models/GetFbInstagramPagesResponseBody.js.map +1 -1
  244. package/dist/models/GetFbMessengerPagesRequest.d.ts +1 -1
  245. package/dist/models/GetFbMessengerPagesResponseBody.d.ts +5 -1
  246. package/dist/models/GetFbMessengerPagesResponseBody.js.map +1 -1
  247. package/dist/models/GetFlowJsonassestResponseBody.d.ts +4 -0
  248. package/dist/models/GetFlowJsonassestResponseBody.js.map +1 -1
  249. package/dist/models/GetFlowPreviewUrlResponseBody.d.ts +4 -0
  250. package/dist/models/GetFlowPreviewUrlResponseBody.js.map +1 -1
  251. package/dist/models/GetGroupExistRequest.d.ts +1 -1
  252. package/dist/models/GetGroupExistResponseBody.d.ts +8 -4
  253. package/dist/models/GetGroupExistResponseBody.js.map +1 -1
  254. package/dist/models/GetGroupExistShrinkRequest.d.ts +1 -1
  255. package/dist/models/GetMigrationVerifyCodeRequest.d.ts +2 -2
  256. package/dist/models/GetMigrationVerifyCodeResponseBody.d.ts +2 -2
  257. package/dist/models/GetPermissionByCodeRequest.d.ts +11 -2
  258. package/dist/models/GetPermissionByCodeRequest.js.map +1 -1
  259. package/dist/models/GetPermissionByCodeResponseBody.d.ts +9 -2
  260. package/dist/models/GetPermissionByCodeResponseBody.js.map +1 -1
  261. package/dist/models/GetPermissionByCodeShrinkRequest.d.ts +11 -2
  262. package/dist/models/GetPermissionByCodeShrinkRequest.js.map +1 -1
  263. package/dist/models/GetPhoneEncryptionPublicKeyRequest.d.ts +12 -2
  264. package/dist/models/GetPhoneEncryptionPublicKeyRequest.js.map +1 -1
  265. package/dist/models/GetPhoneEncryptionPublicKeyResponseBody.d.ts +10 -3
  266. package/dist/models/GetPhoneEncryptionPublicKeyResponseBody.js.map +1 -1
  267. package/dist/models/GetPhoneNumberVerificationStatusResponseBody.d.ts +4 -0
  268. package/dist/models/GetPhoneNumberVerificationStatusResponseBody.js.map +1 -1
  269. package/dist/models/GetPledgeTemplateAddressRequest.d.ts +8 -2
  270. package/dist/models/GetPledgeTemplateAddressRequest.js.map +1 -1
  271. package/dist/models/GetPledgeTemplateAddressResponseBody.d.ts +36 -3
  272. package/dist/models/GetPledgeTemplateAddressResponseBody.js.map +1 -1
  273. package/dist/models/GetViberPauseTimesRequest.d.ts +1 -1
  274. package/dist/models/GetViberPauseTimesResponseBody.d.ts +11 -3
  275. package/dist/models/GetViberPauseTimesResponseBody.js.map +1 -1
  276. package/dist/models/GetWhatsappConversionApiRequest.d.ts +1 -1
  277. package/dist/models/GetWhatsappConversionApiResponseBody.d.ts +10 -6
  278. package/dist/models/GetWhatsappConversionApiResponseBody.js.map +1 -1
  279. package/dist/models/GetWhatsappUserNameRequest.d.ts +33 -0
  280. package/dist/models/GetWhatsappUserNameRequest.js +60 -0
  281. package/dist/models/GetWhatsappUserNameRequest.js.map +1 -0
  282. package/dist/models/GetWhatsappUserNameResponse.d.ts +19 -0
  283. package/dist/models/GetWhatsappUserNameResponse.js +69 -0
  284. package/dist/models/GetWhatsappUserNameResponse.js.map +1 -0
  285. package/dist/models/GetWhatsappUserNameResponseBody.d.ts +92 -0
  286. package/dist/models/GetWhatsappUserNameResponseBody.js +92 -0
  287. package/dist/models/GetWhatsappUserNameResponseBody.js.map +1 -0
  288. package/dist/models/GetWhatsappUserNameSuggestionsRequest.d.ts +36 -0
  289. package/dist/models/GetWhatsappUserNameSuggestionsRequest.js +60 -0
  290. package/dist/models/GetWhatsappUserNameSuggestionsRequest.js.map +1 -0
  291. package/dist/models/GetWhatsappUserNameSuggestionsResponse.d.ts +19 -0
  292. package/dist/models/GetWhatsappUserNameSuggestionsResponse.js +69 -0
  293. package/dist/models/GetWhatsappUserNameSuggestionsResponse.js.map +1 -0
  294. package/dist/models/GetWhatsappUserNameSuggestionsResponseBody.d.ts +64 -0
  295. package/dist/models/GetWhatsappUserNameSuggestionsResponseBody.js +71 -0
  296. package/dist/models/GetWhatsappUserNameSuggestionsResponseBody.js.map +1 -0
  297. package/dist/models/IsvGetAppIdRequest.d.ts +13 -3
  298. package/dist/models/IsvGetAppIdRequest.js.map +1 -1
  299. package/dist/models/IsvGetAppIdResponseBody.d.ts +5 -5
  300. package/dist/models/ListAllGroupsResponseBody.d.ts +10 -6
  301. package/dist/models/ListAllGroupsResponseBody.js.map +1 -1
  302. package/dist/models/ListBindDmAccountResponseBody.d.ts +12 -8
  303. package/dist/models/ListBindDmAccountResponseBody.js.map +1 -1
  304. package/dist/models/ListBindingRelationsForFlowVersionRequest.d.ts +16 -2
  305. package/dist/models/ListBindingRelationsForFlowVersionRequest.js.map +1 -1
  306. package/dist/models/ListBindingRelationsForFlowVersionResponseBody.d.ts +30 -3
  307. package/dist/models/ListBindingRelationsForFlowVersionResponseBody.js.map +1 -1
  308. package/dist/models/ListChatFlowRequest.d.ts +43 -6
  309. package/dist/models/ListChatFlowRequest.js.map +1 -1
  310. package/dist/models/ListChatFlowResponseBody.d.ts +30 -3
  311. package/dist/models/ListChatFlowResponseBody.js.map +1 -1
  312. package/dist/models/ListChatFlowShrinkRequest.d.ts +43 -6
  313. package/dist/models/ListChatFlowShrinkRequest.js.map +1 -1
  314. package/dist/models/ListChatFlowTemplateRequest.d.ts +29 -5
  315. package/dist/models/ListChatFlowTemplateRequest.js.map +1 -1
  316. package/dist/models/ListChatFlowTemplateResponseBody.d.ts +47 -0
  317. package/dist/models/ListChatFlowTemplateResponseBody.js.map +1 -1
  318. package/dist/models/ListChatGroupRequest.d.ts +6 -9
  319. package/dist/models/ListChatGroupRequest.js.map +1 -1
  320. package/dist/models/ListChatGroupResponseBody.d.ts +14 -16
  321. package/dist/models/ListChatGroupResponseBody.js.map +1 -1
  322. package/dist/models/ListChatGroupShrinkRequest.d.ts +6 -9
  323. package/dist/models/ListChatGroupShrinkRequest.js.map +1 -1
  324. package/dist/models/ListChatappMessageRequest.d.ts +49 -3
  325. package/dist/models/ListChatappMessageRequest.js.map +1 -1
  326. package/dist/models/ListChatappMessageResponseBody.d.ts +143 -28
  327. package/dist/models/ListChatappMessageResponseBody.js.map +1 -1
  328. package/dist/models/ListChatappMessageShrinkRequest.d.ts +43 -1
  329. package/dist/models/ListChatappMessageShrinkRequest.js.map +1 -1
  330. package/dist/models/ListDmAccountRequest.d.ts +16 -4
  331. package/dist/models/ListDmAccountRequest.js.map +1 -1
  332. package/dist/models/ListDmAccountResponseBody.d.ts +53 -4
  333. package/dist/models/ListDmAccountResponseBody.js.map +1 -1
  334. package/dist/models/ListDmTagRequest.d.ts +3 -3
  335. package/dist/models/ListDmTagResponseBody.d.ts +7 -3
  336. package/dist/models/ListDmTagResponseBody.js.map +1 -1
  337. package/dist/models/ListFacebookPostsRequest.d.ts +2 -0
  338. package/dist/models/ListFacebookPostsRequest.js.map +1 -1
  339. package/dist/models/ListFacebookPostsResponseBody.d.ts +64 -11
  340. package/dist/models/ListFacebookPostsResponseBody.js.map +1 -1
  341. package/dist/models/ListFlowNodeGroupRequest.d.ts +6 -2
  342. package/dist/models/ListFlowNodeGroupRequest.js.map +1 -1
  343. package/dist/models/ListFlowNodeGroupResponseBody.d.ts +47 -4
  344. package/dist/models/ListFlowNodeGroupResponseBody.js.map +1 -1
  345. package/dist/models/ListFlowNodePrototypeV2request.d.ts +25 -5
  346. package/dist/models/ListFlowNodePrototypeV2request.js.map +1 -1
  347. package/dist/models/ListFlowNodePrototypeV2responseBody.d.ts +68 -6
  348. package/dist/models/ListFlowNodePrototypeV2responseBody.js.map +1 -1
  349. package/dist/models/ListFlowResponseBody.d.ts +4 -0
  350. package/dist/models/ListFlowResponseBody.js.map +1 -1
  351. package/dist/models/ListFlowVersionRequest.d.ts +35 -5
  352. package/dist/models/ListFlowVersionRequest.js.map +1 -1
  353. package/dist/models/ListFlowVersionResponseBody.d.ts +31 -4
  354. package/dist/models/ListFlowVersionResponseBody.js.map +1 -1
  355. package/dist/models/ListFlowVersionShrinkRequest.d.ts +35 -5
  356. package/dist/models/ListFlowVersionShrinkRequest.js.map +1 -1
  357. package/dist/models/ListInstagramPageRequest.d.ts +3 -1
  358. package/dist/models/ListInstagramPageRequest.js.map +1 -1
  359. package/dist/models/ListInstagramPageResponseBody.d.ts +112 -1
  360. package/dist/models/ListInstagramPageResponseBody.js.map +1 -1
  361. package/dist/models/ListInstagramPostsResponseBody.d.ts +14 -10
  362. package/dist/models/ListInstagramPostsResponseBody.js.map +1 -1
  363. package/dist/models/ListMarketingFlowRequest.d.ts +34 -3
  364. package/dist/models/ListMarketingFlowRequest.js.map +1 -1
  365. package/dist/models/ListMarketingFlowResponseBody.d.ts +125 -19
  366. package/dist/models/ListMarketingFlowResponseBody.js.map +1 -1
  367. package/dist/models/ListMarketingFlowShrinkRequest.d.ts +34 -3
  368. package/dist/models/ListMarketingFlowShrinkRequest.js.map +1 -1
  369. package/dist/models/ListPageAdAccountRequest.d.ts +6 -2
  370. package/dist/models/ListPageAdAccountRequest.js.map +1 -1
  371. package/dist/models/ListPageAdAccountResponseBody.d.ts +46 -3
  372. package/dist/models/ListPageAdAccountResponseBody.js.map +1 -1
  373. package/dist/models/ListPhoneMessageQrdlRequest.d.ts +7 -2
  374. package/dist/models/ListPhoneMessageQrdlRequest.js.map +1 -1
  375. package/dist/models/ListPhoneMessageQrdlResponseBody.d.ts +11 -4
  376. package/dist/models/ListPhoneMessageQrdlResponseBody.js.map +1 -1
  377. package/dist/models/ListProductCatalogRequest.d.ts +7 -6
  378. package/dist/models/ListProductCatalogRequest.js.map +1 -1
  379. package/dist/models/ListProductCatalogResponseBody.d.ts +11 -13
  380. package/dist/models/ListProductCatalogResponseBody.js.map +1 -1
  381. package/dist/models/ListViberServiceMessageRequest.d.ts +1 -1
  382. package/dist/models/ListViberServiceMessageResponseBody.d.ts +11 -7
  383. package/dist/models/ListViberServiceMessageResponseBody.js.map +1 -1
  384. package/dist/models/ModifyChatappTemplatePropertiesRequest.d.ts +20 -4
  385. package/dist/models/ModifyChatappTemplatePropertiesRequest.js.map +1 -1
  386. package/dist/models/ModifyChatappTemplatePropertiesResponseBody.d.ts +35 -3
  387. package/dist/models/ModifyChatappTemplatePropertiesResponseBody.js.map +1 -1
  388. package/dist/models/ModifyChatappTemplateRequest.d.ts +82 -83
  389. package/dist/models/ModifyChatappTemplateRequest.js.map +1 -1
  390. package/dist/models/ModifyChatappTemplateResponseBody.d.ts +2 -2
  391. package/dist/models/ModifyChatappTemplateShrinkRequest.d.ts +20 -15
  392. package/dist/models/ModifyChatappTemplateShrinkRequest.js.map +1 -1
  393. package/dist/models/ModifyFlowRequest.d.ts +16 -3
  394. package/dist/models/ModifyFlowRequest.js.map +1 -1
  395. package/dist/models/ModifyFlowResponseBody.d.ts +14 -4
  396. package/dist/models/ModifyFlowResponseBody.js.map +1 -1
  397. package/dist/models/ModifyFlowShrinkRequest.d.ts +16 -3
  398. package/dist/models/ModifyFlowShrinkRequest.js.map +1 -1
  399. package/dist/models/ModifyPhoneBusinessProfileRequest.d.ts +7 -9
  400. package/dist/models/ModifyPhoneBusinessProfileRequest.js.map +1 -1
  401. package/dist/models/ModifyPhoneBusinessProfileResponseBody.d.ts +10 -8
  402. package/dist/models/ModifyPhoneBusinessProfileResponseBody.js.map +1 -1
  403. package/dist/models/ModifyPhoneBusinessProfileShrinkRequest.d.ts +7 -9
  404. package/dist/models/ModifyPhoneBusinessProfileShrinkRequest.js.map +1 -1
  405. package/dist/models/MoveContactToGroupRequest.d.ts +3 -3
  406. package/dist/models/MoveContactToGroupResponseBody.d.ts +5 -1
  407. package/dist/models/MoveContactToGroupResponseBody.js.map +1 -1
  408. package/dist/models/MoveContactToGroupShrinkRequest.d.ts +3 -3
  409. package/dist/models/OfflineFlowVersionRequest.d.ts +23 -4
  410. package/dist/models/OfflineFlowVersionRequest.js.map +1 -1
  411. package/dist/models/OfflineFlowVersionResponseBody.d.ts +30 -3
  412. package/dist/models/OfflineFlowVersionResponseBody.js.map +1 -1
  413. package/dist/models/OfflineFlowVersionShrinkRequest.d.ts +23 -4
  414. package/dist/models/OfflineFlowVersionShrinkRequest.js.map +1 -1
  415. package/dist/models/OnlineFlowVersionRequest.d.ts +23 -4
  416. package/dist/models/OnlineFlowVersionRequest.js.map +1 -1
  417. package/dist/models/OnlineFlowVersionResponseBody.d.ts +30 -3
  418. package/dist/models/OnlineFlowVersionResponseBody.js.map +1 -1
  419. package/dist/models/OnlineFlowVersionShrinkRequest.d.ts +23 -4
  420. package/dist/models/OnlineFlowVersionShrinkRequest.js.map +1 -1
  421. package/dist/models/OpenChatappServiceResponseBody.d.ts +16 -0
  422. package/dist/models/OpenChatappServiceResponseBody.js.map +1 -1
  423. package/dist/models/PauseMarketingFlowRequest.d.ts +2 -2
  424. package/dist/models/PauseMarketingFlowResponseBody.d.ts +5 -1
  425. package/dist/models/PauseMarketingFlowResponseBody.js.map +1 -1
  426. package/dist/models/PublishFlowRequest.d.ts +10 -2
  427. package/dist/models/PublishFlowRequest.js.map +1 -1
  428. package/dist/models/PublishFlowResponseBody.d.ts +8 -1
  429. package/dist/models/PublishFlowResponseBody.js.map +1 -1
  430. package/dist/models/QueryMmlactiveRequest.d.ts +1 -1
  431. package/dist/models/QueryMmlactiveResponseBody.d.ts +5 -1
  432. package/dist/models/QueryMmlactiveResponseBody.js.map +1 -1
  433. package/dist/models/QueryPhoneBusinessProfileRequest.d.ts +1 -1
  434. package/dist/models/QueryPhoneBusinessProfileResponseBody.d.ts +8 -10
  435. package/dist/models/QueryPhoneBusinessProfileResponseBody.js.map +1 -1
  436. package/dist/models/ReadChatFlowLogSettingRequest.d.ts +4 -1
  437. package/dist/models/ReadChatFlowLogSettingRequest.js.map +1 -1
  438. package/dist/models/ReadChatFlowLogSettingResponseBody.d.ts +30 -3
  439. package/dist/models/ReadChatFlowLogSettingResponseBody.js.map +1 -1
  440. package/dist/models/ReadChatFlowRequest.d.ts +15 -2
  441. package/dist/models/ReadChatFlowRequest.js.map +1 -1
  442. package/dist/models/ReadChatFlowResponseBody.d.ts +31 -4
  443. package/dist/models/ReadChatFlowResponseBody.js.map +1 -1
  444. package/dist/models/ReadChatFlowShrinkRequest.d.ts +15 -2
  445. package/dist/models/ReadChatFlowShrinkRequest.js.map +1 -1
  446. package/dist/models/ReadFlowVersionRequest.d.ts +27 -4
  447. package/dist/models/ReadFlowVersionRequest.js.map +1 -1
  448. package/dist/models/ReadFlowVersionResponseBody.d.ts +30 -3
  449. package/dist/models/ReadFlowVersionResponseBody.js.map +1 -1
  450. package/dist/models/ReadFlowVersionShrinkRequest.d.ts +27 -4
  451. package/dist/models/ReadFlowVersionShrinkRequest.js.map +1 -1
  452. package/dist/models/RemoveContactByIdRequest.d.ts +2 -2
  453. package/dist/models/RemoveContactByIdResponseBody.d.ts +4 -0
  454. package/dist/models/RemoveContactByIdResponseBody.js.map +1 -1
  455. package/dist/models/SendChatappMassMessageRequest.d.ts +43 -65
  456. package/dist/models/SendChatappMassMessageRequest.js +2 -0
  457. package/dist/models/SendChatappMassMessageRequest.js.map +1 -1
  458. package/dist/models/SendChatappMassMessageResponseBody.d.ts +3 -3
  459. package/dist/models/SendChatappMassMessageShrinkRequest.d.ts +26 -48
  460. package/dist/models/SendChatappMassMessageShrinkRequest.js.map +1 -1
  461. package/dist/models/SendChatappMessageRequest.d.ts +125 -235
  462. package/dist/models/SendChatappMessageRequest.js.map +1 -1
  463. package/dist/models/SendChatappMessageResponseBody.d.ts +6 -6
  464. package/dist/models/SendChatappMessageShrinkRequest.d.ts +124 -234
  465. package/dist/models/SendChatappMessageShrinkRequest.js.map +1 -1
  466. package/dist/models/SyncBusinessAppHistoryRequest.d.ts +2 -2
  467. package/dist/models/SyncBusinessAppHistoryResponseBody.d.ts +6 -8
  468. package/dist/models/SyncBusinessAppHistoryResponseBody.js.map +1 -1
  469. package/dist/models/SyncFlowRequest.d.ts +1 -1
  470. package/dist/models/SyncFlowResponseBody.d.ts +5 -1
  471. package/dist/models/SyncFlowResponseBody.js.map +1 -1
  472. package/dist/models/SyncMessengerSubscriptionTokenRequest.d.ts +2 -2
  473. package/dist/models/SyncMessengerSubscriptionTokenResponseBody.d.ts +4 -4
  474. package/dist/models/UnbindDmAccountRequest.d.ts +1 -1
  475. package/dist/models/UnbindDmAccountResponseBody.d.ts +8 -4
  476. package/dist/models/UnbindDmAccountResponseBody.js.map +1 -1
  477. package/dist/models/UpdateChatFlowLogSettingRequest.d.ts +17 -3
  478. package/dist/models/UpdateChatFlowLogSettingRequest.js.map +1 -1
  479. package/dist/models/UpdateChatFlowLogSettingResponseBody.d.ts +30 -3
  480. package/dist/models/UpdateChatFlowLogSettingResponseBody.js.map +1 -1
  481. package/dist/models/UpdateChatFlowRequest.d.ts +23 -4
  482. package/dist/models/UpdateChatFlowRequest.js.map +1 -1
  483. package/dist/models/UpdateChatFlowResponseBody.d.ts +30 -3
  484. package/dist/models/UpdateChatFlowResponseBody.js.map +1 -1
  485. package/dist/models/UpdateChatFlowShrinkRequest.d.ts +23 -4
  486. package/dist/models/UpdateChatFlowShrinkRequest.js.map +1 -1
  487. package/dist/models/UpdateChatGroupRequest.d.ts +12 -17
  488. package/dist/models/UpdateChatGroupRequest.js.map +1 -1
  489. package/dist/models/UpdateChatGroupResponseBody.d.ts +2 -4
  490. package/dist/models/UpdateChatGroupResponseBody.js.map +1 -1
  491. package/dist/models/UpdateContactByIdResponseBody.d.ts +4 -0
  492. package/dist/models/UpdateContactByIdResponseBody.js.map +1 -1
  493. package/dist/models/UpdateConversationalAutomationRequest.d.ts +6 -6
  494. package/dist/models/UpdateConversationalAutomationResponseBody.d.ts +6 -8
  495. package/dist/models/UpdateConversationalAutomationResponseBody.js.map +1 -1
  496. package/dist/models/UpdateConversationalAutomationShrinkRequest.d.ts +5 -5
  497. package/dist/models/UpdateFlowJsonassetRequest.d.ts +10 -3
  498. package/dist/models/UpdateFlowJsonassetRequest.js.map +1 -1
  499. package/dist/models/UpdateFlowJsonassetResponseBody.d.ts +9 -2
  500. package/dist/models/UpdateFlowJsonassetResponseBody.js.map +1 -1
  501. package/dist/models/UpdateFlowVersionRequest.d.ts +37 -5
  502. package/dist/models/UpdateFlowVersionRequest.js.map +1 -1
  503. package/dist/models/UpdateFlowVersionResponseBody.d.ts +33 -3
  504. package/dist/models/UpdateFlowVersionResponseBody.js.map +1 -1
  505. package/dist/models/UpdateFlowVersionShrinkRequest.d.ts +37 -5
  506. package/dist/models/UpdateFlowVersionShrinkRequest.js.map +1 -1
  507. package/dist/models/UpdateGroupNameResponseBody.d.ts +4 -0
  508. package/dist/models/UpdateGroupNameResponseBody.js.map +1 -1
  509. package/dist/models/UpdateMarketingFlowRequest.d.ts +52 -13
  510. package/dist/models/UpdateMarketingFlowRequest.js.map +1 -1
  511. package/dist/models/UpdateMarketingFlowResponseBody.d.ts +38 -4
  512. package/dist/models/UpdateMarketingFlowResponseBody.js.map +1 -1
  513. package/dist/models/UpdateMarketingFlowShrinkRequest.d.ts +52 -13
  514. package/dist/models/UpdateMarketingFlowShrinkRequest.js.map +1 -1
  515. package/dist/models/UpdatePhoneEncryptionPublicKeyRequest.d.ts +15 -3
  516. package/dist/models/UpdatePhoneEncryptionPublicKeyRequest.js.map +1 -1
  517. package/dist/models/UpdatePhoneEncryptionPublicKeyResponseBody.d.ts +9 -2
  518. package/dist/models/UpdatePhoneEncryptionPublicKeyResponseBody.js.map +1 -1
  519. package/dist/models/UpdatePhoneMessageQrdlRequest.d.ts +23 -5
  520. package/dist/models/UpdatePhoneMessageQrdlRequest.js.map +1 -1
  521. package/dist/models/UpdatePhoneMessageQrdlResponseBody.d.ts +9 -2
  522. package/dist/models/UpdatePhoneMessageQrdlResponseBody.js.map +1 -1
  523. package/dist/models/UpdatePhoneWebhookRequest.d.ts +6 -6
  524. package/dist/models/UpdatePhoneWebhookResponseBody.d.ts +5 -5
  525. package/dist/models/UpdateWabaMmlStatusRequest.d.ts +6 -0
  526. package/dist/models/UpdateWabaMmlStatusRequest.js.map +1 -1
  527. package/dist/models/UpdateWabaMmlStatusResponseBody.d.ts +34 -0
  528. package/dist/models/UpdateWabaMmlStatusResponseBody.js.map +1 -1
  529. package/dist/models/UpdateWhatsappUserNameRequest.d.ts +58 -0
  530. package/dist/models/UpdateWhatsappUserNameRequest.js +64 -0
  531. package/dist/models/UpdateWhatsappUserNameRequest.js.map +1 -0
  532. package/dist/models/UpdateWhatsappUserNameResponse.d.ts +19 -0
  533. package/dist/models/UpdateWhatsappUserNameResponse.js +69 -0
  534. package/dist/models/UpdateWhatsappUserNameResponse.js.map +1 -0
  535. package/dist/models/UpdateWhatsappUserNameResponseBody.d.ts +84 -0
  536. package/dist/models/UpdateWhatsappUserNameResponseBody.js +90 -0
  537. package/dist/models/UpdateWhatsappUserNameResponseBody.js.map +1 -0
  538. package/dist/models/model.d.ts +20 -0
  539. package/dist/models/model.js +55 -15
  540. package/dist/models/model.js.map +1 -1
  541. package/package.json +1 -1
  542. package/src/client.ts +906 -390
  543. package/src/models/AddAddressRecoverSuspendRequest.ts +27 -0
  544. package/src/models/AddAddressRecoverSuspendResponseBody.ts +28 -0
  545. package/src/models/AddAddressRecoverSuspendShrinkRequest.ts +10 -0
  546. package/src/models/AddChatGroupInviteLinkRequest.ts +6 -6
  547. package/src/models/AddChatGroupInviteLinkResponseBody.ts +2 -4
  548. package/src/models/AddChatappPhoneNumberRequest.ts +3 -4
  549. package/src/models/AddChatappPhoneNumberResponseBody.ts +6 -8
  550. package/src/models/AddContactsRequest.ts +35 -0
  551. package/src/models/AddContactsResponseBody.ts +24 -0
  552. package/src/models/AddContactsShrinkRequest.ts +35 -0
  553. package/src/models/AddGroupRequest.ts +34 -0
  554. package/src/models/AddGroupResponseBody.ts +29 -1
  555. package/src/models/AddGroupShrinkRequest.ts +34 -0
  556. package/src/models/AddMarketingFlowResponseBody.ts +4 -0
  557. package/src/models/ArchiveChatappTemplateRequest.ts +120 -0
  558. package/src/models/ArchiveChatappTemplateResponse.ts +40 -0
  559. package/src/models/ArchiveChatappTemplateResponseBody.ts +156 -0
  560. package/src/models/ArchiveChatappTemplateShrinkRequest.ts +73 -0
  561. package/src/models/BindDmAccountRequest.ts +10 -0
  562. package/src/models/BindDmAccountResponseBody.ts +28 -0
  563. package/src/models/BindDmAccountShrinkRequest.ts +6 -0
  564. package/src/models/BindInstagramPageRequest.ts +7 -0
  565. package/src/models/BindInstagramPageResponseBody.ts +37 -0
  566. package/src/models/BindMessengerPageResponseBody.ts +4 -0
  567. package/src/models/ChangeResourceGroupRequest.ts +10 -0
  568. package/src/models/ChangeResourceGroupResponseBody.ts +4 -0
  569. package/src/models/ChatappBindWabaRequest.ts +1 -1
  570. package/src/models/ChatappBindWabaResponseBody.ts +6 -8
  571. package/src/models/ChatappMigrationRegisterRequest.ts +2 -2
  572. package/src/models/ChatappMigrationRegisterResponseBody.ts +4 -4
  573. package/src/models/ChatappMigrationVerifiedRequest.ts +1 -1
  574. package/src/models/ChatappMigrationVerifiedResponseBody.ts +4 -4
  575. package/src/models/ChatappPhoneNumberDeregisterRequest.ts +6 -2
  576. package/src/models/ChatappPhoneNumberDeregisterResponseBody.ts +2 -2
  577. package/src/models/ChatappPhoneNumberRegisterRequest.ts +1 -1
  578. package/src/models/ChatappPhoneNumberRegisterResponseBody.ts +6 -8
  579. package/src/models/ChatappSyncPhoneNumberRequest.ts +1 -1
  580. package/src/models/ChatappSyncPhoneNumberResponseBody.ts +24 -60
  581. package/src/models/ChatappVerifyAndRegisterRequest.ts +1 -1
  582. package/src/models/ChatappVerifyAndRegisterResponseBody.ts +5 -7
  583. package/src/models/CheckDirectSendMessageSampleRequest.ts +4 -6
  584. package/src/models/CheckDirectSendMessageSampleResponseBody.ts +14 -14
  585. package/src/models/CheckDirectSendMessageSampleShrinkRequest.ts +4 -6
  586. package/src/models/CopyTemplateRequest.ts +11 -1
  587. package/src/models/CopyTemplateResponseBody.ts +34 -0
  588. package/src/models/CreateChatFlowByImportRequest.ts +33 -4
  589. package/src/models/CreateChatFlowByImportResponseBody.ts +31 -4
  590. package/src/models/CreateChatFlowByImportShrinkRequest.ts +33 -4
  591. package/src/models/CreateChatFlowLogSettingRequest.ts +4 -1
  592. package/src/models/CreateChatFlowLogSettingResponseBody.ts +30 -3
  593. package/src/models/CreateChatFlowRequest.ts +33 -4
  594. package/src/models/CreateChatFlowResponseBody.ts +34 -3
  595. package/src/models/CreateChatFlowShrinkRequest.ts +33 -4
  596. package/src/models/CreateFlowRequest.ts +12 -2
  597. package/src/models/CreateFlowResponseBody.ts +10 -3
  598. package/src/models/CreateFlowShrinkRequest.ts +12 -2
  599. package/src/models/CreateFlowVersionRequest.ts +23 -4
  600. package/src/models/CreateFlowVersionResponseBody.ts +31 -4
  601. package/src/models/CreateFlowVersionShrinkRequest.ts +23 -4
  602. package/src/models/CreatePhoneMessageQrdlRequest.ts +22 -4
  603. package/src/models/CreatePhoneMessageQrdlResponseBody.ts +9 -2
  604. package/src/models/CreateWhatsappConversionApiRequest.ts +2 -2
  605. package/src/models/CreateWhatsappConversionApiResponseBody.ts +5 -1
  606. package/src/models/CreateWhatsappConversionApiShrinkRequest.ts +2 -2
  607. package/src/models/DeleteChatFlowRequest.ts +15 -2
  608. package/src/models/DeleteChatFlowResponseBody.ts +31 -4
  609. package/src/models/DeleteChatFlowShrinkRequest.ts +15 -2
  610. package/src/models/DeleteChatGroupInviteLinkRequest.ts +6 -6
  611. package/src/models/DeleteChatGroupInviteLinkResponseBody.ts +4 -6
  612. package/src/models/DeleteChatGroupRequest.ts +3 -5
  613. package/src/models/DeleteChatGroupResponseBody.ts +3 -5
  614. package/src/models/DeleteContactsByIdsRequest.ts +2 -0
  615. package/src/models/DeleteContactsByIdsResponseBody.ts +28 -0
  616. package/src/models/DeleteContactsRequest.ts +4 -4
  617. package/src/models/DeleteContactsResponseBody.ts +7 -3
  618. package/src/models/DeleteContactsShrinkRequest.ts +4 -4
  619. package/src/models/DeleteFlowRequest.ts +7 -2
  620. package/src/models/DeleteFlowResponseBody.ts +9 -2
  621. package/src/models/DeleteFlowVersionRequest.ts +19 -3
  622. package/src/models/DeleteFlowVersionResponseBody.ts +34 -4
  623. package/src/models/DeleteFlowVersionShrinkRequest.ts +19 -3
  624. package/src/models/DeleteGroupByIdRequest.ts +1 -1
  625. package/src/models/DeleteGroupByIdResponseBody.ts +6 -2
  626. package/src/models/DeleteInstagramPageResponseBody.ts +5 -1
  627. package/src/models/DeleteMarketingFlowRequest.ts +8 -2
  628. package/src/models/DeleteMarketingFlowResponseBody.ts +34 -4
  629. package/src/models/DeleteMessengerPageRequest.ts +1 -1
  630. package/src/models/DeleteMessengerPageResponseBody.ts +4 -0
  631. package/src/models/DeletePhoneMessageQrdlRequest.ts +10 -3
  632. package/src/models/DeletePhoneMessageQrdlResponseBody.ts +7 -0
  633. package/src/models/DeleteWhatsappUserNameRequest.ts +51 -0
  634. package/src/models/DeleteWhatsappUserNameResponse.ts +40 -0
  635. package/src/models/DeleteWhatsappUserNameResponseBody.ts +92 -0
  636. package/src/models/DeprecateFlowResponseBody.ts +4 -0
  637. package/src/models/EnableWhatsappRoimetricRequest.ts +2 -2
  638. package/src/models/EnableWhatsappRoimetricResponseBody.ts +4 -4
  639. package/src/models/FlowBindPhoneRequest.ts +34 -5
  640. package/src/models/FlowBindPhoneResponseBody.ts +33 -3
  641. package/src/models/FlowBindPhoneShrinkRequest.ts +34 -5
  642. package/src/models/FlowRebindPhoneRequest.ts +32 -5
  643. package/src/models/FlowRebindPhoneResponseBody.ts +34 -4
  644. package/src/models/FlowRebindPhoneShrinkRequest.ts +32 -5
  645. package/src/models/FlowUnbindPhoneRequest.ts +25 -3
  646. package/src/models/FlowUnbindPhoneResponseBody.ts +30 -3
  647. package/src/models/FlowUnbindPhoneShrinkRequest.ts +25 -3
  648. package/src/models/GeneratePresignedUrlRequest.ts +3 -1
  649. package/src/models/GeneratePresignedUrlResponseBody.ts +38 -5
  650. package/src/models/GetAuditRequestByTypeUnAuditRequest.ts +2 -2
  651. package/src/models/GetAuditRequestByTypeUnAuditResponseBody.ts +44 -40
  652. package/src/models/GetChatFlowMetricRequest.ts +51 -6
  653. package/src/models/GetChatFlowMetricResponseBody.ts +34 -3
  654. package/src/models/GetChatFlowMetricShrinkRequest.ts +51 -6
  655. package/src/models/GetChatFlowTemplateRequest.ts +6 -1
  656. package/src/models/GetChatFlowTemplateResponseBody.ts +47 -0
  657. package/src/models/GetChatappOpenStatusResponseBody.ts +32 -0
  658. package/src/models/GetChatappPhoneNumberMetricRequest.ts +8 -10
  659. package/src/models/GetChatappPhoneNumberMetricResponseBody.ts +7 -7
  660. package/src/models/GetChatappPhoneNumberSettingRequest.ts +5 -0
  661. package/src/models/GetChatappPhoneNumberSettingResponseBody.ts +38 -3
  662. package/src/models/GetChatappTemplateDetailRequest.ts +8 -10
  663. package/src/models/GetChatappTemplateDetailResponseBody.ts +117 -111
  664. package/src/models/GetChatappTemplateMetricRequest.ts +10 -13
  665. package/src/models/GetChatappTemplateMetricResponseBody.ts +8 -11
  666. package/src/models/GetCustomerSiteResponseBody.ts +27 -4
  667. package/src/models/GetDownloadExcelListRequest.ts +1 -1
  668. package/src/models/GetDownloadExcelListResponseBody.ts +8 -4
  669. package/src/models/GetDownloadExcelListShrinkRequest.ts +1 -1
  670. package/src/models/GetFbInstagramPagesRequest.ts +1 -1
  671. package/src/models/GetFbInstagramPagesResponseBody.ts +5 -1
  672. package/src/models/GetFbMessengerPagesRequest.ts +1 -1
  673. package/src/models/GetFbMessengerPagesResponseBody.ts +5 -1
  674. package/src/models/GetFlowJsonassestResponseBody.ts +4 -0
  675. package/src/models/GetFlowPreviewUrlResponseBody.ts +4 -0
  676. package/src/models/GetGroupExistRequest.ts +1 -1
  677. package/src/models/GetGroupExistResponseBody.ts +8 -4
  678. package/src/models/GetGroupExistShrinkRequest.ts +1 -1
  679. package/src/models/GetMigrationVerifyCodeRequest.ts +2 -2
  680. package/src/models/GetMigrationVerifyCodeResponseBody.ts +2 -2
  681. package/src/models/GetPermissionByCodeRequest.ts +11 -2
  682. package/src/models/GetPermissionByCodeResponseBody.ts +9 -2
  683. package/src/models/GetPermissionByCodeShrinkRequest.ts +11 -2
  684. package/src/models/GetPhoneEncryptionPublicKeyRequest.ts +12 -2
  685. package/src/models/GetPhoneEncryptionPublicKeyResponseBody.ts +10 -3
  686. package/src/models/GetPhoneNumberVerificationStatusResponseBody.ts +4 -0
  687. package/src/models/GetPledgeTemplateAddressRequest.ts +8 -2
  688. package/src/models/GetPledgeTemplateAddressResponseBody.ts +36 -3
  689. package/src/models/GetViberPauseTimesRequest.ts +1 -1
  690. package/src/models/GetViberPauseTimesResponseBody.ts +11 -3
  691. package/src/models/GetWhatsappConversionApiRequest.ts +1 -1
  692. package/src/models/GetWhatsappConversionApiResponseBody.ts +10 -6
  693. package/src/models/GetWhatsappUserNameRequest.ts +48 -0
  694. package/src/models/GetWhatsappUserNameResponse.ts +40 -0
  695. package/src/models/GetWhatsappUserNameResponseBody.ts +130 -0
  696. package/src/models/GetWhatsappUserNameSuggestionsRequest.ts +51 -0
  697. package/src/models/GetWhatsappUserNameSuggestionsResponse.ts +40 -0
  698. package/src/models/GetWhatsappUserNameSuggestionsResponseBody.ts +90 -0
  699. package/src/models/IsvGetAppIdRequest.ts +13 -3
  700. package/src/models/IsvGetAppIdResponseBody.ts +5 -5
  701. package/src/models/ListAllGroupsResponseBody.ts +10 -6
  702. package/src/models/ListBindDmAccountResponseBody.ts +12 -8
  703. package/src/models/ListBindingRelationsForFlowVersionRequest.ts +16 -2
  704. package/src/models/ListBindingRelationsForFlowVersionResponseBody.ts +30 -3
  705. package/src/models/ListChatFlowRequest.ts +43 -6
  706. package/src/models/ListChatFlowResponseBody.ts +30 -3
  707. package/src/models/ListChatFlowShrinkRequest.ts +43 -6
  708. package/src/models/ListChatFlowTemplateRequest.ts +29 -5
  709. package/src/models/ListChatFlowTemplateResponseBody.ts +47 -0
  710. package/src/models/ListChatGroupRequest.ts +6 -9
  711. package/src/models/ListChatGroupResponseBody.ts +14 -16
  712. package/src/models/ListChatGroupShrinkRequest.ts +6 -9
  713. package/src/models/ListChatappMessageRequest.ts +49 -3
  714. package/src/models/ListChatappMessageResponseBody.ts +143 -28
  715. package/src/models/ListChatappMessageShrinkRequest.ts +43 -1
  716. package/src/models/ListDmAccountRequest.ts +16 -4
  717. package/src/models/ListDmAccountResponseBody.ts +53 -4
  718. package/src/models/ListDmTagRequest.ts +3 -3
  719. package/src/models/ListDmTagResponseBody.ts +7 -3
  720. package/src/models/ListFacebookPostsRequest.ts +2 -0
  721. package/src/models/ListFacebookPostsResponseBody.ts +64 -11
  722. package/src/models/ListFlowNodeGroupRequest.ts +6 -2
  723. package/src/models/ListFlowNodeGroupResponseBody.ts +47 -4
  724. package/src/models/ListFlowNodePrototypeV2request.ts +25 -5
  725. package/src/models/ListFlowNodePrototypeV2responseBody.ts +68 -6
  726. package/src/models/ListFlowResponseBody.ts +4 -0
  727. package/src/models/ListFlowVersionRequest.ts +35 -5
  728. package/src/models/ListFlowVersionResponseBody.ts +31 -4
  729. package/src/models/ListFlowVersionShrinkRequest.ts +35 -5
  730. package/src/models/ListInstagramPageRequest.ts +3 -1
  731. package/src/models/ListInstagramPageResponseBody.ts +112 -1
  732. package/src/models/ListInstagramPostsResponseBody.ts +14 -10
  733. package/src/models/ListMarketingFlowRequest.ts +34 -3
  734. package/src/models/ListMarketingFlowResponseBody.ts +125 -19
  735. package/src/models/ListMarketingFlowShrinkRequest.ts +34 -3
  736. package/src/models/ListPageAdAccountRequest.ts +6 -2
  737. package/src/models/ListPageAdAccountResponseBody.ts +46 -3
  738. package/src/models/ListPhoneMessageQrdlRequest.ts +7 -2
  739. package/src/models/ListPhoneMessageQrdlResponseBody.ts +11 -4
  740. package/src/models/ListProductCatalogRequest.ts +7 -6
  741. package/src/models/ListProductCatalogResponseBody.ts +11 -13
  742. package/src/models/ListViberServiceMessageRequest.ts +1 -1
  743. package/src/models/ListViberServiceMessageResponseBody.ts +11 -7
  744. package/src/models/ModifyChatappTemplatePropertiesRequest.ts +20 -4
  745. package/src/models/ModifyChatappTemplatePropertiesResponseBody.ts +35 -3
  746. package/src/models/ModifyChatappTemplateRequest.ts +82 -83
  747. package/src/models/ModifyChatappTemplateResponseBody.ts +2 -2
  748. package/src/models/ModifyChatappTemplateShrinkRequest.ts +20 -15
  749. package/src/models/ModifyFlowRequest.ts +16 -3
  750. package/src/models/ModifyFlowResponseBody.ts +14 -4
  751. package/src/models/ModifyFlowShrinkRequest.ts +16 -3
  752. package/src/models/ModifyPhoneBusinessProfileRequest.ts +7 -9
  753. package/src/models/ModifyPhoneBusinessProfileResponseBody.ts +10 -8
  754. package/src/models/ModifyPhoneBusinessProfileShrinkRequest.ts +7 -9
  755. package/src/models/MoveContactToGroupRequest.ts +3 -3
  756. package/src/models/MoveContactToGroupResponseBody.ts +5 -1
  757. package/src/models/MoveContactToGroupShrinkRequest.ts +3 -3
  758. package/src/models/OfflineFlowVersionRequest.ts +23 -4
  759. package/src/models/OfflineFlowVersionResponseBody.ts +30 -3
  760. package/src/models/OfflineFlowVersionShrinkRequest.ts +23 -4
  761. package/src/models/OnlineFlowVersionRequest.ts +23 -4
  762. package/src/models/OnlineFlowVersionResponseBody.ts +30 -3
  763. package/src/models/OnlineFlowVersionShrinkRequest.ts +23 -4
  764. package/src/models/OpenChatappServiceResponseBody.ts +16 -0
  765. package/src/models/PauseMarketingFlowRequest.ts +2 -2
  766. package/src/models/PauseMarketingFlowResponseBody.ts +5 -1
  767. package/src/models/PublishFlowRequest.ts +10 -2
  768. package/src/models/PublishFlowResponseBody.ts +8 -1
  769. package/src/models/QueryMmlactiveRequest.ts +1 -1
  770. package/src/models/QueryMmlactiveResponseBody.ts +5 -1
  771. package/src/models/QueryPhoneBusinessProfileRequest.ts +1 -1
  772. package/src/models/QueryPhoneBusinessProfileResponseBody.ts +8 -10
  773. package/src/models/ReadChatFlowLogSettingRequest.ts +4 -1
  774. package/src/models/ReadChatFlowLogSettingResponseBody.ts +30 -3
  775. package/src/models/ReadChatFlowRequest.ts +15 -2
  776. package/src/models/ReadChatFlowResponseBody.ts +31 -4
  777. package/src/models/ReadChatFlowShrinkRequest.ts +15 -2
  778. package/src/models/ReadFlowVersionRequest.ts +27 -4
  779. package/src/models/ReadFlowVersionResponseBody.ts +30 -3
  780. package/src/models/ReadFlowVersionShrinkRequest.ts +27 -4
  781. package/src/models/RemoveContactByIdRequest.ts +2 -2
  782. package/src/models/RemoveContactByIdResponseBody.ts +4 -0
  783. package/src/models/SendChatappMassMessageRequest.ts +45 -65
  784. package/src/models/SendChatappMassMessageResponseBody.ts +3 -3
  785. package/src/models/SendChatappMassMessageShrinkRequest.ts +26 -48
  786. package/src/models/SendChatappMessageRequest.ts +128 -238
  787. package/src/models/SendChatappMessageResponseBody.ts +6 -6
  788. package/src/models/SendChatappMessageShrinkRequest.ts +127 -237
  789. package/src/models/SyncBusinessAppHistoryRequest.ts +2 -2
  790. package/src/models/SyncBusinessAppHistoryResponseBody.ts +6 -8
  791. package/src/models/SyncFlowRequest.ts +1 -1
  792. package/src/models/SyncFlowResponseBody.ts +5 -1
  793. package/src/models/SyncMessengerSubscriptionTokenRequest.ts +2 -2
  794. package/src/models/SyncMessengerSubscriptionTokenResponseBody.ts +4 -4
  795. package/src/models/UnbindDmAccountRequest.ts +1 -1
  796. package/src/models/UnbindDmAccountResponseBody.ts +8 -4
  797. package/src/models/UpdateChatFlowLogSettingRequest.ts +17 -3
  798. package/src/models/UpdateChatFlowLogSettingResponseBody.ts +30 -3
  799. package/src/models/UpdateChatFlowRequest.ts +23 -4
  800. package/src/models/UpdateChatFlowResponseBody.ts +30 -3
  801. package/src/models/UpdateChatFlowShrinkRequest.ts +23 -4
  802. package/src/models/UpdateChatGroupRequest.ts +12 -17
  803. package/src/models/UpdateChatGroupResponseBody.ts +2 -4
  804. package/src/models/UpdateContactByIdResponseBody.ts +4 -0
  805. package/src/models/UpdateConversationalAutomationRequest.ts +6 -6
  806. package/src/models/UpdateConversationalAutomationResponseBody.ts +6 -8
  807. package/src/models/UpdateConversationalAutomationShrinkRequest.ts +5 -5
  808. package/src/models/UpdateFlowJsonassetRequest.ts +10 -3
  809. package/src/models/UpdateFlowJsonassetResponseBody.ts +9 -2
  810. package/src/models/UpdateFlowVersionRequest.ts +37 -5
  811. package/src/models/UpdateFlowVersionResponseBody.ts +33 -3
  812. package/src/models/UpdateFlowVersionShrinkRequest.ts +37 -5
  813. package/src/models/UpdateGroupNameResponseBody.ts +4 -0
  814. package/src/models/UpdateMarketingFlowRequest.ts +52 -13
  815. package/src/models/UpdateMarketingFlowResponseBody.ts +38 -4
  816. package/src/models/UpdateMarketingFlowShrinkRequest.ts +52 -13
  817. package/src/models/UpdatePhoneEncryptionPublicKeyRequest.ts +15 -3
  818. package/src/models/UpdatePhoneEncryptionPublicKeyResponseBody.ts +9 -2
  819. package/src/models/UpdatePhoneMessageQrdlRequest.ts +23 -5
  820. package/src/models/UpdatePhoneMessageQrdlResponseBody.ts +9 -2
  821. package/src/models/UpdatePhoneWebhookRequest.ts +6 -6
  822. package/src/models/UpdatePhoneWebhookResponseBody.ts +5 -5
  823. package/src/models/UpdateWabaMmlStatusRequest.ts +6 -0
  824. package/src/models/UpdateWabaMmlStatusResponseBody.ts +34 -0
  825. package/src/models/UpdateWhatsappUserNameRequest.ts +77 -0
  826. package/src/models/UpdateWhatsappUserNameResponse.ts +40 -0
  827. package/src/models/UpdateWhatsappUserNameResponseBody.ts +120 -0
  828. package/src/models/model.ts +20 -0
package/src/client.ts CHANGED
@@ -33,7 +33,7 @@ export default class Client extends OpenApi {
33
33
  }
34
34
 
35
35
  /**
36
- * 申请:变更目的地/恢复/暂停
36
+ * Submits a request to change the destination, resume, or pause.
37
37
  *
38
38
  * @param tmpReq - AddAddressRecoverSuspendRequest
39
39
  * @param runtime - runtime options for this request RuntimeOptions
@@ -90,7 +90,7 @@ export default class Client extends OpenApi {
90
90
  }
91
91
 
92
92
  /**
93
- * 申请:变更目的地/恢复/暂停
93
+ * Submits a request to change the destination, resume, or pause.
94
94
  *
95
95
  * @param request - AddAddressRecoverSuspendRequest
96
96
  * @returns AddAddressRecoverSuspendResponse
@@ -257,16 +257,15 @@ export default class Client extends OpenApi {
257
257
  }
258
258
 
259
259
  /**
260
- * Adds an invite link for an Instant Messaging (IM) group.
260
+ * Adds an invite link for an IM group.
261
261
  *
262
262
  * @remarks
263
- * >Notice:
264
- * The API for adding invite links to IM groups is in beta testing on Meta. Contact your account manager to add your account to the allowlist.
265
- * - Before you call this operation, make sure that an IM group has been created.
266
- * - If you do not have an IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2932518.html) operation to create one.
267
- * - After you add an invite link by calling this operation, you can use the link to invite members to the group.
268
- * - Currently, members can join an IM group only using an invite link.
269
- * - A WhatsApp group can have a maximum of 8 members.
263
+ * >Notice: Adding IM group invite links through the API is a Meta beta feature. Contact your account manager to apply for access.
264
+ * - Before calling this operation, make sure that you have a successfully created IM group.
265
+ * - If you do not have a successfully created IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
266
+ * - After you call this operation to add an IM group invite link, you can use the link to invite members to join the IM group.
267
+ * - Currently, members can join an IM group only through an invite link.
268
+ * - The maximum number of members in a WhatsApp group is 8.
270
269
  *
271
270
  * @param request - AddChatGroupInviteLinkRequest
272
271
  * @param runtime - runtime options for this request RuntimeOptions
@@ -321,16 +320,15 @@ export default class Client extends OpenApi {
321
320
  }
322
321
 
323
322
  /**
324
- * Adds an invite link for an Instant Messaging (IM) group.
323
+ * Adds an invite link for an IM group.
325
324
  *
326
325
  * @remarks
327
- * >Notice:
328
- * The API for adding invite links to IM groups is in beta testing on Meta. Contact your account manager to add your account to the allowlist.
329
- * - Before you call this operation, make sure that an IM group has been created.
330
- * - If you do not have an IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2932518.html) operation to create one.
331
- * - After you add an invite link by calling this operation, you can use the link to invite members to the group.
332
- * - Currently, members can join an IM group only using an invite link.
333
- * - A WhatsApp group can have a maximum of 8 members.
326
+ * >Notice: Adding IM group invite links through the API is a Meta beta feature. Contact your account manager to apply for access.
327
+ * - Before calling this operation, make sure that you have a successfully created IM group.
328
+ * - If you do not have a successfully created IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
329
+ * - After you call this operation to add an IM group invite link, you can use the link to invite members to join the IM group.
330
+ * - Currently, members can join an IM group only through an invite link.
331
+ * - The maximum number of members in a WhatsApp group is 8.
334
332
  *
335
333
  * @param request - AddChatGroupInviteLinkRequest
336
334
  * @returns AddChatGroupInviteLinkResponse
@@ -341,10 +339,10 @@ export default class Client extends OpenApi {
341
339
  }
342
340
 
343
341
  /**
344
- * Adds a phone number to a WhatsApp Business Account (WABA).
342
+ * Adds a phone number to a WABA.
345
343
  *
346
344
  * @remarks
347
- * This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
345
+ * The China site (Chinese mainland) QPS limit for a single user on this API is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
348
346
  *
349
347
  * @param request - AddChatappPhoneNumberRequest
350
348
  * @param runtime - runtime options for this request RuntimeOptions
@@ -403,10 +401,10 @@ export default class Client extends OpenApi {
403
401
  }
404
402
 
405
403
  /**
406
- * Adds a phone number to a WhatsApp Business Account (WABA).
404
+ * Adds a phone number to a WABA.
407
405
  *
408
406
  * @remarks
409
- * This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
407
+ * The China site (Chinese mainland) QPS limit for a single user on this API is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
410
408
  *
411
409
  * @param request - AddChatappPhoneNumberRequest
412
410
  * @returns AddChatappPhoneNumberResponse
@@ -417,7 +415,7 @@ export default class Client extends OpenApi {
417
415
  }
418
416
 
419
417
  /**
420
- * 编辑联系人-新增联系人
418
+ * Edits a contact - add contact.
421
419
  *
422
420
  * @param tmpReq - AddContactsRequest
423
421
  * @param runtime - runtime options for this request RuntimeOptions
@@ -502,7 +500,7 @@ export default class Client extends OpenApi {
502
500
  }
503
501
 
504
502
  /**
505
- * 编辑联系人-新增联系人
503
+ * Edits a contact - add contact.
506
504
  *
507
505
  * @param request - AddContactsRequest
508
506
  * @returns AddContactsResponse
@@ -603,7 +601,7 @@ export default class Client extends OpenApi {
603
601
  }
604
602
 
605
603
  /**
606
- * 添加群组
604
+ * Adds a group.
607
605
  *
608
606
  * @param tmpReq - AddGroupRequest
609
607
  * @param runtime - runtime options for this request RuntimeOptions
@@ -684,7 +682,7 @@ export default class Client extends OpenApi {
684
682
  }
685
683
 
686
684
  /**
687
- * 添加群组
685
+ * Adds a group.
688
686
  *
689
687
  * @param request - AddGroupRequest
690
688
  * @returns AddGroupResponse
@@ -807,7 +805,67 @@ export default class Client extends OpenApi {
807
805
  }
808
806
 
809
807
  /**
810
- * 绑定DM账号
808
+ * Archives a Chat App Message Service template. Currently, only WhatsApp templates support archiving.
809
+ *
810
+ * @param tmpReq - ArchiveChatappTemplateRequest
811
+ * @param runtime - runtime options for this request RuntimeOptions
812
+ * @returns ArchiveChatappTemplateResponse
813
+ */
814
+ async archiveChatappTemplateWithOptions(tmpReq: $_model.ArchiveChatappTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ArchiveChatappTemplateResponse> {
815
+ tmpReq.validate();
816
+ let request = new $_model.ArchiveChatappTemplateShrinkRequest({ });
817
+ OpenApiUtil.convert(tmpReq, request);
818
+ if (!$dara.isNull(tmpReq.templateList)) {
819
+ request.templateListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.templateList, "TemplateList", "json");
820
+ }
821
+
822
+ let query = { };
823
+ if (!$dara.isNull(request.archiveType)) {
824
+ query["ArchiveType"] = request.archiveType;
825
+ }
826
+
827
+ if (!$dara.isNull(request.channelType)) {
828
+ query["ChannelType"] = request.channelType;
829
+ }
830
+
831
+ if (!$dara.isNull(request.custSpaceId)) {
832
+ query["CustSpaceId"] = request.custSpaceId;
833
+ }
834
+
835
+ if (!$dara.isNull(request.templateListShrink)) {
836
+ query["TemplateList"] = request.templateListShrink;
837
+ }
838
+
839
+ let req = new $OpenApiUtil.OpenApiRequest({
840
+ query: OpenApiUtil.query(query),
841
+ });
842
+ let params = new $OpenApiUtil.Params({
843
+ action: "ArchiveChatappTemplate",
844
+ version: "2020-06-06",
845
+ protocol: "HTTPS",
846
+ pathname: "/",
847
+ method: "POST",
848
+ authType: "AK",
849
+ style: "RPC",
850
+ reqBodyType: "formData",
851
+ bodyType: "json",
852
+ });
853
+ return $dara.cast<$_model.ArchiveChatappTemplateResponse>(await this.callApi(params, req, runtime), new $_model.ArchiveChatappTemplateResponse({}));
854
+ }
855
+
856
+ /**
857
+ * Archives a Chat App Message Service template. Currently, only WhatsApp templates support archiving.
858
+ *
859
+ * @param request - ArchiveChatappTemplateRequest
860
+ * @returns ArchiveChatappTemplateResponse
861
+ */
862
+ async archiveChatappTemplate(request: $_model.ArchiveChatappTemplateRequest): Promise<$_model.ArchiveChatappTemplateResponse> {
863
+ let runtime = new $dara.RuntimeOptions({ });
864
+ return await this.archiveChatappTemplateWithOptions(request, runtime);
865
+ }
866
+
867
+ /**
868
+ * Associates a DM account.
811
869
  *
812
870
  * @param tmpReq - BindDmAccountRequest
813
871
  * @param runtime - runtime options for this request RuntimeOptions
@@ -864,7 +922,7 @@ export default class Client extends OpenApi {
864
922
  }
865
923
 
866
924
  /**
867
- * 绑定DM账号
925
+ * Associates a DM account.
868
926
  *
869
927
  * @param request - BindDmAccountRequest
870
928
  * @returns BindDmAccountResponse
@@ -875,7 +933,7 @@ export default class Client extends OpenApi {
875
933
  }
876
934
 
877
935
  /**
878
- * 绑定ins的page
936
+ * Associates a page with an instance.
879
937
  *
880
938
  * @param request - BindInstagramPageRequest
881
939
  * @param runtime - runtime options for this request RuntimeOptions
@@ -926,7 +984,7 @@ export default class Client extends OpenApi {
926
984
  }
927
985
 
928
986
  /**
929
- * 绑定ins的page
987
+ * Associates a page with an instance.
930
988
  *
931
989
  * @param request - BindInstagramPageRequest
932
990
  * @returns BindInstagramPageResponse
@@ -1049,10 +1107,10 @@ export default class Client extends OpenApi {
1049
1107
  }
1050
1108
 
1051
1109
  /**
1052
- * Binds a WhatsApp Business Account (WABA).
1110
+ * Binds a WhatsApp Business Account (WABA) through the northbound interface.
1053
1111
  *
1054
1112
  * @remarks
1055
- * This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
1113
+ * The per-user QPS limit for this API is 10 calls per second. If this limit is exceeded, API calls will be throttled, which may affect your business. Call this operation at a reasonable frequency.
1056
1114
  *
1057
1115
  * @param request - ChatappBindWabaRequest
1058
1116
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1095,10 +1153,10 @@ export default class Client extends OpenApi {
1095
1153
  }
1096
1154
 
1097
1155
  /**
1098
- * Binds a WhatsApp Business Account (WABA).
1156
+ * Binds a WhatsApp Business Account (WABA) through the northbound interface.
1099
1157
  *
1100
1158
  * @remarks
1101
- * This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
1159
+ * The per-user QPS limit for this API is 10 calls per second. If this limit is exceeded, API calls will be throttled, which may affect your business. Call this operation at a reasonable frequency.
1102
1160
  *
1103
1161
  * @param request - ChatappBindWabaRequest
1104
1162
  * @returns ChatappBindWabaResponse
@@ -1109,10 +1167,10 @@ export default class Client extends OpenApi {
1109
1167
  }
1110
1168
 
1111
1169
  /**
1112
- * Registers a phone number for migration.
1170
+ * Migrates a phone number registration.
1113
1171
  *
1114
1172
  * @remarks
1115
- * The space ID of the RAM user within the independent software vendor (ISV) account.
1173
+ * The queries per second (QPS) limit for this operation is 10 calls per second per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
1116
1174
  *
1117
1175
  * @param request - ChatappMigrationRegisterRequest
1118
1176
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1159,10 +1217,10 @@ export default class Client extends OpenApi {
1159
1217
  }
1160
1218
 
1161
1219
  /**
1162
- * Registers a phone number for migration.
1220
+ * Migrates a phone number registration.
1163
1221
  *
1164
1222
  * @remarks
1165
- * The space ID of the RAM user within the independent software vendor (ISV) account.
1223
+ * The queries per second (QPS) limit for this operation is 10 calls per second per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
1166
1224
  *
1167
1225
  * @param request - ChatappMigrationRegisterRequest
1168
1226
  * @returns ChatappMigrationRegisterResponse
@@ -1176,7 +1234,7 @@ export default class Client extends OpenApi {
1176
1234
  * Verifies a phone number for migration.
1177
1235
  *
1178
1236
  * @remarks
1179
- * This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
1237
+ * The China Message Service API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Manage your calls appropriately.
1180
1238
  *
1181
1239
  * @param request - ChatappMigrationVerifiedRequest
1182
1240
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1230,7 +1288,7 @@ export default class Client extends OpenApi {
1230
1288
  * Verifies a phone number for migration.
1231
1289
  *
1232
1290
  * @remarks
1233
- * This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
1291
+ * The China Message Service API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Manage your calls appropriately.
1234
1292
  *
1235
1293
  * @param request - ChatappMigrationVerifiedRequest
1236
1294
  * @returns ChatappMigrationVerifiedResponse
@@ -1241,10 +1299,10 @@ export default class Client extends OpenApi {
1241
1299
  }
1242
1300
 
1243
1301
  /**
1244
- * Deregisters a phone number from a WhatsApp Business Account (WABA).
1302
+ * Deregisters a phone number from WABA.
1245
1303
  *
1246
1304
  * @remarks
1247
- * This API is limited to 10 queries per second (QPS) per user. If you exceed this limit, API calls are throttled, which may affect your business. Call this API at a reasonable rate.
1305
+ * The China Mainland site (Chinese) QPS limit for a single user for this API is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Manage your calls appropriately.
1248
1306
  *
1249
1307
  * @param request - ChatappPhoneNumberDeregisterRequest
1250
1308
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1291,10 +1349,10 @@ export default class Client extends OpenApi {
1291
1349
  }
1292
1350
 
1293
1351
  /**
1294
- * Deregisters a phone number from a WhatsApp Business Account (WABA).
1352
+ * Deregisters a phone number from WABA.
1295
1353
  *
1296
1354
  * @remarks
1297
- * This API is limited to 10 queries per second (QPS) per user. If you exceed this limit, API calls are throttled, which may affect your business. Call this API at a reasonable rate.
1355
+ * The China Mainland site (Chinese) QPS limit for a single user for this API is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Manage your calls appropriately.
1298
1356
  *
1299
1357
  * @param request - ChatappPhoneNumberDeregisterRequest
1300
1358
  * @returns ChatappPhoneNumberDeregisterResponse
@@ -1305,10 +1363,10 @@ export default class Client extends OpenApi {
1305
1363
  }
1306
1364
 
1307
1365
  /**
1308
- * Registers a phone number.
1366
+ * Registers a phone number through the northbound interface.
1309
1367
  *
1310
1368
  * @remarks
1311
- * This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
1369
+ * The China Mainland Messaging API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
1312
1370
  *
1313
1371
  * @param request - ChatappPhoneNumberRegisterRequest
1314
1372
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1355,10 +1413,10 @@ export default class Client extends OpenApi {
1355
1413
  }
1356
1414
 
1357
1415
  /**
1358
- * Registers a phone number.
1416
+ * Registers a phone number through the northbound interface.
1359
1417
  *
1360
1418
  * @remarks
1361
- * This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
1419
+ * The China Mainland Messaging API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
1362
1420
  *
1363
1421
  * @param request - ChatappPhoneNumberRegisterRequest
1364
1422
  * @returns ChatappPhoneNumberRegisterResponse
@@ -1369,10 +1427,10 @@ export default class Client extends OpenApi {
1369
1427
  }
1370
1428
 
1371
1429
  /**
1372
- * Synchronizes phone numbers.
1430
+ * Synchronizes phone number information.
1373
1431
  *
1374
1432
  * @remarks
1375
- * This operation allows a maximum of 10 requests per second (RPS) per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
1433
+ * The China-specific QPS limit for this API is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
1376
1434
  *
1377
1435
  * @param request - ChatappSyncPhoneNumberRequest
1378
1436
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1415,10 +1473,10 @@ export default class Client extends OpenApi {
1415
1473
  }
1416
1474
 
1417
1475
  /**
1418
- * Synchronizes phone numbers.
1476
+ * Synchronizes phone number information.
1419
1477
  *
1420
1478
  * @remarks
1421
- * This operation allows a maximum of 10 requests per second (RPS) per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
1479
+ * The China-specific QPS limit for this API is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
1422
1480
  *
1423
1481
  * @param request - ChatappSyncPhoneNumberRequest
1424
1482
  * @returns ChatappSyncPhoneNumberResponse
@@ -1429,10 +1487,10 @@ export default class Client extends OpenApi {
1429
1487
  }
1430
1488
 
1431
1489
  /**
1432
- * Associates a phone number with a WhatsApp Business account (WABA).
1490
+ * Verifies a verification code and registers through the northbound interface.
1433
1491
  *
1434
1492
  * @remarks
1435
- * This operation allows a maximum of 10 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
1493
+ * The queries per second (QPS) limit for this API is 10 calls per second per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this API appropriately.
1436
1494
  *
1437
1495
  * @param request - ChatappVerifyAndRegisterRequest
1438
1496
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1483,10 +1541,10 @@ export default class Client extends OpenApi {
1483
1541
  }
1484
1542
 
1485
1543
  /**
1486
- * Associates a phone number with a WhatsApp Business account (WABA).
1544
+ * Verifies a verification code and registers through the northbound interface.
1487
1545
  *
1488
1546
  * @remarks
1489
- * This operation allows a maximum of 10 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
1547
+ * The queries per second (QPS) limit for this API is 10 calls per second per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this API appropriately.
1490
1548
  *
1491
1549
  * @param request - ChatappVerifyAndRegisterRequest
1492
1550
  * @returns ChatappVerifyAndRegisterResponse
@@ -1497,7 +1555,7 @@ export default class Client extends OpenApi {
1497
1555
  }
1498
1556
 
1499
1557
  /**
1500
- * Validates direct message content for WhatsApp.
1558
+ * Validates the content of a WhatsApp direct-send template.
1501
1559
  *
1502
1560
  * @param tmpReq - CheckDirectSendMessageSampleRequest
1503
1561
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1550,7 +1608,7 @@ export default class Client extends OpenApi {
1550
1608
  }
1551
1609
 
1552
1610
  /**
1553
- * Validates direct message content for WhatsApp.
1611
+ * Validates the content of a WhatsApp direct-send template.
1554
1612
  *
1555
1613
  * @param request - CheckDirectSendMessageSampleRequest
1556
1614
  * @returns CheckDirectSendMessageSampleResponse
@@ -1561,7 +1619,7 @@ export default class Client extends OpenApi {
1561
1619
  }
1562
1620
 
1563
1621
  /**
1564
- * 复制模板
1622
+ * Copies a template.
1565
1623
  *
1566
1624
  * @param request - CopyTemplateRequest
1567
1625
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1616,7 +1674,7 @@ export default class Client extends OpenApi {
1616
1674
  }
1617
1675
 
1618
1676
  /**
1619
- * 复制模板
1677
+ * Copies a template.
1620
1678
  *
1621
1679
  * @param request - CopyTemplateRequest
1622
1680
  * @returns CopyTemplateResponse
@@ -1627,7 +1685,11 @@ export default class Client extends OpenApi {
1627
1685
  }
1628
1686
 
1629
1687
  /**
1630
- * 创建Chatflow
1688
+ * Creates a flow.
1689
+ *
1690
+ * @remarks
1691
+ * - This API operation creates a flow. You can also create a flow manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) interface.
1692
+ * - After you create a flow, you can orchestrate the canvas. For more information, see [Flow Editor components](https://help.aliyun.com/document_detail/2836818.html).
1631
1693
  *
1632
1694
  * @param tmpReq - CreateChatFlowRequest
1633
1695
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1692,7 +1754,11 @@ export default class Client extends OpenApi {
1692
1754
  }
1693
1755
 
1694
1756
  /**
1695
- * 创建Chatflow
1757
+ * Creates a flow.
1758
+ *
1759
+ * @remarks
1760
+ * - This API operation creates a flow. You can also create a flow manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) interface.
1761
+ * - After you create a flow, you can orchestrate the canvas. For more information, see [Flow Editor components](https://help.aliyun.com/document_detail/2836818.html).
1696
1762
  *
1697
1763
  * @param request - CreateChatFlowRequest
1698
1764
  * @returns CreateChatFlowResponse
@@ -1703,7 +1769,12 @@ export default class Client extends OpenApi {
1703
1769
  }
1704
1770
 
1705
1771
  /**
1706
- * 导入并创建flow
1772
+ * Creates and imports a flow.
1773
+ *
1774
+ * @remarks
1775
+ * - You can call this operation to create and import a flow. You can also create and import a flow manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
1776
+ * - Before you call this operation, ensure that you have exported the Domain-Specific Language (DSL) data for the flow.
1777
+ * - If you do not have the exported DSL data for a flow, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). Click a flow name to open the canvas. Arrange the components on the canvas, save the flow, and then export it as a JSON data file.
1707
1778
  *
1708
1779
  * @param tmpReq - CreateChatFlowByImportRequest
1709
1780
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1768,7 +1839,12 @@ export default class Client extends OpenApi {
1768
1839
  }
1769
1840
 
1770
1841
  /**
1771
- * 导入并创建flow
1842
+ * Creates and imports a flow.
1843
+ *
1844
+ * @remarks
1845
+ * - You can call this operation to create and import a flow. You can also create and import a flow manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
1846
+ * - Before you call this operation, ensure that you have exported the Domain-Specific Language (DSL) data for the flow.
1847
+ * - If you do not have the exported DSL data for a flow, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). Click a flow name to open the canvas. Arrange the components on the canvas, save the flow, and then export it as a JSON data file.
1772
1848
  *
1773
1849
  * @param request - CreateChatFlowByImportRequest
1774
1850
  * @returns CreateChatFlowByImportResponse
@@ -1779,7 +1855,13 @@ export default class Client extends OpenApi {
1779
1855
  }
1780
1856
 
1781
1857
  /**
1782
- * 创建chatFlow日志设置
1858
+ * Creates log settings for a flow.
1859
+ *
1860
+ * @remarks
1861
+ * - To update the log settings for a flow using the API, you must first create the log settings. After the settings are created, call the [ReadChatFlowLogSetting](https://help.aliyun.com/document_detail/2937212.html) operation to view the log settings. Then, call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the settings.
1862
+ * - If you do not need to update the log settings using the API, you can manually update the log settings on the Log page. In the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder), choose **Settings** > **Log**.
1863
+ * - Before you call this operation, make sure that you have successfully created a flow.
1864
+ * - If you do not have a successfully created flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
1783
1865
  *
1784
1866
  * @param request - CreateChatFlowLogSettingRequest
1785
1867
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1822,7 +1904,13 @@ export default class Client extends OpenApi {
1822
1904
  }
1823
1905
 
1824
1906
  /**
1825
- * 创建chatFlow日志设置
1907
+ * Creates log settings for a flow.
1908
+ *
1909
+ * @remarks
1910
+ * - To update the log settings for a flow using the API, you must first create the log settings. After the settings are created, call the [ReadChatFlowLogSetting](https://help.aliyun.com/document_detail/2937212.html) operation to view the log settings. Then, call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the settings.
1911
+ * - If you do not need to update the log settings using the API, you can manually update the log settings on the Log page. In the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder), choose **Settings** > **Log**.
1912
+ * - Before you call this operation, make sure that you have successfully created a flow.
1913
+ * - If you do not have a successfully created flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
1826
1914
  *
1827
1915
  * @param request - CreateChatFlowLogSettingRequest
1828
1916
  * @returns CreateChatFlowLogSettingResponse
@@ -2087,10 +2175,10 @@ export default class Client extends OpenApi {
2087
2175
  }
2088
2176
 
2089
2177
  /**
2090
- * Creates a flow.
2178
+ * Creates a Flow.
2091
2179
  *
2092
2180
  * @remarks
2093
- * The queries per second (QPS) limit for this operation is 5 for each user. API calls that exceed this limit are throttled. Because throttling may affect your business, we recommend that you call this operation at a reasonable rate.
2181
+ * The China Message Service (Chinese SMS) API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
2094
2182
  *
2095
2183
  * @param tmpReq - CreateFlowRequest
2096
2184
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2151,10 +2239,10 @@ export default class Client extends OpenApi {
2151
2239
  }
2152
2240
 
2153
2241
  /**
2154
- * Creates a flow.
2242
+ * Creates a Flow.
2155
2243
  *
2156
2244
  * @remarks
2157
- * The queries per second (QPS) limit for this operation is 5 for each user. API calls that exceed this limit are throttled. Because throttling may affect your business, we recommend that you call this operation at a reasonable rate.
2245
+ * The China Message Service (Chinese SMS) API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
2158
2246
  *
2159
2247
  * @param request - CreateFlowRequest
2160
2248
  * @returns CreateFlowResponse
@@ -2165,7 +2253,12 @@ export default class Client extends OpenApi {
2165
2253
  }
2166
2254
 
2167
2255
  /**
2168
- * CreateFlowVersion
2256
+ * Creates a new version of a flow by copying an existing version.
2257
+ *
2258
+ * @remarks
2259
+ * - You can call this operation to create a new flow version. You can also manually copy a flow version from the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). To do this, click a flow name to open the orchestration canvas and then copy the version.
2260
+ * - Before you call this operation, make sure that you have created a flow.
2261
+ * - If you have not created a flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
2169
2262
  *
2170
2263
  * @param tmpReq - CreateFlowVersionRequest
2171
2264
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2230,7 +2323,12 @@ export default class Client extends OpenApi {
2230
2323
  }
2231
2324
 
2232
2325
  /**
2233
- * CreateFlowVersion
2326
+ * Creates a new version of a flow by copying an existing version.
2327
+ *
2328
+ * @remarks
2329
+ * - You can call this operation to create a new flow version. You can also manually copy a flow version from the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). To do this, click a flow name to open the orchestration canvas and then copy the version.
2330
+ * - Before you call this operation, make sure that you have created a flow.
2331
+ * - If you have not created a flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
2234
2332
  *
2235
2333
  * @param request - CreateFlowVersionRequest
2236
2334
  * @returns CreateFlowVersionResponse
@@ -2472,12 +2570,14 @@ export default class Client extends OpenApi {
2472
2570
  * Creates a message QR code.
2473
2571
  *
2474
2572
  * @remarks
2475
- * - After a QR code is created, users can scan it with WhatsApp to start a chat with your business number.
2476
- * - Before calling this API, make sure you have a WhatsApp channel.
2477
- * - If you do not have a WhatsApp channel, create one on the
2478
- * <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList) page.
2573
+ * - After the QR code is created, users can scan it with WhatsApp to quickly open the corresponding business phone number.
2574
+ * - Before calling this operation, make sure that you have a successfully created WhatsApp message channel.
2575
+ * - If you do not have a successfully created WhatsApp message channel, manually create one on the
2576
+ * <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
2577
+ * <props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList)
2578
+ * page.
2479
2579
  * #### QPS limit
2480
- * This API is limited to 5 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
2580
+ * The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
2481
2581
  *
2482
2582
  * @param request - CreatePhoneMessageQrdlRequest
2483
2583
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2535,12 +2635,14 @@ export default class Client extends OpenApi {
2535
2635
  * Creates a message QR code.
2536
2636
  *
2537
2637
  * @remarks
2538
- * - After a QR code is created, users can scan it with WhatsApp to start a chat with your business number.
2539
- * - Before calling this API, make sure you have a WhatsApp channel.
2540
- * - If you do not have a WhatsApp channel, create one on the
2541
- * <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList) page.
2638
+ * - After the QR code is created, users can scan it with WhatsApp to quickly open the corresponding business phone number.
2639
+ * - Before calling this operation, make sure that you have a successfully created WhatsApp message channel.
2640
+ * - If you do not have a successfully created WhatsApp message channel, manually create one on the
2641
+ * <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
2642
+ * <props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList)
2643
+ * page.
2542
2644
  * #### QPS limit
2543
- * This API is limited to 5 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
2645
+ * The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
2544
2646
  *
2545
2647
  * @param request - CreatePhoneMessageQrdlRequest
2546
2648
  * @returns CreatePhoneMessageQrdlResponse
@@ -2619,7 +2721,12 @@ export default class Client extends OpenApi {
2619
2721
  }
2620
2722
 
2621
2723
  /**
2622
- * 删除流程
2724
+ * Deletes a flow.
2725
+ *
2726
+ * @remarks
2727
+ * - You can call this operation to delete a flow. You can also manually delete a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
2728
+ * - Before you delete a flow, make sure its status is Unpublished.
2729
+ * - Deleted flows cannot be recovered. Proceed with caution.
2623
2730
  *
2624
2731
  * @param tmpReq - DeleteChatFlowRequest
2625
2732
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2676,7 +2783,12 @@ export default class Client extends OpenApi {
2676
2783
  }
2677
2784
 
2678
2785
  /**
2679
- * 删除流程
2786
+ * Deletes a flow.
2787
+ *
2788
+ * @remarks
2789
+ * - You can call this operation to delete a flow. You can also manually delete a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
2790
+ * - Before you delete a flow, make sure its status is Unpublished.
2791
+ * - Deleted flows cannot be recovered. Proceed with caution.
2680
2792
  *
2681
2793
  * @param request - DeleteChatFlowRequest
2682
2794
  * @returns DeleteChatFlowResponse
@@ -2687,14 +2799,13 @@ export default class Client extends OpenApi {
2687
2799
  }
2688
2800
 
2689
2801
  /**
2690
- * Deletes an Instant Messaging (IM) group.
2802
+ * Deletes a successfully created IM group.
2691
2803
  *
2692
2804
  * @remarks
2693
- * >Notice:
2694
- * This API is in beta testing for Meta. Contact your account manager to be added to the allowlist before using this endpoint.
2695
- * - Before you call this API, ensure that you have created an IM group.
2696
- * - If you have not created one, create one by calling the [AddChatGroup](https://help.aliyun.com/document_detail/2932518.html) operation.
2697
- * - After an IM group is deleted, it cannot be recovered. Proceed with caution.
2805
+ * >Notice: The API-based IM group deletion feature is a Meta beta feature. Contact your account manager to apply for access.
2806
+ * - Before calling this operation, make sure that you have a successfully created IM group.
2807
+ * - If you do not have a successfully created IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
2808
+ * - A deleted IM group cannot be recovered. Proceed with caution.
2698
2809
  *
2699
2810
  * @param request - DeleteChatGroupRequest
2700
2811
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2749,14 +2860,13 @@ export default class Client extends OpenApi {
2749
2860
  }
2750
2861
 
2751
2862
  /**
2752
- * Deletes an Instant Messaging (IM) group.
2863
+ * Deletes a successfully created IM group.
2753
2864
  *
2754
2865
  * @remarks
2755
- * >Notice:
2756
- * This API is in beta testing for Meta. Contact your account manager to be added to the allowlist before using this endpoint.
2757
- * - Before you call this API, ensure that you have created an IM group.
2758
- * - If you have not created one, create one by calling the [AddChatGroup](https://help.aliyun.com/document_detail/2932518.html) operation.
2759
- * - After an IM group is deleted, it cannot be recovered. Proceed with caution.
2866
+ * >Notice: The API-based IM group deletion feature is a Meta beta feature. Contact your account manager to apply for access.
2867
+ * - Before calling this operation, make sure that you have a successfully created IM group.
2868
+ * - If you do not have a successfully created IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
2869
+ * - A deleted IM group cannot be recovered. Proceed with caution.
2760
2870
  *
2761
2871
  * @param request - DeleteChatGroupRequest
2762
2872
  * @returns DeleteChatGroupResponse
@@ -2770,11 +2880,10 @@ export default class Client extends OpenApi {
2770
2880
  * Deletes an IM group invitation link.
2771
2881
  *
2772
2882
  * @remarks
2773
- * >Notice:
2774
- * Deleting an IM group invitation link via the API is a feature in beta testing for Meta. To use this feature, contact your account manager to be added to the allowlist.
2775
- * - Before calling this operation, ensure an invitation link has been added to your IM group.
2776
- * - If you do not have an IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations to create one and add an invitation link.
2777
- * - After deleting the invitation link, you can no longer invite members to the IM group. Proceed with caution.
2883
+ * >Notice: The ability to delete IM group invitation links through the API is a Meta beta feature. Contact your account manager to request access.
2884
+ * - Before calling this operation, make sure that the IM group you created already has an IM group invitation link added.
2885
+ * - If you do not have an existing IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations to create an IM group and add an invitation link.
2886
+ * - After you delete an IM group invitation link, the IM group can no longer invite members to join. Proceed with caution.
2778
2887
  *
2779
2888
  * @param request - DeleteChatGroupInviteLinkRequest
2780
2889
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2832,11 +2941,10 @@ export default class Client extends OpenApi {
2832
2941
  * Deletes an IM group invitation link.
2833
2942
  *
2834
2943
  * @remarks
2835
- * >Notice:
2836
- * Deleting an IM group invitation link via the API is a feature in beta testing for Meta. To use this feature, contact your account manager to be added to the allowlist.
2837
- * - Before calling this operation, ensure an invitation link has been added to your IM group.
2838
- * - If you do not have an IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations to create one and add an invitation link.
2839
- * - After deleting the invitation link, you can no longer invite members to the IM group. Proceed with caution.
2944
+ * >Notice: The ability to delete IM group invitation links through the API is a Meta beta feature. Contact your account manager to request access.
2945
+ * - Before calling this operation, make sure that the IM group you created already has an IM group invitation link added.
2946
+ * - If you do not have an existing IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations to create an IM group and add an invitation link.
2947
+ * - After you delete an IM group invitation link, the IM group can no longer invite members to join. Proceed with caution.
2840
2948
  *
2841
2949
  * @param request - DeleteChatGroupInviteLinkRequest
2842
2950
  * @returns DeleteChatGroupInviteLinkResponse
@@ -3103,7 +3211,7 @@ export default class Client extends OpenApi {
3103
3211
  }
3104
3212
 
3105
3213
  /**
3106
- * 删除联系人(选择后删除)
3214
+ * Deletes contacts by selecting and removing them.
3107
3215
  *
3108
3216
  * @param request - DeleteContactsByIdsRequest
3109
3217
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3146,7 +3254,7 @@ export default class Client extends OpenApi {
3146
3254
  }
3147
3255
 
3148
3256
  /**
3149
- * 删除联系人(选择后删除)
3257
+ * Deletes contacts by selecting and removing them.
3150
3258
  *
3151
3259
  * @param request - DeleteContactsByIdsRequest
3152
3260
  * @returns DeleteContactsByIdsResponse
@@ -3157,10 +3265,10 @@ export default class Client extends OpenApi {
3157
3265
  }
3158
3266
 
3159
3267
  /**
3160
- * Deletes a WhatsApp flow. Only flows in the draft state can be deleted.
3268
+ * Deletes a Flow (only Flows in DRAFT status can be deleted).
3161
3269
  *
3162
3270
  * @remarks
3163
- * This operation allows a maximum of 5 requests per second per account. Excess requests are throttled and may result in service interruptions.
3271
+ * The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
3164
3272
  *
3165
3273
  * @param request - DeleteFlowRequest
3166
3274
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3207,10 +3315,10 @@ export default class Client extends OpenApi {
3207
3315
  }
3208
3316
 
3209
3317
  /**
3210
- * Deletes a WhatsApp flow. Only flows in the draft state can be deleted.
3318
+ * Deletes a Flow (only Flows in DRAFT status can be deleted).
3211
3319
  *
3212
3320
  * @remarks
3213
- * This operation allows a maximum of 5 requests per second per account. Excess requests are throttled and may result in service interruptions.
3321
+ * The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
3214
3322
  *
3215
3323
  * @param request - DeleteFlowRequest
3216
3324
  * @returns DeleteFlowResponse
@@ -3221,7 +3329,13 @@ export default class Client extends OpenApi {
3221
3329
  }
3222
3330
 
3223
3331
  /**
3224
- * 删除流程版本
3332
+ * Deletes a flow version.
3333
+ *
3334
+ * @remarks
3335
+ * - You can call this operation to delete a flow version, or click a flow name in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually delete the flow version.
3336
+ * - Before calling this operation, make sure that the flow version is in the offline state and that at least two flow versions exist.
3337
+ * - If the flow version is in the online state, click the flow name in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version offline, or call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to take the flow version offline.
3338
+ * - After a flow version is deleted, the canvas flow that you orchestrated cannot be recovered. Proceed with caution.
3225
3339
  *
3226
3340
  * @param tmpReq - DeleteFlowVersionRequest
3227
3341
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3282,7 +3396,13 @@ export default class Client extends OpenApi {
3282
3396
  }
3283
3397
 
3284
3398
  /**
3285
- * 删除流程版本
3399
+ * Deletes a flow version.
3400
+ *
3401
+ * @remarks
3402
+ * - You can call this operation to delete a flow version, or click a flow name in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually delete the flow version.
3403
+ * - Before calling this operation, make sure that the flow version is in the offline state and that at least two flow versions exist.
3404
+ * - If the flow version is in the online state, click the flow name in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version offline, or call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to take the flow version offline.
3405
+ * - After a flow version is deleted, the canvas flow that you orchestrated cannot be recovered. Proceed with caution.
3286
3406
  *
3287
3407
  * @param request - DeleteFlowVersionRequest
3288
3408
  * @returns DeleteFlowVersionResponse
@@ -3447,7 +3567,7 @@ export default class Client extends OpenApi {
3447
3567
  }
3448
3568
 
3449
3569
  /**
3450
- * 删除营销活动
3570
+ * Deletes a marketing campaign.
3451
3571
  *
3452
3572
  * @param request - DeleteMarketingFlowRequest
3453
3573
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3494,7 +3614,7 @@ export default class Client extends OpenApi {
3494
3614
  }
3495
3615
 
3496
3616
  /**
3497
- * 删除营销活动
3617
+ * Deletes a marketing campaign.
3498
3618
  *
3499
3619
  * @param request - DeleteMarketingFlowRequest
3500
3620
  * @returns DeleteMarketingFlowResponse
@@ -3632,10 +3752,11 @@ export default class Client extends OpenApi {
3632
3752
  * Deletes a message QR code.
3633
3753
  *
3634
3754
  * @remarks
3635
- * - After a message QR code is deleted, users can no longer scan the QR code to start a chat with your business number. Proceed with caution.
3636
- * - If you have not created a message QR code, call the [CreatePhoneMessageQrdl](https://help.aliyun.com/document_detail/2638749.html) API to create one.
3637
- * #### QPS limits
3638
- * This API is limited to 5 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
3755
+ * - After you delete a message QR code, users can no longer open the corresponding business phone number by scanning the original QR code. Proceed with caution.
3756
+ * - Before calling this operation, make sure that you have a successfully created message QR code.
3757
+ * - If you do not have a successfully created message QR code, call the [CreatePhoneMessageQrdl](https://help.aliyun.com/document_detail/2638749.html) operation to create one first.
3758
+ * #### QPS limit
3759
+ * The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as appropriate.
3639
3760
  *
3640
3761
  * @param request - DeletePhoneMessageQrdlRequest
3641
3762
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3689,10 +3810,11 @@ export default class Client extends OpenApi {
3689
3810
  * Deletes a message QR code.
3690
3811
  *
3691
3812
  * @remarks
3692
- * - After a message QR code is deleted, users can no longer scan the QR code to start a chat with your business number. Proceed with caution.
3693
- * - If you have not created a message QR code, call the [CreatePhoneMessageQrdl](https://help.aliyun.com/document_detail/2638749.html) API to create one.
3694
- * #### QPS limits
3695
- * This API is limited to 5 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
3813
+ * - After you delete a message QR code, users can no longer open the corresponding business phone number by scanning the original QR code. Proceed with caution.
3814
+ * - Before calling this operation, make sure that you have a successfully created message QR code.
3815
+ * - If you do not have a successfully created message QR code, call the [CreatePhoneMessageQrdl](https://help.aliyun.com/document_detail/2638749.html) operation to create one first.
3816
+ * #### QPS limit
3817
+ * The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as appropriate.
3696
3818
  *
3697
3819
  * @param request - DeletePhoneMessageQrdlRequest
3698
3820
  * @returns DeletePhoneMessageQrdlResponse
@@ -3702,6 +3824,52 @@ export default class Client extends OpenApi {
3702
3824
  return await this.deletePhoneMessageQrdlWithOptions(request, runtime);
3703
3825
  }
3704
3826
 
3827
+ /**
3828
+ * Deletes the WhatsApp user name for a business phone number.
3829
+ *
3830
+ * @param request - DeleteWhatsappUserNameRequest
3831
+ * @param runtime - runtime options for this request RuntimeOptions
3832
+ * @returns DeleteWhatsappUserNameResponse
3833
+ */
3834
+ async deleteWhatsappUserNameWithOptions(request: $_model.DeleteWhatsappUserNameRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteWhatsappUserNameResponse> {
3835
+ request.validate();
3836
+ let query = { };
3837
+ if (!$dara.isNull(request.custSpaceId)) {
3838
+ query["CustSpaceId"] = request.custSpaceId;
3839
+ }
3840
+
3841
+ if (!$dara.isNull(request.phoneNumber)) {
3842
+ query["PhoneNumber"] = request.phoneNumber;
3843
+ }
3844
+
3845
+ let req = new $OpenApiUtil.OpenApiRequest({
3846
+ query: OpenApiUtil.query(query),
3847
+ });
3848
+ let params = new $OpenApiUtil.Params({
3849
+ action: "DeleteWhatsappUserName",
3850
+ version: "2020-06-06",
3851
+ protocol: "HTTPS",
3852
+ pathname: "/",
3853
+ method: "POST",
3854
+ authType: "AK",
3855
+ style: "RPC",
3856
+ reqBodyType: "formData",
3857
+ bodyType: "json",
3858
+ });
3859
+ return $dara.cast<$_model.DeleteWhatsappUserNameResponse>(await this.callApi(params, req, runtime), new $_model.DeleteWhatsappUserNameResponse({}));
3860
+ }
3861
+
3862
+ /**
3863
+ * Deletes the WhatsApp user name for a business phone number.
3864
+ *
3865
+ * @param request - DeleteWhatsappUserNameRequest
3866
+ * @returns DeleteWhatsappUserNameResponse
3867
+ */
3868
+ async deleteWhatsappUserName(request: $_model.DeleteWhatsappUserNameRequest): Promise<$_model.DeleteWhatsappUserNameResponse> {
3869
+ let runtime = new $dara.RuntimeOptions({ });
3870
+ return await this.deleteWhatsappUserNameWithOptions(request, runtime);
3871
+ }
3872
+
3705
3873
  /**
3706
3874
  * Deprecates a WhatsApp flow.
3707
3875
  *
@@ -3767,14 +3935,14 @@ export default class Client extends OpenApi {
3767
3935
  }
3768
3936
 
3769
3937
  /**
3770
- * Enables statistics for WhatsApp metrics.
3938
+ * Enables WhatsApp-related metric collection.
3771
3939
  *
3772
3940
  * @remarks
3773
- * - Before retrieving metrics for messages sent through WhatsApp channels or for Marketing templates, call this operation to enable statistics for WhatsApp Return on Investment (ROI) metrics.
3774
- * - After you enable statistics for WhatsApp ROI metrics, it takes at least one day for data to become available. Metrics for messages sent and for Marketing templates used before you enabled this feature are not collected.
3775
- * - After you enable it, you can call the [GetChatappPhoneNumberMetric](https://help.aliyun.com/document_detail/2557788.html) operation to query metrics for messages sent from a phone number, or the [GetChatappTemplateMetric](https://help.aliyun.com/document_detail/2557790.html) operation to query metrics for Marketing templates.
3941
+ * - Before you retrieve metrics for the message sending volume of WhatsApp-type channels or metrics related to Marketing-type templates by calling API operations, call this operation to enable WhatsApp ROI metric collection.
3942
+ * - After you enable WhatsApp ROI metric collection, at least one day is required before metric data becomes available. Message sending volume metrics and Marketing-type template metrics for messages sent before the feature is enabled are not collected.
3943
+ * - After you enable WhatsApp ROI metric collection, you can call the [GetChatappPhoneNumberMetric](https://help.aliyun.com/document_detail/2557788.html) operation to query the sending volume metrics of a phone number, or call the [GetChatappTemplateMetric](https://help.aliyun.com/document_detail/2557790.html) operation to query metrics related to Marketing-type templates.
3776
3944
  * ### QPS limit
3777
- * This API is limited to 5 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
3945
+ * The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
3778
3946
  *
3779
3947
  * @param request - EnableWhatsappROIMetricRequest
3780
3948
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3821,14 +3989,14 @@ export default class Client extends OpenApi {
3821
3989
  }
3822
3990
 
3823
3991
  /**
3824
- * Enables statistics for WhatsApp metrics.
3992
+ * Enables WhatsApp-related metric collection.
3825
3993
  *
3826
3994
  * @remarks
3827
- * - Before retrieving metrics for messages sent through WhatsApp channels or for Marketing templates, call this operation to enable statistics for WhatsApp Return on Investment (ROI) metrics.
3828
- * - After you enable statistics for WhatsApp ROI metrics, it takes at least one day for data to become available. Metrics for messages sent and for Marketing templates used before you enabled this feature are not collected.
3829
- * - After you enable it, you can call the [GetChatappPhoneNumberMetric](https://help.aliyun.com/document_detail/2557788.html) operation to query metrics for messages sent from a phone number, or the [GetChatappTemplateMetric](https://help.aliyun.com/document_detail/2557790.html) operation to query metrics for Marketing templates.
3995
+ * - Before you retrieve metrics for the message sending volume of WhatsApp-type channels or metrics related to Marketing-type templates by calling API operations, call this operation to enable WhatsApp ROI metric collection.
3996
+ * - After you enable WhatsApp ROI metric collection, at least one day is required before metric data becomes available. Message sending volume metrics and Marketing-type template metrics for messages sent before the feature is enabled are not collected.
3997
+ * - After you enable WhatsApp ROI metric collection, you can call the [GetChatappPhoneNumberMetric](https://help.aliyun.com/document_detail/2557788.html) operation to query the sending volume metrics of a phone number, or call the [GetChatappTemplateMetric](https://help.aliyun.com/document_detail/2557790.html) operation to query metrics related to Marketing-type templates.
3830
3998
  * ### QPS limit
3831
- * This API is limited to 5 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
3999
+ * The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
3832
4000
  *
3833
4001
  * @param request - EnableWhatsappROIMetricRequest
3834
4002
  * @returns EnableWhatsappROIMetricResponse
@@ -3839,7 +4007,16 @@ export default class Client extends OpenApi {
3839
4007
  }
3840
4008
 
3841
4009
  /**
3842
- * flow绑定号码
4010
+ * Attaches a phone number or a business account ID to a flow.
4011
+ *
4012
+ * @remarks
4013
+ * - Call this API operation to attach a phone number or a business account ID to a flow. You can also manually attach them on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
4014
+ * - Before you call this API operation, make sure that you have created a flow and a message channel of the corresponding type.
4015
+ * - For a WhatsApp channel, you must have completed [WhatsApp Business Account (WABA) registration and binding](https://help.aliyun.com/document_detail/172335.html) and [added a phone number](https://help.aliyun.com/document_detail/2656131.html).
4016
+ * - For a Messenger channel, you must have [connected a public homepage account](https://help.aliyun.com/document_detail/2837713.html).
4017
+ * - For an Instagram channel, you must have [connected a professional account](https://help.aliyun.com/document_detail/2837720.html).
4018
+ * <props="intl">
4019
+ * - For a Viber channel, you must have [requested a service number](https://help.aliyun.com/document_detail/2807995.html).
3843
4020
  *
3844
4021
  * @param tmpReq - FlowBindPhoneRequest
3845
4022
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3908,7 +4085,16 @@ export default class Client extends OpenApi {
3908
4085
  }
3909
4086
 
3910
4087
  /**
3911
- * flow绑定号码
4088
+ * Attaches a phone number or a business account ID to a flow.
4089
+ *
4090
+ * @remarks
4091
+ * - Call this API operation to attach a phone number or a business account ID to a flow. You can also manually attach them on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
4092
+ * - Before you call this API operation, make sure that you have created a flow and a message channel of the corresponding type.
4093
+ * - For a WhatsApp channel, you must have completed [WhatsApp Business Account (WABA) registration and binding](https://help.aliyun.com/document_detail/172335.html) and [added a phone number](https://help.aliyun.com/document_detail/2656131.html).
4094
+ * - For a Messenger channel, you must have [connected a public homepage account](https://help.aliyun.com/document_detail/2837713.html).
4095
+ * - For an Instagram channel, you must have [connected a professional account](https://help.aliyun.com/document_detail/2837720.html).
4096
+ * <props="intl">
4097
+ * - For a Viber channel, you must have [requested a service number](https://help.aliyun.com/document_detail/2807995.html).
3912
4098
  *
3913
4099
  * @param request - FlowBindPhoneRequest
3914
4100
  * @returns FlowBindPhoneResponse
@@ -3919,7 +4105,12 @@ export default class Client extends OpenApi {
3919
4105
  }
3920
4106
 
3921
4107
  /**
3922
- * flow重绑定手机号
4108
+ * Rebinds a phone number or merchant account ID to a flow.
4109
+ *
4110
+ * @remarks
4111
+ * - You can call this operation to rebind a phone number or merchant account ID to a flow that already has a binding. You can also manually rebind on the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** page.
4112
+ * - Before calling this operation, make sure that your flow already has a phone number or merchant account ID bound to it.
4113
+ * - If you are binding a phone number or merchant account ID to a flow for the first time, use the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
3923
4114
  *
3924
4115
  * @param tmpReq - FlowRebindPhoneRequest
3925
4116
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3988,7 +4179,12 @@ export default class Client extends OpenApi {
3988
4179
  }
3989
4180
 
3990
4181
  /**
3991
- * flow重绑定手机号
4182
+ * Rebinds a phone number or merchant account ID to a flow.
4183
+ *
4184
+ * @remarks
4185
+ * - You can call this operation to rebind a phone number or merchant account ID to a flow that already has a binding. You can also manually rebind on the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** page.
4186
+ * - Before calling this operation, make sure that your flow already has a phone number or merchant account ID bound to it.
4187
+ * - If you are binding a phone number or merchant account ID to a flow for the first time, use the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
3992
4188
  *
3993
4189
  * @param request - FlowRebindPhoneRequest
3994
4190
  * @returns FlowRebindPhoneResponse
@@ -3999,7 +4195,14 @@ export default class Client extends OpenApi {
3999
4195
  }
4000
4196
 
4001
4197
  /**
4002
- * flow解绑手机号
4198
+ * Unbinds a phone number or business account ID from a flow.
4199
+ *
4200
+ * @remarks
4201
+ * - Before you call this operation, ensure that the flow is unpublished. If the flow is published, you can unpublish it manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas. Alternatively, you can call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to unpublish the flow.
4202
+ * - You can call this operation to unbind a phone number or business account ID from a flow. You can also perform this action manually on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
4203
+ * - Before you call this operation, ensure that a phone number or business account ID is bound to the flow.
4204
+ * - If no phone number or business account ID is bound to the flow, you can bind one manually on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
4205
+ * - After a phone number or business account ID is unbound from a flow, the flow cannot be published. You must bind a new phone number or business account ID to the flow before you can publish it.
4003
4206
  *
4004
4207
  * @param tmpReq - FlowUnbindPhoneRequest
4005
4208
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4060,7 +4263,14 @@ export default class Client extends OpenApi {
4060
4263
  }
4061
4264
 
4062
4265
  /**
4063
- * flow解绑手机号
4266
+ * Unbinds a phone number or business account ID from a flow.
4267
+ *
4268
+ * @remarks
4269
+ * - Before you call this operation, ensure that the flow is unpublished. If the flow is published, you can unpublish it manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas. Alternatively, you can call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to unpublish the flow.
4270
+ * - You can call this operation to unbind a phone number or business account ID from a flow. You can also perform this action manually on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
4271
+ * - Before you call this operation, ensure that a phone number or business account ID is bound to the flow.
4272
+ * - If no phone number or business account ID is bound to the flow, you can bind one manually on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
4273
+ * - After a phone number or business account ID is unbound from a flow, the flow cannot be published. You must bind a new phone number or business account ID to the flow before you can publish it.
4064
4274
  *
4065
4275
  * @param request - FlowUnbindPhoneRequest
4066
4276
  * @returns FlowUnbindPhoneResponse
@@ -4071,7 +4281,7 @@ export default class Client extends OpenApi {
4071
4281
  }
4072
4282
 
4073
4283
  /**
4074
- * 获取临时的URL
4284
+ * Retrieves a temporary URL.
4075
4285
  *
4076
4286
  * @param request - GeneratePresignedUrlRequest
4077
4287
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4114,7 +4324,7 @@ export default class Client extends OpenApi {
4114
4324
  }
4115
4325
 
4116
4326
  /**
4117
- * 获取临时的URL
4327
+ * Retrieves a temporary URL.
4118
4328
  *
4119
4329
  * @param request - GeneratePresignedUrlRequest
4120
4330
  * @returns GeneratePresignedUrlResponse
@@ -4233,7 +4443,13 @@ export default class Client extends OpenApi {
4233
4443
  }
4234
4444
 
4235
4445
  /**
4236
- * 获取ChatFlow运行数据
4446
+ * Retrieves ChatFlow runtime data.
4447
+ *
4448
+ * @remarks
4449
+ * - Before calling this operation, make sure that the flow you created is online and has been triggered.
4450
+ * - If your flow is not online, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to open the canvas, and manually bring the flow online. Alternatively, call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation to bring the flow online.
4451
+ * - For flows with a manual trigger type, call the [TriggerChatFlow](https://help.aliyun.com/document_detail/2859101.html) operation to trigger the flow, or go to the [Marketing Activity Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) page and trigger the flow by associating it with a campaign.
4452
+ * - For flows with a non-manual trigger type, you do not need to manually trigger the flow. The flow is automatically triggered when a message is sent to the bound business account.
4237
4453
  *
4238
4454
  * @param tmpReq - GetChatFlowMetricRequest
4239
4455
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4314,7 +4530,13 @@ export default class Client extends OpenApi {
4314
4530
  }
4315
4531
 
4316
4532
  /**
4317
- * 获取ChatFlow运行数据
4533
+ * Retrieves ChatFlow runtime data.
4534
+ *
4535
+ * @remarks
4536
+ * - Before calling this operation, make sure that the flow you created is online and has been triggered.
4537
+ * - If your flow is not online, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to open the canvas, and manually bring the flow online. Alternatively, call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation to bring the flow online.
4538
+ * - For flows with a manual trigger type, call the [TriggerChatFlow](https://help.aliyun.com/document_detail/2859101.html) operation to trigger the flow, or go to the [Marketing Activity Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) page and trigger the flow by associating it with a campaign.
4539
+ * - For flows with a non-manual trigger type, you do not need to manually trigger the flow. The flow is automatically triggered when a message is sent to the bound business account.
4318
4540
  *
4319
4541
  * @param request - GetChatFlowMetricRequest
4320
4542
  * @returns GetChatFlowMetricResponse
@@ -4325,7 +4547,11 @@ export default class Client extends OpenApi {
4325
4547
  }
4326
4548
 
4327
4549
  /**
4328
- * 查询chatFlow模板
4550
+ * Queries the details of a flow template.
4551
+ *
4552
+ * @remarks
4553
+ * - You can call this operation to query the details of a flow template. You can also go to the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **View Templates** page and click a template name to view its details.
4554
+ * - After you view the details of a template on the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **View Templates** page, you can use the template to create a flow.
4329
4555
  *
4330
4556
  * @param request - GetChatFlowTemplateRequest
4331
4557
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4372,7 +4598,11 @@ export default class Client extends OpenApi {
4372
4598
  }
4373
4599
 
4374
4600
  /**
4375
- * 查询chatFlow模板
4601
+ * Queries the details of a flow template.
4602
+ *
4603
+ * @remarks
4604
+ * - You can call this operation to query the details of a flow template. You can also go to the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **View Templates** page and click a template name to view its details.
4605
+ * - After you view the details of a template on the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **View Templates** page, you can use the template to create a flow.
4376
4606
  *
4377
4607
  * @param request - GetChatFlowTemplateRequest
4378
4608
  * @returns GetChatFlowTemplateResponse
@@ -4383,7 +4613,7 @@ export default class Client extends OpenApi {
4383
4613
  }
4384
4614
 
4385
4615
  /**
4386
- * 查询ChatApp开通状态
4616
+ * Queries the activation status of ChatApp.
4387
4617
  *
4388
4618
  * @param request - GetChatappOpenStatusRequest
4389
4619
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4422,7 +4652,7 @@ export default class Client extends OpenApi {
4422
4652
  }
4423
4653
 
4424
4654
  /**
4425
- * 查询ChatApp开通状态
4655
+ * Queries the activation status of ChatApp.
4426
4656
  *
4427
4657
  * @param request - GetChatappOpenStatusRequest
4428
4658
  * @returns GetChatappOpenStatusResponse
@@ -4433,14 +4663,15 @@ export default class Client extends OpenApi {
4433
4663
  }
4434
4664
 
4435
4665
  /**
4436
- * Queries the message sending metrics for a phone number in a WhatsApp channel.
4666
+ * Queries the message sending volume metrics for a WhatsApp channel phone number.
4437
4667
  *
4438
4668
  * @remarks
4439
- * - You can call this operation to query message sending metrics. Alternatively, you can query the metrics in the ChatApp console by choosing <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Daily Statistics Reports for Customers**.
4440
- * - Before you call this operation, call the [EnableWhatsAppROIMetric](https://help.aliyun.com/document_detail/2557789.html) operation to enable return on investment (ROI) metric collection for WhatsApp. Statistics are available at least one day after you enable this feature. Message sending metrics generated before you enable the feature are not collected.
4441
- * - After you enable ROI metric collection for WhatsApp, make sure that messages are successfully sent from your channel. To send messages, go to the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) page, select a WhatsApp channel, and choose **Message Sending**. You can also call [SendChatappMessage](https://help.aliyun.com/document_detail/432208.html) or [SendChatappMassMessage](https://help.aliyun.com/document_detail/447926.html).
4669
+ * - This operation can only query the sending volume metrics for phone numbers on WhatsApp channels.
4670
+ * - You can call this operation to query phone number sending volume metrics, or view them in the <props="china">[**Channels Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channels Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Customer Statistics Daily Report** page.
4671
+ * - Before calling this operation, call the [EnableWhatsAppROIMetric](https://help.aliyun.com/document_detail/2557789.html) operation to enable WhatsApp ROI metric collection. After enabling, at least one day is required before statistics become available. Message sending volume metrics for messages sent before enabling are not collected.
4672
+ * - After enabling WhatsApp ROI metric collection, ensure that your channel has successfully sent messages. You can send messages on the <props="china">[**Channels Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channels Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Send Message** page, or by calling the [SendChatappMessage](https://help.aliyun.com/document_detail/432208.html) or [SendChatappMassMessage](https://help.aliyun.com/document_detail/447926.html) operation.
4442
4673
  * ### QPS limit
4443
- * This operation allows a maximum of 50 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
4674
+ * The single-user QPS limit for this operation is 50 calls per second. Requests that exceed this limit are throttled, which may affect your business. Call this operation as appropriate.
4444
4675
  *
4445
4676
  * @param request - GetChatappPhoneNumberMetricRequest
4446
4677
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4503,14 +4734,15 @@ export default class Client extends OpenApi {
4503
4734
  }
4504
4735
 
4505
4736
  /**
4506
- * Queries the message sending metrics for a phone number in a WhatsApp channel.
4737
+ * Queries the message sending volume metrics for a WhatsApp channel phone number.
4507
4738
  *
4508
4739
  * @remarks
4509
- * - You can call this operation to query message sending metrics. Alternatively, you can query the metrics in the ChatApp console by choosing <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Daily Statistics Reports for Customers**.
4510
- * - Before you call this operation, call the [EnableWhatsAppROIMetric](https://help.aliyun.com/document_detail/2557789.html) operation to enable return on investment (ROI) metric collection for WhatsApp. Statistics are available at least one day after you enable this feature. Message sending metrics generated before you enable the feature are not collected.
4511
- * - After you enable ROI metric collection for WhatsApp, make sure that messages are successfully sent from your channel. To send messages, go to the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) page, select a WhatsApp channel, and choose **Message Sending**. You can also call [SendChatappMessage](https://help.aliyun.com/document_detail/432208.html) or [SendChatappMassMessage](https://help.aliyun.com/document_detail/447926.html).
4740
+ * - This operation can only query the sending volume metrics for phone numbers on WhatsApp channels.
4741
+ * - You can call this operation to query phone number sending volume metrics, or view them in the <props="china">[**Channels Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channels Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Customer Statistics Daily Report** page.
4742
+ * - Before calling this operation, call the [EnableWhatsAppROIMetric](https://help.aliyun.com/document_detail/2557789.html) operation to enable WhatsApp ROI metric collection. After enabling, at least one day is required before statistics become available. Message sending volume metrics for messages sent before enabling are not collected.
4743
+ * - After enabling WhatsApp ROI metric collection, ensure that your channel has successfully sent messages. You can send messages on the <props="china">[**Channels Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channels Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Send Message** page, or by calling the [SendChatappMessage](https://help.aliyun.com/document_detail/432208.html) or [SendChatappMassMessage](https://help.aliyun.com/document_detail/447926.html) operation.
4512
4744
  * ### QPS limit
4513
- * This operation allows a maximum of 50 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
4745
+ * The single-user QPS limit for this operation is 50 calls per second. Requests that exceed this limit are throttled, which may affect your business. Call this operation as appropriate.
4514
4746
  *
4515
4747
  * @param request - GetChatappPhoneNumberMetricRequest
4516
4748
  * @returns GetChatappPhoneNumberMetricResponse
@@ -4521,7 +4753,7 @@ export default class Client extends OpenApi {
4521
4753
  }
4522
4754
 
4523
4755
  /**
4524
- * 获取Chatapp号码其它控制
4756
+ * Retrieves other controls for a ChatApp phone number.
4525
4757
  *
4526
4758
  * @param request - GetChatappPhoneNumberSettingRequest
4527
4759
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4568,7 +4800,7 @@ export default class Client extends OpenApi {
4568
4800
  }
4569
4801
 
4570
4802
  /**
4571
- * 获取Chatapp号码其它控制
4803
+ * Retrieves other controls for a ChatApp phone number.
4572
4804
  *
4573
4805
  * @param request - GetChatappPhoneNumberSettingRequest
4574
4806
  * @returns GetChatappPhoneNumberSettingResponse
@@ -4579,11 +4811,11 @@ export default class Client extends OpenApi {
4579
4811
  }
4580
4812
 
4581
4813
  /**
4582
- * Queries the details of a message template.
4814
+ * Retrieves the details of a Chat App Message Service message template.
4583
4815
  *
4584
4816
  * @remarks
4585
4817
  * ### QPS limit
4586
- * This operation allows a maximum of 5 requests per second (RPS) per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
4818
+ * The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
4587
4819
  *
4588
4820
  * @param request - GetChatappTemplateDetailRequest
4589
4821
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4638,11 +4870,11 @@ export default class Client extends OpenApi {
4638
4870
  }
4639
4871
 
4640
4872
  /**
4641
- * Queries the details of a message template.
4873
+ * Retrieves the details of a Chat App Message Service message template.
4642
4874
  *
4643
4875
  * @remarks
4644
4876
  * ### QPS limit
4645
- * This operation allows a maximum of 5 requests per second (RPS) per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
4877
+ * The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
4646
4878
  *
4647
4879
  * @param request - GetChatappTemplateDetailRequest
4648
4880
  * @returns GetChatappTemplateDetailResponse
@@ -4653,14 +4885,14 @@ export default class Client extends OpenApi {
4653
4885
  }
4654
4886
 
4655
4887
  /**
4656
- * Queries the metrics for a marketing template.
4888
+ * Retrieves metrics related to marketing-type templates.
4657
4889
  *
4658
4890
  * @remarks
4659
- * - This API queries metrics only for marketing templates of WhatsApp channels.
4660
- * - Before you call this operation, call [EnableWhatsAppROIMetric](https://help.aliyun.com/document_detail/2557789.html) to enable metric statistics for WhatsApp Return on Investment (ROI). It takes at least one day for the data to become available after you enable this feature. Metrics are not collected for marketing templates that were used before this feature was enabled.
4661
- * - After you enable metric statistics for WhatsApp ROI, ensure that messages have been sent using the marketing templates of your channels. To send messages, go to the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) page, select a WhatsApp channel, and choose **Message Sending**. You can also call [SendChatappMessage](https://help.aliyun.com/document_detail/432208.html) or [SendChatappMassMessage](https://help.aliyun.com/document_detail/447926.html).
4662
- * ### QPS limits
4663
- * This API is limited to 50 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
4891
+ * - This operation can only query metrics for marketing templates of WhatsApp channels.
4892
+ * - Before calling this operation, call the [EnableWhatsAppROIMetric](https://help.aliyun.com/document_detail/2557789.html) operation to enable WhatsApp ROI metric collection. After enabling, statistical data requires at least one day to become available. Metrics for marketing templates sent before enabling are not collected.
4893
+ * - After enabling WhatsApp ROI metric collection, make sure that the marketing templates of your created channels have successfully sent messages. You can send messages on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Send Message** page, or by calling the [SendChatappMessage](https://help.aliyun.com/document_detail/432208.html) or [SendChatappMassMessage](https://help.aliyun.com/document_detail/447926.html) operation.
4894
+ * ### QPS limit
4895
+ * The single-user QPS limit for this operation is 50 calls per second. Requests that exceed this limit are throttled, which may affect your business. Call this operation as appropriate.
4664
4896
  *
4665
4897
  * @param request - GetChatappTemplateMetricRequest
4666
4898
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4731,14 +4963,14 @@ export default class Client extends OpenApi {
4731
4963
  }
4732
4964
 
4733
4965
  /**
4734
- * Queries the metrics for a marketing template.
4966
+ * Retrieves metrics related to marketing-type templates.
4735
4967
  *
4736
4968
  * @remarks
4737
- * - This API queries metrics only for marketing templates of WhatsApp channels.
4738
- * - Before you call this operation, call [EnableWhatsAppROIMetric](https://help.aliyun.com/document_detail/2557789.html) to enable metric statistics for WhatsApp Return on Investment (ROI). It takes at least one day for the data to become available after you enable this feature. Metrics are not collected for marketing templates that were used before this feature was enabled.
4739
- * - After you enable metric statistics for WhatsApp ROI, ensure that messages have been sent using the marketing templates of your channels. To send messages, go to the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) page, select a WhatsApp channel, and choose **Message Sending**. You can also call [SendChatappMessage](https://help.aliyun.com/document_detail/432208.html) or [SendChatappMassMessage](https://help.aliyun.com/document_detail/447926.html).
4740
- * ### QPS limits
4741
- * This API is limited to 50 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
4969
+ * - This operation can only query metrics for marketing templates of WhatsApp channels.
4970
+ * - Before calling this operation, call the [EnableWhatsAppROIMetric](https://help.aliyun.com/document_detail/2557789.html) operation to enable WhatsApp ROI metric collection. After enabling, statistical data requires at least one day to become available. Metrics for marketing templates sent before enabling are not collected.
4971
+ * - After enabling WhatsApp ROI metric collection, make sure that the marketing templates of your created channels have successfully sent messages. You can send messages on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Send Message** page, or by calling the [SendChatappMessage](https://help.aliyun.com/document_detail/432208.html) or [SendChatappMassMessage](https://help.aliyun.com/document_detail/447926.html) operation.
4972
+ * ### QPS limit
4973
+ * The single-user QPS limit for this operation is 50 calls per second. Requests that exceed this limit are throttled, which may affect your business. Call this operation as appropriate.
4742
4974
  *
4743
4975
  * @param request - GetChatappTemplateMetricRequest
4744
4976
  * @returns GetChatappTemplateMetricResponse
@@ -5013,7 +5245,7 @@ export default class Client extends OpenApi {
5013
5245
  }
5014
5246
 
5015
5247
  /**
5016
- * 查询客户来源站点
5248
+ * Queries the source site of a customer.
5017
5249
  *
5018
5250
  * @param request - GetCustomerSiteRequest
5019
5251
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5052,7 +5284,7 @@ export default class Client extends OpenApi {
5052
5284
  }
5053
5285
 
5054
5286
  /**
5055
- * 查询客户来源站点
5287
+ * Queries the source site of a customer.
5056
5288
  *
5057
5289
  * @param request - GetCustomerSiteRequest
5058
5290
  * @returns GetCustomerSiteResponse
@@ -5621,10 +5853,10 @@ export default class Client extends OpenApi {
5621
5853
  }
5622
5854
 
5623
5855
  /**
5624
- * Gets the verification code for phone number migration.
5856
+ * Retrieves the verification code for a migration phone number.
5625
5857
  *
5626
5858
  * @remarks
5627
- * This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
5859
+ * The China Message Service API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Adjust your call frequency accordingly.
5628
5860
  *
5629
5861
  * @param request - GetMigrationVerifyCodeRequest
5630
5862
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5679,10 +5911,10 @@ export default class Client extends OpenApi {
5679
5911
  }
5680
5912
 
5681
5913
  /**
5682
- * Gets the verification code for phone number migration.
5914
+ * Retrieves the verification code for a migration phone number.
5683
5915
  *
5684
5916
  * @remarks
5685
- * This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
5917
+ * The China Message Service API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Adjust your call frequency accordingly.
5686
5918
  *
5687
5919
  * @param request - GetMigrationVerifyCodeRequest
5688
5920
  * @returns GetMigrationVerifyCodeResponse
@@ -5693,10 +5925,10 @@ export default class Client extends OpenApi {
5693
5925
  }
5694
5926
 
5695
5927
  /**
5696
- * Gets permissions using the code obtained from the embeded signup flow.
5928
+ * Obtains authorization permissions by using the code obtained from the embedded integration.
5697
5929
  *
5698
5930
  * @remarks
5699
- * This API is limited to 5 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
5931
+ * The China Message Service API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
5700
5932
  *
5701
5933
  * @param tmpReq - GetPermissionByCodeRequest
5702
5934
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5753,10 +5985,10 @@ export default class Client extends OpenApi {
5753
5985
  }
5754
5986
 
5755
5987
  /**
5756
- * Gets permissions using the code obtained from the embeded signup flow.
5988
+ * Obtains authorization permissions by using the code obtained from the embedded integration.
5757
5989
  *
5758
5990
  * @remarks
5759
- * This API is limited to 5 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
5991
+ * The China Message Service API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
5760
5992
  *
5761
5993
  * @param request - GetPermissionByCodeRequest
5762
5994
  * @returns GetPermissionByCodeResponse
@@ -5767,13 +5999,13 @@ export default class Client extends OpenApi {
5767
5999
  }
5768
6000
 
5769
6001
  /**
5770
- * Retrieves the public key for a phone number.
6002
+ * Retrieves the encryption public key of a phone number.
5771
6003
  *
5772
6004
  * @remarks
5773
- * - Before calling this API, make sure that you have added a verified phone number to your WhatsApp Business Account (WABA).
5774
- * - If no phone number is added to your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) APIs to get a verification code to register and verify the phone number.
6005
+ * - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
6006
+ * - If no phone number has been added under your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) operations to obtain a verification code and register the phone number.
5775
6007
  * #### QPS limit
5776
- * This API is limited to 5 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
6008
+ * The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
5777
6009
  *
5778
6010
  * @param request - GetPhoneEncryptionPublicKeyRequest
5779
6011
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5820,13 +6052,13 @@ export default class Client extends OpenApi {
5820
6052
  }
5821
6053
 
5822
6054
  /**
5823
- * Retrieves the public key for a phone number.
6055
+ * Retrieves the encryption public key of a phone number.
5824
6056
  *
5825
6057
  * @remarks
5826
- * - Before calling this API, make sure that you have added a verified phone number to your WhatsApp Business Account (WABA).
5827
- * - If no phone number is added to your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) APIs to get a verification code to register and verify the phone number.
6058
+ * - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
6059
+ * - If no phone number has been added under your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) operations to obtain a verification code and register the phone number.
5828
6060
  * #### QPS limit
5829
- * This API is limited to 5 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
6061
+ * The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
5830
6062
  *
5831
6063
  * @param request - GetPhoneEncryptionPublicKeyRequest
5832
6064
  * @returns GetPhoneEncryptionPublicKeyResponse
@@ -5907,7 +6139,7 @@ export default class Client extends OpenApi {
5907
6139
  }
5908
6140
 
5909
6141
  /**
5910
- * 下载保证函模板的地址
6142
+ * Retrieves the download URL for the letter of guarantee template.
5911
6143
  *
5912
6144
  * @param request - GetPledgeTemplateAddressRequest
5913
6145
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5954,7 +6186,7 @@ export default class Client extends OpenApi {
5954
6186
  }
5955
6187
 
5956
6188
  /**
5957
- * 下载保证函模板的地址
6189
+ * Retrieves the download URL for the letter of guarantee template.
5958
6190
  *
5959
6191
  * @param request - GetPledgeTemplateAddressRequest
5960
6192
  * @returns GetPledgeTemplateAddressResponse
@@ -6331,10 +6563,102 @@ export default class Client extends OpenApi {
6331
6563
  }
6332
6564
 
6333
6565
  /**
6334
- * Gets the App ID for an Independent Software Vendor (ISV).
6566
+ * Retrieves the WhatsApp username for a business phone number.
6567
+ *
6568
+ * @param request - GetWhatsappUserNameRequest
6569
+ * @param runtime - runtime options for this request RuntimeOptions
6570
+ * @returns GetWhatsappUserNameResponse
6571
+ */
6572
+ async getWhatsappUserNameWithOptions(request: $_model.GetWhatsappUserNameRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetWhatsappUserNameResponse> {
6573
+ request.validate();
6574
+ let query = { };
6575
+ if (!$dara.isNull(request.custSpaceId)) {
6576
+ query["CustSpaceId"] = request.custSpaceId;
6577
+ }
6578
+
6579
+ if (!$dara.isNull(request.phoneNumber)) {
6580
+ query["PhoneNumber"] = request.phoneNumber;
6581
+ }
6582
+
6583
+ let req = new $OpenApiUtil.OpenApiRequest({
6584
+ query: OpenApiUtil.query(query),
6585
+ });
6586
+ let params = new $OpenApiUtil.Params({
6587
+ action: "GetWhatsappUserName",
6588
+ version: "2020-06-06",
6589
+ protocol: "HTTPS",
6590
+ pathname: "/",
6591
+ method: "POST",
6592
+ authType: "AK",
6593
+ style: "RPC",
6594
+ reqBodyType: "formData",
6595
+ bodyType: "json",
6596
+ });
6597
+ return $dara.cast<$_model.GetWhatsappUserNameResponse>(await this.callApi(params, req, runtime), new $_model.GetWhatsappUserNameResponse({}));
6598
+ }
6599
+
6600
+ /**
6601
+ * Retrieves the WhatsApp username for a business phone number.
6602
+ *
6603
+ * @param request - GetWhatsappUserNameRequest
6604
+ * @returns GetWhatsappUserNameResponse
6605
+ */
6606
+ async getWhatsappUserName(request: $_model.GetWhatsappUserNameRequest): Promise<$_model.GetWhatsappUserNameResponse> {
6607
+ let runtime = new $dara.RuntimeOptions({ });
6608
+ return await this.getWhatsappUserNameWithOptions(request, runtime);
6609
+ }
6610
+
6611
+ /**
6612
+ * Retrieves the suggested user name for a WhatsApp business phone number.
6613
+ *
6614
+ * @param request - GetWhatsappUserNameSuggestionsRequest
6615
+ * @param runtime - runtime options for this request RuntimeOptions
6616
+ * @returns GetWhatsappUserNameSuggestionsResponse
6617
+ */
6618
+ async getWhatsappUserNameSuggestionsWithOptions(request: $_model.GetWhatsappUserNameSuggestionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetWhatsappUserNameSuggestionsResponse> {
6619
+ request.validate();
6620
+ let query = { };
6621
+ if (!$dara.isNull(request.custSpaceId)) {
6622
+ query["CustSpaceId"] = request.custSpaceId;
6623
+ }
6624
+
6625
+ if (!$dara.isNull(request.phoneNumber)) {
6626
+ query["PhoneNumber"] = request.phoneNumber;
6627
+ }
6628
+
6629
+ let req = new $OpenApiUtil.OpenApiRequest({
6630
+ query: OpenApiUtil.query(query),
6631
+ });
6632
+ let params = new $OpenApiUtil.Params({
6633
+ action: "GetWhatsappUserNameSuggestions",
6634
+ version: "2020-06-06",
6635
+ protocol: "HTTPS",
6636
+ pathname: "/",
6637
+ method: "POST",
6638
+ authType: "AK",
6639
+ style: "RPC",
6640
+ reqBodyType: "formData",
6641
+ bodyType: "json",
6642
+ });
6643
+ return $dara.cast<$_model.GetWhatsappUserNameSuggestionsResponse>(await this.callApi(params, req, runtime), new $_model.GetWhatsappUserNameSuggestionsResponse({}));
6644
+ }
6645
+
6646
+ /**
6647
+ * Retrieves the suggested user name for a WhatsApp business phone number.
6648
+ *
6649
+ * @param request - GetWhatsappUserNameSuggestionsRequest
6650
+ * @returns GetWhatsappUserNameSuggestionsResponse
6651
+ */
6652
+ async getWhatsappUserNameSuggestions(request: $_model.GetWhatsappUserNameSuggestionsRequest): Promise<$_model.GetWhatsappUserNameSuggestionsResponse> {
6653
+ let runtime = new $dara.RuntimeOptions({ });
6654
+ return await this.getWhatsappUserNameSuggestionsWithOptions(request, runtime);
6655
+ }
6656
+
6657
+ /**
6658
+ * Retrieves the App ID for an ISV.
6335
6659
  *
6336
6660
  * @remarks
6337
- * This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
6661
+ * The QPS limit for a single user of this API is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API at a reasonable frequency.
6338
6662
  *
6339
6663
  * @param request - IsvGetAppIdRequest
6340
6664
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6385,10 +6709,10 @@ export default class Client extends OpenApi {
6385
6709
  }
6386
6710
 
6387
6711
  /**
6388
- * Gets the App ID for an Independent Software Vendor (ISV).
6712
+ * Retrieves the App ID for an ISV.
6389
6713
  *
6390
6714
  * @remarks
6391
- * This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
6715
+ * The QPS limit for a single user of this API is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API at a reasonable frequency.
6392
6716
  *
6393
6717
  * @param request - IsvGetAppIdRequest
6394
6718
  * @returns IsvGetAppIdResponse
@@ -6517,7 +6841,12 @@ export default class Client extends OpenApi {
6517
6841
  }
6518
6842
 
6519
6843
  /**
6520
- * 根据flowCode查询已绑定列表
6844
+ * Queries the phone numbers or business account IDs attached to a flow.
6845
+ *
6846
+ * @remarks
6847
+ * - You can call this operation to query the phone numbers or business account IDs attached to a flow. You can also view this information on the **Settings** page in the **Flow Editor**.
6848
+ * - Before you call this operation, ensure that a phone number or business account ID is attached to your flow.
6849
+ * - If a phone number or business account ID is not attached to your flow, you can attach one manually on the **Settings** page in the **Flow Editor** or by calling the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
6521
6850
  *
6522
6851
  * @param request - ListBindingRelationsForFlowVersionRequest
6523
6852
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6564,7 +6893,12 @@ export default class Client extends OpenApi {
6564
6893
  }
6565
6894
 
6566
6895
  /**
6567
- * 根据flowCode查询已绑定列表
6896
+ * Queries the phone numbers or business account IDs attached to a flow.
6897
+ *
6898
+ * @remarks
6899
+ * - You can call this operation to query the phone numbers or business account IDs attached to a flow. You can also view this information on the **Settings** page in the **Flow Editor**.
6900
+ * - Before you call this operation, ensure that a phone number or business account ID is attached to your flow.
6901
+ * - If a phone number or business account ID is not attached to your flow, you can attach one manually on the **Settings** page in the **Flow Editor** or by calling the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
6568
6902
  *
6569
6903
  * @param request - ListBindingRelationsForFlowVersionRequest
6570
6904
  * @returns ListBindingRelationsForFlowVersionResponse
@@ -6575,7 +6909,13 @@ export default class Client extends OpenApi {
6575
6909
  }
6576
6910
 
6577
6911
  /**
6578
- * 列举流程
6912
+ * Lists flows.
6913
+ *
6914
+ * @remarks
6915
+ * - You can call this operation to query flows, or manually query flows in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
6916
+ * - Before calling this operation, make sure that you have successfully created flows.
6917
+ * - If you do not have any successfully created flows, manually create a flow in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation to create a flow.
6918
+ * - The optional parameters in this operation are filter conditions for querying flows. If you do not specify these parameters, all flows are returned.
6579
6919
  *
6580
6920
  * @param tmpReq - ListChatFlowRequest
6581
6921
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6652,7 +6992,13 @@ export default class Client extends OpenApi {
6652
6992
  }
6653
6993
 
6654
6994
  /**
6655
- * 列举流程
6995
+ * Lists flows.
6996
+ *
6997
+ * @remarks
6998
+ * - You can call this operation to query flows, or manually query flows in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
6999
+ * - Before calling this operation, make sure that you have successfully created flows.
7000
+ * - If you do not have any successfully created flows, manually create a flow in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation to create a flow.
7001
+ * - The optional parameters in this operation are filter conditions for querying flows. If you do not specify these parameters, all flows are returned.
6656
7002
  *
6657
7003
  * @param request - ListChatFlowRequest
6658
7004
  * @returns ListChatFlowResponse
@@ -6663,7 +7009,11 @@ export default class Client extends OpenApi {
6663
7009
  }
6664
7010
 
6665
7011
  /**
6666
- * chatFlow模板列表
7012
+ * Lists flow templates.
7013
+ *
7014
+ * @remarks
7015
+ * - You can call this operation to list flow templates. You can also view the list of templates on the **View Templates** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
7016
+ * - You can use the optional parameters in this operation to filter the list of templates. If you do not specify any filter conditions, all templates are returned.
6667
7017
  *
6668
7018
  * @param request - ListChatFlowTemplateRequest
6669
7019
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6722,7 +7072,11 @@ export default class Client extends OpenApi {
6722
7072
  }
6723
7073
 
6724
7074
  /**
6725
- * chatFlow模板列表
7075
+ * Lists flow templates.
7076
+ *
7077
+ * @remarks
7078
+ * - You can call this operation to list flow templates. You can also view the list of templates on the **View Templates** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
7079
+ * - You can use the optional parameters in this operation to filter the list of templates. If you do not specify any filter conditions, all templates are returned.
6726
7080
  *
6727
7081
  * @param request - ListChatFlowTemplateRequest
6728
7082
  * @returns ListChatFlowTemplateResponse
@@ -6733,14 +7087,13 @@ export default class Client extends OpenApi {
6733
7087
  }
6734
7088
 
6735
7089
  /**
6736
- * Retrieves a list of IM groups.
7090
+ * Retrieves the list of IM groups.
6737
7091
  *
6738
7092
  * @remarks
6739
- * >Notice:
6740
- * Retrieving the IM group list via the API is a beta feature. Contact your account manager to be added to the allowlist.
6741
- * - You must have an IM group before you call this operation.
6742
- * - If you do not have an IM group, you can only create one by calling the [AddChatGroup](https://help.aliyun.com/document_detail/2932518.html) API.
6743
- * - The optional parameters for this operation filter the IM group list. If you do not specify any filters, the operation returns the complete IM group list.
7093
+ * >Notice: The feature of retrieving IM group lists through API is a Meta beta feature. Contact your account manager to apply for access.
7094
+ * - Before calling this operation, make sure you have successfully created IM groups.
7095
+ * - If you do not have any created IM groups, you can only create IM groups through the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation.
7096
+ * - The optional parameters of this operation are filter conditions for the IM group list. If you do not specify them, all IM groups are returned.
6744
7097
  *
6745
7098
  * @param tmpReq - ListChatGroupRequest
6746
7099
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6817,14 +7170,13 @@ export default class Client extends OpenApi {
6817
7170
  }
6818
7171
 
6819
7172
  /**
6820
- * Retrieves a list of IM groups.
7173
+ * Retrieves the list of IM groups.
6821
7174
  *
6822
7175
  * @remarks
6823
- * >Notice:
6824
- * Retrieving the IM group list via the API is a beta feature. Contact your account manager to be added to the allowlist.
6825
- * - You must have an IM group before you call this operation.
6826
- * - If you do not have an IM group, you can only create one by calling the [AddChatGroup](https://help.aliyun.com/document_detail/2932518.html) API.
6827
- * - The optional parameters for this operation filter the IM group list. If you do not specify any filters, the operation returns the complete IM group list.
7176
+ * >Notice: The feature of retrieving IM group lists through API is a Meta beta feature. Contact your account manager to apply for access.
7177
+ * - Before calling this operation, make sure you have successfully created IM groups.
7178
+ * - If you do not have any created IM groups, you can only create IM groups through the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation.
7179
+ * - The optional parameters of this operation are filter conditions for the IM group list. If you do not specify them, all IM groups are returned.
6828
7180
  *
6829
7181
  * @param request - ListChatGroupRequest
6830
7182
  * @returns ListChatGroupResponse
@@ -6923,7 +7275,12 @@ export default class Client extends OpenApi {
6923
7275
  }
6924
7276
 
6925
7277
  /**
6926
- * 查询消息列表
7278
+ * Queries the message list.
7279
+ *
7280
+ * @remarks
7281
+ * - You can call this operation to query the message list. You can also view the message list in the [**Channel Management**](https://chatapp.console.aliyun.com/CustomerList) > **Management** > **Message List** console.
7282
+ * - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber channel types.
7283
+ * - Before calling this operation, make sure that you have created a WhatsApp<props="intl"> or Viber channel, bound a phone number or merchant account ID, created a template that has passed the review, and sent messages through the channel.
6927
7284
  *
6928
7285
  * @param tmpReq - ListChatappMessageRequest
6929
7286
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7024,7 +7381,12 @@ export default class Client extends OpenApi {
7024
7381
  }
7025
7382
 
7026
7383
  /**
7027
- * 查询消息列表
7384
+ * Queries the message list.
7385
+ *
7386
+ * @remarks
7387
+ * - You can call this operation to query the message list. You can also view the message list in the [**Channel Management**](https://chatapp.console.aliyun.com/CustomerList) > **Management** > **Message List** console.
7388
+ * - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber channel types.
7389
+ * - Before calling this operation, make sure that you have created a WhatsApp<props="intl"> or Viber channel, bound a phone number or merchant account ID, created a template that has passed the review, and sent messages through the channel.
7028
7390
  *
7029
7391
  * @param request - ListChatappMessageRequest
7030
7392
  * @returns ListChatappMessageResponse
@@ -7223,7 +7585,7 @@ export default class Client extends OpenApi {
7223
7585
  }
7224
7586
 
7225
7587
  /**
7226
- * 查询账号下的Dm账号
7588
+ * Queries the DirectMail accounts under your Alibaba Cloud account.
7227
7589
  *
7228
7590
  * @param request - ListDmAccountRequest
7229
7591
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7278,7 +7640,7 @@ export default class Client extends OpenApi {
7278
7640
  }
7279
7641
 
7280
7642
  /**
7281
- * 查询账号下的Dm账号
7643
+ * Queries the DirectMail accounts under your Alibaba Cloud account.
7282
7644
  *
7283
7645
  * @param request - ListDmAccountRequest
7284
7646
  * @returns ListDmAccountResponse
@@ -7351,7 +7713,7 @@ export default class Client extends OpenApi {
7351
7713
  }
7352
7714
 
7353
7715
  /**
7354
- * 查询facebook帖子列表
7716
+ * Queries the list of Facebook posts.
7355
7717
  *
7356
7718
  * @param request - ListFacebookPostsRequest
7357
7719
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7394,7 +7756,7 @@ export default class Client extends OpenApi {
7394
7756
  }
7395
7757
 
7396
7758
  /**
7397
- * 查询facebook帖子列表
7759
+ * Queries the list of Facebook posts.
7398
7760
  *
7399
7761
  * @param request - ListFacebookPostsRequest
7400
7762
  * @returns ListFacebookPostsResponse
@@ -7479,7 +7841,7 @@ export default class Client extends OpenApi {
7479
7841
  }
7480
7842
 
7481
7843
  /**
7482
- * ListFlowNodeGroup
7844
+ * Lists flow component groups.
7483
7845
  *
7484
7846
  * @param request - ListFlowNodeGroupRequest
7485
7847
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7526,7 +7888,7 @@ export default class Client extends OpenApi {
7526
7888
  }
7527
7889
 
7528
7890
  /**
7529
- * ListFlowNodeGroup
7891
+ * Lists flow component groups.
7530
7892
  *
7531
7893
  * @param request - ListFlowNodeGroupRequest
7532
7894
  * @returns ListFlowNodeGroupResponse
@@ -7537,7 +7899,11 @@ export default class Client extends OpenApi {
7537
7899
  }
7538
7900
 
7539
7901
  /**
7540
- * ListFlowNodePrototypeV2
7902
+ * Lists flow component prototypes.
7903
+ *
7904
+ * @remarks
7905
+ * - You can call this API operation to query flow component prototypes. You can also view the prototypes on the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking a flow name.
7906
+ * - You can use the optional parameters for this operation to filter flow component prototypes. If you do not specify any optional parameters, all flow component prototypes are returned.
7541
7907
  *
7542
7908
  * @param request - ListFlowNodePrototypeV2Request
7543
7909
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7596,7 +7962,11 @@ export default class Client extends OpenApi {
7596
7962
  }
7597
7963
 
7598
7964
  /**
7599
- * ListFlowNodePrototypeV2
7965
+ * Lists flow component prototypes.
7966
+ *
7967
+ * @remarks
7968
+ * - You can call this API operation to query flow component prototypes. You can also view the prototypes on the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking a flow name.
7969
+ * - You can use the optional parameters for this operation to filter flow component prototypes. If you do not specify any optional parameters, all flow component prototypes are returned.
7600
7970
  *
7601
7971
  * @param request - ListFlowNodePrototypeV2Request
7602
7972
  * @returns ListFlowNodePrototypeV2Response
@@ -7607,7 +7977,13 @@ export default class Client extends OpenApi {
7607
7977
  }
7608
7978
 
7609
7979
  /**
7610
- * 列举流程版本
7980
+ * Lists flow versions.
7981
+ *
7982
+ * @remarks
7983
+ * - You can call this API operation to query flow versions. You can also view flow versions in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking a flow name to open the orchestration canvas.
7984
+ * - Before calling this API operation, make sure that you have created one or more flows.
7985
+ * - If you have not created any flows, create a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) API operation.
7986
+ * - The optional parameters for this API operation are filter conditions. If you do not specify any optional parameters, all flow versions are returned.
7611
7987
  *
7612
7988
  * @param tmpReq - ListFlowVersionRequest
7613
7989
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7676,7 +8052,13 @@ export default class Client extends OpenApi {
7676
8052
  }
7677
8053
 
7678
8054
  /**
7679
- * 列举流程版本
8055
+ * Lists flow versions.
8056
+ *
8057
+ * @remarks
8058
+ * - You can call this API operation to query flow versions. You can also view flow versions in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking a flow name to open the orchestration canvas.
8059
+ * - Before calling this API operation, make sure that you have created one or more flows.
8060
+ * - If you have not created any flows, create a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) API operation.
8061
+ * - The optional parameters for this API operation are filter conditions. If you do not specify any optional parameters, all flow versions are returned.
7680
8062
  *
7681
8063
  * @param request - ListFlowVersionRequest
7682
8064
  * @returns ListFlowVersionResponse
@@ -7687,7 +8069,7 @@ export default class Client extends OpenApi {
7687
8069
  }
7688
8070
 
7689
8071
  /**
7690
- * 获取ins的page
8072
+ * Retrieves the Instagram pages associated with an instance.
7691
8073
  *
7692
8074
  * @param request - ListInstagramPageRequest
7693
8075
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7730,7 +8112,7 @@ export default class Client extends OpenApi {
7730
8112
  }
7731
8113
 
7732
8114
  /**
7733
- * 获取ins的page
8115
+ * Retrieves the Instagram pages associated with an instance.
7734
8116
  *
7735
8117
  * @param request - ListInstagramPageRequest
7736
8118
  * @returns ListInstagramPageResponse
@@ -7865,7 +8247,7 @@ export default class Client extends OpenApi {
7865
8247
  }
7866
8248
 
7867
8249
  /**
7868
- * 查询活动列表
8250
+ * Queries a list of marketing campaigns.
7869
8251
  *
7870
8252
  * @param tmpReq - ListMarketingFlowRequest
7871
8253
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7946,7 +8328,7 @@ export default class Client extends OpenApi {
7946
8328
  }
7947
8329
 
7948
8330
  /**
7949
- * 查询活动列表
8331
+ * Queries a list of marketing campaigns.
7950
8332
  *
7951
8333
  * @param request - ListMarketingFlowRequest
7952
8334
  * @returns ListMarketingFlowResponse
@@ -8115,7 +8497,7 @@ export default class Client extends OpenApi {
8115
8497
  }
8116
8498
 
8117
8499
  /**
8118
- * 查询Page绑定的广告账户列表
8500
+ * Queries the list of ad accounts bound to a page.
8119
8501
  *
8120
8502
  * @param request - ListPageAdAccountRequest
8121
8503
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8162,7 +8544,7 @@ export default class Client extends OpenApi {
8162
8544
  }
8163
8545
 
8164
8546
  /**
8165
- * 查询Page绑定的广告账户列表
8547
+ * Queries the list of ad accounts bound to a page.
8166
8548
  *
8167
8549
  * @param request - ListPageAdAccountRequest
8168
8550
  * @returns ListPageAdAccountResponse
@@ -8173,10 +8555,10 @@ export default class Client extends OpenApi {
8173
8555
  }
8174
8556
 
8175
8557
  /**
8176
- * Queries message QR codes.
8558
+ * Queries the list of message QR codes.
8177
8559
  *
8178
8560
  * @remarks
8179
- * This API is limited to 5 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
8561
+ * The queries per second (QPS) limit for this operation is 5 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
8180
8562
  *
8181
8563
  * @param request - ListPhoneMessageQrdlRequest
8182
8564
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8223,10 +8605,10 @@ export default class Client extends OpenApi {
8223
8605
  }
8224
8606
 
8225
8607
  /**
8226
- * Queries message QR codes.
8608
+ * Queries the list of message QR codes.
8227
8609
  *
8228
8610
  * @remarks
8229
- * This API is limited to 5 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
8611
+ * The queries per second (QPS) limit for this operation is 5 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
8230
8612
  *
8231
8613
  * @param request - ListPhoneMessageQrdlRequest
8232
8614
  * @returns ListPhoneMessageQrdlResponse
@@ -8321,10 +8703,10 @@ export default class Client extends OpenApi {
8321
8703
  }
8322
8704
 
8323
8705
  /**
8324
- * Queries the product catalogs on the Business Manager platform of Meta.
8706
+ * Queries the catalog list of the Meta Business platform.
8325
8707
  *
8326
8708
  * @remarks
8327
- * This operation allows a maximum of 10 requests per second (RPS) per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
8709
+ * The China (Hangzhou) region is used as an example. The China (Hangzhou) region is used as an example. The China (Hangzhou) region is used as an example. The per-user QPS limit for this API is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
8328
8710
  *
8329
8711
  * @param request - ListProductCatalogRequest
8330
8712
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8387,10 +8769,10 @@ export default class Client extends OpenApi {
8387
8769
  }
8388
8770
 
8389
8771
  /**
8390
- * Queries the product catalogs on the Business Manager platform of Meta.
8772
+ * Queries the catalog list of the Meta Business platform.
8391
8773
  *
8392
8774
  * @remarks
8393
- * This operation allows a maximum of 10 requests per second (RPS) per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
8775
+ * The China (Hangzhou) region is used as an example. The China (Hangzhou) region is used as an example. The China (Hangzhou) region is used as an example. The per-user QPS limit for this API is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
8394
8776
  *
8395
8777
  * @param request - ListProductCatalogRequest
8396
8778
  * @returns ListProductCatalogResponse
@@ -8501,13 +8883,13 @@ export default class Client extends OpenApi {
8501
8883
  }
8502
8884
 
8503
8885
  /**
8504
- * Modifies a message template. You can modify only templates that are unreviewed or have been rejected.
8886
+ * Modifies a message template. Only templates that have not been reviewed or that failed the review can be modified.
8505
8887
  *
8506
8888
  * @remarks
8507
- * ### QPS limits
8508
- * The queries per second (QPS) limit for this API is 50 calls per second for each user. If you exceed this limit, your API calls are subject to rate limiting. This may affect your business. Make sure that you call this API within the specified limit.
8889
+ * ### QPS limit
8890
+ * The single-user QPS limit for this operation is 50 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
8509
8891
  * ### Status changes
8510
- * You can monitor changes in template status and quality through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
8892
+ * Changes to the template status and quality can be monitored through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
8511
8893
  *
8512
8894
  * @param tmpReq - ModifyChatappTemplateRequest
8513
8895
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8592,13 +8974,13 @@ export default class Client extends OpenApi {
8592
8974
  }
8593
8975
 
8594
8976
  /**
8595
- * Modifies a message template. You can modify only templates that are unreviewed or have been rejected.
8977
+ * Modifies a message template. Only templates that have not been reviewed or that failed the review can be modified.
8596
8978
  *
8597
8979
  * @remarks
8598
- * ### QPS limits
8599
- * The queries per second (QPS) limit for this API is 50 calls per second for each user. If you exceed this limit, your API calls are subject to rate limiting. This may affect your business. Make sure that you call this API within the specified limit.
8980
+ * ### QPS limit
8981
+ * The single-user QPS limit for this operation is 50 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
8600
8982
  * ### Status changes
8601
- * You can monitor changes in template status and quality through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
8983
+ * Changes to the template status and quality can be monitored through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
8602
8984
  *
8603
8985
  * @param request - ModifyChatappTemplateRequest
8604
8986
  * @returns ModifyChatappTemplateResponse
@@ -8609,7 +8991,7 @@ export default class Client extends OpenApi {
8609
8991
  }
8610
8992
 
8611
8993
  /**
8612
- * 修改模板上的一些属性
8994
+ * Modifies some properties of a template.
8613
8995
  *
8614
8996
  * @param request - ModifyChatappTemplatePropertiesRequest
8615
8997
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8672,7 +9054,7 @@ export default class Client extends OpenApi {
8672
9054
  }
8673
9055
 
8674
9056
  /**
8675
- * 修改模板上的一些属性
9057
+ * Modifies some properties of a template.
8676
9058
  *
8677
9059
  * @param request - ModifyChatappTemplatePropertiesRequest
8678
9060
  * @returns ModifyChatappTemplatePropertiesResponse
@@ -8683,10 +9065,10 @@ export default class Client extends OpenApi {
8683
9065
  }
8684
9066
 
8685
9067
  /**
8686
- * Modifies a flow.
9068
+ * Modifies the basic information of a flow.
8687
9069
  *
8688
9070
  * @remarks
8689
- * This API is limited to 5 queries per second (QPS) per account. Calls that exceed this limit trigger flow control, which can affect your business. Plan your API calls accordingly.
9071
+ * The China Short Message Service (China SMS) API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
8690
9072
  *
8691
9073
  * @param tmpReq - ModifyFlowRequest
8692
9074
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8751,10 +9133,10 @@ export default class Client extends OpenApi {
8751
9133
  }
8752
9134
 
8753
9135
  /**
8754
- * Modifies a flow.
9136
+ * Modifies the basic information of a flow.
8755
9137
  *
8756
9138
  * @remarks
8757
- * This API is limited to 5 queries per second (QPS) per account. Calls that exceed this limit trigger flow control, which can affect your business. Plan your API calls accordingly.
9139
+ * The China Short Message Service (China SMS) API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
8758
9140
  *
8759
9141
  * @param request - ModifyFlowRequest
8760
9142
  * @returns ModifyFlowResponse
@@ -8765,10 +9147,10 @@ export default class Client extends OpenApi {
8765
9147
  }
8766
9148
 
8767
9149
  /**
8768
- * The ID of the request.
9150
+ * Modifies the commercial information of a phone number.
8769
9151
  *
8770
9152
  * @remarks
8771
- * ModifyPhoneBusinessProfile
9153
+ * The China Message Service (China) API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Manage your calls appropriately.
8772
9154
  *
8773
9155
  * @param tmpReq - ModifyPhoneBusinessProfileRequest
8774
9156
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8849,10 +9231,10 @@ export default class Client extends OpenApi {
8849
9231
  }
8850
9232
 
8851
9233
  /**
8852
- * The ID of the request.
9234
+ * Modifies the commercial information of a phone number.
8853
9235
  *
8854
9236
  * @remarks
8855
- * ModifyPhoneBusinessProfile
9237
+ * The China Message Service (China) API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Manage your calls appropriately.
8856
9238
  *
8857
9239
  * @param request - ModifyPhoneBusinessProfileRequest
8858
9240
  * @returns ModifyPhoneBusinessProfileResponse
@@ -8939,7 +9321,13 @@ export default class Client extends OpenApi {
8939
9321
  }
8940
9322
 
8941
9323
  /**
8942
- * 下线流程版本
9324
+ * Unpublishes a flow version.
9325
+ *
9326
+ * @remarks
9327
+ * - You can call this operation to unpublish a flow version. You can also manually unpublish a flow version in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas.
9328
+ * - Before calling this operation, make sure that the flow is published.
9329
+ * - If a flow is not published, you can publish it manually from the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder), or by calling the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation.
9330
+ * - After a flow version is unpublished, the orchestrated flow stops running. This may affect your business. Proceed with caution.
8943
9331
  *
8944
9332
  * @param tmpReq - OfflineFlowVersionRequest
8945
9333
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9004,7 +9392,13 @@ export default class Client extends OpenApi {
9004
9392
  }
9005
9393
 
9006
9394
  /**
9007
- * 下线流程版本
9395
+ * Unpublishes a flow version.
9396
+ *
9397
+ * @remarks
9398
+ * - You can call this operation to unpublish a flow version. You can also manually unpublish a flow version in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas.
9399
+ * - Before calling this operation, make sure that the flow is published.
9400
+ * - If a flow is not published, you can publish it manually from the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder), or by calling the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation.
9401
+ * - After a flow version is unpublished, the orchestrated flow stops running. This may affect your business. Proceed with caution.
9008
9402
  *
9009
9403
  * @param request - OfflineFlowVersionRequest
9010
9404
  * @returns OfflineFlowVersionResponse
@@ -9015,7 +9409,13 @@ export default class Client extends OpenApi {
9015
9409
  }
9016
9410
 
9017
9411
  /**
9018
- * 上线流程版本
9412
+ * Publishes a flow version.
9413
+ *
9414
+ * @remarks
9415
+ * - You can call this operation to publish a flow version. You can also manually publish a flow version in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas.
9416
+ * - Before you call this operation, make sure that you have created a flow and attached it to a phone number or a business account ID.
9417
+ * - If you have not created a flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) and attach a phone number or business account ID. Alternatively, you can call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) and [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operations to create a flow and attach a phone number or business account ID.
9418
+ * - After a flow with a non-manual trigger is published, it is triggered when the attached phone number or business account sends a message to the business. If your flow contains components that incur fees, such as message sending or function invocations, make sure you understand the billing methods and pricing of the related products before you call this operation.
9019
9419
  *
9020
9420
  * @param tmpReq - OnlineFlowVersionRequest
9021
9421
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9080,7 +9480,13 @@ export default class Client extends OpenApi {
9080
9480
  }
9081
9481
 
9082
9482
  /**
9083
- * 上线流程版本
9483
+ * Publishes a flow version.
9484
+ *
9485
+ * @remarks
9486
+ * - You can call this operation to publish a flow version. You can also manually publish a flow version in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas.
9487
+ * - Before you call this operation, make sure that you have created a flow and attached it to a phone number or a business account ID.
9488
+ * - If you have not created a flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) and attach a phone number or business account ID. Alternatively, you can call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) and [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operations to create a flow and attach a phone number or business account ID.
9489
+ * - After a flow with a non-manual trigger is published, it is triggered when the attached phone number or business account sends a message to the business. If your flow contains components that incur fees, such as message sending or function invocations, make sure you understand the billing methods and pricing of the related products before you call this operation.
9084
9490
  *
9085
9491
  * @param request - OnlineFlowVersionRequest
9086
9492
  * @returns OnlineFlowVersionResponse
@@ -9199,13 +9605,13 @@ export default class Client extends OpenApi {
9199
9605
  }
9200
9606
 
9201
9607
  /**
9202
- * Publishes a WhatsApp flow.
9608
+ * Publishes a Flow.
9203
9609
  *
9204
9610
  * @remarks
9205
- * - Before you call this operation, ensure that you have created a WhatsApp flow.
9206
- * - If you have not created a WhatsApp flow, call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation to create one.
9611
+ * - Before calling this operation, make sure that you have a successfully created WhatsApp Flow.
9612
+ * - If you do not have a successfully created WhatsApp Flow, create one by calling the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation.
9207
9613
  * #### QPS limit
9208
- * This operation allows a maximum of 5 requests per second per account. Excess requests are throttled and may result in service interruptions.
9614
+ * The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
9209
9615
  *
9210
9616
  * @param request - PublishFlowRequest
9211
9617
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9252,13 +9658,13 @@ export default class Client extends OpenApi {
9252
9658
  }
9253
9659
 
9254
9660
  /**
9255
- * Publishes a WhatsApp flow.
9661
+ * Publishes a Flow.
9256
9662
  *
9257
9663
  * @remarks
9258
- * - Before you call this operation, ensure that you have created a WhatsApp flow.
9259
- * - If you have not created a WhatsApp flow, call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation to create one.
9664
+ * - Before calling this operation, make sure that you have a successfully created WhatsApp Flow.
9665
+ * - If you do not have a successfully created WhatsApp Flow, create one by calling the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation.
9260
9666
  * #### QPS limit
9261
- * This operation allows a maximum of 5 requests per second per account. Excess requests are throttled and may result in service interruptions.
9667
+ * The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
9262
9668
  *
9263
9669
  * @param request - PublishFlowRequest
9264
9670
  * @returns PublishFlowResponse
@@ -9500,7 +9906,7 @@ export default class Client extends OpenApi {
9500
9906
  * Queries the business information of a phone number.
9501
9907
  *
9502
9908
  * @remarks
9503
- * This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
9909
+ * The queries per second (QPS) limit for this operation is 10 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
9504
9910
  *
9505
9911
  * @param request - QueryPhoneBusinessProfileRequest
9506
9912
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9550,7 +9956,7 @@ export default class Client extends OpenApi {
9550
9956
  * Queries the business information of a phone number.
9551
9957
  *
9552
9958
  * @remarks
9553
- * This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
9959
+ * The queries per second (QPS) limit for this operation is 10 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
9554
9960
  *
9555
9961
  * @param request - QueryPhoneBusinessProfileRequest
9556
9962
  * @returns QueryPhoneBusinessProfileResponse
@@ -9625,7 +10031,12 @@ export default class Client extends OpenApi {
9625
10031
  }
9626
10032
 
9627
10033
  /**
9628
- * 获取流程
10034
+ * Retrieves the details of a flow.
10035
+ *
10036
+ * @remarks
10037
+ * - You can call this API operation to retrieve the details of a flow. You can also view the flow details in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
10038
+ * - Before you call this operation, make sure that you have created a flow.
10039
+ * - If you have not created a flow, you can create one in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
9629
10040
  *
9630
10041
  * @param tmpReq - ReadChatFlowRequest
9631
10042
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9682,7 +10093,12 @@ export default class Client extends OpenApi {
9682
10093
  }
9683
10094
 
9684
10095
  /**
9685
- * 获取流程
10096
+ * Retrieves the details of a flow.
10097
+ *
10098
+ * @remarks
10099
+ * - You can call this API operation to retrieve the details of a flow. You can also view the flow details in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
10100
+ * - Before you call this operation, make sure that you have created a flow.
10101
+ * - If you have not created a flow, you can create one in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
9686
10102
  *
9687
10103
  * @param request - ReadChatFlowRequest
9688
10104
  * @returns ReadChatFlowResponse
@@ -9693,7 +10109,12 @@ export default class Client extends OpenApi {
9693
10109
  }
9694
10110
 
9695
10111
  /**
9696
- * 查看chatFlow日志设置
10112
+ * Views the log settings for a flow.
10113
+ *
10114
+ * @remarks
10115
+ * - Before you call this operation, ensure that log settings are configured for the flow.
10116
+ * - If log settings are not configured for the flow, call the [CreateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937211.html) operation to configure them.
10117
+ * - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the log settings.
9697
10118
  *
9698
10119
  * @param request - ReadChatFlowLogSettingRequest
9699
10120
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9736,7 +10157,12 @@ export default class Client extends OpenApi {
9736
10157
  }
9737
10158
 
9738
10159
  /**
9739
- * 查看chatFlow日志设置
10160
+ * Views the log settings for a flow.
10161
+ *
10162
+ * @remarks
10163
+ * - Before you call this operation, ensure that log settings are configured for the flow.
10164
+ * - If log settings are not configured for the flow, call the [CreateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937211.html) operation to configure them.
10165
+ * - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the log settings.
9740
10166
  *
9741
10167
  * @param request - ReadChatFlowLogSettingRequest
9742
10168
  * @returns ReadChatFlowLogSettingResponse
@@ -9747,7 +10173,12 @@ export default class Client extends OpenApi {
9747
10173
  }
9748
10174
 
9749
10175
  /**
9750
- * 获取流程版本
10176
+ * Retrieves a flow version.
10177
+ *
10178
+ * @remarks
10179
+ * - You can call this operation to query a flow version. You can also click a flow name on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and view the flow version.
10180
+ * - Before calling this operation, make sure that you have successfully created a flow.
10181
+ * - If you do not have a successfully created flow, you can manually create a flow on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or create a flow by calling [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html).
9751
10182
  *
9752
10183
  * @param tmpReq - ReadFlowVersionRequest
9753
10184
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9812,7 +10243,12 @@ export default class Client extends OpenApi {
9812
10243
  }
9813
10244
 
9814
10245
  /**
9815
- * 获取流程版本
10246
+ * Retrieves a flow version.
10247
+ *
10248
+ * @remarks
10249
+ * - You can call this operation to query a flow version. You can also click a flow name on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and view the flow version.
10250
+ * - Before calling this operation, make sure that you have successfully created a flow.
10251
+ * - If you do not have a successfully created flow, you can manually create a flow on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or create a flow by calling [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html).
9816
10252
  *
9817
10253
  * @param request - ReadFlowVersionRequest
9818
10254
  * @returns ReadFlowVersionResponse
@@ -9955,21 +10391,20 @@ export default class Client extends OpenApi {
9955
10391
  }
9956
10392
 
9957
10393
  /**
9958
- * Sends bulk messages to multiple recipients.
10394
+ * Sends Chat App messages in batches.
9959
10395
  *
9960
10396
  * @remarks
9961
- * - You can call this operation to send messages in bulk. You can also send messages in the console. To do so, go to the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList), click a channel, and then choose **Message Sending**.
9962
- * - Before you call this operation, make sure that you have created a channel and have an approved template.
9963
- * - For a WhatsApp channel, you must [register and bind a WABA](t2012827.xdita#) and [add a phone number](t2012827.xdita#).
9964
- * - For a Messenger channel, you must [connect to a Facebook Page](t2746072.xdita#).
9965
- * - For an Instagram channel, you must [connect to an Instagram professional account](t2746079.xdita#).
9966
- * <props="intl">
9967
- * - For a Viber channel, you must [connect to an Instagram professional account](t2746079.xdita#).
9968
- * ### QPS limits
9969
- * - This operation allows a maximum of 10 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
9970
- * - A single request supports a maximum of 1,000 numbers.
10397
+ * - You can call this operation to send messages in batches. You can also manually send messages in batches on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Message Sending** page.
10398
+ * - Before calling this operation, make sure that you have created a channel and have an approved template.
10399
+ * - For WhatsApp channels, complete [WABA registration and bindng](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
10400
+ * - For Messenger channels, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
10401
+ * - For Instagram channels, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
10402
+ * <props="intl">- For Viber channels, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
10403
+ * ### QPS limit
10404
+ * - The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
10405
+ * - A maximum of 1,000 phone numbers are supported per request.
9971
10406
  * ### Status changes
9972
- * Message sending status can be monitored via Simple Message Service or HTTP callback. For details, see [Message receipts](https://help.aliyun.com/document_detail/421545.html).
10407
+ * You can monitor message sending status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
9973
10408
  *
9974
10409
  * @param tmpReq - SendChatappMassMessageRequest
9975
10410
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10082,21 +10517,20 @@ export default class Client extends OpenApi {
10082
10517
  }
10083
10518
 
10084
10519
  /**
10085
- * Sends bulk messages to multiple recipients.
10520
+ * Sends Chat App messages in batches.
10086
10521
  *
10087
10522
  * @remarks
10088
- * - You can call this operation to send messages in bulk. You can also send messages in the console. To do so, go to the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList), click a channel, and then choose **Message Sending**.
10089
- * - Before you call this operation, make sure that you have created a channel and have an approved template.
10090
- * - For a WhatsApp channel, you must [register and bind a WABA](t2012827.xdita#) and [add a phone number](t2012827.xdita#).
10091
- * - For a Messenger channel, you must [connect to a Facebook Page](t2746072.xdita#).
10092
- * - For an Instagram channel, you must [connect to an Instagram professional account](t2746079.xdita#).
10093
- * <props="intl">
10094
- * - For a Viber channel, you must [connect to an Instagram professional account](t2746079.xdita#).
10095
- * ### QPS limits
10096
- * - This operation allows a maximum of 10 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
10097
- * - A single request supports a maximum of 1,000 numbers.
10523
+ * - You can call this operation to send messages in batches. You can also manually send messages in batches on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Message Sending** page.
10524
+ * - Before calling this operation, make sure that you have created a channel and have an approved template.
10525
+ * - For WhatsApp channels, complete [WABA registration and bindng](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
10526
+ * - For Messenger channels, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
10527
+ * - For Instagram channels, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
10528
+ * <props="intl">- For Viber channels, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
10529
+ * ### QPS limit
10530
+ * - The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
10531
+ * - A maximum of 1,000 phone numbers are supported per request.
10098
10532
  * ### Status changes
10099
- * Message sending status can be monitored via Simple Message Service or HTTP callback. For details, see [Message receipts](https://help.aliyun.com/document_detail/421545.html).
10533
+ * You can monitor message sending status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
10100
10534
  *
10101
10535
  * @param request - SendChatappMassMessageRequest
10102
10536
  * @returns SendChatappMassMessageResponse
@@ -10107,20 +10541,19 @@ export default class Client extends OpenApi {
10107
10541
  }
10108
10542
 
10109
10543
  /**
10110
- * Sends a ChatApp message.
10544
+ * Sends a Chat App Message Service message.
10111
10545
  *
10112
10546
  * @remarks
10113
- * - Call this operation to send messages. You can also send messages manually in the console at <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Message Sending**.
10114
- * - Before calling this operation, you must create a channel and have an approved template.
10115
- * - For a WhatsApp channel, you must [register and bind a WABA](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
10116
- * - For a Messenger channel, you must [connect to a Facebook Page](https://help.aliyun.com/document_detail/2837713.html).
10117
- * - For an Instagram channel, you must [connect to an Instagram professional account](https://help.aliyun.com/document_detail/2837720.html).
10118
- * <props="intl">
10119
- * - For a Viber channel, you must [apply for a service ID](https://help.aliyun.com/document_detail/2807995.html).
10547
+ * - You can call this operation to send a message, or manually send a message on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Send Message** page.
10548
+ * - Before calling this operation, make sure that you have created a channel and have an approved template.
10549
+ * - For the WhatsApp channel type, you must complete [WABA registration and bindng](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
10550
+ * - For the Messenger channel type, you must complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
10551
+ * - For the Instagram channel type, you must complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
10552
+ * <props="intl">- For the Viber channel type, you must complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
10120
10553
  * ### QPS limit
10121
- * The QPS limit for this operation is 250 per user. API calls that exceed this limit are throttled. To prevent service disruptions, ensure your calls stay within this limit.
10554
+ * The single-user QPS limit for this operation is 250 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
10122
10555
  * ### Status changes
10123
- * You can receive notifications about message status changes by using MNS or HTTP callbacks. For more information, see [message receipts](https://help.aliyun.com/document_detail/421545.html).
10556
+ * You can monitor message delivery status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
10124
10557
  *
10125
10558
  * @param tmpReq - SendChatappMessageRequest
10126
10559
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10301,20 +10734,19 @@ export default class Client extends OpenApi {
10301
10734
  }
10302
10735
 
10303
10736
  /**
10304
- * Sends a ChatApp message.
10737
+ * Sends a Chat App Message Service message.
10305
10738
  *
10306
10739
  * @remarks
10307
- * - Call this operation to send messages. You can also send messages manually in the console at <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Message Sending**.
10308
- * - Before calling this operation, you must create a channel and have an approved template.
10309
- * - For a WhatsApp channel, you must [register and bind a WABA](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
10310
- * - For a Messenger channel, you must [connect to a Facebook Page](https://help.aliyun.com/document_detail/2837713.html).
10311
- * - For an Instagram channel, you must [connect to an Instagram professional account](https://help.aliyun.com/document_detail/2837720.html).
10312
- * <props="intl">
10313
- * - For a Viber channel, you must [apply for a service ID](https://help.aliyun.com/document_detail/2807995.html).
10740
+ * - You can call this operation to send a message, or manually send a message on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Send Message** page.
10741
+ * - Before calling this operation, make sure that you have created a channel and have an approved template.
10742
+ * - For the WhatsApp channel type, you must complete [WABA registration and bindng](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
10743
+ * - For the Messenger channel type, you must complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
10744
+ * - For the Instagram channel type, you must complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
10745
+ * <props="intl">- For the Viber channel type, you must complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
10314
10746
  * ### QPS limit
10315
- * The QPS limit for this operation is 250 per user. API calls that exceed this limit are throttled. To prevent service disruptions, ensure your calls stay within this limit.
10747
+ * The single-user QPS limit for this operation is 250 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
10316
10748
  * ### Status changes
10317
- * You can receive notifications about message status changes by using MNS or HTTP callbacks. For more information, see [message receipts](https://help.aliyun.com/document_detail/421545.html).
10749
+ * You can monitor message delivery status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
10318
10750
  *
10319
10751
  * @param request - SendChatappMessageRequest
10320
10752
  * @returns SendChatappMessageResponse
@@ -10375,11 +10807,11 @@ export default class Client extends OpenApi {
10375
10807
  }
10376
10808
 
10377
10809
  /**
10378
- * Synchronizes the business app history.
10810
+ * Synchronizes business app historical records.
10379
10811
  *
10380
10812
  * @remarks
10381
- * - Before you call this operation, you must configure a webhook for messages and receipts by calling [UpdatePhoneWebhook](https://help.aliyun.com/document_detail/600763.html) and [UpdateAccountWebhook](https://help.aliyun.com/document_detail/600765.html). Otherwise, history synchronization will fail because the system cannot find the configured webhook URL.
10382
- * - This is a one-time operation. Subsequent calls have no effect.
10813
+ * - Before calling this operation, configure the webhooks for messages and receipts by using [UpdatePhoneWebhook](https://help.aliyun.com/document_detail/600763.html) and [UpdateAccountWebhook](https://help.aliyun.com/document_detail/600765.html). Otherwise, the webhook address cannot be found during historical message synchronization, which causes the synchronization to fail.
10814
+ * - This operation takes effect only once. After the first call, subsequent calls do not trigger historical message pushes.
10383
10815
  *
10384
10816
  * @param request - SyncBusinessAppHistoryRequest
10385
10817
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10426,11 +10858,11 @@ export default class Client extends OpenApi {
10426
10858
  }
10427
10859
 
10428
10860
  /**
10429
- * Synchronizes the business app history.
10861
+ * Synchronizes business app historical records.
10430
10862
  *
10431
10863
  * @remarks
10432
- * - Before you call this operation, you must configure a webhook for messages and receipts by calling [UpdatePhoneWebhook](https://help.aliyun.com/document_detail/600763.html) and [UpdateAccountWebhook](https://help.aliyun.com/document_detail/600765.html). Otherwise, history synchronization will fail because the system cannot find the configured webhook URL.
10433
- * - This is a one-time operation. Subsequent calls have no effect.
10864
+ * - Before calling this operation, configure the webhooks for messages and receipts by using [UpdatePhoneWebhook](https://help.aliyun.com/document_detail/600763.html) and [UpdateAccountWebhook](https://help.aliyun.com/document_detail/600765.html). Otherwise, the webhook address cannot be found during historical message synchronization, which causes the synchronization to fail.
10865
+ * - This operation takes effect only once. After the first call, subsequent calls do not trigger historical message pushes.
10434
10866
  *
10435
10867
  * @param request - SyncBusinessAppHistoryRequest
10436
10868
  * @returns SyncBusinessAppHistoryResponse
@@ -10553,7 +10985,7 @@ export default class Client extends OpenApi {
10553
10985
  }
10554
10986
 
10555
10987
  /**
10556
- * Retrieves the Messenger subscription token.
10988
+ * Queries the Messenger subscription token.
10557
10989
  *
10558
10990
  * @param request - SyncMessengerSubscriptionTokenRequest
10559
10991
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10608,7 +11040,7 @@ export default class Client extends OpenApi {
10608
11040
  }
10609
11041
 
10610
11042
  /**
10611
- * Retrieves the Messenger subscription token.
11043
+ * Queries the Messenger subscription token.
10612
11044
  *
10613
11045
  * @param request - SyncMessengerSubscriptionTokenRequest
10614
11046
  * @returns SyncMessengerSubscriptionTokenResponse
@@ -10909,7 +11341,12 @@ export default class Client extends OpenApi {
10909
11341
  }
10910
11342
 
10911
11343
  /**
10912
- * 获取流程
11344
+ * Updates the basic information of a flow based on the flow code.
11345
+ *
11346
+ * @remarks
11347
+ * - You can call this operation to update the basic information of a flow, or update it manually on the **Basic Information** page under **Settings** in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
11348
+ * - Before calling this operation, make sure that you have created a flow.
11349
+ * - If you have not created a flow, go to the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) and click **Create Flow** to create one.
10913
11350
  *
10914
11351
  * @param tmpReq - UpdateChatFlowRequest
10915
11352
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10974,7 +11411,12 @@ export default class Client extends OpenApi {
10974
11411
  }
10975
11412
 
10976
11413
  /**
10977
- * 获取流程
11414
+ * Updates the basic information of a flow based on the flow code.
11415
+ *
11416
+ * @remarks
11417
+ * - You can call this operation to update the basic information of a flow, or update it manually on the **Basic Information** page under **Settings** in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
11418
+ * - Before calling this operation, make sure that you have created a flow.
11419
+ * - If you have not created a flow, go to the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) and click **Create Flow** to create one.
10978
11420
  *
10979
11421
  * @param request - UpdateChatFlowRequest
10980
11422
  * @returns UpdateChatFlowResponse
@@ -10985,7 +11427,13 @@ export default class Client extends OpenApi {
10985
11427
  }
10986
11428
 
10987
11429
  /**
10988
- * 修改chatFlow日志设置
11430
+ * Updates the flow log settings.
11431
+ *
11432
+ * @remarks
11433
+ * - You can call this operation to update flow log settings, or manually update them in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** > **Log**.
11434
+ * - Before calling this operation, make sure that you have activated [Simple Log Service](https://sls.console.aliyun.com/lognext/open) and created flow log settings.
11435
+ * - If you have not created flow log settings for the flow, first create them by calling the [CreateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937211.html) operation.
11436
+ * - Updating flow log settings may affect your business. Proceed with caution.
10989
11437
  *
10990
11438
  * @param request - UpdateChatFlowLogSettingRequest
10991
11439
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11036,7 +11484,13 @@ export default class Client extends OpenApi {
11036
11484
  }
11037
11485
 
11038
11486
  /**
11039
- * 修改chatFlow日志设置
11487
+ * Updates the flow log settings.
11488
+ *
11489
+ * @remarks
11490
+ * - You can call this operation to update flow log settings, or manually update them in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** > **Log**.
11491
+ * - Before calling this operation, make sure that you have activated [Simple Log Service](https://sls.console.aliyun.com/lognext/open) and created flow log settings.
11492
+ * - If you have not created flow log settings for the flow, first create them by calling the [CreateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937211.html) operation.
11493
+ * - Updating flow log settings may affect your business. Proceed with caution.
11040
11494
  *
11041
11495
  * @param request - UpdateChatFlowLogSettingRequest
11042
11496
  * @returns UpdateChatFlowLogSettingResponse
@@ -11047,13 +11501,13 @@ export default class Client extends OpenApi {
11047
11501
  }
11048
11502
 
11049
11503
  /**
11050
- * Updates the information for an Instant Messaging (IM) group.
11504
+ * Modifies the information of an IM group.
11051
11505
  *
11052
11506
  * @remarks
11053
- * >Notice:
11054
- * This operation is in beta testing for Meta. Contact your account manager to be added to the allowlist before using this endpoint.
11055
- * - Before you call this operation, ensure that you have created an IM group.
11056
- * - If you do not have an IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2932518.html) operation to create one.
11507
+ * >Notice: Modifying IM group information through API is a Meta beta feature. Contact your account manager to request allowlisting.
11508
+ * - Creating WhatsApp groups through API is a Meta beta feature. Contact your account manager to request allowlisting.
11509
+ * - Before calling this operation, make sure that you have an IM group that has been created.
11510
+ * - If you do not have a created IM group, create one by calling the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation.
11057
11511
  *
11058
11512
  * @param request - UpdateChatGroupRequest
11059
11513
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11120,13 +11574,13 @@ export default class Client extends OpenApi {
11120
11574
  }
11121
11575
 
11122
11576
  /**
11123
- * Updates the information for an Instant Messaging (IM) group.
11577
+ * Modifies the information of an IM group.
11124
11578
  *
11125
11579
  * @remarks
11126
- * >Notice:
11127
- * This operation is in beta testing for Meta. Contact your account manager to be added to the allowlist before using this endpoint.
11128
- * - Before you call this operation, ensure that you have created an IM group.
11129
- * - If you do not have an IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2932518.html) operation to create one.
11580
+ * >Notice: Modifying IM group information through API is a Meta beta feature. Contact your account manager to request allowlisting.
11581
+ * - Creating WhatsApp groups through API is a Meta beta feature. Contact your account manager to request allowlisting.
11582
+ * - Before calling this operation, make sure that you have an IM group that has been created.
11583
+ * - If you do not have a created IM group, create one by calling the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation.
11130
11584
  *
11131
11585
  * @param request - UpdateChatGroupRequest
11132
11586
  * @returns UpdateChatGroupResponse
@@ -11297,12 +11751,12 @@ export default class Client extends OpenApi {
11297
11751
  }
11298
11752
 
11299
11753
  /**
11300
- * Modifies welcoming messages, opening remarks, and commands for a phone number.
11754
+ * Modifies the welcome message, conversation starters, and commands for a phone number.
11301
11755
  *
11302
11756
  * @remarks
11303
- * ### [](#qps-)QPS limit
11304
- * This operation allows a maximum of 5 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
11305
- * This operation retrieves data directly from Meta. Meta imposes its own rate limits on the total number of calls. Stay within the specified limit.
11757
+ * ### QPS limit
11758
+ * The single-user QPS limit for this API is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this API appropriately.
11759
+ * This API directly retrieves data from Facebook. Facebook imposes a limit on the total number of API calls. Use this API appropriately.
11306
11760
  *
11307
11761
  * @param tmpReq - UpdateConversationalAutomationRequest
11308
11762
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11371,12 +11825,12 @@ export default class Client extends OpenApi {
11371
11825
  }
11372
11826
 
11373
11827
  /**
11374
- * Modifies welcoming messages, opening remarks, and commands for a phone number.
11828
+ * Modifies the welcome message, conversation starters, and commands for a phone number.
11375
11829
  *
11376
11830
  * @remarks
11377
- * ### [](#qps-)QPS limit
11378
- * This operation allows a maximum of 5 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
11379
- * This operation retrieves data directly from Meta. Meta imposes its own rate limits on the total number of calls. Stay within the specified limit.
11831
+ * ### QPS limit
11832
+ * The single-user QPS limit for this API is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this API appropriately.
11833
+ * This API directly retrieves data from Facebook. Facebook imposes a limit on the total number of API calls. Use this API appropriately.
11380
11834
  *
11381
11835
  * @param request - UpdateConversationalAutomationRequest
11382
11836
  * @returns UpdateConversationalAutomationResponse
@@ -11387,10 +11841,10 @@ export default class Client extends OpenApi {
11387
11841
  }
11388
11842
 
11389
11843
  /**
11390
- * Updates the content of a WhatsApp flow by using a JSON definition.
11844
+ * Updates the content of a flow by using JSON.
11391
11845
  *
11392
11846
  * @remarks
11393
- * This operation allows a maximum of 5 requests per second per account. Excess requests are throttled and may result in service interruptions.
11847
+ * The China Mobile (China) QPS limit for this API is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Manage your calls appropriately.
11394
11848
  *
11395
11849
  * @param request - UpdateFlowJSONAssetRequest
11396
11850
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11441,10 +11895,10 @@ export default class Client extends OpenApi {
11441
11895
  }
11442
11896
 
11443
11897
  /**
11444
- * Updates the content of a WhatsApp flow by using a JSON definition.
11898
+ * Updates the content of a flow by using JSON.
11445
11899
  *
11446
11900
  * @remarks
11447
- * This operation allows a maximum of 5 requests per second per account. Excess requests are throttled and may result in service interruptions.
11901
+ * The China Mobile (China) QPS limit for this API is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Manage your calls appropriately.
11448
11902
  *
11449
11903
  * @param request - UpdateFlowJSONAssetRequest
11450
11904
  * @returns UpdateFlowJSONAssetResponse
@@ -11455,7 +11909,12 @@ export default class Client extends OpenApi {
11455
11909
  }
11456
11910
 
11457
11911
  /**
11458
- * 更新流程版本,用于画布更新流程dsl
11912
+ * Updates the Domain-Specific Language (DSL) data of a flow version on the canvas.
11913
+ *
11914
+ * @remarks
11915
+ * - You can call this operation to update the DSL data of a flow version. You can also update the DSL data on the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). To access the canvas, click the name of the flow.
11916
+ * - Before calling this operation, make sure that you have created a flow and its status is Unpublished.
11917
+ * - If you have not created a flow, you can manually create one in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
11459
11918
  *
11460
11919
  * @param tmpReq - UpdateFlowVersionRequest
11461
11920
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11524,7 +11983,12 @@ export default class Client extends OpenApi {
11524
11983
  }
11525
11984
 
11526
11985
  /**
11527
- * 更新流程版本,用于画布更新流程dsl
11986
+ * Updates the Domain-Specific Language (DSL) data of a flow version on the canvas.
11987
+ *
11988
+ * @remarks
11989
+ * - You can call this operation to update the DSL data of a flow version. You can also update the DSL data on the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). To access the canvas, click the name of the flow.
11990
+ * - Before calling this operation, make sure that you have created a flow and its status is Unpublished.
11991
+ * - If you have not created a flow, you can manually create one in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
11528
11992
  *
11529
11993
  * @param request - UpdateFlowVersionRequest
11530
11994
  * @returns UpdateFlowVersionResponse
@@ -11667,7 +12131,7 @@ export default class Client extends OpenApi {
11667
12131
  }
11668
12132
 
11669
12133
  /**
11670
- * 修改营销活动
12134
+ * Modifies campaign information.
11671
12135
  *
11672
12136
  * @param tmpReq - UpdateMarketingFLowRequest
11673
12137
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11764,7 +12228,7 @@ export default class Client extends OpenApi {
11764
12228
  }
11765
12229
 
11766
12230
  /**
11767
- * 修改营销活动
12231
+ * Modifies campaign information.
11768
12232
  *
11769
12233
  * @param request - UpdateMarketingFLowRequest
11770
12234
  * @returns UpdateMarketingFLowResponse
@@ -11775,13 +12239,13 @@ export default class Client extends OpenApi {
11775
12239
  }
11776
12240
 
11777
12241
  /**
11778
- * Updates the encryption key for a phone number.
12242
+ * Updates the encryption public key of a phone number.
11779
12243
  *
11780
12244
  * @remarks
11781
- * - Before you call this API, you must add and verify a phone number for your WhatsApp Business Account (WABA).
11782
- * - If you do not have a phone number for your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) APIs to obtain a verification code and verifythe phone number.
12245
+ * - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
12246
+ * - If no phone number has been added under your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) operations to obtain a verification code and register a phone number.
11783
12247
  * #### QPS limit
11784
- * This API is limited to 5 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
12248
+ * The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
11785
12249
  *
11786
12250
  * @param request - UpdatePhoneEncryptionPublicKeyRequest
11787
12251
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11832,13 +12296,13 @@ export default class Client extends OpenApi {
11832
12296
  }
11833
12297
 
11834
12298
  /**
11835
- * Updates the encryption key for a phone number.
12299
+ * Updates the encryption public key of a phone number.
11836
12300
  *
11837
12301
  * @remarks
11838
- * - Before you call this API, you must add and verify a phone number for your WhatsApp Business Account (WABA).
11839
- * - If you do not have a phone number for your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) APIs to obtain a verification code and verifythe phone number.
12302
+ * - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
12303
+ * - If no phone number has been added under your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) operations to obtain a verification code and register a phone number.
11840
12304
  * #### QPS limit
11841
- * This API is limited to 5 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
12305
+ * The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
11842
12306
  *
11843
12307
  * @param request - UpdatePhoneEncryptionPublicKeyRequest
11844
12308
  * @returns UpdatePhoneEncryptionPublicKeyResponse
@@ -11849,13 +12313,14 @@ export default class Client extends OpenApi {
11849
12313
  }
11850
12314
 
11851
12315
  /**
11852
- * Updates a message QR code.
12316
+ * Modifies a message QR code.
11853
12317
  *
11854
12318
  * @remarks
11855
- * - After you update a message QR code, users can no longer scan the original QR code to start a chat with the associated business phone number. Use this operation with caution.
11856
- * - If you have not created a message QR code, call the [CreatePhoneMessageQrdl](https://help.aliyun.com/document_detail/2638749.html) API to create one.
12319
+ * - After you modify a message QR code, users can no longer open the corresponding business phone number by scanning the original QR code. Proceed with caution.
12320
+ * - Before calling this operation, make sure that you have created a message QR code.
12321
+ * - If you have not created a message QR code, call the [CreatePhoneMessageQrdl](https://help.aliyun.com/document_detail/2638749.html) operation to create one first.
11857
12322
  * #### QPS limit
11858
- * This API is limited to 5 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
12323
+ * The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
11859
12324
  *
11860
12325
  * @param request - UpdatePhoneMessageQrdlRequest
11861
12326
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11914,13 +12379,14 @@ export default class Client extends OpenApi {
11914
12379
  }
11915
12380
 
11916
12381
  /**
11917
- * Updates a message QR code.
12382
+ * Modifies a message QR code.
11918
12383
  *
11919
12384
  * @remarks
11920
- * - After you update a message QR code, users can no longer scan the original QR code to start a chat with the associated business phone number. Use this operation with caution.
11921
- * - If you have not created a message QR code, call the [CreatePhoneMessageQrdl](https://help.aliyun.com/document_detail/2638749.html) API to create one.
12385
+ * - After you modify a message QR code, users can no longer open the corresponding business phone number by scanning the original QR code. Proceed with caution.
12386
+ * - Before calling this operation, make sure that you have created a message QR code.
12387
+ * - If you have not created a message QR code, call the [CreatePhoneMessageQrdl](https://help.aliyun.com/document_detail/2638749.html) operation to create one first.
11922
12388
  * #### QPS limit
11923
- * This API is limited to 5 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
12389
+ * The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
11924
12390
  *
11925
12391
  * @param request - UpdatePhoneMessageQrdlRequest
11926
12392
  * @returns UpdatePhoneMessageQrdlResponse
@@ -11931,12 +12397,10 @@ export default class Client extends OpenApi {
11931
12397
  }
11932
12398
 
11933
12399
  /**
11934
- * The HTTP status code returned.
11935
- * \\\\* A value of OK indicates that the call is successful.
11936
- * \\\\* Other values indicate that the call fails. For more information, see \\[Error codes]\\\\(~~196974~~).
12400
+ * Modifies the callback URL information for a phone number.
11937
12401
  *
11938
12402
  * @remarks
11939
- * The error message returned.
12403
+ * The per-user QPS limit for this API is 10 calls per second. If the limit is exceeded, API calls will be throttled, which may affect your business. Call this API at a reasonable frequency.
11940
12404
  *
11941
12405
  * @param request - UpdatePhoneWebhookRequest
11942
12406
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11999,12 +12463,10 @@ export default class Client extends OpenApi {
11999
12463
  }
12000
12464
 
12001
12465
  /**
12002
- * The HTTP status code returned.
12003
- * \\\\* A value of OK indicates that the call is successful.
12004
- * \\\\* Other values indicate that the call fails. For more information, see \\[Error codes]\\\\(~~196974~~).
12466
+ * Modifies the callback URL information for a phone number.
12005
12467
  *
12006
12468
  * @remarks
12007
- * The error message returned.
12469
+ * The per-user QPS limit for this API is 10 calls per second. If the limit is exceeded, API calls will be throttled, which may affect your business. Call this API at a reasonable frequency.
12008
12470
  *
12009
12471
  * @param request - UpdatePhoneWebhookRequest
12010
12472
  * @returns UpdatePhoneWebhookResponse
@@ -12015,7 +12477,7 @@ export default class Client extends OpenApi {
12015
12477
  }
12016
12478
 
12017
12479
  /**
12018
- * 更新waba的mml状态
12480
+ * Updates the MML status of a WABA.
12019
12481
  *
12020
12482
  * @param request - UpdateWabaMmlStatusRequest
12021
12483
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12066,7 +12528,7 @@ export default class Client extends OpenApi {
12066
12528
  }
12067
12529
 
12068
12530
  /**
12069
- * 更新waba的mml状态
12531
+ * Updates the MML status of a WABA.
12070
12532
  *
12071
12533
  * @param request - UpdateWabaMmlStatusRequest
12072
12534
  * @returns UpdateWabaMmlStatusResponse
@@ -12076,6 +12538,60 @@ export default class Client extends OpenApi {
12076
12538
  return await this.updateWabaMmlStatusWithOptions(request, runtime);
12077
12539
  }
12078
12540
 
12541
+ /**
12542
+ * Updates the WhatsApp username for a business phone number.
12543
+ *
12544
+ * @param request - UpdateWhatsappUserNameRequest
12545
+ * @param runtime - runtime options for this request RuntimeOptions
12546
+ * @returns UpdateWhatsappUserNameResponse
12547
+ */
12548
+ async updateWhatsappUserNameWithOptions(request: $_model.UpdateWhatsappUserNameRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateWhatsappUserNameResponse> {
12549
+ request.validate();
12550
+ let query = { };
12551
+ if (!$dara.isNull(request.custSpaceId)) {
12552
+ query["CustSpaceId"] = request.custSpaceId;
12553
+ }
12554
+
12555
+ if (!$dara.isNull(request.phoneNumber)) {
12556
+ query["PhoneNumber"] = request.phoneNumber;
12557
+ }
12558
+
12559
+ if (!$dara.isNull(request.transferAction)) {
12560
+ query["TransferAction"] = request.transferAction;
12561
+ }
12562
+
12563
+ if (!$dara.isNull(request.username)) {
12564
+ query["Username"] = request.username;
12565
+ }
12566
+
12567
+ let req = new $OpenApiUtil.OpenApiRequest({
12568
+ query: OpenApiUtil.query(query),
12569
+ });
12570
+ let params = new $OpenApiUtil.Params({
12571
+ action: "UpdateWhatsappUserName",
12572
+ version: "2020-06-06",
12573
+ protocol: "HTTPS",
12574
+ pathname: "/",
12575
+ method: "POST",
12576
+ authType: "AK",
12577
+ style: "RPC",
12578
+ reqBodyType: "formData",
12579
+ bodyType: "json",
12580
+ });
12581
+ return $dara.cast<$_model.UpdateWhatsappUserNameResponse>(await this.callApi(params, req, runtime), new $_model.UpdateWhatsappUserNameResponse({}));
12582
+ }
12583
+
12584
+ /**
12585
+ * Updates the WhatsApp username for a business phone number.
12586
+ *
12587
+ * @param request - UpdateWhatsappUserNameRequest
12588
+ * @returns UpdateWhatsappUserNameResponse
12589
+ */
12590
+ async updateWhatsappUserName(request: $_model.UpdateWhatsappUserNameRequest): Promise<$_model.UpdateWhatsappUserNameResponse> {
12591
+ let runtime = new $dara.RuntimeOptions({ });
12592
+ return await this.updateWhatsappUserNameWithOptions(request, runtime);
12593
+ }
12594
+
12079
12595
  /**
12080
12596
  * Places, answers, or ends WhatsApp voice calls.
12081
12597
  *