Browse Source

companyreg release

sdk-team 6 years ago
parent
commit
6aeaab9122

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-06-17 Version: 1.60.47
+companyreg release
+
 2019-06-14 Version: 1.60.46
 - Generated 2018-01-20 for `Iot`
 

+ 104 - 0
services/companyreg/client.go

@@ -0,0 +1,104 @@
+package companyreg
+
+//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
+}

+ 119 - 0
services/companyreg/get_company_reg_order.go

@@ -0,0 +1,119 @@
+package companyreg
+
+//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"
+)
+
+// GetCompanyRegOrder invokes the companyreg.GetCompanyRegOrder API synchronously
+// api document: https://help.aliyun.com/api/companyreg/getcompanyregorder.html
+func (client *Client) GetCompanyRegOrder(request *GetCompanyRegOrderRequest) (response *GetCompanyRegOrderResponse, err error) {
+	response = CreateGetCompanyRegOrderResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetCompanyRegOrderWithChan invokes the companyreg.GetCompanyRegOrder API asynchronously
+// api document: https://help.aliyun.com/api/companyreg/getcompanyregorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetCompanyRegOrderWithChan(request *GetCompanyRegOrderRequest) (<-chan *GetCompanyRegOrderResponse, <-chan error) {
+	responseChan := make(chan *GetCompanyRegOrderResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetCompanyRegOrder(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetCompanyRegOrderWithCallback invokes the companyreg.GetCompanyRegOrder API asynchronously
+// api document: https://help.aliyun.com/api/companyreg/getcompanyregorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetCompanyRegOrderWithCallback(request *GetCompanyRegOrderRequest, callback func(response *GetCompanyRegOrderResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetCompanyRegOrderResponse
+		var err error
+		defer close(result)
+		response, err = client.GetCompanyRegOrder(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetCompanyRegOrderRequest is the request struct for api GetCompanyRegOrder
+type GetCompanyRegOrderRequest struct {
+	*requests.RpcRequest
+	ActionTypes      string           `position:"Query" name:"ActionTypes"`
+	BizCode          string           `position:"Query" name:"BizCode"`
+	BizId            string           `position:"Query" name:"BizId"`
+	MaxOperationSize requests.Integer `position:"Query" name:"MaxOperationSize"`
+}
+
+// GetCompanyRegOrderResponse is the response struct for api GetCompanyRegOrder
+type GetCompanyRegOrderResponse struct {
+	*responses.BaseResponse
+	RequestId            string     `json:"RequestId" xml:"RequestId"`
+	BizId                string     `json:"BizId" xml:"BizId"`
+	CompanyName          string     `json:"CompanyName" xml:"CompanyName"`
+	BizStatus            string     `json:"BizStatus" xml:"BizStatus"`
+	BizInfo              string     `json:"BizInfo" xml:"BizInfo"`
+	SupplementBizInfo    string     `json:"SupplementBizInfo" xml:"SupplementBizInfo"`
+	AliyunOrderId        string     `json:"AliyunOrderId" xml:"AliyunOrderId"`
+	GmtModified          int64      `json:"GmtModified" xml:"GmtModified"`
+	OrderAmount          float64    `json:"OrderAmount" xml:"OrderAmount"`
+	YunMarketOrderAmount float64    `json:"YunMarketOrderAmount" xml:"YunMarketOrderAmount"`
+	GmtPaid              int64      `json:"GmtPaid" xml:"GmtPaid"`
+	Extend               string     `json:"Extend" xml:"Extend"`
+	BizStatusStage       string     `json:"BizStatusStage" xml:"BizStatusStage"`
+	Operations           Operations `json:"Operations" xml:"Operations"`
+}
+
+// CreateGetCompanyRegOrderRequest creates a request to invoke GetCompanyRegOrder API
+func CreateGetCompanyRegOrderRequest() (request *GetCompanyRegOrderRequest) {
+	request = &GetCompanyRegOrderRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("companyreg", "2019-05-08", "GetCompanyRegOrder", "companyreg", "openAPI")
+	return
+}
+
+// CreateGetCompanyRegOrderResponse creates a response to parse from GetCompanyRegOrder response
+func CreateGetCompanyRegOrderResponse() (response *GetCompanyRegOrderResponse) {
+	response = &GetCompanyRegOrderResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 116 - 0
services/companyreg/list_company_reg_consultations.go

@@ -0,0 +1,116 @@
+package companyreg
+
+//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"
+)
+
+// ListCompanyRegConsultations invokes the companyreg.ListCompanyRegConsultations API synchronously
+// api document: https://help.aliyun.com/api/companyreg/listcompanyregconsultations.html
+func (client *Client) ListCompanyRegConsultations(request *ListCompanyRegConsultationsRequest) (response *ListCompanyRegConsultationsResponse, err error) {
+	response = CreateListCompanyRegConsultationsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListCompanyRegConsultationsWithChan invokes the companyreg.ListCompanyRegConsultations API asynchronously
+// api document: https://help.aliyun.com/api/companyreg/listcompanyregconsultations.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListCompanyRegConsultationsWithChan(request *ListCompanyRegConsultationsRequest) (<-chan *ListCompanyRegConsultationsResponse, <-chan error) {
+	responseChan := make(chan *ListCompanyRegConsultationsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListCompanyRegConsultations(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListCompanyRegConsultationsWithCallback invokes the companyreg.ListCompanyRegConsultations API asynchronously
+// api document: https://help.aliyun.com/api/companyreg/listcompanyregconsultations.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListCompanyRegConsultationsWithCallback(request *ListCompanyRegConsultationsRequest, callback func(response *ListCompanyRegConsultationsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListCompanyRegConsultationsResponse
+		var err error
+		defer close(result)
+		response, err = client.ListCompanyRegConsultations(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListCompanyRegConsultationsRequest is the request struct for api ListCompanyRegConsultations
+type ListCompanyRegConsultationsRequest struct {
+	*requests.RpcRequest
+	EndGmtCreate   requests.Integer `position:"Query" name:"EndGmtCreate"`
+	BizCode        string           `position:"Query" name:"BizCode"`
+	City           string           `position:"Query" name:"City"`
+	PageSize       requests.Integer `position:"Query" name:"PageSize"`
+	BizId          string           `position:"Query" name:"BizId"`
+	StartGmtCreate requests.Integer `position:"Query" name:"StartGmtCreate"`
+	PageNum        requests.Integer `position:"Query" name:"PageNum"`
+}
+
+// ListCompanyRegConsultationsResponse is the response struct for api ListCompanyRegConsultations
+type ListCompanyRegConsultationsResponse 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           DataInListCompanyRegConsultations `json:"Data" xml:"Data"`
+}
+
+// CreateListCompanyRegConsultationsRequest creates a request to invoke ListCompanyRegConsultations API
+func CreateListCompanyRegConsultationsRequest() (request *ListCompanyRegConsultationsRequest) {
+	request = &ListCompanyRegConsultationsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("companyreg", "2019-05-08", "ListCompanyRegConsultations", "companyreg", "openAPI")
+	return
+}
+
+// CreateListCompanyRegConsultationsResponse creates a response to parse from ListCompanyRegConsultations response
+func CreateListCompanyRegConsultationsResponse() (response *ListCompanyRegConsultationsResponse) {
+	response = &ListCompanyRegConsultationsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 115 - 0
services/companyreg/list_company_reg_orders.go

@@ -0,0 +1,115 @@
+package companyreg
+
+//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"
+)
+
+// ListCompanyRegOrders invokes the companyreg.ListCompanyRegOrders API synchronously
+// api document: https://help.aliyun.com/api/companyreg/listcompanyregorders.html
+func (client *Client) ListCompanyRegOrders(request *ListCompanyRegOrdersRequest) (response *ListCompanyRegOrdersResponse, err error) {
+	response = CreateListCompanyRegOrdersResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListCompanyRegOrdersWithChan invokes the companyreg.ListCompanyRegOrders API asynchronously
+// api document: https://help.aliyun.com/api/companyreg/listcompanyregorders.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListCompanyRegOrdersWithChan(request *ListCompanyRegOrdersRequest) (<-chan *ListCompanyRegOrdersResponse, <-chan error) {
+	responseChan := make(chan *ListCompanyRegOrdersResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListCompanyRegOrders(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListCompanyRegOrdersWithCallback invokes the companyreg.ListCompanyRegOrders API asynchronously
+// api document: https://help.aliyun.com/api/companyreg/listcompanyregorders.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListCompanyRegOrdersWithCallback(request *ListCompanyRegOrdersRequest, callback func(response *ListCompanyRegOrdersResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListCompanyRegOrdersResponse
+		var err error
+		defer close(result)
+		response, err = client.ListCompanyRegOrders(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListCompanyRegOrdersRequest is the request struct for api ListCompanyRegOrders
+type ListCompanyRegOrdersRequest struct {
+	*requests.RpcRequest
+	BizCode       string           `position:"Query" name:"BizCode"`
+	BizStatus     string           `position:"Query" name:"BizStatus"`
+	CompanyName   string           `position:"Query" name:"CompanyName"`
+	PageSize      requests.Integer `position:"Query" name:"PageSize"`
+	AliyunOrderId string           `position:"Query" name:"AliyunOrderId"`
+	PageNum       requests.Integer `position:"Query" name:"PageNum"`
+}
+
+// ListCompanyRegOrdersResponse is the response struct for api ListCompanyRegOrders
+type ListCompanyRegOrdersResponse 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           DataInListCompanyRegOrders `json:"Data" xml:"Data"`
+}
+
+// CreateListCompanyRegOrdersRequest creates a request to invoke ListCompanyRegOrders API
+func CreateListCompanyRegOrdersRequest() (request *ListCompanyRegOrdersRequest) {
+	request = &ListCompanyRegOrdersRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("companyreg", "2019-05-08", "ListCompanyRegOrders", "companyreg", "openAPI")
+	return
+}
+
+// CreateListCompanyRegOrdersResponse creates a response to parse from ListCompanyRegOrders response
+func CreateListCompanyRegOrdersResponse() (response *ListCompanyRegOrdersResponse) {
+	response = &ListCompanyRegOrdersResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/companyreg/process_company_reg_order.go

@@ -0,0 +1,109 @@
+package companyreg
+
+//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"
+)
+
+// ProcessCompanyRegOrder invokes the companyreg.ProcessCompanyRegOrder API synchronously
+// api document: https://help.aliyun.com/api/companyreg/processcompanyregorder.html
+func (client *Client) ProcessCompanyRegOrder(request *ProcessCompanyRegOrderRequest) (response *ProcessCompanyRegOrderResponse, err error) {
+	response = CreateProcessCompanyRegOrderResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ProcessCompanyRegOrderWithChan invokes the companyreg.ProcessCompanyRegOrder API asynchronously
+// api document: https://help.aliyun.com/api/companyreg/processcompanyregorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ProcessCompanyRegOrderWithChan(request *ProcessCompanyRegOrderRequest) (<-chan *ProcessCompanyRegOrderResponse, <-chan error) {
+	responseChan := make(chan *ProcessCompanyRegOrderResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ProcessCompanyRegOrder(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ProcessCompanyRegOrderWithCallback invokes the companyreg.ProcessCompanyRegOrder API asynchronously
+// api document: https://help.aliyun.com/api/companyreg/processcompanyregorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ProcessCompanyRegOrderWithCallback(request *ProcessCompanyRegOrderRequest, callback func(response *ProcessCompanyRegOrderResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ProcessCompanyRegOrderResponse
+		var err error
+		defer close(result)
+		response, err = client.ProcessCompanyRegOrder(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ProcessCompanyRegOrderRequest is the request struct for api ProcessCompanyRegOrder
+type ProcessCompanyRegOrderRequest struct {
+	*requests.RpcRequest
+	ActionType      string           `position:"Query" name:"ActionType"`
+	BizCode         string           `position:"Query" name:"BizCode"`
+	BizId           string           `position:"Query" name:"BizId"`
+	ActionRequestId string           `position:"Query" name:"ActionRequestId"`
+	OperatorType    requests.Integer `position:"Query" name:"OperatorType"`
+	ActionInfo      string           `position:"Query" name:"ActionInfo"`
+}
+
+// ProcessCompanyRegOrderResponse is the response struct for api ProcessCompanyRegOrder
+type ProcessCompanyRegOrderResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Data      string `json:"Data" xml:"Data"`
+}
+
+// CreateProcessCompanyRegOrderRequest creates a request to invoke ProcessCompanyRegOrder API
+func CreateProcessCompanyRegOrderRequest() (request *ProcessCompanyRegOrderRequest) {
+	request = &ProcessCompanyRegOrderRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("companyreg", "2019-05-08", "ProcessCompanyRegOrder", "companyreg", "openAPI")
+	return
+}
+
+// CreateProcessCompanyRegOrderResponse creates a response to parse from ProcessCompanyRegOrder response
+func CreateProcessCompanyRegOrderResponse() (response *ProcessCompanyRegOrderResponse) {
+	response = &ProcessCompanyRegOrderResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/companyreg/send_vcode.go

@@ -0,0 +1,104 @@
+package companyreg
+
+//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"
+)
+
+// SendVcode invokes the companyreg.SendVcode API synchronously
+// api document: https://help.aliyun.com/api/companyreg/sendvcode.html
+func (client *Client) SendVcode(request *SendVcodeRequest) (response *SendVcodeResponse, err error) {
+	response = CreateSendVcodeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// SendVcodeWithChan invokes the companyreg.SendVcode API asynchronously
+// api document: https://help.aliyun.com/api/companyreg/sendvcode.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SendVcodeWithChan(request *SendVcodeRequest) (<-chan *SendVcodeResponse, <-chan error) {
+	responseChan := make(chan *SendVcodeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.SendVcode(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// SendVcodeWithCallback invokes the companyreg.SendVcode API asynchronously
+// api document: https://help.aliyun.com/api/companyreg/sendvcode.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SendVcodeWithCallback(request *SendVcodeRequest, callback func(response *SendVcodeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *SendVcodeResponse
+		var err error
+		defer close(result)
+		response, err = client.SendVcode(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// SendVcodeRequest is the request struct for api SendVcode
+type SendVcodeRequest struct {
+	*requests.RpcRequest
+	BizCode string `position:"Query" name:"BizCode"`
+	Mobile  string `position:"Query" name:"Mobile"`
+}
+
+// SendVcodeResponse is the response struct for api SendVcode
+type SendVcodeResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateSendVcodeRequest creates a request to invoke SendVcode API
+func CreateSendVcodeRequest() (request *SendVcodeRequest) {
+	request = &SendVcodeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("companyreg", "2019-05-08", "SendVcode", "companyreg", "openAPI")
+	return
+}
+
+// CreateSendVcodeResponse creates a response to parse from SendVcode response
+func CreateSendVcodeResponse() (response *SendVcodeResponse) {
+	response = &SendVcodeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 23 - 0
services/companyreg/struct_biz_operation.go

@@ -0,0 +1,23 @@
+package companyreg
+
+//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.
+
+// BizOperation is a nested struct in companyreg response
+type BizOperation struct {
+	GmtAction  int64  `json:"GmtAction" xml:"GmtAction"`
+	ActionType string `json:"ActionType" xml:"ActionType"`
+	ActionInfo string `json:"ActionInfo" xml:"ActionInfo"`
+}

+ 24 - 0
services/companyreg/struct_company_reg_consultation.go

@@ -0,0 +1,24 @@
+package companyreg
+
+//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.
+
+// CompanyRegConsultation is a nested struct in companyreg response
+type CompanyRegConsultation struct {
+	BizId       string `json:"BizId" xml:"BizId"`
+	ConsultInfo string `json:"ConsultInfo" xml:"ConsultInfo"`
+	GmtModified int64  `json:"GmtModified" xml:"GmtModified"`
+	City        string `json:"City" xml:"City"`
+}

+ 28 - 0
services/companyreg/struct_company_reg_order.go

@@ -0,0 +1,28 @@
+package companyreg
+
+//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.
+
+// CompanyRegOrder is a nested struct in companyreg response
+type CompanyRegOrder struct {
+	BizId             string `json:"BizId" xml:"BizId"`
+	CompanyName       string `json:"CompanyName" xml:"CompanyName"`
+	BizStatus         string `json:"BizStatus" xml:"BizStatus"`
+	BizInfo           string `json:"BizInfo" xml:"BizInfo"`
+	SupplementBizInfo string `json:"SupplementBizInfo" xml:"SupplementBizInfo"`
+	AliyunOrderId     string `json:"AliyunOrderId" xml:"AliyunOrderId"`
+	GmtModified       int64  `json:"GmtModified" xml:"GmtModified"`
+	Extend            string `json:"Extend" xml:"Extend"`
+}

+ 21 - 0
services/companyreg/struct_data_in_list_company_reg_consultations.go

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

+ 21 - 0
services/companyreg/struct_data_in_list_company_reg_orders.go

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

+ 21 - 0
services/companyreg/struct_operations.go

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

+ 106 - 0
services/companyreg/submit_consultation.go

@@ -0,0 +1,106 @@
+package companyreg
+
+//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"
+)
+
+// SubmitConsultation invokes the companyreg.SubmitConsultation API synchronously
+// api document: https://help.aliyun.com/api/companyreg/submitconsultation.html
+func (client *Client) SubmitConsultation(request *SubmitConsultationRequest) (response *SubmitConsultationResponse, err error) {
+	response = CreateSubmitConsultationResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// SubmitConsultationWithChan invokes the companyreg.SubmitConsultation API asynchronously
+// api document: https://help.aliyun.com/api/companyreg/submitconsultation.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SubmitConsultationWithChan(request *SubmitConsultationRequest) (<-chan *SubmitConsultationResponse, <-chan error) {
+	responseChan := make(chan *SubmitConsultationResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.SubmitConsultation(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// SubmitConsultationWithCallback invokes the companyreg.SubmitConsultation API asynchronously
+// api document: https://help.aliyun.com/api/companyreg/submitconsultation.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SubmitConsultationWithCallback(request *SubmitConsultationRequest, callback func(response *SubmitConsultationResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *SubmitConsultationResponse
+		var err error
+		defer close(result)
+		response, err = client.SubmitConsultation(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// SubmitConsultationRequest is the request struct for api SubmitConsultation
+type SubmitConsultationRequest struct {
+	*requests.RpcRequest
+	Data             string `position:"Query" name:"Data"`
+	BizCode          string `position:"Query" name:"BizCode"`
+	ConsultRequestId string `position:"Query" name:"ConsultRequestId"`
+	Vcode            string `position:"Query" name:"Vcode"`
+}
+
+// SubmitConsultationResponse is the response struct for api SubmitConsultation
+type SubmitConsultationResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateSubmitConsultationRequest creates a request to invoke SubmitConsultation API
+func CreateSubmitConsultationRequest() (request *SubmitConsultationRequest) {
+	request = &SubmitConsultationRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("companyreg", "2019-05-08", "SubmitConsultation", "companyreg", "openAPI")
+	return
+}
+
+// CreateSubmitConsultationResponse creates a response to parse from SubmitConsultation response
+func CreateSubmitConsultationResponse() (response *SubmitConsultationResponse) {
+	response = &SubmitConsultationResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}