Skip to content

Commit

Permalink
Generated golang activity_1.0,aiInteraction_1.0,aiPaaS_1.0,algo_1.0,a…
Browse files Browse the repository at this point in the history
…litest_1.0,alitrip_1.0,amdp_1.0,apaas_1.0,appMarket_1.0,ats_1.0,attendance_1.0,badge_1.0,bayMax_1.0,baymax_2.0,bipaas_1.0,bizfinance_1.0,bizfinance_2.0,blackboard_1.0,calendar_1.0,calendar_2.0,carbon_1.0,card_1.0,checkIn_1.0,chengfeng_1.0,conference_1.0,connector_1.0,contact_1.0,content_1.0,contract_1.0,convFile_1.0,convStorage_1.0,coolApp_1.0,coolOps_1.0,credit_1.0,crm_1.0,crm_2.0,customerService_1.0,datacenter_1.0,delivery_1.0,devicemng_1.0,dingmi_1.0,dingPhone_1.0,dingsport_1.0,diot_1.0,doc_1.0,doc_2.0,dpaas_1.0,drive_1.0,drive_2.0,edu_1.0,esign_1.0,event_1.0,event_2.0,exclusive_1.0,finance_1.0,flashmeeting_1.0,flashmsg_1.0,gateway_1.0,groupBlackboard_1.0,h5package_1.0,hrbrain_1.0,hrm_1.0,im_1.0,im_2.0,impaas_1.0,industry_1.0,integration_1.0,liandanlu_1.0,link_1.0,live_1.0,liveActivities_1.0,mail_1.0,manufacturing_1.0,media_1.0,medical_1.0,microApp_1.0,miniapp_1.0,notable_1.0,oauth2_1.0,occupationauth_1.0,office_1.0,okr_1.0,orgCulture_1.0,ow_1.0,package_1.0,pedia_1.0,project_1.0,projectIntegration_1.0,rcsCall_1.0,report_1.0,resident_1.0,robot_1.0,rooms_1.0,search_1.0,serviceGroup_1.0,setting_1.0,smartDevice_1.0,snsStorage_1.0,storage_1.0,storage_2.0,swform_1.0,theone_1.0,todo_1.0,trade_1.0,trajectory_1.0,transcribe_1.0,trip_1.0,village_1.0,waterMark_1.0,watt_1.0,wiki_1.0,wiki_2.0,wms_1.0,workbench_1.0,workflow_1.0,workrecord_1.0,yida_1.0,yunShu_1.0,esign_1.1,esign_2.0,h3yun_1.0,jzcrm_1.0,soke_1.0 for dingtalk.
  • Loading branch information
sdk-team committed Apr 9, 2024
1 parent ab6e215 commit e719064
Show file tree
Hide file tree
Showing 7 changed files with 699 additions and 16 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-04-09 Version: v1.6.66
- Generated golang activity_1.0,aiInteraction_1.0,aiPaaS_1.0,algo_1.0,alitest_1.0,alitrip_1.0,amdp_1.0,apaas_1.0,appMarket_1.0,ats_1.0,attendance_1.0,badge_1.0,bayMax_1.0,baymax_2.0,bipaas_1.0,bizfinance_1.0,bizfinance_2.0,blackboard_1.0,calendar_1.0,calendar_2.0,carbon_1.0,card_1.0,checkIn_1.0,chengfeng_1.0,conference_1.0,connector_1.0,contact_1.0,content_1.0,contract_1.0,convFile_1.0,convStorage_1.0,coolApp_1.0,coolOps_1.0,credit_1.0,crm_1.0,crm_2.0,customerService_1.0,datacenter_1.0,delivery_1.0,devicemng_1.0,dingmi_1.0,dingPhone_1.0,dingsport_1.0,diot_1.0,doc_1.0,doc_2.0,dpaas_1.0,drive_1.0,drive_2.0,edu_1.0,esign_1.0,event_1.0,event_2.0,exclusive_1.0,finance_1.0,flashmeeting_1.0,flashmsg_1.0,gateway_1.0,groupBlackboard_1.0,h5package_1.0,hrbrain_1.0,hrm_1.0,im_1.0,im_2.0,impaas_1.0,industry_1.0,integration_1.0,liandanlu_1.0,link_1.0,live_1.0,liveActivities_1.0,mail_1.0,manufacturing_1.0,media_1.0,medical_1.0,microApp_1.0,miniapp_1.0,notable_1.0,oauth2_1.0,occupationauth_1.0,office_1.0,okr_1.0,orgCulture_1.0,ow_1.0,package_1.0,pedia_1.0,project_1.0,projectIntegration_1.0,rcsCall_1.0,report_1.0,resident_1.0,robot_1.0,rooms_1.0,search_1.0,serviceGroup_1.0,setting_1.0,smartDevice_1.0,snsStorage_1.0,storage_1.0,storage_2.0,swform_1.0,theone_1.0,todo_1.0,trade_1.0,trajectory_1.0,transcribe_1.0,trip_1.0,village_1.0,waterMark_1.0,watt_1.0,wiki_1.0,wiki_2.0,wms_1.0,workbench_1.0,workflow_1.0,workrecord_1.0,yida_1.0,yunShu_1.0,esign_1.1,esign_2.0,h3yun_1.0,jzcrm_1.0,soke_1.0 for dingtalk.

