|
@@ -3590,6 +3590,42 @@ type RemoveQrcodeReq struct {
|
|
WaId string `json:"waId"`
|
|
WaId string `json:"waId"`
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+// swagger:model getBusinessReq
|
|
|
|
+type GetBusinessReq struct {
|
|
|
|
+ Phone *string `json:"phone"`
|
|
|
|
+ WaId *string `json:"waId"`
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// swagger:model getBusinessResp
|
|
|
|
+type GetBusinessResp struct {
|
|
|
|
+ BaseDataInfo
|
|
|
|
+ Data BusinessInfo `json:"data"`
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// swagger:model BusinessInfo
|
|
|
|
+type BusinessInfo struct {
|
|
|
|
+ Vertical string `json:"vertical,optional"`
|
|
|
|
+ Description string `json:"description,optional"`
|
|
|
|
+ Email string `json:"email,optional"`
|
|
|
|
+ Address string `json:"address,optional"`
|
|
|
|
+ ProfilePictureUrl string `json:"profilePictureUrl,optional"`
|
|
|
|
+ Websites []string `json:"websites,optional"`
|
|
|
|
+ About string `json:"about,optional"`
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// swagger:model setBusinessReq
|
|
|
|
+type SetBusinessReq struct {
|
|
|
|
+ Phone *string `json:"phone"`
|
|
|
|
+ WaId *string `json:"waId"`
|
|
|
|
+ Vertical string `json:"vertical,optional"`
|
|
|
|
+ Description string `json:"description,optional"`
|
|
|
|
+ Email string `json:"email,optional"`
|
|
|
|
+ Address string `json:"address,optional"`
|
|
|
|
+ ProfilePictureUrl string `json:"profilePictureUrl,optional"`
|
|
|
|
+ Websites []string `json:"websites,optional"`
|
|
|
|
+ About string `json:"about,optional"`
|
|
|
|
+}
|
|
|
|
+
|
|
// The data of whatsapp channel information | WhatsappChannel信息
|
|
// The data of whatsapp channel information | WhatsappChannel信息
|
|
// swagger:model WhatsappChannelInfo
|
|
// swagger:model WhatsappChannelInfo
|
|
type WhatsappChannelInfo struct {
|
|
type WhatsappChannelInfo struct {
|