瀏覽代碼

TRADEMARK SDK Auto Released By jim.xj,Version:1.60.17

Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
sdk-team 6 年之前
父節點
當前提交
5cf0b675ac
共有 92 個文件被更改,包括 6551 次插入0 次删除
  1. 3 0
      ChangeLog.txt
  2. 109 0
      services/trademark/apply_notary_post.go
  3. 105 0
      services/trademark/bind_material.go
  4. 106 0
      services/trademark/cancel_trade_order.go
  5. 105 0
      services/trademark/check_loa_fill.go
  6. 104 0
      services/trademark/client.go
  7. 109 0
      services/trademark/combine_loa.go
  8. 104 0
      services/trademark/convert_image_to_gray.go
  9. 125 0
      services/trademark/create_trademark_order.go
  10. 106 0
      services/trademark/delete_material.go
  11. 106 0
      services/trademark/delete_tm_monitor_rule.go
  12. 106 0
      services/trademark/deny_supplement.go
  13. 107 0
      services/trademark/fill_logistics.go
  14. 104 0
      services/trademark/filter_unavailable_codes.go
  15. 110 0
      services/trademark/generate_qr_code.go
  16. 110 0
      services/trademark/generate_upload_file_policy.go
  17. 145 0
      services/trademark/get_notary_order.go
  18. 124 0
      services/trademark/insert_material.go
  19. 111 0
      services/trademark/insert_renew_info.go
  20. 113 0
      services/trademark/insert_tm_monitor_rule.go
  21. 111 0
      services/trademark/insert_trade_intention_user.go
  22. 117 0
      services/trademark/list_notary_infos.go
  23. 122 0
      services/trademark/list_notary_orders.go
  24. 104 0
      services/trademark/query_communication_logs.go
  25. 106 0
      services/trademark/query_credentials_info.go
  26. 129 0
      services/trademark/query_material.go
  27. 114 0
      services/trademark/query_material_list.go
  28. 105 0
      services/trademark/query_monitor_keywords.go
  29. 104 0
      services/trademark/query_oss_resources.go
  30. 109 0
      services/trademark/query_qr_code_upload_status.go
  31. 116 0
      services/trademark/query_supplement_detail.go
  32. 104 0
      services/trademark/query_task_list.go
  33. 109 0
      services/trademark/query_trade_intention_user_list.go
  34. 131 0
      services/trademark/query_trade_mark_application_detail.go
  35. 104 0
      services/trademark/query_trade_mark_application_logs.go
  36. 118 0
      services/trademark/query_trade_mark_applications.go
  37. 104 0
      services/trademark/query_trade_produce_detail.go
  38. 115 0
      services/trademark/query_trade_produce_list.go
  39. 118 0
      services/trademark/query_trademark_monitor_results.go
  40. 114 0
      services/trademark/query_trademark_monitor_rules.go
  41. 112 0
      services/trademark/query_trademark_price.go
  42. 106 0
      services/trademark/refund_produce.go
  43. 104 0
      services/trademark/save_task.go
  44. 107 0
      services/trademark/start_notary.go
  45. 124 0
      services/trademark/store_material_temporarily.go
  46. 22 0
      services/trademark/struct_admin_uploads.go
  47. 25 0
      services/trademark/struct_credentials_info.go
  48. 49 0
      services/trademark/struct_data.go
  49. 21 0
      services/trademark/struct_data_in_filter_unavailable_codes.go
  50. 21 0
      services/trademark/struct_data_in_list_notary_infos.go
  51. 21 0
      services/trademark/struct_data_in_list_notary_orders.go
  52. 21 0
      services/trademark/struct_data_in_query_communication_logs.go
  53. 21 0
      services/trademark/struct_data_in_query_material_list.go
  54. 21 0
      services/trademark/struct_data_in_query_monitor_keywords.go
  55. 21 0
      services/trademark/struct_data_in_query_oss_resources.go
  56. 21 0
      services/trademark/struct_data_in_query_task_list.go
  57. 21 0
      services/trademark/struct_data_in_query_trade_intention_user_list.go
  58. 21 0
      services/trademark/struct_data_in_query_trade_mark_application_logs.go
  59. 21 0
      services/trademark/struct_data_in_query_trade_mark_applications.go
  60. 21 0
      services/trademark/struct_data_in_query_trade_produce_list.go
  61. 21 0
      services/trademark/struct_data_in_query_trademark_monitor_results.go
  62. 21 0
      services/trademark/struct_data_in_query_trademark_monitor_rules.go
  63. 25 0
      services/trademark/struct_data_item.go
  64. 21 0
      services/trademark/struct_error_msgs.go
  65. 21 0
      services/trademark/struct_file_template_urls_in_query_supplement_detail.go
  66. 21 0
      services/trademark/struct_file_template_urls_in_query_trade_mark_application_detail.go
  67. 24 0
      services/trademark/struct_first_classification.go
  68. 21 0
      services/trademark/struct_flags.go
  69. 21 0
      services/trademark/struct_judge_result_url.go
  70. 43 0
      services/trademark/struct_material_detail.go
  71. 27 0
      services/trademark/struct_notary_info.go
  72. 35 0
      services/trademark/struct_notary_order.go
  73. 21 0
      services/trademark/struct_prices.go
  74. 25 0
      services/trademark/struct_prices_item.go
  75. 21 0
      services/trademark/struct_receipt_url.go
  76. 26 0
      services/trademark/struct_renew_response.go
  77. 21 0
      services/trademark/struct_supplements.go
  78. 35 0
      services/trademark/struct_supplements_item.go
  79. 31 0
      services/trademark/struct_task_list.go
  80. 21 0
      services/trademark/struct_third_classification_in_query_trade_mark_application_detail.go
  81. 21 0
      services/trademark/struct_third_classification_in_query_trade_mark_applications.go
  82. 24 0
      services/trademark/struct_third_classifications.go
  83. 37 0
      services/trademark/struct_tm_monitor_result.go
  84. 39 0
      services/trademark/struct_tm_monitor_rule.go
  85. 41 0
      services/trademark/struct_tm_produces.go
  86. 33 0
      services/trademark/struct_trade_produces.go
  87. 34 0
      services/trademark/struct_trademark.go
  88. 108 0
      services/trademark/submit_supplement.go
  89. 123 0
      services/trademark/update_material.go
  90. 108 0
      services/trademark/update_send_material_num.go
  91. 108 0
      services/trademark/update_tm_monitor_rule.go
  92. 106 0
      services/trademark/upload_notary_data.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-05-20 Version: 1.60.17
+1, Add both api, ListNotaryInfos
+
 2019-05-20 Version: 1.60.16
 1, Initial release of api, including data management api, rule configuration api and system configuration api.
 

+ 109 - 0
services/trademark/apply_notary_post.go