2024-04-02 Version: v1.6.65
- Generated golang activity_1.0,aiInteraction_1.0,aiPaaS_1.0,algo_1.0,alitest_1.0,alitrip_1.0,apaas_1.0,appMarket_1.0,ats_1.0,attendance_1.0,badge_1.0,bayMax_1.0,baymax_2.0,bipaas_1.0,bizfinance_1.0,bizfinance_2.0,blackboard_1.0,calendar_1.0,calendar_2.0,carbon_1.0,card_1.0,checkIn_1.0,chengfeng_1.0,conference_1.0,connector_1.0,contact_1.0,content_1.0,contract_1.0,convFile_1.0,convStorage_1.0,coolApp_1.0,coolOps_1.0,credit_1.0,crm_1.0,crm_2.0,customerService_1.0,datacenter_1.0,delivery_1.0,devicemng_1.0,dingmi_1.0,dingPhone_1.0,dingsport_1.0,diot_1.0,doc_1.0,doc_2.0,dpaas_1.0,drive_1.0,drive_2.0,edu_1.0,esign_1.0,event_1.0,event_2.0,exclusive_1.0,finance_1.0,flashmeeting_1.0,flashmsg_1.0,gateway_1.0,groupBlackboard_1.0,h5package_1.0,hrbrain_1.0,hrm_1.0,im_1.0,im_2.0,impaas_1.0,industry_1.0,integration_1.0,liandanlu_1.0,link_1.0,live_1.0,liveActivities_1.0,mail_1.0,manufacturing_1.0,media_1.0,medical_1.0,microApp_1.0,miniapp_1.0,notable_1.0,oauth2_1.0,occupationauth_1.0,office_1.0,okr_1.0,orgCulture_1.0,ow_1.0,package_1.0,pedia_1.0,project_1.0,projectIntegration_1.0,rcsCall_1.0,report_1.0,resident_1.0,robot_1.0,rooms_1.0,search_1.0,serviceGroup_1.0,setting_1.0,smartDevice_1.0,snsStorage_1.0,storage_1.0,storage_2.0,swform_1.0,theone_1.0,todo_1.0,trade_1.0,trajectory_1.0,transcribe_1.0,trip_1.0,village_1.0,waterMark_1.0,watt_1.0,wiki_1.0,wiki_2.0,wms_1.0,workbench_1.0,workflow_1.0,workrecord_1.0,yida_1.0,yunShu_1.0,esign_1.1,esign_2.0,h3yun_1.0,jzcrm_1.0,soke_1.0 for dingtalk.

