Browse Source

CRM SDK Auto Released By shenshi,Version:1.53.73

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 6 years ago
parent
commit
6098a8e883

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-03-21 Version: 1.53.73
+1,  Update Dependency
+
 2019-03-20 Version: 1.53.72
 2019-03-20 Version: 1.53.72
 1, Update the Dependency
 1, Update the Dependency
 
 

+ 110 - 0
services/crm/add_identity_certified_for_bid_user.go

@@ -0,0 +1,110 @@
+package crm
+
+//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"
+)
+
+// AddIdentityCertifiedForBidUser invokes the crm.AddIdentityCertifiedForBidUser API synchronously
+// api document: https://help.aliyun.com/api/crm/addidentitycertifiedforbiduser.html
+func (client *Client) AddIdentityCertifiedForBidUser(request *AddIdentityCertifiedForBidUserRequest) (response *AddIdentityCertifiedForBidUserResponse, err error) {
+	response = CreateAddIdentityCertifiedForBidUserResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// AddIdentityCertifiedForBidUserWithChan invokes the crm.AddIdentityCertifiedForBidUser API asynchronously
+// api document: https://help.aliyun.com/api/crm/addidentitycertifiedforbiduser.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) AddIdentityCertifiedForBidUserWithChan(request *AddIdentityCertifiedForBidUserRequest) (<-chan *AddIdentityCertifiedForBidUserResponse, <-chan error) {
+	responseChan := make(chan *AddIdentityCertifiedForBidUserResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.AddIdentityCertifiedForBidUser(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// AddIdentityCertifiedForBidUserWithCallback invokes the crm.AddIdentityCertifiedForBidUser API asynchronously
+// api document: https://help.aliyun.com/api/crm/addidentitycertifiedforbiduser.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) AddIdentityCertifiedForBidUserWithCallback(request *AddIdentityCertifiedForBidUserRequest, callback func(response *AddIdentityCertifiedForBidUserResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *AddIdentityCertifiedForBidUserResponse
+		var err error
+		defer close(result)
+		response, err = client.AddIdentityCertifiedForBidUser(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// AddIdentityCertifiedForBidUserRequest is the request struct for api AddIdentityCertifiedForBidUser
+type AddIdentityCertifiedForBidUserRequest struct {
+	*requests.RpcRequest
+	BidType       string           `position:"Query" name:"BidType"`
+	LicenseNumber string           `position:"Query" name:"LicenseNumber"`
+	LicenseType   string           `position:"Query" name:"LicenseType"`
+	Phone         string           `position:"Query" name:"Phone"`
+	Name          string           `position:"Query" name:"Name"`
+	PK            string           `position:"Query" name:"PK"`
+	IsEnterprise  requests.Boolean `position:"Query" name:"IsEnterprise"`
+}
+
+// AddIdentityCertifiedForBidUserResponse is the response struct for api AddIdentityCertifiedForBidUser
+type AddIdentityCertifiedForBidUserResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateAddIdentityCertifiedForBidUserRequest creates a request to invoke AddIdentityCertifiedForBidUser API
+func CreateAddIdentityCertifiedForBidUserRequest() (request *AddIdentityCertifiedForBidUserRequest) {
+	request = &AddIdentityCertifiedForBidUserRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Crm", "2015-04-08", "AddIdentityCertifiedForBidUser", "crm", "openAPI")
+	return
+}
+
+// CreateAddIdentityCertifiedForBidUserResponse creates a response to parse from AddIdentityCertifiedForBidUser response
+func CreateAddIdentityCertifiedForBidUserResponse() (response *AddIdentityCertifiedForBidUserResponse) {
+	response = &AddIdentityCertifiedForBidUserResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/crm/add_label.go

@@ -0,0 +1,109 @@
+package crm
+
+//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"
+)
+
+// AddLabel invokes the crm.AddLabel API synchronously
+// api document: https://help.aliyun.com/api/crm/addlabel.html
+func (client *Client) AddLabel(request *AddLabelRequest) (response *AddLabelResponse, err error) {
+	response = CreateAddLabelResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// AddLabelWithChan invokes the crm.AddLabel API asynchronously
+// api document: https://help.aliyun.com/api/crm/addlabel.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) AddLabelWithChan(request *AddLabelRequest) (<-chan *AddLabelResponse, <-chan error) {
+	responseChan := make(chan *AddLabelResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.AddLabel(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// AddLabelWithCallback invokes the crm.AddLabel API asynchronously
+// api document: https://help.aliyun.com/api/crm/addlabel.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) AddLabelWithCallback(request *AddLabelRequest, callback func(response *AddLabelResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *AddLabelResponse
+		var err error
+		defer close(result)
+		response, err = client.AddLabel(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// AddLabelRequest is the request struct for api AddLabel
+type AddLabelRequest struct {
+	*requests.RpcRequest
+	LabelSeries  string `position:"Query" name:"LabelSeries"`
+	Organization string `position:"Query" name:"Organization"`
+	EndTime      string `position:"Query" name:"EndTime"`
+	PK           string `position:"Query" name:"PK"`
+	LabelName    string `position:"Query" name:"LabelName"`
+	UserName     string `position:"Query" name:"UserName"`
+}
+
+// AddLabelResponse is the response struct for api AddLabel
+type AddLabelResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateAddLabelRequest creates a request to invoke AddLabel API
+func CreateAddLabelRequest() (request *AddLabelRequest) {
+	request = &AddLabelRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Crm", "2015-04-08", "AddLabel", "crm", "openAPI")
+	return
+}
+
+// CreateAddLabelResponse creates a response to parse from AddLabel response
+func CreateAddLabelResponse() (response *AddLabelResponse) {
+	response = &AddLabelResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/crm/add_label_for_bid.go

@@ -0,0 +1,107 @@
+package crm
+
+//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"
+)
+
+// AddLabelForBid invokes the crm.AddLabelForBid API synchronously
+// api document: https://help.aliyun.com/api/crm/addlabelforbid.html
+func (client *Client) AddLabelForBid(request *AddLabelForBidRequest) (response *AddLabelForBidResponse, err error) {
+	response = CreateAddLabelForBidResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// AddLabelForBidWithChan invokes the crm.AddLabelForBid API asynchronously
+// api document: https://help.aliyun.com/api/crm/addlabelforbid.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) AddLabelForBidWithChan(request *AddLabelForBidRequest) (<-chan *AddLabelForBidResponse, <-chan error) {
+	responseChan := make(chan *AddLabelForBidResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.AddLabelForBid(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// AddLabelForBidWithCallback invokes the crm.AddLabelForBid API asynchronously
+// api document: https://help.aliyun.com/api/crm/addlabelforbid.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) AddLabelForBidWithCallback(request *AddLabelForBidRequest, callback func(response *AddLabelForBidResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *AddLabelForBidResponse
+		var err error
+		defer close(result)
+		response, err = client.AddLabelForBid(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// AddLabelForBidRequest is the request struct for api AddLabelForBid
+type AddLabelForBidRequest struct {
+	*requests.RpcRequest
+	LabelSeries string `position:"Query" name:"LabelSeries"`
+	EndTime     string `position:"Query" name:"EndTime"`
+	PK          string `position:"Query" name:"PK"`
+	Label       string `position:"Query" name:"Label"`
+}
+
+// AddLabelForBidResponse is the response struct for api AddLabelForBid
+type AddLabelForBidResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateAddLabelForBidRequest creates a request to invoke AddLabelForBid API
+func CreateAddLabelForBidRequest() (request *AddLabelForBidRequest) {
+	request = &AddLabelForBidRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Crm", "2015-04-08", "AddLabelForBid", "crm", "openAPI")
+	return
+}
+
+// CreateAddLabelForBidResponse creates a response to parse from AddLabelForBid response
+func CreateAddLabelForBidResponse() (response *AddLabelForBidResponse) {
+	response = &AddLabelForBidResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/crm/batch_get_aliyun_id_by_aliyun_pk.go

@@ -0,0 +1,104 @@
+package crm
+
+//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"
+)
+
+// BatchGetAliyunIdByAliyunPk invokes the crm.BatchGetAliyunIdByAliyunPk API synchronously
+// api document: https://help.aliyun.com/api/crm/batchgetaliyunidbyaliyunpk.html
+func (client *Client) BatchGetAliyunIdByAliyunPk(request *BatchGetAliyunIdByAliyunPkRequest) (response *BatchGetAliyunIdByAliyunPkResponse, err error) {
+	response = CreateBatchGetAliyunIdByAliyunPkResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// BatchGetAliyunIdByAliyunPkWithChan invokes the crm.BatchGetAliyunIdByAliyunPk API asynchronously
+// api document: https://help.aliyun.com/api/crm/batchgetaliyunidbyaliyunpk.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) BatchGetAliyunIdByAliyunPkWithChan(request *BatchGetAliyunIdByAliyunPkRequest) (<-chan *BatchGetAliyunIdByAliyunPkResponse, <-chan error) {
+	responseChan := make(chan *BatchGetAliyunIdByAliyunPkResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.BatchGetAliyunIdByAliyunPk(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// BatchGetAliyunIdByAliyunPkWithCallback invokes the crm.BatchGetAliyunIdByAliyunPk API asynchronously
+// api document: https://help.aliyun.com/api/crm/batchgetaliyunidbyaliyunpk.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) BatchGetAliyunIdByAliyunPkWithCallback(request *BatchGetAliyunIdByAliyunPkRequest, callback func(response *BatchGetAliyunIdByAliyunPkResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *BatchGetAliyunIdByAliyunPkResponse
+		var err error
+		defer close(result)
+		response, err = client.BatchGetAliyunIdByAliyunPk(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// BatchGetAliyunIdByAliyunPkRequest is the request struct for api BatchGetAliyunIdByAliyunPk
+type BatchGetAliyunIdByAliyunPkRequest struct {
+	*requests.RpcRequest
+	PkList *[]string `position:"Query" name:"PkList"  type:"Repeated"`
+}
+
+// BatchGetAliyunIdByAliyunPkResponse is the response struct for api BatchGetAliyunIdByAliyunPk
+type BatchGetAliyunIdByAliyunPkResponse struct {
+	*responses.BaseResponse
+	RequestId   string      `json:"RequestId" xml:"RequestId"`
+	ProfileList ProfileList `json:"ProfileList" xml:"ProfileList"`
+}
+
+// CreateBatchGetAliyunIdByAliyunPkRequest creates a request to invoke BatchGetAliyunIdByAliyunPk API
+func CreateBatchGetAliyunIdByAliyunPkRequest() (request *BatchGetAliyunIdByAliyunPkRequest) {
+	request = &BatchGetAliyunIdByAliyunPkRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Crm", "2015-04-08", "BatchGetAliyunIdByAliyunPk", "crm", "openAPI")
+	return
+}
+
+// CreateBatchGetAliyunIdByAliyunPkResponse creates a response to parse from BatchGetAliyunIdByAliyunPk response
+func CreateBatchGetAliyunIdByAliyunPkResponse() (response *BatchGetAliyunIdByAliyunPkResponse) {
+	response = &BatchGetAliyunIdByAliyunPkResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/crm/check_label.go

@@ -0,0 +1,106 @@
+package crm
+
+//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"
+)
+
+// CheckLabel invokes the crm.CheckLabel API synchronously
+// api document: https://help.aliyun.com/api/crm/checklabel.html
+func (client *Client) CheckLabel(request *CheckLabelRequest) (response *CheckLabelResponse, err error) {
+	response = CreateCheckLabelResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CheckLabelWithChan invokes the crm.CheckLabel API asynchronously
+// api document: https://help.aliyun.com/api/crm/checklabel.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CheckLabelWithChan(request *CheckLabelRequest) (<-chan *CheckLabelResponse, <-chan error) {
+	responseChan := make(chan *CheckLabelResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CheckLabel(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CheckLabelWithCallback invokes the crm.CheckLabel API asynchronously
+// api document: https://help.aliyun.com/api/crm/checklabel.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CheckLabelWithCallback(request *CheckLabelRequest, callback func(response *CheckLabelResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CheckLabelResponse
+		var err error
+		defer close(result)
+		response, err = client.CheckLabel(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CheckLabelRequest is the request struct for api CheckLabel
+type CheckLabelRequest struct {
+	*requests.RpcRequest
+	LabelSeries string `position:"Query" name:"LabelSeries"`
+	PK          string `position:"Query" name:"PK"`
+	LabelName   string `position:"Query" name:"LabelName"`
+}
+
+// CheckLabelResponse is the response struct for api CheckLabel
+type CheckLabelResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    bool   `json:"Result" xml:"Result"`
+}
+
+// CreateCheckLabelRequest creates a request to invoke CheckLabel API
+func CreateCheckLabelRequest() (request *CheckLabelRequest) {
+	request = &CheckLabelRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Crm", "2015-04-08", "CheckLabel", "crm", "openAPI")
+	return
+}
+
+// CreateCheckLabelResponse creates a response to parse from CheckLabel response
+func CreateCheckLabelResponse() (response *CheckLabelResponse) {
+	response = &CheckLabelResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/crm/check_label_for_bid.go

@@ -0,0 +1,106 @@
+package crm
+
+//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"
+)
+
+// CheckLabelForBid invokes the crm.CheckLabelForBid API synchronously
+// api document: https://help.aliyun.com/api/crm/checklabelforbid.html
+func (client *Client) CheckLabelForBid(request *CheckLabelForBidRequest) (response *CheckLabelForBidResponse, err error) {
+	response = CreateCheckLabelForBidResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CheckLabelForBidWithChan invokes the crm.CheckLabelForBid API asynchronously
+// api document: https://help.aliyun.com/api/crm/checklabelforbid.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CheckLabelForBidWithChan(request *CheckLabelForBidRequest) (<-chan *CheckLabelForBidResponse, <-chan error) {
+	responseChan := make(chan *CheckLabelForBidResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CheckLabelForBid(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CheckLabelForBidWithCallback invokes the crm.CheckLabelForBid API asynchronously
+// api document: https://help.aliyun.com/api/crm/checklabelforbid.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CheckLabelForBidWithCallback(request *CheckLabelForBidRequest, callback func(response *CheckLabelForBidResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CheckLabelForBidResponse
+		var err error
+		defer close(result)
+		response, err = client.CheckLabelForBid(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CheckLabelForBidRequest is the request struct for api CheckLabelForBid
+type CheckLabelForBidRequest struct {
+	*requests.RpcRequest
+	LabelSeries string `position:"Query" name:"LabelSeries"`
+	PK          string `position:"Query" name:"PK"`
+	Label       string `position:"Query" name:"Label"`
+}
+
+// CheckLabelForBidResponse is the response struct for api CheckLabelForBid
+type CheckLabelForBidResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    bool   `json:"Result" xml:"Result"`
+}
+
+// CreateCheckLabelForBidRequest creates a request to invoke CheckLabelForBid API
+func CreateCheckLabelForBidRequest() (request *CheckLabelForBidRequest) {
+	request = &CheckLabelForBidRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Crm", "2015-04-08", "CheckLabelForBid", "crm", "openAPI")
+	return
+}
+
+// CreateCheckLabelForBidResponse creates a response to parse from CheckLabelForBid response
+func CreateCheckLabelForBidResponse() (response *CheckLabelForBidResponse) {
+	response = &CheckLabelForBidResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 81 - 0
services/crm/client.go

@@ -0,0 +1,81 @@
+package crm
+
+//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"
+)
+
+// 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
+}
+
+// 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://help.aliyun.com/document_detail/66217.html
+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://help.aliyun.com/document_detail/66222.html
+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://help.aliyun.com/document_detail/66222.html
+func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRamRoleArn(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName)
+	return
+}
+
+// NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role
+// usage: https://help.aliyun.com/document_detail/66223.html
+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
+// attention: rsa key pair auth is only Japan regions available
+func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRsaKeyPair(regionId, publicKeyId, privateKey, sessionExpiration)
+	return
+}

+ 108 - 0
services/crm/delete_label.go

@@ -0,0 +1,108 @@
+package crm
+
+//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"
+)
+
+// DeleteLabel invokes the crm.DeleteLabel API synchronously
+// api document: https://help.aliyun.com/api/crm/deletelabel.html
+func (client *Client) DeleteLabel(request *DeleteLabelRequest) (response *DeleteLabelResponse, err error) {
+	response = CreateDeleteLabelResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteLabelWithChan invokes the crm.DeleteLabel API asynchronously
+// api document: https://help.aliyun.com/api/crm/deletelabel.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteLabelWithChan(request *DeleteLabelRequest) (<-chan *DeleteLabelResponse, <-chan error) {
+	responseChan := make(chan *DeleteLabelResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteLabel(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteLabelWithCallback invokes the crm.DeleteLabel API asynchronously
+// api document: https://help.aliyun.com/api/crm/deletelabel.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteLabelWithCallback(request *DeleteLabelRequest, callback func(response *DeleteLabelResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteLabelResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteLabel(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteLabelRequest is the request struct for api DeleteLabel
+type DeleteLabelRequest struct {
+	*requests.RpcRequest
+	LabelSeries  string `position:"Query" name:"LabelSeries"`
+	Organization string `position:"Query" name:"Organization"`
+	PK           string `position:"Query" name:"PK"`
+	LabelName    string `position:"Query" name:"LabelName"`
+	UserName     string `position:"Query" name:"UserName"`
+}
+
+// DeleteLabelResponse is the response struct for api DeleteLabel
+type DeleteLabelResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateDeleteLabelRequest creates a request to invoke DeleteLabel API
+func CreateDeleteLabelRequest() (request *DeleteLabelRequest) {
+	request = &DeleteLabelRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Crm", "2015-04-08", "DeleteLabel", "crm", "openAPI")
+	return
+}
+
+// CreateDeleteLabelResponse creates a response to parse from DeleteLabel response
+func CreateDeleteLabelResponse() (response *DeleteLabelResponse) {
+	response = &DeleteLabelResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/crm/delete_label_for_bid.go

@@ -0,0 +1,106 @@
+package crm
+
+//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"
+)
+
+// DeleteLabelForBid invokes the crm.DeleteLabelForBid API synchronously
+// api document: https://help.aliyun.com/api/crm/deletelabelforbid.html
+func (client *Client) DeleteLabelForBid(request *DeleteLabelForBidRequest) (response *DeleteLabelForBidResponse, err error) {
+	response = CreateDeleteLabelForBidResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteLabelForBidWithChan invokes the crm.DeleteLabelForBid API asynchronously
+// api document: https://help.aliyun.com/api/crm/deletelabelforbid.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteLabelForBidWithChan(request *DeleteLabelForBidRequest) (<-chan *DeleteLabelForBidResponse, <-chan error) {
+	responseChan := make(chan *DeleteLabelForBidResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteLabelForBid(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteLabelForBidWithCallback invokes the crm.DeleteLabelForBid API asynchronously
+// api document: https://help.aliyun.com/api/crm/deletelabelforbid.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteLabelForBidWithCallback(request *DeleteLabelForBidRequest, callback func(response *DeleteLabelForBidResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteLabelForBidResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteLabelForBid(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteLabelForBidRequest is the request struct for api DeleteLabelForBid
+type DeleteLabelForBidRequest struct {
+	*requests.RpcRequest
+	LabelSeries string `position:"Query" name:"LabelSeries"`
+	PK          string `position:"Query" name:"PK"`
+	Label       string `position:"Query" name:"Label"`
+}
+
+// DeleteLabelForBidResponse is the response struct for api DeleteLabelForBid
+type DeleteLabelForBidResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateDeleteLabelForBidRequest creates a request to invoke DeleteLabelForBid API
+func CreateDeleteLabelForBidRequest() (request *DeleteLabelForBidRequest) {
+	request = &DeleteLabelForBidRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Crm", "2015-04-08", "DeleteLabelForBid", "crm", "openAPI")
+	return
+}
+
+// CreateDeleteLabelForBidResponse creates a response to parse from DeleteLabelForBid response
+func CreateDeleteLabelForBidResponse() (response *DeleteLabelForBidResponse) {
+	response = &DeleteLabelForBidResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/crm/get_aliyun_pk_by_aliyun_id.go

@@ -0,0 +1,104 @@
+package crm
+
+//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"
+)
+
+// GetAliyunPkByAliyunId invokes the crm.GetAliyunPkByAliyunId API synchronously
+// api document: https://help.aliyun.com/api/crm/getaliyunpkbyaliyunid.html
+func (client *Client) GetAliyunPkByAliyunId(request *GetAliyunPkByAliyunIdRequest) (response *GetAliyunPkByAliyunIdResponse, err error) {
+	response = CreateGetAliyunPkByAliyunIdResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetAliyunPkByAliyunIdWithChan invokes the crm.GetAliyunPkByAliyunId API asynchronously
+// api document: https://help.aliyun.com/api/crm/getaliyunpkbyaliyunid.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetAliyunPkByAliyunIdWithChan(request *GetAliyunPkByAliyunIdRequest) (<-chan *GetAliyunPkByAliyunIdResponse, <-chan error) {
+	responseChan := make(chan *GetAliyunPkByAliyunIdResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetAliyunPkByAliyunId(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetAliyunPkByAliyunIdWithCallback invokes the crm.GetAliyunPkByAliyunId API asynchronously
+// api document: https://help.aliyun.com/api/crm/getaliyunpkbyaliyunid.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetAliyunPkByAliyunIdWithCallback(request *GetAliyunPkByAliyunIdRequest, callback func(response *GetAliyunPkByAliyunIdResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetAliyunPkByAliyunIdResponse
+		var err error
+		defer close(result)
+		response, err = client.GetAliyunPkByAliyunId(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetAliyunPkByAliyunIdRequest is the request struct for api GetAliyunPkByAliyunId
+type GetAliyunPkByAliyunIdRequest struct {
+	*requests.RpcRequest
+	AliyunId string `position:"Query" name:"AliyunId"`
+}
+
+// GetAliyunPkByAliyunIdResponse is the response struct for api GetAliyunPkByAliyunId
+type GetAliyunPkByAliyunIdResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	AliyunPk  string `json:"AliyunPk" xml:"AliyunPk"`
+}
+
+// CreateGetAliyunPkByAliyunIdRequest creates a request to invoke GetAliyunPkByAliyunId API
+func CreateGetAliyunPkByAliyunIdRequest() (request *GetAliyunPkByAliyunIdRequest) {
+	request = &GetAliyunPkByAliyunIdRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Crm", "2015-04-08", "GetAliyunPkByAliyunId", "crm", "openAPI")
+	return
+}
+
+// CreateGetAliyunPkByAliyunIdResponse creates a response to parse from GetAliyunPkByAliyunId response
+func CreateGetAliyunPkByAliyunIdResponse() (response *GetAliyunPkByAliyunIdResponse) {
+	response = &GetAliyunPkByAliyunIdResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/crm/query_bid_user_certified_info.go

@@ -0,0 +1,105 @@
+package crm
+
+//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"
+)
+
+// QueryBidUserCertifiedInfo invokes the crm.QueryBidUserCertifiedInfo API synchronously
+// api document: https://help.aliyun.com/api/crm/querybidusercertifiedinfo.html
+func (client *Client) QueryBidUserCertifiedInfo(request *QueryBidUserCertifiedInfoRequest) (response *QueryBidUserCertifiedInfoResponse, err error) {
+	response = CreateQueryBidUserCertifiedInfoResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryBidUserCertifiedInfoWithChan invokes the crm.QueryBidUserCertifiedInfo API asynchronously
+// api document: https://help.aliyun.com/api/crm/querybidusercertifiedinfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryBidUserCertifiedInfoWithChan(request *QueryBidUserCertifiedInfoRequest) (<-chan *QueryBidUserCertifiedInfoResponse, <-chan error) {
+	responseChan := make(chan *QueryBidUserCertifiedInfoResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryBidUserCertifiedInfo(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryBidUserCertifiedInfoWithCallback invokes the crm.QueryBidUserCertifiedInfo API asynchronously
+// api document: https://help.aliyun.com/api/crm/querybidusercertifiedinfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryBidUserCertifiedInfoWithCallback(request *QueryBidUserCertifiedInfoRequest, callback func(response *QueryBidUserCertifiedInfoResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryBidUserCertifiedInfoResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryBidUserCertifiedInfo(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryBidUserCertifiedInfoRequest is the request struct for api QueryBidUserCertifiedInfo
+type QueryBidUserCertifiedInfoRequest struct {
+	*requests.RpcRequest
+	BidType string `position:"Query" name:"BidType"`
+	PK      string `position:"Query" name:"PK"`
+}
+
+// QueryBidUserCertifiedInfoResponse is the response struct for api QueryBidUserCertifiedInfo
+type QueryBidUserCertifiedInfoResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateQueryBidUserCertifiedInfoRequest creates a request to invoke QueryBidUserCertifiedInfo API
+func CreateQueryBidUserCertifiedInfoRequest() (request *QueryBidUserCertifiedInfoRequest) {
+	request = &QueryBidUserCertifiedInfoRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Crm", "2015-04-08", "QueryBidUserCertifiedInfo", "crm", "openAPI")
+	return
+}
+
+// CreateQueryBidUserCertifiedInfoResponse creates a response to parse from QueryBidUserCertifiedInfo response
+func CreateQueryBidUserCertifiedInfoResponse() (response *QueryBidUserCertifiedInfoResponse) {
+	response = &QueryBidUserCertifiedInfoResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/crm/query_customer_label.go

@@ -0,0 +1,106 @@
+package crm
+
+//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"
+)
+
+// QueryCustomerLabel invokes the crm.QueryCustomerLabel API synchronously
+// api document: https://help.aliyun.com/api/crm/querycustomerlabel.html
+func (client *Client) QueryCustomerLabel(request *QueryCustomerLabelRequest) (response *QueryCustomerLabelResponse, err error) {
+	response = CreateQueryCustomerLabelResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryCustomerLabelWithChan invokes the crm.QueryCustomerLabel API asynchronously
+// api document: https://help.aliyun.com/api/crm/querycustomerlabel.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryCustomerLabelWithChan(request *QueryCustomerLabelRequest) (<-chan *QueryCustomerLabelResponse, <-chan error) {
+	responseChan := make(chan *QueryCustomerLabelResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryCustomerLabel(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryCustomerLabelWithCallback invokes the crm.QueryCustomerLabel API asynchronously
+// api document: https://help.aliyun.com/api/crm/querycustomerlabel.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryCustomerLabelWithCallback(request *QueryCustomerLabelRequest, callback func(response *QueryCustomerLabelResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryCustomerLabelResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryCustomerLabel(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryCustomerLabelRequest is the request struct for api QueryCustomerLabel
+type QueryCustomerLabelRequest struct {
+	*requests.RpcRequest
+	LabelSeries string `position:"Query" name:"LabelSeries"`
+}
+
+// QueryCustomerLabelResponse is the response struct for api QueryCustomerLabel
+type QueryCustomerLabelResponse struct {
+	*responses.BaseResponse
+	Success bool   `json:"Success" xml:"Success"`
+	Code    string `json:"Code" xml:"Code"`
+	Message string `json:"Message" xml:"Message"`
+	Data    Data   `json:"Data" xml:"Data"`
+}
+
+// CreateQueryCustomerLabelRequest creates a request to invoke QueryCustomerLabel API
+func CreateQueryCustomerLabelRequest() (request *QueryCustomerLabelRequest) {
+	request = &QueryCustomerLabelRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Crm", "2015-04-08", "QueryCustomerLabel", "crm", "openAPI")
+	return
+}
+
+// CreateQueryCustomerLabelResponse creates a response to parse from QueryCustomerLabel response
+func CreateQueryCustomerLabelResponse() (response *QueryCustomerLabelResponse) {
+	response = &QueryCustomerLabelResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/crm/remove_identity_certified_for_bid_user.go

@@ -0,0 +1,105 @@
+package crm
+
+//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"
+)
+
+// RemoveIdentityCertifiedForBidUser invokes the crm.RemoveIdentityCertifiedForBidUser API synchronously
+// api document: https://help.aliyun.com/api/crm/removeidentitycertifiedforbiduser.html
+func (client *Client) RemoveIdentityCertifiedForBidUser(request *RemoveIdentityCertifiedForBidUserRequest) (response *RemoveIdentityCertifiedForBidUserResponse, err error) {
+	response = CreateRemoveIdentityCertifiedForBidUserResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// RemoveIdentityCertifiedForBidUserWithChan invokes the crm.RemoveIdentityCertifiedForBidUser API asynchronously
+// api document: https://help.aliyun.com/api/crm/removeidentitycertifiedforbiduser.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) RemoveIdentityCertifiedForBidUserWithChan(request *RemoveIdentityCertifiedForBidUserRequest) (<-chan *RemoveIdentityCertifiedForBidUserResponse, <-chan error) {
+	responseChan := make(chan *RemoveIdentityCertifiedForBidUserResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.RemoveIdentityCertifiedForBidUser(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// RemoveIdentityCertifiedForBidUserWithCallback invokes the crm.RemoveIdentityCertifiedForBidUser API asynchronously
+// api document: https://help.aliyun.com/api/crm/removeidentitycertifiedforbiduser.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) RemoveIdentityCertifiedForBidUserWithCallback(request *RemoveIdentityCertifiedForBidUserRequest, callback func(response *RemoveIdentityCertifiedForBidUserResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *RemoveIdentityCertifiedForBidUserResponse
+		var err error
+		defer close(result)
+		response, err = client.RemoveIdentityCertifiedForBidUser(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// RemoveIdentityCertifiedForBidUserRequest is the request struct for api RemoveIdentityCertifiedForBidUser
+type RemoveIdentityCertifiedForBidUserRequest struct {
+	*requests.RpcRequest
+	BidType string `position:"Query" name:"BidType"`
+	PK      string `position:"Query" name:"PK"`
+}
+
+// RemoveIdentityCertifiedForBidUserResponse is the response struct for api RemoveIdentityCertifiedForBidUser
+type RemoveIdentityCertifiedForBidUserResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateRemoveIdentityCertifiedForBidUserRequest creates a request to invoke RemoveIdentityCertifiedForBidUser API
+func CreateRemoveIdentityCertifiedForBidUserRequest() (request *RemoveIdentityCertifiedForBidUserRequest) {
+	request = &RemoveIdentityCertifiedForBidUserRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Crm", "2015-04-08", "RemoveIdentityCertifiedForBidUser", "crm", "openAPI")
+	return
+}
+
+// CreateRemoveIdentityCertifiedForBidUserResponse creates a response to parse from RemoveIdentityCertifiedForBidUser response
+func CreateRemoveIdentityCertifiedForBidUserResponse() (response *RemoveIdentityCertifiedForBidUserResponse) {
+	response = &RemoveIdentityCertifiedForBidUserResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 22 - 0
services/crm/struct_customer_label.go

@@ -0,0 +1,22 @@
+package crm
+
+//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.
+
+// CustomerLabel is a nested struct in crm response
+type CustomerLabel struct {
+	Label       string `json:"Label" xml:"Label"`
+	LabelSeries string `json:"LabelSeries" xml:"LabelSeries"`
+}

+ 21 - 0
services/crm/struct_data.go

@@ -0,0 +1,21 @@
+package crm
+
+//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 crm response
+type Data struct {
+	CustomerLabel []CustomerLabel `json:"CustomerLabel" xml:"CustomerLabel"`
+}

+ 22 - 0
services/crm/struct_profile_item.go

@@ -0,0 +1,22 @@
+package crm
+
+//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.
+
+// ProfileItem is a nested struct in crm response
+type ProfileItem struct {
+	AliyunId string `json:"AliyunId" xml:"AliyunId"`
+	AliyunPk string `json:"AliyunPk" xml:"AliyunPk"`
+}

+ 21 - 0
services/crm/struct_profile_list.go

@@ -0,0 +1,21 @@
+package crm
+
+//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.
+
+// ProfileList is a nested struct in crm response
+type ProfileList struct {
+	ProfileItem []ProfileItem `json:"ProfileItem" xml:"ProfileItem"`
+}