@@ -0,0 +1,109 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// ApplyNotaryPost invokes the trademark.ApplyNotaryPost API synchronously
+// api document: https://help.aliyun.com/api/trademark/applynotarypost.html
+func (client *Client) ApplyNotaryPost(request *ApplyNotaryPostRequest) (response *ApplyNotaryPostResponse, err error) {
+	response = CreateApplyNotaryPostResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ApplyNotaryPostWithChan invokes the trademark.ApplyNotaryPost API asynchronously
+// api document: https://help.aliyun.com/api/trademark/applynotarypost.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ApplyNotaryPostWithChan(request *ApplyNotaryPostRequest) (<-chan *ApplyNotaryPostResponse, <-chan error) {
+	responseChan := make(chan *ApplyNotaryPostResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ApplyNotaryPost(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ApplyNotaryPostWithCallback invokes the trademark.ApplyNotaryPost API asynchronously
+// api document: https://help.aliyun.com/api/trademark/applynotarypost.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ApplyNotaryPostWithCallback(request *ApplyNotaryPostRequest, callback func(response *ApplyNotaryPostResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ApplyNotaryPostResponse
+		var err error
+		defer close(result)
+		response, err = client.ApplyNotaryPost(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ApplyNotaryPostRequest is the request struct for api ApplyNotaryPost
+type ApplyNotaryPostRequest struct {
+	*requests.RpcRequest
+	ReceiverName    string           `position:"Query" name:"ReceiverName"`
+	ReceiverPhone   string           `position:"Query" name:"ReceiverPhone"`
+	NotaryOrderId   requests.Integer `position:"Query" name:"NotaryOrderId"`
+	ReceiverAddress string           `position:"Query" name:"ReceiverAddress"`
+}
+
+// ApplyNotaryPostResponse is the response struct for api ApplyNotaryPost
+type ApplyNotaryPostResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
+	ErrorCode string `json:"ErrorCode" xml:"ErrorCode"`
+}
+
+// CreateApplyNotaryPostRequest creates a request to invoke ApplyNotaryPost API
+func CreateApplyNotaryPostRequest() (request *ApplyNotaryPostRequest) {
+	request = &ApplyNotaryPostRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "ApplyNotaryPost", "trademark", "openAPI")
+	return
+}
+
+// CreateApplyNotaryPostResponse creates a response to parse from ApplyNotaryPost response
+func CreateApplyNotaryPostResponse() (response *ApplyNotaryPostResponse) {
+	response = &ApplyNotaryPostResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/trademark/bind_material.go

@@ -0,0 +1,105 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// BindMaterial invokes the trademark.BindMaterial API synchronously
+// api document: https://help.aliyun.com/api/trademark/bindmaterial.html
+func (client *Client) BindMaterial(request *BindMaterialRequest) (response *BindMaterialResponse, err error) {
+	response = CreateBindMaterialResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// BindMaterialWithChan invokes the trademark.BindMaterial API asynchronously
+// api document: https://help.aliyun.com/api/trademark/bindmaterial.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) BindMaterialWithChan(request *BindMaterialRequest) (<-chan *BindMaterialResponse, <-chan error) {
+	responseChan := make(chan *BindMaterialResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.BindMaterial(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// BindMaterialWithCallback invokes the trademark.BindMaterial API asynchronously
+// api document: https://help.aliyun.com/api/trademark/bindmaterial.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) BindMaterialWithCallback(request *BindMaterialRequest, callback func(response *BindMaterialResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *BindMaterialResponse
+		var err error
+		defer close(result)
+		response, err = client.BindMaterial(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// BindMaterialRequest is the request struct for api BindMaterial
+type BindMaterialRequest struct {
+	*requests.RpcRequest
+	BizId      string `position:"Query" name:"BizId"`
+	MaterialId string `position:"Query" name:"MaterialId"`
+	LoaOssKey  string `position:"Query" name:"LoaOssKey"`
+}
+
+// BindMaterialResponse is the response struct for api BindMaterial
+type BindMaterialResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateBindMaterialRequest creates a request to invoke BindMaterial API
+func CreateBindMaterialRequest() (request *BindMaterialRequest) {
+	request = &BindMaterialRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "BindMaterial", "trademark", "openAPI")
+	return
+}
+
+// CreateBindMaterialResponse creates a response to parse from BindMaterial response
+func CreateBindMaterialResponse() (response *BindMaterialResponse) {
+	response = &BindMaterialResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/trademark/cancel_trade_order.go

@@ -0,0 +1,106 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// CancelTradeOrder invokes the trademark.CancelTradeOrder API synchronously
+// api document: https://help.aliyun.com/api/trademark/canceltradeorder.html
+func (client *Client) CancelTradeOrder(request *CancelTradeOrderRequest) (response *CancelTradeOrderResponse, err error) {
+	response = CreateCancelTradeOrderResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CancelTradeOrderWithChan invokes the trademark.CancelTradeOrder API asynchronously
+// api document: https://help.aliyun.com/api/trademark/canceltradeorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CancelTradeOrderWithChan(request *CancelTradeOrderRequest) (<-chan *CancelTradeOrderResponse, <-chan error) {
+	responseChan := make(chan *CancelTradeOrderResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CancelTradeOrder(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CancelTradeOrderWithCallback invokes the trademark.CancelTradeOrder API asynchronously
+// api document: https://help.aliyun.com/api/trademark/canceltradeorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CancelTradeOrderWithCallback(request *CancelTradeOrderRequest, callback func(response *CancelTradeOrderResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CancelTradeOrderResponse
+		var err error
+		defer close(result)
+		response, err = client.CancelTradeOrder(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CancelTradeOrderRequest is the request struct for api CancelTradeOrder
+type CancelTradeOrderRequest struct {
+	*requests.RpcRequest
+	BizId string `position:"Query" name:"BizId"`
+}
+
+// CancelTradeOrderResponse is the response struct for api CancelTradeOrder
+type CancelTradeOrderResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
+	ErrorCode string `json:"ErrorCode" xml:"ErrorCode"`
+}
+
+// CreateCancelTradeOrderRequest creates a request to invoke CancelTradeOrder API
+func CreateCancelTradeOrderRequest() (request *CancelTradeOrderRequest) {
+	request = &CancelTradeOrderRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "CancelTradeOrder", "trademark", "openAPI")
+	return
+}
+
+// CreateCancelTradeOrderResponse creates a response to parse from CancelTradeOrder response
+func CreateCancelTradeOrderResponse() (response *CancelTradeOrderResponse) {
+	response = &CancelTradeOrderResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/trademark/check_loa_fill.go

@@ -0,0 +1,105 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// CheckLoaFill invokes the trademark.CheckLoaFill API synchronously
+// api document: https://help.aliyun.com/api/trademark/checkloafill.html
+func (client *Client) CheckLoaFill(request *CheckLoaFillRequest) (response *CheckLoaFillResponse, err error) {
+	response = CreateCheckLoaFillResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CheckLoaFillWithChan invokes the trademark.CheckLoaFill API asynchronously
+// api document: https://help.aliyun.com/api/trademark/checkloafill.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CheckLoaFillWithChan(request *CheckLoaFillRequest) (<-chan *CheckLoaFillResponse, <-chan error) {
+	responseChan := make(chan *CheckLoaFillResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CheckLoaFill(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CheckLoaFillWithCallback invokes the trademark.CheckLoaFill API asynchronously
+// api document: https://help.aliyun.com/api/trademark/checkloafill.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CheckLoaFillWithCallback(request *CheckLoaFillRequest, callback func(response *CheckLoaFillResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CheckLoaFillResponse
+		var err error
+		defer close(result)
+		response, err = client.CheckLoaFill(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CheckLoaFillRequest is the request struct for api CheckLoaFill
+type CheckLoaFillRequest struct {
+	*requests.RpcRequest
+	OssKey string `position:"Query" name:"OssKey"`
+	Type   string `position:"Query" name:"Type"`
+}
+
+// CheckLoaFillResponse is the response struct for api CheckLoaFill
+type CheckLoaFillResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Data      Data   `json:"Data" xml:"Data"`
+}
+
+// CreateCheckLoaFillRequest creates a request to invoke CheckLoaFill API
+func CreateCheckLoaFillRequest() (request *CheckLoaFillRequest) {
+	request = &CheckLoaFillRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "CheckLoaFill", "trademark", "openAPI")
+	return
+}
+
+// CreateCheckLoaFillResponse creates a response to parse from CheckLoaFill response
+func CreateCheckLoaFillResponse() (response *CheckLoaFillResponse) {
+	response = &CheckLoaFillResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/trademark/client.go

@@ -0,0 +1,104 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth/credentials/provider"
+)
+
+// Client is the sdk client struct, each func corresponds to an OpenAPI
+type Client struct {
+	sdk.Client
+}
+
+// NewClient creates a sdk client with environment variables
+func NewClient() (client *Client, err error) {
+	client = &Client{}
+	err = client.Init()
+	return
+}
+
+// NewClientWithProvider creates a sdk client with providers
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error) {
+	client = &Client{}
+	var pc provider.Provider
+	if len(providers) == 0 {
+		pc = provider.DefaultChain
+	} else {
+		pc = provider.NewProviderChain(providers)
+	}
+	err = client.InitWithProviderChain(regionId, pc)
+	return
+}
+
+// NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential
+// this is the common api to create a sdk client
+func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithOptions(regionId, config, credential)
+	return
+}
+
+// NewClientWithAccessKey is a shortcut to create sdk client with accesskey
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithAccessKey(regionId, accessKeyId, accessKeySecret)
+	return
+}
+
+// NewClientWithStsToken is a shortcut to create sdk client with sts token
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken)
+	return
+}
+
+// NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRamRoleArn(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName)
+	return
+}
+
+// NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRamRoleArnAndPolicy(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy)
+	return
+}
+
+// NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithEcsRamRole(regionId, roleName)
+	return
+}
+
+// NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRsaKeyPair(regionId, publicKeyId, privateKey, sessionExpiration)
+	return
+}

+ 109 - 0
services/trademark/combine_loa.go

@@ -0,0 +1,109 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// CombineLoa invokes the trademark.CombineLoa API synchronously
+// api document: https://help.aliyun.com/api/trademark/combineloa.html
+func (client *Client) CombineLoa(request *CombineLoaRequest) (response *CombineLoaResponse, err error) {
+	response = CreateCombineLoaResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CombineLoaWithChan invokes the trademark.CombineLoa API asynchronously
+// api document: https://help.aliyun.com/api/trademark/combineloa.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CombineLoaWithChan(request *CombineLoaRequest) (<-chan *CombineLoaResponse, <-chan error) {
+	responseChan := make(chan *CombineLoaResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CombineLoa(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CombineLoaWithCallback invokes the trademark.CombineLoa API asynchronously
+// api document: https://help.aliyun.com/api/trademark/combineloa.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CombineLoaWithCallback(request *CombineLoaRequest, callback func(response *CombineLoaResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CombineLoaResponse
+		var err error
+		defer close(result)
+		response, err = client.CombineLoa(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CombineLoaRequest is the request struct for api CombineLoa
+type CombineLoaRequest struct {
+	*requests.RpcRequest
+	TrademarkName string `position:"Query" name:"TrademarkName"`
+	MaterialName  string `position:"Query" name:"MaterialName"`
+	Address       string `position:"Query" name:"Address"`
+	Nationality   string `position:"Query" name:"Nationality"`
+	TmProduceType string `position:"Query" name:"TmProduceType"`
+	MaterialId    string `position:"Query" name:"MaterialId"`
+}
+
+// CombineLoaResponse is the response struct for api CombineLoa
+type CombineLoaResponse struct {
+	*responses.BaseResponse
+	RequestId          string `json:"RequestId" xml:"RequestId"`
+	TemplateCombineUrl string `json:"TemplateCombineUrl" xml:"TemplateCombineUrl"`
+}
+
+// CreateCombineLoaRequest creates a request to invoke CombineLoa API
+func CreateCombineLoaRequest() (request *CombineLoaRequest) {
+	request = &CombineLoaRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "CombineLoa", "trademark", "openAPI")
+	return
+}
+
+// CreateCombineLoaResponse creates a response to parse from CombineLoa response
+func CreateCombineLoaResponse() (response *CombineLoaResponse) {
+	response = &CombineLoaResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/trademark/convert_image_to_gray.go

@@ -0,0 +1,104 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// ConvertImageToGray invokes the trademark.ConvertImageToGray API synchronously
+// api document: https://help.aliyun.com/api/trademark/convertimagetogray.html
+func (client *Client) ConvertImageToGray(request *ConvertImageToGrayRequest) (response *ConvertImageToGrayResponse, err error) {
+	response = CreateConvertImageToGrayResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ConvertImageToGrayWithChan invokes the trademark.ConvertImageToGray API asynchronously
+// api document: https://help.aliyun.com/api/trademark/convertimagetogray.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ConvertImageToGrayWithChan(request *ConvertImageToGrayRequest) (<-chan *ConvertImageToGrayResponse, <-chan error) {
+	responseChan := make(chan *ConvertImageToGrayResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ConvertImageToGray(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ConvertImageToGrayWithCallback invokes the trademark.ConvertImageToGray API asynchronously
+// api document: https://help.aliyun.com/api/trademark/convertimagetogray.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ConvertImageToGrayWithCallback(request *ConvertImageToGrayRequest, callback func(response *ConvertImageToGrayResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ConvertImageToGrayResponse
+		var err error
+		defer close(result)
+		response, err = client.ConvertImageToGray(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ConvertImageToGrayRequest is the request struct for api ConvertImageToGray
+type ConvertImageToGrayRequest struct {
+	*requests.RpcRequest
+	OssKey string `position:"Query" name:"OssKey"`
+}
+
+// ConvertImageToGrayResponse is the response struct for api ConvertImageToGray
+type ConvertImageToGrayResponse struct {
+	*responses.BaseResponse
+	RequestId    string `json:"RequestId" xml:"RequestId"`
+	SignatureUrl string `json:"SignatureUrl" xml:"SignatureUrl"`
+}
+
+// CreateConvertImageToGrayRequest creates a request to invoke ConvertImageToGray API
+func CreateConvertImageToGrayRequest() (request *ConvertImageToGrayRequest) {
+	request = &ConvertImageToGrayRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "ConvertImageToGray", "trademark", "openAPI")
+	return
+}
+
+// CreateConvertImageToGrayResponse creates a response to parse from ConvertImageToGray response
+func CreateConvertImageToGrayResponse() (response *ConvertImageToGrayResponse) {
+	response = &ConvertImageToGrayResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 125 - 0
services/trademark/create_trademark_order.go

@@ -0,0 +1,125 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// CreateTrademarkOrder invokes the trademark.CreateTrademarkOrder API synchronously
+// api document: https://help.aliyun.com/api/trademark/createtrademarkorder.html
+func (client *Client) CreateTrademarkOrder(request *CreateTrademarkOrderRequest) (response *CreateTrademarkOrderResponse, err error) {
+	response = CreateCreateTrademarkOrderResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateTrademarkOrderWithChan invokes the trademark.CreateTrademarkOrder API asynchronously
+// api document: https://help.aliyun.com/api/trademark/createtrademarkorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateTrademarkOrderWithChan(request *CreateTrademarkOrderRequest) (<-chan *CreateTrademarkOrderResponse, <-chan error) {
+	responseChan := make(chan *CreateTrademarkOrderResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateTrademarkOrder(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateTrademarkOrderWithCallback invokes the trademark.CreateTrademarkOrder API asynchronously
+// api document: https://help.aliyun.com/api/trademark/createtrademarkorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateTrademarkOrderWithCallback(request *CreateTrademarkOrderRequest, callback func(response *CreateTrademarkOrderResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateTrademarkOrderResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateTrademarkOrder(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateTrademarkOrderRequest is the request struct for api CreateTrademarkOrder
+type CreateTrademarkOrderRequest struct {
+	*requests.RpcRequest
+	TmName         string           `position:"Query" name:"TmName"`
+	RealUserName   string           `position:"Query" name:"RealUserName"`
+	OrderData      string           `position:"Query" name:"OrderData"`
+	Channel        string           `position:"Query" name:"Channel"`
+	PartnerCode    string           `position:"Query" name:"PartnerCode"`
+	PhoneNum       string           `position:"Query" name:"PhoneNum"`
+	Type           requests.Integer `position:"Query" name:"Type"`
+	MaterialId     string           `position:"Query" name:"MaterialId"`
+	UserId         requests.Integer `position:"Query" name:"UserId"`
+	TmComment      string           `position:"Query" name:"TmComment"`
+	RegisterName   string           `position:"Query" name:"RegisterName"`
+	TmNameType     string           `position:"Query" name:"TmNameType"`
+	TmIcon         string           `position:"Query" name:"TmIcon"`
+	Uid            string           `position:"Query" name:"Uid"`
+	IsBlackIcon    requests.Boolean `position:"Query" name:"IsBlackIcon"`
+	RenewInfoId    string           `position:"Query" name:"RenewInfoId"`
+	BizId          string           `position:"Query" name:"BizId"`
+	RootCode       string           `position:"Query" name:"RootCode"`
+	LoaOssKey      string           `position:"Query" name:"LoaOssKey"`
+	RegisterNumber string           `position:"Query" name:"RegisterNumber"`
+}
+
+// CreateTrademarkOrderResponse is the response struct for api CreateTrademarkOrder
+type CreateTrademarkOrderResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	OrderId   int64  `json:"OrderId" xml:"OrderId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
+}
+
+// CreateCreateTrademarkOrderRequest creates a request to invoke CreateTrademarkOrder API
+func CreateCreateTrademarkOrderRequest() (request *CreateTrademarkOrderRequest) {
+	request = &CreateTrademarkOrderRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "CreateTrademarkOrder", "trademark", "openAPI")
+	return
+}
+
+// CreateCreateTrademarkOrderResponse creates a response to parse from CreateTrademarkOrder response
+func CreateCreateTrademarkOrderResponse() (response *CreateTrademarkOrderResponse) {
+	response = &CreateTrademarkOrderResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/trademark/delete_material.go

@@ -0,0 +1,106 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DeleteMaterial invokes the trademark.DeleteMaterial API synchronously
+// api document: https://help.aliyun.com/api/trademark/deletematerial.html
+func (client *Client) DeleteMaterial(request *DeleteMaterialRequest) (response *DeleteMaterialResponse, err error) {
+	response = CreateDeleteMaterialResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteMaterialWithChan invokes the trademark.DeleteMaterial API asynchronously
+// api document: https://help.aliyun.com/api/trademark/deletematerial.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteMaterialWithChan(request *DeleteMaterialRequest) (<-chan *DeleteMaterialResponse, <-chan error) {
+	responseChan := make(chan *DeleteMaterialResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteMaterial(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteMaterialWithCallback invokes the trademark.DeleteMaterial API asynchronously
+// api document: https://help.aliyun.com/api/trademark/deletematerial.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteMaterialWithCallback(request *DeleteMaterialRequest, callback func(response *DeleteMaterialResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteMaterialResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteMaterial(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteMaterialRequest is the request struct for api DeleteMaterial
+type DeleteMaterialRequest struct {
+	*requests.RpcRequest
+	Id requests.Integer `position:"Query" name:"Id"`
+}
+
+// DeleteMaterialResponse is the response struct for api DeleteMaterial
+type DeleteMaterialResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
+	ErrorCode string `json:"ErrorCode" xml:"ErrorCode"`
+}
+
+// CreateDeleteMaterialRequest creates a request to invoke DeleteMaterial API
+func CreateDeleteMaterialRequest() (request *DeleteMaterialRequest) {
+	request = &DeleteMaterialRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "DeleteMaterial", "trademark", "openAPI")
+	return
+}
+
+// CreateDeleteMaterialResponse creates a response to parse from DeleteMaterial response
+func CreateDeleteMaterialResponse() (response *DeleteMaterialResponse) {
+	response = &DeleteMaterialResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/trademark/delete_tm_monitor_rule.go

@@ -0,0 +1,106 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DeleteTmMonitorRule invokes the trademark.DeleteTmMonitorRule API synchronously
+// api document: https://help.aliyun.com/api/trademark/deletetmmonitorrule.html
+func (client *Client) DeleteTmMonitorRule(request *DeleteTmMonitorRuleRequest) (response *DeleteTmMonitorRuleResponse, err error) {
+	response = CreateDeleteTmMonitorRuleResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteTmMonitorRuleWithChan invokes the trademark.DeleteTmMonitorRule API asynchronously
+// api document: https://help.aliyun.com/api/trademark/deletetmmonitorrule.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteTmMonitorRuleWithChan(request *DeleteTmMonitorRuleRequest) (<-chan *DeleteTmMonitorRuleResponse, <-chan error) {
+	responseChan := make(chan *DeleteTmMonitorRuleResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteTmMonitorRule(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteTmMonitorRuleWithCallback invokes the trademark.DeleteTmMonitorRule API asynchronously
+// api document: https://help.aliyun.com/api/trademark/deletetmmonitorrule.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteTmMonitorRuleWithCallback(request *DeleteTmMonitorRuleRequest, callback func(response *DeleteTmMonitorRuleResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteTmMonitorRuleResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteTmMonitorRule(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteTmMonitorRuleRequest is the request struct for api DeleteTmMonitorRule
+type DeleteTmMonitorRuleRequest struct {
+	*requests.RpcRequest
+	Id requests.Integer `position:"Query" name:"Id"`
+}
+
+// DeleteTmMonitorRuleResponse is the response struct for api DeleteTmMonitorRule
+type DeleteTmMonitorRuleResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
+	ErrorCode string `json:"ErrorCode" xml:"ErrorCode"`
+}
+
+// CreateDeleteTmMonitorRuleRequest creates a request to invoke DeleteTmMonitorRule API
+func CreateDeleteTmMonitorRuleRequest() (request *DeleteTmMonitorRuleRequest) {
+	request = &DeleteTmMonitorRuleRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "DeleteTmMonitorRule", "trademark", "openAPI")
+	return
+}
+
+// CreateDeleteTmMonitorRuleResponse creates a response to parse from DeleteTmMonitorRule response
+func CreateDeleteTmMonitorRuleResponse() (response *DeleteTmMonitorRuleResponse) {
+	response = &DeleteTmMonitorRuleResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/trademark/deny_supplement.go

@@ -0,0 +1,106 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DenySupplement invokes the trademark.DenySupplement API synchronously
+// api document: https://help.aliyun.com/api/trademark/denysupplement.html
+func (client *Client) DenySupplement(request *DenySupplementRequest) (response *DenySupplementResponse, err error) {
+	response = CreateDenySupplementResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DenySupplementWithChan invokes the trademark.DenySupplement API asynchronously
+// api document: https://help.aliyun.com/api/trademark/denysupplement.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DenySupplementWithChan(request *DenySupplementRequest) (<-chan *DenySupplementResponse, <-chan error) {
+	responseChan := make(chan *DenySupplementResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DenySupplement(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DenySupplementWithCallback invokes the trademark.DenySupplement API asynchronously
+// api document: https://help.aliyun.com/api/trademark/denysupplement.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DenySupplementWithCallback(request *DenySupplementRequest, callback func(response *DenySupplementResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DenySupplementResponse
+		var err error
+		defer close(result)
+		response, err = client.DenySupplement(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DenySupplementRequest is the request struct for api DenySupplement
+type DenySupplementRequest struct {
+	*requests.RpcRequest
+	Id requests.Integer `position:"Query" name:"Id"`
+}
+
+// DenySupplementResponse is the response struct for api DenySupplement
+type DenySupplementResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
+	ErrorCode string `json:"ErrorCode" xml:"ErrorCode"`
+}
+
+// CreateDenySupplementRequest creates a request to invoke DenySupplement API
+func CreateDenySupplementRequest() (request *DenySupplementRequest) {
+	request = &DenySupplementRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "DenySupplement", "trademark", "openAPI")
+	return
+}
+
+// CreateDenySupplementResponse creates a response to parse from DenySupplement response
+func CreateDenySupplementResponse() (response *DenySupplementResponse) {
+	response = &DenySupplementResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/trademark/fill_logistics.go

@@ -0,0 +1,107 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// FillLogistics invokes the trademark.FillLogistics API synchronously
+// api document: https://help.aliyun.com/api/trademark/filllogistics.html
+func (client *Client) FillLogistics(request *FillLogisticsRequest) (response *FillLogisticsResponse, err error) {
+	response = CreateFillLogisticsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// FillLogisticsWithChan invokes the trademark.FillLogistics API asynchronously
+// api document: https://help.aliyun.com/api/trademark/filllogistics.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) FillLogisticsWithChan(request *FillLogisticsRequest) (<-chan *FillLogisticsResponse, <-chan error) {
+	responseChan := make(chan *FillLogisticsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.FillLogistics(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// FillLogisticsWithCallback invokes the trademark.FillLogistics API asynchronously
+// api document: https://help.aliyun.com/api/trademark/filllogistics.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) FillLogisticsWithCallback(request *FillLogisticsRequest, callback func(response *FillLogisticsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *FillLogisticsResponse
+		var err error
+		defer close(result)
+		response, err = client.FillLogistics(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// FillLogisticsRequest is the request struct for api FillLogistics
+type FillLogisticsRequest struct {
+	*requests.RpcRequest
+	BizId     string `position:"Query" name:"BizId"`
+	Logistics string `position:"Query" name:"Logistics"`
+}
+
+// FillLogisticsResponse is the response struct for api FillLogistics
+type FillLogisticsResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
+	ErrorCode string `json:"ErrorCode" xml:"ErrorCode"`
+}
+
+// CreateFillLogisticsRequest creates a request to invoke FillLogistics API
+func CreateFillLogisticsRequest() (request *FillLogisticsRequest) {
+	request = &FillLogisticsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "FillLogistics", "trademark", "openAPI")
+	return
+}
+
+// CreateFillLogisticsResponse creates a response to parse from FillLogistics response
+func CreateFillLogisticsResponse() (response *FillLogisticsResponse) {
+	response = &FillLogisticsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/trademark/filter_unavailable_codes.go

@@ -0,0 +1,104 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// FilterUnavailableCodes invokes the trademark.FilterUnavailableCodes API synchronously
+// api document: https://help.aliyun.com/api/trademark/filterunavailablecodes.html
+func (client *Client) FilterUnavailableCodes(request *FilterUnavailableCodesRequest) (response *FilterUnavailableCodesResponse, err error) {
+	response = CreateFilterUnavailableCodesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// FilterUnavailableCodesWithChan invokes the trademark.FilterUnavailableCodes API asynchronously
+// api document: https://help.aliyun.com/api/trademark/filterunavailablecodes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) FilterUnavailableCodesWithChan(request *FilterUnavailableCodesRequest) (<-chan *FilterUnavailableCodesResponse, <-chan error) {
+	responseChan := make(chan *FilterUnavailableCodesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.FilterUnavailableCodes(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// FilterUnavailableCodesWithCallback invokes the trademark.FilterUnavailableCodes API asynchronously
+// api document: https://help.aliyun.com/api/trademark/filterunavailablecodes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) FilterUnavailableCodesWithCallback(request *FilterUnavailableCodesRequest, callback func(response *FilterUnavailableCodesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *FilterUnavailableCodesResponse
+		var err error
+		defer close(result)
+		response, err = client.FilterUnavailableCodes(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// FilterUnavailableCodesRequest is the request struct for api FilterUnavailableCodes
+type FilterUnavailableCodesRequest struct {
+	*requests.RpcRequest
+	Codes string `position:"Query" name:"Codes"`
+}
+
+// FilterUnavailableCodesResponse is the response struct for api FilterUnavailableCodes
+type FilterUnavailableCodesResponse struct {
+	*responses.BaseResponse
+	RequestId string                       `json:"RequestId" xml:"RequestId"`
+	Data      DataInFilterUnavailableCodes `json:"Data" xml:"Data"`
+}
+
+// CreateFilterUnavailableCodesRequest creates a request to invoke FilterUnavailableCodes API
+func CreateFilterUnavailableCodesRequest() (request *FilterUnavailableCodesRequest) {
+	request = &FilterUnavailableCodesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "FilterUnavailableCodes", "trademark", "openAPI")
+	return
+}
+
+// CreateFilterUnavailableCodesResponse creates a response to parse from FilterUnavailableCodes response
+func CreateFilterUnavailableCodesResponse() (response *FilterUnavailableCodesResponse) {
+	response = &FilterUnavailableCodesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/trademark/generate_qr_code.go

@@ -0,0 +1,110 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// GenerateQrCode invokes the trademark.GenerateQrCode API synchronously
+// api document: https://help.aliyun.com/api/trademark/generateqrcode.html
+func (client *Client) GenerateQrCode(request *GenerateQrCodeRequest) (response *GenerateQrCodeResponse, err error) {
+	response = CreateGenerateQrCodeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GenerateQrCodeWithChan invokes the trademark.GenerateQrCode API asynchronously
+// api document: https://help.aliyun.com/api/trademark/generateqrcode.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GenerateQrCodeWithChan(request *GenerateQrCodeRequest) (<-chan *GenerateQrCodeResponse, <-chan error) {
+	responseChan := make(chan *GenerateQrCodeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GenerateQrCode(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GenerateQrCodeWithCallback invokes the trademark.GenerateQrCode API asynchronously
+// api document: https://help.aliyun.com/api/trademark/generateqrcode.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GenerateQrCodeWithCallback(request *GenerateQrCodeRequest, callback func(response *GenerateQrCodeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GenerateQrCodeResponse
+		var err error
+		defer close(result)
+		response, err = client.GenerateQrCode(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GenerateQrCodeRequest is the request struct for api GenerateQrCode
+type GenerateQrCodeRequest struct {
+	*requests.RpcRequest
+	OssKey   string `position:"Query" name:"OssKey"`
+	FieldKey string `position:"Query" name:"FieldKey"`
+	Uuid     string `position:"Query" name:"Uuid"`
+}
+
+// GenerateQrCodeResponse is the response struct for api GenerateQrCode
+type GenerateQrCodeResponse struct {
+	*responses.BaseResponse
+	RequestId  string `json:"RequestId" xml:"RequestId"`
+	Uuid       string `json:"Uuid" xml:"Uuid"`
+	ExpireTime int64  `json:"ExpireTime" xml:"ExpireTime"`
+	QrcodeUrl  string `json:"QrcodeUrl" xml:"QrcodeUrl"`
+	FieldKey   string `json:"FieldKey" xml:"FieldKey"`
+	Success    bool   `json:"Success" xml:"Success"`
+}
+
+// CreateGenerateQrCodeRequest creates a request to invoke GenerateQrCode API
+func CreateGenerateQrCodeRequest() (request *GenerateQrCodeRequest) {
+	request = &GenerateQrCodeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "GenerateQrCode", "trademark", "openAPI")
+	return
+}
+
+// CreateGenerateQrCodeResponse creates a response to parse from GenerateQrCode response
+func CreateGenerateQrCodeResponse() (response *GenerateQrCodeResponse) {
+	response = &GenerateQrCodeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/trademark/generate_upload_file_policy.go

@@ -0,0 +1,110 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// GenerateUploadFilePolicy invokes the trademark.GenerateUploadFilePolicy API synchronously
+// api document: https://help.aliyun.com/api/trademark/generateuploadfilepolicy.html
+func (client *Client) GenerateUploadFilePolicy(request *GenerateUploadFilePolicyRequest) (response *GenerateUploadFilePolicyResponse, err error) {
+	response = CreateGenerateUploadFilePolicyResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GenerateUploadFilePolicyWithChan invokes the trademark.GenerateUploadFilePolicy API asynchronously
+// api document: https://help.aliyun.com/api/trademark/generateuploadfilepolicy.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GenerateUploadFilePolicyWithChan(request *GenerateUploadFilePolicyRequest) (<-chan *GenerateUploadFilePolicyResponse, <-chan error) {
+	responseChan := make(chan *GenerateUploadFilePolicyResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GenerateUploadFilePolicy(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GenerateUploadFilePolicyWithCallback invokes the trademark.GenerateUploadFilePolicy API asynchronously
+// api document: https://help.aliyun.com/api/trademark/generateuploadfilepolicy.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GenerateUploadFilePolicyWithCallback(request *GenerateUploadFilePolicyRequest, callback func(response *GenerateUploadFilePolicyResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GenerateUploadFilePolicyResponse
+		var err error
+		defer close(result)
+		response, err = client.GenerateUploadFilePolicy(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GenerateUploadFilePolicyRequest is the request struct for api GenerateUploadFilePolicy
+type GenerateUploadFilePolicyRequest struct {
+	*requests.RpcRequest
+	FileType string `position:"Query" name:"FileType"`
+	BizId    string `position:"Query" name:"BizId"`
+}
+
+// GenerateUploadFilePolicyResponse is the response struct for api GenerateUploadFilePolicy
+type GenerateUploadFilePolicyResponse struct {
+	*responses.BaseResponse
+	RequestId     string `json:"RequestId" xml:"RequestId"`
+	EncodedPolicy string `json:"EncodedPolicy" xml:"EncodedPolicy"`
+	AccessId      string `json:"AccessId" xml:"AccessId"`
+	Signature     string `json:"Signature" xml:"Signature"`
+	FileDir       string `json:"FileDir" xml:"FileDir"`
+	Host          string `json:"Host" xml:"Host"`
+	ExpireTime    int64  `json:"ExpireTime" xml:"ExpireTime"`
+}
+
+// CreateGenerateUploadFilePolicyRequest creates a request to invoke GenerateUploadFilePolicy API
+func CreateGenerateUploadFilePolicyRequest() (request *GenerateUploadFilePolicyRequest) {
+	request = &GenerateUploadFilePolicyRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "GenerateUploadFilePolicy", "trademark", "openAPI")
+	return
+}
+
+// CreateGenerateUploadFilePolicyResponse creates a response to parse from GenerateUploadFilePolicy response
+func CreateGenerateUploadFilePolicyResponse() (response *GenerateUploadFilePolicyResponse) {
+	response = &GenerateUploadFilePolicyResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 145 - 0
services/trademark/get_notary_order.go

@@ -0,0 +1,145 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// GetNotaryOrder invokes the trademark.GetNotaryOrder API synchronously
+// api document: https://help.aliyun.com/api/trademark/getnotaryorder.html
+func (client *Client) GetNotaryOrder(request *GetNotaryOrderRequest) (response *GetNotaryOrderResponse, err error) {
+	response = CreateGetNotaryOrderResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetNotaryOrderWithChan invokes the trademark.GetNotaryOrder API asynchronously
+// api document: https://help.aliyun.com/api/trademark/getnotaryorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetNotaryOrderWithChan(request *GetNotaryOrderRequest) (<-chan *GetNotaryOrderResponse, <-chan error) {
+	responseChan := make(chan *GetNotaryOrderResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetNotaryOrder(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetNotaryOrderWithCallback invokes the trademark.GetNotaryOrder API asynchronously
+// api document: https://help.aliyun.com/api/trademark/getnotaryorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetNotaryOrderWithCallback(request *GetNotaryOrderRequest, callback func(response *GetNotaryOrderResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetNotaryOrderResponse
+		var err error
+		defer close(result)
+		response, err = client.GetNotaryOrder(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetNotaryOrderRequest is the request struct for api GetNotaryOrder
+type GetNotaryOrderRequest struct {
+	*requests.RpcRequest
+	NotaryOrderId requests.Integer `position:"Query" name:"NotaryOrderId"`
+}
+
+// GetNotaryOrderResponse is the response struct for api GetNotaryOrder
+type GetNotaryOrderResponse struct {
+	*responses.BaseResponse
+	RequestId                   string  `json:"RequestId" xml:"RequestId"`
+	NotaryOrderId               int64   `json:"NotaryOrderId" xml:"NotaryOrderId"`
+	AliyunOrderId               string  `json:"AliyunOrderId" xml:"AliyunOrderId"`
+	TmRegisterNo                string  `json:"TmRegisterNo" xml:"TmRegisterNo"`
+	TmName                      string  `json:"TmName" xml:"TmName"`
+	TmImage                     string  `json:"TmImage" xml:"TmImage"`
+	TmClassification            string  `json:"TmClassification" xml:"TmClassification"`
+	OrderPrice                  float64 `json:"OrderPrice" xml:"OrderPrice"`
+	NotaryStatus                int     `json:"NotaryStatus" xml:"NotaryStatus"`
+	Type                        string  `json:"Type" xml:"Type"`
+	Name                        string  `json:"Name" xml:"Name"`
+	Phone                       string  `json:"Phone" xml:"Phone"`
+	SellerCompanyName           string  `json:"SellerCompanyName" xml:"SellerCompanyName"`
+	BusinessLicenseId           string  `json:"BusinessLicenseId" xml:"BusinessLicenseId"`
+	LegalPersonName             string  `json:"LegalPersonName" xml:"LegalPersonName"`
+	LegalPersonPhone            string  `json:"LegalPersonPhone" xml:"LegalPersonPhone"`
+	LegalPersonIdCard           string  `json:"LegalPersonIdCard" xml:"LegalPersonIdCard"`
+	CompanyContactName          string  `json:"CompanyContactName" xml:"CompanyContactName"`
+	CompanyContactPhone         string  `json:"CompanyContactPhone" xml:"CompanyContactPhone"`
+	TmRegisterCertificate       string  `json:"TmRegisterCertificate" xml:"TmRegisterCertificate"`
+	BusinessLicense             string  `json:"BusinessLicense" xml:"BusinessLicense"`
+	TmAcceptCertificate         string  `json:"TmAcceptCertificate" xml:"TmAcceptCertificate"`
+	SellerFrontOfIdCard         string  `json:"SellerFrontOfIdCard" xml:"SellerFrontOfIdCard"`
+	SellerBackOfIdCard          string  `json:"SellerBackOfIdCard" xml:"SellerBackOfIdCard"`
+	TmRegisterChangeCertificate string  `json:"TmRegisterChangeCertificate" xml:"TmRegisterChangeCertificate"`
+	ReceiverName                string  `json:"ReceiverName" xml:"ReceiverName"`
+	ReceiverAddress             string  `json:"ReceiverAddress" xml:"ReceiverAddress"`
+	ReceiverPhone               string  `json:"ReceiverPhone" xml:"ReceiverPhone"`
+	ReceiverPostalCode          string  `json:"ReceiverPostalCode" xml:"ReceiverPostalCode"`
+	OrderDate                   int64   `json:"OrderDate" xml:"OrderDate"`
+	NotaryAcceptDate            int64   `json:"NotaryAcceptDate" xml:"NotaryAcceptDate"`
+	NotarySucceedDate           int64   `json:"NotarySucceedDate" xml:"NotarySucceedDate"`
+	NotaryFailedDate            int64   `json:"NotaryFailedDate" xml:"NotaryFailedDate"`
+	NotaryFailedReason          string  `json:"NotaryFailedReason" xml:"NotaryFailedReason"`
+	NotaryCertificate           string  `json:"NotaryCertificate" xml:"NotaryCertificate"`
+	Success                     bool    `json:"Success" xml:"Success"`
+	ErrorMsg                    string  `json:"ErrorMsg" xml:"ErrorMsg"`
+	ErrorCode                   string  `json:"ErrorCode" xml:"ErrorCode"`
+	BizId                       string  `json:"BizId" xml:"BizId"`
+	NotaryType                  int     `json:"NotaryType" xml:"NotaryType"`
+	NotaryPlatformName          string  `json:"NotaryPlatformName" xml:"NotaryPlatformName"`
+	ApplyPostStatus             int     `json:"ApplyPostStatus" xml:"ApplyPostStatus"`
+	NotaryPostReceipt           string  `json:"NotaryPostReceipt" xml:"NotaryPostReceipt"`
+}
+
+// CreateGetNotaryOrderRequest creates a request to invoke GetNotaryOrder API
+func CreateGetNotaryOrderRequest() (request *GetNotaryOrderRequest) {
+	request = &GetNotaryOrderRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "GetNotaryOrder", "trademark", "openAPI")
+	return
+}
+
+// CreateGetNotaryOrderResponse creates a response to parse from GetNotaryOrder response
+func CreateGetNotaryOrderResponse() (response *GetNotaryOrderResponse) {
+	response = &GetNotaryOrderResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 124 - 0
services/trademark/insert_material.go

@@ -0,0 +1,124 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// InsertMaterial invokes the trademark.InsertMaterial API synchronously
+// api document: https://help.aliyun.com/api/trademark/insertmaterial.html
+func (client *Client) InsertMaterial(request *InsertMaterialRequest) (response *InsertMaterialResponse, err error) {
+	response = CreateInsertMaterialResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// InsertMaterialWithChan invokes the trademark.InsertMaterial API asynchronously
+// api document: https://help.aliyun.com/api/trademark/insertmaterial.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) InsertMaterialWithChan(request *InsertMaterialRequest) (<-chan *InsertMaterialResponse, <-chan error) {
+	responseChan := make(chan *InsertMaterialResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.InsertMaterial(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// InsertMaterialWithCallback invokes the trademark.InsertMaterial API asynchronously
+// api document: https://help.aliyun.com/api/trademark/insertmaterial.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) InsertMaterialWithCallback(request *InsertMaterialRequest, callback func(response *InsertMaterialResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *InsertMaterialResponse
+		var err error
+		defer close(result)
+		response, err = client.InsertMaterial(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// InsertMaterialRequest is the request struct for api InsertMaterial
+type InsertMaterialRequest struct {
+	*requests.RpcRequest
+	ContactEmail          string           `position:"Query" name:"ContactEmail"`
+	ContactAddress        string           `position:"Query" name:"ContactAddress"`
+	EAddress              string           `position:"Query" name:"EAddress"`
+	Country               string           `position:"Query" name:"Country"`
+	LegalNoticeOssKey     string           `position:"Query" name:"LegalNoticeOssKey"`
+	Address               string           `position:"Query" name:"Address"`
+	Town                  string           `position:"Query" name:"Town"`
+	ContactNumber         string           `position:"Query" name:"ContactNumber"`
+	City                  string           `position:"Query" name:"City"`
+	IdCardOssKey          string           `position:"Query" name:"IdCardOssKey"`
+	Type                  requests.Integer `position:"Query" name:"Type"`
+	ContactName           string           `position:"Query" name:"ContactName"`
+	PassportOssKey        string           `position:"Query" name:"PassportOssKey"`
+	ContactZipcode        string           `position:"Query" name:"ContactZipcode"`
+	EName                 string           `position:"Query" name:"EName"`
+	Province              string           `position:"Query" name:"Province"`
+	BusinessLicenceOssKey string           `position:"Query" name:"BusinessLicenceOssKey"`
+	Name                  string           `position:"Query" name:"Name"`
+	CardNumber            string           `position:"Query" name:"CardNumber"`
+	Region                requests.Integer `position:"Query" name:"Region"`
+	LoaOssKey             string           `position:"Query" name:"LoaOssKey"`
+}
+
+// InsertMaterialResponse is the response struct for api InsertMaterial
+type InsertMaterialResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+}
+
+// CreateInsertMaterialRequest creates a request to invoke InsertMaterial API
+func CreateInsertMaterialRequest() (request *InsertMaterialRequest) {
+	request = &InsertMaterialRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "InsertMaterial", "trademark", "openAPI")
+	return
+}
+
+// CreateInsertMaterialResponse creates a response to parse from InsertMaterial response
+func CreateInsertMaterialResponse() (response *InsertMaterialResponse) {
+	response = &InsertMaterialResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 111 - 0
services/trademark/insert_renew_info.go

@@ -0,0 +1,111 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// InsertRenewInfo invokes the trademark.InsertRenewInfo API synchronously
+// api document: https://help.aliyun.com/api/trademark/insertrenewinfo.html
+func (client *Client) InsertRenewInfo(request *InsertRenewInfoRequest) (response *InsertRenewInfoResponse, err error) {
+	response = CreateInsertRenewInfoResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// InsertRenewInfoWithChan invokes the trademark.InsertRenewInfo API asynchronously
+// api document: https://help.aliyun.com/api/trademark/insertrenewinfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) InsertRenewInfoWithChan(request *InsertRenewInfoRequest) (<-chan *InsertRenewInfoResponse, <-chan error) {
+	responseChan := make(chan *InsertRenewInfoResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.InsertRenewInfo(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// InsertRenewInfoWithCallback invokes the trademark.InsertRenewInfo API asynchronously
+// api document: https://help.aliyun.com/api/trademark/insertrenewinfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) InsertRenewInfoWithCallback(request *InsertRenewInfoRequest, callback func(response *InsertRenewInfoResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *InsertRenewInfoResponse
+		var err error
+		defer close(result)
+		response, err = client.InsertRenewInfo(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// InsertRenewInfoRequest is the request struct for api InsertRenewInfo
+type InsertRenewInfoRequest struct {
+	*requests.RpcRequest
+	EngName      string           `position:"Query" name:"EngName"`
+	Address      string           `position:"Query" name:"Address"`
+	RegisterTime requests.Integer `position:"Query" name:"RegisterTime"`
+	EngAddress   string           `position:"Query" name:"EngAddress"`
+	Name         string           `position:"Query" name:"Name"`
+}
+
+// InsertRenewInfoResponse is the response struct for api InsertRenewInfo
+type InsertRenewInfoResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Id        int64  `json:"Id" xml:"Id"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
+	ErrorCode string `json:"ErrorCode" xml:"ErrorCode"`
+}
+
+// CreateInsertRenewInfoRequest creates a request to invoke InsertRenewInfo API
+func CreateInsertRenewInfoRequest() (request *InsertRenewInfoRequest) {
+	request = &InsertRenewInfoRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "InsertRenewInfo", "trademark", "openAPI")
+	return
+}
+
+// CreateInsertRenewInfoResponse creates a response to parse from InsertRenewInfo response
+func CreateInsertRenewInfoResponse() (response *InsertRenewInfoResponse) {
+	response = &InsertRenewInfoResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 113 - 0
services/trademark/insert_tm_monitor_rule.go

@@ -0,0 +1,113 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// InsertTmMonitorRule invokes the trademark.InsertTmMonitorRule API synchronously
+// api document: https://help.aliyun.com/api/trademark/inserttmmonitorrule.html
+func (client *Client) InsertTmMonitorRule(request *InsertTmMonitorRuleRequest) (response *InsertTmMonitorRuleResponse, err error) {
+	response = CreateInsertTmMonitorRuleResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// InsertTmMonitorRuleWithChan invokes the trademark.InsertTmMonitorRule API asynchronously
+// api document: https://help.aliyun.com/api/trademark/inserttmmonitorrule.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) InsertTmMonitorRuleWithChan(request *InsertTmMonitorRuleRequest) (<-chan *InsertTmMonitorRuleResponse, <-chan error) {
+	responseChan := make(chan *InsertTmMonitorRuleResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.InsertTmMonitorRule(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// InsertTmMonitorRuleWithCallback invokes the trademark.InsertTmMonitorRule API asynchronously
+// api document: https://help.aliyun.com/api/trademark/inserttmmonitorrule.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) InsertTmMonitorRuleWithCallback(request *InsertTmMonitorRuleRequest, callback func(response *InsertTmMonitorRuleResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *InsertTmMonitorRuleResponse
+		var err error
+		defer close(result)
+		response, err = client.InsertTmMonitorRule(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// InsertTmMonitorRuleRequest is the request struct for api InsertTmMonitorRule
+type InsertTmMonitorRuleRequest struct {
+	*requests.RpcRequest
+	StartApplyDate string           `position:"Query" name:"StartApplyDate"`
+	NotifyStatus   string           `position:"Query" name:"NotifyStatus"`
+	RuleType       requests.Integer `position:"Query" name:"RuleType"`
+	RuleSource     string           `position:"Query" name:"RuleSource"`
+	RuleName       string           `position:"Query" name:"RuleName"`
+	EndApplyDate   string           `position:"Query" name:"EndApplyDate"`
+	Classification string           `position:"Query" name:"Classification"`
+	RuleKeyword    string           `position:"Query" name:"RuleKeyword"`
+}
+
+// InsertTmMonitorRuleResponse is the response struct for api InsertTmMonitorRule
+type InsertTmMonitorRuleResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
+	ErrorCode string `json:"ErrorCode" xml:"ErrorCode"`
+}
+
+// CreateInsertTmMonitorRuleRequest creates a request to invoke InsertTmMonitorRule API
+func CreateInsertTmMonitorRuleRequest() (request *InsertTmMonitorRuleRequest) {
+	request = &InsertTmMonitorRuleRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "InsertTmMonitorRule", "trademark", "openAPI")
+	return
+}
+
+// CreateInsertTmMonitorRuleResponse creates a response to parse from InsertTmMonitorRule response
+func CreateInsertTmMonitorRuleResponse() (response *InsertTmMonitorRuleResponse) {
+	response = &InsertTmMonitorRuleResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 111 - 0
services/trademark/insert_trade_intention_user.go

@@ -0,0 +1,111 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// InsertTradeIntentionUser invokes the trademark.InsertTradeIntentionUser API synchronously
+// api document: https://help.aliyun.com/api/trademark/inserttradeintentionuser.html
+func (client *Client) InsertTradeIntentionUser(request *InsertTradeIntentionUserRequest) (response *InsertTradeIntentionUserResponse, err error) {
+	response = CreateInsertTradeIntentionUserResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// InsertTradeIntentionUserWithChan invokes the trademark.InsertTradeIntentionUser API asynchronously
+// api document: https://help.aliyun.com/api/trademark/inserttradeintentionuser.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) InsertTradeIntentionUserWithChan(request *InsertTradeIntentionUserRequest) (<-chan *InsertTradeIntentionUserResponse, <-chan error) {
+	responseChan := make(chan *InsertTradeIntentionUserResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.InsertTradeIntentionUser(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// InsertTradeIntentionUserWithCallback invokes the trademark.InsertTradeIntentionUser API asynchronously
+// api document: https://help.aliyun.com/api/trademark/inserttradeintentionuser.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) InsertTradeIntentionUserWithCallback(request *InsertTradeIntentionUserRequest, callback func(response *InsertTradeIntentionUserResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *InsertTradeIntentionUserResponse
+		var err error
+		defer close(result)
+		response, err = client.InsertTradeIntentionUser(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// InsertTradeIntentionUserRequest is the request struct for api InsertTradeIntentionUser
+type InsertTradeIntentionUserRequest struct {
+	*requests.RpcRequest
+	Mobile         string           `position:"Query" name:"Mobile"`
+	PartnerCode    string           `position:"Query" name:"PartnerCode"`
+	Classification string           `position:"Query" name:"Classification"`
+	Type           requests.Integer `position:"Query" name:"Type"`
+	RegisterNumber string           `position:"Query" name:"RegisterNumber"`
+	Vcode          string           `position:"Query" name:"Vcode"`
+	UserName       string           `position:"Query" name:"UserName"`
+}
+
+// InsertTradeIntentionUserResponse is the response struct for api InsertTradeIntentionUser
+type InsertTradeIntentionUserResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
+}
+
+// CreateInsertTradeIntentionUserRequest creates a request to invoke InsertTradeIntentionUser API
+func CreateInsertTradeIntentionUserRequest() (request *InsertTradeIntentionUserRequest) {
+	request = &InsertTradeIntentionUserRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "InsertTradeIntentionUser", "trademark", "openAPI")
+	return
+}
+
+// CreateInsertTradeIntentionUserResponse creates a response to parse from InsertTradeIntentionUser response
+func CreateInsertTradeIntentionUserResponse() (response *InsertTradeIntentionUserResponse) {
+	response = &InsertTradeIntentionUserResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 117 - 0
services/trademark/list_notary_infos.go

@@ -0,0 +1,117 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// ListNotaryInfos invokes the trademark.ListNotaryInfos API synchronously
+// api document: https://help.aliyun.com/api/trademark/listnotaryinfos.html
+func (client *Client) ListNotaryInfos(request *ListNotaryInfosRequest) (response *ListNotaryInfosResponse, err error) {
+	response = CreateListNotaryInfosResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListNotaryInfosWithChan invokes the trademark.ListNotaryInfos API asynchronously
+// api document: https://help.aliyun.com/api/trademark/listnotaryinfos.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListNotaryInfosWithChan(request *ListNotaryInfosRequest) (<-chan *ListNotaryInfosResponse, <-chan error) {
+	responseChan := make(chan *ListNotaryInfosResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListNotaryInfos(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListNotaryInfosWithCallback invokes the trademark.ListNotaryInfos API asynchronously
+// api document: https://help.aliyun.com/api/trademark/listnotaryinfos.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListNotaryInfosWithCallback(request *ListNotaryInfosRequest, callback func(response *ListNotaryInfosResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListNotaryInfosResponse
+		var err error
+		defer close(result)
+		response, err = client.ListNotaryInfos(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListNotaryInfosRequest is the request struct for api ListNotaryInfos
+type ListNotaryInfosRequest struct {
+	*requests.RpcRequest
+	BizOrderNo string           `position:"Query" name:"BizOrderNo"`
+	NotaryType requests.Integer `position:"Query" name:"NotaryType"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+	PageNum    requests.Integer `position:"Query" name:"PageNum"`
+	Token      string           `position:"Query" name:"Token"`
+}
+
+// ListNotaryInfosResponse is the response struct for api ListNotaryInfos
+type ListNotaryInfosResponse struct {
+	*responses.BaseResponse
+	RequestId      string                `json:"RequestId" xml:"RequestId"`
+	TotalItemNum   int                   `json:"TotalItemNum" xml:"TotalItemNum"`
+	CurrentPageNum int                   `json:"CurrentPageNum" xml:"CurrentPageNum"`
+	PageSize       int                   `json:"PageSize" xml:"PageSize"`
+	TotalPageNum   int                   `json:"TotalPageNum" xml:"TotalPageNum"`
+	PrePage        bool                  `json:"PrePage" xml:"PrePage"`
+	NextPage       bool                  `json:"NextPage" xml:"NextPage"`
+	Success        bool                  `json:"Success" xml:"Success"`
+	ErrorMsg       string                `json:"ErrorMsg" xml:"ErrorMsg"`
+	ErrorCode      string                `json:"ErrorCode" xml:"ErrorCode"`
+	Data           DataInListNotaryInfos `json:"Data" xml:"Data"`
+}
+
+// CreateListNotaryInfosRequest creates a request to invoke ListNotaryInfos API
+func CreateListNotaryInfosRequest() (request *ListNotaryInfosRequest) {
+	request = &ListNotaryInfosRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "ListNotaryInfos", "trademark", "openAPI")
+	return
+}
+
+// CreateListNotaryInfosResponse creates a response to parse from ListNotaryInfos response
+func CreateListNotaryInfosResponse() (response *ListNotaryInfosResponse) {
+	response = &ListNotaryInfosResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 122 - 0
services/trademark/list_notary_orders.go

@@ -0,0 +1,122 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// ListNotaryOrders invokes the trademark.ListNotaryOrders API synchronously
+// api document: https://help.aliyun.com/api/trademark/listnotaryorders.html
+func (client *Client) ListNotaryOrders(request *ListNotaryOrdersRequest) (response *ListNotaryOrdersResponse, err error) {
+	response = CreateListNotaryOrdersResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListNotaryOrdersWithChan invokes the trademark.ListNotaryOrders API asynchronously
+// api document: https://help.aliyun.com/api/trademark/listnotaryorders.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListNotaryOrdersWithChan(request *ListNotaryOrdersRequest) (<-chan *ListNotaryOrdersResponse, <-chan error) {
+	responseChan := make(chan *ListNotaryOrdersResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListNotaryOrders(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListNotaryOrdersWithCallback invokes the trademark.ListNotaryOrders API asynchronously
+// api document: https://help.aliyun.com/api/trademark/listnotaryorders.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListNotaryOrdersWithCallback(request *ListNotaryOrdersRequest, callback func(response *ListNotaryOrdersResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListNotaryOrdersResponse
+		var err error
+		defer close(result)
+		response, err = client.ListNotaryOrders(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListNotaryOrdersRequest is the request struct for api ListNotaryOrders
+type ListNotaryOrdersRequest struct {
+	*requests.RpcRequest
+	SortKeyType    requests.Integer `position:"Query" name:"SortKeyType"`
+	SortByType     string           `position:"Query" name:"SortByType"`
+	StartOrderDate requests.Integer `position:"Query" name:"StartOrderDate"`
+	PageSize       requests.Integer `position:"Query" name:"PageSize"`
+	BizId          string           `position:"Query" name:"BizId"`
+	NotaryType     requests.Integer `position:"Query" name:"NotaryType"`
+	EndOrderDate   requests.Integer `position:"Query" name:"EndOrderDate"`
+	AliyunOrderId  string           `position:"Query" name:"AliyunOrderId"`
+	PageNum        requests.Integer `position:"Query" name:"PageNum"`
+	NotaryStatus   requests.Integer `position:"Query" name:"NotaryStatus"`
+}
+
+// ListNotaryOrdersResponse is the response struct for api ListNotaryOrders
+type ListNotaryOrdersResponse struct {
+	*responses.BaseResponse
+	RequestId      string                 `json:"RequestId" xml:"RequestId"`
+	TotalItemNum   int                    `json:"TotalItemNum" xml:"TotalItemNum"`
+	CurrentPageNum int                    `json:"CurrentPageNum" xml:"CurrentPageNum"`
+	PageSize       int                    `json:"PageSize" xml:"PageSize"`
+	TotalPageNum   int                    `json:"TotalPageNum" xml:"TotalPageNum"`
+	PrePage        bool                   `json:"PrePage" xml:"PrePage"`
+	NextPage       bool                   `json:"NextPage" xml:"NextPage"`
+	Success        bool                   `json:"Success" xml:"Success"`
+	ErrorMsg       string                 `json:"ErrorMsg" xml:"ErrorMsg"`
+	ErrorCode      string                 `json:"ErrorCode" xml:"ErrorCode"`
+	Data           DataInListNotaryOrders `json:"Data" xml:"Data"`
+}
+
+// CreateListNotaryOrdersRequest creates a request to invoke ListNotaryOrders API
+func CreateListNotaryOrdersRequest() (request *ListNotaryOrdersRequest) {
+	request = &ListNotaryOrdersRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "ListNotaryOrders", "trademark", "openAPI")
+	return
+}
+
+// CreateListNotaryOrdersResponse creates a response to parse from ListNotaryOrders response
+func CreateListNotaryOrdersResponse() (response *ListNotaryOrdersResponse) {
+	response = &ListNotaryOrdersResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/trademark/query_communication_logs.go

@@ -0,0 +1,104 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// QueryCommunicationLogs invokes the trademark.QueryCommunicationLogs API synchronously
+// api document: https://help.aliyun.com/api/trademark/querycommunicationlogs.html
+func (client *Client) QueryCommunicationLogs(request *QueryCommunicationLogsRequest) (response *QueryCommunicationLogsResponse, err error) {
+	response = CreateQueryCommunicationLogsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryCommunicationLogsWithChan invokes the trademark.QueryCommunicationLogs API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querycommunicationlogs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryCommunicationLogsWithChan(request *QueryCommunicationLogsRequest) (<-chan *QueryCommunicationLogsResponse, <-chan error) {
+	responseChan := make(chan *QueryCommunicationLogsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryCommunicationLogs(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryCommunicationLogsWithCallback invokes the trademark.QueryCommunicationLogs API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querycommunicationlogs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryCommunicationLogsWithCallback(request *QueryCommunicationLogsRequest, callback func(response *QueryCommunicationLogsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryCommunicationLogsResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryCommunicationLogs(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryCommunicationLogsRequest is the request struct for api QueryCommunicationLogs
+type QueryCommunicationLogsRequest struct {
+	*requests.RpcRequest
+	BizId string `position:"Query" name:"BizId"`
+}
+
+// QueryCommunicationLogsResponse is the response struct for api QueryCommunicationLogs
+type QueryCommunicationLogsResponse struct {
+	*responses.BaseResponse
+	RequestId string                       `json:"RequestId" xml:"RequestId"`
+	Data      DataInQueryCommunicationLogs `json:"Data" xml:"Data"`
+}
+
+// CreateQueryCommunicationLogsRequest creates a request to invoke QueryCommunicationLogs API
+func CreateQueryCommunicationLogsRequest() (request *QueryCommunicationLogsRequest) {
+	request = &QueryCommunicationLogsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "QueryCommunicationLogs", "trademark", "openAPI")
+	return
+}
+
+// CreateQueryCommunicationLogsResponse creates a response to parse from QueryCommunicationLogs response
+func CreateQueryCommunicationLogsResponse() (response *QueryCommunicationLogsResponse) {
+	response = &QueryCommunicationLogsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/trademark/query_credentials_info.go

@@ -0,0 +1,106 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// QueryCredentialsInfo invokes the trademark.QueryCredentialsInfo API synchronously
+// api document: https://help.aliyun.com/api/trademark/querycredentialsinfo.html
+func (client *Client) QueryCredentialsInfo(request *QueryCredentialsInfoRequest) (response *QueryCredentialsInfoResponse, err error) {
+	response = CreateQueryCredentialsInfoResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryCredentialsInfoWithChan invokes the trademark.QueryCredentialsInfo API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querycredentialsinfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryCredentialsInfoWithChan(request *QueryCredentialsInfoRequest) (<-chan *QueryCredentialsInfoResponse, <-chan error) {
+	responseChan := make(chan *QueryCredentialsInfoResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryCredentialsInfo(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryCredentialsInfoWithCallback invokes the trademark.QueryCredentialsInfo API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querycredentialsinfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryCredentialsInfoWithCallback(request *QueryCredentialsInfoRequest, callback func(response *QueryCredentialsInfoResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryCredentialsInfoResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryCredentialsInfo(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryCredentialsInfoRequest is the request struct for api QueryCredentialsInfo
+type QueryCredentialsInfoRequest struct {
+	*requests.RpcRequest
+	OssKey       string `position:"Body" name:"OssKey"`
+	MaterialType string `position:"Body" name:"MaterialType"`
+	CompanyName  string `position:"Query" name:"CompanyName"`
+}
+
+// QueryCredentialsInfoResponse is the response struct for api QueryCredentialsInfo
+type QueryCredentialsInfoResponse struct {
+	*responses.BaseResponse
+	RequestId       string          `json:"RequestId" xml:"RequestId"`
+	CredentialsInfo CredentialsInfo `json:"CredentialsInfo" xml:"CredentialsInfo"`
+}
+
+// CreateQueryCredentialsInfoRequest creates a request to invoke QueryCredentialsInfo API
+func CreateQueryCredentialsInfoRequest() (request *QueryCredentialsInfoRequest) {
+	request = &QueryCredentialsInfoRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "QueryCredentialsInfo", "trademark", "openAPI")
+	return
+}
+
+// CreateQueryCredentialsInfoResponse creates a response to parse from QueryCredentialsInfo response
+func CreateQueryCredentialsInfoResponse() (response *QueryCredentialsInfoResponse) {
+	response = &QueryCredentialsInfoResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 129 - 0
services/trademark/query_material.go

@@ -0,0 +1,129 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// QueryMaterial invokes the trademark.QueryMaterial API synchronously
+// api document: https://help.aliyun.com/api/trademark/querymaterial.html
+func (client *Client) QueryMaterial(request *QueryMaterialRequest) (response *QueryMaterialResponse, err error) {
+	response = CreateQueryMaterialResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryMaterialWithChan invokes the trademark.QueryMaterial API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querymaterial.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryMaterialWithChan(request *QueryMaterialRequest) (<-chan *QueryMaterialResponse, <-chan error) {
+	responseChan := make(chan *QueryMaterialResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryMaterial(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryMaterialWithCallback invokes the trademark.QueryMaterial API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querymaterial.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryMaterialWithCallback(request *QueryMaterialRequest, callback func(response *QueryMaterialResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryMaterialResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryMaterial(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryMaterialRequest is the request struct for api QueryMaterial
+type QueryMaterialRequest struct {
+	*requests.RpcRequest
+	Id requests.Integer `position:"Query" name:"Id"`
+}
+
+// QueryMaterialResponse is the response struct for api QueryMaterial
+type QueryMaterialResponse struct {
+	*responses.BaseResponse
+	RequestId          string `json:"RequestId" xml:"RequestId"`
+	Type               int    `json:"Type" xml:"Type"`
+	Region             int    `json:"Region" xml:"Region"`
+	ContactName        string `json:"ContactName" xml:"ContactName"`
+	ContactNumber      string `json:"ContactNumber" xml:"ContactNumber"`
+	ContactEmail       string `json:"ContactEmail" xml:"ContactEmail"`
+	ContactAddress     string `json:"ContactAddress" xml:"ContactAddress"`
+	ContactZipcode     string `json:"ContactZipcode" xml:"ContactZipcode"`
+	Status             int    `json:"Status" xml:"Status"`
+	LoaUrl             string `json:"LoaUrl" xml:"LoaUrl"`
+	Name               string `json:"Name" xml:"Name"`
+	CardNumber         string `json:"CardNumber" xml:"CardNumber"`
+	ExpirationDate     int64  `json:"ExpirationDate" xml:"ExpirationDate"`
+	Province           string `json:"Province" xml:"Province"`
+	City               string `json:"City" xml:"City"`
+	Town               string `json:"Town" xml:"Town"`
+	Address            string `json:"Address" xml:"Address"`
+	EName              string `json:"EName" xml:"EName"`
+	EAddress           string `json:"EAddress" xml:"EAddress"`
+	LoaStatus          int    `json:"LoaStatus" xml:"LoaStatus"`
+	IdCardUrl          string `json:"IdCardUrl" xml:"IdCardUrl"`
+	BusinessLicenceUrl string `json:"BusinessLicenceUrl" xml:"BusinessLicenceUrl"`
+	PassportUrl        string `json:"PassportUrl" xml:"PassportUrl"`
+	Id                 int64  `json:"Id" xml:"Id"`
+	LegalNoticeUrl     string `json:"LegalNoticeUrl" xml:"LegalNoticeUrl"`
+	Note               string `json:"Note" xml:"Note"`
+	Country            string `json:"Country" xml:"Country"`
+}
+
+// CreateQueryMaterialRequest creates a request to invoke QueryMaterial API
+func CreateQueryMaterialRequest() (request *QueryMaterialRequest) {
+	request = &QueryMaterialRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "QueryMaterial", "trademark", "openAPI")
+	return
+}
+
+// CreateQueryMaterialResponse creates a response to parse from QueryMaterial response
+func CreateQueryMaterialResponse() (response *QueryMaterialResponse) {
+	response = &QueryMaterialResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 114 - 0
services/trademark/query_material_list.go

@@ -0,0 +1,114 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// QueryMaterialList invokes the trademark.QueryMaterialList API synchronously
+// api document: https://help.aliyun.com/api/trademark/querymateriallist.html
+func (client *Client) QueryMaterialList(request *QueryMaterialListRequest) (response *QueryMaterialListResponse, err error) {
+	response = CreateQueryMaterialListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryMaterialListWithChan invokes the trademark.QueryMaterialList API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querymateriallist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryMaterialListWithChan(request *QueryMaterialListRequest) (<-chan *QueryMaterialListResponse, <-chan error) {
+	responseChan := make(chan *QueryMaterialListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryMaterialList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryMaterialListWithCallback invokes the trademark.QueryMaterialList API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querymateriallist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryMaterialListWithCallback(request *QueryMaterialListRequest, callback func(response *QueryMaterialListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryMaterialListResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryMaterialList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryMaterialListRequest is the request struct for api QueryMaterialList
+type QueryMaterialListRequest struct {
+	*requests.RpcRequest
+	Name       string           `position:"Query" name:"Name"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+	CardNumber string           `position:"Query" name:"CardNumber"`
+	Type       requests.Integer `position:"Query" name:"Type"`
+	Region     requests.Integer `position:"Query" name:"Region"`
+	PageNum    requests.Integer `position:"Query" name:"PageNum"`
+	Status     requests.Integer `position:"Query" name:"Status"`
+}
+
+// QueryMaterialListResponse is the response struct for api QueryMaterialList
+type QueryMaterialListResponse struct {
+	*responses.BaseResponse
+	RequestId      string                  `json:"RequestId" xml:"RequestId"`
+	TotalItemNum   int                     `json:"TotalItemNum" xml:"TotalItemNum"`
+	CurrentPageNum int                     `json:"CurrentPageNum" xml:"CurrentPageNum"`
+	PageSize       int                     `json:"PageSize" xml:"PageSize"`
+	TotalPageNum   int                     `json:"TotalPageNum" xml:"TotalPageNum"`
+	Data           DataInQueryMaterialList `json:"Data" xml:"Data"`
+}
+
+// CreateQueryMaterialListRequest creates a request to invoke QueryMaterialList API
+func CreateQueryMaterialListRequest() (request *QueryMaterialListRequest) {
+	request = &QueryMaterialListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "QueryMaterialList", "trademark", "openAPI")
+	return
+}
+
+// CreateQueryMaterialListResponse creates a response to parse from QueryMaterialList response
+func CreateQueryMaterialListResponse() (response *QueryMaterialListResponse) {
+	response = &QueryMaterialListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/trademark/query_monitor_keywords.go

@@ -0,0 +1,105 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// QueryMonitorKeywords invokes the trademark.QueryMonitorKeywords API synchronously
+// api document: https://help.aliyun.com/api/trademark/querymonitorkeywords.html
+func (client *Client) QueryMonitorKeywords(request *QueryMonitorKeywordsRequest) (response *QueryMonitorKeywordsResponse, err error) {
+	response = CreateQueryMonitorKeywordsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryMonitorKeywordsWithChan invokes the trademark.QueryMonitorKeywords API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querymonitorkeywords.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryMonitorKeywordsWithChan(request *QueryMonitorKeywordsRequest) (<-chan *QueryMonitorKeywordsResponse, <-chan error) {
+	responseChan := make(chan *QueryMonitorKeywordsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryMonitorKeywords(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryMonitorKeywordsWithCallback invokes the trademark.QueryMonitorKeywords API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querymonitorkeywords.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryMonitorKeywordsWithCallback(request *QueryMonitorKeywordsRequest, callback func(response *QueryMonitorKeywordsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryMonitorKeywordsResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryMonitorKeywords(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryMonitorKeywordsRequest is the request struct for api QueryMonitorKeywords
+type QueryMonitorKeywordsRequest struct {
+	*requests.RpcRequest
+	Keywords *[]string        `position:"Query" name:"Keywords"  type:"Repeated"`
+	RuleType requests.Integer `position:"Query" name:"RuleType"`
+}
+
+// QueryMonitorKeywordsResponse is the response struct for api QueryMonitorKeywords
+type QueryMonitorKeywordsResponse struct {
+	*responses.BaseResponse
+	RequestId string                     `json:"RequestId" xml:"RequestId"`
+	Data      DataInQueryMonitorKeywords `json:"Data" xml:"Data"`
+}
+
+// CreateQueryMonitorKeywordsRequest creates a request to invoke QueryMonitorKeywords API
+func CreateQueryMonitorKeywordsRequest() (request *QueryMonitorKeywordsRequest) {
+	request = &QueryMonitorKeywordsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "QueryMonitorKeywords", "trademark", "openAPI")
+	return
+}
+
+// CreateQueryMonitorKeywordsResponse creates a response to parse from QueryMonitorKeywords response
+func CreateQueryMonitorKeywordsResponse() (response *QueryMonitorKeywordsResponse) {
+	response = &QueryMonitorKeywordsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/trademark/query_oss_resources.go

@@ -0,0 +1,104 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// QueryOssResources invokes the trademark.QueryOssResources API synchronously
+// api document: https://help.aliyun.com/api/trademark/queryossresources.html
+func (client *Client) QueryOssResources(request *QueryOssResourcesRequest) (response *QueryOssResourcesResponse, err error) {
+	response = CreateQueryOssResourcesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryOssResourcesWithChan invokes the trademark.QueryOssResources API asynchronously
+// api document: https://help.aliyun.com/api/trademark/queryossresources.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryOssResourcesWithChan(request *QueryOssResourcesRequest) (<-chan *QueryOssResourcesResponse, <-chan error) {
+	responseChan := make(chan *QueryOssResourcesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryOssResources(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryOssResourcesWithCallback invokes the trademark.QueryOssResources API asynchronously
+// api document: https://help.aliyun.com/api/trademark/queryossresources.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryOssResourcesWithCallback(request *QueryOssResourcesRequest, callback func(response *QueryOssResourcesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryOssResourcesResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryOssResources(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryOssResourcesRequest is the request struct for api QueryOssResources
+type QueryOssResourcesRequest struct {
+	*requests.RpcRequest
+	BizId string `position:"Query" name:"BizId"`
+}
+
+// QueryOssResourcesResponse is the response struct for api QueryOssResources
+type QueryOssResourcesResponse struct {
+	*responses.BaseResponse
+	RequestId string                  `json:"RequestId" xml:"RequestId"`
+	Data      DataInQueryOssResources `json:"Data" xml:"Data"`
+}
+
+// CreateQueryOssResourcesRequest creates a request to invoke QueryOssResources API
+func CreateQueryOssResourcesRequest() (request *QueryOssResourcesRequest) {
+	request = &QueryOssResourcesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "QueryOssResources", "trademark", "openAPI")
+	return
+}
+
+// CreateQueryOssResourcesResponse creates a response to parse from QueryOssResources response
+func CreateQueryOssResourcesResponse() (response *QueryOssResourcesResponse) {
+	response = &QueryOssResourcesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/trademark/query_qr_code_upload_status.go

@@ -0,0 +1,109 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// QueryQrCodeUploadStatus invokes the trademark.QueryQrCodeUploadStatus API synchronously
+// api document: https://help.aliyun.com/api/trademark/queryqrcodeuploadstatus.html
+func (client *Client) QueryQrCodeUploadStatus(request *QueryQrCodeUploadStatusRequest) (response *QueryQrCodeUploadStatusResponse, err error) {
+	response = CreateQueryQrCodeUploadStatusResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryQrCodeUploadStatusWithChan invokes the trademark.QueryQrCodeUploadStatus API asynchronously
+// api document: https://help.aliyun.com/api/trademark/queryqrcodeuploadstatus.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryQrCodeUploadStatusWithChan(request *QueryQrCodeUploadStatusRequest) (<-chan *QueryQrCodeUploadStatusResponse, <-chan error) {
+	responseChan := make(chan *QueryQrCodeUploadStatusResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryQrCodeUploadStatus(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryQrCodeUploadStatusWithCallback invokes the trademark.QueryQrCodeUploadStatus API asynchronously
+// api document: https://help.aliyun.com/api/trademark/queryqrcodeuploadstatus.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryQrCodeUploadStatusWithCallback(request *QueryQrCodeUploadStatusRequest, callback func(response *QueryQrCodeUploadStatusResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryQrCodeUploadStatusResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryQrCodeUploadStatus(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryQrCodeUploadStatusRequest is the request struct for api QueryQrCodeUploadStatus
+type QueryQrCodeUploadStatusRequest struct {
+	*requests.RpcRequest
+	OssKey   string `position:"Query" name:"OssKey"`
+	FieldKey string `position:"Query" name:"FieldKey"`
+	Uuid     string `position:"Query" name:"Uuid"`
+}
+
+// QueryQrCodeUploadStatusResponse is the response struct for api QueryQrCodeUploadStatus
+type QueryQrCodeUploadStatusResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	OssKey    string `json:"OssKey" xml:"OssKey"`
+	OssUrl    string `json:"OssUrl" xml:"OssUrl"`
+	Status    int    `json:"Status" xml:"Status"`
+	Success   bool   `json:"Success" xml:"Success"`
+}
+
+// CreateQueryQrCodeUploadStatusRequest creates a request to invoke QueryQrCodeUploadStatus API
+func CreateQueryQrCodeUploadStatusRequest() (request *QueryQrCodeUploadStatusRequest) {
+	request = &QueryQrCodeUploadStatusRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "QueryQrCodeUploadStatus", "trademark", "openAPI")
+	return
+}
+
+// CreateQueryQrCodeUploadStatusResponse creates a response to parse from QueryQrCodeUploadStatus response
+func CreateQueryQrCodeUploadStatusResponse() (response *QueryQrCodeUploadStatusResponse) {
+	response = &QueryQrCodeUploadStatusResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 116 - 0
services/trademark/query_supplement_detail.go

@@ -0,0 +1,116 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// QuerySupplementDetail invokes the trademark.QuerySupplementDetail API synchronously
+// api document: https://help.aliyun.com/api/trademark/querysupplementdetail.html
+func (client *Client) QuerySupplementDetail(request *QuerySupplementDetailRequest) (response *QuerySupplementDetailResponse, err error) {
+	response = CreateQuerySupplementDetailResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QuerySupplementDetailWithChan invokes the trademark.QuerySupplementDetail API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querysupplementdetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QuerySupplementDetailWithChan(request *QuerySupplementDetailRequest) (<-chan *QuerySupplementDetailResponse, <-chan error) {
+	responseChan := make(chan *QuerySupplementDetailResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QuerySupplementDetail(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QuerySupplementDetailWithCallback invokes the trademark.QuerySupplementDetail API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querysupplementdetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QuerySupplementDetailWithCallback(request *QuerySupplementDetailRequest, callback func(response *QuerySupplementDetailResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QuerySupplementDetailResponse
+		var err error
+		defer close(result)
+		response, err = client.QuerySupplementDetail(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QuerySupplementDetailRequest is the request struct for api QuerySupplementDetail
+type QuerySupplementDetailRequest struct {
+	*requests.RpcRequest
+	Id requests.Integer `position:"Query" name:"Id"`
+}
+
+// QuerySupplementDetailResponse is the response struct for api QuerySupplementDetail
+type QuerySupplementDetailResponse struct {
+	*responses.BaseResponse
+	RequestId             string                                  `json:"RequestId" xml:"RequestId"`
+	Id                    int64                                   `json:"Id" xml:"Id"`
+	SerialNumber          string                                  `json:"SerialNumber" xml:"SerialNumber"`
+	Type                  int                                     `json:"Type" xml:"Type"`
+	Status                int                                     `json:"Status" xml:"Status"`
+	TmNumber              string                                  `json:"TmNumber" xml:"TmNumber"`
+	SendTime              int64                                   `json:"SendTime" xml:"SendTime"`
+	AcceptTime            int64                                   `json:"AcceptTime" xml:"AcceptTime"`
+	SbjDeadTime           int64                                   `json:"SbjDeadTime" xml:"SbjDeadTime"`
+	AcceptDeadTime        int64                                   `json:"AcceptDeadTime" xml:"AcceptDeadTime"`
+	OperateTime           int64                                   `json:"OperateTime" xml:"OperateTime"`
+	UploadFileTemplateUrl string                                  `json:"UploadFileTemplateUrl" xml:"UploadFileTemplateUrl"`
+	Content               string                                  `json:"Content" xml:"Content"`
+	FileTemplateUrls      FileTemplateUrlsInQuerySupplementDetail `json:"FileTemplateUrls" xml:"FileTemplateUrls"`
+}
+
+// CreateQuerySupplementDetailRequest creates a request to invoke QuerySupplementDetail API
+func CreateQuerySupplementDetailRequest() (request *QuerySupplementDetailRequest) {
+	request = &QuerySupplementDetailRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "QuerySupplementDetail", "trademark", "openAPI")
+	return
+}
+
+// CreateQuerySupplementDetailResponse creates a response to parse from QuerySupplementDetail response
+func CreateQuerySupplementDetailResponse() (response *QuerySupplementDetailResponse) {
+	response = &QuerySupplementDetailResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/trademark/query_task_list.go

@@ -0,0 +1,104 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// QueryTaskList invokes the trademark.QueryTaskList API synchronously
+// api document: https://help.aliyun.com/api/trademark/querytasklist.html
+func (client *Client) QueryTaskList(request *QueryTaskListRequest) (response *QueryTaskListResponse, err error) {
+	response = CreateQueryTaskListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryTaskListWithChan invokes the trademark.QueryTaskList API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querytasklist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryTaskListWithChan(request *QueryTaskListRequest) (<-chan *QueryTaskListResponse, <-chan error) {
+	responseChan := make(chan *QueryTaskListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryTaskList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryTaskListWithCallback invokes the trademark.QueryTaskList API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querytasklist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryTaskListWithCallback(request *QueryTaskListRequest, callback func(response *QueryTaskListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryTaskListResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryTaskList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryTaskListRequest is the request struct for api QueryTaskList
+type QueryTaskListRequest struct {
+	*requests.RpcRequest
+	BizType string `position:"Query" name:"BizType"`
+}
+
+// QueryTaskListResponse is the response struct for api QueryTaskList
+type QueryTaskListResponse struct {
+	*responses.BaseResponse
+	RequestId string              `json:"RequestId" xml:"RequestId"`
+	Data      DataInQueryTaskList `json:"Data" xml:"Data"`
+}
+
+// CreateQueryTaskListRequest creates a request to invoke QueryTaskList API
+func CreateQueryTaskListRequest() (request *QueryTaskListRequest) {
+	request = &QueryTaskListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "QueryTaskList", "trademark", "openAPI")
+	return
+}
+
+// CreateQueryTaskListResponse creates a response to parse from QueryTaskList response
+func CreateQueryTaskListResponse() (response *QueryTaskListResponse) {
+	response = &QueryTaskListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/trademark/query_trade_intention_user_list.go

@@ -0,0 +1,109 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// QueryTradeIntentionUserList invokes the trademark.QueryTradeIntentionUserList API synchronously
+// api document: https://help.aliyun.com/api/trademark/querytradeintentionuserlist.html
+func (client *Client) QueryTradeIntentionUserList(request *QueryTradeIntentionUserListRequest) (response *QueryTradeIntentionUserListResponse, err error) {
+	response = CreateQueryTradeIntentionUserListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryTradeIntentionUserListWithChan invokes the trademark.QueryTradeIntentionUserList API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querytradeintentionuserlist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryTradeIntentionUserListWithChan(request *QueryTradeIntentionUserListRequest) (<-chan *QueryTradeIntentionUserListResponse, <-chan error) {
+	responseChan := make(chan *QueryTradeIntentionUserListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryTradeIntentionUserList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryTradeIntentionUserListWithCallback invokes the trademark.QueryTradeIntentionUserList API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querytradeintentionuserlist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryTradeIntentionUserListWithCallback(request *QueryTradeIntentionUserListRequest, callback func(response *QueryTradeIntentionUserListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryTradeIntentionUserListResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryTradeIntentionUserList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryTradeIntentionUserListRequest is the request struct for api QueryTradeIntentionUserList
+type QueryTradeIntentionUserListRequest struct {
+	*requests.RpcRequest
+	End   requests.Integer `position:"Query" name:"End"`
+	Begin requests.Integer `position:"Query" name:"Begin"`
+}
+
+// QueryTradeIntentionUserListResponse is the response struct for api QueryTradeIntentionUserList
+type QueryTradeIntentionUserListResponse struct {
+	*responses.BaseResponse
+	RequestId      string                            `json:"RequestId" xml:"RequestId"`
+	TotalItemNum   int                               `json:"TotalItemNum" xml:"TotalItemNum"`
+	CurrentPageNum int                               `json:"CurrentPageNum" xml:"CurrentPageNum"`
+	PageSize       int                               `json:"PageSize" xml:"PageSize"`
+	TotalPageNum   int                               `json:"TotalPageNum" xml:"TotalPageNum"`
+	Data           DataInQueryTradeIntentionUserList `json:"Data" xml:"Data"`
+}
+
+// CreateQueryTradeIntentionUserListRequest creates a request to invoke QueryTradeIntentionUserList API
+func CreateQueryTradeIntentionUserListRequest() (request *QueryTradeIntentionUserListRequest) {
+	request = &QueryTradeIntentionUserListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "QueryTradeIntentionUserList", "trademark", "openAPI")
+	return
+}
+
+// CreateQueryTradeIntentionUserListResponse creates a response to parse from QueryTradeIntentionUserList response
+func CreateQueryTradeIntentionUserListResponse() (response *QueryTradeIntentionUserListResponse) {
+	response = &QueryTradeIntentionUserListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 131 - 0
services/trademark/query_trade_mark_application_detail.go

@@ -0,0 +1,131 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// QueryTradeMarkApplicationDetail invokes the trademark.QueryTradeMarkApplicationDetail API synchronously
+// api document: https://help.aliyun.com/api/trademark/querytrademarkapplicationdetail.html
+func (client *Client) QueryTradeMarkApplicationDetail(request *QueryTradeMarkApplicationDetailRequest) (response *QueryTradeMarkApplicationDetailResponse, err error) {
+	response = CreateQueryTradeMarkApplicationDetailResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryTradeMarkApplicationDetailWithChan invokes the trademark.QueryTradeMarkApplicationDetail API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querytrademarkapplicationdetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryTradeMarkApplicationDetailWithChan(request *QueryTradeMarkApplicationDetailRequest) (<-chan *QueryTradeMarkApplicationDetailResponse, <-chan error) {
+	responseChan := make(chan *QueryTradeMarkApplicationDetailResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryTradeMarkApplicationDetail(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryTradeMarkApplicationDetailWithCallback invokes the trademark.QueryTradeMarkApplicationDetail API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querytrademarkapplicationdetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryTradeMarkApplicationDetailWithCallback(request *QueryTradeMarkApplicationDetailRequest, callback func(response *QueryTradeMarkApplicationDetailResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryTradeMarkApplicationDetailResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryTradeMarkApplicationDetail(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryTradeMarkApplicationDetailRequest is the request struct for api QueryTradeMarkApplicationDetail
+type QueryTradeMarkApplicationDetailRequest struct {
+	*requests.RpcRequest
+	BizId string `position:"Query" name:"BizId"`
+}
+
+// QueryTradeMarkApplicationDetailResponse is the response struct for api QueryTradeMarkApplicationDetail
+type QueryTradeMarkApplicationDetailResponse struct {
+	*responses.BaseResponse
+	Status              int                                                  `json:"Status" xml:"Status"`
+	RequestId           string                                               `json:"RequestId" xml:"RequestId"`
+	LoaUrl              string                                               `json:"LoaUrl" xml:"LoaUrl"`
+	OrderPrice          int                                                  `json:"OrderPrice" xml:"OrderPrice"`
+	TmIcon              string                                               `json:"TmIcon" xml:"TmIcon"`
+	OrderId             string                                               `json:"OrderId" xml:"OrderId"`
+	Type                int                                                  `json:"Type" xml:"Type"`
+	TmNameType          int                                                  `json:"TmNameType" xml:"TmNameType"`
+	TmName              string                                               `json:"TmName" xml:"TmName"`
+	BizId               string                                               `json:"BizId" xml:"BizId"`
+	GrayIconUrl         string                                               `json:"GrayIconUrl" xml:"GrayIconUrl"`
+	Note                string                                               `json:"Note" xml:"Note"`
+	TmNumber            string                                               `json:"TmNumber" xml:"TmNumber"`
+	AcceptUrl           string                                               `json:"AcceptUrl" xml:"AcceptUrl"`
+	CreateTime          int64                                                `json:"CreateTime" xml:"CreateTime"`
+	UpdateTime          int64                                                `json:"UpdateTime" xml:"UpdateTime"`
+	ExtendInfo          map[string]interface{}                               `json:"ExtendInfo" xml:"ExtendInfo"`
+	SendSbjLogistics    string                                               `json:"SendSbjLogistics" xml:"SendSbjLogistics"`
+	SendUserLogistics   string                                               `json:"SendUserLogistics" xml:"SendUserLogistics"`
+	RecvUserLogistics   string                                               `json:"RecvUserLogistics" xml:"RecvUserLogistics"`
+	MaterialId          int64                                                `json:"MaterialId" xml:"MaterialId"`
+	ReceiptUrl          ReceiptUrl                                           `json:"ReceiptUrl" xml:"ReceiptUrl"`
+	JudgeResultUrl      JudgeResultUrl                                       `json:"JudgeResultUrl" xml:"JudgeResultUrl"`
+	AdminUploads        AdminUploads                                         `json:"AdminUploads" xml:"AdminUploads"`
+	MaterialDetail      MaterialDetail                                       `json:"MaterialDetail" xml:"MaterialDetail"`
+	FirstClassification FirstClassification                                  `json:"FirstClassification" xml:"FirstClassification"`
+	RenewResponse       RenewResponse                                        `json:"RenewResponse" xml:"RenewResponse"`
+	ThirdClassification ThirdClassificationInQueryTradeMarkApplicationDetail `json:"ThirdClassification" xml:"ThirdClassification"`
+	Supplements         Supplements                                          `json:"Supplements" xml:"Supplements"`
+}
+
+// CreateQueryTradeMarkApplicationDetailRequest creates a request to invoke QueryTradeMarkApplicationDetail API
+func CreateQueryTradeMarkApplicationDetailRequest() (request *QueryTradeMarkApplicationDetailRequest) {
+	request = &QueryTradeMarkApplicationDetailRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "QueryTradeMarkApplicationDetail", "trademark", "openAPI")
+	return
+}
+
+// CreateQueryTradeMarkApplicationDetailResponse creates a response to parse from QueryTradeMarkApplicationDetail response
+func CreateQueryTradeMarkApplicationDetailResponse() (response *QueryTradeMarkApplicationDetailResponse) {
+	response = &QueryTradeMarkApplicationDetailResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/trademark/query_trade_mark_application_logs.go

@@ -0,0 +1,104 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// QueryTradeMarkApplicationLogs invokes the trademark.QueryTradeMarkApplicationLogs API synchronously
+// api document: https://help.aliyun.com/api/trademark/querytrademarkapplicationlogs.html
+func (client *Client) QueryTradeMarkApplicationLogs(request *QueryTradeMarkApplicationLogsRequest) (response *QueryTradeMarkApplicationLogsResponse, err error) {
+	response = CreateQueryTradeMarkApplicationLogsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryTradeMarkApplicationLogsWithChan invokes the trademark.QueryTradeMarkApplicationLogs API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querytrademarkapplicationlogs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryTradeMarkApplicationLogsWithChan(request *QueryTradeMarkApplicationLogsRequest) (<-chan *QueryTradeMarkApplicationLogsResponse, <-chan error) {
+	responseChan := make(chan *QueryTradeMarkApplicationLogsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryTradeMarkApplicationLogs(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryTradeMarkApplicationLogsWithCallback invokes the trademark.QueryTradeMarkApplicationLogs API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querytrademarkapplicationlogs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryTradeMarkApplicationLogsWithCallback(request *QueryTradeMarkApplicationLogsRequest, callback func(response *QueryTradeMarkApplicationLogsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryTradeMarkApplicationLogsResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryTradeMarkApplicationLogs(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryTradeMarkApplicationLogsRequest is the request struct for api QueryTradeMarkApplicationLogs
+type QueryTradeMarkApplicationLogsRequest struct {
+	*requests.RpcRequest
+	BizId string `position:"Query" name:"BizId"`
+}
+
+// QueryTradeMarkApplicationLogsResponse is the response struct for api QueryTradeMarkApplicationLogs
+type QueryTradeMarkApplicationLogsResponse struct {
+	*responses.BaseResponse
+	RequestId string                              `json:"RequestId" xml:"RequestId"`
+	Data      DataInQueryTradeMarkApplicationLogs `json:"Data" xml:"Data"`
+}
+
+// CreateQueryTradeMarkApplicationLogsRequest creates a request to invoke QueryTradeMarkApplicationLogs API
+func CreateQueryTradeMarkApplicationLogsRequest() (request *QueryTradeMarkApplicationLogsRequest) {
+	request = &QueryTradeMarkApplicationLogsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "QueryTradeMarkApplicationLogs", "trademark", "openAPI")
+	return
+}
+
+// CreateQueryTradeMarkApplicationLogsResponse creates a response to parse from QueryTradeMarkApplicationLogs response
+func CreateQueryTradeMarkApplicationLogsResponse() (response *QueryTradeMarkApplicationLogsResponse) {
+	response = &QueryTradeMarkApplicationLogsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 118 - 0
services/trademark/query_trade_mark_applications.go

@@ -0,0 +1,118 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// QueryTradeMarkApplications invokes the trademark.QueryTradeMarkApplications API synchronously
+// api document: https://help.aliyun.com/api/trademark/querytrademarkapplications.html
+func (client *Client) QueryTradeMarkApplications(request *QueryTradeMarkApplicationsRequest) (response *QueryTradeMarkApplicationsResponse, err error) {
+	response = CreateQueryTradeMarkApplicationsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryTradeMarkApplicationsWithChan invokes the trademark.QueryTradeMarkApplications API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querytrademarkapplications.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryTradeMarkApplicationsWithChan(request *QueryTradeMarkApplicationsRequest) (<-chan *QueryTradeMarkApplicationsResponse, <-chan error) {
+	responseChan := make(chan *QueryTradeMarkApplicationsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryTradeMarkApplications(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryTradeMarkApplicationsWithCallback invokes the trademark.QueryTradeMarkApplications API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querytrademarkapplications.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryTradeMarkApplicationsWithCallback(request *QueryTradeMarkApplicationsRequest, callback func(response *QueryTradeMarkApplicationsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryTradeMarkApplicationsResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryTradeMarkApplications(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryTradeMarkApplicationsRequest is the request struct for api QueryTradeMarkApplications
+type QueryTradeMarkApplicationsRequest struct {
+	*requests.RpcRequest
+	TmName           string           `position:"Query" name:"TmName"`
+	MaterialName     string           `position:"Query" name:"MaterialName"`
+	OrderId          string           `position:"Query" name:"OrderId"`
+	SupplementStatus requests.Integer `position:"Query" name:"SupplementStatus"`
+	PageSize         requests.Integer `position:"Query" name:"PageSize"`
+	BizId            string           `position:"Query" name:"BizId"`
+	TmNumber         string           `position:"Query" name:"TmNumber"`
+	SortOrder        string           `position:"Query" name:"SortOrder"`
+	PageNum          requests.Integer `position:"Query" name:"PageNum"`
+	Type             string           `position:"Query" name:"Type"`
+	Status           requests.Integer `position:"Query" name:"Status"`
+}
+
+// QueryTradeMarkApplicationsResponse is the response struct for api QueryTradeMarkApplications
+type QueryTradeMarkApplicationsResponse struct {
+	*responses.BaseResponse
+	RequestId      string                           `json:"RequestId" xml:"RequestId"`
+	TotalItemNum   int                              `json:"TotalItemNum" xml:"TotalItemNum"`
+	CurrentPageNum int                              `json:"CurrentPageNum" xml:"CurrentPageNum"`
+	PageSize       int                              `json:"PageSize" xml:"PageSize"`
+	TotalPageNum   int                              `json:"TotalPageNum" xml:"TotalPageNum"`
+	Data           DataInQueryTradeMarkApplications `json:"Data" xml:"Data"`
+}
+
+// CreateQueryTradeMarkApplicationsRequest creates a request to invoke QueryTradeMarkApplications API
+func CreateQueryTradeMarkApplicationsRequest() (request *QueryTradeMarkApplicationsRequest) {
+	request = &QueryTradeMarkApplicationsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "QueryTradeMarkApplications", "trademark", "openAPI")
+	return
+}
+
+// CreateQueryTradeMarkApplicationsResponse creates a response to parse from QueryTradeMarkApplications response
+func CreateQueryTradeMarkApplicationsResponse() (response *QueryTradeMarkApplicationsResponse) {
+	response = &QueryTradeMarkApplicationsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/trademark/query_trade_produce_detail.go

@@ -0,0 +1,104 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// QueryTradeProduceDetail invokes the trademark.QueryTradeProduceDetail API synchronously
+// api document: https://help.aliyun.com/api/trademark/querytradeproducedetail.html
+func (client *Client) QueryTradeProduceDetail(request *QueryTradeProduceDetailRequest) (response *QueryTradeProduceDetailResponse, err error) {
+	response = CreateQueryTradeProduceDetailResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryTradeProduceDetailWithChan invokes the trademark.QueryTradeProduceDetail API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querytradeproducedetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryTradeProduceDetailWithChan(request *QueryTradeProduceDetailRequest) (<-chan *QueryTradeProduceDetailResponse, <-chan error) {
+	responseChan := make(chan *QueryTradeProduceDetailResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryTradeProduceDetail(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryTradeProduceDetailWithCallback invokes the trademark.QueryTradeProduceDetail API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querytradeproducedetail.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryTradeProduceDetailWithCallback(request *QueryTradeProduceDetailRequest, callback func(response *QueryTradeProduceDetailResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryTradeProduceDetailResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryTradeProduceDetail(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryTradeProduceDetailRequest is the request struct for api QueryTradeProduceDetail
+type QueryTradeProduceDetailRequest struct {
+	*requests.RpcRequest
+	BizId string `position:"Query" name:"BizId"`
+}
+
+// QueryTradeProduceDetailResponse is the response struct for api QueryTradeProduceDetail
+type QueryTradeProduceDetailResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Data      Data   `json:"Data" xml:"Data"`
+}
+
+// CreateQueryTradeProduceDetailRequest creates a request to invoke QueryTradeProduceDetail API
+func CreateQueryTradeProduceDetailRequest() (request *QueryTradeProduceDetailRequest) {
+	request = &QueryTradeProduceDetailRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "QueryTradeProduceDetail", "trademark", "openAPI")
+	return
+}
+
+// CreateQueryTradeProduceDetailResponse creates a response to parse from QueryTradeProduceDetail response
+func CreateQueryTradeProduceDetailResponse() (response *QueryTradeProduceDetailResponse) {
+	response = &QueryTradeProduceDetailResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 115 - 0
services/trademark/query_trade_produce_list.go

@@ -0,0 +1,115 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// QueryTradeProduceList invokes the trademark.QueryTradeProduceList API synchronously
+// api document: https://help.aliyun.com/api/trademark/querytradeproducelist.html
+func (client *Client) QueryTradeProduceList(request *QueryTradeProduceListRequest) (response *QueryTradeProduceListResponse, err error) {
+	response = CreateQueryTradeProduceListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryTradeProduceListWithChan invokes the trademark.QueryTradeProduceList API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querytradeproducelist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryTradeProduceListWithChan(request *QueryTradeProduceListRequest) (<-chan *QueryTradeProduceListResponse, <-chan error) {
+	responseChan := make(chan *QueryTradeProduceListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryTradeProduceList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryTradeProduceListWithCallback invokes the trademark.QueryTradeProduceList API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querytradeproducelist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryTradeProduceListWithCallback(request *QueryTradeProduceListRequest, callback func(response *QueryTradeProduceListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryTradeProduceListResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryTradeProduceList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryTradeProduceListRequest is the request struct for api QueryTradeProduceList
+type QueryTradeProduceListRequest struct {
+	*requests.RpcRequest
+	BuyerStatus    requests.Integer `position:"Query" name:"BuyerStatus"`
+	PageSize       requests.Integer `position:"Query" name:"PageSize"`
+	PreOrderId     string           `position:"Query" name:"PreOrderId"`
+	BizId          string           `position:"Query" name:"BizId"`
+	SortOrder      string           `position:"Query" name:"SortOrder"`
+	PageNum        requests.Integer `position:"Query" name:"PageNum"`
+	SortFiled      string           `position:"Query" name:"SortFiled"`
+	RegisterNumber string           `position:"Query" name:"RegisterNumber"`
+}
+
+// QueryTradeProduceListResponse is the response struct for api QueryTradeProduceList
+type QueryTradeProduceListResponse struct {
+	*responses.BaseResponse
+	RequestId      string                      `json:"RequestId" xml:"RequestId"`
+	TotalItemNum   int                         `json:"TotalItemNum" xml:"TotalItemNum"`
+	CurrentPageNum int                         `json:"CurrentPageNum" xml:"CurrentPageNum"`
+	PageSize       int                         `json:"PageSize" xml:"PageSize"`
+	TotalPageNum   int                         `json:"TotalPageNum" xml:"TotalPageNum"`
+	Data           DataInQueryTradeProduceList `json:"Data" xml:"Data"`
+}
+
+// CreateQueryTradeProduceListRequest creates a request to invoke QueryTradeProduceList API
+func CreateQueryTradeProduceListRequest() (request *QueryTradeProduceListRequest) {
+	request = &QueryTradeProduceListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "QueryTradeProduceList", "trademark", "openAPI")
+	return
+}
+
+// CreateQueryTradeProduceListResponse creates a response to parse from QueryTradeProduceList response
+func CreateQueryTradeProduceListResponse() (response *QueryTradeProduceListResponse) {
+	response = &QueryTradeProduceListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 118 - 0
services/trademark/query_trademark_monitor_results.go

@@ -0,0 +1,118 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// QueryTrademarkMonitorResults invokes the trademark.QueryTrademarkMonitorResults API synchronously
+// api document: https://help.aliyun.com/api/trademark/querytrademarkmonitorresults.html
+func (client *Client) QueryTrademarkMonitorResults(request *QueryTrademarkMonitorResultsRequest) (response *QueryTrademarkMonitorResultsResponse, err error) {
+	response = CreateQueryTrademarkMonitorResultsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryTrademarkMonitorResultsWithChan invokes the trademark.QueryTrademarkMonitorResults API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querytrademarkmonitorresults.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryTrademarkMonitorResultsWithChan(request *QueryTrademarkMonitorResultsRequest) (<-chan *QueryTrademarkMonitorResultsResponse, <-chan error) {
+	responseChan := make(chan *QueryTrademarkMonitorResultsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryTrademarkMonitorResults(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryTrademarkMonitorResultsWithCallback invokes the trademark.QueryTrademarkMonitorResults API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querytrademarkmonitorresults.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryTrademarkMonitorResultsWithCallback(request *QueryTrademarkMonitorResultsRequest, callback func(response *QueryTrademarkMonitorResultsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryTrademarkMonitorResultsResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryTrademarkMonitorResults(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryTrademarkMonitorResultsRequest is the request struct for api QueryTrademarkMonitorResults
+type QueryTrademarkMonitorResultsRequest struct {
+	*requests.RpcRequest
+	ActionType         requests.Integer `position:"Query" name:"ActionType"`
+	TmName             string           `position:"Query" name:"TmName"`
+	ApplyYear          string           `position:"Query" name:"ApplyYear"`
+	PageSize           requests.Integer `position:"Query" name:"PageSize"`
+	ProcedureStatus    requests.Integer `position:"Query" name:"ProcedureStatus"`
+	RuleId             requests.Integer `position:"Query" name:"RuleId"`
+	Classification     string           `position:"Query" name:"Classification"`
+	PageNum            requests.Integer `position:"Query" name:"PageNum"`
+	RegistrationNumber string           `position:"Query" name:"RegistrationNumber"`
+}
+
+// QueryTrademarkMonitorResultsResponse is the response struct for api QueryTrademarkMonitorResults
+type QueryTrademarkMonitorResultsResponse struct {
+	*responses.BaseResponse
+	RequestId      string                             `json:"RequestId" xml:"RequestId"`
+	TotalItemNum   int                                `json:"TotalItemNum" xml:"TotalItemNum"`
+	CurrentPageNum int                                `json:"CurrentPageNum" xml:"CurrentPageNum"`
+	PageSize       int                                `json:"PageSize" xml:"PageSize"`
+	TotalPageNum   int                                `json:"TotalPageNum" xml:"TotalPageNum"`
+	PrePage        bool                               `json:"PrePage" xml:"PrePage"`
+	NextPage       bool                               `json:"NextPage" xml:"NextPage"`
+	Data           DataInQueryTrademarkMonitorResults `json:"Data" xml:"Data"`
+}
+
+// CreateQueryTrademarkMonitorResultsRequest creates a request to invoke QueryTrademarkMonitorResults API
+func CreateQueryTrademarkMonitorResultsRequest() (request *QueryTrademarkMonitorResultsRequest) {
+	request = &QueryTrademarkMonitorResultsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "QueryTrademarkMonitorResults", "trademark", "openAPI")
+	return
+}
+
+// CreateQueryTrademarkMonitorResultsResponse creates a response to parse from QueryTrademarkMonitorResults response
+func CreateQueryTrademarkMonitorResultsResponse() (response *QueryTrademarkMonitorResultsResponse) {
+	response = &QueryTrademarkMonitorResultsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 114 - 0
services/trademark/query_trademark_monitor_rules.go

@@ -0,0 +1,114 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// QueryTrademarkMonitorRules invokes the trademark.QueryTrademarkMonitorRules API synchronously
+// api document: https://help.aliyun.com/api/trademark/querytrademarkmonitorrules.html
+func (client *Client) QueryTrademarkMonitorRules(request *QueryTrademarkMonitorRulesRequest) (response *QueryTrademarkMonitorRulesResponse, err error) {
+	response = CreateQueryTrademarkMonitorRulesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryTrademarkMonitorRulesWithChan invokes the trademark.QueryTrademarkMonitorRules API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querytrademarkmonitorrules.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryTrademarkMonitorRulesWithChan(request *QueryTrademarkMonitorRulesRequest) (<-chan *QueryTrademarkMonitorRulesResponse, <-chan error) {
+	responseChan := make(chan *QueryTrademarkMonitorRulesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryTrademarkMonitorRules(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryTrademarkMonitorRulesWithCallback invokes the trademark.QueryTrademarkMonitorRules API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querytrademarkmonitorrules.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryTrademarkMonitorRulesWithCallback(request *QueryTrademarkMonitorRulesRequest, callback func(response *QueryTrademarkMonitorRulesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryTrademarkMonitorRulesResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryTrademarkMonitorRules(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryTrademarkMonitorRulesRequest is the request struct for api QueryTrademarkMonitorRules
+type QueryTrademarkMonitorRulesRequest struct {
+	*requests.RpcRequest
+	NotifyUpdate requests.Integer `position:"Query" name:"NotifyUpdate"`
+	PageSize     requests.Integer `position:"Query" name:"PageSize"`
+	RuleName     string           `position:"Query" name:"RuleName"`
+	Id           string           `position:"Query" name:"Id"`
+	PageNum      requests.Integer `position:"Query" name:"PageNum"`
+}
+
+// QueryTrademarkMonitorRulesResponse is the response struct for api QueryTrademarkMonitorRules
+type QueryTrademarkMonitorRulesResponse struct {
+	*responses.BaseResponse
+	RequestId      string                           `json:"RequestId" xml:"RequestId"`
+	TotalItemNum   int                              `json:"TotalItemNum" xml:"TotalItemNum"`
+	CurrentPageNum int                              `json:"CurrentPageNum" xml:"CurrentPageNum"`
+	PageSize       int                              `json:"PageSize" xml:"PageSize"`
+	TotalPageNum   int                              `json:"TotalPageNum" xml:"TotalPageNum"`
+	PrePage        bool                             `json:"PrePage" xml:"PrePage"`
+	NextPage       bool                             `json:"NextPage" xml:"NextPage"`
+	Data           DataInQueryTrademarkMonitorRules `json:"Data" xml:"Data"`
+}
+
+// CreateQueryTrademarkMonitorRulesRequest creates a request to invoke QueryTrademarkMonitorRules API
+func CreateQueryTrademarkMonitorRulesRequest() (request *QueryTrademarkMonitorRulesRequest) {
+	request = &QueryTrademarkMonitorRulesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "QueryTrademarkMonitorRules", "trademark", "openAPI")
+	return
+}
+
+// CreateQueryTrademarkMonitorRulesResponse creates a response to parse from QueryTrademarkMonitorRules response
+func CreateQueryTrademarkMonitorRulesResponse() (response *QueryTrademarkMonitorRulesResponse) {
+	response = &QueryTrademarkMonitorRulesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 112 - 0
services/trademark/query_trademark_price.go

@@ -0,0 +1,112 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// QueryTrademarkPrice invokes the trademark.QueryTrademarkPrice API synchronously
+// api document: https://help.aliyun.com/api/trademark/querytrademarkprice.html
+func (client *Client) QueryTrademarkPrice(request *QueryTrademarkPriceRequest) (response *QueryTrademarkPriceResponse, err error) {
+	response = CreateQueryTrademarkPriceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryTrademarkPriceWithChan invokes the trademark.QueryTrademarkPrice API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querytrademarkprice.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryTrademarkPriceWithChan(request *QueryTrademarkPriceRequest) (<-chan *QueryTrademarkPriceResponse, <-chan error) {
+	responseChan := make(chan *QueryTrademarkPriceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryTrademarkPrice(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryTrademarkPriceWithCallback invokes the trademark.QueryTrademarkPrice API asynchronously
+// api document: https://help.aliyun.com/api/trademark/querytrademarkprice.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryTrademarkPriceWithCallback(request *QueryTrademarkPriceRequest, callback func(response *QueryTrademarkPriceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryTrademarkPriceResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryTrademarkPrice(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryTrademarkPriceRequest is the request struct for api QueryTrademarkPrice
+type QueryTrademarkPriceRequest struct {
+	*requests.RpcRequest
+	TmName    string           `position:"Query" name:"TmName"`
+	TmIcon    string           `position:"Query" name:"TmIcon"`
+	OrderData string           `position:"Query" name:"OrderData"`
+	Type      requests.Integer `position:"Query" name:"Type"`
+	UserId    requests.Integer `position:"Query" name:"UserId"`
+}
+
+// QueryTrademarkPriceResponse is the response struct for api QueryTrademarkPrice
+type QueryTrademarkPriceResponse struct {
+	*responses.BaseResponse
+	RequestId     string  `json:"RequestId" xml:"RequestId"`
+	DiscountPrice float64 `json:"DiscountPrice" xml:"DiscountPrice"`
+	OriginalPrice float64 `json:"OriginalPrice" xml:"OriginalPrice"`
+	TradePrice    float64 `json:"TradePrice" xml:"TradePrice"`
+	Currency      string  `json:"Currency" xml:"Currency"`
+	Prices        Prices  `json:"Prices" xml:"Prices"`
+}
+
+// CreateQueryTrademarkPriceRequest creates a request to invoke QueryTrademarkPrice API
+func CreateQueryTrademarkPriceRequest() (request *QueryTrademarkPriceRequest) {
+	request = &QueryTrademarkPriceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "QueryTrademarkPrice", "trademark", "openAPI")
+	return
+}
+
+// CreateQueryTrademarkPriceResponse creates a response to parse from QueryTrademarkPrice response
+func CreateQueryTrademarkPriceResponse() (response *QueryTrademarkPriceResponse) {
+	response = &QueryTrademarkPriceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/trademark/refund_produce.go

@@ -0,0 +1,106 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// RefundProduce invokes the trademark.RefundProduce API synchronously
+// api document: https://help.aliyun.com/api/trademark/refundproduce.html
+func (client *Client) RefundProduce(request *RefundProduceRequest) (response *RefundProduceResponse, err error) {
+	response = CreateRefundProduceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// RefundProduceWithChan invokes the trademark.RefundProduce API asynchronously
+// api document: https://help.aliyun.com/api/trademark/refundproduce.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) RefundProduceWithChan(request *RefundProduceRequest) (<-chan *RefundProduceResponse, <-chan error) {
+	responseChan := make(chan *RefundProduceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.RefundProduce(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// RefundProduceWithCallback invokes the trademark.RefundProduce API asynchronously
+// api document: https://help.aliyun.com/api/trademark/refundproduce.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) RefundProduceWithCallback(request *RefundProduceRequest, callback func(response *RefundProduceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *RefundProduceResponse
+		var err error
+		defer close(result)
+		response, err = client.RefundProduce(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// RefundProduceRequest is the request struct for api RefundProduce
+type RefundProduceRequest struct {
+	*requests.RpcRequest
+	BizId string `position:"Query" name:"BizId"`
+}
+
+// RefundProduceResponse is the response struct for api RefundProduce
+type RefundProduceResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
+	ErrorCode string `json:"ErrorCode" xml:"ErrorCode"`
+}
+
+// CreateRefundProduceRequest creates a request to invoke RefundProduce API
+func CreateRefundProduceRequest() (request *RefundProduceRequest) {
+	request = &RefundProduceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "RefundProduce", "trademark", "openAPI")
+	return
+}
+
+// CreateRefundProduceResponse creates a response to parse from RefundProduce response
+func CreateRefundProduceResponse() (response *RefundProduceResponse) {
+	response = &RefundProduceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/trademark/save_task.go

@@ -0,0 +1,104 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// SaveTask invokes the trademark.SaveTask API synchronously
+// api document: https://help.aliyun.com/api/trademark/savetask.html
+func (client *Client) SaveTask(request *SaveTaskRequest) (response *SaveTaskResponse, err error) {
+	response = CreateSaveTaskResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// SaveTaskWithChan invokes the trademark.SaveTask API asynchronously
+// api document: https://help.aliyun.com/api/trademark/savetask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SaveTaskWithChan(request *SaveTaskRequest) (<-chan *SaveTaskResponse, <-chan error) {
+	responseChan := make(chan *SaveTaskResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.SaveTask(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// SaveTaskWithCallback invokes the trademark.SaveTask API asynchronously
+// api document: https://help.aliyun.com/api/trademark/savetask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SaveTaskWithCallback(request *SaveTaskRequest, callback func(response *SaveTaskResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *SaveTaskResponse
+		var err error
+		defer close(result)
+		response, err = client.SaveTask(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// SaveTaskRequest is the request struct for api SaveTask
+type SaveTaskRequest struct {
+	*requests.RpcRequest
+	BizType string `position:"Query" name:"BizType"`
+	Request string `position:"Query" name:"Request"`
+}
+
+// SaveTaskResponse is the response struct for api SaveTask
+type SaveTaskResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateSaveTaskRequest creates a request to invoke SaveTask API
+func CreateSaveTaskRequest() (request *SaveTaskRequest) {
+	request = &SaveTaskRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "SaveTask", "trademark", "openAPI")
+	return
+}
+
+// CreateSaveTaskResponse creates a response to parse from SaveTask response
+func CreateSaveTaskResponse() (response *SaveTaskResponse) {
+	response = &SaveTaskResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/trademark/start_notary.go

@@ -0,0 +1,107 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// StartNotary invokes the trademark.StartNotary API synchronously
+// api document: https://help.aliyun.com/api/trademark/startnotary.html
+func (client *Client) StartNotary(request *StartNotaryRequest) (response *StartNotaryResponse, err error) {
+	response = CreateStartNotaryResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// StartNotaryWithChan invokes the trademark.StartNotary API asynchronously
+// api document: https://help.aliyun.com/api/trademark/startnotary.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) StartNotaryWithChan(request *StartNotaryRequest) (<-chan *StartNotaryResponse, <-chan error) {
+	responseChan := make(chan *StartNotaryResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.StartNotary(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// StartNotaryWithCallback invokes the trademark.StartNotary API asynchronously
+// api document: https://help.aliyun.com/api/trademark/startnotary.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) StartNotaryWithCallback(request *StartNotaryRequest, callback func(response *StartNotaryResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *StartNotaryResponse
+		var err error
+		defer close(result)
+		response, err = client.StartNotary(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// StartNotaryRequest is the request struct for api StartNotary
+type StartNotaryRequest struct {
+	*requests.RpcRequest
+	NotaryOrderId requests.Integer `position:"Query" name:"NotaryOrderId"`
+}
+
+// StartNotaryResponse is the response struct for api StartNotary
+type StartNotaryResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	NotaryUrl string `json:"NotaryUrl" xml:"NotaryUrl"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
+	ErrorCode string `json:"ErrorCode" xml:"ErrorCode"`
+}
+
+// CreateStartNotaryRequest creates a request to invoke StartNotary API
+func CreateStartNotaryRequest() (request *StartNotaryRequest) {
+	request = &StartNotaryRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "StartNotary", "trademark", "openAPI")
+	return
+}
+
+// CreateStartNotaryResponse creates a response to parse from StartNotary response
+func CreateStartNotaryResponse() (response *StartNotaryResponse) {
+	response = &StartNotaryResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 124 - 0
services/trademark/store_material_temporarily.go

@@ -0,0 +1,124 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// StoreMaterialTemporarily invokes the trademark.StoreMaterialTemporarily API synchronously
+// api document: https://help.aliyun.com/api/trademark/storematerialtemporarily.html
+func (client *Client) StoreMaterialTemporarily(request *StoreMaterialTemporarilyRequest) (response *StoreMaterialTemporarilyResponse, err error) {
+	response = CreateStoreMaterialTemporarilyResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// StoreMaterialTemporarilyWithChan invokes the trademark.StoreMaterialTemporarily API asynchronously
+// api document: https://help.aliyun.com/api/trademark/storematerialtemporarily.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) StoreMaterialTemporarilyWithChan(request *StoreMaterialTemporarilyRequest) (<-chan *StoreMaterialTemporarilyResponse, <-chan error) {
+	responseChan := make(chan *StoreMaterialTemporarilyResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.StoreMaterialTemporarily(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// StoreMaterialTemporarilyWithCallback invokes the trademark.StoreMaterialTemporarily API asynchronously
+// api document: https://help.aliyun.com/api/trademark/storematerialtemporarily.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) StoreMaterialTemporarilyWithCallback(request *StoreMaterialTemporarilyRequest, callback func(response *StoreMaterialTemporarilyResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *StoreMaterialTemporarilyResponse
+		var err error
+		defer close(result)
+		response, err = client.StoreMaterialTemporarily(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// StoreMaterialTemporarilyRequest is the request struct for api StoreMaterialTemporarily
+type StoreMaterialTemporarilyRequest struct {
+	*requests.RpcRequest
+	ContactEmail          string `position:"Query" name:"ContactEmail"`
+	ContactAddress        string `position:"Query" name:"ContactAddress"`
+	EAddress              string `position:"Query" name:"EAddress"`
+	Country               string `position:"Query" name:"Country"`
+	LegalNoticeOssKey     string `position:"Query" name:"LegalNoticeOssKey"`
+	Address               string `position:"Query" name:"Address"`
+	Town                  string `position:"Query" name:"Town"`
+	ContactNumber         string `position:"Query" name:"ContactNumber"`
+	City                  string `position:"Query" name:"City"`
+	IdCardOssKey          string `position:"Query" name:"IdCardOssKey"`
+	Type                  string `position:"Query" name:"Type"`
+	ContactName           string `position:"Query" name:"ContactName"`
+	PassportOssKey        string `position:"Query" name:"PassportOssKey"`
+	ContactZipcode        string `position:"Query" name:"ContactZipcode"`
+	EName                 string `position:"Query" name:"EName"`
+	Province              string `position:"Query" name:"Province"`
+	BusinessLicenceOssKey string `position:"Query" name:"BusinessLicenceOssKey"`
+	Name                  string `position:"Query" name:"Name"`
+	CardNumber            string `position:"Query" name:"CardNumber"`
+	Region                string `position:"Query" name:"Region"`
+	LoaOssKey             string `position:"Query" name:"LoaOssKey"`
+}
+
+// StoreMaterialTemporarilyResponse is the response struct for api StoreMaterialTemporarily
+type StoreMaterialTemporarilyResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+}
+
+// CreateStoreMaterialTemporarilyRequest creates a request to invoke StoreMaterialTemporarily API
+func CreateStoreMaterialTemporarilyRequest() (request *StoreMaterialTemporarilyRequest) {
+	request = &StoreMaterialTemporarilyRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "StoreMaterialTemporarily", "trademark", "openAPI")
+	return
+}
+
+// CreateStoreMaterialTemporarilyResponse creates a response to parse from StoreMaterialTemporarily response
+func CreateStoreMaterialTemporarilyResponse() (response *StoreMaterialTemporarilyResponse) {
+	response = &StoreMaterialTemporarilyResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 22 - 0
services/trademark/struct_admin_uploads.go

@@ -0,0 +1,22 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// AdminUploads is a nested struct in trademark response
+type AdminUploads struct {
+	LoaPicUrl     string `json:"LoaPicUrl" xml:"LoaPicUrl"`
+	LicensePicUrl string `json:"LicensePicUrl" xml:"LicensePicUrl"`
+}

+ 25 - 0
services/trademark/struct_credentials_info.go

@@ -0,0 +1,25 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// CredentialsInfo is a nested struct in trademark response
+type CredentialsInfo struct {
+	CardNumber  string `json:"CardNumber" xml:"CardNumber"`
+	Address     string `json:"Address" xml:"Address"`
+	CompanyName string `json:"CompanyName" xml:"CompanyName"`
+	PersonName  string `json:"PersonName" xml:"PersonName"`
+	Province    string `json:"Province" xml:"Province"`
+}

+ 49 - 0
services/trademark/struct_data.go

@@ -0,0 +1,49 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// Data is a nested struct in trademark response
+type Data struct {
+	Extend             map[string]interface{} `json:"Extend" xml:"Extend"`
+	CountryFill        bool                   `json:"CountryFill" xml:"CountryFill"`
+	Icon               string                 `json:"Icon" xml:"Icon"`
+	TmName             string                 `json:"TmName" xml:"TmName"`
+	CreateTime         int64                  `json:"CreateTime" xml:"CreateTime"`
+	ConfiscateAmount   float64                `json:"ConfiscateAmount" xml:"ConfiscateAmount"`
+	ThirdCode          string                 `json:"ThirdCode" xml:"ThirdCode"`
+	BizId              string                 `json:"BizId" xml:"BizId"`
+	FinalAmount        float64                `json:"FinalAmount" xml:"FinalAmount"`
+	OperateNote        string                 `json:"OperateNote" xml:"OperateNote"`
+	AllowCancel        bool                   `json:"AllowCancel" xml:"AllowCancel"`
+	UserId             string                 `json:"UserId" xml:"UserId"`
+	Classification     string                 `json:"Classification" xml:"Classification"`
+	MaterialNameFill   bool                   `json:"MaterialNameFill" xml:"MaterialNameFill"`
+	BuyerStatus        int                    `json:"BuyerStatus" xml:"BuyerStatus"`
+	StampFill          bool                   `json:"StampFill" xml:"StampFill"`
+	AddressFill        bool                   `json:"AddressFill" xml:"AddressFill"`
+	PreAmount          float64                `json:"PreAmount" xml:"PreAmount"`
+	UpdateTime         int64                  `json:"UpdateTime" xml:"UpdateTime"`
+	RegisterNumber     string                 `json:"RegisterNumber" xml:"RegisterNumber"`
+	RefundAmount       float64                `json:"RefundAmount" xml:"RefundAmount"`
+	Share              string                 `json:"Share" xml:"Share"`
+	ExclusiveDateLimit string                 `json:"ExclusiveDateLimit" xml:"ExclusiveDateLimit"`
+	PreOrderId         string                 `json:"PreOrderId" xml:"PreOrderId"`
+	TemplateUrl        string                 `json:"TemplateUrl" xml:"TemplateUrl"`
+	PaidAmount         float64                `json:"PaidAmount" xml:"PaidAmount"`
+	TradeMarkNameFill  bool                   `json:"TradeMarkNameFill" xml:"TradeMarkNameFill"`
+	NationalityFill    bool                   `json:"NationalityFill" xml:"NationalityFill"`
+	ErrorMsgs          ErrorMsgs              `json:"ErrorMsgs" xml:"ErrorMsgs"`
+}

+ 21 - 0
services/trademark/struct_data_in_filter_unavailable_codes.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// DataInFilterUnavailableCodes is a nested struct in trademark response
+type DataInFilterUnavailableCodes struct {
+	Codes []string `json:"Codes" xml:"Codes"`
+}

+ 21 - 0
services/trademark/struct_data_in_list_notary_infos.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// DataInListNotaryInfos is a nested struct in trademark response
+type DataInListNotaryInfos struct {
+	NotaryInfo []NotaryInfo `json:"NotaryInfo" xml:"NotaryInfo"`
+}

+ 21 - 0
services/trademark/struct_data_in_list_notary_orders.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// DataInListNotaryOrders is a nested struct in trademark response
+type DataInListNotaryOrders struct {
+	NotaryOrder []NotaryOrder `json:"NotaryOrder" xml:"NotaryOrder"`
+}

+ 21 - 0
services/trademark/struct_data_in_query_communication_logs.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// DataInQueryCommunicationLogs is a nested struct in trademark response
+type DataInQueryCommunicationLogs struct {
+	TaskList []TaskList `json:"TaskList" xml:"TaskList"`
+}

+ 21 - 0
services/trademark/struct_data_in_query_material_list.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// DataInQueryMaterialList is a nested struct in trademark response
+type DataInQueryMaterialList struct {
+	Trademark []Trademark `json:"Trademark" xml:"Trademark"`
+}

+ 21 - 0
services/trademark/struct_data_in_query_monitor_keywords.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// DataInQueryMonitorKeywords is a nested struct in trademark response
+type DataInQueryMonitorKeywords struct {
+	Keywords []string `json:"Keywords" xml:"Keywords"`
+}

+ 21 - 0
services/trademark/struct_data_in_query_oss_resources.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// DataInQueryOssResources is a nested struct in trademark response
+type DataInQueryOssResources struct {
+	TaskList []TaskList `json:"TaskList" xml:"TaskList"`
+}

+ 21 - 0
services/trademark/struct_data_in_query_task_list.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// DataInQueryTaskList is a nested struct in trademark response
+type DataInQueryTaskList struct {
+	TaskList []TaskList `json:"TaskList" xml:"TaskList"`
+}

+ 21 - 0
services/trademark/struct_data_in_query_trade_intention_user_list.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// DataInQueryTradeIntentionUserList is a nested struct in trademark response
+type DataInQueryTradeIntentionUserList struct {
+	Trademark []Trademark `json:"Trademark" xml:"Trademark"`
+}

+ 21 - 0
services/trademark/struct_data_in_query_trade_mark_application_logs.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// DataInQueryTradeMarkApplicationLogs is a nested struct in trademark response
+type DataInQueryTradeMarkApplicationLogs struct {
+	DataItem []DataItem `json:"DataItem" xml:"DataItem"`
+}

+ 21 - 0
services/trademark/struct_data_in_query_trade_mark_applications.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// DataInQueryTradeMarkApplications is a nested struct in trademark response
+type DataInQueryTradeMarkApplications struct {
+	TmProduces []TmProduces `json:"TmProduces" xml:"TmProduces"`
+}

+ 21 - 0
services/trademark/struct_data_in_query_trade_produce_list.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// DataInQueryTradeProduceList is a nested struct in trademark response
+type DataInQueryTradeProduceList struct {
+	TradeProduces []TradeProduces `json:"TradeProduces" xml:"TradeProduces"`
+}

+ 21 - 0
services/trademark/struct_data_in_query_trademark_monitor_results.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// DataInQueryTrademarkMonitorResults is a nested struct in trademark response
+type DataInQueryTrademarkMonitorResults struct {
+	TmMonitorResult []TmMonitorResult `json:"TmMonitorResult" xml:"TmMonitorResult"`
+}

+ 21 - 0
services/trademark/struct_data_in_query_trademark_monitor_rules.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// DataInQueryTrademarkMonitorRules is a nested struct in trademark response
+type DataInQueryTrademarkMonitorRules struct {
+	TmMonitorRule []TmMonitorRule `json:"TmMonitorRule" xml:"TmMonitorRule"`
+}

+ 25 - 0
services/trademark/struct_data_item.go

@@ -0,0 +1,25 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// DataItem is a nested struct in trademark response
+type DataItem struct {
+	BizId       string `json:"BizId" xml:"BizId"`
+	Note        string `json:"Note" xml:"Note"`
+	OperateType int    `json:"OperateType" xml:"OperateType"`
+	OperateTime int64  `json:"OperateTime" xml:"OperateTime"`
+	BizStatus   int    `json:"BizStatus" xml:"BizStatus"`
+}

+ 21 - 0
services/trademark/struct_error_msgs.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// ErrorMsgs is a nested struct in trademark response
+type ErrorMsgs struct {
+	ErrorMsg []string `json:"ErrorMsg" xml:"ErrorMsg"`
+}

+ 21 - 0
services/trademark/struct_file_template_urls_in_query_supplement_detail.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// FileTemplateUrlsInQuerySupplementDetail is a nested struct in trademark response
+type FileTemplateUrlsInQuerySupplementDetail struct {
+	FileTemplateUrls []string `json:"FileTemplateUrls" xml:"FileTemplateUrls"`
+}

+ 21 - 0
services/trademark/struct_file_template_urls_in_query_trade_mark_application_detail.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// FileTemplateUrlsInQueryTradeMarkApplicationDetail is a nested struct in trademark response
+type FileTemplateUrlsInQueryTradeMarkApplicationDetail struct {
+	FileTemplateUrls []string `json:"FileTemplateUrls" xml:"FileTemplateUrls"`
+}

+ 24 - 0
services/trademark/struct_first_classification.go

@@ -0,0 +1,24 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// FirstClassification is a nested struct in trademark response
+type FirstClassification struct {
+	Name               string `json:"Name" xml:"Name"`
+	ClassificationName string `json:"ClassificationName" xml:"ClassificationName"`
+	Code               string `json:"Code" xml:"Code"`
+	ClassificationCode string `json:"ClassificationCode" xml:"ClassificationCode"`
+}

+ 21 - 0
services/trademark/struct_flags.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// Flags is a nested struct in trademark response
+type Flags struct {
+	Flags []string `json:"Flags" xml:"Flags"`
+}

+ 21 - 0
services/trademark/struct_judge_result_url.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// JudgeResultUrl is a nested struct in trademark response
+type JudgeResultUrl struct {
+	JudgeResultUrl []string `json:"JudgeResultUrl" xml:"JudgeResultUrl"`
+}

+ 43 - 0
services/trademark/struct_material_detail.go

@@ -0,0 +1,43 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// MaterialDetail is a nested struct in trademark response
+type MaterialDetail struct {
+	CardNumber         string `json:"CardNumber" xml:"CardNumber"`
+	ContactAddress     string `json:"ContactAddress" xml:"ContactAddress"`
+	Status             int    `json:"Status" xml:"Status"`
+	EName              string `json:"EName" xml:"EName"`
+	Address            string `json:"Address" xml:"Address"`
+	LoaUrl             string `json:"LoaUrl" xml:"LoaUrl"`
+	City               string `json:"City" xml:"City"`
+	PassportUrl        string `json:"PassportUrl" xml:"PassportUrl"`
+	Province           string `json:"Province" xml:"Province"`
+	EAddress           string `json:"EAddress" xml:"EAddress"`
+	Name               string `json:"Name" xml:"Name"`
+	IdCardUrl          string `json:"IdCardUrl" xml:"IdCardUrl"`
+	BusinessLicenceUrl string `json:"BusinessLicenceUrl" xml:"BusinessLicenceUrl"`
+	Type               int    `json:"Type" xml:"Type"`
+	ExpirationDate     string `json:"ExpirationDate" xml:"ExpirationDate"`
+	ContactZipcode     string `json:"ContactZipcode" xml:"ContactZipcode"`
+	Town               string `json:"Town" xml:"Town"`
+	ContactNumber      string `json:"ContactNumber" xml:"ContactNumber"`
+	ContactEmail       string `json:"ContactEmail" xml:"ContactEmail"`
+	Country            string `json:"Country" xml:"Country"`
+	Region             int    `json:"Region" xml:"Region"`
+	ContactName        string `json:"ContactName" xml:"ContactName"`
+	LegalNoticeUrl     string `json:"LegalNoticeUrl" xml:"LegalNoticeUrl"`
+}

+ 27 - 0
services/trademark/struct_notary_info.go

@@ -0,0 +1,27 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// NotaryInfo is a nested struct in trademark response
+type NotaryInfo struct {
+	BizOrderNo         string `json:"BizOrderNo" xml:"BizOrderNo"`
+	Token              string `json:"Token" xml:"Token"`
+	NotaryStatus       int    `json:"NotaryStatus" xml:"NotaryStatus"`
+	TmRegisterNo       string `json:"TmRegisterNo" xml:"TmRegisterNo"`
+	TmClassification   string `json:"TmClassification" xml:"TmClassification"`
+	GmtModified        int64  `json:"GmtModified" xml:"GmtModified"`
+	NotaryFailedReason string `json:"NotaryFailedReason" xml:"NotaryFailedReason"`
+}

+ 35 - 0
services/trademark/struct_notary_order.go

@@ -0,0 +1,35 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// NotaryOrder is a nested struct in trademark response
+type NotaryOrder struct {
+	NotaryOrderId      int64   `json:"NotaryOrderId" xml:"NotaryOrderId"`
+	AliyunOrderId      string  `json:"AliyunOrderId" xml:"AliyunOrderId"`
+	TmRegisterNo       string  `json:"TmRegisterNo" xml:"TmRegisterNo"`
+	TmName             string  `json:"TmName" xml:"TmName"`
+	TmImage            string  `json:"TmImage" xml:"TmImage"`
+	TmClassification   string  `json:"TmClassification" xml:"TmClassification"`
+	OrderPrice         float64 `json:"OrderPrice" xml:"OrderPrice"`
+	NotaryStatus       int     `json:"NotaryStatus" xml:"NotaryStatus"`
+	OrderDate          int64   `json:"OrderDate" xml:"OrderDate"`
+	GmtModified        int64   `json:"GmtModified" xml:"GmtModified"`
+	NotaryCertificate  string  `json:"NotaryCertificate" xml:"NotaryCertificate"`
+	BizId              string  `json:"BizId" xml:"BizId"`
+	NotaryType         int     `json:"NotaryType" xml:"NotaryType"`
+	NotaryPlatformName string  `json:"NotaryPlatformName" xml:"NotaryPlatformName"`
+	ApplyPostStatus    string  `json:"ApplyPostStatus" xml:"ApplyPostStatus"`
+}

+ 21 - 0
services/trademark/struct_prices.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// Prices is a nested struct in trademark response
+type Prices struct {
+	PricesItem []PricesItem `json:"PricesItem" xml:"PricesItem"`
+}

+ 25 - 0
services/trademark/struct_prices_item.go

@@ -0,0 +1,25 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// PricesItem is a nested struct in trademark response
+type PricesItem struct {
+	ClassificationCode string  `json:"ClassificationCode" xml:"ClassificationCode"`
+	DiscountPrice      float64 `json:"DiscountPrice" xml:"DiscountPrice"`
+	OriginalPrice      float64 `json:"OriginalPrice" xml:"OriginalPrice"`
+	TradePrice         float64 `json:"TradePrice" xml:"TradePrice"`
+	Currency           string  `json:"Currency" xml:"Currency"`
+}

+ 21 - 0
services/trademark/struct_receipt_url.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// ReceiptUrl is a nested struct in trademark response
+type ReceiptUrl struct {
+	ReceiptUrl []string `json:"ReceiptUrl" xml:"ReceiptUrl"`
+}

+ 26 - 0
services/trademark/struct_renew_response.go

@@ -0,0 +1,26 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// RenewResponse is a nested struct in trademark response
+type RenewResponse struct {
+	Name          string `json:"Name" xml:"Name"`
+	SubmitSbjtime int64  `json:"SubmitSbjtime" xml:"SubmitSbjtime"`
+	RegisterTime  int64  `json:"RegisterTime" xml:"RegisterTime"`
+	Address       string `json:"Address" xml:"Address"`
+	EngName       string `json:"EngName" xml:"EngName"`
+	EngAddress    string `json:"EngAddress" xml:"EngAddress"`
+}

+ 21 - 0
services/trademark/struct_supplements.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// Supplements is a nested struct in trademark response
+type Supplements struct {
+	SupplementsItem []SupplementsItem `json:"SupplementsItem" xml:"SupplementsItem"`
+}

+ 35 - 0
services/trademark/struct_supplements_item.go

@@ -0,0 +1,35 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// SupplementsItem is a nested struct in trademark response
+type SupplementsItem struct {
+	Id                    int64                                             `json:"Id" xml:"Id"`
+	SerialNumber          string                                            `json:"SerialNumber" xml:"SerialNumber"`
+	Type                  int                                               `json:"Type" xml:"Type"`
+	Status                int                                               `json:"Status" xml:"Status"`
+	OrderId               string                                            `json:"OrderId" xml:"OrderId"`
+	TmNumber              string                                            `json:"TmNumber" xml:"TmNumber"`
+	SendTime              int64                                             `json:"SendTime" xml:"SendTime"`
+	AcceptTime            int64                                             `json:"AcceptTime" xml:"AcceptTime"`
+	SbjDeadTime           int64                                             `json:"SbjDeadTime" xml:"SbjDeadTime"`
+	AcceptDeadTime        int64                                             `json:"AcceptDeadTime" xml:"AcceptDeadTime"`
+	UploadFileTemplateUrl string                                            `json:"UploadFileTemplateUrl" xml:"UploadFileTemplateUrl"`
+	Content               string                                            `json:"Content" xml:"Content"`
+	BatchNum              string                                            `json:"BatchNum" xml:"BatchNum"`
+	OperateTime           int64                                             `json:"OperateTime" xml:"OperateTime"`
+	FileTemplateUrls      FileTemplateUrlsInQueryTradeMarkApplicationDetail `json:"FileTemplateUrls" xml:"FileTemplateUrls"`
+}

+ 31 - 0
services/trademark/struct_task_list.go

@@ -0,0 +1,31 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// TaskList is a nested struct in trademark response
+type TaskList struct {
+	BizId       string `json:"BizId" xml:"BizId"`
+	Name        string `json:"Name" xml:"Name"`
+	PartnerCode string `json:"PartnerCode" xml:"PartnerCode"`
+	ErrMsg      string `json:"ErrMsg" xml:"ErrMsg"`
+	UpdateTime  int64  `json:"UpdateTime" xml:"UpdateTime"`
+	Result      string `json:"Result" xml:"Result"`
+	CreateTime  int64  `json:"CreateTime" xml:"CreateTime"`
+	TaskType    string `json:"TaskType" xml:"TaskType"`
+	Note        string `json:"Note" xml:"Note"`
+	OssUrl      string `json:"OssUrl" xml:"OssUrl"`
+	TaskStatus  string `json:"TaskStatus" xml:"TaskStatus"`
+}

+ 21 - 0
services/trademark/struct_third_classification_in_query_trade_mark_application_detail.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// ThirdClassificationInQueryTradeMarkApplicationDetail is a nested struct in trademark response
+type ThirdClassificationInQueryTradeMarkApplicationDetail struct {
+	ThirdClassifications []ThirdClassifications `json:"ThirdClassifications" xml:"ThirdClassifications"`
+}

+ 21 - 0
services/trademark/struct_third_classification_in_query_trade_mark_applications.go

@@ -0,0 +1,21 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// ThirdClassificationInQueryTradeMarkApplications is a nested struct in trademark response
+type ThirdClassificationInQueryTradeMarkApplications struct {
+	ThirdClassifications []ThirdClassifications `json:"ThirdClassifications" xml:"ThirdClassifications"`
+}

+ 24 - 0
services/trademark/struct_third_classifications.go

@@ -0,0 +1,24 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// ThirdClassifications is a nested struct in trademark response
+type ThirdClassifications struct {
+	Name               string `json:"Name" xml:"Name"`
+	ClassificationName string `json:"ClassificationName" xml:"ClassificationName"`
+	Code               string `json:"Code" xml:"Code"`
+	ClassificationCode string `json:"ClassificationCode" xml:"ClassificationCode"`
+}

+ 37 - 0
services/trademark/struct_tm_monitor_result.go

@@ -0,0 +1,37 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// TmMonitorResult is a nested struct in trademark response
+type TmMonitorResult struct {
+	UserId                string `json:"UserId" xml:"UserId"`
+	RuleId                string `json:"RuleId" xml:"RuleId"`
+	TmUid                 string `json:"TmUid" xml:"TmUid"`
+	DataCreateTime        int64  `json:"DataCreateTime" xml:"DataCreateTime"`
+	DataUpdateTime        int64  `json:"DataUpdateTime" xml:"DataUpdateTime"`
+	TmName                string `json:"TmName" xml:"TmName"`
+	TmImage               string `json:"TmImage" xml:"TmImage"`
+	Classification        string `json:"Classification" xml:"Classification"`
+	RegistrationNumber    string `json:"RegistrationNumber" xml:"RegistrationNumber"`
+	TmProcedureStatusDesc string `json:"TmProcedureStatusDesc" xml:"TmProcedureStatusDesc"`
+	OwnerName             string `json:"OwnerName" xml:"OwnerName"`
+	OwnerEnName           string `json:"OwnerEnName" xml:"OwnerEnName"`
+	ApplyDate             string `json:"ApplyDate" xml:"ApplyDate"`
+	XuzhanEndDate         string `json:"XuzhanEndDate" xml:"XuzhanEndDate"`
+	ChesanEndDate         string `json:"ChesanEndDate" xml:"ChesanEndDate"`
+	WuxiaoEndDate         string `json:"WuxiaoEndDate" xml:"WuxiaoEndDate"`
+	YiyiEndDate           string `json:"YiyiEndDate" xml:"YiyiEndDate"`
+}

+ 39 - 0
services/trademark/struct_tm_monitor_rule.go

@@ -0,0 +1,39 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// TmMonitorRule is a nested struct in trademark response
+type TmMonitorRule struct {
+	Id             string `json:"Id" xml:"Id"`
+	UserId         string `json:"UserId" xml:"UserId"`
+	RuleStatus     string `json:"RuleStatus" xml:"RuleStatus"`
+	RuleSource     string `json:"RuleSource" xml:"RuleSource"`
+	RuleName       string `json:"RuleName" xml:"RuleName"`
+	RuleType       int    `json:"RuleType" xml:"RuleType"`
+	RuleKeyword    string `json:"RuleKeyword" xml:"RuleKeyword"`
+	RuleDetail     string `json:"RuleDetail" xml:"RuleDetail"`
+	NotifyUpdate   int    `json:"NotifyUpdate" xml:"NotifyUpdate"`
+	Version        int    `json:"Version" xml:"Version"`
+	StartTime      string `json:"StartTime" xml:"StartTime"`
+	EndTime        string `json:"EndTime" xml:"EndTime"`
+	LastRunTime    string `json:"LastRunTime" xml:"LastRunTime"`
+	LastFinishTime string `json:"LastFinishTime" xml:"LastFinishTime"`
+	LastUpdateTime string `json:"LastUpdateTime" xml:"LastUpdateTime"`
+	Env            string `json:"Env" xml:"Env"`
+	RuleExtend     string `json:"RuleExtend" xml:"RuleExtend"`
+	CreateTime     string `json:"CreateTime" xml:"CreateTime"`
+	UpdateTime     string `json:"UpdateTime" xml:"UpdateTime"`
+}

+ 41 - 0
services/trademark/struct_tm_produces.go

@@ -0,0 +1,41 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// TmProduces is a nested struct in trademark response
+type TmProduces struct {
+	BizId               string                                          `json:"BizId" xml:"BizId"`
+	OrderId             string                                          `json:"OrderId" xml:"OrderId"`
+	MaterialName        string                                          `json:"MaterialName" xml:"MaterialName"`
+	TmIcon              string                                          `json:"TmIcon" xml:"TmIcon"`
+	TmName              string                                          `json:"TmName" xml:"TmName"`
+	TmNumber            string                                          `json:"TmNumber" xml:"TmNumber"`
+	CreateTime          int64                                           `json:"CreateTime" xml:"CreateTime"`
+	Type                int                                             `json:"Type" xml:"Type"`
+	Status              int                                             `json:"Status" xml:"Status"`
+	UserId              string                                          `json:"UserId" xml:"UserId"`
+	OrderPrice          float64                                         `json:"OrderPrice" xml:"OrderPrice"`
+	MaterialId          int64                                           `json:"MaterialId" xml:"MaterialId"`
+	LoaUrl              string                                          `json:"LoaUrl" xml:"LoaUrl"`
+	Note                string                                          `json:"Note" xml:"Note"`
+	UpdateTime          int64                                           `json:"UpdateTime" xml:"UpdateTime"`
+	SupplementStatus    int                                             `json:"SupplementStatus" xml:"SupplementStatus"`
+	SupplementId        int64                                           `json:"SupplementId" xml:"SupplementId"`
+	Flags               Flags                                           `json:"Flags" xml:"Flags"`
+	FirstClassification FirstClassification                             `json:"FirstClassification" xml:"FirstClassification"`
+	RenewResponse       RenewResponse                                   `json:"RenewResponse" xml:"RenewResponse"`
+	ThirdClassification ThirdClassificationInQueryTradeMarkApplications `json:"ThirdClassification" xml:"ThirdClassification"`
+}

+ 33 - 0
services/trademark/struct_trade_produces.go

@@ -0,0 +1,33 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// TradeProduces is a nested struct in trademark response
+type TradeProduces struct {
+	BizId          string `json:"BizId" xml:"BizId"`
+	PreOrderId     string `json:"PreOrderId" xml:"PreOrderId"`
+	PreAmount      int    `json:"PreAmount" xml:"PreAmount"`
+	FinalAmount    int    `json:"FinalAmount" xml:"FinalAmount"`
+	RegisterNumber string `json:"RegisterNumber" xml:"RegisterNumber"`
+	Classification string `json:"Classification" xml:"Classification"`
+	Icon           string `json:"Icon" xml:"Icon"`
+	OperateNote    string `json:"OperateNote" xml:"OperateNote"`
+	BuyerStatus    int    `json:"BuyerStatus" xml:"BuyerStatus"`
+	UserId         string `json:"UserId" xml:"UserId"`
+	CreateTime     int64  `json:"CreateTime" xml:"CreateTime"`
+	UpdateTime     int64  `json:"UpdateTime" xml:"UpdateTime"`
+	AllowCancel    bool   `json:"AllowCancel" xml:"AllowCancel"`
+}

+ 34 - 0
services/trademark/struct_trademark.go

@@ -0,0 +1,34 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// Trademark is a nested struct in trademark response
+type Trademark struct {
+	Name           string `json:"Name" xml:"Name"`
+	Status         int    `json:"Status" xml:"Status"`
+	RegisterNumber string `json:"RegisterNumber" xml:"RegisterNumber"`
+	Id             int64  `json:"Id" xml:"Id"`
+	LoaKey         string `json:"LoaKey" xml:"LoaKey"`
+	ContactName    string `json:"ContactName" xml:"ContactName"`
+	UserId         string `json:"UserId" xml:"UserId"`
+	Classification string `json:"Classification" xml:"Classification"`
+	UserName       string `json:"UserName" xml:"UserName"`
+	Region         int    `json:"Region" xml:"Region"`
+	LoaStatus      int    `json:"LoaStatus" xml:"LoaStatus"`
+	Mobile         int    `json:"Mobile" xml:"Mobile"`
+	CardNumber     string `json:"CardNumber" xml:"CardNumber"`
+	Type           int    `json:"Type" xml:"Type"`
+}

+ 108 - 0
services/trademark/submit_supplement.go

@@ -0,0 +1,108 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// SubmitSupplement invokes the trademark.SubmitSupplement API synchronously
+// api document: https://help.aliyun.com/api/trademark/submitsupplement.html
+func (client *Client) SubmitSupplement(request *SubmitSupplementRequest) (response *SubmitSupplementResponse, err error) {
+	response = CreateSubmitSupplementResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// SubmitSupplementWithChan invokes the trademark.SubmitSupplement API asynchronously
+// api document: https://help.aliyun.com/api/trademark/submitsupplement.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SubmitSupplementWithChan(request *SubmitSupplementRequest) (<-chan *SubmitSupplementResponse, <-chan error) {
+	responseChan := make(chan *SubmitSupplementResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.SubmitSupplement(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// SubmitSupplementWithCallback invokes the trademark.SubmitSupplement API asynchronously
+// api document: https://help.aliyun.com/api/trademark/submitsupplement.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SubmitSupplementWithCallback(request *SubmitSupplementRequest, callback func(response *SubmitSupplementResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *SubmitSupplementResponse
+		var err error
+		defer close(result)
+		response, err = client.SubmitSupplement(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// SubmitSupplementRequest is the request struct for api SubmitSupplement
+type SubmitSupplementRequest struct {
+	*requests.RpcRequest
+	UploadOssKeyList string           `position:"Query" name:"UploadOssKeyList"`
+	Id               requests.Integer `position:"Query" name:"Id"`
+	Content          string           `position:"Query" name:"Content"`
+}
+
+// SubmitSupplementResponse is the response struct for api SubmitSupplement
+type SubmitSupplementResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
+	ErrorCode string `json:"ErrorCode" xml:"ErrorCode"`
+}
+
+// CreateSubmitSupplementRequest creates a request to invoke SubmitSupplement API
+func CreateSubmitSupplementRequest() (request *SubmitSupplementRequest) {
+	request = &SubmitSupplementRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "SubmitSupplement", "trademark", "openAPI")
+	return
+}
+
+// CreateSubmitSupplementResponse creates a response to parse from SubmitSupplement response
+func CreateSubmitSupplementResponse() (response *SubmitSupplementResponse) {
+	response = &SubmitSupplementResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 123 - 0
services/trademark/update_material.go

@@ -0,0 +1,123 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// UpdateMaterial invokes the trademark.UpdateMaterial API synchronously
+// api document: https://help.aliyun.com/api/trademark/updatematerial.html
+func (client *Client) UpdateMaterial(request *UpdateMaterialRequest) (response *UpdateMaterialResponse, err error) {
+	response = CreateUpdateMaterialResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// UpdateMaterialWithChan invokes the trademark.UpdateMaterial API asynchronously
+// api document: https://help.aliyun.com/api/trademark/updatematerial.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UpdateMaterialWithChan(request *UpdateMaterialRequest) (<-chan *UpdateMaterialResponse, <-chan error) {
+	responseChan := make(chan *UpdateMaterialResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.UpdateMaterial(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// UpdateMaterialWithCallback invokes the trademark.UpdateMaterial API asynchronously
+// api document: https://help.aliyun.com/api/trademark/updatematerial.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UpdateMaterialWithCallback(request *UpdateMaterialRequest, callback func(response *UpdateMaterialResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *UpdateMaterialResponse
+		var err error
+		defer close(result)
+		response, err = client.UpdateMaterial(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// UpdateMaterialRequest is the request struct for api UpdateMaterial
+type UpdateMaterialRequest struct {
+	*requests.RpcRequest
+	ContactEmail          string           `position:"Query" name:"ContactEmail"`
+	ContactAddress        string           `position:"Query" name:"ContactAddress"`
+	EAddress              string           `position:"Query" name:"EAddress"`
+	LegalNoticeOssKey     string           `position:"Query" name:"LegalNoticeOssKey"`
+	Address               string           `position:"Query" name:"Address"`
+	Town                  string           `position:"Query" name:"Town"`
+	ContactNumber         string           `position:"Query" name:"ContactNumber"`
+	City                  string           `position:"Query" name:"City"`
+	IdCardOssKey          string           `position:"Query" name:"IdCardOssKey"`
+	ContactName           string           `position:"Query" name:"ContactName"`
+	PassportOssKey        string           `position:"Query" name:"PassportOssKey"`
+	ContactZipcode        string           `position:"Query" name:"ContactZipcode"`
+	EName                 string           `position:"Query" name:"EName"`
+	Province              string           `position:"Query" name:"Province"`
+	BusinessLicenceOssKey string           `position:"Query" name:"BusinessLicenceOssKey"`
+	Name                  string           `position:"Query" name:"Name"`
+	Id                    requests.Integer `position:"Query" name:"Id"`
+	CardNumber            string           `position:"Query" name:"CardNumber"`
+	LoaId                 requests.Integer `position:"Query" name:"LoaId"`
+	LoaOssKey             string           `position:"Query" name:"LoaOssKey"`
+}
+
+// UpdateMaterialResponse is the response struct for api UpdateMaterial
+type UpdateMaterialResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+}
+
+// CreateUpdateMaterialRequest creates a request to invoke UpdateMaterial API
+func CreateUpdateMaterialRequest() (request *UpdateMaterialRequest) {
+	request = &UpdateMaterialRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "UpdateMaterial", "trademark", "openAPI")
+	return
+}
+
+// CreateUpdateMaterialResponse creates a response to parse from UpdateMaterial response
+func CreateUpdateMaterialResponse() (response *UpdateMaterialResponse) {
+	response = &UpdateMaterialResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/trademark/update_send_material_num.go

@@ -0,0 +1,108 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// UpdateSendMaterialNum invokes the trademark.UpdateSendMaterialNum API synchronously
+// api document: https://help.aliyun.com/api/trademark/updatesendmaterialnum.html
+func (client *Client) UpdateSendMaterialNum(request *UpdateSendMaterialNumRequest) (response *UpdateSendMaterialNumResponse, err error) {
+	response = CreateUpdateSendMaterialNumResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// UpdateSendMaterialNumWithChan invokes the trademark.UpdateSendMaterialNum API asynchronously
+// api document: https://help.aliyun.com/api/trademark/updatesendmaterialnum.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UpdateSendMaterialNumWithChan(request *UpdateSendMaterialNumRequest) (<-chan *UpdateSendMaterialNumResponse, <-chan error) {
+	responseChan := make(chan *UpdateSendMaterialNumResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.UpdateSendMaterialNum(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// UpdateSendMaterialNumWithCallback invokes the trademark.UpdateSendMaterialNum API asynchronously
+// api document: https://help.aliyun.com/api/trademark/updatesendmaterialnum.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UpdateSendMaterialNumWithCallback(request *UpdateSendMaterialNumRequest, callback func(response *UpdateSendMaterialNumResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *UpdateSendMaterialNumResponse
+		var err error
+		defer close(result)
+		response, err = client.UpdateSendMaterialNum(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// UpdateSendMaterialNumRequest is the request struct for api UpdateSendMaterialNum
+type UpdateSendMaterialNumRequest struct {
+	*requests.RpcRequest
+	Num         string           `position:"Query" name:"Num"`
+	BizId       string           `position:"Query" name:"BizId"`
+	OperateType requests.Integer `position:"Query" name:"OperateType"`
+}
+
+// UpdateSendMaterialNumResponse is the response struct for api UpdateSendMaterialNum
+type UpdateSendMaterialNumResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
+	ErrorCode string `json:"ErrorCode" xml:"ErrorCode"`
+}
+
+// CreateUpdateSendMaterialNumRequest creates a request to invoke UpdateSendMaterialNum API
+func CreateUpdateSendMaterialNumRequest() (request *UpdateSendMaterialNumRequest) {
+	request = &UpdateSendMaterialNumRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "UpdateSendMaterialNum", "trademark", "openAPI")
+	return
+}
+
+// CreateUpdateSendMaterialNumResponse creates a response to parse from UpdateSendMaterialNum response
+func CreateUpdateSendMaterialNumResponse() (response *UpdateSendMaterialNumResponse) {
+	response = &UpdateSendMaterialNumResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/trademark/update_tm_monitor_rule.go

@@ -0,0 +1,108 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// UpdateTmMonitorRule invokes the trademark.UpdateTmMonitorRule API synchronously
+// api document: https://help.aliyun.com/api/trademark/updatetmmonitorrule.html
+func (client *Client) UpdateTmMonitorRule(request *UpdateTmMonitorRuleRequest) (response *UpdateTmMonitorRuleResponse, err error) {
+	response = CreateUpdateTmMonitorRuleResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// UpdateTmMonitorRuleWithChan invokes the trademark.UpdateTmMonitorRule API asynchronously
+// api document: https://help.aliyun.com/api/trademark/updatetmmonitorrule.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UpdateTmMonitorRuleWithChan(request *UpdateTmMonitorRuleRequest) (<-chan *UpdateTmMonitorRuleResponse, <-chan error) {
+	responseChan := make(chan *UpdateTmMonitorRuleResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.UpdateTmMonitorRule(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// UpdateTmMonitorRuleWithCallback invokes the trademark.UpdateTmMonitorRule API asynchronously
+// api document: https://help.aliyun.com/api/trademark/updatetmmonitorrule.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UpdateTmMonitorRuleWithCallback(request *UpdateTmMonitorRuleRequest, callback func(response *UpdateTmMonitorRuleResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *UpdateTmMonitorRuleResponse
+		var err error
+		defer close(result)
+		response, err = client.UpdateTmMonitorRule(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// UpdateTmMonitorRuleRequest is the request struct for api UpdateTmMonitorRule
+type UpdateTmMonitorRuleRequest struct {
+	*requests.RpcRequest
+	NotifyStatus *[]string        `position:"Query" name:"NotifyStatus"  type:"Repeated"`
+	RuleName     string           `position:"Query" name:"RuleName"`
+	Id           requests.Integer `position:"Query" name:"Id"`
+}
+
+// UpdateTmMonitorRuleResponse is the response struct for api UpdateTmMonitorRule
+type UpdateTmMonitorRuleResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
+	ErrorCode string `json:"ErrorCode" xml:"ErrorCode"`
+}
+
+// CreateUpdateTmMonitorRuleRequest creates a request to invoke UpdateTmMonitorRule API
+func CreateUpdateTmMonitorRuleRequest() (request *UpdateTmMonitorRuleRequest) {
+	request = &UpdateTmMonitorRuleRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "UpdateTmMonitorRule", "trademark", "openAPI")
+	return
+}
+
+// CreateUpdateTmMonitorRuleResponse creates a response to parse from UpdateTmMonitorRule response
+func CreateUpdateTmMonitorRuleResponse() (response *UpdateTmMonitorRuleResponse) {
+	response = &UpdateTmMonitorRuleResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/trademark/upload_notary_data.go

@@ -0,0 +1,106 @@
+package trademark
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// UploadNotaryData invokes the trademark.UploadNotaryData API synchronously
+// api document: https://help.aliyun.com/api/trademark/uploadnotarydata.html
+func (client *Client) UploadNotaryData(request *UploadNotaryDataRequest) (response *UploadNotaryDataResponse, err error) {
+	response = CreateUploadNotaryDataResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// UploadNotaryDataWithChan invokes the trademark.UploadNotaryData API asynchronously
+// api document: https://help.aliyun.com/api/trademark/uploadnotarydata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UploadNotaryDataWithChan(request *UploadNotaryDataRequest) (<-chan *UploadNotaryDataResponse, <-chan error) {
+	responseChan := make(chan *UploadNotaryDataResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.UploadNotaryData(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// UploadNotaryDataWithCallback invokes the trademark.UploadNotaryData API asynchronously
+// api document: https://help.aliyun.com/api/trademark/uploadnotarydata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UploadNotaryDataWithCallback(request *UploadNotaryDataRequest, callback func(response *UploadNotaryDataResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *UploadNotaryDataResponse
+		var err error
+		defer close(result)
+		response, err = client.UploadNotaryData(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// UploadNotaryDataRequest is the request struct for api UploadNotaryData
+type UploadNotaryDataRequest struct {
+	*requests.RpcRequest
+	UploadContext string           `position:"Query" name:"UploadContext"`
+	BizOrderNo    string           `position:"Query" name:"BizOrderNo"`
+	NotaryType    requests.Integer `position:"Query" name:"NotaryType"`
+}
+
+// UploadNotaryDataResponse is the response struct for api UploadNotaryData
+type UploadNotaryDataResponse struct {
+	*responses.BaseResponse
+	RequestId   string `json:"RequestId" xml:"RequestId"`
+	UserAuthUrl string `json:"UserAuthUrl" xml:"UserAuthUrl"`
+}
+
+// CreateUploadNotaryDataRequest creates a request to invoke UploadNotaryData API
+func CreateUploadNotaryDataRequest() (request *UploadNotaryDataRequest) {
+	request = &UploadNotaryDataRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Trademark", "2018-07-24", "UploadNotaryData", "trademark", "openAPI")
+	return
+}
+
+// CreateUploadNotaryDataResponse creates a response to parse from UploadNotaryData response
+func CreateUploadNotaryDataResponse() (response *UploadNotaryDataResponse) {
+	response = &UploadNotaryDataResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}