Expand Down
10 changes: 0 additions & 10 deletions ai_interaction_1_0/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ func (s *PrepareHeaders) SetXAcsDingtalkAccessToken(v string) *PrepareHeaders {
type PrepareRequest struct {
Content *string `json:"content,omitempty" xml:"content,omitempty"`
ContentType *string `json:"contentType,omitempty" xml:"contentType,omitempty"`
ConversationType *string `json:"conversationType,omitempty" xml:"conversationType,omitempty"`
OpenConversationId *string `json:"openConversationId,omitempty" xml:"openConversationId,omitempty"`
UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
}
Expand All @@ -165,11 +164,6 @@ func (s *PrepareRequest) SetContentType(v string) *PrepareRequest {
return s
}

func (s *PrepareRequest) SetConversationType(v string) *PrepareRequest {
s.ConversationType = &v
return s
}

func (s *PrepareRequest) SetOpenConversationId(v string) *PrepareRequest {
s.OpenConversationId = &v
return s
Expand Down Expand Up @@ -571,10 +565,6 @@ func (client *Client) PrepareWithOptions(request *PrepareRequest, headers *Prepa
body["contentType"] = request.ContentType
}

if !tea.BoolValue(util.IsUnset(request.ConversationType)) {
body["conversationType"] = request.ConversationType
}

if !tea.BoolValue(util.IsUnset(request.OpenConversationId)) {
body["openConversationId"] = request.OpenConversationId
}
Expand Down
169 changes: 169 additions & 0 deletions bizfinance_2_0/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,116 @@ func (s *GetProjectResponse) SetBody(v *GetProjectResponseBody) *GetProjectRespo
return s
}

type GetReceiptHeaders struct {
CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
XAcsDingtalkAccessToken *string `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (s GetReceiptHeaders) String() string {
return tea.Prettify(s)
}

func (s GetReceiptHeaders) GoString() string {
return s.String()
}

func (s *GetReceiptHeaders) SetCommonHeaders(v map[string]*string) *GetReceiptHeaders {
s.CommonHeaders = v
return s
}

func (s *GetReceiptHeaders) SetXAcsDingtalkAccessToken(v string) *GetReceiptHeaders {
s.XAcsDingtalkAccessToken = &v
return s
}

type GetReceiptRequest struct {
Code *string `json:"code,omitempty" xml:"code,omitempty"`
ModelId *string `json:"modelId,omitempty" xml:"modelId,omitempty"`
}

func (s GetReceiptRequest) String() string {
return tea.Prettify(s)
}

func (s GetReceiptRequest) GoString() string {
return s.String()
}

func (s *GetReceiptRequest) SetCode(v string) *GetReceiptRequest {
s.Code = &v
return s
}

func (s *GetReceiptRequest) SetModelId(v string) *GetReceiptRequest {
s.ModelId = &v
return s
}

type GetReceiptResponseBody struct {
AppId *string `json:"appId,omitempty" xml:"appId,omitempty"`
Data *string `json:"data,omitempty" xml:"data,omitempty"`
ModelId *string `json:"modelId,omitempty" xml:"modelId,omitempty"`
Source *string `json:"source,omitempty" xml:"source,omitempty"`
}

func (s GetReceiptResponseBody) String() string {
return tea.Prettify(s)
}

func (s GetReceiptResponseBody) GoString() string {
return s.String()
}

func (s *GetReceiptResponseBody) SetAppId(v string) *GetReceiptResponseBody {
s.AppId = &v
return s
}

func (s *GetReceiptResponseBody) SetData(v string) *GetReceiptResponseBody {
s.Data = &v
return s
}

func (s *GetReceiptResponseBody) SetModelId(v string) *GetReceiptResponseBody {
s.ModelId = &v
return s
}

func (s *GetReceiptResponseBody) SetSource(v string) *GetReceiptResponseBody {
s.Source = &v
return s
}

type GetReceiptResponse struct {
Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
Body *GetReceiptResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (s GetReceiptResponse) String() string {
return tea.Prettify(s)
}

func (s GetReceiptResponse) GoString() string {
return s.String()
}

func (s *GetReceiptResponse) SetHeaders(v map[string]*string) *GetReceiptResponse {
s.Headers = v
return s
}

func (s *GetReceiptResponse) SetStatusCode(v int32) *GetReceiptResponse {
s.StatusCode = &v
return s
}

func (s *GetReceiptResponse) SetBody(v *GetReceiptResponseBody) *GetReceiptResponse {
s.Body = v
return s
}

type GetSupplierHeaders struct {
CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
XAcsDingtalkAccessToken *string `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
Expand Down Expand Up @@ -2628,6 +2738,65 @@ func (client *Client) GetProject(request *GetProjectRequest) (_result *GetProjec
return _result, _err
}

func (client *Client) GetReceiptWithOptions(request *GetReceiptRequest, headers *GetReceiptHeaders, runtime *util.RuntimeOptions) (_result *GetReceiptResponse, _err error) {
_err = util.ValidateModel(request)
if _err != nil {
return _result, _err
}
query := map[string]interface{}{}
if !tea.BoolValue(util.IsUnset(request.Code)) {
query["code"] = request.Code
}

if !tea.BoolValue(util.IsUnset(request.ModelId)) {
query["modelId"] = request.ModelId
}

realHeaders := make(map[string]*string)
if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) {
realHeaders = headers.CommonHeaders
}

if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) {
realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken)
}

req := &openapi.OpenApiRequest{
Headers: realHeaders,
Query: openapiutil.Query(query),
}
params := &openapi.Params{
Action: tea.String("GetReceipt"),
Version: tea.String("bizfinance_2.0"),
Protocol: tea.String("HTTP"),
Pathname: tea.String("/v2.0/bizfinance/receipts/details"),
Method: tea.String("GET"),
AuthType: tea.String("AK"),
Style: tea.String("ROA"),
ReqBodyType: tea.String("none"),
BodyType: tea.String("json"),
}
_result = &GetReceiptResponse{}
_body, _err := client.Execute(params, req, runtime)
if _err != nil {
return _result, _err
}
_err = tea.Convert(_body, &_result)
return _result, _err
}

func (client *Client) GetReceipt(request *GetReceiptRequest) (_result *GetReceiptResponse, _err error) {
runtime := &util.RuntimeOptions{}
headers := &GetReceiptHeaders{}
_result = &GetReceiptResponse{}
_body, _err := client.GetReceiptWithOptions(request, headers, runtime)
if _err != nil {
return _result, _err
}
_result = _body
return _result, _err
}

func (client *Client) GetSupplierWithOptions(request *GetSupplierRequest, headers *GetSupplierHeaders, runtime *util.RuntimeOptions) (_result *GetSupplierResponse, _err error) {
_err = util.ValidateModel(request)
if _err != nil {
Expand Down
37 changes: 35 additions & 2 deletions conference_1_0/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -1793,8 +1793,9 @@ func (s *InviteUsersHeaders) SetXAcsDingtalkAccessToken(v string) *InviteUsersHe
}

type InviteUsersRequest struct {
InviteeList []*InviteUsersRequestInviteeList `json:"inviteeList,omitempty" xml:"inviteeList,omitempty" type:"Repeated"`
UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
InviteeList []*InviteUsersRequestInviteeList `json:"inviteeList,omitempty" xml:"inviteeList,omitempty" type:"Repeated"`
PhoneInviteeList []*InviteUsersRequestPhoneInviteeList `json:"phoneInviteeList,omitempty" xml:"phoneInviteeList,omitempty" type:"Repeated"`
UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
}

func (s InviteUsersRequest) String() string {
Expand All @@ -1810,6 +1811,11 @@ func (s *InviteUsersRequest) SetInviteeList(v []*InviteUsersRequestInviteeList)
return s
}

func (s *InviteUsersRequest) SetPhoneInviteeList(v []*InviteUsersRequestPhoneInviteeList) *InviteUsersRequest {
s.PhoneInviteeList = v
return s
}

func (s *InviteUsersRequest) SetUnionId(v string) *InviteUsersRequest {
s.UnionId = &v
return s
Expand Down Expand Up @@ -1838,6 +1844,29 @@ func (s *InviteUsersRequestInviteeList) SetUnionId(v string) *InviteUsersRequest
return s
}

type InviteUsersRequestPhoneInviteeList struct {
Nick *string `json:"nick,omitempty" xml:"nick,omitempty"`
PhoneNumber *string `json:"phoneNumber,omitempty" xml:"phoneNumber,omitempty"`
}

func (s InviteUsersRequestPhoneInviteeList) String() string {
return tea.Prettify(s)
}

func (s InviteUsersRequestPhoneInviteeList) GoString() string {
return s.String()
}

func (s *InviteUsersRequestPhoneInviteeList) SetNick(v string) *InviteUsersRequestPhoneInviteeList {
s.Nick = &v
return s
}

func (s *InviteUsersRequestPhoneInviteeList) SetPhoneNumber(v string) *InviteUsersRequestPhoneInviteeList {
s.PhoneNumber = &v
return s
}

type InviteUsersResponseBody struct {
Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}
Expand Down Expand Up @@ -5343,6 +5372,10 @@ func (client *Client) InviteUsersWithOptions(conferenceId *string, request *Invi
body["inviteeList"] = request.InviteeList
}

if !tea.BoolValue(util.IsUnset(request.PhoneInviteeList)) {
body["phoneInviteeList"] = request.PhoneInviteeList
}

if !tea.BoolValue(util.IsUnset(request.UnionId)) {
body["unionId"] = request.UnionId
}
Expand Down
Loading

0 comments on commit e719064

Please sign in to comment.